phlex-icons-flag 0.11.0 → 0.13.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7ba97c0e6f1c61c8f44fa12c25a7c701822f5b038a921d7ed80317f1ab368ea0
4
- data.tar.gz: ec0cb75a95fd868c46aaff8801f07cc0e8579edbcdb86f42cfc52984d7c3aca7
3
+ metadata.gz: b9a86dbd4fb591d64362f7d2655925a8651b922c3daf947fd52585766cdb1ed6
4
+ data.tar.gz: 1c493dd6f98fe8025f800b2bde74701a6f5cca35525128f078bf9b9371d9cdae
5
5
  SHA512:
6
- metadata.gz: e8245a5bc34bae0df8a516c8c0a1b46525f5336a4e9c8f45979d88dbf8135425d1f48f1ab98ac899dee91da0e3d4d551832c890b614ab6e1831be7cf91ff000f
7
- data.tar.gz: 7fdaa53873ff829c2176442fa05088951b53fd6fb7fb9c0b3547f023cd162ea005d6a8253ea9de65a173db1f262a34f31c1c3270374b11b77f8e6ecf904febfb
6
+ metadata.gz: 717916d636dd25231fb1132402543242d6e086db971dc427f0713c521c947009f618766b78407bbf6aa8911afe86d0da55f707af900fcb51de7d8ce7e5aea037
7
+ data.tar.gz: fac13589fc48a2768e0e977658cee41252c71652d8a792abe04c7d2b48fd70fb61600434f40eacfc692ca7d6d369fbb7e66fac3bb368c062834583382c1d01ba
data/README.md CHANGED
@@ -10,13 +10,14 @@
10
10
 
11
11
  # Phlex::Icons
12
12
 
13
- General icons extension for [Phlex](https://phlex.fun). Includes more than 🎨 7,300 icons from:
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+)
15
15
  - [Flag Icons](https://flagicons.lipis.dev) (250+)
16
16
  - [Heroicons](https://heroicons.com) (300+)
17
17
  - [Lucide Icons](https://lucide.dev/icons) (1,500+)
18
18
  - [RadixUI Icons](https://radix-ui.com/icons) (300+)
19
19
  - [Remix Icons](https://remixicon.com) (2,800+)
20
+ - [Tabler Icons](https://tabler.io/icons) (4,800+)
20
21
 
21
22
  And happy to extend to other icon packs!
22
23
 
@@ -40,6 +41,16 @@ If bundler is not being used to manage dependencies, install the gem by executin
40
41
  gem install phlex-icons
41
42
  ```
42
43
 
44
+ If you don't want to add all icon packs to your application, you can add a specific icon pack by using one (or multiple) of the following gems:
45
+
46
+ - [phlex-icons-bootstrap](https://rubygems.org/gems/phlex-icons-bootstrap)
47
+ - [phlex-icons-flag](https://rubygems.org/gems/phlex-icons-flag)
48
+ - [phlex-icons-hero](https://rubygems.org/gems/phlex-icons-hero)
49
+ - [phlex-icons-lucide](https://rubygems.org/gems/phlex-icons-lucide)
50
+ - [phlex-icons-radix](https://rubygems.org/gems/phlex-icons-radix)
51
+ - [phlex-icons-remix](https://rubygems.org/gems/phlex-icons-remix)
52
+ - [phlex-icons-tabler](https://rubygems.org/gems/phlex-icons-tabler)
53
+
43
54
  ## Configuration
44
55
 
45
56
  The gem provides global configuration options, and per icons pack configuration options.
@@ -96,8 +107,44 @@ Nothing to configure for RadixUI Icons.
96
107
 
97
108
  Nothing to configure for Remix Icons.
98
109
 
110
+ ### Tabler Icons configuration
111
+
112
+ ```ruby
113
+ Phlex::Icons::Tabler.configure do |config|
114
+ config.default_variant = :outline # or :filled
115
+ end
116
+
117
+ # OR
118
+
119
+ Phlex::Icons::Tabler.configuration.default_variant = :outline # or :filled
120
+ ```
121
+
99
122
  ## Usage
100
123
 
124
+ ### With `Phlex::Kit`
125
+
126
+ ```ruby
127
+ require 'phlex_icons'
128
+
129
+ class PhlexIcons < Phlex::HTML
130
+ include Phlex::Icons
131
+
132
+ def view_template
133
+ div do
134
+ Bootstrap::House(classes: 'size-4')
135
+ Flag::Sa(variant: :rectangle, classes: 'size-4')
136
+ Hero::Home(variant: :solid, classes: 'size-4')
137
+ Lucide::House(classes: 'size-4')
138
+ Radix::Home(classes: 'size-4')
139
+ Remix::HomeLine(classes: 'size-4')
140
+ Tabler::Home(variant: :filled, classes: 'size-4')
141
+ end
142
+ end
143
+ end
144
+ ```
145
+
146
+ ### Without `Phlex::Kit`
147
+
101
148
  ```ruby
102
149
  require 'phlex_icons'
103
150
 
@@ -110,6 +157,7 @@ class PhlexIcons < Phlex::HTML
110
157
  render Phlex::Icons::Lucide::House.new(classes: 'size-4')
111
158
  render Phlex::Icons::Radix::Home.new(classes: 'size-4')
112
159
  render Phlex::Icons::Remix::HomeLine.new(classes: 'size-4')
160
+ render Phlex::Icons::Tabler::Home.new(variant: :filled, classes: 'size-4')
113
161
  end
114
162
  end
115
163
  end
data/generators/helper.rb CHANGED
@@ -2,6 +2,7 @@
2
2
 
3
3
  require 'erb'
4
4
  require 'fileutils'
5
+ require 'zeitwerk' # Needed by Phlexing
5
6
  require 'phlexing'
6
7
  require 'tqdm'
7
8
 
@@ -19,8 +20,9 @@ def run_generator(&block)
19
20
 
20
21
  print '⌛ Creating icon components...'
21
22
  yield block
22
- puts "\r🎉 Icon components created successfully!"
23
+ puts "\e[2K\r🎉 Icon components created successfully!"
23
24
 
25
+ make_components_lazy_loadable(ICONS_PACK_PATH)
24
26
  run_rubocop(ICONS_PACK_PATH)
25
27
  delete_repo(REPO_NAME)
26
28
  end
@@ -29,14 +31,14 @@ def clone_repo(repo_url, repo_name)
29
31
  print "⌛ Cloning '#{repo_name}' repo..."
30
32
 
31
33
  if Dir.exist?("generators/#{repo_name}")
32
- puts "\r✅ '#{repo_name}' repo already exists"
34
+ puts "\e[2K\r✅ '#{repo_name}' repo already exists"
33
35
 
34
36
  return
35
37
  end
36
38
 
37
39
  system!("git clone #{repo_url} generators/#{repo_name}")
38
40
 
39
- puts "\r🎉 '#{repo_name}' repo cloned successfully!"
41
+ puts "\e[2K\r🎉 '#{repo_name}' repo cloned successfully!"
40
42
  end
41
43
 
42
44
  def prepare_phlex_icons_pack_directory(icons_pack_path)
@@ -50,13 +52,13 @@ def prepare_phlex_icons_pack_directory(icons_pack_path)
50
52
  File.delete(file)
51
53
  end
52
54
 
53
- puts "\r🎉 '#{icons_pack_path}' directory prepared successfully!"
55
+ puts "\e[2K\r🎉 '#{icons_pack_path}' directory prepared successfully!"
54
56
  end
55
57
 
56
58
  def component_file_name(icon_file_name, replacements = nil)
57
59
  replacements ||= {}
58
60
 
59
- icon_name = File.basename(icon_file_name, '.svg')
61
+ icon_name = File.basename(icon_file_name, File.extname(icon_file_name))
60
62
 
61
63
  replacements.each do |key, value|
62
64
  icon_name = icon_name.gsub(key, value) if icon_name.start_with?(key)
@@ -68,13 +70,32 @@ end
68
70
  def component_class_name(icon_file_name, replacements = nil)
69
71
  replacements ||= {}
70
72
 
71
- icon_name = File.basename(icon_file_name, '.svg')
73
+ icon_name = File.basename(icon_file_name, File.extname(icon_file_name))
72
74
 
73
75
  replacements.each do |key, value|
74
76
  icon_name = icon_name.gsub(key, value) if icon_name.start_with?(key)
75
77
  end
76
78
 
77
- icon_name.gsub('-', ' ').split.map(&:capitalize).join
79
+ icon_name.gsub(/[-_]/, ' ').split.map(&:capitalize).join
80
+ end
81
+
82
+ def make_components_lazy_loadable(path)
83
+ print '⌛ Making components lazy-loadable...'
84
+
85
+ autoload_lines = Dir.glob("#{path}/*.rb").map do |file|
86
+ next if ['base.rb', 'configuration.rb'].include?(File.basename(file))
87
+
88
+ " autoload :#{component_class_name(file)}, '#{file.split('/', 2).last.chomp(File.extname(file))}'"
89
+ end.compact.join("\n")
90
+
91
+ new_content = File.read("#{path}.rb").gsub(
92
+ /# auto-generated autoload: start.*# auto-generated autoload: end/m,
93
+ "# auto-generated autoload: start\n#{autoload_lines}\n # auto-generated autoload: end"
94
+ )
95
+
96
+ File.write("#{path}.rb", new_content)
97
+
98
+ puts "\e[2K\r🎉 Components are lazy-loadable!"
78
99
  end
79
100
 
80
101
  def run_rubocop(path)
@@ -86,7 +107,7 @@ def run_rubocop(path)
86
107
  File.write(file, File.read(file).gsub('rubocop:enable ,', 'rubocop:enable '))
87
108
  end
88
109
 
89
- puts "\r🎉 RuboCop ran successfully!"
110
+ puts "\e[2K\r🎉 RuboCop ran successfully!"
90
111
  end
91
112
 
92
113
  def delete_repo(repo_name)
@@ -94,7 +115,7 @@ def delete_repo(repo_name)
94
115
 
95
116
  FileUtils.rm_rf("generators/#{repo_name}")
96
117
 
97
- puts "\r🎉 '#{repo_name}' repo deleted successfully!"
118
+ puts "\e[2K\r🎉 '#{repo_name}' repo deleted successfully!"
98
119
  end
99
120
 
100
121
  def system!(command)
@@ -0,0 +1,69 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative 'helper'
4
+
5
+ REPO_URL = 'https://github.com/tabler/tabler-icons.git'
6
+ REPO_NAME = 'tabler-tabler-icons'
7
+ ICONS_PACK_PATH = 'lib/phlex/icons/tabler'
8
+
9
+ TEMPLATE = ERB.new <<~TEMPLATE
10
+ # frozen_string_literal: true
11
+
12
+ # rubocop:disable #{ROBOCOP_DISABLE_WARNINGS}
13
+ module Phlex
14
+ module Icons
15
+ module Tabler
16
+ class <%= icon_name %> < Base
17
+ def filled
18
+ <%= filled_icon %>
19
+ end
20
+
21
+ def outline
22
+ <%= outline_icon %>
23
+ end
24
+ end
25
+ end
26
+ end
27
+ end
28
+ # rubocop:enable #{ROBOCOP_DISABLE_WARNINGS}
29
+ TEMPLATE
30
+
31
+ def main
32
+ run_generator { icon_file_names.tqdm.each { create_icon_component(_1) } }
33
+ end
34
+
35
+ def icon_file_names
36
+ Dir.glob("generators/#{REPO_NAME}/icons/outline/*").map { |file| File.basename(file) }
37
+ end
38
+
39
+ def create_icon_component(icon_file_name)
40
+ File.write(
41
+ File.join(ICONS_PACK_PATH, component_file_name(icon_file_name)),
42
+ TEMPLATE.result_with_hash(
43
+ icon_name: component_class_name(icon_file_name),
44
+ filled_icon: read_and_convert_icon(filled_icon_file_path(icon_file_name)),
45
+ outline_icon: read_and_convert_icon(outline_icon_file_path(icon_file_name))
46
+ )
47
+ )
48
+ end
49
+
50
+ def read_and_convert_icon(icon_file_path)
51
+ return 'raise NotImplementedError' unless File.exist?(icon_file_path)
52
+
53
+ icon_file_content = File.read(icon_file_path)
54
+ .gsub!(/<!--.*?-->/m, '')
55
+ .sub('width="24"', '')
56
+ .sub('height="24"', '')
57
+
58
+ Phlexing::Converter.convert(icon_file_content).sub('svg(', "svg(\nclass: classes,")
59
+ end
60
+
61
+ def filled_icon_file_path(icon_file_name)
62
+ "generators/#{REPO_NAME}/icons/filled/#{icon_file_name}"
63
+ end
64
+
65
+ def outline_icon_file_path(icon_file_name)
66
+ "generators/#{REPO_NAME}/icons/outline/#{icon_file_name}"
67
+ end
68
+
69
+ main if __FILE__ == $PROGRAM_NAME
@@ -2,15 +2,284 @@
2
2
 
3
3
  module Phlex
4
4
  module Icons
5
- module Flag
5
+ module Flag # rubocop:disable Metrics/ModuleLength
6
+ extend Phlex::Kit
7
+
6
8
  require_relative 'flag/base'
7
9
  require_relative 'flag/configuration'
8
10
 
9
- Dir[File.join(__dir__, 'flag', '*.rb')].each do |file|
10
- next if ['base.rb', 'configuration.rb'].include?(File.basename(file))
11
-
12
- require_relative file
13
- end
11
+ # auto-generated autoload: start
12
+ autoload :Ad, 'phlex/icons/flag/ad'
13
+ autoload :Ae, 'phlex/icons/flag/ae'
14
+ autoload :Af, 'phlex/icons/flag/af'
15
+ autoload :Ag, 'phlex/icons/flag/ag'
16
+ autoload :Ai, 'phlex/icons/flag/ai'
17
+ autoload :Al, 'phlex/icons/flag/al'
18
+ autoload :Am, 'phlex/icons/flag/am'
19
+ autoload :Ao, 'phlex/icons/flag/ao'
20
+ autoload :Aq, 'phlex/icons/flag/aq'
21
+ autoload :Ar, 'phlex/icons/flag/ar'
22
+ autoload :Arab, 'phlex/icons/flag/arab'
23
+ autoload :As, 'phlex/icons/flag/as'
24
+ autoload :At, 'phlex/icons/flag/at'
25
+ autoload :Au, 'phlex/icons/flag/au'
26
+ autoload :Aw, 'phlex/icons/flag/aw'
27
+ autoload :Ax, 'phlex/icons/flag/ax'
28
+ autoload :Az, 'phlex/icons/flag/az'
29
+ autoload :Ba, 'phlex/icons/flag/ba'
30
+ autoload :Bb, 'phlex/icons/flag/bb'
31
+ autoload :Bd, 'phlex/icons/flag/bd'
32
+ autoload :Be, 'phlex/icons/flag/be'
33
+ autoload :Bf, 'phlex/icons/flag/bf'
34
+ autoload :Bg, 'phlex/icons/flag/bg'
35
+ autoload :Bh, 'phlex/icons/flag/bh'
36
+ autoload :Bi, 'phlex/icons/flag/bi'
37
+ autoload :Bj, 'phlex/icons/flag/bj'
38
+ autoload :Bl, 'phlex/icons/flag/bl'
39
+ autoload :Bm, 'phlex/icons/flag/bm'
40
+ autoload :Bn, 'phlex/icons/flag/bn'
41
+ autoload :Bo, 'phlex/icons/flag/bo'
42
+ autoload :Bq, 'phlex/icons/flag/bq'
43
+ autoload :Br, 'phlex/icons/flag/br'
44
+ autoload :Bs, 'phlex/icons/flag/bs'
45
+ autoload :Bt, 'phlex/icons/flag/bt'
46
+ autoload :Bv, 'phlex/icons/flag/bv'
47
+ autoload :Bw, 'phlex/icons/flag/bw'
48
+ autoload :By, 'phlex/icons/flag/by'
49
+ autoload :Bz, 'phlex/icons/flag/bz'
50
+ autoload :Ca, 'phlex/icons/flag/ca'
51
+ autoload :Cc, 'phlex/icons/flag/cc'
52
+ autoload :Cd, 'phlex/icons/flag/cd'
53
+ autoload :Cefta, 'phlex/icons/flag/cefta'
54
+ autoload :Cf, 'phlex/icons/flag/cf'
55
+ autoload :Cg, 'phlex/icons/flag/cg'
56
+ autoload :Ch, 'phlex/icons/flag/ch'
57
+ autoload :Ci, 'phlex/icons/flag/ci'
58
+ autoload :Ck, 'phlex/icons/flag/ck'
59
+ autoload :Cl, 'phlex/icons/flag/cl'
60
+ autoload :Cm, 'phlex/icons/flag/cm'
61
+ autoload :Cn, 'phlex/icons/flag/cn'
62
+ autoload :Co, 'phlex/icons/flag/co'
63
+ autoload :Cp, 'phlex/icons/flag/cp'
64
+ autoload :Cr, 'phlex/icons/flag/cr'
65
+ autoload :Cu, 'phlex/icons/flag/cu'
66
+ autoload :Cv, 'phlex/icons/flag/cv'
67
+ autoload :Cw, 'phlex/icons/flag/cw'
68
+ autoload :Cx, 'phlex/icons/flag/cx'
69
+ autoload :Cy, 'phlex/icons/flag/cy'
70
+ autoload :Cz, 'phlex/icons/flag/cz'
71
+ autoload :De, 'phlex/icons/flag/de'
72
+ autoload :Dg, 'phlex/icons/flag/dg'
73
+ autoload :Dj, 'phlex/icons/flag/dj'
74
+ autoload :Dk, 'phlex/icons/flag/dk'
75
+ autoload :Dm, 'phlex/icons/flag/dm'
76
+ autoload :Do, 'phlex/icons/flag/do'
77
+ autoload :Dz, 'phlex/icons/flag/dz'
78
+ autoload :Eac, 'phlex/icons/flag/eac'
79
+ autoload :Ec, 'phlex/icons/flag/ec'
80
+ autoload :Ee, 'phlex/icons/flag/ee'
81
+ autoload :Eg, 'phlex/icons/flag/eg'
82
+ autoload :Eh, 'phlex/icons/flag/eh'
83
+ autoload :Er, 'phlex/icons/flag/er'
84
+ autoload :Es, 'phlex/icons/flag/es'
85
+ autoload :EsCt, 'phlex/icons/flag/es_ct'
86
+ autoload :EsGa, 'phlex/icons/flag/es_ga'
87
+ autoload :EsPv, 'phlex/icons/flag/es_pv'
88
+ autoload :Et, 'phlex/icons/flag/et'
89
+ autoload :Eu, 'phlex/icons/flag/eu'
90
+ autoload :Fi, 'phlex/icons/flag/fi'
91
+ autoload :Fj, 'phlex/icons/flag/fj'
92
+ autoload :Fk, 'phlex/icons/flag/fk'
93
+ autoload :Fm, 'phlex/icons/flag/fm'
94
+ autoload :Fo, 'phlex/icons/flag/fo'
95
+ autoload :Fr, 'phlex/icons/flag/fr'
96
+ autoload :Ga, 'phlex/icons/flag/ga'
97
+ autoload :Gb, 'phlex/icons/flag/gb'
98
+ autoload :GbEng, 'phlex/icons/flag/gb_eng'
99
+ autoload :GbNir, 'phlex/icons/flag/gb_nir'
100
+ autoload :GbSct, 'phlex/icons/flag/gb_sct'
101
+ autoload :GbWls, 'phlex/icons/flag/gb_wls'
102
+ autoload :Gd, 'phlex/icons/flag/gd'
103
+ autoload :Ge, 'phlex/icons/flag/ge'
104
+ autoload :Gf, 'phlex/icons/flag/gf'
105
+ autoload :Gg, 'phlex/icons/flag/gg'
106
+ autoload :Gh, 'phlex/icons/flag/gh'
107
+ autoload :Gi, 'phlex/icons/flag/gi'
108
+ autoload :Gl, 'phlex/icons/flag/gl'
109
+ autoload :Gm, 'phlex/icons/flag/gm'
110
+ autoload :Gn, 'phlex/icons/flag/gn'
111
+ autoload :Gp, 'phlex/icons/flag/gp'
112
+ autoload :Gq, 'phlex/icons/flag/gq'
113
+ autoload :Gr, 'phlex/icons/flag/gr'
114
+ autoload :Gs, 'phlex/icons/flag/gs'
115
+ autoload :Gt, 'phlex/icons/flag/gt'
116
+ autoload :Gu, 'phlex/icons/flag/gu'
117
+ autoload :Gw, 'phlex/icons/flag/gw'
118
+ autoload :Gy, 'phlex/icons/flag/gy'
119
+ autoload :Hk, 'phlex/icons/flag/hk'
120
+ autoload :Hm, 'phlex/icons/flag/hm'
121
+ autoload :Hn, 'phlex/icons/flag/hn'
122
+ autoload :Hr, 'phlex/icons/flag/hr'
123
+ autoload :Ht, 'phlex/icons/flag/ht'
124
+ autoload :Hu, 'phlex/icons/flag/hu'
125
+ autoload :Ic, 'phlex/icons/flag/ic'
126
+ autoload :Id, 'phlex/icons/flag/id'
127
+ autoload :Ie, 'phlex/icons/flag/ie'
128
+ autoload :Il, 'phlex/icons/flag/il'
129
+ autoload :Im, 'phlex/icons/flag/im'
130
+ autoload :In, 'phlex/icons/flag/in'
131
+ autoload :Io, 'phlex/icons/flag/io'
132
+ autoload :Iq, 'phlex/icons/flag/iq'
133
+ autoload :Ir, 'phlex/icons/flag/ir'
134
+ autoload :Is, 'phlex/icons/flag/is'
135
+ autoload :It, 'phlex/icons/flag/it'
136
+ autoload :Je, 'phlex/icons/flag/je'
137
+ autoload :Jm, 'phlex/icons/flag/jm'
138
+ autoload :Jo, 'phlex/icons/flag/jo'
139
+ autoload :Jp, 'phlex/icons/flag/jp'
140
+ autoload :Ke, 'phlex/icons/flag/ke'
141
+ autoload :Kg, 'phlex/icons/flag/kg'
142
+ autoload :Kh, 'phlex/icons/flag/kh'
143
+ autoload :Ki, 'phlex/icons/flag/ki'
144
+ autoload :Km, 'phlex/icons/flag/km'
145
+ autoload :Kn, 'phlex/icons/flag/kn'
146
+ autoload :Kp, 'phlex/icons/flag/kp'
147
+ autoload :Kr, 'phlex/icons/flag/kr'
148
+ autoload :Kw, 'phlex/icons/flag/kw'
149
+ autoload :Ky, 'phlex/icons/flag/ky'
150
+ autoload :Kz, 'phlex/icons/flag/kz'
151
+ autoload :La, 'phlex/icons/flag/la'
152
+ autoload :Lb, 'phlex/icons/flag/lb'
153
+ autoload :Lc, 'phlex/icons/flag/lc'
154
+ autoload :Li, 'phlex/icons/flag/li'
155
+ autoload :Lk, 'phlex/icons/flag/lk'
156
+ autoload :Lr, 'phlex/icons/flag/lr'
157
+ autoload :Ls, 'phlex/icons/flag/ls'
158
+ autoload :Lt, 'phlex/icons/flag/lt'
159
+ autoload :Lu, 'phlex/icons/flag/lu'
160
+ autoload :Lv, 'phlex/icons/flag/lv'
161
+ autoload :Ly, 'phlex/icons/flag/ly'
162
+ autoload :Ma, 'phlex/icons/flag/ma'
163
+ autoload :Mc, 'phlex/icons/flag/mc'
164
+ autoload :Md, 'phlex/icons/flag/md'
165
+ autoload :Me, 'phlex/icons/flag/me'
166
+ autoload :Mf, 'phlex/icons/flag/mf'
167
+ autoload :Mg, 'phlex/icons/flag/mg'
168
+ autoload :Mh, 'phlex/icons/flag/mh'
169
+ autoload :Mk, 'phlex/icons/flag/mk'
170
+ autoload :Ml, 'phlex/icons/flag/ml'
171
+ autoload :Mm, 'phlex/icons/flag/mm'
172
+ autoload :Mn, 'phlex/icons/flag/mn'
173
+ autoload :Mo, 'phlex/icons/flag/mo'
174
+ autoload :Mp, 'phlex/icons/flag/mp'
175
+ autoload :Mq, 'phlex/icons/flag/mq'
176
+ autoload :Mr, 'phlex/icons/flag/mr'
177
+ autoload :Ms, 'phlex/icons/flag/ms'
178
+ autoload :Mt, 'phlex/icons/flag/mt'
179
+ autoload :Mu, 'phlex/icons/flag/mu'
180
+ autoload :Mv, 'phlex/icons/flag/mv'
181
+ autoload :Mw, 'phlex/icons/flag/mw'
182
+ autoload :Mx, 'phlex/icons/flag/mx'
183
+ autoload :My, 'phlex/icons/flag/my'
184
+ autoload :Mz, 'phlex/icons/flag/mz'
185
+ autoload :Na, 'phlex/icons/flag/na'
186
+ autoload :Nc, 'phlex/icons/flag/nc'
187
+ autoload :Ne, 'phlex/icons/flag/ne'
188
+ autoload :Nf, 'phlex/icons/flag/nf'
189
+ autoload :Ng, 'phlex/icons/flag/ng'
190
+ autoload :Ni, 'phlex/icons/flag/ni'
191
+ autoload :Nl, 'phlex/icons/flag/nl'
192
+ autoload :No, 'phlex/icons/flag/no'
193
+ autoload :Np, 'phlex/icons/flag/np'
194
+ autoload :Nr, 'phlex/icons/flag/nr'
195
+ autoload :Nu, 'phlex/icons/flag/nu'
196
+ autoload :Nz, 'phlex/icons/flag/nz'
197
+ autoload :Om, 'phlex/icons/flag/om'
198
+ autoload :Pa, 'phlex/icons/flag/pa'
199
+ autoload :Pc, 'phlex/icons/flag/pc'
200
+ autoload :Pe, 'phlex/icons/flag/pe'
201
+ autoload :Pf, 'phlex/icons/flag/pf'
202
+ autoload :Pg, 'phlex/icons/flag/pg'
203
+ autoload :Ph, 'phlex/icons/flag/ph'
204
+ autoload :Pk, 'phlex/icons/flag/pk'
205
+ autoload :Pl, 'phlex/icons/flag/pl'
206
+ autoload :Pm, 'phlex/icons/flag/pm'
207
+ autoload :Pn, 'phlex/icons/flag/pn'
208
+ autoload :Pr, 'phlex/icons/flag/pr'
209
+ autoload :Ps, 'phlex/icons/flag/ps'
210
+ autoload :Pt, 'phlex/icons/flag/pt'
211
+ autoload :Pw, 'phlex/icons/flag/pw'
212
+ autoload :Py, 'phlex/icons/flag/py'
213
+ autoload :Qa, 'phlex/icons/flag/qa'
214
+ autoload :Re, 'phlex/icons/flag/re'
215
+ autoload :Ro, 'phlex/icons/flag/ro'
216
+ autoload :Rs, 'phlex/icons/flag/rs'
217
+ autoload :Ru, 'phlex/icons/flag/ru'
218
+ autoload :Rw, 'phlex/icons/flag/rw'
219
+ autoload :Sa, 'phlex/icons/flag/sa'
220
+ autoload :Sb, 'phlex/icons/flag/sb'
221
+ autoload :Sc, 'phlex/icons/flag/sc'
222
+ autoload :Sd, 'phlex/icons/flag/sd'
223
+ autoload :Se, 'phlex/icons/flag/se'
224
+ autoload :Sg, 'phlex/icons/flag/sg'
225
+ autoload :Sh, 'phlex/icons/flag/sh'
226
+ autoload :ShAc, 'phlex/icons/flag/sh_ac'
227
+ autoload :ShHl, 'phlex/icons/flag/sh_hl'
228
+ autoload :ShTa, 'phlex/icons/flag/sh_ta'
229
+ autoload :Si, 'phlex/icons/flag/si'
230
+ autoload :Sj, 'phlex/icons/flag/sj'
231
+ autoload :Sk, 'phlex/icons/flag/sk'
232
+ autoload :Sl, 'phlex/icons/flag/sl'
233
+ autoload :Sm, 'phlex/icons/flag/sm'
234
+ autoload :Sn, 'phlex/icons/flag/sn'
235
+ autoload :So, 'phlex/icons/flag/so'
236
+ autoload :Sr, 'phlex/icons/flag/sr'
237
+ autoload :Ss, 'phlex/icons/flag/ss'
238
+ autoload :St, 'phlex/icons/flag/st'
239
+ autoload :Sv, 'phlex/icons/flag/sv'
240
+ autoload :Sx, 'phlex/icons/flag/sx'
241
+ autoload :Sy, 'phlex/icons/flag/sy'
242
+ autoload :Sz, 'phlex/icons/flag/sz'
243
+ autoload :Tc, 'phlex/icons/flag/tc'
244
+ autoload :Td, 'phlex/icons/flag/td'
245
+ autoload :Tf, 'phlex/icons/flag/tf'
246
+ autoload :Tg, 'phlex/icons/flag/tg'
247
+ autoload :Th, 'phlex/icons/flag/th'
248
+ autoload :Tj, 'phlex/icons/flag/tj'
249
+ autoload :Tk, 'phlex/icons/flag/tk'
250
+ autoload :Tl, 'phlex/icons/flag/tl'
251
+ autoload :Tm, 'phlex/icons/flag/tm'
252
+ autoload :Tn, 'phlex/icons/flag/tn'
253
+ autoload :To, 'phlex/icons/flag/to'
254
+ autoload :Tr, 'phlex/icons/flag/tr'
255
+ autoload :Tt, 'phlex/icons/flag/tt'
256
+ autoload :Tv, 'phlex/icons/flag/tv'
257
+ autoload :Tw, 'phlex/icons/flag/tw'
258
+ autoload :Tz, 'phlex/icons/flag/tz'
259
+ autoload :Ua, 'phlex/icons/flag/ua'
260
+ autoload :Ug, 'phlex/icons/flag/ug'
261
+ autoload :Um, 'phlex/icons/flag/um'
262
+ autoload :Un, 'phlex/icons/flag/un'
263
+ autoload :Us, 'phlex/icons/flag/us'
264
+ autoload :Uy, 'phlex/icons/flag/uy'
265
+ autoload :Uz, 'phlex/icons/flag/uz'
266
+ autoload :Va, 'phlex/icons/flag/va'
267
+ autoload :Vc, 'phlex/icons/flag/vc'
268
+ autoload :Ve, 'phlex/icons/flag/ve'
269
+ autoload :Vg, 'phlex/icons/flag/vg'
270
+ autoload :Vi, 'phlex/icons/flag/vi'
271
+ autoload :Vn, 'phlex/icons/flag/vn'
272
+ autoload :Vu, 'phlex/icons/flag/vu'
273
+ autoload :Wf, 'phlex/icons/flag/wf'
274
+ autoload :Ws, 'phlex/icons/flag/ws'
275
+ autoload :Xk, 'phlex/icons/flag/xk'
276
+ autoload :Xx, 'phlex/icons/flag/xx'
277
+ autoload :Ye, 'phlex/icons/flag/ye'
278
+ autoload :Yt, 'phlex/icons/flag/yt'
279
+ autoload :Za, 'phlex/icons/flag/za'
280
+ autoload :Zm, 'phlex/icons/flag/zm'
281
+ autoload :Zw, 'phlex/icons/flag/zw'
282
+ # auto-generated autoload: end
14
283
 
15
284
  class << self
16
285
  def configuration
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Phlex
4
4
  module Icons
5
- VERSION = '0.11.0'
5
+ VERSION = '0.13.0'
6
6
  end
7
7
  end
@@ -4,9 +4,10 @@ require 'phlex'
4
4
 
5
5
  require_relative 'phlex/icons/base'
6
6
  require_relative 'phlex/icons/configuration'
7
- require_relative 'phlex/icons/flag'
8
7
  require_relative 'phlex/icons/version'
9
8
 
9
+ require_relative 'phlex/icons/flag'
10
+
10
11
  module Phlex
11
12
  module Icons
12
13
  class << self
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: phlex-icons-flag
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.11.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ali Hamdi Ali Fadel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-09-01 00:00:00.000000000 Z
11
+ date: 2024-09-02 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: phlex
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: '1.10'
19
+ version: '1.11'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: '1.10'
26
+ version: '1.11'
27
27
  description:
28
28
  email:
29
29
  - aliosm1997@gmail.com
@@ -48,6 +48,7 @@ files:
48
48
  - generators/lucide.rb
49
49
  - generators/radix.rb
50
50
  - generators/remix.rb
51
+ - generators/tabler.rb
51
52
  - lib/phlex/icons/base.rb
52
53
  - lib/phlex/icons/configuration.rb
53
54
  - lib/phlex/icons/flag.rb