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.
- checksums.yaml +4 -4
- data/README.md +35 -39
- data/generators/bootstrap.rb +7 -9
- data/generators/flag.rb +38 -13
- data/generators/helper.rb +6 -2
- data/generators/hero.rb +38 -13
- data/generators/lucide.rb +7 -9
- data/generators/radix.rb +7 -9
- data/generators/remix.rb +7 -9
- data/generators/tabler.rb +38 -13
- data/lib/phlex-icons/base.rb +18 -0
- data/lib/phlex-icons/configuration.rb +11 -0
- data/lib/phlex-icons/radix/accessibility.rb +26 -0
- data/lib/phlex-icons/radix/activity_log.rb +26 -0
- data/lib/phlex-icons/radix/align_baseline.rb +26 -0
- data/lib/phlex-icons/radix/align_bottom.rb +26 -0
- data/lib/phlex-icons/radix/align_center_horizontally.rb +26 -0
- data/lib/phlex-icons/radix/align_center_vertically.rb +26 -0
- data/lib/phlex-icons/radix/align_left.rb +26 -0
- data/lib/phlex-icons/radix/align_right.rb +26 -0
- data/lib/phlex-icons/radix/align_top.rb +26 -0
- data/lib/phlex-icons/radix/all_sides.rb +26 -0
- data/lib/phlex-icons/radix/angle.rb +26 -0
- data/lib/phlex-icons/radix/archive.rb +26 -0
- data/lib/phlex-icons/radix/arrow_bottom_left.rb +26 -0
- data/lib/phlex-icons/radix/arrow_bottom_right.rb +26 -0
- data/lib/phlex-icons/radix/arrow_down.rb +26 -0
- data/lib/phlex-icons/radix/arrow_left.rb +26 -0
- data/lib/phlex-icons/radix/arrow_right.rb +26 -0
- data/lib/phlex-icons/radix/arrow_top_left.rb +26 -0
- data/lib/phlex-icons/radix/arrow_top_right.rb +26 -0
- data/lib/phlex-icons/radix/arrow_up.rb +26 -0
- data/lib/phlex-icons/radix/aspect_ratio.rb +26 -0
- data/lib/phlex-icons/radix/avatar.rb +26 -0
- data/lib/phlex-icons/radix/backpack.rb +26 -0
- data/lib/phlex-icons/radix/badge.rb +26 -0
- data/lib/phlex-icons/radix/bar_chart.rb +26 -0
- data/lib/phlex-icons/radix/base.rb +15 -0
- data/lib/phlex-icons/radix/bell.rb +26 -0
- data/lib/phlex-icons/radix/blending_mode.rb +26 -0
- data/lib/phlex-icons/radix/bookmark.rb +26 -0
- data/lib/phlex-icons/radix/bookmark_filled.rb +26 -0
- data/lib/phlex-icons/radix/border_all.rb +98 -0
- data/lib/phlex-icons/radix/border_bottom.rb +233 -0
- data/lib/phlex-icons/radix/border_dashed.rb +26 -0
- data/lib/phlex-icons/radix/border_dotted.rb +26 -0
- data/lib/phlex-icons/radix/border_left.rb +259 -0
- data/lib/phlex-icons/radix/border_none.rb +283 -0
- data/lib/phlex-icons/radix/border_right.rb +207 -0
- data/lib/phlex-icons/radix/border_solid.rb +26 -0
- data/lib/phlex-icons/radix/border_split.rb +130 -0
- data/lib/phlex-icons/radix/border_style.rb +26 -0
- data/lib/phlex-icons/radix/border_top.rb +259 -0
- data/lib/phlex-icons/radix/border_width.rb +23 -0
- data/lib/phlex-icons/radix/box.rb +26 -0
- data/lib/phlex-icons/radix/box_model.rb +26 -0
- data/lib/phlex-icons/radix/button.rb +26 -0
- data/lib/phlex-icons/radix/calendar.rb +26 -0
- data/lib/phlex-icons/radix/camera.rb +26 -0
- data/lib/phlex-icons/radix/card_stack.rb +26 -0
- data/lib/phlex-icons/radix/card_stack_minus.rb +26 -0
- data/lib/phlex-icons/radix/card_stack_plus.rb +26 -0
- data/lib/phlex-icons/radix/caret_down.rb +26 -0
- data/lib/phlex-icons/radix/caret_left.rb +26 -0
- data/lib/phlex-icons/radix/caret_right.rb +26 -0
- data/lib/phlex-icons/radix/caret_sort.rb +26 -0
- data/lib/phlex-icons/radix/caret_up.rb +26 -0
- data/lib/phlex-icons/radix/chat_bubble.rb +26 -0
- data/lib/phlex-icons/radix/check.rb +26 -0
- data/lib/phlex-icons/radix/check_circled.rb +26 -0
- data/lib/phlex-icons/radix/checkbox.rb +26 -0
- data/lib/phlex-icons/radix/chevron_down.rb +26 -0
- data/lib/phlex-icons/radix/chevron_left.rb +26 -0
- data/lib/phlex-icons/radix/chevron_right.rb +26 -0
- data/lib/phlex-icons/radix/chevron_up.rb +26 -0
- data/lib/phlex-icons/radix/circle.rb +26 -0
- data/lib/phlex-icons/radix/circle_backslash.rb +26 -0
- data/lib/phlex-icons/radix/clipboard.rb +26 -0
- data/lib/phlex-icons/radix/clipboard_copy.rb +26 -0
- data/lib/phlex-icons/radix/clock.rb +26 -0
- data/lib/phlex-icons/radix/code.rb +26 -0
- data/lib/phlex-icons/radix/codesandbox_logo.rb +26 -0
- data/lib/phlex-icons/radix/color_wheel.rb +26 -0
- data/lib/phlex-icons/radix/column_spacing.rb +26 -0
- data/lib/phlex-icons/radix/columns.rb +26 -0
- data/lib/phlex-icons/radix/commit.rb +26 -0
- data/lib/phlex-icons/radix/component_1.rb +26 -0
- data/lib/phlex-icons/radix/component_2.rb +26 -0
- data/lib/phlex-icons/radix/component_boolean.rb +26 -0
- data/lib/phlex-icons/radix/component_instance.rb +26 -0
- data/lib/phlex-icons/radix/component_none.rb +26 -0
- data/lib/phlex-icons/radix/component_placeholder.rb +31 -0
- data/lib/phlex-icons/radix/container.rb +26 -0
- data/lib/phlex-icons/radix/cookie.rb +26 -0
- data/lib/phlex-icons/radix/copy.rb +26 -0
- data/lib/phlex-icons/radix/corner_bottom_left.rb +26 -0
- data/lib/phlex-icons/radix/corner_bottom_right.rb +26 -0
- data/lib/phlex-icons/radix/corner_top_left.rb +26 -0
- data/lib/phlex-icons/radix/corner_top_right.rb +26 -0
- data/lib/phlex-icons/radix/corners.rb +26 -0
- data/lib/phlex-icons/radix/countdown_timer.rb +26 -0
- data/lib/phlex-icons/radix/counter_clockwise_clock.rb +26 -0
- data/lib/phlex-icons/radix/crop.rb +26 -0
- data/lib/phlex-icons/radix/cross_1.rb +26 -0
- data/lib/phlex-icons/radix/cross_2.rb +26 -0
- data/lib/phlex-icons/radix/cross_circled.rb +26 -0
- data/lib/phlex-icons/radix/crosshair_1.rb +26 -0
- data/lib/phlex-icons/radix/crosshair_2.rb +26 -0
- data/lib/phlex-icons/radix/crumpled_paper.rb +26 -0
- data/lib/phlex-icons/radix/cube.rb +26 -0
- data/lib/phlex-icons/radix/cursor_arrow.rb +26 -0
- data/lib/phlex-icons/radix/cursor_text.rb +26 -0
- data/lib/phlex-icons/radix/dash.rb +26 -0
- data/lib/phlex-icons/radix/dashboard.rb +26 -0
- data/lib/phlex-icons/radix/desktop.rb +26 -0
- data/lib/phlex-icons/radix/dimensions.rb +26 -0
- data/lib/phlex-icons/radix/disc.rb +26 -0
- data/lib/phlex-icons/radix/discord_logo.rb +26 -0
- data/lib/phlex-icons/radix/divider_horizontal.rb +26 -0
- data/lib/phlex-icons/radix/divider_vertical.rb +26 -0
- data/lib/phlex-icons/radix/dot.rb +26 -0
- data/lib/phlex-icons/radix/dot_filled.rb +24 -0
- data/lib/phlex-icons/radix/dots_horizontal.rb +26 -0
- data/lib/phlex-icons/radix/dots_vertical.rb +26 -0
- data/lib/phlex-icons/radix/double_arrow_down.rb +26 -0
- data/lib/phlex-icons/radix/double_arrow_left.rb +26 -0
- data/lib/phlex-icons/radix/double_arrow_right.rb +26 -0
- data/lib/phlex-icons/radix/double_arrow_up.rb +26 -0
- data/lib/phlex-icons/radix/download.rb +26 -0
- data/lib/phlex-icons/radix/drag_handle_dots_1.rb +43 -0
- data/lib/phlex-icons/radix/drag_handle_dots_2.rb +26 -0
- data/lib/phlex-icons/radix/drag_handle_horizontal.rb +26 -0
- data/lib/phlex-icons/radix/drag_handle_vertical.rb +26 -0
- data/lib/phlex-icons/radix/drawing_pin.rb +26 -0
- data/lib/phlex-icons/radix/drawing_pin_filled.rb +33 -0
- data/lib/phlex-icons/radix/dropdown_menu.rb +26 -0
- data/lib/phlex-icons/radix/enter.rb +26 -0
- data/lib/phlex-icons/radix/enter_full_screen.rb +26 -0
- data/lib/phlex-icons/radix/envelope_closed.rb +26 -0
- data/lib/phlex-icons/radix/envelope_open.rb +26 -0
- data/lib/phlex-icons/radix/eraser.rb +26 -0
- data/lib/phlex-icons/radix/exclamation_triangle.rb +26 -0
- data/lib/phlex-icons/radix/exit.rb +26 -0
- data/lib/phlex-icons/radix/exit_full_screen.rb +26 -0
- data/lib/phlex-icons/radix/external_link.rb +26 -0
- data/lib/phlex-icons/radix/eye_closed.rb +26 -0
- data/lib/phlex-icons/radix/eye_none.rb +26 -0
- data/lib/phlex-icons/radix/eye_open.rb +26 -0
- data/lib/phlex-icons/radix/face.rb +26 -0
- data/lib/phlex-icons/radix/figma_logo.rb +26 -0
- data/lib/phlex-icons/radix/file.rb +26 -0
- data/lib/phlex-icons/radix/file_minus.rb +26 -0
- data/lib/phlex-icons/radix/file_plus.rb +26 -0
- data/lib/phlex-icons/radix/file_text.rb +26 -0
- data/lib/phlex-icons/radix/font_bold.rb +24 -0
- data/lib/phlex-icons/radix/font_family.rb +24 -0
- data/lib/phlex-icons/radix/font_italic.rb +26 -0
- data/lib/phlex-icons/radix/font_roman.rb +26 -0
- data/lib/phlex-icons/radix/font_size.rb +26 -0
- data/lib/phlex-icons/radix/font_style.rb +26 -0
- data/lib/phlex-icons/radix/frame.rb +26 -0
- data/lib/phlex-icons/radix/framer_logo.rb +26 -0
- data/lib/phlex-icons/radix/gear.rb +26 -0
- data/lib/phlex-icons/radix/github_logo.rb +26 -0
- data/lib/phlex-icons/radix/globe.rb +46 -0
- data/lib/phlex-icons/radix/grid.rb +26 -0
- data/lib/phlex-icons/radix/group.rb +26 -0
- data/lib/phlex-icons/radix/half_1.rb +26 -0
- data/lib/phlex-icons/radix/half_2.rb +26 -0
- data/lib/phlex-icons/radix/hamburger_menu.rb +26 -0
- data/lib/phlex-icons/radix/hand.rb +26 -0
- data/lib/phlex-icons/radix/heading.rb +26 -0
- data/lib/phlex-icons/radix/heart.rb +26 -0
- data/lib/phlex-icons/radix/heart_filled.rb +26 -0
- data/lib/phlex-icons/radix/height.rb +26 -0
- data/lib/phlex-icons/radix/hobby_knife.rb +26 -0
- data/lib/phlex-icons/radix/home.rb +26 -0
- data/lib/phlex-icons/radix/iconjar_logo.rb +26 -0
- data/lib/phlex-icons/radix/id_card.rb +26 -0
- data/lib/phlex-icons/radix/image.rb +26 -0
- data/lib/phlex-icons/radix/info_circled.rb +26 -0
- data/lib/phlex-icons/radix/input.rb +26 -0
- data/lib/phlex-icons/radix/instagram_logo.rb +26 -0
- data/lib/phlex-icons/radix/keyboard.rb +26 -0
- data/lib/phlex-icons/radix/lap_timer.rb +26 -0
- data/lib/phlex-icons/radix/laptop.rb +26 -0
- data/lib/phlex-icons/radix/layers.rb +26 -0
- data/lib/phlex-icons/radix/layout.rb +26 -0
- data/lib/phlex-icons/radix/letter_case_capitalize.rb +26 -0
- data/lib/phlex-icons/radix/letter_case_lowercase.rb +26 -0
- data/lib/phlex-icons/radix/letter_case_toggle.rb +26 -0
- data/lib/phlex-icons/radix/letter_case_uppercase.rb +26 -0
- data/lib/phlex-icons/radix/letter_spacing.rb +26 -0
- data/lib/phlex-icons/radix/lightning_bolt.rb +26 -0
- data/lib/phlex-icons/radix/line_height.rb +26 -0
- data/lib/phlex-icons/radix/link_1.rb +26 -0
- data/lib/phlex-icons/radix/link_2.rb +26 -0
- data/lib/phlex-icons/radix/link_break_1.rb +26 -0
- data/lib/phlex-icons/radix/link_break_2.rb +26 -0
- data/lib/phlex-icons/radix/link_none_1.rb +26 -0
- data/lib/phlex-icons/radix/link_none_2.rb +26 -0
- data/lib/phlex-icons/radix/linkedin_logo.rb +26 -0
- data/lib/phlex-icons/radix/list_bullet.rb +26 -0
- data/lib/phlex-icons/radix/lock_closed.rb +26 -0
- data/lib/phlex-icons/radix/lock_open_1.rb +26 -0
- data/lib/phlex-icons/radix/lock_open_2.rb +26 -0
- data/lib/phlex-icons/radix/loop.rb +26 -0
- data/lib/phlex-icons/radix/magic_wand.rb +26 -0
- data/lib/phlex-icons/radix/magnifying_glass.rb +26 -0
- data/lib/phlex-icons/radix/margin.rb +26 -0
- data/lib/phlex-icons/radix/mask_off.rb +26 -0
- data/lib/phlex-icons/radix/mask_on.rb +26 -0
- data/lib/phlex-icons/radix/minus.rb +26 -0
- data/lib/phlex-icons/radix/minus_circled.rb +26 -0
- data/lib/phlex-icons/radix/mix.rb +26 -0
- data/lib/phlex-icons/radix/mixer_horizontal.rb +26 -0
- data/lib/phlex-icons/radix/mixer_vertical.rb +26 -0
- data/lib/phlex-icons/radix/mobile.rb +26 -0
- data/lib/phlex-icons/radix/modulz_logo.rb +26 -0
- data/lib/phlex-icons/radix/moon.rb +26 -0
- data/lib/phlex-icons/radix/move.rb +26 -0
- data/lib/phlex-icons/radix/notion_logo.rb +24 -0
- data/lib/phlex-icons/radix/opacity.rb +26 -0
- data/lib/phlex-icons/radix/open_in_new_window.rb +26 -0
- data/lib/phlex-icons/radix/overline.rb +26 -0
- data/lib/phlex-icons/radix/padding.rb +26 -0
- data/lib/phlex-icons/radix/paper_plane.rb +26 -0
- data/lib/phlex-icons/radix/pause.rb +26 -0
- data/lib/phlex-icons/radix/pencil_1.rb +26 -0
- data/lib/phlex-icons/radix/pencil_2.rb +26 -0
- data/lib/phlex-icons/radix/person.rb +26 -0
- data/lib/phlex-icons/radix/pie_chart.rb +26 -0
- data/lib/phlex-icons/radix/pilcrow.rb +26 -0
- data/lib/phlex-icons/radix/pin_bottom.rb +26 -0
- data/lib/phlex-icons/radix/pin_left.rb +26 -0
- data/lib/phlex-icons/radix/pin_right.rb +26 -0
- data/lib/phlex-icons/radix/pin_top.rb +26 -0
- data/lib/phlex-icons/radix/play.rb +26 -0
- data/lib/phlex-icons/radix/plus.rb +26 -0
- data/lib/phlex-icons/radix/plus_circled.rb +26 -0
- data/lib/phlex-icons/radix/question_mark.rb +26 -0
- data/lib/phlex-icons/radix/question_mark_circled.rb +26 -0
- data/lib/phlex-icons/radix/quote.rb +26 -0
- data/lib/phlex-icons/radix/radiobutton.rb +26 -0
- data/lib/phlex-icons/radix/reader.rb +26 -0
- data/lib/phlex-icons/radix/reload.rb +26 -0
- data/lib/phlex-icons/radix/reset.rb +26 -0
- data/lib/phlex-icons/radix/resume.rb +26 -0
- data/lib/phlex-icons/radix/rocket.rb +26 -0
- data/lib/phlex-icons/radix/rotate_counter_clockwise.rb +26 -0
- data/lib/phlex-icons/radix/row_spacing.rb +26 -0
- data/lib/phlex-icons/radix/rows.rb +26 -0
- data/lib/phlex-icons/radix/ruler_horizontal.rb +26 -0
- data/lib/phlex-icons/radix/ruler_square.rb +26 -0
- data/lib/phlex-icons/radix/scissors.rb +26 -0
- data/lib/phlex-icons/radix/section.rb +26 -0
- data/lib/phlex-icons/radix/sewing_pin.rb +26 -0
- data/lib/phlex-icons/radix/sewing_pin_filled.rb +26 -0
- data/lib/phlex-icons/radix/shadow.rb +106 -0
- data/lib/phlex-icons/radix/shadow_inner.rb +106 -0
- data/lib/phlex-icons/radix/shadow_none.rb +106 -0
- data/lib/phlex-icons/radix/shadow_outer.rb +66 -0
- data/lib/phlex-icons/radix/share_1.rb +26 -0
- data/lib/phlex-icons/radix/share_2.rb +26 -0
- data/lib/phlex-icons/radix/shuffle.rb +26 -0
- data/lib/phlex-icons/radix/size.rb +26 -0
- data/lib/phlex-icons/radix/sketch_logo.rb +26 -0
- data/lib/phlex-icons/radix/slash.rb +23 -0
- data/lib/phlex-icons/radix/slider.rb +26 -0
- data/lib/phlex-icons/radix/space_between_horizontally.rb +26 -0
- data/lib/phlex-icons/radix/space_between_vertically.rb +26 -0
- data/lib/phlex-icons/radix/space_evenly_horizontally.rb +26 -0
- data/lib/phlex-icons/radix/space_evenly_vertically.rb +26 -0
- data/lib/phlex-icons/radix/speaker_loud.rb +26 -0
- data/lib/phlex-icons/radix/speaker_moderate.rb +26 -0
- data/lib/phlex-icons/radix/speaker_off.rb +26 -0
- data/lib/phlex-icons/radix/speaker_quiet.rb +26 -0
- data/lib/phlex-icons/radix/square.rb +23 -0
- data/lib/phlex-icons/radix/stack.rb +26 -0
- data/lib/phlex-icons/radix/star.rb +26 -0
- data/lib/phlex-icons/radix/star_filled.rb +24 -0
- data/lib/phlex-icons/radix/stitches_logo.rb +26 -0
- data/lib/phlex-icons/radix/stop.rb +26 -0
- data/lib/phlex-icons/radix/stopwatch.rb +26 -0
- data/lib/phlex-icons/radix/stretch_horizontally.rb +26 -0
- data/lib/phlex-icons/radix/stretch_vertically.rb +26 -0
- data/lib/phlex-icons/radix/strikethrough.rb +26 -0
- data/lib/phlex-icons/radix/sun.rb +26 -0
- data/lib/phlex-icons/radix/switch.rb +26 -0
- data/lib/phlex-icons/radix/symbol.rb +26 -0
- data/lib/phlex-icons/radix/table.rb +26 -0
- data/lib/phlex-icons/radix/target.rb +26 -0
- data/lib/phlex-icons/radix/text.rb +26 -0
- data/lib/phlex-icons/radix/text_align_bottom.rb +26 -0
- data/lib/phlex-icons/radix/text_align_center.rb +26 -0
- data/lib/phlex-icons/radix/text_align_justify.rb +26 -0
- data/lib/phlex-icons/radix/text_align_left.rb +26 -0
- data/lib/phlex-icons/radix/text_align_middle.rb +26 -0
- data/lib/phlex-icons/radix/text_align_right.rb +26 -0
- data/lib/phlex-icons/radix/text_align_top.rb +26 -0
- data/lib/phlex-icons/radix/text_none.rb +26 -0
- data/lib/phlex-icons/radix/thick_arrow_down.rb +26 -0
- data/lib/phlex-icons/radix/thick_arrow_left.rb +26 -0
- data/lib/phlex-icons/radix/thick_arrow_right.rb +26 -0
- data/lib/phlex-icons/radix/thick_arrow_up.rb +26 -0
- data/lib/phlex-icons/radix/timer.rb +26 -0
- data/lib/phlex-icons/radix/tokens.rb +26 -0
- data/lib/phlex-icons/radix/track_next.rb +26 -0
- data/lib/phlex-icons/radix/track_previous.rb +26 -0
- data/lib/phlex-icons/radix/transform.rb +26 -0
- data/lib/phlex-icons/radix/transparency_grid.rb +27 -0
- data/lib/phlex-icons/radix/trash.rb +26 -0
- data/lib/phlex-icons/radix/triangle_down.rb +16 -0
- data/lib/phlex-icons/radix/triangle_left.rb +16 -0
- data/lib/phlex-icons/radix/triangle_right.rb +16 -0
- data/lib/phlex-icons/radix/triangle_up.rb +16 -0
- data/lib/phlex-icons/radix/twitter_logo.rb +26 -0
- data/lib/phlex-icons/radix/underline.rb +26 -0
- data/lib/phlex-icons/radix/update.rb +26 -0
- data/lib/phlex-icons/radix/upload.rb +26 -0
- data/lib/phlex-icons/radix/value.rb +26 -0
- data/lib/phlex-icons/radix/value_none.rb +26 -0
- data/lib/phlex-icons/radix/vercel_logo.rb +26 -0
- data/lib/phlex-icons/radix/video.rb +26 -0
- data/lib/phlex-icons/radix/view_grid.rb +26 -0
- data/lib/phlex-icons/radix/view_horizontal.rb +26 -0
- data/lib/phlex-icons/radix/view_none.rb +26 -0
- data/lib/phlex-icons/radix/view_vertical.rb +26 -0
- data/lib/phlex-icons/radix/width.rb +26 -0
- data/lib/phlex-icons/radix/zoom_in.rb +26 -0
- data/lib/phlex-icons/radix/zoom_out.rb +26 -0
- data/lib/phlex-icons/radix.rb +333 -0
- data/lib/phlex-icons/version.rb +5 -0
- data/lib/phlex-icons-radix.rb +11 -13
- data/sig/phlex/icons.rbs +3 -5
- metadata +325 -325
- data/lib/phlex/icons/base.rb +0 -20
- data/lib/phlex/icons/configuration.rb +0 -13
- data/lib/phlex/icons/radix/accessibility.rb +0 -28
- data/lib/phlex/icons/radix/activity_log.rb +0 -28
- data/lib/phlex/icons/radix/align_baseline.rb +0 -28
- data/lib/phlex/icons/radix/align_bottom.rb +0 -28
- data/lib/phlex/icons/radix/align_center_horizontally.rb +0 -28
- data/lib/phlex/icons/radix/align_center_vertically.rb +0 -28
- data/lib/phlex/icons/radix/align_left.rb +0 -28
- data/lib/phlex/icons/radix/align_right.rb +0 -28
- data/lib/phlex/icons/radix/align_top.rb +0 -28
- data/lib/phlex/icons/radix/all_sides.rb +0 -28
- data/lib/phlex/icons/radix/angle.rb +0 -28
- data/lib/phlex/icons/radix/archive.rb +0 -28
- data/lib/phlex/icons/radix/arrow_bottom_left.rb +0 -28
- data/lib/phlex/icons/radix/arrow_bottom_right.rb +0 -28
- data/lib/phlex/icons/radix/arrow_down.rb +0 -28
- data/lib/phlex/icons/radix/arrow_left.rb +0 -28
- data/lib/phlex/icons/radix/arrow_right.rb +0 -28
- data/lib/phlex/icons/radix/arrow_top_left.rb +0 -28
- data/lib/phlex/icons/radix/arrow_top_right.rb +0 -28
- data/lib/phlex/icons/radix/arrow_up.rb +0 -28
- data/lib/phlex/icons/radix/aspect_ratio.rb +0 -28
- data/lib/phlex/icons/radix/avatar.rb +0 -28
- data/lib/phlex/icons/radix/backpack.rb +0 -28
- data/lib/phlex/icons/radix/badge.rb +0 -28
- data/lib/phlex/icons/radix/bar_chart.rb +0 -28
- data/lib/phlex/icons/radix/base.rb +0 -17
- data/lib/phlex/icons/radix/bell.rb +0 -28
- data/lib/phlex/icons/radix/blending_mode.rb +0 -28
- data/lib/phlex/icons/radix/bookmark.rb +0 -28
- data/lib/phlex/icons/radix/bookmark_filled.rb +0 -28
- data/lib/phlex/icons/radix/border_all.rb +0 -100
- data/lib/phlex/icons/radix/border_bottom.rb +0 -235
- data/lib/phlex/icons/radix/border_dashed.rb +0 -28
- data/lib/phlex/icons/radix/border_dotted.rb +0 -28
- data/lib/phlex/icons/radix/border_left.rb +0 -261
- data/lib/phlex/icons/radix/border_none.rb +0 -285
- data/lib/phlex/icons/radix/border_right.rb +0 -209
- data/lib/phlex/icons/radix/border_solid.rb +0 -28
- data/lib/phlex/icons/radix/border_split.rb +0 -132
- data/lib/phlex/icons/radix/border_style.rb +0 -28
- data/lib/phlex/icons/radix/border_top.rb +0 -261
- data/lib/phlex/icons/radix/border_width.rb +0 -25
- data/lib/phlex/icons/radix/box.rb +0 -28
- data/lib/phlex/icons/radix/box_model.rb +0 -28
- data/lib/phlex/icons/radix/button.rb +0 -28
- data/lib/phlex/icons/radix/calendar.rb +0 -28
- data/lib/phlex/icons/radix/camera.rb +0 -28
- data/lib/phlex/icons/radix/card_stack.rb +0 -28
- data/lib/phlex/icons/radix/card_stack_minus.rb +0 -28
- data/lib/phlex/icons/radix/card_stack_plus.rb +0 -28
- data/lib/phlex/icons/radix/caret_down.rb +0 -28
- data/lib/phlex/icons/radix/caret_left.rb +0 -28
- data/lib/phlex/icons/radix/caret_right.rb +0 -28
- data/lib/phlex/icons/radix/caret_sort.rb +0 -28
- data/lib/phlex/icons/radix/caret_up.rb +0 -28
- data/lib/phlex/icons/radix/chat_bubble.rb +0 -28
- data/lib/phlex/icons/radix/check.rb +0 -28
- data/lib/phlex/icons/radix/check_circled.rb +0 -28
- data/lib/phlex/icons/radix/checkbox.rb +0 -28
- data/lib/phlex/icons/radix/chevron_down.rb +0 -28
- data/lib/phlex/icons/radix/chevron_left.rb +0 -28
- data/lib/phlex/icons/radix/chevron_right.rb +0 -28
- data/lib/phlex/icons/radix/chevron_up.rb +0 -28
- data/lib/phlex/icons/radix/circle.rb +0 -28
- data/lib/phlex/icons/radix/circle_backslash.rb +0 -28
- data/lib/phlex/icons/radix/clipboard.rb +0 -28
- data/lib/phlex/icons/radix/clipboard_copy.rb +0 -28
- data/lib/phlex/icons/radix/clock.rb +0 -28
- data/lib/phlex/icons/radix/code.rb +0 -28
- data/lib/phlex/icons/radix/codesandbox_logo.rb +0 -28
- data/lib/phlex/icons/radix/color_wheel.rb +0 -28
- data/lib/phlex/icons/radix/column_spacing.rb +0 -28
- data/lib/phlex/icons/radix/columns.rb +0 -28
- data/lib/phlex/icons/radix/commit.rb +0 -28
- data/lib/phlex/icons/radix/component_1.rb +0 -28
- data/lib/phlex/icons/radix/component_2.rb +0 -28
- data/lib/phlex/icons/radix/component_boolean.rb +0 -28
- data/lib/phlex/icons/radix/component_instance.rb +0 -28
- data/lib/phlex/icons/radix/component_none.rb +0 -28
- data/lib/phlex/icons/radix/component_placeholder.rb +0 -33
- data/lib/phlex/icons/radix/container.rb +0 -28
- data/lib/phlex/icons/radix/cookie.rb +0 -28
- data/lib/phlex/icons/radix/copy.rb +0 -28
- data/lib/phlex/icons/radix/corner_bottom_left.rb +0 -28
- data/lib/phlex/icons/radix/corner_bottom_right.rb +0 -28
- data/lib/phlex/icons/radix/corner_top_left.rb +0 -28
- data/lib/phlex/icons/radix/corner_top_right.rb +0 -28
- data/lib/phlex/icons/radix/corners.rb +0 -28
- data/lib/phlex/icons/radix/countdown_timer.rb +0 -28
- data/lib/phlex/icons/radix/counter_clockwise_clock.rb +0 -28
- data/lib/phlex/icons/radix/crop.rb +0 -28
- data/lib/phlex/icons/radix/cross_1.rb +0 -28
- data/lib/phlex/icons/radix/cross_2.rb +0 -28
- data/lib/phlex/icons/radix/cross_circled.rb +0 -28
- data/lib/phlex/icons/radix/crosshair_1.rb +0 -28
- data/lib/phlex/icons/radix/crosshair_2.rb +0 -28
- data/lib/phlex/icons/radix/crumpled_paper.rb +0 -28
- data/lib/phlex/icons/radix/cube.rb +0 -28
- data/lib/phlex/icons/radix/cursor_arrow.rb +0 -28
- data/lib/phlex/icons/radix/cursor_text.rb +0 -28
- data/lib/phlex/icons/radix/dash.rb +0 -28
- data/lib/phlex/icons/radix/dashboard.rb +0 -28
- data/lib/phlex/icons/radix/desktop.rb +0 -28
- data/lib/phlex/icons/radix/dimensions.rb +0 -28
- data/lib/phlex/icons/radix/disc.rb +0 -28
- data/lib/phlex/icons/radix/discord_logo.rb +0 -28
- data/lib/phlex/icons/radix/divider_horizontal.rb +0 -28
- data/lib/phlex/icons/radix/divider_vertical.rb +0 -28
- data/lib/phlex/icons/radix/dot.rb +0 -28
- data/lib/phlex/icons/radix/dot_filled.rb +0 -26
- data/lib/phlex/icons/radix/dots_horizontal.rb +0 -28
- data/lib/phlex/icons/radix/dots_vertical.rb +0 -28
- data/lib/phlex/icons/radix/double_arrow_down.rb +0 -28
- data/lib/phlex/icons/radix/double_arrow_left.rb +0 -28
- data/lib/phlex/icons/radix/double_arrow_right.rb +0 -28
- data/lib/phlex/icons/radix/double_arrow_up.rb +0 -28
- data/lib/phlex/icons/radix/download.rb +0 -28
- data/lib/phlex/icons/radix/drag_handle_dots_1.rb +0 -45
- data/lib/phlex/icons/radix/drag_handle_dots_2.rb +0 -28
- data/lib/phlex/icons/radix/drag_handle_horizontal.rb +0 -28
- data/lib/phlex/icons/radix/drag_handle_vertical.rb +0 -28
- data/lib/phlex/icons/radix/drawing_pin.rb +0 -28
- data/lib/phlex/icons/radix/drawing_pin_filled.rb +0 -35
- data/lib/phlex/icons/radix/dropdown_menu.rb +0 -28
- data/lib/phlex/icons/radix/enter.rb +0 -28
- data/lib/phlex/icons/radix/enter_full_screen.rb +0 -28
- data/lib/phlex/icons/radix/envelope_closed.rb +0 -28
- data/lib/phlex/icons/radix/envelope_open.rb +0 -28
- data/lib/phlex/icons/radix/eraser.rb +0 -28
- data/lib/phlex/icons/radix/exclamation_triangle.rb +0 -28
- data/lib/phlex/icons/radix/exit.rb +0 -28
- data/lib/phlex/icons/radix/exit_full_screen.rb +0 -28
- data/lib/phlex/icons/radix/external_link.rb +0 -28
- data/lib/phlex/icons/radix/eye_closed.rb +0 -28
- data/lib/phlex/icons/radix/eye_none.rb +0 -28
- data/lib/phlex/icons/radix/eye_open.rb +0 -28
- data/lib/phlex/icons/radix/face.rb +0 -28
- data/lib/phlex/icons/radix/figma_logo.rb +0 -28
- data/lib/phlex/icons/radix/file.rb +0 -28
- data/lib/phlex/icons/radix/file_minus.rb +0 -28
- data/lib/phlex/icons/radix/file_plus.rb +0 -28
- data/lib/phlex/icons/radix/file_text.rb +0 -28
- data/lib/phlex/icons/radix/font_bold.rb +0 -26
- data/lib/phlex/icons/radix/font_family.rb +0 -26
- data/lib/phlex/icons/radix/font_italic.rb +0 -28
- data/lib/phlex/icons/radix/font_roman.rb +0 -28
- data/lib/phlex/icons/radix/font_size.rb +0 -28
- data/lib/phlex/icons/radix/font_style.rb +0 -28
- data/lib/phlex/icons/radix/frame.rb +0 -28
- data/lib/phlex/icons/radix/framer_logo.rb +0 -28
- data/lib/phlex/icons/radix/gear.rb +0 -28
- data/lib/phlex/icons/radix/github_logo.rb +0 -28
- data/lib/phlex/icons/radix/globe.rb +0 -48
- data/lib/phlex/icons/radix/grid.rb +0 -28
- data/lib/phlex/icons/radix/group.rb +0 -28
- data/lib/phlex/icons/radix/half_1.rb +0 -28
- data/lib/phlex/icons/radix/half_2.rb +0 -28
- data/lib/phlex/icons/radix/hamburger_menu.rb +0 -28
- data/lib/phlex/icons/radix/hand.rb +0 -28
- data/lib/phlex/icons/radix/heading.rb +0 -28
- data/lib/phlex/icons/radix/heart.rb +0 -28
- data/lib/phlex/icons/radix/heart_filled.rb +0 -28
- data/lib/phlex/icons/radix/height.rb +0 -28
- data/lib/phlex/icons/radix/hobby_knife.rb +0 -28
- data/lib/phlex/icons/radix/home.rb +0 -28
- data/lib/phlex/icons/radix/iconjar_logo.rb +0 -28
- data/lib/phlex/icons/radix/id_card.rb +0 -28
- data/lib/phlex/icons/radix/image.rb +0 -28
- data/lib/phlex/icons/radix/info_circled.rb +0 -28
- data/lib/phlex/icons/radix/input.rb +0 -28
- data/lib/phlex/icons/radix/instagram_logo.rb +0 -28
- data/lib/phlex/icons/radix/keyboard.rb +0 -28
- data/lib/phlex/icons/radix/lap_timer.rb +0 -28
- data/lib/phlex/icons/radix/laptop.rb +0 -28
- data/lib/phlex/icons/radix/layers.rb +0 -28
- data/lib/phlex/icons/radix/layout.rb +0 -28
- data/lib/phlex/icons/radix/letter_case_capitalize.rb +0 -28
- data/lib/phlex/icons/radix/letter_case_lowercase.rb +0 -28
- data/lib/phlex/icons/radix/letter_case_toggle.rb +0 -28
- data/lib/phlex/icons/radix/letter_case_uppercase.rb +0 -28
- data/lib/phlex/icons/radix/letter_spacing.rb +0 -28
- data/lib/phlex/icons/radix/lightning_bolt.rb +0 -28
- data/lib/phlex/icons/radix/line_height.rb +0 -28
- data/lib/phlex/icons/radix/link_1.rb +0 -28
- data/lib/phlex/icons/radix/link_2.rb +0 -28
- data/lib/phlex/icons/radix/link_break_1.rb +0 -28
- data/lib/phlex/icons/radix/link_break_2.rb +0 -28
- data/lib/phlex/icons/radix/link_none_1.rb +0 -28
- data/lib/phlex/icons/radix/link_none_2.rb +0 -28
- data/lib/phlex/icons/radix/linkedin_logo.rb +0 -28
- data/lib/phlex/icons/radix/list_bullet.rb +0 -28
- data/lib/phlex/icons/radix/lock_closed.rb +0 -28
- data/lib/phlex/icons/radix/lock_open_1.rb +0 -28
- data/lib/phlex/icons/radix/lock_open_2.rb +0 -28
- data/lib/phlex/icons/radix/loop.rb +0 -28
- data/lib/phlex/icons/radix/magic_wand.rb +0 -28
- data/lib/phlex/icons/radix/magnifying_glass.rb +0 -28
- data/lib/phlex/icons/radix/margin.rb +0 -28
- data/lib/phlex/icons/radix/mask_off.rb +0 -28
- data/lib/phlex/icons/radix/mask_on.rb +0 -28
- data/lib/phlex/icons/radix/minus.rb +0 -28
- data/lib/phlex/icons/radix/minus_circled.rb +0 -28
- data/lib/phlex/icons/radix/mix.rb +0 -28
- data/lib/phlex/icons/radix/mixer_horizontal.rb +0 -28
- data/lib/phlex/icons/radix/mixer_vertical.rb +0 -28
- data/lib/phlex/icons/radix/mobile.rb +0 -28
- data/lib/phlex/icons/radix/modulz_logo.rb +0 -28
- data/lib/phlex/icons/radix/moon.rb +0 -28
- data/lib/phlex/icons/radix/move.rb +0 -28
- data/lib/phlex/icons/radix/notion_logo.rb +0 -26
- data/lib/phlex/icons/radix/opacity.rb +0 -28
- data/lib/phlex/icons/radix/open_in_new_window.rb +0 -28
- data/lib/phlex/icons/radix/overline.rb +0 -28
- data/lib/phlex/icons/radix/padding.rb +0 -28
- data/lib/phlex/icons/radix/paper_plane.rb +0 -28
- data/lib/phlex/icons/radix/pause.rb +0 -28
- data/lib/phlex/icons/radix/pencil_1.rb +0 -28
- data/lib/phlex/icons/radix/pencil_2.rb +0 -28
- data/lib/phlex/icons/radix/person.rb +0 -28
- data/lib/phlex/icons/radix/pie_chart.rb +0 -28
- data/lib/phlex/icons/radix/pilcrow.rb +0 -28
- data/lib/phlex/icons/radix/pin_bottom.rb +0 -28
- data/lib/phlex/icons/radix/pin_left.rb +0 -28
- data/lib/phlex/icons/radix/pin_right.rb +0 -28
- data/lib/phlex/icons/radix/pin_top.rb +0 -28
- data/lib/phlex/icons/radix/play.rb +0 -28
- data/lib/phlex/icons/radix/plus.rb +0 -28
- data/lib/phlex/icons/radix/plus_circled.rb +0 -28
- data/lib/phlex/icons/radix/question_mark.rb +0 -28
- data/lib/phlex/icons/radix/question_mark_circled.rb +0 -28
- data/lib/phlex/icons/radix/quote.rb +0 -28
- data/lib/phlex/icons/radix/radiobutton.rb +0 -28
- data/lib/phlex/icons/radix/reader.rb +0 -28
- data/lib/phlex/icons/radix/reload.rb +0 -28
- data/lib/phlex/icons/radix/reset.rb +0 -28
- data/lib/phlex/icons/radix/resume.rb +0 -28
- data/lib/phlex/icons/radix/rocket.rb +0 -28
- data/lib/phlex/icons/radix/rotate_counter_clockwise.rb +0 -28
- data/lib/phlex/icons/radix/row_spacing.rb +0 -28
- data/lib/phlex/icons/radix/rows.rb +0 -28
- data/lib/phlex/icons/radix/ruler_horizontal.rb +0 -28
- data/lib/phlex/icons/radix/ruler_square.rb +0 -28
- data/lib/phlex/icons/radix/scissors.rb +0 -28
- data/lib/phlex/icons/radix/section.rb +0 -28
- data/lib/phlex/icons/radix/sewing_pin.rb +0 -28
- data/lib/phlex/icons/radix/sewing_pin_filled.rb +0 -28
- data/lib/phlex/icons/radix/shadow.rb +0 -108
- data/lib/phlex/icons/radix/shadow_inner.rb +0 -108
- data/lib/phlex/icons/radix/shadow_none.rb +0 -108
- data/lib/phlex/icons/radix/shadow_outer.rb +0 -68
- data/lib/phlex/icons/radix/share_1.rb +0 -28
- data/lib/phlex/icons/radix/share_2.rb +0 -28
- data/lib/phlex/icons/radix/shuffle.rb +0 -28
- data/lib/phlex/icons/radix/size.rb +0 -28
- data/lib/phlex/icons/radix/sketch_logo.rb +0 -28
- data/lib/phlex/icons/radix/slash.rb +0 -25
- data/lib/phlex/icons/radix/slider.rb +0 -28
- data/lib/phlex/icons/radix/space_between_horizontally.rb +0 -28
- data/lib/phlex/icons/radix/space_between_vertically.rb +0 -28
- data/lib/phlex/icons/radix/space_evenly_horizontally.rb +0 -28
- data/lib/phlex/icons/radix/space_evenly_vertically.rb +0 -28
- data/lib/phlex/icons/radix/speaker_loud.rb +0 -28
- data/lib/phlex/icons/radix/speaker_moderate.rb +0 -28
- data/lib/phlex/icons/radix/speaker_off.rb +0 -28
- data/lib/phlex/icons/radix/speaker_quiet.rb +0 -28
- data/lib/phlex/icons/radix/square.rb +0 -25
- data/lib/phlex/icons/radix/stack.rb +0 -28
- data/lib/phlex/icons/radix/star.rb +0 -28
- data/lib/phlex/icons/radix/star_filled.rb +0 -26
- data/lib/phlex/icons/radix/stitches_logo.rb +0 -28
- data/lib/phlex/icons/radix/stop.rb +0 -28
- data/lib/phlex/icons/radix/stopwatch.rb +0 -28
- data/lib/phlex/icons/radix/stretch_horizontally.rb +0 -28
- data/lib/phlex/icons/radix/stretch_vertically.rb +0 -28
- data/lib/phlex/icons/radix/strikethrough.rb +0 -28
- data/lib/phlex/icons/radix/sun.rb +0 -28
- data/lib/phlex/icons/radix/switch.rb +0 -28
- data/lib/phlex/icons/radix/symbol.rb +0 -28
- data/lib/phlex/icons/radix/table.rb +0 -28
- data/lib/phlex/icons/radix/target.rb +0 -28
- data/lib/phlex/icons/radix/text.rb +0 -28
- data/lib/phlex/icons/radix/text_align_bottom.rb +0 -28
- data/lib/phlex/icons/radix/text_align_center.rb +0 -28
- data/lib/phlex/icons/radix/text_align_justify.rb +0 -28
- data/lib/phlex/icons/radix/text_align_left.rb +0 -28
- data/lib/phlex/icons/radix/text_align_middle.rb +0 -28
- data/lib/phlex/icons/radix/text_align_right.rb +0 -28
- data/lib/phlex/icons/radix/text_align_top.rb +0 -28
- data/lib/phlex/icons/radix/text_none.rb +0 -28
- data/lib/phlex/icons/radix/thick_arrow_down.rb +0 -28
- data/lib/phlex/icons/radix/thick_arrow_left.rb +0 -28
- data/lib/phlex/icons/radix/thick_arrow_right.rb +0 -28
- data/lib/phlex/icons/radix/thick_arrow_up.rb +0 -28
- data/lib/phlex/icons/radix/timer.rb +0 -28
- data/lib/phlex/icons/radix/tokens.rb +0 -28
- data/lib/phlex/icons/radix/track_next.rb +0 -28
- data/lib/phlex/icons/radix/track_previous.rb +0 -28
- data/lib/phlex/icons/radix/transform.rb +0 -28
- data/lib/phlex/icons/radix/transparency_grid.rb +0 -29
- data/lib/phlex/icons/radix/trash.rb +0 -28
- data/lib/phlex/icons/radix/triangle_down.rb +0 -18
- data/lib/phlex/icons/radix/triangle_left.rb +0 -18
- data/lib/phlex/icons/radix/triangle_right.rb +0 -18
- data/lib/phlex/icons/radix/triangle_up.rb +0 -18
- data/lib/phlex/icons/radix/twitter_logo.rb +0 -28
- data/lib/phlex/icons/radix/underline.rb +0 -28
- data/lib/phlex/icons/radix/update.rb +0 -28
- data/lib/phlex/icons/radix/upload.rb +0 -28
- data/lib/phlex/icons/radix/value.rb +0 -28
- data/lib/phlex/icons/radix/value_none.rb +0 -28
- data/lib/phlex/icons/radix/vercel_logo.rb +0 -28
- data/lib/phlex/icons/radix/video.rb +0 -28
- data/lib/phlex/icons/radix/view_grid.rb +0 -28
- data/lib/phlex/icons/radix/view_horizontal.rb +0 -28
- data/lib/phlex/icons/radix/view_none.rb +0 -28
- data/lib/phlex/icons/radix/view_vertical.rb +0 -28
- data/lib/phlex/icons/radix/width.rb +0 -28
- data/lib/phlex/icons/radix/zoom_in.rb +0 -28
- data/lib/phlex/icons/radix/zoom_out.rb +0 -28
- data/lib/phlex/icons/radix.rb +0 -335
- data/lib/phlex/icons/version.rb +0 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 27c507397ea1d3d76acd95514acfcc59037a2a116adeab5b2da116f37c8ca799
|
4
|
+
data.tar.gz: 6200f27866b104be5507bdd9ee5cd96c5da3d2fc1af50d99a46191e677d4d7ef
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
#
|
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
|
-
|
61
|
+
PhlexIcons.configure do |config|
|
62
62
|
config.default_classes = 'size-6'
|
63
63
|
end
|
64
64
|
|
65
65
|
# OR
|
66
66
|
|
67
|
-
|
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
|
-
|
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
|
-
|
83
|
+
PhlexIcons::Flag.configuration.default_variant = :square # or :rectangle
|
84
84
|
```
|
85
85
|
|
86
86
|
### Heroicons configuration
|
87
87
|
|
88
88
|
```ruby
|
89
|
-
|
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
|
-
|
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
|
-
|
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
|
-
|
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
|
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
|
155
|
-
render
|
156
|
-
render
|
157
|
-
render
|
158
|
-
render
|
159
|
-
render
|
160
|
-
render
|
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
|
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
|
189
|
-
render
|
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
|
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
|
201
|
-
|
202
|
-
module
|
203
|
-
module
|
204
|
-
|
205
|
-
|
206
|
-
|
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 `
|
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
|
216
|
+
# app/views/components/phlex-icons/custom.rb
|
219
217
|
|
220
|
-
module
|
221
|
-
module
|
222
|
-
|
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 `
|
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
|
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).
|
data/generators/bootstrap.rb
CHANGED
@@ -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
|
8
|
-
ICONS_PACK_PATH = 'lib/phlex
|
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
|
15
|
-
module
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
8
|
-
ICONS_PACK_PATH = 'lib/phlex
|
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
|
15
|
-
module
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
-
"
|
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
|
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
|
8
|
-
ICONS_PACK_PATH = 'lib/phlex
|
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
|
15
|
-
module
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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
|
8
|
-
ICONS_PACK_PATH = 'lib/phlex
|
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
|
15
|
-
module
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
8
|
-
ICONS_PACK_PATH = 'lib/phlex
|
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
|
15
|
-
module
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
8
|
-
ICONS_PACK_PATH = 'lib/phlex
|
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
|
15
|
-
module
|
16
|
-
|
17
|
-
|
18
|
-
|
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
|
8
|
-
ICONS_PACK_PATH = 'lib/phlex
|
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
|
15
|
-
module
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
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,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
|