phlex-icons-radix 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 (659) 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/radix/accessibility.rb +26 -0
  14. data/lib/phlex-icons/radix/activity_log.rb +26 -0
  15. data/lib/phlex-icons/radix/align_baseline.rb +26 -0
  16. data/lib/phlex-icons/radix/align_bottom.rb +26 -0
  17. data/lib/phlex-icons/radix/align_center_horizontally.rb +26 -0
  18. data/lib/phlex-icons/radix/align_center_vertically.rb +26 -0
  19. data/lib/phlex-icons/radix/align_left.rb +26 -0
  20. data/lib/phlex-icons/radix/align_right.rb +26 -0
  21. data/lib/phlex-icons/radix/align_top.rb +26 -0
  22. data/lib/phlex-icons/radix/all_sides.rb +26 -0
  23. data/lib/phlex-icons/radix/angle.rb +26 -0
  24. data/lib/phlex-icons/radix/archive.rb +26 -0
  25. data/lib/phlex-icons/radix/arrow_bottom_left.rb +26 -0
  26. data/lib/phlex-icons/radix/arrow_bottom_right.rb +26 -0
  27. data/lib/phlex-icons/radix/arrow_down.rb +26 -0
  28. data/lib/phlex-icons/radix/arrow_left.rb +26 -0
  29. data/lib/phlex-icons/radix/arrow_right.rb +26 -0
  30. data/lib/phlex-icons/radix/arrow_top_left.rb +26 -0
  31. data/lib/phlex-icons/radix/arrow_top_right.rb +26 -0
  32. data/lib/phlex-icons/radix/arrow_up.rb +26 -0
  33. data/lib/phlex-icons/radix/aspect_ratio.rb +26 -0
  34. data/lib/phlex-icons/radix/avatar.rb +26 -0
  35. data/lib/phlex-icons/radix/backpack.rb +26 -0
  36. data/lib/phlex-icons/radix/badge.rb +26 -0
  37. data/lib/phlex-icons/radix/bar_chart.rb +26 -0
  38. data/lib/phlex-icons/radix/base.rb +15 -0
  39. data/lib/phlex-icons/radix/bell.rb +26 -0
  40. data/lib/phlex-icons/radix/blending_mode.rb +26 -0
  41. data/lib/phlex-icons/radix/bookmark.rb +26 -0
  42. data/lib/phlex-icons/radix/bookmark_filled.rb +26 -0
  43. data/lib/phlex-icons/radix/border_all.rb +98 -0
  44. data/lib/phlex-icons/radix/border_bottom.rb +233 -0
  45. data/lib/phlex-icons/radix/border_dashed.rb +26 -0
  46. data/lib/phlex-icons/radix/border_dotted.rb +26 -0
  47. data/lib/phlex-icons/radix/border_left.rb +259 -0
  48. data/lib/phlex-icons/radix/border_none.rb +283 -0
  49. data/lib/phlex-icons/radix/border_right.rb +207 -0
  50. data/lib/phlex-icons/radix/border_solid.rb +26 -0
  51. data/lib/phlex-icons/radix/border_split.rb +130 -0
  52. data/lib/phlex-icons/radix/border_style.rb +26 -0
  53. data/lib/phlex-icons/radix/border_top.rb +259 -0
  54. data/lib/phlex-icons/radix/border_width.rb +23 -0
  55. data/lib/phlex-icons/radix/box.rb +26 -0
  56. data/lib/phlex-icons/radix/box_model.rb +26 -0
  57. data/lib/phlex-icons/radix/button.rb +26 -0
  58. data/lib/phlex-icons/radix/calendar.rb +26 -0
  59. data/lib/phlex-icons/radix/camera.rb +26 -0
  60. data/lib/phlex-icons/radix/card_stack.rb +26 -0
  61. data/lib/phlex-icons/radix/card_stack_minus.rb +26 -0
  62. data/lib/phlex-icons/radix/card_stack_plus.rb +26 -0
  63. data/lib/phlex-icons/radix/caret_down.rb +26 -0
  64. data/lib/phlex-icons/radix/caret_left.rb +26 -0
  65. data/lib/phlex-icons/radix/caret_right.rb +26 -0
  66. data/lib/phlex-icons/radix/caret_sort.rb +26 -0
  67. data/lib/phlex-icons/radix/caret_up.rb +26 -0
  68. data/lib/phlex-icons/radix/chat_bubble.rb +26 -0
  69. data/lib/phlex-icons/radix/check.rb +26 -0
  70. data/lib/phlex-icons/radix/check_circled.rb +26 -0
  71. data/lib/phlex-icons/radix/checkbox.rb +26 -0
  72. data/lib/phlex-icons/radix/chevron_down.rb +26 -0
  73. data/lib/phlex-icons/radix/chevron_left.rb +26 -0
  74. data/lib/phlex-icons/radix/chevron_right.rb +26 -0
  75. data/lib/phlex-icons/radix/chevron_up.rb +26 -0
  76. data/lib/phlex-icons/radix/circle.rb +26 -0
  77. data/lib/phlex-icons/radix/circle_backslash.rb +26 -0
  78. data/lib/phlex-icons/radix/clipboard.rb +26 -0
  79. data/lib/phlex-icons/radix/clipboard_copy.rb +26 -0
  80. data/lib/phlex-icons/radix/clock.rb +26 -0
  81. data/lib/phlex-icons/radix/code.rb +26 -0
  82. data/lib/phlex-icons/radix/codesandbox_logo.rb +26 -0
  83. data/lib/phlex-icons/radix/color_wheel.rb +26 -0
  84. data/lib/phlex-icons/radix/column_spacing.rb +26 -0
  85. data/lib/phlex-icons/radix/columns.rb +26 -0
  86. data/lib/phlex-icons/radix/commit.rb +26 -0
  87. data/lib/phlex-icons/radix/component_1.rb +26 -0
  88. data/lib/phlex-icons/radix/component_2.rb +26 -0
  89. data/lib/phlex-icons/radix/component_boolean.rb +26 -0
  90. data/lib/phlex-icons/radix/component_instance.rb +26 -0
  91. data/lib/phlex-icons/radix/component_none.rb +26 -0
  92. data/lib/phlex-icons/radix/component_placeholder.rb +31 -0
  93. data/lib/phlex-icons/radix/container.rb +26 -0
  94. data/lib/phlex-icons/radix/cookie.rb +26 -0
  95. data/lib/phlex-icons/radix/copy.rb +26 -0
  96. data/lib/phlex-icons/radix/corner_bottom_left.rb +26 -0
  97. data/lib/phlex-icons/radix/corner_bottom_right.rb +26 -0
  98. data/lib/phlex-icons/radix/corner_top_left.rb +26 -0
  99. data/lib/phlex-icons/radix/corner_top_right.rb +26 -0
  100. data/lib/phlex-icons/radix/corners.rb +26 -0
  101. data/lib/phlex-icons/radix/countdown_timer.rb +26 -0
  102. data/lib/phlex-icons/radix/counter_clockwise_clock.rb +26 -0
  103. data/lib/phlex-icons/radix/crop.rb +26 -0
  104. data/lib/phlex-icons/radix/cross_1.rb +26 -0
  105. data/lib/phlex-icons/radix/cross_2.rb +26 -0
  106. data/lib/phlex-icons/radix/cross_circled.rb +26 -0
  107. data/lib/phlex-icons/radix/crosshair_1.rb +26 -0
  108. data/lib/phlex-icons/radix/crosshair_2.rb +26 -0
  109. data/lib/phlex-icons/radix/crumpled_paper.rb +26 -0
  110. data/lib/phlex-icons/radix/cube.rb +26 -0
  111. data/lib/phlex-icons/radix/cursor_arrow.rb +26 -0
  112. data/lib/phlex-icons/radix/cursor_text.rb +26 -0
  113. data/lib/phlex-icons/radix/dash.rb +26 -0
  114. data/lib/phlex-icons/radix/dashboard.rb +26 -0
  115. data/lib/phlex-icons/radix/desktop.rb +26 -0
  116. data/lib/phlex-icons/radix/dimensions.rb +26 -0
  117. data/lib/phlex-icons/radix/disc.rb +26 -0
  118. data/lib/phlex-icons/radix/discord_logo.rb +26 -0
  119. data/lib/phlex-icons/radix/divider_horizontal.rb +26 -0
  120. data/lib/phlex-icons/radix/divider_vertical.rb +26 -0
  121. data/lib/phlex-icons/radix/dot.rb +26 -0
  122. data/lib/phlex-icons/radix/dot_filled.rb +24 -0
  123. data/lib/phlex-icons/radix/dots_horizontal.rb +26 -0
  124. data/lib/phlex-icons/radix/dots_vertical.rb +26 -0
  125. data/lib/phlex-icons/radix/double_arrow_down.rb +26 -0
  126. data/lib/phlex-icons/radix/double_arrow_left.rb +26 -0
  127. data/lib/phlex-icons/radix/double_arrow_right.rb +26 -0
  128. data/lib/phlex-icons/radix/double_arrow_up.rb +26 -0
  129. data/lib/phlex-icons/radix/download.rb +26 -0
  130. data/lib/phlex-icons/radix/drag_handle_dots_1.rb +43 -0
  131. data/lib/phlex-icons/radix/drag_handle_dots_2.rb +26 -0
  132. data/lib/phlex-icons/radix/drag_handle_horizontal.rb +26 -0
  133. data/lib/phlex-icons/radix/drag_handle_vertical.rb +26 -0
  134. data/lib/phlex-icons/radix/drawing_pin.rb +26 -0
  135. data/lib/phlex-icons/radix/drawing_pin_filled.rb +33 -0
  136. data/lib/phlex-icons/radix/dropdown_menu.rb +26 -0
  137. data/lib/phlex-icons/radix/enter.rb +26 -0
  138. data/lib/phlex-icons/radix/enter_full_screen.rb +26 -0
  139. data/lib/phlex-icons/radix/envelope_closed.rb +26 -0
  140. data/lib/phlex-icons/radix/envelope_open.rb +26 -0
  141. data/lib/phlex-icons/radix/eraser.rb +26 -0
  142. data/lib/phlex-icons/radix/exclamation_triangle.rb +26 -0
  143. data/lib/phlex-icons/radix/exit.rb +26 -0
  144. data/lib/phlex-icons/radix/exit_full_screen.rb +26 -0
  145. data/lib/phlex-icons/radix/external_link.rb +26 -0
  146. data/lib/phlex-icons/radix/eye_closed.rb +26 -0
  147. data/lib/phlex-icons/radix/eye_none.rb +26 -0
  148. data/lib/phlex-icons/radix/eye_open.rb +26 -0
  149. data/lib/phlex-icons/radix/face.rb +26 -0
  150. data/lib/phlex-icons/radix/figma_logo.rb +26 -0
  151. data/lib/phlex-icons/radix/file.rb +26 -0
  152. data/lib/phlex-icons/radix/file_minus.rb +26 -0
  153. data/lib/phlex-icons/radix/file_plus.rb +26 -0
  154. data/lib/phlex-icons/radix/file_text.rb +26 -0
  155. data/lib/phlex-icons/radix/font_bold.rb +24 -0
  156. data/lib/phlex-icons/radix/font_family.rb +24 -0
  157. data/lib/phlex-icons/radix/font_italic.rb +26 -0
  158. data/lib/phlex-icons/radix/font_roman.rb +26 -0
  159. data/lib/phlex-icons/radix/font_size.rb +26 -0
  160. data/lib/phlex-icons/radix/font_style.rb +26 -0
  161. data/lib/phlex-icons/radix/frame.rb +26 -0
  162. data/lib/phlex-icons/radix/framer_logo.rb +26 -0
  163. data/lib/phlex-icons/radix/gear.rb +26 -0
  164. data/lib/phlex-icons/radix/github_logo.rb +26 -0
  165. data/lib/phlex-icons/radix/globe.rb +46 -0
  166. data/lib/phlex-icons/radix/grid.rb +26 -0
  167. data/lib/phlex-icons/radix/group.rb +26 -0
  168. data/lib/phlex-icons/radix/half_1.rb +26 -0
  169. data/lib/phlex-icons/radix/half_2.rb +26 -0
  170. data/lib/phlex-icons/radix/hamburger_menu.rb +26 -0
  171. data/lib/phlex-icons/radix/hand.rb +26 -0
  172. data/lib/phlex-icons/radix/heading.rb +26 -0
  173. data/lib/phlex-icons/radix/heart.rb +26 -0
  174. data/lib/phlex-icons/radix/heart_filled.rb +26 -0
  175. data/lib/phlex-icons/radix/height.rb +26 -0
  176. data/lib/phlex-icons/radix/hobby_knife.rb +26 -0
  177. data/lib/phlex-icons/radix/home.rb +26 -0
  178. data/lib/phlex-icons/radix/iconjar_logo.rb +26 -0
  179. data/lib/phlex-icons/radix/id_card.rb +26 -0
  180. data/lib/phlex-icons/radix/image.rb +26 -0
  181. data/lib/phlex-icons/radix/info_circled.rb +26 -0
  182. data/lib/phlex-icons/radix/input.rb +26 -0
  183. data/lib/phlex-icons/radix/instagram_logo.rb +26 -0
  184. data/lib/phlex-icons/radix/keyboard.rb +26 -0
  185. data/lib/phlex-icons/radix/lap_timer.rb +26 -0
  186. data/lib/phlex-icons/radix/laptop.rb +26 -0
  187. data/lib/phlex-icons/radix/layers.rb +26 -0
  188. data/lib/phlex-icons/radix/layout.rb +26 -0
  189. data/lib/phlex-icons/radix/letter_case_capitalize.rb +26 -0
  190. data/lib/phlex-icons/radix/letter_case_lowercase.rb +26 -0
  191. data/lib/phlex-icons/radix/letter_case_toggle.rb +26 -0
  192. data/lib/phlex-icons/radix/letter_case_uppercase.rb +26 -0
  193. data/lib/phlex-icons/radix/letter_spacing.rb +26 -0
  194. data/lib/phlex-icons/radix/lightning_bolt.rb +26 -0
  195. data/lib/phlex-icons/radix/line_height.rb +26 -0
  196. data/lib/phlex-icons/radix/link_1.rb +26 -0
  197. data/lib/phlex-icons/radix/link_2.rb +26 -0
  198. data/lib/phlex-icons/radix/link_break_1.rb +26 -0
  199. data/lib/phlex-icons/radix/link_break_2.rb +26 -0
  200. data/lib/phlex-icons/radix/link_none_1.rb +26 -0
  201. data/lib/phlex-icons/radix/link_none_2.rb +26 -0
  202. data/lib/phlex-icons/radix/linkedin_logo.rb +26 -0
  203. data/lib/phlex-icons/radix/list_bullet.rb +26 -0
  204. data/lib/phlex-icons/radix/lock_closed.rb +26 -0
  205. data/lib/phlex-icons/radix/lock_open_1.rb +26 -0
  206. data/lib/phlex-icons/radix/lock_open_2.rb +26 -0
  207. data/lib/phlex-icons/radix/loop.rb +26 -0
  208. data/lib/phlex-icons/radix/magic_wand.rb +26 -0
  209. data/lib/phlex-icons/radix/magnifying_glass.rb +26 -0
  210. data/lib/phlex-icons/radix/margin.rb +26 -0
  211. data/lib/phlex-icons/radix/mask_off.rb +26 -0
  212. data/lib/phlex-icons/radix/mask_on.rb +26 -0
  213. data/lib/phlex-icons/radix/minus.rb +26 -0
  214. data/lib/phlex-icons/radix/minus_circled.rb +26 -0
  215. data/lib/phlex-icons/radix/mix.rb +26 -0
  216. data/lib/phlex-icons/radix/mixer_horizontal.rb +26 -0
  217. data/lib/phlex-icons/radix/mixer_vertical.rb +26 -0
  218. data/lib/phlex-icons/radix/mobile.rb +26 -0
  219. data/lib/phlex-icons/radix/modulz_logo.rb +26 -0
  220. data/lib/phlex-icons/radix/moon.rb +26 -0
  221. data/lib/phlex-icons/radix/move.rb +26 -0
  222. data/lib/phlex-icons/radix/notion_logo.rb +24 -0
  223. data/lib/phlex-icons/radix/opacity.rb +26 -0
  224. data/lib/phlex-icons/radix/open_in_new_window.rb +26 -0
  225. data/lib/phlex-icons/radix/overline.rb +26 -0
  226. data/lib/phlex-icons/radix/padding.rb +26 -0
  227. data/lib/phlex-icons/radix/paper_plane.rb +26 -0
  228. data/lib/phlex-icons/radix/pause.rb +26 -0
  229. data/lib/phlex-icons/radix/pencil_1.rb +26 -0
  230. data/lib/phlex-icons/radix/pencil_2.rb +26 -0
  231. data/lib/phlex-icons/radix/person.rb +26 -0
  232. data/lib/phlex-icons/radix/pie_chart.rb +26 -0
  233. data/lib/phlex-icons/radix/pilcrow.rb +26 -0
  234. data/lib/phlex-icons/radix/pin_bottom.rb +26 -0
  235. data/lib/phlex-icons/radix/pin_left.rb +26 -0
  236. data/lib/phlex-icons/radix/pin_right.rb +26 -0
  237. data/lib/phlex-icons/radix/pin_top.rb +26 -0
  238. data/lib/phlex-icons/radix/play.rb +26 -0
  239. data/lib/phlex-icons/radix/plus.rb +26 -0
  240. data/lib/phlex-icons/radix/plus_circled.rb +26 -0
  241. data/lib/phlex-icons/radix/question_mark.rb +26 -0
  242. data/lib/phlex-icons/radix/question_mark_circled.rb +26 -0
  243. data/lib/phlex-icons/radix/quote.rb +26 -0
  244. data/lib/phlex-icons/radix/radiobutton.rb +26 -0
  245. data/lib/phlex-icons/radix/reader.rb +26 -0
  246. data/lib/phlex-icons/radix/reload.rb +26 -0
  247. data/lib/phlex-icons/radix/reset.rb +26 -0
  248. data/lib/phlex-icons/radix/resume.rb +26 -0
  249. data/lib/phlex-icons/radix/rocket.rb +26 -0
  250. data/lib/phlex-icons/radix/rotate_counter_clockwise.rb +26 -0
  251. data/lib/phlex-icons/radix/row_spacing.rb +26 -0
  252. data/lib/phlex-icons/radix/rows.rb +26 -0
  253. data/lib/phlex-icons/radix/ruler_horizontal.rb +26 -0
  254. data/lib/phlex-icons/radix/ruler_square.rb +26 -0
  255. data/lib/phlex-icons/radix/scissors.rb +26 -0
  256. data/lib/phlex-icons/radix/section.rb +26 -0
  257. data/lib/phlex-icons/radix/sewing_pin.rb +26 -0
  258. data/lib/phlex-icons/radix/sewing_pin_filled.rb +26 -0
  259. data/lib/phlex-icons/radix/shadow.rb +106 -0
  260. data/lib/phlex-icons/radix/shadow_inner.rb +106 -0
  261. data/lib/phlex-icons/radix/shadow_none.rb +106 -0
  262. data/lib/phlex-icons/radix/shadow_outer.rb +66 -0
  263. data/lib/phlex-icons/radix/share_1.rb +26 -0
  264. data/lib/phlex-icons/radix/share_2.rb +26 -0
  265. data/lib/phlex-icons/radix/shuffle.rb +26 -0
  266. data/lib/phlex-icons/radix/size.rb +26 -0
  267. data/lib/phlex-icons/radix/sketch_logo.rb +26 -0
  268. data/lib/phlex-icons/radix/slash.rb +23 -0
  269. data/lib/phlex-icons/radix/slider.rb +26 -0
  270. data/lib/phlex-icons/radix/space_between_horizontally.rb +26 -0
  271. data/lib/phlex-icons/radix/space_between_vertically.rb +26 -0
  272. data/lib/phlex-icons/radix/space_evenly_horizontally.rb +26 -0
  273. data/lib/phlex-icons/radix/space_evenly_vertically.rb +26 -0
  274. data/lib/phlex-icons/radix/speaker_loud.rb +26 -0
  275. data/lib/phlex-icons/radix/speaker_moderate.rb +26 -0
  276. data/lib/phlex-icons/radix/speaker_off.rb +26 -0
  277. data/lib/phlex-icons/radix/speaker_quiet.rb +26 -0
  278. data/lib/phlex-icons/radix/square.rb +23 -0
  279. data/lib/phlex-icons/radix/stack.rb +26 -0
  280. data/lib/phlex-icons/radix/star.rb +26 -0
  281. data/lib/phlex-icons/radix/star_filled.rb +24 -0
  282. data/lib/phlex-icons/radix/stitches_logo.rb +26 -0
  283. data/lib/phlex-icons/radix/stop.rb +26 -0
  284. data/lib/phlex-icons/radix/stopwatch.rb +26 -0
  285. data/lib/phlex-icons/radix/stretch_horizontally.rb +26 -0
  286. data/lib/phlex-icons/radix/stretch_vertically.rb +26 -0
  287. data/lib/phlex-icons/radix/strikethrough.rb +26 -0
  288. data/lib/phlex-icons/radix/sun.rb +26 -0
  289. data/lib/phlex-icons/radix/switch.rb +26 -0
  290. data/lib/phlex-icons/radix/symbol.rb +26 -0
  291. data/lib/phlex-icons/radix/table.rb +26 -0
  292. data/lib/phlex-icons/radix/target.rb +26 -0
  293. data/lib/phlex-icons/radix/text.rb +26 -0
  294. data/lib/phlex-icons/radix/text_align_bottom.rb +26 -0
  295. data/lib/phlex-icons/radix/text_align_center.rb +26 -0
  296. data/lib/phlex-icons/radix/text_align_justify.rb +26 -0
  297. data/lib/phlex-icons/radix/text_align_left.rb +26 -0
  298. data/lib/phlex-icons/radix/text_align_middle.rb +26 -0
  299. data/lib/phlex-icons/radix/text_align_right.rb +26 -0
  300. data/lib/phlex-icons/radix/text_align_top.rb +26 -0
  301. data/lib/phlex-icons/radix/text_none.rb +26 -0
  302. data/lib/phlex-icons/radix/thick_arrow_down.rb +26 -0
  303. data/lib/phlex-icons/radix/thick_arrow_left.rb +26 -0
  304. data/lib/phlex-icons/radix/thick_arrow_right.rb +26 -0
  305. data/lib/phlex-icons/radix/thick_arrow_up.rb +26 -0
  306. data/lib/phlex-icons/radix/timer.rb +26 -0
  307. data/lib/phlex-icons/radix/tokens.rb +26 -0
  308. data/lib/phlex-icons/radix/track_next.rb +26 -0
  309. data/lib/phlex-icons/radix/track_previous.rb +26 -0
  310. data/lib/phlex-icons/radix/transform.rb +26 -0
  311. data/lib/phlex-icons/radix/transparency_grid.rb +27 -0
  312. data/lib/phlex-icons/radix/trash.rb +26 -0
  313. data/lib/phlex-icons/radix/triangle_down.rb +16 -0
  314. data/lib/phlex-icons/radix/triangle_left.rb +16 -0
  315. data/lib/phlex-icons/radix/triangle_right.rb +16 -0
  316. data/lib/phlex-icons/radix/triangle_up.rb +16 -0
  317. data/lib/phlex-icons/radix/twitter_logo.rb +26 -0
  318. data/lib/phlex-icons/radix/underline.rb +26 -0
  319. data/lib/phlex-icons/radix/update.rb +26 -0
  320. data/lib/phlex-icons/radix/upload.rb +26 -0
  321. data/lib/phlex-icons/radix/value.rb +26 -0
  322. data/lib/phlex-icons/radix/value_none.rb +26 -0
  323. data/lib/phlex-icons/radix/vercel_logo.rb +26 -0
  324. data/lib/phlex-icons/radix/video.rb +26 -0
  325. data/lib/phlex-icons/radix/view_grid.rb +26 -0
  326. data/lib/phlex-icons/radix/view_horizontal.rb +26 -0
  327. data/lib/phlex-icons/radix/view_none.rb +26 -0
  328. data/lib/phlex-icons/radix/view_vertical.rb +26 -0
  329. data/lib/phlex-icons/radix/width.rb +26 -0
  330. data/lib/phlex-icons/radix/zoom_in.rb +26 -0
  331. data/lib/phlex-icons/radix/zoom_out.rb +26 -0
  332. data/lib/phlex-icons/radix.rb +333 -0
  333. data/lib/phlex-icons/version.rb +5 -0
  334. data/lib/phlex-icons-radix.rb +11 -13
  335. data/sig/phlex/icons.rbs +3 -5
  336. metadata +325 -325
  337. data/lib/phlex/icons/base.rb +0 -20
  338. data/lib/phlex/icons/configuration.rb +0 -13
  339. data/lib/phlex/icons/radix/accessibility.rb +0 -28
  340. data/lib/phlex/icons/radix/activity_log.rb +0 -28
  341. data/lib/phlex/icons/radix/align_baseline.rb +0 -28
  342. data/lib/phlex/icons/radix/align_bottom.rb +0 -28
  343. data/lib/phlex/icons/radix/align_center_horizontally.rb +0 -28
  344. data/lib/phlex/icons/radix/align_center_vertically.rb +0 -28
  345. data/lib/phlex/icons/radix/align_left.rb +0 -28
  346. data/lib/phlex/icons/radix/align_right.rb +0 -28
  347. data/lib/phlex/icons/radix/align_top.rb +0 -28
  348. data/lib/phlex/icons/radix/all_sides.rb +0 -28
  349. data/lib/phlex/icons/radix/angle.rb +0 -28
  350. data/lib/phlex/icons/radix/archive.rb +0 -28
  351. data/lib/phlex/icons/radix/arrow_bottom_left.rb +0 -28
  352. data/lib/phlex/icons/radix/arrow_bottom_right.rb +0 -28
  353. data/lib/phlex/icons/radix/arrow_down.rb +0 -28
  354. data/lib/phlex/icons/radix/arrow_left.rb +0 -28
  355. data/lib/phlex/icons/radix/arrow_right.rb +0 -28
  356. data/lib/phlex/icons/radix/arrow_top_left.rb +0 -28
  357. data/lib/phlex/icons/radix/arrow_top_right.rb +0 -28
  358. data/lib/phlex/icons/radix/arrow_up.rb +0 -28
  359. data/lib/phlex/icons/radix/aspect_ratio.rb +0 -28
  360. data/lib/phlex/icons/radix/avatar.rb +0 -28
  361. data/lib/phlex/icons/radix/backpack.rb +0 -28
  362. data/lib/phlex/icons/radix/badge.rb +0 -28
  363. data/lib/phlex/icons/radix/bar_chart.rb +0 -28
  364. data/lib/phlex/icons/radix/base.rb +0 -17
  365. data/lib/phlex/icons/radix/bell.rb +0 -28
  366. data/lib/phlex/icons/radix/blending_mode.rb +0 -28
  367. data/lib/phlex/icons/radix/bookmark.rb +0 -28
  368. data/lib/phlex/icons/radix/bookmark_filled.rb +0 -28
  369. data/lib/phlex/icons/radix/border_all.rb +0 -100
  370. data/lib/phlex/icons/radix/border_bottom.rb +0 -235
  371. data/lib/phlex/icons/radix/border_dashed.rb +0 -28
  372. data/lib/phlex/icons/radix/border_dotted.rb +0 -28
  373. data/lib/phlex/icons/radix/border_left.rb +0 -261
  374. data/lib/phlex/icons/radix/border_none.rb +0 -285
  375. data/lib/phlex/icons/radix/border_right.rb +0 -209
  376. data/lib/phlex/icons/radix/border_solid.rb +0 -28
  377. data/lib/phlex/icons/radix/border_split.rb +0 -132
  378. data/lib/phlex/icons/radix/border_style.rb +0 -28
  379. data/lib/phlex/icons/radix/border_top.rb +0 -261
  380. data/lib/phlex/icons/radix/border_width.rb +0 -25
  381. data/lib/phlex/icons/radix/box.rb +0 -28
  382. data/lib/phlex/icons/radix/box_model.rb +0 -28
  383. data/lib/phlex/icons/radix/button.rb +0 -28
  384. data/lib/phlex/icons/radix/calendar.rb +0 -28
  385. data/lib/phlex/icons/radix/camera.rb +0 -28
  386. data/lib/phlex/icons/radix/card_stack.rb +0 -28
  387. data/lib/phlex/icons/radix/card_stack_minus.rb +0 -28
  388. data/lib/phlex/icons/radix/card_stack_plus.rb +0 -28
  389. data/lib/phlex/icons/radix/caret_down.rb +0 -28
  390. data/lib/phlex/icons/radix/caret_left.rb +0 -28
  391. data/lib/phlex/icons/radix/caret_right.rb +0 -28
  392. data/lib/phlex/icons/radix/caret_sort.rb +0 -28
  393. data/lib/phlex/icons/radix/caret_up.rb +0 -28
  394. data/lib/phlex/icons/radix/chat_bubble.rb +0 -28
  395. data/lib/phlex/icons/radix/check.rb +0 -28
  396. data/lib/phlex/icons/radix/check_circled.rb +0 -28
  397. data/lib/phlex/icons/radix/checkbox.rb +0 -28
  398. data/lib/phlex/icons/radix/chevron_down.rb +0 -28
  399. data/lib/phlex/icons/radix/chevron_left.rb +0 -28
  400. data/lib/phlex/icons/radix/chevron_right.rb +0 -28
  401. data/lib/phlex/icons/radix/chevron_up.rb +0 -28
  402. data/lib/phlex/icons/radix/circle.rb +0 -28
  403. data/lib/phlex/icons/radix/circle_backslash.rb +0 -28
  404. data/lib/phlex/icons/radix/clipboard.rb +0 -28
  405. data/lib/phlex/icons/radix/clipboard_copy.rb +0 -28
  406. data/lib/phlex/icons/radix/clock.rb +0 -28
  407. data/lib/phlex/icons/radix/code.rb +0 -28
  408. data/lib/phlex/icons/radix/codesandbox_logo.rb +0 -28
  409. data/lib/phlex/icons/radix/color_wheel.rb +0 -28
  410. data/lib/phlex/icons/radix/column_spacing.rb +0 -28
  411. data/lib/phlex/icons/radix/columns.rb +0 -28
  412. data/lib/phlex/icons/radix/commit.rb +0 -28
  413. data/lib/phlex/icons/radix/component_1.rb +0 -28
  414. data/lib/phlex/icons/radix/component_2.rb +0 -28
  415. data/lib/phlex/icons/radix/component_boolean.rb +0 -28
  416. data/lib/phlex/icons/radix/component_instance.rb +0 -28
  417. data/lib/phlex/icons/radix/component_none.rb +0 -28
  418. data/lib/phlex/icons/radix/component_placeholder.rb +0 -33
  419. data/lib/phlex/icons/radix/container.rb +0 -28
  420. data/lib/phlex/icons/radix/cookie.rb +0 -28
  421. data/lib/phlex/icons/radix/copy.rb +0 -28
  422. data/lib/phlex/icons/radix/corner_bottom_left.rb +0 -28
  423. data/lib/phlex/icons/radix/corner_bottom_right.rb +0 -28
  424. data/lib/phlex/icons/radix/corner_top_left.rb +0 -28
  425. data/lib/phlex/icons/radix/corner_top_right.rb +0 -28
  426. data/lib/phlex/icons/radix/corners.rb +0 -28
  427. data/lib/phlex/icons/radix/countdown_timer.rb +0 -28
  428. data/lib/phlex/icons/radix/counter_clockwise_clock.rb +0 -28
  429. data/lib/phlex/icons/radix/crop.rb +0 -28
  430. data/lib/phlex/icons/radix/cross_1.rb +0 -28
  431. data/lib/phlex/icons/radix/cross_2.rb +0 -28
  432. data/lib/phlex/icons/radix/cross_circled.rb +0 -28
  433. data/lib/phlex/icons/radix/crosshair_1.rb +0 -28
  434. data/lib/phlex/icons/radix/crosshair_2.rb +0 -28
  435. data/lib/phlex/icons/radix/crumpled_paper.rb +0 -28
  436. data/lib/phlex/icons/radix/cube.rb +0 -28
  437. data/lib/phlex/icons/radix/cursor_arrow.rb +0 -28
  438. data/lib/phlex/icons/radix/cursor_text.rb +0 -28
  439. data/lib/phlex/icons/radix/dash.rb +0 -28
  440. data/lib/phlex/icons/radix/dashboard.rb +0 -28
  441. data/lib/phlex/icons/radix/desktop.rb +0 -28
  442. data/lib/phlex/icons/radix/dimensions.rb +0 -28
  443. data/lib/phlex/icons/radix/disc.rb +0 -28
  444. data/lib/phlex/icons/radix/discord_logo.rb +0 -28
  445. data/lib/phlex/icons/radix/divider_horizontal.rb +0 -28
  446. data/lib/phlex/icons/radix/divider_vertical.rb +0 -28
  447. data/lib/phlex/icons/radix/dot.rb +0 -28
  448. data/lib/phlex/icons/radix/dot_filled.rb +0 -26
  449. data/lib/phlex/icons/radix/dots_horizontal.rb +0 -28
  450. data/lib/phlex/icons/radix/dots_vertical.rb +0 -28
  451. data/lib/phlex/icons/radix/double_arrow_down.rb +0 -28
  452. data/lib/phlex/icons/radix/double_arrow_left.rb +0 -28
  453. data/lib/phlex/icons/radix/double_arrow_right.rb +0 -28
  454. data/lib/phlex/icons/radix/double_arrow_up.rb +0 -28
  455. data/lib/phlex/icons/radix/download.rb +0 -28
  456. data/lib/phlex/icons/radix/drag_handle_dots_1.rb +0 -45
  457. data/lib/phlex/icons/radix/drag_handle_dots_2.rb +0 -28
  458. data/lib/phlex/icons/radix/drag_handle_horizontal.rb +0 -28
  459. data/lib/phlex/icons/radix/drag_handle_vertical.rb +0 -28
  460. data/lib/phlex/icons/radix/drawing_pin.rb +0 -28
  461. data/lib/phlex/icons/radix/drawing_pin_filled.rb +0 -35
  462. data/lib/phlex/icons/radix/dropdown_menu.rb +0 -28
  463. data/lib/phlex/icons/radix/enter.rb +0 -28
  464. data/lib/phlex/icons/radix/enter_full_screen.rb +0 -28
  465. data/lib/phlex/icons/radix/envelope_closed.rb +0 -28
  466. data/lib/phlex/icons/radix/envelope_open.rb +0 -28
  467. data/lib/phlex/icons/radix/eraser.rb +0 -28
  468. data/lib/phlex/icons/radix/exclamation_triangle.rb +0 -28
  469. data/lib/phlex/icons/radix/exit.rb +0 -28
  470. data/lib/phlex/icons/radix/exit_full_screen.rb +0 -28
  471. data/lib/phlex/icons/radix/external_link.rb +0 -28
  472. data/lib/phlex/icons/radix/eye_closed.rb +0 -28
  473. data/lib/phlex/icons/radix/eye_none.rb +0 -28
  474. data/lib/phlex/icons/radix/eye_open.rb +0 -28
  475. data/lib/phlex/icons/radix/face.rb +0 -28
  476. data/lib/phlex/icons/radix/figma_logo.rb +0 -28
  477. data/lib/phlex/icons/radix/file.rb +0 -28
  478. data/lib/phlex/icons/radix/file_minus.rb +0 -28
  479. data/lib/phlex/icons/radix/file_plus.rb +0 -28
  480. data/lib/phlex/icons/radix/file_text.rb +0 -28
  481. data/lib/phlex/icons/radix/font_bold.rb +0 -26
  482. data/lib/phlex/icons/radix/font_family.rb +0 -26
  483. data/lib/phlex/icons/radix/font_italic.rb +0 -28
  484. data/lib/phlex/icons/radix/font_roman.rb +0 -28
  485. data/lib/phlex/icons/radix/font_size.rb +0 -28
  486. data/lib/phlex/icons/radix/font_style.rb +0 -28
  487. data/lib/phlex/icons/radix/frame.rb +0 -28
  488. data/lib/phlex/icons/radix/framer_logo.rb +0 -28
  489. data/lib/phlex/icons/radix/gear.rb +0 -28
  490. data/lib/phlex/icons/radix/github_logo.rb +0 -28
  491. data/lib/phlex/icons/radix/globe.rb +0 -48
  492. data/lib/phlex/icons/radix/grid.rb +0 -28
  493. data/lib/phlex/icons/radix/group.rb +0 -28
  494. data/lib/phlex/icons/radix/half_1.rb +0 -28
  495. data/lib/phlex/icons/radix/half_2.rb +0 -28
  496. data/lib/phlex/icons/radix/hamburger_menu.rb +0 -28
  497. data/lib/phlex/icons/radix/hand.rb +0 -28
  498. data/lib/phlex/icons/radix/heading.rb +0 -28
  499. data/lib/phlex/icons/radix/heart.rb +0 -28
  500. data/lib/phlex/icons/radix/heart_filled.rb +0 -28
  501. data/lib/phlex/icons/radix/height.rb +0 -28
  502. data/lib/phlex/icons/radix/hobby_knife.rb +0 -28
  503. data/lib/phlex/icons/radix/home.rb +0 -28
  504. data/lib/phlex/icons/radix/iconjar_logo.rb +0 -28
  505. data/lib/phlex/icons/radix/id_card.rb +0 -28
  506. data/lib/phlex/icons/radix/image.rb +0 -28
  507. data/lib/phlex/icons/radix/info_circled.rb +0 -28
  508. data/lib/phlex/icons/radix/input.rb +0 -28
  509. data/lib/phlex/icons/radix/instagram_logo.rb +0 -28
  510. data/lib/phlex/icons/radix/keyboard.rb +0 -28
  511. data/lib/phlex/icons/radix/lap_timer.rb +0 -28
  512. data/lib/phlex/icons/radix/laptop.rb +0 -28
  513. data/lib/phlex/icons/radix/layers.rb +0 -28
  514. data/lib/phlex/icons/radix/layout.rb +0 -28
  515. data/lib/phlex/icons/radix/letter_case_capitalize.rb +0 -28
  516. data/lib/phlex/icons/radix/letter_case_lowercase.rb +0 -28
  517. data/lib/phlex/icons/radix/letter_case_toggle.rb +0 -28
  518. data/lib/phlex/icons/radix/letter_case_uppercase.rb +0 -28
  519. data/lib/phlex/icons/radix/letter_spacing.rb +0 -28
  520. data/lib/phlex/icons/radix/lightning_bolt.rb +0 -28
  521. data/lib/phlex/icons/radix/line_height.rb +0 -28
  522. data/lib/phlex/icons/radix/link_1.rb +0 -28
  523. data/lib/phlex/icons/radix/link_2.rb +0 -28
  524. data/lib/phlex/icons/radix/link_break_1.rb +0 -28
  525. data/lib/phlex/icons/radix/link_break_2.rb +0 -28
  526. data/lib/phlex/icons/radix/link_none_1.rb +0 -28
  527. data/lib/phlex/icons/radix/link_none_2.rb +0 -28
  528. data/lib/phlex/icons/radix/linkedin_logo.rb +0 -28
  529. data/lib/phlex/icons/radix/list_bullet.rb +0 -28
  530. data/lib/phlex/icons/radix/lock_closed.rb +0 -28
  531. data/lib/phlex/icons/radix/lock_open_1.rb +0 -28
  532. data/lib/phlex/icons/radix/lock_open_2.rb +0 -28
  533. data/lib/phlex/icons/radix/loop.rb +0 -28
  534. data/lib/phlex/icons/radix/magic_wand.rb +0 -28
  535. data/lib/phlex/icons/radix/magnifying_glass.rb +0 -28
  536. data/lib/phlex/icons/radix/margin.rb +0 -28
  537. data/lib/phlex/icons/radix/mask_off.rb +0 -28
  538. data/lib/phlex/icons/radix/mask_on.rb +0 -28
  539. data/lib/phlex/icons/radix/minus.rb +0 -28
  540. data/lib/phlex/icons/radix/minus_circled.rb +0 -28
  541. data/lib/phlex/icons/radix/mix.rb +0 -28
  542. data/lib/phlex/icons/radix/mixer_horizontal.rb +0 -28
  543. data/lib/phlex/icons/radix/mixer_vertical.rb +0 -28
  544. data/lib/phlex/icons/radix/mobile.rb +0 -28
  545. data/lib/phlex/icons/radix/modulz_logo.rb +0 -28
  546. data/lib/phlex/icons/radix/moon.rb +0 -28
  547. data/lib/phlex/icons/radix/move.rb +0 -28
  548. data/lib/phlex/icons/radix/notion_logo.rb +0 -26
  549. data/lib/phlex/icons/radix/opacity.rb +0 -28
  550. data/lib/phlex/icons/radix/open_in_new_window.rb +0 -28
  551. data/lib/phlex/icons/radix/overline.rb +0 -28
  552. data/lib/phlex/icons/radix/padding.rb +0 -28
  553. data/lib/phlex/icons/radix/paper_plane.rb +0 -28
  554. data/lib/phlex/icons/radix/pause.rb +0 -28
  555. data/lib/phlex/icons/radix/pencil_1.rb +0 -28
  556. data/lib/phlex/icons/radix/pencil_2.rb +0 -28
  557. data/lib/phlex/icons/radix/person.rb +0 -28
  558. data/lib/phlex/icons/radix/pie_chart.rb +0 -28
  559. data/lib/phlex/icons/radix/pilcrow.rb +0 -28
  560. data/lib/phlex/icons/radix/pin_bottom.rb +0 -28
  561. data/lib/phlex/icons/radix/pin_left.rb +0 -28
  562. data/lib/phlex/icons/radix/pin_right.rb +0 -28
  563. data/lib/phlex/icons/radix/pin_top.rb +0 -28
  564. data/lib/phlex/icons/radix/play.rb +0 -28
  565. data/lib/phlex/icons/radix/plus.rb +0 -28
  566. data/lib/phlex/icons/radix/plus_circled.rb +0 -28
  567. data/lib/phlex/icons/radix/question_mark.rb +0 -28
  568. data/lib/phlex/icons/radix/question_mark_circled.rb +0 -28
  569. data/lib/phlex/icons/radix/quote.rb +0 -28
  570. data/lib/phlex/icons/radix/radiobutton.rb +0 -28
  571. data/lib/phlex/icons/radix/reader.rb +0 -28
  572. data/lib/phlex/icons/radix/reload.rb +0 -28
  573. data/lib/phlex/icons/radix/reset.rb +0 -28
  574. data/lib/phlex/icons/radix/resume.rb +0 -28
  575. data/lib/phlex/icons/radix/rocket.rb +0 -28
  576. data/lib/phlex/icons/radix/rotate_counter_clockwise.rb +0 -28
  577. data/lib/phlex/icons/radix/row_spacing.rb +0 -28
  578. data/lib/phlex/icons/radix/rows.rb +0 -28
  579. data/lib/phlex/icons/radix/ruler_horizontal.rb +0 -28
  580. data/lib/phlex/icons/radix/ruler_square.rb +0 -28
  581. data/lib/phlex/icons/radix/scissors.rb +0 -28
  582. data/lib/phlex/icons/radix/section.rb +0 -28
  583. data/lib/phlex/icons/radix/sewing_pin.rb +0 -28
  584. data/lib/phlex/icons/radix/sewing_pin_filled.rb +0 -28
  585. data/lib/phlex/icons/radix/shadow.rb +0 -108
  586. data/lib/phlex/icons/radix/shadow_inner.rb +0 -108
  587. data/lib/phlex/icons/radix/shadow_none.rb +0 -108
  588. data/lib/phlex/icons/radix/shadow_outer.rb +0 -68
  589. data/lib/phlex/icons/radix/share_1.rb +0 -28
  590. data/lib/phlex/icons/radix/share_2.rb +0 -28
  591. data/lib/phlex/icons/radix/shuffle.rb +0 -28
  592. data/lib/phlex/icons/radix/size.rb +0 -28
  593. data/lib/phlex/icons/radix/sketch_logo.rb +0 -28
  594. data/lib/phlex/icons/radix/slash.rb +0 -25
  595. data/lib/phlex/icons/radix/slider.rb +0 -28
  596. data/lib/phlex/icons/radix/space_between_horizontally.rb +0 -28
  597. data/lib/phlex/icons/radix/space_between_vertically.rb +0 -28
  598. data/lib/phlex/icons/radix/space_evenly_horizontally.rb +0 -28
  599. data/lib/phlex/icons/radix/space_evenly_vertically.rb +0 -28
  600. data/lib/phlex/icons/radix/speaker_loud.rb +0 -28
  601. data/lib/phlex/icons/radix/speaker_moderate.rb +0 -28
  602. data/lib/phlex/icons/radix/speaker_off.rb +0 -28
  603. data/lib/phlex/icons/radix/speaker_quiet.rb +0 -28
  604. data/lib/phlex/icons/radix/square.rb +0 -25
  605. data/lib/phlex/icons/radix/stack.rb +0 -28
  606. data/lib/phlex/icons/radix/star.rb +0 -28
  607. data/lib/phlex/icons/radix/star_filled.rb +0 -26
  608. data/lib/phlex/icons/radix/stitches_logo.rb +0 -28
  609. data/lib/phlex/icons/radix/stop.rb +0 -28
  610. data/lib/phlex/icons/radix/stopwatch.rb +0 -28
  611. data/lib/phlex/icons/radix/stretch_horizontally.rb +0 -28
  612. data/lib/phlex/icons/radix/stretch_vertically.rb +0 -28
  613. data/lib/phlex/icons/radix/strikethrough.rb +0 -28
  614. data/lib/phlex/icons/radix/sun.rb +0 -28
  615. data/lib/phlex/icons/radix/switch.rb +0 -28
  616. data/lib/phlex/icons/radix/symbol.rb +0 -28
  617. data/lib/phlex/icons/radix/table.rb +0 -28
  618. data/lib/phlex/icons/radix/target.rb +0 -28
  619. data/lib/phlex/icons/radix/text.rb +0 -28
  620. data/lib/phlex/icons/radix/text_align_bottom.rb +0 -28
  621. data/lib/phlex/icons/radix/text_align_center.rb +0 -28
  622. data/lib/phlex/icons/radix/text_align_justify.rb +0 -28
  623. data/lib/phlex/icons/radix/text_align_left.rb +0 -28
  624. data/lib/phlex/icons/radix/text_align_middle.rb +0 -28
  625. data/lib/phlex/icons/radix/text_align_right.rb +0 -28
  626. data/lib/phlex/icons/radix/text_align_top.rb +0 -28
  627. data/lib/phlex/icons/radix/text_none.rb +0 -28
  628. data/lib/phlex/icons/radix/thick_arrow_down.rb +0 -28
  629. data/lib/phlex/icons/radix/thick_arrow_left.rb +0 -28
  630. data/lib/phlex/icons/radix/thick_arrow_right.rb +0 -28
  631. data/lib/phlex/icons/radix/thick_arrow_up.rb +0 -28
  632. data/lib/phlex/icons/radix/timer.rb +0 -28
  633. data/lib/phlex/icons/radix/tokens.rb +0 -28
  634. data/lib/phlex/icons/radix/track_next.rb +0 -28
  635. data/lib/phlex/icons/radix/track_previous.rb +0 -28
  636. data/lib/phlex/icons/radix/transform.rb +0 -28
  637. data/lib/phlex/icons/radix/transparency_grid.rb +0 -29
  638. data/lib/phlex/icons/radix/trash.rb +0 -28
  639. data/lib/phlex/icons/radix/triangle_down.rb +0 -18
  640. data/lib/phlex/icons/radix/triangle_left.rb +0 -18
  641. data/lib/phlex/icons/radix/triangle_right.rb +0 -18
  642. data/lib/phlex/icons/radix/triangle_up.rb +0 -18
  643. data/lib/phlex/icons/radix/twitter_logo.rb +0 -28
  644. data/lib/phlex/icons/radix/underline.rb +0 -28
  645. data/lib/phlex/icons/radix/update.rb +0 -28
  646. data/lib/phlex/icons/radix/upload.rb +0 -28
  647. data/lib/phlex/icons/radix/value.rb +0 -28
  648. data/lib/phlex/icons/radix/value_none.rb +0 -28
  649. data/lib/phlex/icons/radix/vercel_logo.rb +0 -28
  650. data/lib/phlex/icons/radix/video.rb +0 -28
  651. data/lib/phlex/icons/radix/view_grid.rb +0 -28
  652. data/lib/phlex/icons/radix/view_horizontal.rb +0 -28
  653. data/lib/phlex/icons/radix/view_none.rb +0 -28
  654. data/lib/phlex/icons/radix/view_vertical.rb +0 -28
  655. data/lib/phlex/icons/radix/width.rb +0 -28
  656. data/lib/phlex/icons/radix/zoom_in.rb +0 -28
  657. data/lib/phlex/icons/radix/zoom_out.rb +0 -28
  658. data/lib/phlex/icons/radix.rb +0 -335
  659. data/lib/phlex/icons/version.rb +0 -7
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c4b397df83cf79d14370d755a2c1e06f5bc55f767a2c671ec258d4c6dd41830a
4
- data.tar.gz: bbf6af976cc1cd843676999acc24e8eefff354d89027ecb8ec16449722e37d39
3
+ metadata.gz: 27c507397ea1d3d76acd95514acfcc59037a2a116adeab5b2da116f37c8ca799
4
+ data.tar.gz: 6200f27866b104be5507bdd9ee5cd96c5da3d2fc1af50d99a46191e677d4d7ef
5
5
  SHA512:
6
- metadata.gz: 9883e981d25f07353ced644b77ba01018e339607459ec08492be193b7a3fd7e2e93abafb01f1f2662242c59155ac69acb563698ce345338edb9942140e1d22b1
7
- data.tar.gz: 2262c04b05b732bd698e0ccc460a1bfbfbb807b57f5c0b8abd16611aa6f6de1609f042c0aa81d53a927e059d091812d719d932d9bdb8b3af772f5b9cffd9daa5
6
+ metadata.gz: 5f5f176837c59bdd516b8626d3a1ccd217a1e9ace86c3212b08194ef33e2cb7ad14bb25dadd2c206f31829e7a168e26262a12d8d59a883bced9f5d4b8f758cc0
7
+ data.tar.gz: 5d78c0cf0667ca1ebfb1fc97ae681595e6369458f5e2cba971676a2780b6b6647bd4fbbaaff64de4de17c028ee2feddb0a7a73e5a03537fb91df665e257e0887
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
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ # rubocop:disable Layout/LineLength
4
+ module PhlexIcons
5
+ module Radix
6
+ class Accessibility < Base
7
+ def view_template
8
+ svg(
9
+ **attrs,
10
+ viewbox: '0 0 15 15',
11
+ fill: 'none',
12
+ xmlns: 'http://www.w3.org/2000/svg'
13
+ ) do |s|
14
+ s.path(
15
+ fill_rule: 'evenodd',
16
+ clip_rule: 'evenodd',
17
+ d:
18
+ 'M0.877197 7.49984C0.877197 3.84216 3.84234 0.877014 7.50003 0.877014C11.1577 0.877014 14.1229 3.84216 14.1229 7.49984C14.1229 11.1575 11.1577 14.1227 7.50003 14.1227C3.84234 14.1227 0.877197 11.1575 0.877197 7.49984ZM7.50003 1.82701C4.36702 1.82701 1.8272 4.36683 1.8272 7.49984C1.8272 10.6328 4.36702 13.1727 7.50003 13.1727C10.633 13.1727 13.1729 10.6328 13.1729 7.49984C13.1729 4.36683 10.633 1.82701 7.50003 1.82701ZM7.12457 9.00001C7.06994 9.12735 6.33165 11.9592 6.33165 11.9592C6.26018 12.226 5.98601 12.3843 5.71928 12.3128C5.45255 12.2413 5.29425 11.9672 5.36573 11.7004C5.36573 11.7004 6.24661 8.87268 6.24661 8.27007V6.80099L4.28763 6.27608C4.0209 6.20461 3.86261 5.93045 3.93408 5.66371C4.00555 5.39698 4.27972 5.23869 4.54645 5.31016C4.54645 5.31016 6.20042 5.87268 6.84579 5.87268H8.15505C8.80042 5.87268 10.4534 5.31042 10.4534 5.31042C10.7202 5.23895 10.9943 5.39724 11.0658 5.66397C11.1373 5.93071 10.979 6.20487 10.7122 6.27635L8.74661 6.80303V8.27007C8.74661 8.87268 9.62663 11.6971 9.62663 11.6971C9.6981 11.9639 9.5398 12.238 9.27307 12.3095C9.00634 12.381 8.73217 12.2227 8.6607 11.956C8.6607 11.956 7.91994 9.12735 7.86866 9.00001C7.81994 8.87268 7.65006 8.87268 7.65006 8.87268H7.34317C7.34317 8.87268 7.16994 8.87268 7.12457 9.00001ZM7.50043 5.12007C8.12175 5.12007 8.62543 4.61639 8.62543 3.99507C8.62543 3.37375 8.12175 2.87007 7.50043 2.87007C6.87911 2.87007 6.37543 3.37375 6.37543 3.99507C6.37543 4.61639 6.87911 5.12007 7.50043 5.12007Z',
19
+ fill: 'currentColor'
20
+ )
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ # rubocop:enable Layout/LineLength
@@ -0,0 +1,26 @@
1
+ # frozen_string_literal: true
2
+
3
+ # rubocop:disable Layout/LineLength
4
+ module PhlexIcons
5
+ module Radix
6
+ class ActivityLog < Base
7
+ def view_template
8
+ svg(
9
+ **attrs,
10
+ viewbox: '0 0 15 15',
11
+ fill: 'none',
12
+ xmlns: 'http://www.w3.org/2000/svg'
13
+ ) do |s|
14
+ s.path(
15
+ fill_rule: 'evenodd',
16
+ clip_rule: 'evenodd',
17
+ d:
18
+ 'M0 1.5C0 1.22386 0.223858 1 0.5 1H2.5C2.77614 1 3 1.22386 3 1.5C3 1.77614 2.77614 2 2.5 2H0.5C0.223858 2 0 1.77614 0 1.5ZM4 1.5C4 1.22386 4.22386 1 4.5 1H14.5C14.7761 1 15 1.22386 15 1.5C15 1.77614 14.7761 2 14.5 2H4.5C4.22386 2 4 1.77614 4 1.5ZM4 4.5C4 4.22386 4.22386 4 4.5 4H11.5C11.7761 4 12 4.22386 12 4.5C12 4.77614 11.7761 5 11.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM0 7.5C0 7.22386 0.223858 7 0.5 7H2.5C2.77614 7 3 7.22386 3 7.5C3 7.77614 2.77614 8 2.5 8H0.5C0.223858 8 0 7.77614 0 7.5ZM4 7.5C4 7.22386 4.22386 7 4.5 7H14.5C14.7761 7 15 7.22386 15 7.5C15 7.77614 14.7761 8 14.5 8H4.5C4.22386 8 4 7.77614 4 7.5ZM4 10.5C4 10.2239 4.22386 10 4.5 10H11.5C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H4.5C4.22386 11 4 10.7761 4 10.5ZM0 13.5C0 13.2239 0.223858 13 0.5 13H2.5C2.77614 13 3 13.2239 3 13.5C3 13.7761 2.77614 14 2.5 14H0.5C0.223858 14 0 13.7761 0 13.5ZM4 13.5C4 13.2239 4.22386 13 4.5 13H14.5C14.7761 13 15 13.2239 15 13.5C15 13.7761 14.7761 14 14.5 14H4.5C4.22386 14 4 13.7761 4 13.5Z',
19
+ fill: 'currentColor'
20
+ )
21
+ end
22
+ end
23
+ end
24
+ end
25
+ end
26
+ # rubocop:enable Layout/LineLength