phlex-icons-flag 2.0.0 → 2.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/generators/flag.rb +27 -0
- data/generators/helper.rb +5 -1
- data/generators/hero.rb +27 -0
- data/generators/tabler.rb +27 -0
- data/lib/phlex-icons/flag/ad_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ad_square.rb +11 -0
- data/lib/phlex-icons/flag/ae_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ae_square.rb +11 -0
- data/lib/phlex-icons/flag/af_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/af_square.rb +11 -0
- data/lib/phlex-icons/flag/ag_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ag_square.rb +11 -0
- data/lib/phlex-icons/flag/ai_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ai_square.rb +11 -0
- data/lib/phlex-icons/flag/al_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/al_square.rb +11 -0
- data/lib/phlex-icons/flag/am_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/am_square.rb +11 -0
- data/lib/phlex-icons/flag/ao_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ao_square.rb +11 -0
- data/lib/phlex-icons/flag/aq_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/aq_square.rb +11 -0
- data/lib/phlex-icons/flag/ar_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ar_square.rb +11 -0
- data/lib/phlex-icons/flag/arab_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/arab_square.rb +11 -0
- data/lib/phlex-icons/flag/as_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/as_square.rb +11 -0
- data/lib/phlex-icons/flag/at_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/at_square.rb +11 -0
- data/lib/phlex-icons/flag/au_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/au_square.rb +11 -0
- data/lib/phlex-icons/flag/aw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/aw_square.rb +11 -0
- data/lib/phlex-icons/flag/ax_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ax_square.rb +11 -0
- data/lib/phlex-icons/flag/az_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/az_square.rb +11 -0
- data/lib/phlex-icons/flag/ba_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ba_square.rb +11 -0
- data/lib/phlex-icons/flag/bb_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bb_square.rb +11 -0
- data/lib/phlex-icons/flag/bd_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bd_square.rb +11 -0
- data/lib/phlex-icons/flag/be_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/be_square.rb +11 -0
- data/lib/phlex-icons/flag/bf_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bf_square.rb +11 -0
- data/lib/phlex-icons/flag/bg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bg_square.rb +11 -0
- data/lib/phlex-icons/flag/bh_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bh_square.rb +11 -0
- data/lib/phlex-icons/flag/bi_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bi_square.rb +11 -0
- data/lib/phlex-icons/flag/bj_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bj_square.rb +11 -0
- data/lib/phlex-icons/flag/bl_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bl_square.rb +11 -0
- data/lib/phlex-icons/flag/bm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bm_square.rb +11 -0
- data/lib/phlex-icons/flag/bn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bn_square.rb +11 -0
- data/lib/phlex-icons/flag/bo_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bo_square.rb +11 -0
- data/lib/phlex-icons/flag/bq_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bq_square.rb +11 -0
- data/lib/phlex-icons/flag/br_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/br_square.rb +11 -0
- data/lib/phlex-icons/flag/bs_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bs_square.rb +11 -0
- data/lib/phlex-icons/flag/bt_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bt_square.rb +11 -0
- data/lib/phlex-icons/flag/bv_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bv_square.rb +11 -0
- data/lib/phlex-icons/flag/bw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bw_square.rb +11 -0
- data/lib/phlex-icons/flag/by_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/by_square.rb +11 -0
- data/lib/phlex-icons/flag/bz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/bz_square.rb +11 -0
- data/lib/phlex-icons/flag/ca_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ca_square.rb +11 -0
- data/lib/phlex-icons/flag/cc_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cc_square.rb +11 -0
- data/lib/phlex-icons/flag/cd_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cd_square.rb +11 -0
- data/lib/phlex-icons/flag/cefta_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cefta_square.rb +11 -0
- data/lib/phlex-icons/flag/cf_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cf_square.rb +11 -0
- data/lib/phlex-icons/flag/cg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cg_square.rb +11 -0
- data/lib/phlex-icons/flag/ch_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ch_square.rb +11 -0
- data/lib/phlex-icons/flag/ci_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ci_square.rb +11 -0
- data/lib/phlex-icons/flag/ck_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ck_square.rb +11 -0
- data/lib/phlex-icons/flag/cl_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cl_square.rb +11 -0
- data/lib/phlex-icons/flag/cm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cm_square.rb +11 -0
- data/lib/phlex-icons/flag/cn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cn_square.rb +11 -0
- data/lib/phlex-icons/flag/co_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/co_square.rb +11 -0
- data/lib/phlex-icons/flag/cp_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cp_square.rb +11 -0
- data/lib/phlex-icons/flag/cr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cr_square.rb +11 -0
- data/lib/phlex-icons/flag/cu_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cu_square.rb +11 -0
- data/lib/phlex-icons/flag/cv_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cv_square.rb +11 -0
- data/lib/phlex-icons/flag/cw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cw_square.rb +11 -0
- data/lib/phlex-icons/flag/cx_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cx_square.rb +11 -0
- data/lib/phlex-icons/flag/cy_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cy_square.rb +11 -0
- data/lib/phlex-icons/flag/cz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/cz_square.rb +11 -0
- data/lib/phlex-icons/flag/de_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/de_square.rb +11 -0
- data/lib/phlex-icons/flag/dg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/dg_square.rb +11 -0
- data/lib/phlex-icons/flag/dj_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/dj_square.rb +11 -0
- data/lib/phlex-icons/flag/dk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/dk_square.rb +11 -0
- data/lib/phlex-icons/flag/dm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/dm_square.rb +11 -0
- data/lib/phlex-icons/flag/do_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/do_square.rb +11 -0
- data/lib/phlex-icons/flag/dz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/dz_square.rb +11 -0
- data/lib/phlex-icons/flag/eac_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/eac_square.rb +11 -0
- data/lib/phlex-icons/flag/ec_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ec_square.rb +11 -0
- data/lib/phlex-icons/flag/ee_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ee_square.rb +11 -0
- data/lib/phlex-icons/flag/eg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/eg_square.rb +11 -0
- data/lib/phlex-icons/flag/eh_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/eh_square.rb +11 -0
- data/lib/phlex-icons/flag/er_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/er_square.rb +11 -0
- data/lib/phlex-icons/flag/es_ct_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/es_ct_square.rb +11 -0
- data/lib/phlex-icons/flag/es_ga_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/es_ga_square.rb +11 -0
- data/lib/phlex-icons/flag/es_pv_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/es_pv_square.rb +11 -0
- data/lib/phlex-icons/flag/es_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/es_square.rb +11 -0
- data/lib/phlex-icons/flag/et_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/et_square.rb +11 -0
- data/lib/phlex-icons/flag/eu_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/eu_square.rb +11 -0
- data/lib/phlex-icons/flag/fi_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/fi_square.rb +11 -0
- data/lib/phlex-icons/flag/fj_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/fj_square.rb +11 -0
- data/lib/phlex-icons/flag/fk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/fk_square.rb +11 -0
- data/lib/phlex-icons/flag/fm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/fm_square.rb +11 -0
- data/lib/phlex-icons/flag/fo_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/fo_square.rb +11 -0
- data/lib/phlex-icons/flag/fr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/fr_square.rb +11 -0
- data/lib/phlex-icons/flag/ga_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ga_square.rb +11 -0
- data/lib/phlex-icons/flag/gb_eng_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gb_eng_square.rb +11 -0
- data/lib/phlex-icons/flag/gb_nir_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gb_nir_square.rb +11 -0
- data/lib/phlex-icons/flag/gb_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gb_sct_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gb_sct_square.rb +11 -0
- data/lib/phlex-icons/flag/gb_square.rb +11 -0
- data/lib/phlex-icons/flag/gb_wls_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gb_wls_square.rb +11 -0
- data/lib/phlex-icons/flag/gd_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gd_square.rb +11 -0
- data/lib/phlex-icons/flag/ge_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ge_square.rb +11 -0
- data/lib/phlex-icons/flag/gf_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gf_square.rb +11 -0
- data/lib/phlex-icons/flag/gg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gg_square.rb +11 -0
- data/lib/phlex-icons/flag/gh_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gh_square.rb +11 -0
- data/lib/phlex-icons/flag/gi_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gi_square.rb +11 -0
- data/lib/phlex-icons/flag/gl_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gl_square.rb +11 -0
- data/lib/phlex-icons/flag/gm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gm_square.rb +11 -0
- data/lib/phlex-icons/flag/gn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gn_square.rb +11 -0
- data/lib/phlex-icons/flag/gp_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gp_square.rb +11 -0
- data/lib/phlex-icons/flag/gq_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gq_square.rb +11 -0
- data/lib/phlex-icons/flag/gr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gr_square.rb +11 -0
- data/lib/phlex-icons/flag/gs_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gs_square.rb +11 -0
- data/lib/phlex-icons/flag/gt_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gt_square.rb +11 -0
- data/lib/phlex-icons/flag/gu_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gu_square.rb +11 -0
- data/lib/phlex-icons/flag/gw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gw_square.rb +11 -0
- data/lib/phlex-icons/flag/gy_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/gy_square.rb +11 -0
- data/lib/phlex-icons/flag/hk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/hk_square.rb +11 -0
- data/lib/phlex-icons/flag/hm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/hm_square.rb +11 -0
- data/lib/phlex-icons/flag/hn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/hn_square.rb +11 -0
- data/lib/phlex-icons/flag/hr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/hr_square.rb +11 -0
- data/lib/phlex-icons/flag/ht_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ht_square.rb +11 -0
- data/lib/phlex-icons/flag/hu_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/hu_square.rb +11 -0
- data/lib/phlex-icons/flag/ic_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ic_square.rb +11 -0
- data/lib/phlex-icons/flag/id_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/id_square.rb +11 -0
- data/lib/phlex-icons/flag/ie_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ie_square.rb +11 -0
- data/lib/phlex-icons/flag/il_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/il_square.rb +11 -0
- data/lib/phlex-icons/flag/im_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/im_square.rb +11 -0
- data/lib/phlex-icons/flag/in_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/in_square.rb +11 -0
- data/lib/phlex-icons/flag/io_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/io_square.rb +11 -0
- data/lib/phlex-icons/flag/iq_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/iq_square.rb +11 -0
- data/lib/phlex-icons/flag/ir_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ir_square.rb +11 -0
- data/lib/phlex-icons/flag/is_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/is_square.rb +11 -0
- data/lib/phlex-icons/flag/it_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/it_square.rb +11 -0
- data/lib/phlex-icons/flag/je_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/je_square.rb +11 -0
- data/lib/phlex-icons/flag/jm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/jm_square.rb +11 -0
- data/lib/phlex-icons/flag/jo_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/jo_square.rb +11 -0
- data/lib/phlex-icons/flag/jp_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/jp_square.rb +11 -0
- data/lib/phlex-icons/flag/ke_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ke_square.rb +11 -0
- data/lib/phlex-icons/flag/kg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/kg_square.rb +11 -0
- data/lib/phlex-icons/flag/kh_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/kh_square.rb +11 -0
- data/lib/phlex-icons/flag/ki_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ki_square.rb +11 -0
- data/lib/phlex-icons/flag/km_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/km_square.rb +11 -0
- data/lib/phlex-icons/flag/kn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/kn_square.rb +11 -0
- data/lib/phlex-icons/flag/kp_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/kp_square.rb +11 -0
- data/lib/phlex-icons/flag/kr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/kr_square.rb +11 -0
- data/lib/phlex-icons/flag/kw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/kw_square.rb +11 -0
- data/lib/phlex-icons/flag/ky_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ky_square.rb +11 -0
- data/lib/phlex-icons/flag/kz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/kz_square.rb +11 -0
- data/lib/phlex-icons/flag/la_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/la_square.rb +11 -0
- data/lib/phlex-icons/flag/lb_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/lb_square.rb +11 -0
- data/lib/phlex-icons/flag/lc_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/lc_square.rb +11 -0
- data/lib/phlex-icons/flag/li_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/li_square.rb +11 -0
- data/lib/phlex-icons/flag/lk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/lk_square.rb +11 -0
- data/lib/phlex-icons/flag/lr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/lr_square.rb +11 -0
- data/lib/phlex-icons/flag/ls_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ls_square.rb +11 -0
- data/lib/phlex-icons/flag/lt_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/lt_square.rb +11 -0
- data/lib/phlex-icons/flag/lu_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/lu_square.rb +11 -0
- data/lib/phlex-icons/flag/lv_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/lv_square.rb +11 -0
- data/lib/phlex-icons/flag/ly_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ly_square.rb +11 -0
- data/lib/phlex-icons/flag/ma_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ma_square.rb +11 -0
- data/lib/phlex-icons/flag/mc_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mc_square.rb +11 -0
- data/lib/phlex-icons/flag/md_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/md_square.rb +11 -0
- data/lib/phlex-icons/flag/me_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/me_square.rb +11 -0
- data/lib/phlex-icons/flag/mf_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mf_square.rb +11 -0
- data/lib/phlex-icons/flag/mg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mg_square.rb +11 -0
- data/lib/phlex-icons/flag/mh_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mh_square.rb +11 -0
- data/lib/phlex-icons/flag/mk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mk_square.rb +11 -0
- data/lib/phlex-icons/flag/ml_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ml_square.rb +11 -0
- data/lib/phlex-icons/flag/mm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mm_square.rb +11 -0
- data/lib/phlex-icons/flag/mn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mn_square.rb +11 -0
- data/lib/phlex-icons/flag/mo_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mo_square.rb +11 -0
- data/lib/phlex-icons/flag/mp_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mp_square.rb +11 -0
- data/lib/phlex-icons/flag/mq_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mq_square.rb +11 -0
- data/lib/phlex-icons/flag/mr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mr_square.rb +11 -0
- data/lib/phlex-icons/flag/ms_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ms_square.rb +11 -0
- data/lib/phlex-icons/flag/mt_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mt_square.rb +11 -0
- data/lib/phlex-icons/flag/mu_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mu_square.rb +11 -0
- data/lib/phlex-icons/flag/mv_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mv_square.rb +11 -0
- data/lib/phlex-icons/flag/mw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mw_square.rb +11 -0
- data/lib/phlex-icons/flag/mx_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mx_square.rb +11 -0
- data/lib/phlex-icons/flag/my_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/my_square.rb +11 -0
- data/lib/phlex-icons/flag/mz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/mz_square.rb +11 -0
- data/lib/phlex-icons/flag/na_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/na_square.rb +11 -0
- data/lib/phlex-icons/flag/nc_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/nc_square.rb +11 -0
- data/lib/phlex-icons/flag/ne_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ne_square.rb +11 -0
- data/lib/phlex-icons/flag/nf_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/nf_square.rb +11 -0
- data/lib/phlex-icons/flag/ng_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ng_square.rb +11 -0
- data/lib/phlex-icons/flag/ni_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ni_square.rb +11 -0
- data/lib/phlex-icons/flag/nl_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/nl_square.rb +11 -0
- data/lib/phlex-icons/flag/no_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/no_square.rb +11 -0
- data/lib/phlex-icons/flag/np_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/np_square.rb +11 -0
- data/lib/phlex-icons/flag/nr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/nr_square.rb +11 -0
- data/lib/phlex-icons/flag/nu_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/nu_square.rb +11 -0
- data/lib/phlex-icons/flag/nz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/nz_square.rb +11 -0
- data/lib/phlex-icons/flag/om_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/om_square.rb +11 -0
- data/lib/phlex-icons/flag/pa_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pa_square.rb +11 -0
- data/lib/phlex-icons/flag/pc_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pc_square.rb +11 -0
- data/lib/phlex-icons/flag/pe_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pe_square.rb +11 -0
- data/lib/phlex-icons/flag/pf_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pf_square.rb +11 -0
- data/lib/phlex-icons/flag/pg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pg_square.rb +11 -0
- data/lib/phlex-icons/flag/ph_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ph_square.rb +11 -0
- data/lib/phlex-icons/flag/pk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pk_square.rb +11 -0
- data/lib/phlex-icons/flag/pl_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pl_square.rb +11 -0
- data/lib/phlex-icons/flag/pm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pm_square.rb +11 -0
- data/lib/phlex-icons/flag/pn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pn_square.rb +11 -0
- data/lib/phlex-icons/flag/pr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pr_square.rb +11 -0
- data/lib/phlex-icons/flag/ps_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ps_square.rb +11 -0
- data/lib/phlex-icons/flag/pt_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pt_square.rb +11 -0
- data/lib/phlex-icons/flag/pw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/pw_square.rb +11 -0
- data/lib/phlex-icons/flag/py_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/py_square.rb +11 -0
- data/lib/phlex-icons/flag/qa_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/qa_square.rb +11 -0
- data/lib/phlex-icons/flag/re_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/re_square.rb +11 -0
- data/lib/phlex-icons/flag/ro_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ro_square.rb +11 -0
- data/lib/phlex-icons/flag/rs_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/rs_square.rb +11 -0
- data/lib/phlex-icons/flag/ru_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ru_square.rb +11 -0
- data/lib/phlex-icons/flag/rw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/rw_square.rb +11 -0
- data/lib/phlex-icons/flag/sa_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sa_square.rb +11 -0
- data/lib/phlex-icons/flag/sb_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sb_square.rb +11 -0
- data/lib/phlex-icons/flag/sc_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sc_square.rb +11 -0
- data/lib/phlex-icons/flag/sd_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sd_square.rb +11 -0
- data/lib/phlex-icons/flag/se_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/se_square.rb +11 -0
- data/lib/phlex-icons/flag/sg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sg_square.rb +11 -0
- data/lib/phlex-icons/flag/sh_ac_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sh_ac_square.rb +11 -0
- data/lib/phlex-icons/flag/sh_hl_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sh_hl_square.rb +11 -0
- data/lib/phlex-icons/flag/sh_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sh_square.rb +11 -0
- data/lib/phlex-icons/flag/sh_ta_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sh_ta_square.rb +11 -0
- data/lib/phlex-icons/flag/si_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/si_square.rb +11 -0
- data/lib/phlex-icons/flag/sj_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sj_square.rb +11 -0
- data/lib/phlex-icons/flag/sk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sk_square.rb +11 -0
- data/lib/phlex-icons/flag/sl_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sl_square.rb +11 -0
- data/lib/phlex-icons/flag/sm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sm_square.rb +11 -0
- data/lib/phlex-icons/flag/sn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sn_square.rb +11 -0
- data/lib/phlex-icons/flag/so_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/so_square.rb +11 -0
- data/lib/phlex-icons/flag/sr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sr_square.rb +11 -0
- data/lib/phlex-icons/flag/ss_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ss_square.rb +11 -0
- data/lib/phlex-icons/flag/st_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/st_square.rb +11 -0
- data/lib/phlex-icons/flag/sv_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sv_square.rb +11 -0
- data/lib/phlex-icons/flag/sx_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sx_square.rb +11 -0
- data/lib/phlex-icons/flag/sy_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sy_square.rb +11 -0
- data/lib/phlex-icons/flag/sz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/sz_square.rb +11 -0
- data/lib/phlex-icons/flag/tc_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tc_square.rb +11 -0
- data/lib/phlex-icons/flag/td_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/td_square.rb +11 -0
- data/lib/phlex-icons/flag/tf_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tf_square.rb +11 -0
- data/lib/phlex-icons/flag/tg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tg_square.rb +11 -0
- data/lib/phlex-icons/flag/th_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/th_square.rb +11 -0
- data/lib/phlex-icons/flag/tj_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tj_square.rb +11 -0
- data/lib/phlex-icons/flag/tk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tk_square.rb +11 -0
- data/lib/phlex-icons/flag/tl_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tl_square.rb +11 -0
- data/lib/phlex-icons/flag/tm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tm_square.rb +11 -0
- data/lib/phlex-icons/flag/tn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tn_square.rb +11 -0
- data/lib/phlex-icons/flag/to_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/to_square.rb +11 -0
- data/lib/phlex-icons/flag/tr_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tr_square.rb +11 -0
- data/lib/phlex-icons/flag/tt_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tt_square.rb +11 -0
- data/lib/phlex-icons/flag/tv_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tv_square.rb +11 -0
- data/lib/phlex-icons/flag/tw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tw_square.rb +11 -0
- data/lib/phlex-icons/flag/tz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/tz_square.rb +11 -0
- data/lib/phlex-icons/flag/ua_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ua_square.rb +11 -0
- data/lib/phlex-icons/flag/ug_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ug_square.rb +11 -0
- data/lib/phlex-icons/flag/um_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/um_square.rb +11 -0
- data/lib/phlex-icons/flag/un_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/un_square.rb +11 -0
- data/lib/phlex-icons/flag/us_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/us_square.rb +11 -0
- data/lib/phlex-icons/flag/uy_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/uy_square.rb +11 -0
- data/lib/phlex-icons/flag/uz_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/uz_square.rb +11 -0
- data/lib/phlex-icons/flag/va_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/va_square.rb +11 -0
- data/lib/phlex-icons/flag/vc_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/vc_square.rb +11 -0
- data/lib/phlex-icons/flag/ve_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ve_square.rb +11 -0
- data/lib/phlex-icons/flag/vg_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/vg_square.rb +11 -0
- data/lib/phlex-icons/flag/vi_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/vi_square.rb +11 -0
- data/lib/phlex-icons/flag/vn_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/vn_square.rb +11 -0
- data/lib/phlex-icons/flag/vu_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/vu_square.rb +11 -0
- data/lib/phlex-icons/flag/wf_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/wf_square.rb +11 -0
- data/lib/phlex-icons/flag/ws_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ws_square.rb +11 -0
- data/lib/phlex-icons/flag/xk_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/xk_square.rb +11 -0
- data/lib/phlex-icons/flag/xx_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/xx_square.rb +11 -0
- data/lib/phlex-icons/flag/ye_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/ye_square.rb +11 -0
- data/lib/phlex-icons/flag/yt_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/yt_square.rb +11 -0
- data/lib/phlex-icons/flag/za_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/za_square.rb +11 -0
- data/lib/phlex-icons/flag/zm_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/zm_square.rb +11 -0
- data/lib/phlex-icons/flag/zw_rectangle.rb +11 -0
- data/lib/phlex-icons/flag/zw_square.rb +11 -0
- data/lib/phlex-icons/flag.rb +540 -0
- data/lib/phlex-icons/version.rb +1 -1
- metadata +542 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5fb39d84c8e014a68e9f49b596bea914b07752c061db360d421031a32580150b
|
4
|
+
data.tar.gz: 99be8e4593589be4c1ce470c4255a1c56e87c800e633ce2606a12df6abb1be77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f5da58961ed8fe3b667b11137d53806bc0aad83b28738f34d596a6f4194ccabf7597bb25fe770d537ef3b5d40a98944160324f83a83fc105b32ce4fd529bdb6
|
7
|
+
data.tar.gz: f7c8494efeb2ca52088039bb1e631dab4093392ade045d684dd2b55562ec04a2ad7b236e0a1d52ac6de3f06ca3dca941a9cc441e177d161958048db5393d6aad
|
data/generators/flag.rb
CHANGED
@@ -6,6 +6,7 @@ REPO_URL = 'https://github.com/lipis/flag-icons.git'
|
|
6
6
|
REPO_NAME = 'lipis-flag-icons'
|
7
7
|
ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/flag.rb'
|
8
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
|
@@ -27,6 +28,22 @@ TEMPLATE = ERB.new <<~TEMPLATE
|
|
27
28
|
# rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
|
28
29
|
TEMPLATE
|
29
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
|
+
|
30
47
|
def main
|
31
48
|
run_generator do
|
32
49
|
new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
|
@@ -49,6 +66,16 @@ def create_icon_component(icon_file_name)
|
|
49
66
|
rectangle_icon: read_and_convert_icon(rectangle_icon_file_path(icon_file_name))
|
50
67
|
)
|
51
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
|
52
79
|
end
|
53
80
|
|
54
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
|
|
@@ -96,7 +100,7 @@ def make_components_lazy_loadable(path)
|
|
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
|
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
@@ -6,6 +6,7 @@ REPO_URL = 'https://github.com/tailwindlabs/heroicons.git'
|
|
6
6
|
REPO_NAME = 'tailwindlabs-heroicons'
|
7
7
|
ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/hero.rb'
|
8
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
|
@@ -27,6 +28,22 @@ TEMPLATE = ERB.new <<~TEMPLATE
|
|
27
28
|
# rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
|
28
29
|
TEMPLATE
|
29
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
|
+
|
30
47
|
def main
|
31
48
|
run_generator do
|
32
49
|
new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
|
@@ -49,6 +66,16 @@ def create_icon_component(icon_file_name)
|
|
49
66
|
outline_icon: read_and_convert_icon(outline_icon_file_path(icon_file_name))
|
50
67
|
)
|
51
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
|
52
79
|
end
|
53
80
|
|
54
81
|
def read_and_convert_icon(icon_file_path)
|
data/generators/tabler.rb
CHANGED
@@ -6,6 +6,7 @@ REPO_URL = 'https://github.com/tabler/tabler-icons.git'
|
|
6
6
|
REPO_NAME = 'tabler-tabler-icons'
|
7
7
|
ICONS_PACK_MODULE_PATH = 'lib/phlex-icons/tabler.rb'
|
8
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
|
@@ -27,6 +28,22 @@ TEMPLATE = ERB.new <<~TEMPLATE
|
|
27
28
|
# rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
|
28
29
|
TEMPLATE
|
29
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
|
+
|
30
47
|
def main
|
31
48
|
run_generator do
|
32
49
|
new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
|
@@ -49,6 +66,16 @@ def create_icon_component(icon_file_name)
|
|
49
66
|
outline_icon: read_and_convert_icon(outline_icon_file_path(icon_file_name))
|
50
67
|
)
|
51
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
|
52
79
|
end
|
53
80
|
|
54
81
|
def read_and_convert_icon(icon_file_path)
|