phlex-icons-radix 0.17.0 → 1.0.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 +22 -18
- data/generators/bootstrap.rb +1 -1
- data/generators/flag.rb +1 -1
- data/generators/hero.rb +1 -1
- data/generators/lucide.rb +1 -1
- data/generators/radix.rb +1 -1
- data/generators/remix.rb +1 -1
- data/generators/tabler.rb +1 -1
- data/lib/phlex/icons/base.rb +4 -3
- data/lib/phlex/icons/radix/accessibility.rb +1 -1
- data/lib/phlex/icons/radix/activity_log.rb +1 -1
- data/lib/phlex/icons/radix/align_baseline.rb +1 -1
- data/lib/phlex/icons/radix/align_bottom.rb +1 -1
- data/lib/phlex/icons/radix/align_center_horizontally.rb +1 -1
- data/lib/phlex/icons/radix/align_center_vertically.rb +1 -1
- data/lib/phlex/icons/radix/align_left.rb +1 -1
- data/lib/phlex/icons/radix/align_right.rb +1 -1
- data/lib/phlex/icons/radix/align_top.rb +1 -1
- data/lib/phlex/icons/radix/all_sides.rb +1 -1
- data/lib/phlex/icons/radix/angle.rb +1 -1
- data/lib/phlex/icons/radix/archive.rb +1 -1
- data/lib/phlex/icons/radix/arrow_bottom_left.rb +1 -1
- data/lib/phlex/icons/radix/arrow_bottom_right.rb +1 -1
- data/lib/phlex/icons/radix/arrow_down.rb +1 -1
- data/lib/phlex/icons/radix/arrow_left.rb +1 -1
- data/lib/phlex/icons/radix/arrow_right.rb +1 -1
- data/lib/phlex/icons/radix/arrow_top_left.rb +1 -1
- data/lib/phlex/icons/radix/arrow_top_right.rb +1 -1
- data/lib/phlex/icons/radix/arrow_up.rb +1 -1
- data/lib/phlex/icons/radix/aspect_ratio.rb +1 -1
- data/lib/phlex/icons/radix/avatar.rb +1 -1
- data/lib/phlex/icons/radix/backpack.rb +1 -1
- data/lib/phlex/icons/radix/badge.rb +1 -1
- data/lib/phlex/icons/radix/bar_chart.rb +1 -1
- data/lib/phlex/icons/radix/base.rb +2 -2
- data/lib/phlex/icons/radix/bell.rb +1 -1
- data/lib/phlex/icons/radix/blending_mode.rb +1 -1
- data/lib/phlex/icons/radix/bookmark.rb +1 -1
- data/lib/phlex/icons/radix/bookmark_filled.rb +1 -1
- data/lib/phlex/icons/radix/border_all.rb +1 -1
- data/lib/phlex/icons/radix/border_bottom.rb +1 -1
- data/lib/phlex/icons/radix/border_dashed.rb +1 -1
- data/lib/phlex/icons/radix/border_dotted.rb +1 -1
- data/lib/phlex/icons/radix/border_left.rb +1 -1
- data/lib/phlex/icons/radix/border_none.rb +1 -1
- data/lib/phlex/icons/radix/border_right.rb +1 -1
- data/lib/phlex/icons/radix/border_solid.rb +1 -1
- data/lib/phlex/icons/radix/border_split.rb +1 -1
- data/lib/phlex/icons/radix/border_style.rb +1 -1
- data/lib/phlex/icons/radix/border_top.rb +1 -1
- data/lib/phlex/icons/radix/border_width.rb +1 -1
- data/lib/phlex/icons/radix/box.rb +1 -1
- data/lib/phlex/icons/radix/box_model.rb +1 -1
- data/lib/phlex/icons/radix/button.rb +1 -1
- data/lib/phlex/icons/radix/calendar.rb +1 -1
- data/lib/phlex/icons/radix/camera.rb +1 -1
- data/lib/phlex/icons/radix/card_stack.rb +1 -1
- data/lib/phlex/icons/radix/card_stack_minus.rb +1 -1
- data/lib/phlex/icons/radix/card_stack_plus.rb +1 -1
- data/lib/phlex/icons/radix/caret_down.rb +1 -1
- data/lib/phlex/icons/radix/caret_left.rb +1 -1
- data/lib/phlex/icons/radix/caret_right.rb +1 -1
- data/lib/phlex/icons/radix/caret_sort.rb +1 -1
- data/lib/phlex/icons/radix/caret_up.rb +1 -1
- data/lib/phlex/icons/radix/chat_bubble.rb +1 -1
- data/lib/phlex/icons/radix/check.rb +1 -1
- data/lib/phlex/icons/radix/check_circled.rb +1 -1
- data/lib/phlex/icons/radix/checkbox.rb +1 -1
- data/lib/phlex/icons/radix/chevron_down.rb +1 -1
- data/lib/phlex/icons/radix/chevron_left.rb +1 -1
- data/lib/phlex/icons/radix/chevron_right.rb +1 -1
- data/lib/phlex/icons/radix/chevron_up.rb +1 -1
- data/lib/phlex/icons/radix/circle.rb +1 -1
- data/lib/phlex/icons/radix/circle_backslash.rb +1 -1
- data/lib/phlex/icons/radix/clipboard.rb +1 -1
- data/lib/phlex/icons/radix/clipboard_copy.rb +1 -1
- data/lib/phlex/icons/radix/clock.rb +1 -1
- data/lib/phlex/icons/radix/code.rb +1 -1
- data/lib/phlex/icons/radix/codesandbox_logo.rb +1 -1
- data/lib/phlex/icons/radix/color_wheel.rb +1 -1
- data/lib/phlex/icons/radix/column_spacing.rb +1 -1
- data/lib/phlex/icons/radix/columns.rb +1 -1
- data/lib/phlex/icons/radix/commit.rb +1 -1
- data/lib/phlex/icons/radix/component_1.rb +1 -1
- data/lib/phlex/icons/radix/component_2.rb +1 -1
- data/lib/phlex/icons/radix/component_boolean.rb +1 -1
- data/lib/phlex/icons/radix/component_instance.rb +1 -1
- data/lib/phlex/icons/radix/component_none.rb +1 -1
- data/lib/phlex/icons/radix/component_placeholder.rb +1 -1
- data/lib/phlex/icons/radix/container.rb +1 -1
- data/lib/phlex/icons/radix/cookie.rb +1 -1
- data/lib/phlex/icons/radix/copy.rb +1 -1
- data/lib/phlex/icons/radix/corner_bottom_left.rb +1 -1
- data/lib/phlex/icons/radix/corner_bottom_right.rb +1 -1
- data/lib/phlex/icons/radix/corner_top_left.rb +1 -1
- data/lib/phlex/icons/radix/corner_top_right.rb +1 -1
- data/lib/phlex/icons/radix/corners.rb +1 -1
- data/lib/phlex/icons/radix/countdown_timer.rb +1 -1
- data/lib/phlex/icons/radix/counter_clockwise_clock.rb +1 -1
- data/lib/phlex/icons/radix/crop.rb +1 -1
- data/lib/phlex/icons/radix/cross_1.rb +1 -1
- data/lib/phlex/icons/radix/cross_2.rb +1 -1
- data/lib/phlex/icons/radix/cross_circled.rb +1 -1
- data/lib/phlex/icons/radix/crosshair_1.rb +1 -1
- data/lib/phlex/icons/radix/crosshair_2.rb +1 -1
- data/lib/phlex/icons/radix/crumpled_paper.rb +1 -1
- data/lib/phlex/icons/radix/cube.rb +1 -1
- data/lib/phlex/icons/radix/cursor_arrow.rb +1 -1
- data/lib/phlex/icons/radix/cursor_text.rb +1 -1
- data/lib/phlex/icons/radix/dash.rb +1 -1
- data/lib/phlex/icons/radix/dashboard.rb +1 -1
- data/lib/phlex/icons/radix/desktop.rb +1 -1
- data/lib/phlex/icons/radix/dimensions.rb +1 -1
- data/lib/phlex/icons/radix/disc.rb +1 -1
- data/lib/phlex/icons/radix/discord_logo.rb +1 -1
- data/lib/phlex/icons/radix/divider_horizontal.rb +1 -1
- data/lib/phlex/icons/radix/divider_vertical.rb +1 -1
- data/lib/phlex/icons/radix/dot.rb +1 -1
- data/lib/phlex/icons/radix/dot_filled.rb +1 -1
- data/lib/phlex/icons/radix/dots_horizontal.rb +1 -1
- data/lib/phlex/icons/radix/dots_vertical.rb +1 -1
- data/lib/phlex/icons/radix/double_arrow_down.rb +1 -1
- data/lib/phlex/icons/radix/double_arrow_left.rb +1 -1
- data/lib/phlex/icons/radix/double_arrow_right.rb +1 -1
- data/lib/phlex/icons/radix/double_arrow_up.rb +1 -1
- data/lib/phlex/icons/radix/download.rb +1 -1
- data/lib/phlex/icons/radix/drag_handle_dots_1.rb +1 -1
- data/lib/phlex/icons/radix/drag_handle_dots_2.rb +1 -1
- data/lib/phlex/icons/radix/drag_handle_horizontal.rb +1 -1
- data/lib/phlex/icons/radix/drag_handle_vertical.rb +1 -1
- data/lib/phlex/icons/radix/drawing_pin.rb +1 -1
- data/lib/phlex/icons/radix/drawing_pin_filled.rb +1 -1
- data/lib/phlex/icons/radix/dropdown_menu.rb +1 -1
- data/lib/phlex/icons/radix/enter.rb +1 -1
- data/lib/phlex/icons/radix/enter_full_screen.rb +1 -1
- data/lib/phlex/icons/radix/envelope_closed.rb +1 -1
- data/lib/phlex/icons/radix/envelope_open.rb +1 -1
- data/lib/phlex/icons/radix/eraser.rb +1 -1
- data/lib/phlex/icons/radix/exclamation_triangle.rb +1 -1
- data/lib/phlex/icons/radix/exit.rb +1 -1
- data/lib/phlex/icons/radix/exit_full_screen.rb +1 -1
- data/lib/phlex/icons/radix/external_link.rb +1 -1
- data/lib/phlex/icons/radix/eye_closed.rb +1 -1
- data/lib/phlex/icons/radix/eye_none.rb +1 -1
- data/lib/phlex/icons/radix/eye_open.rb +1 -1
- data/lib/phlex/icons/radix/face.rb +1 -1
- data/lib/phlex/icons/radix/figma_logo.rb +1 -1
- data/lib/phlex/icons/radix/file.rb +1 -1
- data/lib/phlex/icons/radix/file_minus.rb +1 -1
- data/lib/phlex/icons/radix/file_plus.rb +1 -1
- data/lib/phlex/icons/radix/file_text.rb +1 -1
- data/lib/phlex/icons/radix/font_bold.rb +1 -1
- data/lib/phlex/icons/radix/font_family.rb +1 -1
- data/lib/phlex/icons/radix/font_italic.rb +1 -1
- data/lib/phlex/icons/radix/font_roman.rb +1 -1
- data/lib/phlex/icons/radix/font_size.rb +1 -1
- data/lib/phlex/icons/radix/font_style.rb +1 -1
- data/lib/phlex/icons/radix/frame.rb +1 -1
- data/lib/phlex/icons/radix/framer_logo.rb +1 -1
- data/lib/phlex/icons/radix/gear.rb +1 -1
- data/lib/phlex/icons/radix/github_logo.rb +1 -1
- data/lib/phlex/icons/radix/globe.rb +1 -1
- data/lib/phlex/icons/radix/grid.rb +1 -1
- data/lib/phlex/icons/radix/group.rb +1 -1
- data/lib/phlex/icons/radix/half_1.rb +1 -1
- data/lib/phlex/icons/radix/half_2.rb +1 -1
- data/lib/phlex/icons/radix/hamburger_menu.rb +1 -1
- data/lib/phlex/icons/radix/hand.rb +1 -1
- data/lib/phlex/icons/radix/heading.rb +1 -1
- data/lib/phlex/icons/radix/heart.rb +1 -1
- data/lib/phlex/icons/radix/heart_filled.rb +1 -1
- data/lib/phlex/icons/radix/height.rb +1 -1
- data/lib/phlex/icons/radix/hobby_knife.rb +1 -1
- data/lib/phlex/icons/radix/home.rb +1 -1
- data/lib/phlex/icons/radix/iconjar_logo.rb +1 -1
- data/lib/phlex/icons/radix/id_card.rb +1 -1
- data/lib/phlex/icons/radix/image.rb +1 -1
- data/lib/phlex/icons/radix/info_circled.rb +1 -1
- data/lib/phlex/icons/radix/input.rb +1 -1
- data/lib/phlex/icons/radix/instagram_logo.rb +1 -1
- data/lib/phlex/icons/radix/keyboard.rb +1 -1
- data/lib/phlex/icons/radix/lap_timer.rb +1 -1
- data/lib/phlex/icons/radix/laptop.rb +1 -1
- data/lib/phlex/icons/radix/layers.rb +1 -1
- data/lib/phlex/icons/radix/layout.rb +1 -1
- data/lib/phlex/icons/radix/letter_case_capitalize.rb +1 -1
- data/lib/phlex/icons/radix/letter_case_lowercase.rb +1 -1
- data/lib/phlex/icons/radix/letter_case_toggle.rb +1 -1
- data/lib/phlex/icons/radix/letter_case_uppercase.rb +1 -1
- data/lib/phlex/icons/radix/letter_spacing.rb +1 -1
- data/lib/phlex/icons/radix/lightning_bolt.rb +1 -1
- data/lib/phlex/icons/radix/line_height.rb +1 -1
- data/lib/phlex/icons/radix/link_1.rb +1 -1
- data/lib/phlex/icons/radix/link_2.rb +1 -1
- data/lib/phlex/icons/radix/link_break_1.rb +1 -1
- data/lib/phlex/icons/radix/link_break_2.rb +1 -1
- data/lib/phlex/icons/radix/link_none_1.rb +1 -1
- data/lib/phlex/icons/radix/link_none_2.rb +1 -1
- data/lib/phlex/icons/radix/linkedin_logo.rb +1 -1
- data/lib/phlex/icons/radix/list_bullet.rb +1 -1
- data/lib/phlex/icons/radix/lock_closed.rb +1 -1
- data/lib/phlex/icons/radix/lock_open_1.rb +1 -1
- data/lib/phlex/icons/radix/lock_open_2.rb +1 -1
- data/lib/phlex/icons/radix/loop.rb +1 -1
- data/lib/phlex/icons/radix/magic_wand.rb +1 -1
- data/lib/phlex/icons/radix/magnifying_glass.rb +1 -1
- data/lib/phlex/icons/radix/margin.rb +1 -1
- data/lib/phlex/icons/radix/mask_off.rb +1 -1
- data/lib/phlex/icons/radix/mask_on.rb +1 -1
- data/lib/phlex/icons/radix/minus.rb +1 -1
- data/lib/phlex/icons/radix/minus_circled.rb +1 -1
- data/lib/phlex/icons/radix/mix.rb +1 -1
- data/lib/phlex/icons/radix/mixer_horizontal.rb +1 -1
- data/lib/phlex/icons/radix/mixer_vertical.rb +1 -1
- data/lib/phlex/icons/radix/mobile.rb +1 -1
- data/lib/phlex/icons/radix/modulz_logo.rb +1 -1
- data/lib/phlex/icons/radix/moon.rb +1 -1
- data/lib/phlex/icons/radix/move.rb +1 -1
- data/lib/phlex/icons/radix/notion_logo.rb +1 -1
- data/lib/phlex/icons/radix/opacity.rb +1 -1
- data/lib/phlex/icons/radix/open_in_new_window.rb +1 -1
- data/lib/phlex/icons/radix/overline.rb +1 -1
- data/lib/phlex/icons/radix/padding.rb +1 -1
- data/lib/phlex/icons/radix/paper_plane.rb +1 -1
- data/lib/phlex/icons/radix/pause.rb +1 -1
- data/lib/phlex/icons/radix/pencil_1.rb +1 -1
- data/lib/phlex/icons/radix/pencil_2.rb +1 -1
- data/lib/phlex/icons/radix/person.rb +1 -1
- data/lib/phlex/icons/radix/pie_chart.rb +1 -1
- data/lib/phlex/icons/radix/pilcrow.rb +1 -1
- data/lib/phlex/icons/radix/pin_bottom.rb +1 -1
- data/lib/phlex/icons/radix/pin_left.rb +1 -1
- data/lib/phlex/icons/radix/pin_right.rb +1 -1
- data/lib/phlex/icons/radix/pin_top.rb +1 -1
- data/lib/phlex/icons/radix/play.rb +1 -1
- data/lib/phlex/icons/radix/plus.rb +1 -1
- data/lib/phlex/icons/radix/plus_circled.rb +1 -1
- data/lib/phlex/icons/radix/question_mark.rb +1 -1
- data/lib/phlex/icons/radix/question_mark_circled.rb +1 -1
- data/lib/phlex/icons/radix/quote.rb +1 -1
- data/lib/phlex/icons/radix/radiobutton.rb +1 -1
- data/lib/phlex/icons/radix/reader.rb +1 -1
- data/lib/phlex/icons/radix/reload.rb +1 -1
- data/lib/phlex/icons/radix/reset.rb +1 -1
- data/lib/phlex/icons/radix/resume.rb +1 -1
- data/lib/phlex/icons/radix/rocket.rb +1 -1
- data/lib/phlex/icons/radix/rotate_counter_clockwise.rb +1 -1
- data/lib/phlex/icons/radix/row_spacing.rb +1 -1
- data/lib/phlex/icons/radix/rows.rb +1 -1
- data/lib/phlex/icons/radix/ruler_horizontal.rb +1 -1
- data/lib/phlex/icons/radix/ruler_square.rb +1 -1
- data/lib/phlex/icons/radix/scissors.rb +1 -1
- data/lib/phlex/icons/radix/section.rb +1 -1
- data/lib/phlex/icons/radix/sewing_pin.rb +1 -1
- data/lib/phlex/icons/radix/sewing_pin_filled.rb +1 -1
- data/lib/phlex/icons/radix/shadow.rb +1 -1
- data/lib/phlex/icons/radix/shadow_inner.rb +1 -1
- data/lib/phlex/icons/radix/shadow_none.rb +1 -1
- data/lib/phlex/icons/radix/shadow_outer.rb +1 -1
- data/lib/phlex/icons/radix/share_1.rb +1 -1
- data/lib/phlex/icons/radix/share_2.rb +1 -1
- data/lib/phlex/icons/radix/shuffle.rb +1 -1
- data/lib/phlex/icons/radix/size.rb +1 -1
- data/lib/phlex/icons/radix/sketch_logo.rb +1 -1
- data/lib/phlex/icons/radix/slash.rb +1 -1
- data/lib/phlex/icons/radix/slider.rb +1 -1
- data/lib/phlex/icons/radix/space_between_horizontally.rb +1 -1
- data/lib/phlex/icons/radix/space_between_vertically.rb +1 -1
- data/lib/phlex/icons/radix/space_evenly_horizontally.rb +1 -1
- data/lib/phlex/icons/radix/space_evenly_vertically.rb +1 -1
- data/lib/phlex/icons/radix/speaker_loud.rb +1 -1
- data/lib/phlex/icons/radix/speaker_moderate.rb +1 -1
- data/lib/phlex/icons/radix/speaker_off.rb +1 -1
- data/lib/phlex/icons/radix/speaker_quiet.rb +1 -1
- data/lib/phlex/icons/radix/square.rb +1 -1
- data/lib/phlex/icons/radix/stack.rb +1 -1
- data/lib/phlex/icons/radix/star.rb +1 -1
- data/lib/phlex/icons/radix/star_filled.rb +1 -1
- data/lib/phlex/icons/radix/stitches_logo.rb +1 -1
- data/lib/phlex/icons/radix/stop.rb +1 -1
- data/lib/phlex/icons/radix/stopwatch.rb +1 -1
- data/lib/phlex/icons/radix/stretch_horizontally.rb +1 -1
- data/lib/phlex/icons/radix/stretch_vertically.rb +1 -1
- data/lib/phlex/icons/radix/strikethrough.rb +1 -1
- data/lib/phlex/icons/radix/sun.rb +1 -1
- data/lib/phlex/icons/radix/switch.rb +1 -1
- data/lib/phlex/icons/radix/symbol.rb +1 -1
- data/lib/phlex/icons/radix/table.rb +1 -1
- data/lib/phlex/icons/radix/target.rb +1 -1
- data/lib/phlex/icons/radix/text.rb +1 -1
- data/lib/phlex/icons/radix/text_align_bottom.rb +1 -1
- data/lib/phlex/icons/radix/text_align_center.rb +1 -1
- data/lib/phlex/icons/radix/text_align_justify.rb +1 -1
- data/lib/phlex/icons/radix/text_align_left.rb +1 -1
- data/lib/phlex/icons/radix/text_align_middle.rb +1 -1
- data/lib/phlex/icons/radix/text_align_right.rb +1 -1
- data/lib/phlex/icons/radix/text_align_top.rb +1 -1
- data/lib/phlex/icons/radix/text_none.rb +1 -1
- data/lib/phlex/icons/radix/thick_arrow_down.rb +1 -1
- data/lib/phlex/icons/radix/thick_arrow_left.rb +1 -1
- data/lib/phlex/icons/radix/thick_arrow_right.rb +1 -1
- data/lib/phlex/icons/radix/thick_arrow_up.rb +1 -1
- data/lib/phlex/icons/radix/timer.rb +1 -1
- data/lib/phlex/icons/radix/tokens.rb +1 -1
- data/lib/phlex/icons/radix/track_next.rb +1 -1
- data/lib/phlex/icons/radix/track_previous.rb +1 -1
- data/lib/phlex/icons/radix/transform.rb +1 -1
- data/lib/phlex/icons/radix/transparency_grid.rb +1 -1
- data/lib/phlex/icons/radix/trash.rb +1 -1
- data/lib/phlex/icons/radix/triangle_down.rb +1 -1
- data/lib/phlex/icons/radix/triangle_left.rb +1 -1
- data/lib/phlex/icons/radix/triangle_right.rb +1 -1
- data/lib/phlex/icons/radix/triangle_up.rb +1 -1
- data/lib/phlex/icons/radix/twitter_logo.rb +1 -1
- data/lib/phlex/icons/radix/underline.rb +1 -1
- data/lib/phlex/icons/radix/update.rb +1 -1
- data/lib/phlex/icons/radix/upload.rb +1 -1
- data/lib/phlex/icons/radix/value.rb +1 -1
- data/lib/phlex/icons/radix/value_none.rb +1 -1
- data/lib/phlex/icons/radix/vercel_logo.rb +1 -1
- data/lib/phlex/icons/radix/video.rb +1 -1
- data/lib/phlex/icons/radix/view_grid.rb +1 -1
- data/lib/phlex/icons/radix/view_horizontal.rb +1 -1
- data/lib/phlex/icons/radix/view_none.rb +1 -1
- data/lib/phlex/icons/radix/view_vertical.rb +1 -1
- data/lib/phlex/icons/radix/width.rb +1 -1
- data/lib/phlex/icons/radix/zoom_in.rb +1 -1
- data/lib/phlex/icons/radix/zoom_out.rb +1 -1
- data/lib/phlex/icons/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 24ccdd3050cc1715379ba1c70b917cc161dc99e92447b5c14b3d0bc2ea1d198e
|
4
|
+
data.tar.gz: b1afa8949b434b20b78484cfba2741d89da01b5b517e901a463e59c50fd87bf6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 91d3d918042171648e2478f0d025a7344db264171b65d997ca9797de79fd41daa76c861ed1f9ef75097b92f9c8c6e1f8cd2c3b813a85168631ff479ee8dbedb6
|
7
|
+
data.tar.gz: f18510e0cd7a06c7b7fe3a34b3940f90ee66dd1c7be5d2a4110af341a74a6b4fd8822c30dcd7299b3395636ae7cbeb196ec7d6855c725307eaa604087b0edf0f
|
data/README.md
CHANGED
@@ -131,13 +131,13 @@ class PhlexIcons < Phlex::HTML
|
|
131
131
|
|
132
132
|
def view_template
|
133
133
|
div do
|
134
|
-
Bootstrap::House(
|
135
|
-
Flag::Sa(variant: :rectangle,
|
136
|
-
Hero::Home(variant: :solid,
|
137
|
-
Lucide::House(
|
138
|
-
Radix::Home(
|
139
|
-
Remix::HomeLine(
|
140
|
-
Tabler::Home(variant: :filled,
|
134
|
+
Bootstrap::House(class: 'size-4')
|
135
|
+
Flag::Sa(variant: :rectangle, class: 'size-4')
|
136
|
+
Hero::Home(variant: :solid, class: 'size-4')
|
137
|
+
Lucide::House(class: 'size-4')
|
138
|
+
Radix::Home(class: 'size-4')
|
139
|
+
Remix::HomeLine(class: 'size-4')
|
140
|
+
Tabler::Home(variant: :filled, class: 'size-4')
|
141
141
|
end
|
142
142
|
end
|
143
143
|
end
|
@@ -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(
|
155
|
-
render Phlex::Icons::Flag::Sa.new(variant: :rectangle,
|
156
|
-
render Phlex::Icons::Hero::Home.new(variant: :solid,
|
157
|
-
render Phlex::Icons::Lucide::House.new(
|
158
|
-
render Phlex::Icons::Radix::Home.new(
|
159
|
-
render Phlex::Icons::Remix::HomeLine.new(
|
160
|
-
render Phlex::Icons::Tabler::Home.new(variant: :filled,
|
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')
|
161
161
|
end
|
162
162
|
end
|
163
163
|
end
|
@@ -181,12 +181,12 @@ class PhlexIcons < Phlex::HTML
|
|
181
181
|
def view_template
|
182
182
|
div do
|
183
183
|
# With Phlex::Kit.
|
184
|
-
Flag::Sa(variant: :rectangle,
|
185
|
-
Hero::Home(variant: :solid,
|
184
|
+
Flag::Sa(variant: :rectangle, class: 'size-4')
|
185
|
+
Hero::Home(variant: :solid, class: 'size-4')
|
186
186
|
|
187
187
|
# Without Phlex::Kit.
|
188
|
-
render Phlex::Icons::Flag::Sa.new(variant: :rectangle,
|
189
|
-
render Phlex::Icons::Hero::Home.new(variant: :solid,
|
188
|
+
render Phlex::Icons::Flag::Sa.new(variant: :rectangle, class: 'size-4')
|
189
|
+
render Phlex::Icons::Hero::Home.new(variant: :solid, class: 'size-4')
|
190
190
|
end
|
191
191
|
end
|
192
192
|
end
|
@@ -232,6 +232,10 @@ Now, you can use your custom icons like any other icon pack as described above.
|
|
232
232
|
|
233
233
|
All icon packs provided in this gem are auto-generated by their generator under [`generators`](/generators) directory. You just need to clone the repo and run the generator for the icon pack you want to update. Also, there is a GitHub Action that will run the generator for all icon packs and update the gem weekly on each Friday.
|
234
234
|
|
235
|
+
## What is the icon pack version used in the gem?
|
236
|
+
|
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`.
|
238
|
+
|
235
239
|
## Development
|
236
240
|
|
237
241
|
After checking out the repo, open it in VSCode and click `Reopen in Container` to start a development container. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
|
data/generators/bootstrap.rb
CHANGED
data/generators/flag.rb
CHANGED
@@ -58,7 +58,7 @@ def read_and_convert_icon(icon_file_path)
|
|
58
58
|
.sub(/id="flag-icons-[^"]*"/, '')
|
59
59
|
|
60
60
|
Phlexing::Converter.convert(icon_file_content)
|
61
|
-
.sub('svg(', "svg(\
|
61
|
+
.sub('svg(', "svg(\n**attrs,")
|
62
62
|
.sub('xmlns:xlink:', '"xmlns:xlink":')
|
63
63
|
.gsub('xlink:href:', '"xlink:href":')
|
64
64
|
end
|
data/generators/hero.rb
CHANGED
@@ -55,7 +55,7 @@ end
|
|
55
55
|
|
56
56
|
def read_and_convert_icon(icon_file_path)
|
57
57
|
icon_file_content = File.read(icon_file_path)
|
58
|
-
Phlexing::Converter.convert(icon_file_content).sub('svg(', "svg(\
|
58
|
+
Phlexing::Converter.convert(icon_file_content).sub('svg(', "svg(\n**attrs,")
|
59
59
|
end
|
60
60
|
|
61
61
|
def solid_icon_file_path(icon_file_name)
|
data/generators/lucide.rb
CHANGED
data/generators/radix.rb
CHANGED
data/generators/remix.rb
CHANGED
@@ -57,7 +57,7 @@ def read_and_convert_icon(icon_file_path)
|
|
57
57
|
icon_file_content = File.read(icon_file_path)
|
58
58
|
|
59
59
|
Phlexing::Converter.convert(icon_file_content)
|
60
|
-
.sub('svg(', "svg(\
|
60
|
+
.sub('svg(', "svg(\n**attrs,")
|
61
61
|
end
|
62
62
|
|
63
63
|
main if __FILE__ == $PROGRAM_NAME
|
data/generators/tabler.rb
CHANGED
@@ -61,7 +61,7 @@ def read_and_convert_icon(icon_file_path)
|
|
61
61
|
.sub('width="24"', '')
|
62
62
|
.sub('height="24"', '')
|
63
63
|
|
64
|
-
Phlexing::Converter.convert(icon_file_content).sub('svg(', "svg(\
|
64
|
+
Phlexing::Converter.convert(icon_file_content).sub('svg(', "svg(\n**attrs,")
|
65
65
|
end
|
66
66
|
|
67
67
|
def filled_icon_file_path(icon_file_name)
|
data/lib/phlex/icons/base.rb
CHANGED
@@ -3,10 +3,11 @@
|
|
3
3
|
module Phlex
|
4
4
|
module Icons
|
5
5
|
class Base < Phlex::SVG
|
6
|
-
attr_reader :
|
6
|
+
attr_reader :attrs
|
7
7
|
|
8
|
-
def initialize(
|
9
|
-
@
|
8
|
+
def initialize(**attrs)
|
9
|
+
@attrs = attrs
|
10
|
+
attrs[:class] ||= Phlex::Icons.configuration.default_classes
|
10
11
|
|
11
12
|
super()
|
12
13
|
end
|