phlex-icons-tabler 0.15.0 → 0.17.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +5 -5
  3. data/generators/bootstrap.rb +7 -1
  4. data/generators/flag.rb +7 -1
  5. data/generators/helper.rb +6 -0
  6. data/generators/hero.rb +7 -1
  7. data/generators/lucide.rb +10 -1
  8. data/generators/radix.rb +8 -2
  9. data/generators/remix.rb +7 -1
  10. data/generators/tabler.rb +7 -1
  11. data/lib/phlex/icons/tabler/apple.rb +11 -1
  12. data/lib/phlex/icons/tabler/arrow_down_circle.rb +13 -1
  13. data/lib/phlex/icons/tabler/arrow_down_rhombus.rb +13 -1
  14. data/lib/phlex/icons/tabler/arrow_down_square.rb +13 -1
  15. data/lib/phlex/icons/tabler/arrow_guide.rb +13 -1
  16. data/lib/phlex/icons/tabler/arrow_left_circle.rb +13 -1
  17. data/lib/phlex/icons/tabler/arrow_left_rhombus.rb +13 -1
  18. data/lib/phlex/icons/tabler/arrow_left_square.rb +13 -1
  19. data/lib/phlex/icons/tabler/arrow_move_down.rb +13 -1
  20. data/lib/phlex/icons/tabler/arrow_move_left.rb +13 -1
  21. data/lib/phlex/icons/tabler/arrow_move_right.rb +13 -1
  22. data/lib/phlex/icons/tabler/arrow_move_up.rb +14 -1
  23. data/lib/phlex/icons/tabler/arrow_right_circle.rb +13 -1
  24. data/lib/phlex/icons/tabler/arrow_right_rhombus.rb +13 -1
  25. data/lib/phlex/icons/tabler/arrow_right_square.rb +13 -1
  26. data/lib/phlex/icons/tabler/arrow_up_circle.rb +13 -1
  27. data/lib/phlex/icons/tabler/arrow_up_rhombus.rb +13 -1
  28. data/lib/phlex/icons/tabler/arrow_up_square.rb +13 -1
  29. data/lib/phlex/icons/tabler/automatic_gearbox.rb +13 -1
  30. data/lib/phlex/icons/tabler/base.rb +0 -2
  31. data/lib/phlex/icons/tabler/battery_automotive.rb +13 -1
  32. data/lib/phlex/icons/tabler/battery_vertical.rb +11 -1
  33. data/lib/phlex/icons/tabler/battery_vertical_1.rb +11 -1
  34. data/lib/phlex/icons/tabler/battery_vertical_2.rb +11 -1
  35. data/lib/phlex/icons/tabler/battery_vertical_3.rb +11 -1
  36. data/lib/phlex/icons/tabler/battery_vertical_4.rb +11 -1
  37. data/lib/phlex/icons/tabler/bike.rb +16 -1
  38. data/lib/phlex/icons/tabler/blender.rb +13 -1
  39. data/lib/phlex/icons/tabler/blob.rb +1 -1
  40. data/lib/phlex/icons/tabler/bolt.rb +13 -1
  41. data/lib/phlex/icons/tabler/bong.rb +11 -1
  42. data/lib/phlex/icons/tabler/box_multiple.rb +17 -1
  43. data/lib/phlex/icons/tabler/butterfly.rb +19 -1
  44. data/lib/phlex/icons/tabler/cannabis.rb +11 -1
  45. data/lib/phlex/icons/tabler/car.rb +13 -1
  46. data/lib/phlex/icons/tabler/car_4wd.rb +13 -1
  47. data/lib/phlex/icons/tabler/car_fan.rb +13 -1
  48. data/lib/phlex/icons/tabler/car_suv.rb +13 -1
  49. data/lib/phlex/icons/tabler/carambola.rb +11 -1
  50. data/lib/phlex/icons/tabler/cardboards.rb +11 -1
  51. data/lib/phlex/icons/tabler/charging_pile.rb +13 -1
  52. data/lib/phlex/icons/tabler/christmas_tree.rb +13 -1
  53. data/lib/phlex/icons/tabler/clover.rb +11 -1
  54. data/lib/phlex/icons/tabler/dashboard.rb +13 -1
  55. data/lib/phlex/icons/tabler/device_cctv.rb +13 -1
  56. data/lib/phlex/icons/tabler/device_desktop.rb +13 -1
  57. data/lib/phlex/icons/tabler/device_gamepad_3.rb +17 -5
  58. data/lib/phlex/icons/tabler/device_imac.rb +13 -1
  59. data/lib/phlex/icons/tabler/device_ipad.rb +13 -2
  60. data/lib/phlex/icons/tabler/device_remote.rb +13 -1
  61. data/lib/phlex/icons/tabler/device_speaker.rb +13 -1
  62. data/lib/phlex/icons/tabler/device_tv.rb +13 -1
  63. data/lib/phlex/icons/tabler/device_tv_old.rb +21 -1
  64. data/lib/phlex/icons/tabler/device_unknown.rb +13 -1
  65. data/lib/phlex/icons/tabler/device_usb.rb +15 -3
  66. data/lib/phlex/icons/tabler/device_vision_pro.rb +11 -1
  67. data/lib/phlex/icons/tabler/device_watch.rb +13 -1
  68. data/lib/phlex/icons/tabler/directions.rb +13 -1
  69. data/lib/phlex/icons/tabler/disc.rb +13 -1
  70. data/lib/phlex/icons/tabler/discount.rb +13 -1
  71. data/lib/phlex/icons/tabler/egg_cracked.rb +11 -1
  72. data/lib/phlex/icons/tabler/elevator.rb +13 -1
  73. data/lib/phlex/icons/tabler/feather.rb +17 -1
  74. data/lib/phlex/icons/tabler/flower.rb +11 -1
  75. data/lib/phlex/icons/tabler/glass.rb +13 -1
  76. data/lib/phlex/icons/tabler/melon.rb +11 -1
  77. data/lib/phlex/icons/tabler/meteor.rb +13 -1
  78. data/lib/phlex/icons/tabler/michelin_star.rb +11 -1
  79. data/lib/phlex/icons/tabler/milk.rb +11 -1
  80. data/lib/phlex/icons/tabler/mountain.rb +13 -1
  81. data/lib/phlex/icons/tabler/mug.rb +11 -1
  82. data/lib/phlex/icons/tabler/pizza.rb +13 -1
  83. data/lib/phlex/icons/tabler/salad.rb +11 -1
  84. data/lib/phlex/icons/tabler/seeding.rb +13 -1
  85. data/lib/phlex/icons/tabler.rb +2 -0
  86. data/lib/phlex/icons/version.rb +1 -1
  87. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: '09fa0ce4f20b0720609a5cf06d9ae73051228948b1b0b121dcc20860fde967eb'
4
- data.tar.gz: 72dcd52b9ea115d4da9cdba1dfb651e82b0a2fc39633c33ff209d57b2bcb2e6b
3
+ metadata.gz: c41b94a458ddfc1866c719df80a0dd2460fd98406f64975b561b67d388c59e71
4
+ data.tar.gz: e21a82af45fb67184dcbee83f118fb40c2e11dc01e4deb48be76254575f0ab48
5
5
  SHA512:
6
- metadata.gz: 82420a6bd4d13a091950f6efc72c838307f25aade4419ae39184935a6074c8f2aabd44e0841ae58ecafd90654efbc06c14f16c0092ce11501d304bbc62d28c3e
7
- data.tar.gz: eea49d519d32239d4153c28c729d312de2a9683756b8be68812843fa2a60bdce3af5a05985a0fc2f9dde10c7a729a8e865d64d77b3ae5a8848901af18e69b425
6
+ metadata.gz: f67091baa31d6a7b6611e631d7dbe634fa6c26841e8264d953ee42b2c683a60c9683a64e2d89f08f6adfe3c93802982f7f7ce94a3e22f63c77a5750cfa2150e1
7
+ data.tar.gz: 69d3a3d5edcfe44abfd1dc16b8e1b534b2c8ed145521ae3b3ec3e8326ecdacc44c8774e61e1ed7a9b0b0dfdca7a8037a1a207958c238bc9619c2452c2061e18e
data/README.md CHANGED
@@ -124,7 +124,7 @@ Phlex::Icons::Tabler.configuration.default_variant = :outline # or :filled
124
124
  ### With `Phlex::Kit`
125
125
 
126
126
  ```ruby
127
- require 'phlex-icons'
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
130
  include Phlex::Icons
@@ -146,7 +146,7 @@ end
146
146
  ### Without `Phlex::Kit`
147
147
 
148
148
  ```ruby
149
- require 'phlex-icons'
149
+ require 'phlex-icons' # No need to require the gem if you are using it in a Rails application.
150
150
 
151
151
  class PhlexIcons < Phlex::HTML
152
152
  def view_template
@@ -172,8 +172,8 @@ Let's say you want to use only Heroicons and Flag Icons, you can use the followi
172
172
  Then, in your application, you can use the icons like this:
173
173
 
174
174
  ```ruby
175
- require 'phlex-icons-flag'
176
- require 'phlex-icons-hero'
175
+ require 'phlex-icons-flag' # No need to require the gem if you are using it in a Rails application.
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
179
  include Phlex::Icons # If you want to use Phlex::Kit.
@@ -230,7 +230,7 @@ Now, you can use your custom icons like any other icon pack as described above.
230
230
 
231
231
  ## Update icon packs
232
232
 
233
- All icon packs provided in this gem are auto-generated by their generator under [`generators`](/generators) directory. You just need to clone the repo and run the generator for the icon pack you want to update. In future, I'm planning to add GitHub Actions to automatically generate the icon packs and update the gem.
233
+ All icon packs provided in this gem are auto-generated by their generator under [`generators`](/generators) directory. You just need to clone the repo and run the generator for the icon pack you want to update. Also, there is a GitHub Action that will run the generator for all icon packs and update the gem weekly on each Friday.
234
234
 
235
235
  ## Development
236
236
 
@@ -4,6 +4,7 @@ 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'
7
8
  ICONS_PACK_PATH = 'lib/phlex/icons/bootstrap'
8
9
 
9
10
  TEMPLATE = ERB.new <<~TEMPLATE
@@ -39,7 +40,12 @@ REPLACEMENTS = {
39
40
  }.freeze
40
41
 
41
42
  def main
42
- run_generator { icon_file_paths.tqdm.each { create_icon_component(_1) } }
43
+ run_generator do
44
+ new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
45
+ update_icon_path_version(new_version)
46
+
47
+ icon_file_paths.tqdm.each { create_icon_component(_1) }
48
+ end
43
49
  end
44
50
 
45
51
  def icon_file_paths
data/generators/flag.rb CHANGED
@@ -4,6 +4,7 @@ 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'
7
8
  ICONS_PACK_PATH = 'lib/phlex/icons/flag'
8
9
 
9
10
  TEMPLATE = ERB.new <<~TEMPLATE
@@ -29,7 +30,12 @@ TEMPLATE = ERB.new <<~TEMPLATE
29
30
  TEMPLATE
30
31
 
31
32
  def main
32
- run_generator { icon_file_names.tqdm.each { create_icon_component(_1) } }
33
+ run_generator do
34
+ new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
35
+ update_icon_path_version(new_version)
36
+
37
+ icon_file_names.tqdm.each { create_icon_component(_1) }
38
+ end
33
39
  end
34
40
 
35
41
  def icon_file_names
data/generators/helper.rb CHANGED
@@ -55,6 +55,12 @@ def prepare_phlex_icons_pack_directory(icons_pack_path)
55
55
  puts "\e[2K\r🎉 '#{icons_pack_path}' directory prepared successfully!"
56
56
  end
57
57
 
58
+ def update_icon_path_version(new_version)
59
+ content = File.read(ICONS_PACK_MODULE_PATH)
60
+ updated_content = content.sub(/VERSION = '.*'/, "VERSION = '#{new_version}'")
61
+ File.write(ICONS_PACK_MODULE_PATH, updated_content)
62
+ end
63
+
58
64
  def component_file_name(icon_file_name, replacements = nil)
59
65
  replacements ||= {}
60
66
 
data/generators/hero.rb CHANGED
@@ -4,6 +4,7 @@ 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'
7
8
  ICONS_PACK_PATH = 'lib/phlex/icons/hero'
8
9
 
9
10
  TEMPLATE = ERB.new <<~TEMPLATE
@@ -29,7 +30,12 @@ TEMPLATE = ERB.new <<~TEMPLATE
29
30
  TEMPLATE
30
31
 
31
32
  def main
32
- run_generator { icon_file_names.tqdm.each { create_icon_component(_1) } }
33
+ run_generator do
34
+ new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
35
+ update_icon_path_version(new_version)
36
+
37
+ icon_file_names.tqdm.each { create_icon_component(_1) }
38
+ end
33
39
  end
34
40
 
35
41
  def icon_file_names
data/generators/lucide.rb CHANGED
@@ -4,6 +4,7 @@ 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'
7
8
  ICONS_PACK_PATH = 'lib/phlex/icons/lucide'
8
9
 
9
10
  TEMPLATE = ERB.new <<~TEMPLATE
@@ -25,7 +26,15 @@ TEMPLATE = ERB.new <<~TEMPLATE
25
26
  TEMPLATE
26
27
 
27
28
  def main
28
- run_generator { icon_file_paths.tqdm.each { create_icon_component(_1) } }
29
+ run_generator do
30
+ cd_command = "cd generators/#{REPO_NAME}"
31
+ safe_directory_command = "git config --global --add safe.directory '*'"
32
+ get_latest_tag_command = 'git describe --tags --abbrev=0'
33
+ new_version = `#{cd_command} && #{safe_directory_command} && #{get_latest_tag_command}`.strip
34
+ update_icon_path_version(new_version)
35
+
36
+ icon_file_paths.tqdm.each { create_icon_component(_1) }
37
+ end
29
38
  end
30
39
 
31
40
  def icon_file_paths
data/generators/radix.rb CHANGED
@@ -2,8 +2,9 @@
2
2
 
3
3
  require_relative 'helper'
4
4
 
5
- REPO_URL = 'https://github.com/radix-ui/icons'
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'
7
8
  ICONS_PACK_PATH = 'lib/phlex/icons/radix'
8
9
 
9
10
  TEMPLATE = ERB.new <<~TEMPLATE
@@ -25,7 +26,12 @@ TEMPLATE = ERB.new <<~TEMPLATE
25
26
  TEMPLATE
26
27
 
27
28
  def main
28
- run_generator { icon_file_paths.tqdm.each { create_icon_component(_1) } }
29
+ run_generator do
30
+ new_version = JSON.parse(File.read("generators/#{REPO_NAME}/packages/radix-icons/package.json"))['version']
31
+ update_icon_path_version(new_version)
32
+
33
+ icon_file_paths.tqdm.each { create_icon_component(_1) }
34
+ end
29
35
  end
30
36
 
31
37
  def icon_file_paths
data/generators/remix.rb CHANGED
@@ -4,6 +4,7 @@ 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'
7
8
  ICONS_PACK_PATH = 'lib/phlex/icons/remix'
8
9
 
9
10
  TEMPLATE = ERB.new <<~TEMPLATE
@@ -30,7 +31,12 @@ REPLACEMENTS = {
30
31
  }.freeze
31
32
 
32
33
  def main
33
- run_generator { icon_file_paths.tqdm.each { create_icon_component(_1) } }
34
+ run_generator do
35
+ new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
36
+ update_icon_path_version(new_version)
37
+
38
+ icon_file_paths.tqdm.each { create_icon_component(_1) }
39
+ end
34
40
  end
35
41
 
36
42
  def icon_file_paths
data/generators/tabler.rb CHANGED
@@ -4,6 +4,7 @@ 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'
7
8
  ICONS_PACK_PATH = 'lib/phlex/icons/tabler'
8
9
 
9
10
  TEMPLATE = ERB.new <<~TEMPLATE
@@ -29,7 +30,12 @@ TEMPLATE = ERB.new <<~TEMPLATE
29
30
  TEMPLATE
30
31
 
31
32
  def main
32
- run_generator { icon_file_names.tqdm.each { create_icon_component(_1) } }
33
+ run_generator do
34
+ new_version = JSON.parse(File.read("generators/#{REPO_NAME}/package.json"))['version']
35
+ update_icon_path_version(new_version)
36
+
37
+ icon_file_names.tqdm.each { create_icon_component(_1) }
38
+ end
33
39
  end
34
40
 
35
41
  def icon_file_names
@@ -6,7 +6,17 @@ module Phlex
6
6
  module Tabler
7
7
  class Apple < Base
8
8
  def filled
9
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M15 2a1 1 0 0 1 .117 1.993l-.117 .007c-.693 0 -1.33 .694 -1.691 1.552a5.1 5.1 0 0 1 1.982 -.544l.265 -.008c2.982 0 5.444 3.053 5.444 6.32c0 3.547 -.606 5.862 -2.423 8.578c-1.692 2.251 -4.092 2.753 -6.41 1.234a.31 .31 0 0 0 -.317 -.01c-2.335 1.528 -4.735 1.027 -6.46 -1.27c-1.783 -2.668 -2.39 -4.984 -2.39 -8.532l.004 -.222c.108 -3.181 2.526 -6.098 5.44 -6.098c.94 0 1.852 .291 2.688 .792c.419 -1.95 1.818 -3.792 3.868 -3.792m-7.034 6.154c-1.36 .858 -1.966 2.06 -1.966 3.846a1 1 0 0 0 2 0c0 -1.125 .28 -1.678 1.034 -2.154a1 1 0 1 0 -1.068 -1.692'
18
+ )
19
+ end
10
20
  end
11
21
 
12
22
  def outline
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowDownCircle < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M12 2a3 3 0 0 1 1 5.829v10.755l1.293 -1.291a1 1 0 0 1 1.32 -.083l.094 .083a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1 -.112 .097l-.11 .071l-.114 .054l-.105 .035l-.149 .03l-.117 .006l-.075 -.003l-.126 -.017l-.111 -.03l-.111 -.044l-.098 -.052l-.096 -.067l-.09 -.08l-3 -3a1 1 0 0 1 1.414 -1.414l1.293 1.293v-10.757a3.001 3.001 0 0 1 1 -5.829'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowDownRhombus < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M12.707 2.293l2.5 2.5a1 1 0 0 1 0 1.414l-2.207 2.207v10.17l1.293 -1.291a1 1 0 0 1 1.32 -.083l.094 .083a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1 -.112 .097l-.11 .071l-.114 .054l-.105 .035l-.149 .03l-.117 .006l-.075 -.003l-.126 -.017l-.111 -.03l-.111 -.044l-.098 -.052l-.096 -.067l-.09 -.08l-3 -3a1 1 0 0 1 1.414 -1.414l1.293 1.293v-10.171l-2.207 -2.208a1 1 0 0 1 0 -1.414l2.5 -2.5a1 1 0 0 1 1.414 0'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowDownSquare < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M14 2a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-1v10.584l1.293 -1.291a1 1 0 0 1 1.32 -.083l.094 .083a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1 -.112 .097l-.11 .071l-.114 .054l-.105 .035l-.149 .03l-.117 .006l-.075 -.003l-.126 -.017l-.111 -.03l-.111 -.044l-.098 -.052l-.096 -.067l-.09 -.08l-3 -3a1 1 0 0 1 1.414 -1.414l1.293 1.293v-10.586h-1a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1z'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowGuide < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M18.707 3.293l3 3q .054 .053 .097 .112l.071 .11l.054 .114l.035 .105l.03 .148l.006 .118l-.003 .075l-.017 .126l-.03 .111l-.044 .111l-.052 .098l-.067 .096l-.08 .09l-3 3a1 1 0 0 1 -1.414 -1.414l1.292 -1.293h-4.585a1 1 0 0 0 -1 1v8a3 3 0 0 1 -3 3h-2.171a3.001 3.001 0 0 1 -5.829 -1l.005 -.176a3 3 0 0 1 5.825 -.824h2.17a1 1 0 0 0 1 -1v-8a3 3 0 0 1 3 -3h4.585l-1.292 -1.293a1 1 0 0 1 -.083 -1.32l.083 -.094a1 1 0 0 1 1.414 0'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowLeftCircle < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M6.707 8.293a1 1 0 0 1 0 1.414l-1.292 1.293h10.756a3.001 3.001 0 1 1 0 2h-10.756l1.292 1.293a1 1 0 0 1 .083 1.32l-.083 .094a1 1 0 0 1 -1.414 0l-3 -3a1 1 0 0 1 -.097 -.112l-.071 -.11l-.054 -.114l-.035 -.105l-.025 -.118l-.007 -.058l-.004 -.09l.003 -.075l.017 -.126l.03 -.111l.044 -.111l.052 -.098l.067 -.096l.08 -.09l3 -3a1 1 0 0 1 1.414 0'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowLeftRhombus < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M6.707 8.293a1 1 0 0 1 0 1.414l-1.292 1.293h10.169l2.209 -2.207a1 1 0 0 1 1.414 0l2.5 2.5a1 1 0 0 1 0 1.414l-2.5 2.5a1 1 0 0 1 -1.414 0l-2.208 -2.207h-10.17l1.292 1.293a1 1 0 0 1 .083 1.32l-.083 .094a1 1 0 0 1 -1.414 0l-3 -3a1 1 0 0 1 -.097 -.112l-.071 -.11l-.054 -.114l-.035 -.105l-.025 -.118l-.007 -.058l-.004 -.09l.003 -.075l.017 -.126l.03 -.111l.044 -.111l.052 -.098l.067 -.096l.08 -.09l3 -3a1 1 0 0 1 1.414 0'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowLeftSquare < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M6.707 8.293a1 1 0 0 1 0 1.414l-1.292 1.293h10.585v-1a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v4a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-1h-10.585l1.292 1.293a1 1 0 0 1 .083 1.32l-.083 .094a1 1 0 0 1 -1.414 0l-3 -3a1 1 0 0 1 -.097 -.112l-.071 -.11l-.054 -.114l-.035 -.105l-.025 -.118l-.007 -.058l-.004 -.09l.003 -.075l.017 -.126l.03 -.111l.044 -.111l.052 -.098l.067 -.096l.08 -.09l3 -3a1 1 0 0 1 1.414 0'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowMoveDown < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M12 10a1 1 0 0 1 1 1v7.584l1.293 -1.291a1 1 0 0 1 1.32 -.083l.094 .083a1 1 0 0 1 0 1.414l-3 3a1 1 0 0 1 -.112 .097l-.11 .071l-.114 .054l-.105 .035l-.149 .03l-.117 .006l-.075 -.003l-.126 -.017l-.111 -.03l-.111 -.044l-.098 -.052l-.096 -.067l-.09 -.08l-3 -3a1 1 0 0 1 1.414 -1.414l1.293 1.293v-7.586a1 1 0 0 1 1 -1m0 -8a3 3 0 1 1 -3 3l.005 -.176a3 3 0 0 1 2.995 -2.824'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowMoveLeft < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M6.707 8.293a1 1 0 0 1 0 1.414l-1.292 1.293h7.585a1 1 0 0 1 0 2h-7.585l1.292 1.293a1 1 0 0 1 .083 1.32l-.083 .094a1 1 0 0 1 -1.414 0l-3 -3a1 1 0 0 1 -.097 -.112l-.071 -.11l-.054 -.114l-.035 -.105l-.025 -.118l-.007 -.058l-.004 -.09l.003 -.075l.017 -.126l.03 -.111l.044 -.111l.052 -.098l.067 -.096l.08 -.09l3 -3a1 1 0 0 1 1.414 0m12.293 .707a3 3 0 1 1 0 6a3 3 0 0 1 0 -6'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowMoveRight < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M18.707 8.293l3 3q .054 .053 .097 .112l.071 .11l.054 .114l.035 .105l.03 .148l.006 .118l-.003 .075l-.017 .126l-.03 .111l-.044 .111l-.052 .098l-.074 .104l-.073 .082l-3 3a1 1 0 0 1 -1.414 -1.414l1.292 -1.293h-7.585a1 1 0 0 1 0 -2h7.585l-1.292 -1.293a1 1 0 0 1 -.083 -1.32l.083 -.094a1 1 0 0 1 1.414 0m-13.707 .707a3 3 0 1 1 0 6a3 3 0 0 1 0 -6'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,23 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowMoveUp < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M11.852 2.011l.058 -.007l.09 -.004l.075 .003l.126 .017l.111 .03l.111 .044l.098 .052l.104 .074l.082 .073l3 3a1 1 0 1 1 -1.414 1.414l-1.293 -1.292v7.585a1 1 0 0 1 -2 0v-7.585l-1.293 1.292a1 1 0 0 1 -1.32 .083l-.094 -.083a1 1 0 0 1 0 -1.414l3 -3q .053 -.054 .112 -.097l.11 -.071l.114 -.054l.105 -.035z'
18
+ )
19
+ s.path(d: 'M12 16a3 3 0 1 1 0 6a3 3 0 0 1 0 -6')
20
+ end
9
21
  end
10
22
 
11
23
  def outline
@@ -28,3 +40,4 @@ module Phlex
28
40
  end
29
41
  end
30
42
  end
43
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowRightCircle < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M5 15a3 3 0 0 1 -3 -3l.005 -.176a3 3 0 0 1 5.825 -.824h10.756l-1.292 -1.293a1 1 0 0 1 -.083 -1.32l.083 -.094a1 1 0 0 1 1.414 0l3 3l.097 .112l.071 .11l.031 .062l.034 .081l.024 .076l.03 .148l.005 .118l-.004 .085l-.016 .116l-.03 .111l-.044 .111l-.052 .098l-.074 .104l-.073 .082l-3 3a1 1 0 0 1 -1.414 -1.414l1.292 -1.293h-10.756a3 3 0 0 1 -2.829 2'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowRightRhombus < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M18.707 8.293l3 3l.097 .112l.071 .11l.031 .062l.034 .081l.024 .076l.03 .148l.006 .118l-.004 .085l-.016 .116l-.03 .111l-.044 .111l-.052 .098l-.074 .104l-.073 .082l-3 3a1 1 0 0 1 -1.414 -1.414l1.292 -1.293h-10.171l-2.207 2.207a1 1 0 0 1 -1.414 0l-2.5 -2.5a1 1 0 0 1 0 -1.414l2.5 -2.5a1 1 0 0 1 1.414 0l2.208 2.207h10.17l-1.292 -1.293a1 1 0 0 1 -.083 -1.32l.083 -.094a1 1 0 0 1 1.414 0'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength
@@ -1,11 +1,22 @@
1
1
  # frozen_string_literal: true
2
2
 
3
+ # rubocop:disable Layout/LineLength
3
4
  module Phlex
4
5
  module Icons
5
6
  module Tabler
6
7
  class ArrowRightSquare < Base
7
8
  def filled
8
- raise NotImplementedError
9
+ svg(
10
+ class: classes,
11
+ xmlns: 'http://www.w3.org/2000/svg',
12
+ viewbox: '0 0 24 24',
13
+ fill: 'currentColor'
14
+ ) do |s|
15
+ s.path(
16
+ d:
17
+ 'M18.707 8.293l3 3q .054 .053 .097 .112l.071 .11l.054 .114l.035 .105l.03 .148l.006 .118l-.003 .075l-.017 .126l-.03 .111l-.044 .111l-.052 .098l-.074 .104l-.073 .082l-3 3a1 1 0 0 1 -1.414 -1.414l1.292 -1.293h-10.585v1a1 1 0 0 1 -1 1h-4a1 1 0 0 1 -1 -1v-4a1 1 0 0 1 1 -1h4a1 1 0 0 1 1 1v1h10.585l-1.292 -1.293a1 1 0 0 1 -.083 -1.32l.083 -.094a1 1 0 0 1 1.414 0'
18
+ )
19
+ end
9
20
  end
10
21
 
11
22
  def outline
@@ -28,3 +39,4 @@ module Phlex
28
39
  end
29
40
  end
30
41
  end
42
+ # rubocop:enable Layout/LineLength