From 771d82032c71459c1f23686a8c17775e1799b6fa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dani=C3=ABlle=20Huisman?= Date: Mon, 6 Jan 2025 19:52:00 +0100 Subject: [PATCH] Update Radix Icons (#423) --- Cargo.lock | 167 ++ Cargo.toml | 3 +- README.md | 5 +- book-examples/dioxus/icons/Cargo.toml | 21 + book-examples/dioxus/icons/Trunk.toml | 7 + book-examples/dioxus/icons/index.html | 14 + book-examples/dioxus/icons/main.js | 13 + book-examples/dioxus/icons/src/app.rs | 20 + book-examples/dioxus/icons/src/icons.rs | 2279 +++++++++++++++++ book-examples/dioxus/icons/src/main.rs | 13 + book-examples/dioxus/icons/style/tailwind.css | 3 + book-examples/dioxus/icons/tailwind.config.js | 12 + book-examples/dioxus/primitives/index.html | 1 + book-examples/leptos/icons/Cargo.toml | 5 +- book-examples/leptos/icons/src/app.rs | 18 +- book-examples/leptos/icons/src/icons.rs | 2008 ++++++--------- book-examples/leptos/icons/src/main.rs | 4 +- book-examples/yew/icons/src/app.rs | 4 +- book-examples/yew/icons/src/icons.rs | 1125 +++++--- .../yew/themes/src/icon_button/icon_button.rs | 2 +- .../src/icon_button/icon_button_color.rs | 8 +- .../icon_button/icon_button_high_contrast.rs | 20 +- .../src/icon_button/icon_button_loading.rs | 10 +- .../src/icon_button/icon_button_radius.rs | 10 +- .../src/icon_button/icon_button_size.rs | 6 +- .../src/icon_button/icon_button_variant.rs | 10 +- .../icon_button/icon_button_variant_ghost.rs | 2 +- .../yew/themes/src/text_field/text_field.rs | 2 +- .../src/text_field/text_field_size_buttons.rs | 10 +- book/src/icons/README.md | 62 +- book/src/introduction.md | 7 +- packages/icons/dioxus/README.md | 21 + .../icons/dioxus/src/accessibility_icon.rs | 30 + .../icons/dioxus/src/activity_log_icon.rs | 30 + .../icons/dioxus/src/align_baseline_icon.rs | 30 + .../icons/dioxus/src/align_bottom_icon.rs | 30 + .../src/align_center_horizontally_icon.rs | 30 + .../src/align_center_vertically_icon.rs | 30 + packages/icons/dioxus/src/align_left_icon.rs | 30 + packages/icons/dioxus/src/align_right_icon.rs | 30 + packages/icons/dioxus/src/align_top_icon.rs | 30 + packages/icons/dioxus/src/all_sides_icon.rs | 30 + packages/icons/dioxus/src/angle_icon.rs | 30 + packages/icons/dioxus/src/archive_icon.rs | 30 + .../dioxus/src/arrow_bottom_left_icon.rs | 30 + .../dioxus/src/arrow_bottom_right_icon.rs | 30 + packages/icons/dioxus/src/arrow_down_icon.rs | 30 + packages/icons/dioxus/src/arrow_left_icon.rs | 30 + packages/icons/dioxus/src/arrow_right_icon.rs | 30 + .../icons/dioxus/src/arrow_top_left_icon.rs | 30 + .../icons/dioxus/src/arrow_top_right_icon.rs | 30 + packages/icons/dioxus/src/arrow_up_icon.rs | 30 + .../icons/dioxus/src/aspect_ratio_icon.rs | 30 + packages/icons/dioxus/src/avatar_icon.rs | 30 + packages/icons/dioxus/src/backpack_icon.rs | 30 + packages/icons/dioxus/src/badge_icon.rs | 30 + packages/icons/dioxus/src/bar_chart_icon.rs | 30 + packages/icons/dioxus/src/bell_icon.rs | 30 + .../icons/dioxus/src/blending_mode_icon.rs | 30 + .../icons/dioxus/src/bookmark_filled_icon.rs | 30 + packages/icons/dioxus/src/bookmark_icon.rs | 30 + packages/icons/dioxus/src/border_all_icon.rs | 102 + .../icons/dioxus/src/border_bottom_icon.rs | 238 ++ .../icons/dioxus/src/border_dashed_icon.rs | 30 + .../icons/dioxus/src/border_dotted_icon.rs | 30 + packages/icons/dioxus/src/border_left_icon.rs | 264 ++ packages/icons/dioxus/src/border_none_icon.rs | 288 +++ .../icons/dioxus/src/border_right_icon.rs | 212 ++ .../icons/dioxus/src/border_solid_icon.rs | 30 + .../icons/dioxus/src/border_split_icon.rs | 134 + .../icons/dioxus/src/border_style_icon.rs | 30 + packages/icons/dioxus/src/border_top_icon.rs | 264 ++ .../icons/dioxus/src/border_width_icon.rs | 30 + packages/icons/dioxus/src/box_icon.rs | 30 + packages/icons/dioxus/src/box_model_icon.rs | 30 + packages/icons/dioxus/src/button_icon.rs | 30 + packages/icons/dioxus/src/calendar_icon.rs | 30 + packages/icons/dioxus/src/camera_icon.rs | 30 + packages/icons/dioxus/src/card_stack_icon.rs | 30 + .../icons/dioxus/src/card_stack_minus_icon.rs | 30 + .../icons/dioxus/src/card_stack_plus_icon.rs | 30 + packages/icons/dioxus/src/caret_down_icon.rs | 30 + packages/icons/dioxus/src/caret_left_icon.rs | 30 + packages/icons/dioxus/src/caret_right_icon.rs | 30 + packages/icons/dioxus/src/caret_sort_icon.rs | 30 + packages/icons/dioxus/src/caret_up_icon.rs | 30 + packages/icons/dioxus/src/chat_bubble_icon.rs | 30 + .../icons/dioxus/src/check_circled_icon.rs | 30 + packages/icons/dioxus/src/check_icon.rs | 30 + packages/icons/dioxus/src/checkbox_icon.rs | 30 + .../icons/dioxus/src/chevron_down_icon.rs | 30 + .../icons/dioxus/src/chevron_left_icon.rs | 30 + .../icons/dioxus/src/chevron_right_icon.rs | 30 + packages/icons/dioxus/src/chevron_up_icon.rs | 30 + .../icons/dioxus/src/circle_backslash_icon.rs | 30 + packages/icons/dioxus/src/circle_icon.rs | 30 + .../icons/dioxus/src/clipboard_copy_icon.rs | 30 + packages/icons/dioxus/src/clipboard_icon.rs | 30 + packages/icons/dioxus/src/clock_icon.rs | 30 + packages/icons/dioxus/src/code_icon.rs | 30 + .../icons/dioxus/src/codesandbox_logo_icon.rs | 30 + packages/icons/dioxus/src/color_wheel_icon.rs | 30 + .../icons/dioxus/src/column_spacing_icon.rs | 30 + packages/icons/dioxus/src/columns_icon.rs | 30 + packages/icons/dioxus/src/commit_icon.rs | 30 + packages/icons/dioxus/src/component_1_icon.rs | 30 + packages/icons/dioxus/src/component_2_icon.rs | 30 + .../dioxus/src/component_boolean_icon.rs | 30 + .../dioxus/src/component_instance_icon.rs | 30 + .../icons/dioxus/src/component_none_icon.rs | 30 + .../dioxus/src/component_placeholder_icon.rs | 34 + packages/icons/dioxus/src/container_icon.rs | 30 + packages/icons/dioxus/src/cookie_icon.rs | 30 + packages/icons/dioxus/src/copy_icon.rs | 30 + .../dioxus/src/corner_bottom_left_icon.rs | 30 + .../dioxus/src/corner_bottom_right_icon.rs | 30 + .../icons/dioxus/src/corner_top_left_icon.rs | 30 + .../icons/dioxus/src/corner_top_right_icon.rs | 30 + packages/icons/dioxus/src/corners_icon.rs | 30 + .../icons/dioxus/src/countdown_timer_icon.rs | 30 + .../src/counter_clockwise_clock_icon.rs | 30 + packages/icons/dioxus/src/crop_icon.rs | 30 + packages/icons/dioxus/src/cross_1_icon.rs | 30 + packages/icons/dioxus/src/cross_2_icon.rs | 30 + .../icons/dioxus/src/cross_circled_icon.rs | 30 + packages/icons/dioxus/src/crosshair_1_icon.rs | 30 + packages/icons/dioxus/src/crosshair_2_icon.rs | 30 + .../icons/dioxus/src/crumpled_paper_icon.rs | 30 + packages/icons/dioxus/src/cube_icon.rs | 30 + .../icons/dioxus/src/cursor_arrow_icon.rs | 30 + packages/icons/dioxus/src/cursor_text_icon.rs | 30 + packages/icons/dioxus/src/dash_icon.rs | 30 + packages/icons/dioxus/src/dashboard_icon.rs | 30 + packages/icons/dioxus/src/desktop_icon.rs | 30 + packages/icons/dioxus/src/dimensions_icon.rs | 30 + packages/icons/dioxus/src/disc_icon.rs | 30 + .../icons/dioxus/src/discord_logo_icon.rs | 30 + .../dioxus/src/divider_horizontal_icon.rs | 30 + .../icons/dioxus/src/divider_vertical_icon.rs | 30 + packages/icons/dioxus/src/dot_filled_icon.rs | 28 + packages/icons/dioxus/src/dot_icon.rs | 30 + .../icons/dioxus/src/dots_horizontal_icon.rs | 30 + .../icons/dioxus/src/dots_vertical_icon.rs | 30 + .../dioxus/src/double_arrow_down_icon.rs | 30 + .../dioxus/src/double_arrow_left_icon.rs | 30 + .../dioxus/src/double_arrow_right_icon.rs | 30 + .../icons/dioxus/src/double_arrow_up_icon.rs | 30 + packages/icons/dioxus/src/download_icon.rs | 30 + .../dioxus/src/drag_handle_dots_1_icon.rs | 168 ++ .../dioxus/src/drag_handle_dots_2_icon.rs | 30 + .../dioxus/src/drag_handle_horizontal_icon.rs | 30 + .../dioxus/src/drag_handle_vertical_icon.rs | 30 + .../dioxus/src/drawing_pin_filled_icon.rs | 36 + packages/icons/dioxus/src/drawing_pin_icon.rs | 30 + .../icons/dioxus/src/dropdown_menu_icon.rs | 30 + .../dioxus/src/enter_full_screen_icon.rs | 30 + packages/icons/dioxus/src/enter_icon.rs | 30 + .../icons/dioxus/src/envelope_closed_icon.rs | 30 + .../icons/dioxus/src/envelope_open_icon.rs | 30 + packages/icons/dioxus/src/eraser_icon.rs | 30 + .../dioxus/src/exclamation_triangle_icon.rs | 30 + .../icons/dioxus/src/exit_full_screen_icon.rs | 30 + packages/icons/dioxus/src/exit_icon.rs | 30 + .../icons/dioxus/src/external_link_icon.rs | 30 + packages/icons/dioxus/src/eye_closed_icon.rs | 30 + packages/icons/dioxus/src/eye_none_icon.rs | 30 + packages/icons/dioxus/src/eye_open_icon.rs | 30 + packages/icons/dioxus/src/face_icon.rs | 30 + packages/icons/dioxus/src/figma_logo_icon.rs | 30 + packages/icons/dioxus/src/file_icon.rs | 30 + packages/icons/dioxus/src/file_minus_icon.rs | 30 + packages/icons/dioxus/src/file_plus_icon.rs | 30 + packages/icons/dioxus/src/file_text_icon.rs | 30 + packages/icons/dioxus/src/font_bold_icon.rs | 28 + packages/icons/dioxus/src/font_family_icon.rs | 28 + packages/icons/dioxus/src/font_italic_icon.rs | 30 + packages/icons/dioxus/src/font_roman_icon.rs | 30 + packages/icons/dioxus/src/font_size_icon.rs | 30 + packages/icons/dioxus/src/font_style_icon.rs | 30 + packages/icons/dioxus/src/frame_icon.rs | 30 + packages/icons/dioxus/src/framer_logo_icon.rs | 30 + packages/icons/dioxus/src/gear_icon.rs | 30 + packages/icons/dioxus/src/github_logo_icon.rs | 30 + packages/icons/dioxus/src/globe_icon.rs | 48 + packages/icons/dioxus/src/grid_icon.rs | 30 + packages/icons/dioxus/src/group_icon.rs | 30 + packages/icons/dioxus/src/half_1_icon.rs | 30 + packages/icons/dioxus/src/half_2_icon.rs | 30 + .../icons/dioxus/src/hamburger_menu_icon.rs | 30 + packages/icons/dioxus/src/hand_icon.rs | 30 + packages/icons/dioxus/src/heading_icon.rs | 30 + .../icons/dioxus/src/heart_filled_icon.rs | 30 + packages/icons/dioxus/src/heart_icon.rs | 30 + packages/icons/dioxus/src/height_icon.rs | 30 + packages/icons/dioxus/src/hobby_knife_icon.rs | 30 + packages/icons/dioxus/src/home_icon.rs | 30 + .../icons/dioxus/src/iconjar_logo_icon.rs | 30 + packages/icons/dioxus/src/id_card_icon.rs | 30 + packages/icons/dioxus/src/image_icon.rs | 30 + .../icons/dioxus/src/info_circled_icon.rs | 30 + packages/icons/dioxus/src/input_icon.rs | 30 + .../icons/dioxus/src/instagram_logo_icon.rs | 30 + packages/icons/dioxus/src/keyboard_icon.rs | 30 + packages/icons/dioxus/src/lap_timer_icon.rs | 30 + packages/icons/dioxus/src/laptop_icon.rs | 30 + packages/icons/dioxus/src/layers_icon.rs | 30 + packages/icons/dioxus/src/layout_icon.rs | 30 + .../dioxus/src/letter_case_capitalize_icon.rs | 30 + .../dioxus/src/letter_case_lowercase_icon.rs | 30 + .../dioxus/src/letter_case_toggle_icon.rs | 30 + .../dioxus/src/letter_case_uppercase_icon.rs | 30 + .../icons/dioxus/src/letter_spacing_icon.rs | 30 + packages/icons/dioxus/src/lib.rs | 642 +++++ .../icons/dioxus/src/lightning_bolt_icon.rs | 30 + packages/icons/dioxus/src/line_height_icon.rs | 30 + packages/icons/dioxus/src/link_1_icon.rs | 30 + packages/icons/dioxus/src/link_2_icon.rs | 30 + .../icons/dioxus/src/link_break_1_icon.rs | 30 + .../icons/dioxus/src/link_break_2_icon.rs | 30 + packages/icons/dioxus/src/link_none_1_icon.rs | 30 + packages/icons/dioxus/src/link_none_2_icon.rs | 30 + .../icons/dioxus/src/linkedin_logo_icon.rs | 30 + packages/icons/dioxus/src/list_bullet_icon.rs | 30 + packages/icons/dioxus/src/lock_closed_icon.rs | 30 + packages/icons/dioxus/src/lock_open_1_icon.rs | 30 + packages/icons/dioxus/src/lock_open_2_icon.rs | 30 + packages/icons/dioxus/src/loop_icon.rs | 30 + packages/icons/dioxus/src/magic_wand_icon.rs | 30 + .../icons/dioxus/src/magnifying_glass_icon.rs | 30 + packages/icons/dioxus/src/margin_icon.rs | 30 + packages/icons/dioxus/src/mask_off_icon.rs | 30 + packages/icons/dioxus/src/mask_on_icon.rs | 30 + .../icons/dioxus/src/minus_circled_icon.rs | 30 + packages/icons/dioxus/src/minus_icon.rs | 30 + packages/icons/dioxus/src/mix_icon.rs | 30 + .../icons/dioxus/src/mixer_horizontal_icon.rs | 30 + .../icons/dioxus/src/mixer_vertical_icon.rs | 30 + packages/icons/dioxus/src/mobile_icon.rs | 30 + packages/icons/dioxus/src/modulz_logo_icon.rs | 30 + packages/icons/dioxus/src/moon_icon.rs | 30 + packages/icons/dioxus/src/move_icon.rs | 30 + packages/icons/dioxus/src/notion_logo_icon.rs | 28 + packages/icons/dioxus/src/opacity_icon.rs | 30 + .../dioxus/src/open_in_new_window_icon.rs | 30 + packages/icons/dioxus/src/overline_icon.rs | 30 + packages/icons/dioxus/src/padding_icon.rs | 30 + packages/icons/dioxus/src/paper_plane_icon.rs | 30 + packages/icons/dioxus/src/pause_icon.rs | 30 + packages/icons/dioxus/src/pencil_1_icon.rs | 30 + packages/icons/dioxus/src/pencil_2_icon.rs | 30 + packages/icons/dioxus/src/person_icon.rs | 30 + packages/icons/dioxus/src/pie_chart_icon.rs | 30 + packages/icons/dioxus/src/pilcrow_icon.rs | 30 + packages/icons/dioxus/src/pin_bottom_icon.rs | 30 + packages/icons/dioxus/src/pin_left_icon.rs | 30 + packages/icons/dioxus/src/pin_right_icon.rs | 30 + packages/icons/dioxus/src/pin_top_icon.rs | 30 + packages/icons/dioxus/src/play_icon.rs | 30 + .../icons/dioxus/src/plus_circled_icon.rs | 30 + packages/icons/dioxus/src/plus_icon.rs | 30 + .../dioxus/src/question_mark_circled_icon.rs | 30 + .../icons/dioxus/src/question_mark_icon.rs | 30 + packages/icons/dioxus/src/quote_icon.rs | 30 + packages/icons/dioxus/src/radiobutton_icon.rs | 30 + packages/icons/dioxus/src/reader_icon.rs | 30 + packages/icons/dioxus/src/reload_icon.rs | 30 + packages/icons/dioxus/src/reset_icon.rs | 30 + packages/icons/dioxus/src/resume_icon.rs | 30 + packages/icons/dioxus/src/rocket_icon.rs | 30 + .../src/rotate_counter_clockwise_icon.rs | 30 + packages/icons/dioxus/src/row_spacing_icon.rs | 30 + packages/icons/dioxus/src/rows_icon.rs | 30 + .../icons/dioxus/src/ruler_horizontal_icon.rs | 30 + .../icons/dioxus/src/ruler_square_icon.rs | 30 + packages/icons/dioxus/src/scissors_icon.rs | 30 + packages/icons/dioxus/src/section_icon.rs | 30 + .../dioxus/src/sewing_pin_filled_icon.rs | 30 + packages/icons/dioxus/src/sewing_pin_icon.rs | 30 + packages/icons/dioxus/src/shadow_icon.rs | 100 + .../icons/dioxus/src/shadow_inner_icon.rs | 100 + packages/icons/dioxus/src/shadow_none_icon.rs | 100 + .../icons/dioxus/src/shadow_outer_icon.rs | 65 + packages/icons/dioxus/src/share_1_icon.rs | 30 + packages/icons/dioxus/src/share_2_icon.rs | 30 + packages/icons/dioxus/src/shuffle_icon.rs | 30 + packages/icons/dioxus/src/size_icon.rs | 30 + packages/icons/dioxus/src/sketch_logo_icon.rs | 30 + packages/icons/dioxus/src/slash_icon.rs | 30 + packages/icons/dioxus/src/slider_icon.rs | 30 + .../src/space_between_horizontally_icon.rs | 30 + .../src/space_between_vertically_icon.rs | 30 + .../src/space_evenly_horizontally_icon.rs | 30 + .../src/space_evenly_vertically_icon.rs | 30 + .../icons/dioxus/src/speaker_loud_icon.rs | 30 + .../icons/dioxus/src/speaker_moderate_icon.rs | 30 + packages/icons/dioxus/src/speaker_off_icon.rs | 30 + .../icons/dioxus/src/speaker_quiet_icon.rs | 30 + packages/icons/dioxus/src/square_icon.rs | 30 + packages/icons/dioxus/src/stack_icon.rs | 30 + packages/icons/dioxus/src/star_filled_icon.rs | 28 + packages/icons/dioxus/src/star_icon.rs | 30 + .../icons/dioxus/src/stitches_logo_icon.rs | 30 + packages/icons/dioxus/src/stop_icon.rs | 30 + packages/icons/dioxus/src/stopwatch_icon.rs | 30 + .../dioxus/src/stretch_horizontally_icon.rs | 30 + .../dioxus/src/stretch_vertically_icon.rs | 30 + .../icons/dioxus/src/strikethrough_icon.rs | 30 + packages/icons/dioxus/src/sun_icon.rs | 30 + packages/icons/dioxus/src/switch_icon.rs | 30 + packages/icons/dioxus/src/symbol_icon.rs | 30 + packages/icons/dioxus/src/table_icon.rs | 30 + packages/icons/dioxus/src/target_icon.rs | 30 + .../dioxus/src/text_align_bottom_icon.rs | 30 + .../dioxus/src/text_align_center_icon.rs | 30 + .../dioxus/src/text_align_justify_icon.rs | 30 + .../icons/dioxus/src/text_align_left_icon.rs | 30 + .../dioxus/src/text_align_middle_icon.rs | 30 + .../icons/dioxus/src/text_align_right_icon.rs | 30 + .../icons/dioxus/src/text_align_top_icon.rs | 30 + packages/icons/dioxus/src/text_icon.rs | 30 + packages/icons/dioxus/src/text_none_icon.rs | 30 + .../icons/dioxus/src/thick_arrow_down_icon.rs | 30 + .../icons/dioxus/src/thick_arrow_left_icon.rs | 30 + .../dioxus/src/thick_arrow_right_icon.rs | 30 + .../icons/dioxus/src/thick_arrow_up_icon.rs | 30 + packages/icons/dioxus/src/timer_icon.rs | 30 + packages/icons/dioxus/src/tokens_icon.rs | 30 + packages/icons/dioxus/src/track_next_icon.rs | 30 + .../icons/dioxus/src/track_previous_icon.rs | 30 + packages/icons/dioxus/src/transform_icon.rs | 30 + .../dioxus/src/transparency_grid_icon.rs | 31 + packages/icons/dioxus/src/trash_icon.rs | 30 + .../icons/dioxus/src/triangle_down_icon.rs | 25 + .../icons/dioxus/src/triangle_left_icon.rs | 25 + .../icons/dioxus/src/triangle_right_icon.rs | 25 + packages/icons/dioxus/src/triangle_up_icon.rs | 25 + .../icons/dioxus/src/twitter_logo_icon.rs | 30 + packages/icons/dioxus/src/underline_icon.rs | 30 + packages/icons/dioxus/src/update_icon.rs | 30 + packages/icons/dioxus/src/upload_icon.rs | 30 + packages/icons/dioxus/src/value_icon.rs | 30 + packages/icons/dioxus/src/value_none_icon.rs | 30 + packages/icons/dioxus/src/vercel_logo_icon.rs | 30 + packages/icons/dioxus/src/video_icon.rs | 30 + packages/icons/dioxus/src/view_grid_icon.rs | 30 + .../icons/dioxus/src/view_horizontal_icon.rs | 30 + packages/icons/dioxus/src/view_none_icon.rs | 30 + .../icons/dioxus/src/view_vertical_icon.rs | 30 + packages/icons/dioxus/src/width_icon.rs | 30 + packages/icons/dioxus/src/zoom_in_icon.rs | 30 + packages/icons/dioxus/src/zoom_out_icon.rs | 30 + packages/icons/leptos/README.md | 21 + .../icons/leptos/src/accessibility_icon.rs | 14 +- .../icons/leptos/src/activity_log_icon.rs | 14 +- .../icons/leptos/src/align_baseline_icon.rs | 14 +- .../icons/leptos/src/align_bottom_icon.rs | 14 +- .../src/align_center_horizontally_icon.rs | 14 +- .../src/align_center_vertically_icon.rs | 14 +- packages/icons/leptos/src/align_left_icon.rs | 14 +- packages/icons/leptos/src/align_right_icon.rs | 14 +- packages/icons/leptos/src/align_top_icon.rs | 14 +- packages/icons/leptos/src/all_sides_icon.rs | 14 +- packages/icons/leptos/src/angle_icon.rs | 14 +- packages/icons/leptos/src/archive_icon.rs | 14 +- .../leptos/src/arrow_bottom_left_icon.rs | 14 +- .../leptos/src/arrow_bottom_right_icon.rs | 14 +- packages/icons/leptos/src/arrow_down_icon.rs | 14 +- packages/icons/leptos/src/arrow_left_icon.rs | 14 +- packages/icons/leptos/src/arrow_right_icon.rs | 14 +- .../icons/leptos/src/arrow_top_left_icon.rs | 14 +- .../icons/leptos/src/arrow_top_right_icon.rs | 14 +- packages/icons/leptos/src/arrow_up_icon.rs | 14 +- .../icons/leptos/src/aspect_ratio_icon.rs | 14 +- packages/icons/leptos/src/avatar_icon.rs | 14 +- packages/icons/leptos/src/backpack_icon.rs | 14 +- packages/icons/leptos/src/badge_icon.rs | 14 +- packages/icons/leptos/src/bar_chart_icon.rs | 14 +- packages/icons/leptos/src/bell_icon.rs | 14 +- .../icons/leptos/src/blending_mode_icon.rs | 14 +- .../icons/leptos/src/bookmark_filled_icon.rs | 14 +- packages/icons/leptos/src/bookmark_icon.rs | 14 +- packages/icons/leptos/src/border_all_icon.rs | 34 +- .../icons/leptos/src/border_bottom_icon.rs | 68 +- .../icons/leptos/src/border_dashed_icon.rs | 14 +- .../icons/leptos/src/border_dotted_icon.rs | 14 +- packages/icons/leptos/src/border_left_icon.rs | 120 +- packages/icons/leptos/src/border_none_icon.rs | 78 +- .../icons/leptos/src/border_right_icon.rs | 128 +- .../icons/leptos/src/border_solid_icon.rs | 14 +- .../icons/leptos/src/border_split_icon.rs | 42 +- .../icons/leptos/src/border_style_icon.rs | 14 +- packages/icons/leptos/src/border_top_icon.rs | 120 +- .../icons/leptos/src/border_width_icon.rs | 14 +- packages/icons/leptos/src/box_icon.rs | 14 +- packages/icons/leptos/src/box_model_icon.rs | 14 +- packages/icons/leptos/src/button_icon.rs | 14 +- packages/icons/leptos/src/calendar_icon.rs | 14 +- packages/icons/leptos/src/camera_icon.rs | 14 +- packages/icons/leptos/src/card_stack_icon.rs | 14 +- .../icons/leptos/src/card_stack_minus_icon.rs | 14 +- .../icons/leptos/src/card_stack_plus_icon.rs | 14 +- packages/icons/leptos/src/caret_down_icon.rs | 14 +- packages/icons/leptos/src/caret_left_icon.rs | 14 +- packages/icons/leptos/src/caret_right_icon.rs | 14 +- packages/icons/leptos/src/caret_sort_icon.rs | 14 +- packages/icons/leptos/src/caret_up_icon.rs | 14 +- packages/icons/leptos/src/chat_bubble_icon.rs | 14 +- .../icons/leptos/src/check_circled_icon.rs | 14 +- packages/icons/leptos/src/check_icon.rs | 14 +- packages/icons/leptos/src/checkbox_icon.rs | 14 +- .../icons/leptos/src/chevron_down_icon.rs | 14 +- .../icons/leptos/src/chevron_left_icon.rs | 14 +- .../icons/leptos/src/chevron_right_icon.rs | 14 +- packages/icons/leptos/src/chevron_up_icon.rs | 14 +- .../icons/leptos/src/circle_backslash_icon.rs | 14 +- packages/icons/leptos/src/circle_icon.rs | 14 +- .../icons/leptos/src/clipboard_copy_icon.rs | 14 +- packages/icons/leptos/src/clipboard_icon.rs | 14 +- packages/icons/leptos/src/clock_icon.rs | 14 +- packages/icons/leptos/src/code_icon.rs | 14 +- .../icons/leptos/src/codesandbox_logo_icon.rs | 14 +- packages/icons/leptos/src/color_wheel_icon.rs | 14 +- .../icons/leptos/src/column_spacing_icon.rs | 14 +- packages/icons/leptos/src/columns_icon.rs | 14 +- packages/icons/leptos/src/commit_icon.rs | 14 +- packages/icons/leptos/src/component_1_icon.rs | 14 +- packages/icons/leptos/src/component_2_icon.rs | 14 +- .../leptos/src/component_boolean_icon.rs | 14 +- .../leptos/src/component_instance_icon.rs | 14 +- .../icons/leptos/src/component_none_icon.rs | 14 +- .../leptos/src/component_placeholder_icon.rs | 20 +- packages/icons/leptos/src/container_icon.rs | 14 +- packages/icons/leptos/src/cookie_icon.rs | 14 +- packages/icons/leptos/src/copy_icon.rs | 14 +- .../leptos/src/corner_bottom_left_icon.rs | 14 +- .../leptos/src/corner_bottom_right_icon.rs | 14 +- .../icons/leptos/src/corner_top_left_icon.rs | 14 +- .../icons/leptos/src/corner_top_right_icon.rs | 14 +- packages/icons/leptos/src/corners_icon.rs | 14 +- .../icons/leptos/src/countdown_timer_icon.rs | 14 +- .../src/counter_clockwise_clock_icon.rs | 14 +- packages/icons/leptos/src/crop_icon.rs | 14 +- packages/icons/leptos/src/cross_1_icon.rs | 14 +- packages/icons/leptos/src/cross_2_icon.rs | 14 +- .../icons/leptos/src/cross_circled_icon.rs | 14 +- packages/icons/leptos/src/crosshair_1_icon.rs | 14 +- packages/icons/leptos/src/crosshair_2_icon.rs | 14 +- .../icons/leptos/src/crumpled_paper_icon.rs | 14 +- packages/icons/leptos/src/cube_icon.rs | 14 +- .../icons/leptos/src/cursor_arrow_icon.rs | 14 +- packages/icons/leptos/src/cursor_text_icon.rs | 14 +- packages/icons/leptos/src/dash_icon.rs | 14 +- packages/icons/leptos/src/dashboard_icon.rs | 14 +- packages/icons/leptos/src/desktop_icon.rs | 14 +- packages/icons/leptos/src/dimensions_icon.rs | 14 +- packages/icons/leptos/src/disc_icon.rs | 14 +- .../icons/leptos/src/discord_logo_icon.rs | 14 +- .../leptos/src/divider_horizontal_icon.rs | 14 +- .../icons/leptos/src/divider_vertical_icon.rs | 14 +- packages/icons/leptos/src/dot_filled_icon.rs | 14 +- packages/icons/leptos/src/dot_icon.rs | 14 +- .../icons/leptos/src/dots_horizontal_icon.rs | 14 +- .../icons/leptos/src/dots_vertical_icon.rs | 14 +- .../leptos/src/double_arrow_down_icon.rs | 14 +- .../leptos/src/double_arrow_left_icon.rs | 14 +- .../leptos/src/double_arrow_right_icon.rs | 14 +- .../icons/leptos/src/double_arrow_up_icon.rs | 14 +- packages/icons/leptos/src/download_icon.rs | 14 +- .../leptos/src/drag_handle_dots_1_icon.rs | 60 +- .../leptos/src/drag_handle_dots_2_icon.rs | 14 +- .../leptos/src/drag_handle_horizontal_icon.rs | 14 +- .../leptos/src/drag_handle_vertical_icon.rs | 14 +- .../leptos/src/drawing_pin_filled_icon.rs | 20 +- packages/icons/leptos/src/drawing_pin_icon.rs | 14 +- .../icons/leptos/src/dropdown_menu_icon.rs | 14 +- .../leptos/src/enter_full_screen_icon.rs | 14 +- packages/icons/leptos/src/enter_icon.rs | 14 +- .../icons/leptos/src/envelope_closed_icon.rs | 14 +- .../icons/leptos/src/envelope_open_icon.rs | 14 +- packages/icons/leptos/src/eraser_icon.rs | 14 +- .../leptos/src/exclamation_triangle_icon.rs | 14 +- .../icons/leptos/src/exit_full_screen_icon.rs | 14 +- packages/icons/leptos/src/exit_icon.rs | 14 +- .../icons/leptos/src/external_link_icon.rs | 14 +- packages/icons/leptos/src/eye_closed_icon.rs | 14 +- packages/icons/leptos/src/eye_none_icon.rs | 14 +- packages/icons/leptos/src/eye_open_icon.rs | 14 +- packages/icons/leptos/src/face_icon.rs | 14 +- packages/icons/leptos/src/figma_logo_icon.rs | 14 +- packages/icons/leptos/src/file_icon.rs | 14 +- packages/icons/leptos/src/file_minus_icon.rs | 14 +- packages/icons/leptos/src/file_plus_icon.rs | 14 +- packages/icons/leptos/src/file_text_icon.rs | 14 +- packages/icons/leptos/src/font_bold_icon.rs | 14 +- packages/icons/leptos/src/font_family_icon.rs | 14 +- packages/icons/leptos/src/font_italic_icon.rs | 14 +- packages/icons/leptos/src/font_roman_icon.rs | 14 +- packages/icons/leptos/src/font_size_icon.rs | 14 +- packages/icons/leptos/src/font_style_icon.rs | 14 +- packages/icons/leptos/src/frame_icon.rs | 14 +- packages/icons/leptos/src/framer_logo_icon.rs | 14 +- packages/icons/leptos/src/gear_icon.rs | 14 +- packages/icons/leptos/src/github_logo_icon.rs | 14 +- packages/icons/leptos/src/globe_icon.rs | 28 +- packages/icons/leptos/src/grid_icon.rs | 14 +- packages/icons/leptos/src/group_icon.rs | 14 +- packages/icons/leptos/src/half_1_icon.rs | 14 +- packages/icons/leptos/src/half_2_icon.rs | 14 +- .../icons/leptos/src/hamburger_menu_icon.rs | 14 +- packages/icons/leptos/src/hand_icon.rs | 14 +- packages/icons/leptos/src/heading_icon.rs | 14 +- .../icons/leptos/src/heart_filled_icon.rs | 14 +- packages/icons/leptos/src/heart_icon.rs | 14 +- packages/icons/leptos/src/height_icon.rs | 14 +- packages/icons/leptos/src/hobby_knife_icon.rs | 14 +- packages/icons/leptos/src/home_icon.rs | 14 +- .../icons/leptos/src/iconjar_logo_icon.rs | 14 +- packages/icons/leptos/src/id_card_icon.rs | 14 +- packages/icons/leptos/src/image_icon.rs | 14 +- .../icons/leptos/src/info_circled_icon.rs | 14 +- packages/icons/leptos/src/input_icon.rs | 14 +- .../icons/leptos/src/instagram_logo_icon.rs | 14 +- packages/icons/leptos/src/keyboard_icon.rs | 14 +- packages/icons/leptos/src/lap_timer_icon.rs | 14 +- packages/icons/leptos/src/laptop_icon.rs | 14 +- packages/icons/leptos/src/layers_icon.rs | 14 +- packages/icons/leptos/src/layout_icon.rs | 14 +- .../leptos/src/letter_case_capitalize_icon.rs | 14 +- .../leptos/src/letter_case_lowercase_icon.rs | 14 +- .../leptos/src/letter_case_toggle_icon.rs | 14 +- .../leptos/src/letter_case_uppercase_icon.rs | 14 +- .../icons/leptos/src/letter_spacing_icon.rs | 14 +- packages/icons/leptos/src/lib.rs | 6 + .../icons/leptos/src/lightning_bolt_icon.rs | 14 +- packages/icons/leptos/src/line_height_icon.rs | 14 +- packages/icons/leptos/src/link_1_icon.rs | 14 +- packages/icons/leptos/src/link_2_icon.rs | 14 +- .../icons/leptos/src/link_break_1_icon.rs | 14 +- .../icons/leptos/src/link_break_2_icon.rs | 14 +- packages/icons/leptos/src/link_none_1_icon.rs | 14 +- packages/icons/leptos/src/link_none_2_icon.rs | 14 +- .../icons/leptos/src/linkedin_logo_icon.rs | 14 +- packages/icons/leptos/src/list_bullet_icon.rs | 14 +- packages/icons/leptos/src/lock_closed_icon.rs | 14 +- packages/icons/leptos/src/lock_open_1_icon.rs | 14 +- packages/icons/leptos/src/lock_open_2_icon.rs | 14 +- packages/icons/leptos/src/loop_icon.rs | 14 +- packages/icons/leptos/src/magic_wand_icon.rs | 14 +- .../icons/leptos/src/magnifying_glass_icon.rs | 14 +- packages/icons/leptos/src/margin_icon.rs | 14 +- packages/icons/leptos/src/mask_off_icon.rs | 14 +- packages/icons/leptos/src/mask_on_icon.rs | 14 +- .../icons/leptos/src/minus_circled_icon.rs | 14 +- packages/icons/leptos/src/minus_icon.rs | 14 +- packages/icons/leptos/src/mix_icon.rs | 14 +- .../icons/leptos/src/mixer_horizontal_icon.rs | 14 +- .../icons/leptos/src/mixer_vertical_icon.rs | 14 +- packages/icons/leptos/src/mobile_icon.rs | 14 +- packages/icons/leptos/src/modulz_logo_icon.rs | 14 +- packages/icons/leptos/src/moon_icon.rs | 14 +- packages/icons/leptos/src/move_icon.rs | 14 +- packages/icons/leptos/src/notion_logo_icon.rs | 14 +- packages/icons/leptos/src/opacity_icon.rs | 14 +- .../leptos/src/open_in_new_window_icon.rs | 14 +- packages/icons/leptos/src/overline_icon.rs | 14 +- packages/icons/leptos/src/padding_icon.rs | 14 +- packages/icons/leptos/src/paper_plane_icon.rs | 14 +- packages/icons/leptos/src/pause_icon.rs | 14 +- packages/icons/leptos/src/pencil_1_icon.rs | 14 +- packages/icons/leptos/src/pencil_2_icon.rs | 14 +- packages/icons/leptos/src/person_icon.rs | 14 +- packages/icons/leptos/src/pie_chart_icon.rs | 14 +- packages/icons/leptos/src/pilcrow_icon.rs | 14 +- packages/icons/leptos/src/pin_bottom_icon.rs | 14 +- packages/icons/leptos/src/pin_left_icon.rs | 14 +- packages/icons/leptos/src/pin_right_icon.rs | 14 +- packages/icons/leptos/src/pin_top_icon.rs | 14 +- packages/icons/leptos/src/play_icon.rs | 14 +- .../icons/leptos/src/plus_circled_icon.rs | 14 +- packages/icons/leptos/src/plus_icon.rs | 14 +- .../leptos/src/question_mark_circled_icon.rs | 14 +- .../icons/leptos/src/question_mark_icon.rs | 14 +- packages/icons/leptos/src/quote_icon.rs | 14 +- packages/icons/leptos/src/radiobutton_icon.rs | 14 +- packages/icons/leptos/src/reader_icon.rs | 14 +- packages/icons/leptos/src/reload_icon.rs | 14 +- packages/icons/leptos/src/reset_icon.rs | 14 +- packages/icons/leptos/src/resume_icon.rs | 14 +- packages/icons/leptos/src/rocket_icon.rs | 14 +- .../src/rotate_counter_clockwise_icon.rs | 14 +- packages/icons/leptos/src/row_spacing_icon.rs | 14 +- packages/icons/leptos/src/rows_icon.rs | 14 +- .../icons/leptos/src/ruler_horizontal_icon.rs | 14 +- .../icons/leptos/src/ruler_square_icon.rs | 14 +- packages/icons/leptos/src/scissors_icon.rs | 14 +- packages/icons/leptos/src/section_icon.rs | 14 +- .../leptos/src/sewing_pin_filled_icon.rs | 14 +- packages/icons/leptos/src/sewing_pin_icon.rs | 14 +- packages/icons/leptos/src/shadow_icon.rs | 56 +- .../icons/leptos/src/shadow_inner_icon.rs | 56 +- packages/icons/leptos/src/shadow_none_icon.rs | 56 +- .../icons/leptos/src/shadow_outer_icon.rs | 36 +- packages/icons/leptos/src/share_1_icon.rs | 14 +- packages/icons/leptos/src/share_2_icon.rs | 14 +- packages/icons/leptos/src/shuffle_icon.rs | 14 +- packages/icons/leptos/src/size_icon.rs | 14 +- packages/icons/leptos/src/sketch_logo_icon.rs | 14 +- packages/icons/leptos/src/slash_icon.rs | 14 +- packages/icons/leptos/src/slider_icon.rs | 14 +- .../src/space_between_horizontally_icon.rs | 14 +- .../src/space_between_vertically_icon.rs | 14 +- .../src/space_evenly_horizontally_icon.rs | 14 +- .../src/space_evenly_vertically_icon.rs | 14 +- .../icons/leptos/src/speaker_loud_icon.rs | 14 +- .../icons/leptos/src/speaker_moderate_icon.rs | 14 +- packages/icons/leptos/src/speaker_off_icon.rs | 14 +- .../icons/leptos/src/speaker_quiet_icon.rs | 14 +- packages/icons/leptos/src/square_icon.rs | 14 +- packages/icons/leptos/src/stack_icon.rs | 14 +- packages/icons/leptos/src/star_filled_icon.rs | 14 +- packages/icons/leptos/src/star_icon.rs | 14 +- .../icons/leptos/src/stitches_logo_icon.rs | 14 +- packages/icons/leptos/src/stop_icon.rs | 14 +- packages/icons/leptos/src/stopwatch_icon.rs | 14 +- .../leptos/src/stretch_horizontally_icon.rs | 14 +- .../leptos/src/stretch_vertically_icon.rs | 14 +- .../icons/leptos/src/strikethrough_icon.rs | 14 +- packages/icons/leptos/src/sun_icon.rs | 14 +- packages/icons/leptos/src/switch_icon.rs | 14 +- packages/icons/leptos/src/symbol_icon.rs | 14 +- packages/icons/leptos/src/table_icon.rs | 14 +- packages/icons/leptos/src/target_icon.rs | 14 +- .../leptos/src/text_align_bottom_icon.rs | 14 +- .../leptos/src/text_align_center_icon.rs | 14 +- .../leptos/src/text_align_justify_icon.rs | 14 +- .../icons/leptos/src/text_align_left_icon.rs | 14 +- .../leptos/src/text_align_middle_icon.rs | 14 +- .../icons/leptos/src/text_align_right_icon.rs | 14 +- .../icons/leptos/src/text_align_top_icon.rs | 14 +- packages/icons/leptos/src/text_icon.rs | 14 +- packages/icons/leptos/src/text_none_icon.rs | 14 +- .../icons/leptos/src/thick_arrow_down_icon.rs | 14 +- .../icons/leptos/src/thick_arrow_left_icon.rs | 14 +- .../leptos/src/thick_arrow_right_icon.rs | 14 +- .../icons/leptos/src/thick_arrow_up_icon.rs | 14 +- packages/icons/leptos/src/timer_icon.rs | 14 +- packages/icons/leptos/src/tokens_icon.rs | 14 +- packages/icons/leptos/src/track_next_icon.rs | 14 +- .../icons/leptos/src/track_previous_icon.rs | 14 +- packages/icons/leptos/src/transform_icon.rs | 14 +- .../leptos/src/transparency_grid_icon.rs | 14 +- packages/icons/leptos/src/trash_icon.rs | 14 +- .../icons/leptos/src/triangle_down_icon.rs | 14 +- .../icons/leptos/src/triangle_left_icon.rs | 14 +- .../icons/leptos/src/triangle_right_icon.rs | 14 +- packages/icons/leptos/src/triangle_up_icon.rs | 14 +- .../icons/leptos/src/twitter_logo_icon.rs | 14 +- packages/icons/leptos/src/underline_icon.rs | 14 +- packages/icons/leptos/src/update_icon.rs | 14 +- packages/icons/leptos/src/upload_icon.rs | 14 +- packages/icons/leptos/src/value_icon.rs | 14 +- packages/icons/leptos/src/value_none_icon.rs | 14 +- packages/icons/leptos/src/vercel_logo_icon.rs | 14 +- packages/icons/leptos/src/video_icon.rs | 14 +- packages/icons/leptos/src/view_grid_icon.rs | 14 +- .../icons/leptos/src/view_horizontal_icon.rs | 14 +- packages/icons/leptos/src/view_none_icon.rs | 14 +- .../icons/leptos/src/view_vertical_icon.rs | 14 +- packages/icons/leptos/src/width_icon.rs | 14 +- packages/icons/leptos/src/zoom_in_icon.rs | 14 +- packages/icons/leptos/src/zoom_out_icon.rs | 14 +- packages/icons/yew/README.md | 21 + packages/icons/yew/src/accessibility_icon.rs | 25 +- packages/icons/yew/src/activity_log_icon.rs | 25 +- packages/icons/yew/src/align_baseline_icon.rs | 25 +- packages/icons/yew/src/align_bottom_icon.rs | 25 +- .../yew/src/align_center_horizontally_icon.rs | 25 +- .../yew/src/align_center_vertically_icon.rs | 25 +- packages/icons/yew/src/align_left_icon.rs | 25 +- packages/icons/yew/src/align_right_icon.rs | 25 +- packages/icons/yew/src/align_top_icon.rs | 25 +- packages/icons/yew/src/all_sides_icon.rs | 25 +- packages/icons/yew/src/angle_icon.rs | 25 +- packages/icons/yew/src/archive_icon.rs | 25 +- .../icons/yew/src/arrow_bottom_left_icon.rs | 25 +- .../icons/yew/src/arrow_bottom_right_icon.rs | 25 +- packages/icons/yew/src/arrow_down_icon.rs | 25 +- packages/icons/yew/src/arrow_left_icon.rs | 25 +- packages/icons/yew/src/arrow_right_icon.rs | 25 +- packages/icons/yew/src/arrow_top_left_icon.rs | 25 +- .../icons/yew/src/arrow_top_right_icon.rs | 25 +- packages/icons/yew/src/arrow_up_icon.rs | 25 +- packages/icons/yew/src/aspect_ratio_icon.rs | 25 +- packages/icons/yew/src/avatar_icon.rs | 25 +- packages/icons/yew/src/backpack_icon.rs | 25 +- packages/icons/yew/src/badge_icon.rs | 25 +- packages/icons/yew/src/bar_chart_icon.rs | 25 +- packages/icons/yew/src/bell_icon.rs | 25 +- packages/icons/yew/src/blending_mode_icon.rs | 25 +- .../icons/yew/src/bookmark_filled_icon.rs | 25 +- packages/icons/yew/src/bookmark_icon.rs | 25 +- packages/icons/yew/src/border_all_icon.rs | 43 +- packages/icons/yew/src/border_bottom_icon.rs | 87 +- packages/icons/yew/src/border_dashed_icon.rs | 25 +- packages/icons/yew/src/border_dotted_icon.rs | 25 +- packages/icons/yew/src/border_left_icon.rs | 78 +- packages/icons/yew/src/border_none_icon.rs | 99 +- packages/icons/yew/src/border_right_icon.rs | 88 +- packages/icons/yew/src/border_solid_icon.rs | 25 +- packages/icons/yew/src/border_split_icon.rs | 61 +- packages/icons/yew/src/border_style_icon.rs | 25 +- packages/icons/yew/src/border_top_icon.rs | 78 +- packages/icons/yew/src/border_width_icon.rs | 25 +- packages/icons/yew/src/box_icon.rs | 25 +- packages/icons/yew/src/box_model_icon.rs | 25 +- packages/icons/yew/src/button_icon.rs | 25 +- packages/icons/yew/src/calendar_icon.rs | 25 +- packages/icons/yew/src/camera_icon.rs | 25 +- packages/icons/yew/src/card_stack_icon.rs | 25 +- .../icons/yew/src/card_stack_minus_icon.rs | 25 +- .../icons/yew/src/card_stack_plus_icon.rs | 25 +- packages/icons/yew/src/caret_down_icon.rs | 25 +- packages/icons/yew/src/caret_left_icon.rs | 25 +- packages/icons/yew/src/caret_right_icon.rs | 25 +- packages/icons/yew/src/caret_sort_icon.rs | 25 +- packages/icons/yew/src/caret_up_icon.rs | 25 +- packages/icons/yew/src/chat_bubble_icon.rs | 25 +- packages/icons/yew/src/check_circled_icon.rs | 25 +- packages/icons/yew/src/check_icon.rs | 25 +- packages/icons/yew/src/checkbox_icon.rs | 25 +- packages/icons/yew/src/chevron_down_icon.rs | 25 +- packages/icons/yew/src/chevron_left_icon.rs | 25 +- packages/icons/yew/src/chevron_right_icon.rs | 25 +- packages/icons/yew/src/chevron_up_icon.rs | 25 +- .../icons/yew/src/circle_backslash_icon.rs | 25 +- packages/icons/yew/src/circle_icon.rs | 25 +- packages/icons/yew/src/clipboard_copy_icon.rs | 25 +- packages/icons/yew/src/clipboard_icon.rs | 25 +- packages/icons/yew/src/clock_icon.rs | 25 +- packages/icons/yew/src/code_icon.rs | 25 +- .../icons/yew/src/codesandbox_logo_icon.rs | 25 +- packages/icons/yew/src/color_wheel_icon.rs | 25 +- packages/icons/yew/src/column_spacing_icon.rs | 25 +- packages/icons/yew/src/columns_icon.rs | 25 +- packages/icons/yew/src/commit_icon.rs | 25 +- packages/icons/yew/src/component_1_icon.rs | 25 +- packages/icons/yew/src/component_2_icon.rs | 25 +- .../icons/yew/src/component_boolean_icon.rs | 25 +- .../icons/yew/src/component_instance_icon.rs | 25 +- packages/icons/yew/src/component_none_icon.rs | 25 +- .../yew/src/component_placeholder_icon.rs | 27 +- packages/icons/yew/src/container_icon.rs | 25 +- packages/icons/yew/src/cookie_icon.rs | 25 +- packages/icons/yew/src/copy_icon.rs | 25 +- .../icons/yew/src/corner_bottom_left_icon.rs | 25 +- .../icons/yew/src/corner_bottom_right_icon.rs | 25 +- .../icons/yew/src/corner_top_left_icon.rs | 25 +- .../icons/yew/src/corner_top_right_icon.rs | 25 +- packages/icons/yew/src/corners_icon.rs | 25 +- .../icons/yew/src/countdown_timer_icon.rs | 25 +- .../yew/src/counter_clockwise_clock_icon.rs | 25 +- packages/icons/yew/src/crop_icon.rs | 25 +- packages/icons/yew/src/cross_1_icon.rs | 25 +- packages/icons/yew/src/cross_2_icon.rs | 25 +- packages/icons/yew/src/cross_circled_icon.rs | 25 +- packages/icons/yew/src/crosshair_1_icon.rs | 25 +- packages/icons/yew/src/crosshair_2_icon.rs | 25 +- packages/icons/yew/src/crumpled_paper_icon.rs | 25 +- packages/icons/yew/src/cube_icon.rs | 25 +- packages/icons/yew/src/cursor_arrow_icon.rs | 25 +- packages/icons/yew/src/cursor_text_icon.rs | 25 +- packages/icons/yew/src/dash_icon.rs | 25 +- packages/icons/yew/src/dashboard_icon.rs | 25 +- packages/icons/yew/src/desktop_icon.rs | 25 +- packages/icons/yew/src/dimensions_icon.rs | 25 +- packages/icons/yew/src/disc_icon.rs | 25 +- packages/icons/yew/src/discord_logo_icon.rs | 25 +- .../icons/yew/src/divider_horizontal_icon.rs | 25 +- .../icons/yew/src/divider_vertical_icon.rs | 25 +- packages/icons/yew/src/dot_filled_icon.rs | 25 +- packages/icons/yew/src/dot_icon.rs | 25 +- .../icons/yew/src/dots_horizontal_icon.rs | 25 +- packages/icons/yew/src/dots_vertical_icon.rs | 25 +- .../icons/yew/src/double_arrow_down_icon.rs | 25 +- .../icons/yew/src/double_arrow_left_icon.rs | 25 +- .../icons/yew/src/double_arrow_right_icon.rs | 25 +- .../icons/yew/src/double_arrow_up_icon.rs | 25 +- packages/icons/yew/src/download_icon.rs | 25 +- .../icons/yew/src/drag_handle_dots_1_icon.rs | 83 +- .../icons/yew/src/drag_handle_dots_2_icon.rs | 25 +- .../yew/src/drag_handle_horizontal_icon.rs | 25 +- .../yew/src/drag_handle_vertical_icon.rs | 25 +- .../icons/yew/src/drawing_pin_filled_icon.rs | 27 +- packages/icons/yew/src/drawing_pin_icon.rs | 25 +- packages/icons/yew/src/dropdown_menu_icon.rs | 25 +- .../icons/yew/src/enter_full_screen_icon.rs | 25 +- packages/icons/yew/src/enter_icon.rs | 25 +- .../icons/yew/src/envelope_closed_icon.rs | 25 +- packages/icons/yew/src/envelope_open_icon.rs | 25 +- packages/icons/yew/src/eraser_icon.rs | 25 +- .../yew/src/exclamation_triangle_icon.rs | 25 +- .../icons/yew/src/exit_full_screen_icon.rs | 25 +- packages/icons/yew/src/exit_icon.rs | 25 +- packages/icons/yew/src/external_link_icon.rs | 25 +- packages/icons/yew/src/eye_closed_icon.rs | 25 +- packages/icons/yew/src/eye_none_icon.rs | 25 +- packages/icons/yew/src/eye_open_icon.rs | 25 +- packages/icons/yew/src/face_icon.rs | 25 +- packages/icons/yew/src/figma_logo_icon.rs | 25 +- packages/icons/yew/src/file_icon.rs | 25 +- packages/icons/yew/src/file_minus_icon.rs | 25 +- packages/icons/yew/src/file_plus_icon.rs | 25 +- packages/icons/yew/src/file_text_icon.rs | 25 +- packages/icons/yew/src/font_bold_icon.rs | 25 +- packages/icons/yew/src/font_family_icon.rs | 25 +- packages/icons/yew/src/font_italic_icon.rs | 25 +- packages/icons/yew/src/font_roman_icon.rs | 25 +- packages/icons/yew/src/font_size_icon.rs | 25 +- packages/icons/yew/src/font_style_icon.rs | 25 +- packages/icons/yew/src/frame_icon.rs | 25 +- packages/icons/yew/src/framer_logo_icon.rs | 25 +- packages/icons/yew/src/gear_icon.rs | 25 +- packages/icons/yew/src/github_logo_icon.rs | 25 +- packages/icons/yew/src/globe_icon.rs | 29 +- packages/icons/yew/src/grid_icon.rs | 25 +- packages/icons/yew/src/group_icon.rs | 25 +- packages/icons/yew/src/half_1_icon.rs | 25 +- packages/icons/yew/src/half_2_icon.rs | 25 +- packages/icons/yew/src/hamburger_menu_icon.rs | 25 +- packages/icons/yew/src/hand_icon.rs | 25 +- packages/icons/yew/src/heading_icon.rs | 25 +- packages/icons/yew/src/heart_filled_icon.rs | 25 +- packages/icons/yew/src/heart_icon.rs | 25 +- packages/icons/yew/src/height_icon.rs | 25 +- packages/icons/yew/src/hobby_knife_icon.rs | 25 +- packages/icons/yew/src/home_icon.rs | 25 +- packages/icons/yew/src/iconjar_logo_icon.rs | 25 +- packages/icons/yew/src/id_card_icon.rs | 25 +- packages/icons/yew/src/image_icon.rs | 25 +- packages/icons/yew/src/info_circled_icon.rs | 25 +- packages/icons/yew/src/input_icon.rs | 25 +- packages/icons/yew/src/instagram_logo_icon.rs | 25 +- packages/icons/yew/src/keyboard_icon.rs | 25 +- packages/icons/yew/src/lap_timer_icon.rs | 25 +- packages/icons/yew/src/laptop_icon.rs | 25 +- packages/icons/yew/src/layers_icon.rs | 25 +- packages/icons/yew/src/layout_icon.rs | 25 +- .../yew/src/letter_case_capitalize_icon.rs | 25 +- .../yew/src/letter_case_lowercase_icon.rs | 25 +- .../icons/yew/src/letter_case_toggle_icon.rs | 25 +- .../yew/src/letter_case_uppercase_icon.rs | 25 +- packages/icons/yew/src/letter_spacing_icon.rs | 25 +- packages/icons/yew/src/lib.rs | 8 +- packages/icons/yew/src/lightning_bolt_icon.rs | 25 +- packages/icons/yew/src/line_height_icon.rs | 25 +- packages/icons/yew/src/link_1_icon.rs | 25 +- packages/icons/yew/src/link_2_icon.rs | 25 +- packages/icons/yew/src/link_break_1_icon.rs | 25 +- packages/icons/yew/src/link_break_2_icon.rs | 25 +- packages/icons/yew/src/link_none_1_icon.rs | 25 +- packages/icons/yew/src/link_none_2_icon.rs | 25 +- packages/icons/yew/src/linkedin_logo_icon.rs | 25 +- packages/icons/yew/src/list_bullet_icon.rs | 25 +- packages/icons/yew/src/lock_closed_icon.rs | 25 +- packages/icons/yew/src/lock_open_1_icon.rs | 25 +- packages/icons/yew/src/lock_open_2_icon.rs | 25 +- packages/icons/yew/src/loop_icon.rs | 25 +- packages/icons/yew/src/magic_wand_icon.rs | 25 +- .../icons/yew/src/magnifying_glass_icon.rs | 25 +- packages/icons/yew/src/margin_icon.rs | 25 +- packages/icons/yew/src/mask_off_icon.rs | 25 +- packages/icons/yew/src/mask_on_icon.rs | 25 +- packages/icons/yew/src/minus_circled_icon.rs | 25 +- packages/icons/yew/src/minus_icon.rs | 25 +- packages/icons/yew/src/mix_icon.rs | 25 +- .../icons/yew/src/mixer_horizontal_icon.rs | 25 +- packages/icons/yew/src/mixer_vertical_icon.rs | 25 +- packages/icons/yew/src/mobile_icon.rs | 25 +- packages/icons/yew/src/modulz_logo_icon.rs | 25 +- packages/icons/yew/src/moon_icon.rs | 25 +- packages/icons/yew/src/move_icon.rs | 25 +- packages/icons/yew/src/notion_logo_icon.rs | 25 +- packages/icons/yew/src/opacity_icon.rs | 25 +- .../icons/yew/src/open_in_new_window_icon.rs | 25 +- packages/icons/yew/src/overline_icon.rs | 25 +- packages/icons/yew/src/padding_icon.rs | 25 +- packages/icons/yew/src/paper_plane_icon.rs | 25 +- packages/icons/yew/src/pause_icon.rs | 25 +- packages/icons/yew/src/pencil_1_icon.rs | 25 +- packages/icons/yew/src/pencil_2_icon.rs | 25 +- packages/icons/yew/src/person_icon.rs | 25 +- packages/icons/yew/src/pie_chart_icon.rs | 25 +- packages/icons/yew/src/pilcrow_icon.rs | 25 +- packages/icons/yew/src/pin_bottom_icon.rs | 25 +- packages/icons/yew/src/pin_left_icon.rs | 25 +- packages/icons/yew/src/pin_right_icon.rs | 25 +- packages/icons/yew/src/pin_top_icon.rs | 25 +- packages/icons/yew/src/play_icon.rs | 25 +- packages/icons/yew/src/plus_circled_icon.rs | 25 +- packages/icons/yew/src/plus_icon.rs | 25 +- .../yew/src/question_mark_circled_icon.rs | 25 +- packages/icons/yew/src/question_mark_icon.rs | 25 +- packages/icons/yew/src/quote_icon.rs | 25 +- packages/icons/yew/src/radiobutton_icon.rs | 25 +- packages/icons/yew/src/reader_icon.rs | 25 +- packages/icons/yew/src/reload_icon.rs | 25 +- packages/icons/yew/src/reset_icon.rs | 25 +- packages/icons/yew/src/resume_icon.rs | 25 +- packages/icons/yew/src/rocket_icon.rs | 25 +- .../yew/src/rotate_counter_clockwise_icon.rs | 25 +- packages/icons/yew/src/row_spacing_icon.rs | 25 +- packages/icons/yew/src/rows_icon.rs | 25 +- .../icons/yew/src/ruler_horizontal_icon.rs | 25 +- packages/icons/yew/src/ruler_square_icon.rs | 25 +- packages/icons/yew/src/scissors_icon.rs | 25 +- packages/icons/yew/src/section_icon.rs | 25 +- .../icons/yew/src/sewing_pin_filled_icon.rs | 25 +- packages/icons/yew/src/sewing_pin_icon.rs | 25 +- packages/icons/yew/src/shadow_icon.rs | 45 +- packages/icons/yew/src/shadow_inner_icon.rs | 45 +- packages/icons/yew/src/shadow_none_icon.rs | 45 +- packages/icons/yew/src/shadow_outer_icon.rs | 35 +- packages/icons/yew/src/share_1_icon.rs | 25 +- packages/icons/yew/src/share_2_icon.rs | 25 +- packages/icons/yew/src/shuffle_icon.rs | 25 +- packages/icons/yew/src/size_icon.rs | 25 +- packages/icons/yew/src/sketch_logo_icon.rs | 25 +- packages/icons/yew/src/slash_icon.rs | 26 +- packages/icons/yew/src/slider_icon.rs | 25 +- .../src/space_between_horizontally_icon.rs | 25 +- .../yew/src/space_between_vertically_icon.rs | 25 +- .../yew/src/space_evenly_horizontally_icon.rs | 25 +- .../yew/src/space_evenly_vertically_icon.rs | 25 +- packages/icons/yew/src/speaker_loud_icon.rs | 25 +- .../icons/yew/src/speaker_moderate_icon.rs | 25 +- packages/icons/yew/src/speaker_off_icon.rs | 25 +- packages/icons/yew/src/speaker_quiet_icon.rs | 25 +- packages/icons/yew/src/square_icon.rs | 23 +- packages/icons/yew/src/stack_icon.rs | 25 +- packages/icons/yew/src/star_filled_icon.rs | 25 +- packages/icons/yew/src/star_icon.rs | 25 +- packages/icons/yew/src/stitches_logo_icon.rs | 25 +- packages/icons/yew/src/stop_icon.rs | 25 +- packages/icons/yew/src/stopwatch_icon.rs | 25 +- .../yew/src/stretch_horizontally_icon.rs | 25 +- .../icons/yew/src/stretch_vertically_icon.rs | 25 +- packages/icons/yew/src/strikethrough_icon.rs | 25 +- packages/icons/yew/src/sun_icon.rs | 25 +- packages/icons/yew/src/switch_icon.rs | 25 +- packages/icons/yew/src/symbol_icon.rs | 25 +- packages/icons/yew/src/table_icon.rs | 25 +- packages/icons/yew/src/target_icon.rs | 25 +- .../icons/yew/src/text_align_bottom_icon.rs | 25 +- .../icons/yew/src/text_align_center_icon.rs | 25 +- .../icons/yew/src/text_align_justify_icon.rs | 25 +- .../icons/yew/src/text_align_left_icon.rs | 25 +- .../icons/yew/src/text_align_middle_icon.rs | 25 +- .../icons/yew/src/text_align_right_icon.rs | 25 +- packages/icons/yew/src/text_align_top_icon.rs | 25 +- packages/icons/yew/src/text_icon.rs | 25 +- packages/icons/yew/src/text_none_icon.rs | 25 +- .../icons/yew/src/thick_arrow_down_icon.rs | 25 +- .../icons/yew/src/thick_arrow_left_icon.rs | 25 +- .../icons/yew/src/thick_arrow_right_icon.rs | 25 +- packages/icons/yew/src/thick_arrow_up_icon.rs | 25 +- packages/icons/yew/src/timer_icon.rs | 25 +- packages/icons/yew/src/tokens_icon.rs | 25 +- packages/icons/yew/src/track_next_icon.rs | 25 +- packages/icons/yew/src/track_previous_icon.rs | 25 +- packages/icons/yew/src/transform_icon.rs | 25 +- .../icons/yew/src/transparency_grid_icon.rs | 25 +- packages/icons/yew/src/trash_icon.rs | 25 +- packages/icons/yew/src/triangle_down_icon.rs | 29 +- packages/icons/yew/src/triangle_left_icon.rs | 29 +- packages/icons/yew/src/triangle_right_icon.rs | 29 +- packages/icons/yew/src/triangle_up_icon.rs | 29 +- packages/icons/yew/src/twitter_logo_icon.rs | 25 +- packages/icons/yew/src/underline_icon.rs | 25 +- packages/icons/yew/src/update_icon.rs | 25 +- packages/icons/yew/src/upload_icon.rs | 25 +- packages/icons/yew/src/value_icon.rs | 25 +- packages/icons/yew/src/value_none_icon.rs | 25 +- packages/icons/yew/src/vercel_logo_icon.rs | 25 +- packages/icons/yew/src/video_icon.rs | 25 +- packages/icons/yew/src/view_grid_icon.rs | 25 +- .../icons/yew/src/view_horizontal_icon.rs | 25 +- packages/icons/yew/src/view_none_icon.rs | 25 +- packages/icons/yew/src/view_vertical_icon.rs | 25 +- packages/icons/yew/src/width_icon.rs | 25 +- packages/icons/yew/src/zoom_in_icon.rs | 25 +- packages/icons/yew/src/zoom_out_icon.rs | 25 +- scripts/Cargo.toml | 3 + scripts/src/bin/icons.rs | 365 +-- scripts/src/framework.rs | 15 + scripts/src/frameworks.rs | 3 + scripts/src/frameworks/dioxus.rs | 216 ++ scripts/src/frameworks/leptos.rs | 141 + scripts/src/frameworks/yew.rs | 155 ++ scripts/src/lib.rs | 3 + 999 files changed, 23630 insertions(+), 8699 deletions(-) create mode 100644 book-examples/dioxus/icons/Cargo.toml create mode 100644 book-examples/dioxus/icons/Trunk.toml create mode 100644 book-examples/dioxus/icons/index.html create mode 100644 book-examples/dioxus/icons/main.js create mode 100644 book-examples/dioxus/icons/src/app.rs create mode 100644 book-examples/dioxus/icons/src/icons.rs create mode 100644 book-examples/dioxus/icons/src/main.rs create mode 100644 book-examples/dioxus/icons/style/tailwind.css create mode 100644 book-examples/dioxus/icons/tailwind.config.js create mode 100644 packages/icons/dioxus/README.md create mode 100644 packages/icons/dioxus/src/accessibility_icon.rs create mode 100644 packages/icons/dioxus/src/activity_log_icon.rs create mode 100644 packages/icons/dioxus/src/align_baseline_icon.rs create mode 100644 packages/icons/dioxus/src/align_bottom_icon.rs create mode 100644 packages/icons/dioxus/src/align_center_horizontally_icon.rs create mode 100644 packages/icons/dioxus/src/align_center_vertically_icon.rs create mode 100644 packages/icons/dioxus/src/align_left_icon.rs create mode 100644 packages/icons/dioxus/src/align_right_icon.rs create mode 100644 packages/icons/dioxus/src/align_top_icon.rs create mode 100644 packages/icons/dioxus/src/all_sides_icon.rs create mode 100644 packages/icons/dioxus/src/angle_icon.rs create mode 100644 packages/icons/dioxus/src/archive_icon.rs create mode 100644 packages/icons/dioxus/src/arrow_bottom_left_icon.rs create mode 100644 packages/icons/dioxus/src/arrow_bottom_right_icon.rs create mode 100644 packages/icons/dioxus/src/arrow_down_icon.rs create mode 100644 packages/icons/dioxus/src/arrow_left_icon.rs create mode 100644 packages/icons/dioxus/src/arrow_right_icon.rs create mode 100644 packages/icons/dioxus/src/arrow_top_left_icon.rs create mode 100644 packages/icons/dioxus/src/arrow_top_right_icon.rs create mode 100644 packages/icons/dioxus/src/arrow_up_icon.rs create mode 100644 packages/icons/dioxus/src/aspect_ratio_icon.rs create mode 100644 packages/icons/dioxus/src/avatar_icon.rs create mode 100644 packages/icons/dioxus/src/backpack_icon.rs create mode 100644 packages/icons/dioxus/src/badge_icon.rs create mode 100644 packages/icons/dioxus/src/bar_chart_icon.rs create mode 100644 packages/icons/dioxus/src/bell_icon.rs create mode 100644 packages/icons/dioxus/src/blending_mode_icon.rs create mode 100644 packages/icons/dioxus/src/bookmark_filled_icon.rs create mode 100644 packages/icons/dioxus/src/bookmark_icon.rs create mode 100644 packages/icons/dioxus/src/border_all_icon.rs create mode 100644 packages/icons/dioxus/src/border_bottom_icon.rs create mode 100644 packages/icons/dioxus/src/border_dashed_icon.rs create mode 100644 packages/icons/dioxus/src/border_dotted_icon.rs create mode 100644 packages/icons/dioxus/src/border_left_icon.rs create mode 100644 packages/icons/dioxus/src/border_none_icon.rs create mode 100644 packages/icons/dioxus/src/border_right_icon.rs create mode 100644 packages/icons/dioxus/src/border_solid_icon.rs create mode 100644 packages/icons/dioxus/src/border_split_icon.rs create mode 100644 packages/icons/dioxus/src/border_style_icon.rs create mode 100644 packages/icons/dioxus/src/border_top_icon.rs create mode 100644 packages/icons/dioxus/src/border_width_icon.rs create mode 100644 packages/icons/dioxus/src/box_icon.rs create mode 100644 packages/icons/dioxus/src/box_model_icon.rs create mode 100644 packages/icons/dioxus/src/button_icon.rs create mode 100644 packages/icons/dioxus/src/calendar_icon.rs create mode 100644 packages/icons/dioxus/src/camera_icon.rs create mode 100644 packages/icons/dioxus/src/card_stack_icon.rs create mode 100644 packages/icons/dioxus/src/card_stack_minus_icon.rs create mode 100644 packages/icons/dioxus/src/card_stack_plus_icon.rs create mode 100644 packages/icons/dioxus/src/caret_down_icon.rs create mode 100644 packages/icons/dioxus/src/caret_left_icon.rs create mode 100644 packages/icons/dioxus/src/caret_right_icon.rs create mode 100644 packages/icons/dioxus/src/caret_sort_icon.rs create mode 100644 packages/icons/dioxus/src/caret_up_icon.rs create mode 100644 packages/icons/dioxus/src/chat_bubble_icon.rs create mode 100644 packages/icons/dioxus/src/check_circled_icon.rs create mode 100644 packages/icons/dioxus/src/check_icon.rs create mode 100644 packages/icons/dioxus/src/checkbox_icon.rs create mode 100644 packages/icons/dioxus/src/chevron_down_icon.rs create mode 100644 packages/icons/dioxus/src/chevron_left_icon.rs create mode 100644 packages/icons/dioxus/src/chevron_right_icon.rs create mode 100644 packages/icons/dioxus/src/chevron_up_icon.rs create mode 100644 packages/icons/dioxus/src/circle_backslash_icon.rs create mode 100644 packages/icons/dioxus/src/circle_icon.rs create mode 100644 packages/icons/dioxus/src/clipboard_copy_icon.rs create mode 100644 packages/icons/dioxus/src/clipboard_icon.rs create mode 100644 packages/icons/dioxus/src/clock_icon.rs create mode 100644 packages/icons/dioxus/src/code_icon.rs create mode 100644 packages/icons/dioxus/src/codesandbox_logo_icon.rs create mode 100644 packages/icons/dioxus/src/color_wheel_icon.rs create mode 100644 packages/icons/dioxus/src/column_spacing_icon.rs create mode 100644 packages/icons/dioxus/src/columns_icon.rs create mode 100644 packages/icons/dioxus/src/commit_icon.rs create mode 100644 packages/icons/dioxus/src/component_1_icon.rs create mode 100644 packages/icons/dioxus/src/component_2_icon.rs create mode 100644 packages/icons/dioxus/src/component_boolean_icon.rs create mode 100644 packages/icons/dioxus/src/component_instance_icon.rs create mode 100644 packages/icons/dioxus/src/component_none_icon.rs create mode 100644 packages/icons/dioxus/src/component_placeholder_icon.rs create mode 100644 packages/icons/dioxus/src/container_icon.rs create mode 100644 packages/icons/dioxus/src/cookie_icon.rs create mode 100644 packages/icons/dioxus/src/copy_icon.rs create mode 100644 packages/icons/dioxus/src/corner_bottom_left_icon.rs create mode 100644 packages/icons/dioxus/src/corner_bottom_right_icon.rs create mode 100644 packages/icons/dioxus/src/corner_top_left_icon.rs create mode 100644 packages/icons/dioxus/src/corner_top_right_icon.rs create mode 100644 packages/icons/dioxus/src/corners_icon.rs create mode 100644 packages/icons/dioxus/src/countdown_timer_icon.rs create mode 100644 packages/icons/dioxus/src/counter_clockwise_clock_icon.rs create mode 100644 packages/icons/dioxus/src/crop_icon.rs create mode 100644 packages/icons/dioxus/src/cross_1_icon.rs create mode 100644 packages/icons/dioxus/src/cross_2_icon.rs create mode 100644 packages/icons/dioxus/src/cross_circled_icon.rs create mode 100644 packages/icons/dioxus/src/crosshair_1_icon.rs create mode 100644 packages/icons/dioxus/src/crosshair_2_icon.rs create mode 100644 packages/icons/dioxus/src/crumpled_paper_icon.rs create mode 100644 packages/icons/dioxus/src/cube_icon.rs create mode 100644 packages/icons/dioxus/src/cursor_arrow_icon.rs create mode 100644 packages/icons/dioxus/src/cursor_text_icon.rs create mode 100644 packages/icons/dioxus/src/dash_icon.rs create mode 100644 packages/icons/dioxus/src/dashboard_icon.rs create mode 100644 packages/icons/dioxus/src/desktop_icon.rs create mode 100644 packages/icons/dioxus/src/dimensions_icon.rs create mode 100644 packages/icons/dioxus/src/disc_icon.rs create mode 100644 packages/icons/dioxus/src/discord_logo_icon.rs create mode 100644 packages/icons/dioxus/src/divider_horizontal_icon.rs create mode 100644 packages/icons/dioxus/src/divider_vertical_icon.rs create mode 100644 packages/icons/dioxus/src/dot_filled_icon.rs create mode 100644 packages/icons/dioxus/src/dot_icon.rs create mode 100644 packages/icons/dioxus/src/dots_horizontal_icon.rs create mode 100644 packages/icons/dioxus/src/dots_vertical_icon.rs create mode 100644 packages/icons/dioxus/src/double_arrow_down_icon.rs create mode 100644 packages/icons/dioxus/src/double_arrow_left_icon.rs create mode 100644 packages/icons/dioxus/src/double_arrow_right_icon.rs create mode 100644 packages/icons/dioxus/src/double_arrow_up_icon.rs create mode 100644 packages/icons/dioxus/src/download_icon.rs create mode 100644 packages/icons/dioxus/src/drag_handle_dots_1_icon.rs create mode 100644 packages/icons/dioxus/src/drag_handle_dots_2_icon.rs create mode 100644 packages/icons/dioxus/src/drag_handle_horizontal_icon.rs create mode 100644 packages/icons/dioxus/src/drag_handle_vertical_icon.rs create mode 100644 packages/icons/dioxus/src/drawing_pin_filled_icon.rs create mode 100644 packages/icons/dioxus/src/drawing_pin_icon.rs create mode 100644 packages/icons/dioxus/src/dropdown_menu_icon.rs create mode 100644 packages/icons/dioxus/src/enter_full_screen_icon.rs create mode 100644 packages/icons/dioxus/src/enter_icon.rs create mode 100644 packages/icons/dioxus/src/envelope_closed_icon.rs create mode 100644 packages/icons/dioxus/src/envelope_open_icon.rs create mode 100644 packages/icons/dioxus/src/eraser_icon.rs create mode 100644 packages/icons/dioxus/src/exclamation_triangle_icon.rs create mode 100644 packages/icons/dioxus/src/exit_full_screen_icon.rs create mode 100644 packages/icons/dioxus/src/exit_icon.rs create mode 100644 packages/icons/dioxus/src/external_link_icon.rs create mode 100644 packages/icons/dioxus/src/eye_closed_icon.rs create mode 100644 packages/icons/dioxus/src/eye_none_icon.rs create mode 100644 packages/icons/dioxus/src/eye_open_icon.rs create mode 100644 packages/icons/dioxus/src/face_icon.rs create mode 100644 packages/icons/dioxus/src/figma_logo_icon.rs create mode 100644 packages/icons/dioxus/src/file_icon.rs create mode 100644 packages/icons/dioxus/src/file_minus_icon.rs create mode 100644 packages/icons/dioxus/src/file_plus_icon.rs create mode 100644 packages/icons/dioxus/src/file_text_icon.rs create mode 100644 packages/icons/dioxus/src/font_bold_icon.rs create mode 100644 packages/icons/dioxus/src/font_family_icon.rs create mode 100644 packages/icons/dioxus/src/font_italic_icon.rs create mode 100644 packages/icons/dioxus/src/font_roman_icon.rs create mode 100644 packages/icons/dioxus/src/font_size_icon.rs create mode 100644 packages/icons/dioxus/src/font_style_icon.rs create mode 100644 packages/icons/dioxus/src/frame_icon.rs create mode 100644 packages/icons/dioxus/src/framer_logo_icon.rs create mode 100644 packages/icons/dioxus/src/gear_icon.rs create mode 100644 packages/icons/dioxus/src/github_logo_icon.rs create mode 100644 packages/icons/dioxus/src/globe_icon.rs create mode 100644 packages/icons/dioxus/src/grid_icon.rs create mode 100644 packages/icons/dioxus/src/group_icon.rs create mode 100644 packages/icons/dioxus/src/half_1_icon.rs create mode 100644 packages/icons/dioxus/src/half_2_icon.rs create mode 100644 packages/icons/dioxus/src/hamburger_menu_icon.rs create mode 100644 packages/icons/dioxus/src/hand_icon.rs create mode 100644 packages/icons/dioxus/src/heading_icon.rs create mode 100644 packages/icons/dioxus/src/heart_filled_icon.rs create mode 100644 packages/icons/dioxus/src/heart_icon.rs create mode 100644 packages/icons/dioxus/src/height_icon.rs create mode 100644 packages/icons/dioxus/src/hobby_knife_icon.rs create mode 100644 packages/icons/dioxus/src/home_icon.rs create mode 100644 packages/icons/dioxus/src/iconjar_logo_icon.rs create mode 100644 packages/icons/dioxus/src/id_card_icon.rs create mode 100644 packages/icons/dioxus/src/image_icon.rs create mode 100644 packages/icons/dioxus/src/info_circled_icon.rs create mode 100644 packages/icons/dioxus/src/input_icon.rs create mode 100644 packages/icons/dioxus/src/instagram_logo_icon.rs create mode 100644 packages/icons/dioxus/src/keyboard_icon.rs create mode 100644 packages/icons/dioxus/src/lap_timer_icon.rs create mode 100644 packages/icons/dioxus/src/laptop_icon.rs create mode 100644 packages/icons/dioxus/src/layers_icon.rs create mode 100644 packages/icons/dioxus/src/layout_icon.rs create mode 100644 packages/icons/dioxus/src/letter_case_capitalize_icon.rs create mode 100644 packages/icons/dioxus/src/letter_case_lowercase_icon.rs create mode 100644 packages/icons/dioxus/src/letter_case_toggle_icon.rs create mode 100644 packages/icons/dioxus/src/letter_case_uppercase_icon.rs create mode 100644 packages/icons/dioxus/src/letter_spacing_icon.rs create mode 100644 packages/icons/dioxus/src/lightning_bolt_icon.rs create mode 100644 packages/icons/dioxus/src/line_height_icon.rs create mode 100644 packages/icons/dioxus/src/link_1_icon.rs create mode 100644 packages/icons/dioxus/src/link_2_icon.rs create mode 100644 packages/icons/dioxus/src/link_break_1_icon.rs create mode 100644 packages/icons/dioxus/src/link_break_2_icon.rs create mode 100644 packages/icons/dioxus/src/link_none_1_icon.rs create mode 100644 packages/icons/dioxus/src/link_none_2_icon.rs create mode 100644 packages/icons/dioxus/src/linkedin_logo_icon.rs create mode 100644 packages/icons/dioxus/src/list_bullet_icon.rs create mode 100644 packages/icons/dioxus/src/lock_closed_icon.rs create mode 100644 packages/icons/dioxus/src/lock_open_1_icon.rs create mode 100644 packages/icons/dioxus/src/lock_open_2_icon.rs create mode 100644 packages/icons/dioxus/src/loop_icon.rs create mode 100644 packages/icons/dioxus/src/magic_wand_icon.rs create mode 100644 packages/icons/dioxus/src/magnifying_glass_icon.rs create mode 100644 packages/icons/dioxus/src/margin_icon.rs create mode 100644 packages/icons/dioxus/src/mask_off_icon.rs create mode 100644 packages/icons/dioxus/src/mask_on_icon.rs create mode 100644 packages/icons/dioxus/src/minus_circled_icon.rs create mode 100644 packages/icons/dioxus/src/minus_icon.rs create mode 100644 packages/icons/dioxus/src/mix_icon.rs create mode 100644 packages/icons/dioxus/src/mixer_horizontal_icon.rs create mode 100644 packages/icons/dioxus/src/mixer_vertical_icon.rs create mode 100644 packages/icons/dioxus/src/mobile_icon.rs create mode 100644 packages/icons/dioxus/src/modulz_logo_icon.rs create mode 100644 packages/icons/dioxus/src/moon_icon.rs create mode 100644 packages/icons/dioxus/src/move_icon.rs create mode 100644 packages/icons/dioxus/src/notion_logo_icon.rs create mode 100644 packages/icons/dioxus/src/opacity_icon.rs create mode 100644 packages/icons/dioxus/src/open_in_new_window_icon.rs create mode 100644 packages/icons/dioxus/src/overline_icon.rs create mode 100644 packages/icons/dioxus/src/padding_icon.rs create mode 100644 packages/icons/dioxus/src/paper_plane_icon.rs create mode 100644 packages/icons/dioxus/src/pause_icon.rs create mode 100644 packages/icons/dioxus/src/pencil_1_icon.rs create mode 100644 packages/icons/dioxus/src/pencil_2_icon.rs create mode 100644 packages/icons/dioxus/src/person_icon.rs create mode 100644 packages/icons/dioxus/src/pie_chart_icon.rs create mode 100644 packages/icons/dioxus/src/pilcrow_icon.rs create mode 100644 packages/icons/dioxus/src/pin_bottom_icon.rs create mode 100644 packages/icons/dioxus/src/pin_left_icon.rs create mode 100644 packages/icons/dioxus/src/pin_right_icon.rs create mode 100644 packages/icons/dioxus/src/pin_top_icon.rs create mode 100644 packages/icons/dioxus/src/play_icon.rs create mode 100644 packages/icons/dioxus/src/plus_circled_icon.rs create mode 100644 packages/icons/dioxus/src/plus_icon.rs create mode 100644 packages/icons/dioxus/src/question_mark_circled_icon.rs create mode 100644 packages/icons/dioxus/src/question_mark_icon.rs create mode 100644 packages/icons/dioxus/src/quote_icon.rs create mode 100644 packages/icons/dioxus/src/radiobutton_icon.rs create mode 100644 packages/icons/dioxus/src/reader_icon.rs create mode 100644 packages/icons/dioxus/src/reload_icon.rs create mode 100644 packages/icons/dioxus/src/reset_icon.rs create mode 100644 packages/icons/dioxus/src/resume_icon.rs create mode 100644 packages/icons/dioxus/src/rocket_icon.rs create mode 100644 packages/icons/dioxus/src/rotate_counter_clockwise_icon.rs create mode 100644 packages/icons/dioxus/src/row_spacing_icon.rs create mode 100644 packages/icons/dioxus/src/rows_icon.rs create mode 100644 packages/icons/dioxus/src/ruler_horizontal_icon.rs create mode 100644 packages/icons/dioxus/src/ruler_square_icon.rs create mode 100644 packages/icons/dioxus/src/scissors_icon.rs create mode 100644 packages/icons/dioxus/src/section_icon.rs create mode 100644 packages/icons/dioxus/src/sewing_pin_filled_icon.rs create mode 100644 packages/icons/dioxus/src/sewing_pin_icon.rs create mode 100644 packages/icons/dioxus/src/shadow_icon.rs create mode 100644 packages/icons/dioxus/src/shadow_inner_icon.rs create mode 100644 packages/icons/dioxus/src/shadow_none_icon.rs create mode 100644 packages/icons/dioxus/src/shadow_outer_icon.rs create mode 100644 packages/icons/dioxus/src/share_1_icon.rs create mode 100644 packages/icons/dioxus/src/share_2_icon.rs create mode 100644 packages/icons/dioxus/src/shuffle_icon.rs create mode 100644 packages/icons/dioxus/src/size_icon.rs create mode 100644 packages/icons/dioxus/src/sketch_logo_icon.rs create mode 100644 packages/icons/dioxus/src/slash_icon.rs create mode 100644 packages/icons/dioxus/src/slider_icon.rs create mode 100644 packages/icons/dioxus/src/space_between_horizontally_icon.rs create mode 100644 packages/icons/dioxus/src/space_between_vertically_icon.rs create mode 100644 packages/icons/dioxus/src/space_evenly_horizontally_icon.rs create mode 100644 packages/icons/dioxus/src/space_evenly_vertically_icon.rs create mode 100644 packages/icons/dioxus/src/speaker_loud_icon.rs create mode 100644 packages/icons/dioxus/src/speaker_moderate_icon.rs create mode 100644 packages/icons/dioxus/src/speaker_off_icon.rs create mode 100644 packages/icons/dioxus/src/speaker_quiet_icon.rs create mode 100644 packages/icons/dioxus/src/square_icon.rs create mode 100644 packages/icons/dioxus/src/stack_icon.rs create mode 100644 packages/icons/dioxus/src/star_filled_icon.rs create mode 100644 packages/icons/dioxus/src/star_icon.rs create mode 100644 packages/icons/dioxus/src/stitches_logo_icon.rs create mode 100644 packages/icons/dioxus/src/stop_icon.rs create mode 100644 packages/icons/dioxus/src/stopwatch_icon.rs create mode 100644 packages/icons/dioxus/src/stretch_horizontally_icon.rs create mode 100644 packages/icons/dioxus/src/stretch_vertically_icon.rs create mode 100644 packages/icons/dioxus/src/strikethrough_icon.rs create mode 100644 packages/icons/dioxus/src/sun_icon.rs create mode 100644 packages/icons/dioxus/src/switch_icon.rs create mode 100644 packages/icons/dioxus/src/symbol_icon.rs create mode 100644 packages/icons/dioxus/src/table_icon.rs create mode 100644 packages/icons/dioxus/src/target_icon.rs create mode 100644 packages/icons/dioxus/src/text_align_bottom_icon.rs create mode 100644 packages/icons/dioxus/src/text_align_center_icon.rs create mode 100644 packages/icons/dioxus/src/text_align_justify_icon.rs create mode 100644 packages/icons/dioxus/src/text_align_left_icon.rs create mode 100644 packages/icons/dioxus/src/text_align_middle_icon.rs create mode 100644 packages/icons/dioxus/src/text_align_right_icon.rs create mode 100644 packages/icons/dioxus/src/text_align_top_icon.rs create mode 100644 packages/icons/dioxus/src/text_icon.rs create mode 100644 packages/icons/dioxus/src/text_none_icon.rs create mode 100644 packages/icons/dioxus/src/thick_arrow_down_icon.rs create mode 100644 packages/icons/dioxus/src/thick_arrow_left_icon.rs create mode 100644 packages/icons/dioxus/src/thick_arrow_right_icon.rs create mode 100644 packages/icons/dioxus/src/thick_arrow_up_icon.rs create mode 100644 packages/icons/dioxus/src/timer_icon.rs create mode 100644 packages/icons/dioxus/src/tokens_icon.rs create mode 100644 packages/icons/dioxus/src/track_next_icon.rs create mode 100644 packages/icons/dioxus/src/track_previous_icon.rs create mode 100644 packages/icons/dioxus/src/transform_icon.rs create mode 100644 packages/icons/dioxus/src/transparency_grid_icon.rs create mode 100644 packages/icons/dioxus/src/trash_icon.rs create mode 100644 packages/icons/dioxus/src/triangle_down_icon.rs create mode 100644 packages/icons/dioxus/src/triangle_left_icon.rs create mode 100644 packages/icons/dioxus/src/triangle_right_icon.rs create mode 100644 packages/icons/dioxus/src/triangle_up_icon.rs create mode 100644 packages/icons/dioxus/src/twitter_logo_icon.rs create mode 100644 packages/icons/dioxus/src/underline_icon.rs create mode 100644 packages/icons/dioxus/src/update_icon.rs create mode 100644 packages/icons/dioxus/src/upload_icon.rs create mode 100644 packages/icons/dioxus/src/value_icon.rs create mode 100644 packages/icons/dioxus/src/value_none_icon.rs create mode 100644 packages/icons/dioxus/src/vercel_logo_icon.rs create mode 100644 packages/icons/dioxus/src/video_icon.rs create mode 100644 packages/icons/dioxus/src/view_grid_icon.rs create mode 100644 packages/icons/dioxus/src/view_horizontal_icon.rs create mode 100644 packages/icons/dioxus/src/view_none_icon.rs create mode 100644 packages/icons/dioxus/src/view_vertical_icon.rs create mode 100644 packages/icons/dioxus/src/width_icon.rs create mode 100644 packages/icons/dioxus/src/zoom_in_icon.rs create mode 100644 packages/icons/dioxus/src/zoom_out_icon.rs create mode 100644 packages/icons/leptos/README.md create mode 100644 packages/icons/yew/README.md create mode 100644 scripts/src/framework.rs create mode 100644 scripts/src/frameworks.rs create mode 100644 scripts/src/frameworks/dioxus.rs create mode 100644 scripts/src/frameworks/leptos.rs create mode 100644 scripts/src/frameworks/yew.rs diff --git a/Cargo.lock b/Cargo.lock index b2b92fdd..d6ec676a 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -258,6 +258,8 @@ version = "1.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "fd9de9f2205d5ef3fd67e685b0df337994ddd4495e2a28d185500d0e1edfea47" dependencies = [ + "jobserver", + "libc", "shlex", ] @@ -1037,6 +1039,16 @@ version = "1.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" +[[package]] +name = "errno" +version = "0.3.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "33d852cb9b869c2a9b3df2f71a3074817f01e1844f839a144f5fcef059a4eb5d" +dependencies = [ + "libc", + "windows-sys 0.59.0", +] + [[package]] name = "euclid" version = "0.22.11" @@ -1067,6 +1079,12 @@ dependencies = [ "pin-project-lite", ] +[[package]] +name = "fastrand" +version = "2.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37909eebbb50d72f9059c3b6d82c0463f2ff062c9e95845c43a6c9c0355411be" + [[package]] name = "floating-ui-core" version = "0.2.0" @@ -1259,6 +1277,21 @@ version = "0.31.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "07e28edb80900c19c28f1072f2e8aeca7fa06b23cd4169cefe1af5aa3260783f" +[[package]] +name = "git2" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fda788993cc341f69012feba8bf45c0ba4f3291fcc08e214b4d5a7332d88aff" +dependencies = [ + "bitflags", + "libc", + "libgit2-sys", + "log", + "openssl-probe", + "openssl-sys", + "url", +] + [[package]] name = "gloo" version = "0.8.1" @@ -2055,6 +2088,15 @@ version = "1.0.11" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49f1f14873335454500d59611f1cf4a4b0f786f9ac11f4312a78e4cf2566695b" +[[package]] +name = "jobserver" +version = "0.1.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "48d1dbcbbeb6a7fec7e059840aa538bd62aaccf972c7346c4d9d2059312853d0" +dependencies = [ + "libc", +] + [[package]] name = "js-sys" version = "0.3.76" @@ -2286,12 +2328,58 @@ version = "0.2.164" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "433bfe06b8c75da9b2e3fbea6e5329ff87748f0b144ef75306e674c3f6f7c13f" +[[package]] +name = "libgit2-sys" +version = "0.18.0+1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e1a117465e7e1597e8febea8bb0c410f1c7fb93b1e1cddf34363f8390367ffec" +dependencies = [ + "cc", + "libc", + "libssh2-sys", + "libz-sys", + "openssl-sys", + "pkg-config", +] + +[[package]] +name = "libssh2-sys" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2dc8a030b787e2119a731f1951d6a773e2280c660f8ec4b0f5e1505a386e71ee" +dependencies = [ + "cc", + "libc", + "libz-sys", + "openssl-sys", + "pkg-config", + "vcpkg", +] + +[[package]] +name = "libz-sys" +version = "1.1.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d2d16453e800a8cf6dd2fc3eb4bc99b786a9b90c663b8559a5b1a041bf89e472" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + [[package]] name = "linear-map" version = "1.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "bfae20f6b19ad527b550c223fddc3077a547fc70cda94b9b566575423fd303ee" +[[package]] +name = "linux-raw-sys" +version = "0.4.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "78b3ae25bc7c8c38cec158d1f2757ee79e9b3740fbc7ccf0e59e4b08d793fa89" + [[package]] name = "litemap" version = "0.7.3" @@ -2551,6 +2639,18 @@ version = "0.1.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ff011a302c396a5197692431fc1948019154afc178baf7d8e37367442a4601cf" +[[package]] +name = "openssl-sys" +version = "0.9.104" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "45abf306cbf99debc8195b66b7346498d7b10c210de50418b5ccd7ceba08c741" +dependencies = [ + "cc", + "libc", + "pkg-config", + "vcpkg", +] + [[package]] name = "or_poisoned" version = "0.1.0" @@ -2657,6 +2757,12 @@ dependencies = [ "thiserror 1.0.69", ] +[[package]] +name = "pkg-config" +version = "0.3.31" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" + [[package]] name = "powerfmt" version = "0.2.0" @@ -2823,6 +2929,17 @@ dependencies = [ name = "radix-colors" version = "0.0.2" +[[package]] +name = "radix-dioxus-book-icons" +version = "0.0.2" +dependencies = [ + "console_error_panic_hook", + "console_log", + "dioxus", + "log", + "radix-dioxus-icons", +] + [[package]] name = "radix-dioxus-book-primitives" version = "0.0.2" @@ -2883,6 +3000,7 @@ dependencies = [ "console_log", "leptos", "log", + "radix-leptos-icons", ] [[package]] @@ -2904,6 +3022,13 @@ dependencies = [ "leptos", ] +[[package]] +name = "radix-leptos-icons" +version = "0.0.2" +dependencies = [ + "leptos", +] + [[package]] name = "radix-leptos-id" version = "0.0.2" @@ -3500,6 +3625,12 @@ version = "0.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "afab94fb28594581f62d981211a9a4d53cc8130bbcbbb89a0440d9b8e81a7746" +[[package]] +name = "roxmltree" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6c20b6793b5c2fa6553b250154b78d6d0db37e72700ae35fad9387a46f487c97" + [[package]] name = "rstml" version = "0.12.0" @@ -3533,6 +3664,19 @@ version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c7fb8039b3032c191086b10f11f319a6e99e1e82889c5cc6046f515c9db1d497" +[[package]] +name = "rustix" +version = "0.38.42" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f93dc38ecbab2eb790ff964bb77fa94faf256fd3e73285fd7ba0903b76bedb85" +dependencies = [ + "bitflags", + "errno", + "libc", + "linux-raw-sys", + "windows-sys 0.59.0", +] + [[package]] name = "rustls" version = "0.23.17" @@ -3629,13 +3773,16 @@ version = "0.0.2" dependencies = [ "convert_case", "env_logger", + "git2", "http-body-util", "log", "octocrab", "prettyplease", "proc-macro2", "quote", + "roxmltree", "syn 2.0.95", + "tempfile", "tokio", ] @@ -4153,6 +4300,20 @@ dependencies = [ "syn 2.0.95", ] +[[package]] +name = "tempfile" +version = "3.15.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9a8a559c81686f576e8cd0290cd2a24a2a9ad80c98b3478856500fcbd7acd704" +dependencies = [ + "cfg-if", + "fastrand", + "getrandom", + "once_cell", + "rustix", + "windows-sys 0.59.0", +] + [[package]] name = "thiserror" version = "1.0.69" @@ -4595,6 +4756,12 @@ dependencies = [ "getrandom", ] +[[package]] +name = "vcpkg" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "accd4ea62f7bb7a82fe23066fb0957d48ef677f6eeb8215f372f52e48bb32426" + [[package]] name = "version_check" version = "0.9.5" diff --git a/Cargo.toml b/Cargo.toml index 68450696..ce06992c 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -12,8 +12,7 @@ members = [ "book-examples/*/*", "packages/colors", - "packages/icons/dioxus", - "packages/icons/yew", + "packages/icons/*", "packages/primitives/leptos/accessible-icon", "packages/primitives/leptos/arrow", "packages/primitives/leptos/aspect-ratio", diff --git a/README.md b/README.md index 325a5876..2ece87e4 100644 --- a/README.md +++ b/README.md @@ -14,13 +14,10 @@ Rust port of [Radix](https://www.radix-ui.com). Rust Radix is available for these Rust frameworks: +- [Dioxus](https://dioxuslabs.com/) - [Leptos](./packages/primitives/leptos) - [Yew](https://yew.rs/) -The following frameworks are under consideration: - -- [Dioxus](https://dioxuslabs.com/) - See [the Rust Radix book](https://radix.rustforweb.org/introduction.html#frameworks) for more information. ## Documentation diff --git a/book-examples/dioxus/icons/Cargo.toml b/book-examples/dioxus/icons/Cargo.toml new file mode 100644 index 00000000..14937a9a --- /dev/null +++ b/book-examples/dioxus/icons/Cargo.toml @@ -0,0 +1,21 @@ +[package] +name = "radix-dioxus-book-icons" +description = "Book examples for Radix Icons Dioxus." +publish = false + +authors.workspace = true +edition.workspace = true +license.workspace = true +repository.workspace = true +version.workspace = true + +[dependencies] +console_error_panic_hook.workspace = true +console_log.workspace = true +log.workspace = true +radix-dioxus-icons = { path = "../../../packages/icons/dioxus", optional = true } +dioxus = { workspace = true, features = ["web"] } + +[features] +default = [] +icons = ["dep:radix-dioxus-icons"] diff --git a/book-examples/dioxus/icons/Trunk.toml b/book-examples/dioxus/icons/Trunk.toml new file mode 100644 index 00000000..0f4b0a37 --- /dev/null +++ b/book-examples/dioxus/icons/Trunk.toml @@ -0,0 +1,7 @@ +[[hooks]] +stage = "pre_build" +command = "sh" +command_arguments = [ + "-c", + "npx tailwindcss -i style/tailwind.css -o style/tailwind.output.css", +] diff --git a/book-examples/dioxus/icons/index.html b/book-examples/dioxus/icons/index.html new file mode 100644 index 00000000..1fc8f750 --- /dev/null +++ b/book-examples/dioxus/icons/index.html @@ -0,0 +1,14 @@ + + + + Radix Icons Dioxus + + + + + + + diff --git a/book-examples/dioxus/icons/main.js b/book-examples/dioxus/icons/main.js new file mode 100644 index 00000000..aad810c3 --- /dev/null +++ b/book-examples/dioxus/icons/main.js @@ -0,0 +1,13 @@ +document.addEventListener('DOMContentLoaded', () => { + const resizeObserver = new ResizeObserver(() => { + if (window.top) { + window.top.postMessage({ + mdbookTrunk: { + width: document.body.scrollWidth, + height: document.body.scrollHeight + } + }); + } + }); + resizeObserver.observe(document.body); +}); diff --git a/book-examples/dioxus/icons/src/app.rs b/book-examples/dioxus/icons/src/app.rs new file mode 100644 index 00000000..67728bd1 --- /dev/null +++ b/book-examples/dioxus/icons/src/app.rs @@ -0,0 +1,20 @@ +use dioxus::prelude::*; + +#[component] +pub fn App() -> Element { + #[allow(unused_mut)] + let mut children: Vec> = vec![]; + + #[cfg(feature = "icons")] + { + use crate::icons::Icons; + + children.push(rsx! { + Icons {} + }); + } + + rsx! { + div { class: "w-full h-full flex justify-center items-center", {children.iter()} } + } +} diff --git a/book-examples/dioxus/icons/src/icons.rs b/book-examples/dioxus/icons/src/icons.rs new file mode 100644 index 00000000..ce47c7c2 --- /dev/null +++ b/book-examples/dioxus/icons/src/icons.rs @@ -0,0 +1,2279 @@ +use dioxus::prelude::*; +use radix_dioxus_icons::*; +#[component] +pub fn Icons() -> Element { + rsx! { + div { class: "w-full max-w-80 py-4", + IconsA {} + IconsB {} + IconsC {} + IconsD {} + IconsE {} + IconsF {} + IconsG {} + IconsH {} + IconsI {} + IconsK {} + IconsL {} + IconsM {} + IconsN {} + IconsO {} + IconsP {} + IconsQ {} + IconsR {} + IconsS {} + IconsT {} + IconsU {} + IconsV {} + IconsW {} + IconsZ {} + } + } +} +#[component] +pub fn IconsA() -> Element { + let icons = [ + ( + rsx! { + AccessibilityIcon {} + }, + "Accessibility", + ), + ( + rsx! { + ActivityLogIcon {} + }, + "Activity Log", + ), + ( + rsx! { + AlignBaselineIcon {} + }, + "Align Baseline", + ), + ( + rsx! { + AlignBottomIcon {} + }, + "Align Bottom", + ), + ( + rsx! { + AlignCenterHorizontallyIcon {} + }, + "Align Center Horizontally", + ), + ( + rsx! { + AlignCenterVerticallyIcon {} + }, + "Align Center Vertically", + ), + ( + rsx! { + AlignLeftIcon {} + }, + "Align Left", + ), + ( + rsx! { + AlignRightIcon {} + }, + "Align Right", + ), + ( + rsx! { + AlignTopIcon {} + }, + "Align Top", + ), + ( + rsx! { + AllSidesIcon {} + }, + "All Sides", + ), + ( + rsx! { + AngleIcon {} + }, + "Angle", + ), + ( + rsx! { + ArchiveIcon {} + }, + "Archive", + ), + ( + rsx! { + ArrowBottomLeftIcon {} + }, + "Arrow Bottom Left", + ), + ( + rsx! { + ArrowBottomRightIcon {} + }, + "Arrow Bottom Right", + ), + ( + rsx! { + ArrowDownIcon {} + }, + "Arrow Down", + ), + ( + rsx! { + ArrowLeftIcon {} + }, + "Arrow Left", + ), + ( + rsx! { + ArrowRightIcon {} + }, + "Arrow Right", + ), + ( + rsx! { + ArrowTopLeftIcon {} + }, + "Arrow Top Left", + ), + ( + rsx! { + ArrowTopRightIcon {} + }, + "Arrow Top Right", + ), + ( + rsx! { + ArrowUpIcon {} + }, + "Arrow Up", + ), + ( + rsx! { + AspectRatioIcon {} + }, + "Aspect Ratio", + ), + ( + rsx! { + AvatarIcon {} + }, + "Avatar", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsB() -> Element { + let icons = [ + ( + rsx! { + BackpackIcon {} + }, + "Backpack", + ), + ( + rsx! { + BadgeIcon {} + }, + "Badge", + ), + ( + rsx! { + BarChartIcon {} + }, + "Bar Chart", + ), + ( + rsx! { + BellIcon {} + }, + "Bell", + ), + ( + rsx! { + BlendingModeIcon {} + }, + "Blending Mode", + ), + ( + rsx! { + BookmarkIcon {} + }, + "Bookmark", + ), + ( + rsx! { + BookmarkFilledIcon {} + }, + "Bookmark Filled", + ), + ( + rsx! { + BorderAllIcon {} + }, + "Border All", + ), + ( + rsx! { + BorderBottomIcon {} + }, + "Border Bottom", + ), + ( + rsx! { + BorderDashedIcon {} + }, + "Border Dashed", + ), + ( + rsx! { + BorderDottedIcon {} + }, + "Border Dotted", + ), + ( + rsx! { + BorderLeftIcon {} + }, + "Border Left", + ), + ( + rsx! { + BorderNoneIcon {} + }, + "Border None", + ), + ( + rsx! { + BorderRightIcon {} + }, + "Border Right", + ), + ( + rsx! { + BorderSolidIcon {} + }, + "Border Solid", + ), + ( + rsx! { + BorderSplitIcon {} + }, + "Border Split", + ), + ( + rsx! { + BorderStyleIcon {} + }, + "Border Style", + ), + ( + rsx! { + BorderTopIcon {} + }, + "Border Top", + ), + ( + rsx! { + BorderWidthIcon {} + }, + "Border Width", + ), + ( + rsx! { + BoxIcon {} + }, + "Box", + ), + ( + rsx! { + BoxModelIcon {} + }, + "Box Model", + ), + ( + rsx! { + ButtonIcon {} + }, + "Button", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsC() -> Element { + let icons = [ + ( + rsx! { + CalendarIcon {} + }, + "Calendar", + ), + ( + rsx! { + CameraIcon {} + }, + "Camera", + ), + ( + rsx! { + CardStackIcon {} + }, + "Card Stack", + ), + ( + rsx! { + CardStackMinusIcon {} + }, + "Card Stack Minus", + ), + ( + rsx! { + CardStackPlusIcon {} + }, + "Card Stack Plus", + ), + ( + rsx! { + CaretDownIcon {} + }, + "Caret Down", + ), + ( + rsx! { + CaretLeftIcon {} + }, + "Caret Left", + ), + ( + rsx! { + CaretRightIcon {} + }, + "Caret Right", + ), + ( + rsx! { + CaretSortIcon {} + }, + "Caret Sort", + ), + ( + rsx! { + CaretUpIcon {} + }, + "Caret Up", + ), + ( + rsx! { + ChatBubbleIcon {} + }, + "Chat Bubble", + ), + ( + rsx! { + CheckIcon {} + }, + "Check", + ), + ( + rsx! { + CheckCircledIcon {} + }, + "Check Circled", + ), + ( + rsx! { + CheckboxIcon {} + }, + "Checkbox", + ), + ( + rsx! { + ChevronDownIcon {} + }, + "Chevron Down", + ), + ( + rsx! { + ChevronLeftIcon {} + }, + "Chevron Left", + ), + ( + rsx! { + ChevronRightIcon {} + }, + "Chevron Right", + ), + ( + rsx! { + ChevronUpIcon {} + }, + "Chevron Up", + ), + ( + rsx! { + CircleIcon {} + }, + "Circle", + ), + ( + rsx! { + CircleBackslashIcon {} + }, + "Circle Backslash", + ), + ( + rsx! { + ClipboardIcon {} + }, + "Clipboard", + ), + ( + rsx! { + ClipboardCopyIcon {} + }, + "Clipboard Copy", + ), + ( + rsx! { + ClockIcon {} + }, + "Clock", + ), + ( + rsx! { + CodeIcon {} + }, + "Code", + ), + ( + rsx! { + CodesandboxLogoIcon {} + }, + "Codesandbox Logo", + ), + ( + rsx! { + ColorWheelIcon {} + }, + "Color Wheel", + ), + ( + rsx! { + ColumnSpacingIcon {} + }, + "Column Spacing", + ), + ( + rsx! { + ColumnsIcon {} + }, + "Columns", + ), + ( + rsx! { + CommitIcon {} + }, + "Commit", + ), + ( + rsx! { + Component1Icon {} + }, + "Component 1", + ), + ( + rsx! { + Component2Icon {} + }, + "Component 2", + ), + ( + rsx! { + ComponentBooleanIcon {} + }, + "Component Boolean", + ), + ( + rsx! { + ComponentInstanceIcon {} + }, + "Component Instance", + ), + ( + rsx! { + ComponentNoneIcon {} + }, + "Component None", + ), + ( + rsx! { + ComponentPlaceholderIcon {} + }, + "Component Placeholder", + ), + ( + rsx! { + ContainerIcon {} + }, + "Container", + ), + ( + rsx! { + CookieIcon {} + }, + "Cookie", + ), + ( + rsx! { + CopyIcon {} + }, + "Copy", + ), + ( + rsx! { + CornerBottomLeftIcon {} + }, + "Corner Bottom Left", + ), + ( + rsx! { + CornerBottomRightIcon {} + }, + "Corner Bottom Right", + ), + ( + rsx! { + CornerTopLeftIcon {} + }, + "Corner Top Left", + ), + ( + rsx! { + CornerTopRightIcon {} + }, + "Corner Top Right", + ), + ( + rsx! { + CornersIcon {} + }, + "Corners", + ), + ( + rsx! { + CountdownTimerIcon {} + }, + "Countdown Timer", + ), + ( + rsx! { + CounterClockwiseClockIcon {} + }, + "Counter Clockwise Clock", + ), + ( + rsx! { + CropIcon {} + }, + "Crop", + ), + ( + rsx! { + Cross1Icon {} + }, + "Cross 1", + ), + ( + rsx! { + Cross2Icon {} + }, + "Cross 2", + ), + ( + rsx! { + CrossCircledIcon {} + }, + "Cross Circled", + ), + ( + rsx! { + Crosshair1Icon {} + }, + "Crosshair 1", + ), + ( + rsx! { + Crosshair2Icon {} + }, + "Crosshair 2", + ), + ( + rsx! { + CrumpledPaperIcon {} + }, + "Crumpled Paper", + ), + ( + rsx! { + CubeIcon {} + }, + "Cube", + ), + ( + rsx! { + CursorArrowIcon {} + }, + "Cursor Arrow", + ), + ( + rsx! { + CursorTextIcon {} + }, + "Cursor Text", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsD() -> Element { + let icons = [ + ( + rsx! { + DashIcon {} + }, + "Dash", + ), + ( + rsx! { + DashboardIcon {} + }, + "Dashboard", + ), + ( + rsx! { + DesktopIcon {} + }, + "Desktop", + ), + ( + rsx! { + DimensionsIcon {} + }, + "Dimensions", + ), + ( + rsx! { + DiscIcon {} + }, + "Disc", + ), + ( + rsx! { + DiscordLogoIcon {} + }, + "Discord Logo", + ), + ( + rsx! { + DividerHorizontalIcon {} + }, + "Divider Horizontal", + ), + ( + rsx! { + DividerVerticalIcon {} + }, + "Divider Vertical", + ), + ( + rsx! { + DotIcon {} + }, + "Dot", + ), + ( + rsx! { + DotFilledIcon {} + }, + "Dot Filled", + ), + ( + rsx! { + DotsHorizontalIcon {} + }, + "Dots Horizontal", + ), + ( + rsx! { + DotsVerticalIcon {} + }, + "Dots Vertical", + ), + ( + rsx! { + DoubleArrowDownIcon {} + }, + "Double Arrow Down", + ), + ( + rsx! { + DoubleArrowLeftIcon {} + }, + "Double Arrow Left", + ), + ( + rsx! { + DoubleArrowRightIcon {} + }, + "Double Arrow Right", + ), + ( + rsx! { + DoubleArrowUpIcon {} + }, + "Double Arrow Up", + ), + ( + rsx! { + DownloadIcon {} + }, + "Download", + ), + ( + rsx! { + DragHandleDots1Icon {} + }, + "Drag Handle Dots 1", + ), + ( + rsx! { + DragHandleDots2Icon {} + }, + "Drag Handle Dots 2", + ), + ( + rsx! { + DragHandleHorizontalIcon {} + }, + "Drag Handle Horizontal", + ), + ( + rsx! { + DragHandleVerticalIcon {} + }, + "Drag Handle Vertical", + ), + ( + rsx! { + DrawingPinIcon {} + }, + "Drawing Pin", + ), + ( + rsx! { + DrawingPinFilledIcon {} + }, + "Drawing Pin Filled", + ), + ( + rsx! { + DropdownMenuIcon {} + }, + "Dropdown Menu", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsE() -> Element { + let icons = [ + ( + rsx! { + EnterIcon {} + }, + "Enter", + ), + ( + rsx! { + EnterFullScreenIcon {} + }, + "Enter Full Screen", + ), + ( + rsx! { + EnvelopeClosedIcon {} + }, + "Envelope Closed", + ), + ( + rsx! { + EnvelopeOpenIcon {} + }, + "Envelope Open", + ), + ( + rsx! { + EraserIcon {} + }, + "Eraser", + ), + ( + rsx! { + ExclamationTriangleIcon {} + }, + "Exclamation Triangle", + ), + ( + rsx! { + ExitIcon {} + }, + "Exit", + ), + ( + rsx! { + ExitFullScreenIcon {} + }, + "Exit Full Screen", + ), + ( + rsx! { + ExternalLinkIcon {} + }, + "External Link", + ), + ( + rsx! { + EyeClosedIcon {} + }, + "Eye Closed", + ), + ( + rsx! { + EyeNoneIcon {} + }, + "Eye None", + ), + ( + rsx! { + EyeOpenIcon {} + }, + "Eye Open", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsF() -> Element { + let icons = [ + ( + rsx! { + FaceIcon {} + }, + "Face", + ), + ( + rsx! { + FigmaLogoIcon {} + }, + "Figma Logo", + ), + ( + rsx! { + FileIcon {} + }, + "File", + ), + ( + rsx! { + FileMinusIcon {} + }, + "File Minus", + ), + ( + rsx! { + FilePlusIcon {} + }, + "File Plus", + ), + ( + rsx! { + FileTextIcon {} + }, + "File Text", + ), + ( + rsx! { + FontBoldIcon {} + }, + "Font Bold", + ), + ( + rsx! { + FontFamilyIcon {} + }, + "Font Family", + ), + ( + rsx! { + FontItalicIcon {} + }, + "Font Italic", + ), + ( + rsx! { + FontRomanIcon {} + }, + "Font Roman", + ), + ( + rsx! { + FontSizeIcon {} + }, + "Font Size", + ), + ( + rsx! { + FontStyleIcon {} + }, + "Font Style", + ), + ( + rsx! { + FrameIcon {} + }, + "Frame", + ), + ( + rsx! { + FramerLogoIcon {} + }, + "Framer Logo", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsG() -> Element { + let icons = [ + ( + rsx! { + GearIcon {} + }, + "Gear", + ), + ( + rsx! { + GithubLogoIcon {} + }, + "Github Logo", + ), + ( + rsx! { + GlobeIcon {} + }, + "Globe", + ), + ( + rsx! { + GridIcon {} + }, + "Grid", + ), + ( + rsx! { + GroupIcon {} + }, + "Group", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsH() -> Element { + let icons = [ + ( + rsx! { + Half1Icon {} + }, + "Half 1", + ), + ( + rsx! { + Half2Icon {} + }, + "Half 2", + ), + ( + rsx! { + HamburgerMenuIcon {} + }, + "Hamburger Menu", + ), + ( + rsx! { + HandIcon {} + }, + "Hand", + ), + ( + rsx! { + HeadingIcon {} + }, + "Heading", + ), + ( + rsx! { + HeartIcon {} + }, + "Heart", + ), + ( + rsx! { + HeartFilledIcon {} + }, + "Heart Filled", + ), + ( + rsx! { + HeightIcon {} + }, + "Height", + ), + ( + rsx! { + HobbyKnifeIcon {} + }, + "Hobby Knife", + ), + ( + rsx! { + HomeIcon {} + }, + "Home", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsI() -> Element { + let icons = [ + ( + rsx! { + IconjarLogoIcon {} + }, + "Iconjar Logo", + ), + ( + rsx! { + IdCardIcon {} + }, + "Id Card", + ), + ( + rsx! { + ImageIcon {} + }, + "Image", + ), + ( + rsx! { + InfoCircledIcon {} + }, + "Info Circled", + ), + ( + rsx! { + InputIcon {} + }, + "Input", + ), + ( + rsx! { + InstagramLogoIcon {} + }, + "Instagram Logo", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsK() -> Element { + let icons = [( + rsx! { + KeyboardIcon {} + }, + "Keyboard", + )]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsL() -> Element { + let icons = [ + ( + rsx! { + LapTimerIcon {} + }, + "Lap Timer", + ), + ( + rsx! { + LaptopIcon {} + }, + "Laptop", + ), + ( + rsx! { + LayersIcon {} + }, + "Layers", + ), + ( + rsx! { + LayoutIcon {} + }, + "Layout", + ), + ( + rsx! { + LetterCaseCapitalizeIcon {} + }, + "Letter Case Capitalize", + ), + ( + rsx! { + LetterCaseLowercaseIcon {} + }, + "Letter Case Lowercase", + ), + ( + rsx! { + LetterCaseToggleIcon {} + }, + "Letter Case Toggle", + ), + ( + rsx! { + LetterCaseUppercaseIcon {} + }, + "Letter Case Uppercase", + ), + ( + rsx! { + LetterSpacingIcon {} + }, + "Letter Spacing", + ), + ( + rsx! { + LightningBoltIcon {} + }, + "Lightning Bolt", + ), + ( + rsx! { + LineHeightIcon {} + }, + "Line Height", + ), + ( + rsx! { + Link1Icon {} + }, + "Link 1", + ), + ( + rsx! { + Link2Icon {} + }, + "Link 2", + ), + ( + rsx! { + LinkBreak1Icon {} + }, + "Link Break 1", + ), + ( + rsx! { + LinkBreak2Icon {} + }, + "Link Break 2", + ), + ( + rsx! { + LinkNone1Icon {} + }, + "Link None 1", + ), + ( + rsx! { + LinkNone2Icon {} + }, + "Link None 2", + ), + ( + rsx! { + LinkedinLogoIcon {} + }, + "Linkedin Logo", + ), + ( + rsx! { + ListBulletIcon {} + }, + "List Bullet", + ), + ( + rsx! { + LockClosedIcon {} + }, + "Lock Closed", + ), + ( + rsx! { + LockOpen1Icon {} + }, + "Lock Open 1", + ), + ( + rsx! { + LockOpen2Icon {} + }, + "Lock Open 2", + ), + ( + rsx! { + LoopIcon {} + }, + "Loop", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsM() -> Element { + let icons = [ + ( + rsx! { + MagicWandIcon {} + }, + "Magic Wand", + ), + ( + rsx! { + MagnifyingGlassIcon {} + }, + "Magnifying Glass", + ), + ( + rsx! { + MarginIcon {} + }, + "Margin", + ), + ( + rsx! { + MaskOffIcon {} + }, + "Mask Off", + ), + ( + rsx! { + MaskOnIcon {} + }, + "Mask On", + ), + ( + rsx! { + MinusIcon {} + }, + "Minus", + ), + ( + rsx! { + MinusCircledIcon {} + }, + "Minus Circled", + ), + ( + rsx! { + MixIcon {} + }, + "Mix", + ), + ( + rsx! { + MixerHorizontalIcon {} + }, + "Mixer Horizontal", + ), + ( + rsx! { + MixerVerticalIcon {} + }, + "Mixer Vertical", + ), + ( + rsx! { + MobileIcon {} + }, + "Mobile", + ), + ( + rsx! { + ModulzLogoIcon {} + }, + "Modulz Logo", + ), + ( + rsx! { + MoonIcon {} + }, + "Moon", + ), + ( + rsx! { + MoveIcon {} + }, + "Move", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsN() -> Element { + let icons = [( + rsx! { + NotionLogoIcon {} + }, + "Notion Logo", + )]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsO() -> Element { + let icons = [ + ( + rsx! { + OpacityIcon {} + }, + "Opacity", + ), + ( + rsx! { + OpenInNewWindowIcon {} + }, + "Open In New Window", + ), + ( + rsx! { + OverlineIcon {} + }, + "Overline", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsP() -> Element { + let icons = [ + ( + rsx! { + PaddingIcon {} + }, + "Padding", + ), + ( + rsx! { + PaperPlaneIcon {} + }, + "Paper Plane", + ), + ( + rsx! { + PauseIcon {} + }, + "Pause", + ), + ( + rsx! { + Pencil1Icon {} + }, + "Pencil 1", + ), + ( + rsx! { + Pencil2Icon {} + }, + "Pencil 2", + ), + ( + rsx! { + PersonIcon {} + }, + "Person", + ), + ( + rsx! { + PieChartIcon {} + }, + "Pie Chart", + ), + ( + rsx! { + PilcrowIcon {} + }, + "Pilcrow", + ), + ( + rsx! { + PinBottomIcon {} + }, + "Pin Bottom", + ), + ( + rsx! { + PinLeftIcon {} + }, + "Pin Left", + ), + ( + rsx! { + PinRightIcon {} + }, + "Pin Right", + ), + ( + rsx! { + PinTopIcon {} + }, + "Pin Top", + ), + ( + rsx! { + PlayIcon {} + }, + "Play", + ), + ( + rsx! { + PlusIcon {} + }, + "Plus", + ), + ( + rsx! { + PlusCircledIcon {} + }, + "Plus Circled", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsQ() -> Element { + let icons = [ + ( + rsx! { + QuestionMarkIcon {} + }, + "Question Mark", + ), + ( + rsx! { + QuestionMarkCircledIcon {} + }, + "Question Mark Circled", + ), + ( + rsx! { + QuoteIcon {} + }, + "Quote", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsR() -> Element { + let icons = [ + ( + rsx! { + RadiobuttonIcon {} + }, + "Radiobutton", + ), + ( + rsx! { + ReaderIcon {} + }, + "Reader", + ), + ( + rsx! { + ReloadIcon {} + }, + "Reload", + ), + ( + rsx! { + ResetIcon {} + }, + "Reset", + ), + ( + rsx! { + ResumeIcon {} + }, + "Resume", + ), + ( + rsx! { + RocketIcon {} + }, + "Rocket", + ), + ( + rsx! { + RotateCounterClockwiseIcon {} + }, + "Rotate Counter Clockwise", + ), + ( + rsx! { + RowSpacingIcon {} + }, + "Row Spacing", + ), + ( + rsx! { + RowsIcon {} + }, + "Rows", + ), + ( + rsx! { + RulerHorizontalIcon {} + }, + "Ruler Horizontal", + ), + ( + rsx! { + RulerSquareIcon {} + }, + "Ruler Square", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsS() -> Element { + let icons = [ + ( + rsx! { + ScissorsIcon {} + }, + "Scissors", + ), + ( + rsx! { + SectionIcon {} + }, + "Section", + ), + ( + rsx! { + SewingPinIcon {} + }, + "Sewing Pin", + ), + ( + rsx! { + SewingPinFilledIcon {} + }, + "Sewing Pin Filled", + ), + ( + rsx! { + ShadowIcon {} + }, + "Shadow", + ), + ( + rsx! { + ShadowInnerIcon {} + }, + "Shadow Inner", + ), + ( + rsx! { + ShadowNoneIcon {} + }, + "Shadow None", + ), + ( + rsx! { + ShadowOuterIcon {} + }, + "Shadow Outer", + ), + ( + rsx! { + Share1Icon {} + }, + "Share 1", + ), + ( + rsx! { + Share2Icon {} + }, + "Share 2", + ), + ( + rsx! { + ShuffleIcon {} + }, + "Shuffle", + ), + ( + rsx! { + SizeIcon {} + }, + "Size", + ), + ( + rsx! { + SketchLogoIcon {} + }, + "Sketch Logo", + ), + ( + rsx! { + SlashIcon {} + }, + "Slash", + ), + ( + rsx! { + SliderIcon {} + }, + "Slider", + ), + ( + rsx! { + SpaceBetweenHorizontallyIcon {} + }, + "Space Between Horizontally", + ), + ( + rsx! { + SpaceBetweenVerticallyIcon {} + }, + "Space Between Vertically", + ), + ( + rsx! { + SpaceEvenlyHorizontallyIcon {} + }, + "Space Evenly Horizontally", + ), + ( + rsx! { + SpaceEvenlyVerticallyIcon {} + }, + "Space Evenly Vertically", + ), + ( + rsx! { + SpeakerLoudIcon {} + }, + "Speaker Loud", + ), + ( + rsx! { + SpeakerModerateIcon {} + }, + "Speaker Moderate", + ), + ( + rsx! { + SpeakerOffIcon {} + }, + "Speaker Off", + ), + ( + rsx! { + SpeakerQuietIcon {} + }, + "Speaker Quiet", + ), + ( + rsx! { + SquareIcon {} + }, + "Square", + ), + ( + rsx! { + StackIcon {} + }, + "Stack", + ), + ( + rsx! { + StarIcon {} + }, + "Star", + ), + ( + rsx! { + StarFilledIcon {} + }, + "Star Filled", + ), + ( + rsx! { + StitchesLogoIcon {} + }, + "Stitches Logo", + ), + ( + rsx! { + StopIcon {} + }, + "Stop", + ), + ( + rsx! { + StopwatchIcon {} + }, + "Stopwatch", + ), + ( + rsx! { + StretchHorizontallyIcon {} + }, + "Stretch Horizontally", + ), + ( + rsx! { + StretchVerticallyIcon {} + }, + "Stretch Vertically", + ), + ( + rsx! { + StrikethroughIcon {} + }, + "Strikethrough", + ), + ( + rsx! { + SunIcon {} + }, + "Sun", + ), + ( + rsx! { + SwitchIcon {} + }, + "Switch", + ), + ( + rsx! { + SymbolIcon {} + }, + "Symbol", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsT() -> Element { + let icons = [ + ( + rsx! { + TableIcon {} + }, + "Table", + ), + ( + rsx! { + TargetIcon {} + }, + "Target", + ), + ( + rsx! { + TextIcon {} + }, + "Text", + ), + ( + rsx! { + TextAlignBottomIcon {} + }, + "Text Align Bottom", + ), + ( + rsx! { + TextAlignCenterIcon {} + }, + "Text Align Center", + ), + ( + rsx! { + TextAlignJustifyIcon {} + }, + "Text Align Justify", + ), + ( + rsx! { + TextAlignLeftIcon {} + }, + "Text Align Left", + ), + ( + rsx! { + TextAlignMiddleIcon {} + }, + "Text Align Middle", + ), + ( + rsx! { + TextAlignRightIcon {} + }, + "Text Align Right", + ), + ( + rsx! { + TextAlignTopIcon {} + }, + "Text Align Top", + ), + ( + rsx! { + TextNoneIcon {} + }, + "Text None", + ), + ( + rsx! { + ThickArrowDownIcon {} + }, + "Thick Arrow Down", + ), + ( + rsx! { + ThickArrowLeftIcon {} + }, + "Thick Arrow Left", + ), + ( + rsx! { + ThickArrowRightIcon {} + }, + "Thick Arrow Right", + ), + ( + rsx! { + ThickArrowUpIcon {} + }, + "Thick Arrow Up", + ), + ( + rsx! { + TimerIcon {} + }, + "Timer", + ), + ( + rsx! { + TokensIcon {} + }, + "Tokens", + ), + ( + rsx! { + TrackNextIcon {} + }, + "Track Next", + ), + ( + rsx! { + TrackPreviousIcon {} + }, + "Track Previous", + ), + ( + rsx! { + TransformIcon {} + }, + "Transform", + ), + ( + rsx! { + TransparencyGridIcon {} + }, + "Transparency Grid", + ), + ( + rsx! { + TrashIcon {} + }, + "Trash", + ), + ( + rsx! { + TriangleDownIcon {} + }, + "Triangle Down", + ), + ( + rsx! { + TriangleLeftIcon {} + }, + "Triangle Left", + ), + ( + rsx! { + TriangleRightIcon {} + }, + "Triangle Right", + ), + ( + rsx! { + TriangleUpIcon {} + }, + "Triangle Up", + ), + ( + rsx! { + TwitterLogoIcon {} + }, + "Twitter Logo", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsU() -> Element { + let icons = [ + ( + rsx! { + UnderlineIcon {} + }, + "Underline", + ), + ( + rsx! { + UpdateIcon {} + }, + "Update", + ), + ( + rsx! { + UploadIcon {} + }, + "Upload", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsV() -> Element { + let icons = [ + ( + rsx! { + ValueIcon {} + }, + "Value", + ), + ( + rsx! { + ValueNoneIcon {} + }, + "Value None", + ), + ( + rsx! { + VercelLogoIcon {} + }, + "Vercel Logo", + ), + ( + rsx! { + VideoIcon {} + }, + "Video", + ), + ( + rsx! { + ViewGridIcon {} + }, + "View Grid", + ), + ( + rsx! { + ViewHorizontalIcon {} + }, + "View Horizontal", + ), + ( + rsx! { + ViewNoneIcon {} + }, + "View None", + ), + ( + rsx! { + ViewVerticalIcon {} + }, + "View Vertical", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsW() -> Element { + let icons = [( + rsx! { + WidthIcon {} + }, + "Width", + )]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} +#[component] +pub fn IconsZ() -> Element { + let icons = [ + ( + rsx! { + ZoomInIcon {} + }, + "Zoom In", + ), + ( + rsx! { + ZoomOutIcon {} + }, + "Zoom Out", + ), + ]; + rsx! { + for (icon , name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { {name} } + } + } + } +} diff --git a/book-examples/dioxus/icons/src/main.rs b/book-examples/dioxus/icons/src/main.rs new file mode 100644 index 00000000..e801555a --- /dev/null +++ b/book-examples/dioxus/icons/src/main.rs @@ -0,0 +1,13 @@ +mod app; + +#[cfg(feature = "icons")] +mod icons; + +use crate::app::App; + +pub fn main() { + _ = console_log::init_with_level(log::Level::Debug); + console_error_panic_hook::set_once(); + + dioxus::launch(App); +} diff --git a/book-examples/dioxus/icons/style/tailwind.css b/book-examples/dioxus/icons/style/tailwind.css new file mode 100644 index 00000000..b5c61c95 --- /dev/null +++ b/book-examples/dioxus/icons/style/tailwind.css @@ -0,0 +1,3 @@ +@tailwind base; +@tailwind components; +@tailwind utilities; diff --git a/book-examples/dioxus/icons/tailwind.config.js b/book-examples/dioxus/icons/tailwind.config.js new file mode 100644 index 00000000..b1baf2f3 --- /dev/null +++ b/book-examples/dioxus/icons/tailwind.config.js @@ -0,0 +1,12 @@ +const colors = require('@radix-ui/colors'); + +/** @type {import('tailwindcss').Config} */ +module.exports = { + content: ['*.html', './src/**/*.rs'], + theme: { + extend: { + colors: Object.assign({}, ...Object.values(colors)) + } + }, + plugins: [] +}; diff --git a/book-examples/dioxus/primitives/index.html b/book-examples/dioxus/primitives/index.html index 2d6a519d..f382e8fa 100644 --- a/book-examples/dioxus/primitives/index.html +++ b/book-examples/dioxus/primitives/index.html @@ -8,6 +8,7 @@ diff --git a/book-examples/leptos/icons/Cargo.toml b/book-examples/leptos/icons/Cargo.toml index 40bf9e7b..49de61d6 100644 --- a/book-examples/leptos/icons/Cargo.toml +++ b/book-examples/leptos/icons/Cargo.toml @@ -14,9 +14,8 @@ console_error_panic_hook.workspace = true console_log.workspace = true leptos = { workspace = true, features = ["csr"] } log.workspace = true -# radix-leptos-icons = { path = "../../../packages/icons/leptos", optional = true } +radix-leptos-icons = { path = "../../../packages/icons/leptos", optional = true } [features] default = [] -icons = [] -# icons = ["dep:radix-leptos-icons"] +icons = ["dep:radix-leptos-icons"] diff --git a/book-examples/leptos/icons/src/app.rs b/book-examples/leptos/icons/src/app.rs index 36bc291c..4c247986 100644 --- a/book-examples/leptos/icons/src/app.rs +++ b/book-examples/leptos/icons/src/app.rs @@ -5,17 +5,11 @@ pub fn App() -> impl IntoView { #[allow(unused_mut)] let mut views: Vec = vec![]; - // #[cfg(feature = "icons")] - // { - // use crate::icons::IconsDemo; - // views.push(view! { - // - // }); - // } - - view! { -
- {views.into_view()} -
+ #[cfg(feature = "icons")] + { + use crate::icons::Icons; + views.push(view! { }.into_any()); } + + view! {
{views.into_view()}
} } diff --git a/book-examples/leptos/icons/src/icons.rs b/book-examples/leptos/icons/src/icons.rs index f5e128bb..bdc7ed98 100644 --- a/book-examples/leptos/icons/src/icons.rs +++ b/book-examples/leptos/icons/src/icons.rs @@ -1,1282 +1,738 @@ -use leptos::*; +use leptos::prelude::*; use radix_leptos_icons::*; - #[component] -pub fn IconsDemo() -> impl IntoView { +pub fn Icons() -> impl IntoView { view! { -
-
- - Accessibility -
-
- - Activity Log -
-
- - Align Baseline -
-
- - Align Bottom -
-
- - Align Center Horizontally -
-
- - Align Center Vertically -
-
- - Align Left -
-
- - Align Right -
-
- - Align Top -
-
- - All Sides -
-
- - Angle -
-
- - Archive -
-
- - Arrow Bottom Left -
-
- - Arrow Bottom Right -
-
- - Arrow Down -
-
- - Arrow Left -
-
- - Arrow Right -
-
- - Arrow Top Left -
-
- - Arrow Top Right -
-
- - Arrow Up -
-
- - Aspect Ratio -
-
- - Avatar -
-
- - Backpack -
-
- - Badge -
-
- - Bar Chart -
-
- - Bell -
-
- - Blending Mode -
-
- - Bookmark Filled -
-
- - Bookmark -
-
- - Border All -
-
- - Border Bottom -
-
- - Border Dashed -
-
- - Border Dotted -
-
- - Border Left -
-
- - Border None -
-
- - Border Right -
-
- - Border Solid -
-
- - Border Split -
-
- - Border Style -
-
- - Border Top -
-
- - Border Width -
-
- - Box Model -
-
- - Box -
-
- - Button -
-
- - Calendar -
-
- - Camera -
-
- - Card Stack Minus -
-
- - Card Stack Plus -
-
- - Card Stack -
-
- - Caret Down -
-
- - Caret Left -
-
- - Caret Right -
-
- - Caret Sort -
-
- - Caret Up -
-
- - Chat Bubble -
-
- - Check Circled -
-
- - Check -
-
- - Checkbox -
-
- - Chevron Down -
-
- - Chevron Left -
-
- - Chevron Right -
-
- - Chevron Up -
-
- - Circle Backslash -
-
- - Circle -
-
- - Clipboard Copy -
-
- - Clipboard -
-
- - Clock -
-
- - Code -
-
- - Codesandbox Logo -
-
- - Color Wheel -
-
- - Column Spacing -
-
- - Columns -
-
- - Commit -
-
- - Component 1 -
-
- - Component 2 -
-
- - Component Boolean -
-
- - Component Instance -
-
- - Component None -
-
- - Component Placeholder -
-
- - Container -
-
- - Cookie -
-
- - Copy -
-
- - Corner Bottom Left -
-
- - Corner Bottom Right -
-
- - Corner Top Left -
-
- - Corner Top Right -
-
- - Corners -
-
- - Countdown Timer -
-
- - Counter Clockwise Clock -
-
- - Crop -
-
- - Cross 1 -
-
- - Cross 2 -
-
- - Cross Circled -
-
- - Crosshair 1 -
-
- - Crosshair 2 -
-
- - Crumpled Paper -
-
- - Cube -
-
- - Cursor Arrow -
-
- - Cursor Text -
-
- - Dash -
-
- - Dashboard -
-
- - Desktop -
-
- - Dimensions -
-
- - Disc -
-
- - Discord Logo -
-
- - Divider Horizontal -
-
- - Divider Vertical -
-
- - Dot Filled -
-
- - Dot -
-
- - Dots Horizontal -
-
- - Dots Vertical -
-
- - Double Arrow Down -
-
- - Double Arrow Left -
-
- - Double Arrow Right -
-
- - Double Arrow Up -
-
- - Download -
-
- - Drag Handle Dots 1 -
-
- - Drag Handle Dots 2 -
-
- - Drag Handle Horizontal -
-
- - Drag Handle Vertical -
-
- - Drawing Pin Filled -
-
- - Drawing Pin -
-
- - Dropdown Menu -
-
- - Enter Full Screen -
-
- - Enter -
-
- - Envelope Closed -
-
- - Envelope Open -
-
- - Eraser -
-
- - Exclamation Triangle -
-
- - Exit Full Screen -
-
- - Exit -
-
- - External Link -
-
- - Eye Closed -
-
- - Eye None -
-
- - Eye Open -
-
- - Face -
-
- - Figma Logo -
-
- - File Minus -
-
- - File Plus -
-
- - File Text -
-
- - File -
-
- - Font Bold -
-
- - Font Family -
-
- - Font Italic -
-
- - Font Roman -
-
- - Font Size -
-
- - Font Style -
-
- - Frame -
-
- - Framer Logo -
-
- - Gear -
-
- - Github Logo -
-
- - Globe -
-
- - Grid -
-
- - Group -
-
- - Half 1 -
-
- - Half 2 -
-
- - Hamburger Menu -
-
- - Hand -
-
- - Heading -
-
- - Heart Filled -
-
- - Heart -
-
- - Height -
-
- - Hobby Knife -
-
- - Home -
-
- - Iconjar Logo -
-
- - Id Card -
-
- - Image -
-
- - Info Circled -
-
- - Input -
-
- - Instagram Logo -
-
- - Keyboard -
-
- - Lap Timer -
-
- - Laptop -
-
- - Layers -
-
- - Layout -
-
- - Letter Case Capitalize -
-
- - Letter Case Lowercase -
-
- - Letter Case Toggle -
-
- - Letter Case Uppercase -
-
- - Letter Spacing -
-
- - Lightning Bolt -
-
- - Line Height -
-
- - Link 1 -
-
- - Link 2 -
-
- - Link Break 1 -
-
- - Link Break 2 -
-
- - Link None 1 -
-
- - Link None 2 -
-
- - Linkedin Logo -
-
- - List Bullet -
-
- - Lock Closed -
-
- - Lock Open 1 -
-
- - Lock Open 2 -
-
- - Loop -
-
- - Magic Wand -
-
- - Magnifying Glass -
-
- - Margin -
-
- - Mask Off -
-
- - Mask On -
-
- - Minus Circled -
-
- - Minus -
-
- - Mix -
-
- - Mixer Horizontal -
-
- - Mixer Vertical -
-
- - Mobile -
-
- - Modulz Logo -
-
- - Moon -
-
- - Move -
-
- - Notion Logo -
-
- - Opacity -
-
- - Open In New Window -
-
- - Overline -
-
- - Padding -
-
- - Paper Plane -
-
- - Pause -
-
- - Pencil 1 -
-
- - Pencil 2 -
-
- - Person -
-
- - Pie Chart -
-
- - Pilcrow -
-
- - Pin Bottom -
-
- - Pin Left -
-
- - Pin Right -
-
- - Pin Top -
-
- - Play -
-
- - Plus Circled -
-
- - Plus -
-
- - Question Mark Circled -
-
- - Question Mark -
-
- - Quote -
-
- - Radiobutton -
-
- - Reader -
-
- - Reload -
-
- - Reset -
-
- - Resume -
-
- - Rocket -
-
- - Rotate Counter Clockwise -
-
- - Row Spacing -
-
- - Rows -
-
- - Ruler Horizontal -
-
- - Ruler Square -
-
- - Scissors -
-
- - Section -
-
- - Sewing Pin Filled -
-
- - Sewing Pin -
-
- - Shadow Inner -
-
- - Shadow None -
-
- - Shadow Outer -
-
- - Shadow -
-
- - Share 1 -
-
- - Share 2 -
-
- - Shuffle -
-
- - Size -
-
- - Sketch Logo -
-
- - Slash -
-
- - Slider -
-
- - Space Between Horizontally -
-
- - Space Between Vertically -
-
- - Space Evenly Horizontally -
-
- - Space Evenly Vertically -
-
- - Speaker Loud -
-
- - Speaker Moderate -
-
- - Speaker Off -
-
- - Speaker Quiet -
-
- - Square -
-
- - Stack -
-
- - Star Filled -
-
- - Star -
-
- - Stitches Logo -
-
- - Stop -
-
- - Stopwatch -
-
- - Stretch Horizontally -
-
- - Stretch Vertically -
-
- - Strikethrough -
-
- - Sun -
-
- - Switch -
-
- - Symbol -
-
- - Table -
-
- - Target -
-
- - Text Align Bottom -
-
- - Text Align Center -
-
- - Text Align Justify -
-
- - Text Align Left -
-
- - Text Align Middle -
-
- - Text Align Right -
-
- - Text Align Top -
-
- - Text None -
-
- - Text -
-
- - Thick Arrow Down -
-
- - Thick Arrow Left -
-
- - Thick Arrow Right -
-
- - Thick Arrow Up -
-
- - Timer -
-
- - Tokens -
-
- - Track Next -
-
- - Track Previous -
-
- - Transform -
-
- - Transparency Grid -
-
- - Trash -
-
- - Triangle Down -
-
- - Triangle Left -
-
- - Triangle Right -
-
- - Triangle Up -
-
- - Twitter Logo -
-
- - Underline -
-
- - Update -
-
- - Upload -
-
- - Value None -
-
- - Value -
-
- - Vercel Logo -
-
- - Video -
-
- - View Grid -
-
- - View Horizontal -
-
- - View None -
-
- - View Vertical -
-
- - Width -
-
- - Zoom In -
-
- - Zoom Out -
+
+ + + + + + + + + + + + + + + + + + + + + + +
} } +#[component] +pub fn IconsA() -> impl IntoView { + view! { + }.into_any(), "Accessibility"), + (view! { }.into_any(), "Activity Log"), + (view! { }.into_any(), "Align Baseline"), + (view! { }.into_any(), "Align Bottom"), + (view! { }.into_any(), "Align Center Horizontally"), + (view! { }.into_any(), "Align Center Vertically"), + (view! { }.into_any(), "Align Left"), + (view! { }.into_any(), "Align Right"), + (view! { }.into_any(), "Align Top"), + (view! { }.into_any(), "All Sides"), + (view! { }.into_any(), "Angle"), + (view! { }.into_any(), "Archive"), + (view! { }.into_any(), "Arrow Bottom Left"), + (view! { }.into_any(), "Arrow Bottom Right"), + (view! { }.into_any(), "Arrow Down"), + (view! { }.into_any(), "Arrow Left"), + (view! { }.into_any(), "Arrow Right"), + (view! { }.into_any(), "Arrow Top Left"), + (view! { }.into_any(), "Arrow Top Right"), + (view! { }.into_any(), "Arrow Up"), + (view! { }.into_any(), "Aspect Ratio"), + (view! { }.into_any(), "Avatar"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsB() -> impl IntoView { + view! { + }.into_any(), "Backpack"), + (view! { }.into_any(), "Badge"), + (view! { }.into_any(), "Bar Chart"), + (view! { }.into_any(), "Bell"), + (view! { }.into_any(), "Blending Mode"), + (view! { }.into_any(), "Bookmark"), + (view! { }.into_any(), "Bookmark Filled"), + (view! { }.into_any(), "Border All"), + (view! { }.into_any(), "Border Bottom"), + (view! { }.into_any(), "Border Dashed"), + (view! { }.into_any(), "Border Dotted"), + (view! { }.into_any(), "Border Left"), + (view! { }.into_any(), "Border None"), + (view! { }.into_any(), "Border Right"), + (view! { }.into_any(), "Border Solid"), + (view! { }.into_any(), "Border Split"), + (view! { }.into_any(), "Border Style"), + (view! { }.into_any(), "Border Top"), + (view! { }.into_any(), "Border Width"), + (view! { }.into_any(), "Box"), + (view! { }.into_any(), "Box Model"), + (view! { }.into_any(), "Button"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsC() -> impl IntoView { + view! { + }.into_any(), "Calendar"), + (view! { }.into_any(), "Camera"), + (view! { }.into_any(), "Card Stack"), + (view! { }.into_any(), "Card Stack Minus"), + (view! { }.into_any(), "Card Stack Plus"), + (view! { }.into_any(), "Caret Down"), + (view! { }.into_any(), "Caret Left"), + (view! { }.into_any(), "Caret Right"), + (view! { }.into_any(), "Caret Sort"), + (view! { }.into_any(), "Caret Up"), + (view! { }.into_any(), "Chat Bubble"), + (view! { }.into_any(), "Check"), + (view! { }.into_any(), "Check Circled"), + (view! { }.into_any(), "Checkbox"), + (view! { }.into_any(), "Chevron Down"), + (view! { }.into_any(), "Chevron Left"), + (view! { }.into_any(), "Chevron Right"), + (view! { }.into_any(), "Chevron Up"), + (view! { }.into_any(), "Circle"), + (view! { }.into_any(), "Circle Backslash"), + (view! { }.into_any(), "Clipboard"), + (view! { }.into_any(), "Clipboard Copy"), + (view! { }.into_any(), "Clock"), + (view! { }.into_any(), "Code"), + (view! { }.into_any(), "Codesandbox Logo"), + (view! { }.into_any(), "Color Wheel"), + (view! { }.into_any(), "Column Spacing"), + (view! { }.into_any(), "Columns"), + (view! { }.into_any(), "Commit"), + (view! { }.into_any(), "Component 1"), + (view! { }.into_any(), "Component 2"), + (view! { }.into_any(), "Component Boolean"), + (view! { }.into_any(), "Component Instance"), + (view! { }.into_any(), "Component None"), + (view! { }.into_any(), "Component Placeholder"), + (view! { }.into_any(), "Container"), + (view! { }.into_any(), "Cookie"), + (view! { }.into_any(), "Copy"), + (view! { }.into_any(), "Corner Bottom Left"), + (view! { }.into_any(), "Corner Bottom Right"), + (view! { }.into_any(), "Corner Top Left"), + (view! { }.into_any(), "Corner Top Right"), + (view! { }.into_any(), "Corners"), + (view! { }.into_any(), "Countdown Timer"), + (view! { }.into_any(), "Counter Clockwise Clock"), + (view! { }.into_any(), "Crop"), + (view! { }.into_any(), "Cross 1"), + (view! { }.into_any(), "Cross 2"), + (view! { }.into_any(), "Cross Circled"), + (view! { }.into_any(), "Crosshair 1"), + (view! { }.into_any(), "Crosshair 2"), + (view! { }.into_any(), "Crumpled Paper"), + (view! { }.into_any(), "Cube"), + (view! { }.into_any(), "Cursor Arrow"), + (view! { }.into_any(), "Cursor Text"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsD() -> impl IntoView { + view! { + }.into_any(), "Dash"), + (view! { }.into_any(), "Dashboard"), + (view! { }.into_any(), "Desktop"), + (view! { }.into_any(), "Dimensions"), + (view! { }.into_any(), "Disc"), + (view! { }.into_any(), "Discord Logo"), + (view! { }.into_any(), "Divider Horizontal"), + (view! { }.into_any(), "Divider Vertical"), + (view! { }.into_any(), "Dot"), + (view! { }.into_any(), "Dot Filled"), + (view! { }.into_any(), "Dots Horizontal"), + (view! { }.into_any(), "Dots Vertical"), + (view! { }.into_any(), "Double Arrow Down"), + (view! { }.into_any(), "Double Arrow Left"), + (view! { }.into_any(), "Double Arrow Right"), + (view! { }.into_any(), "Double Arrow Up"), + (view! { }.into_any(), "Download"), + (view! { }.into_any(), "Drag Handle Dots 1"), + (view! { }.into_any(), "Drag Handle Dots 2"), + (view! { }.into_any(), "Drag Handle Horizontal"), + (view! { }.into_any(), "Drag Handle Vertical"), + (view! { }.into_any(), "Drawing Pin"), + (view! { }.into_any(), "Drawing Pin Filled"), + (view! { }.into_any(), "Dropdown Menu"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsE() -> impl IntoView { + view! { + }.into_any(), "Enter"), + (view! { }.into_any(), "Enter Full Screen"), + (view! { }.into_any(), "Envelope Closed"), + (view! { }.into_any(), "Envelope Open"), + (view! { }.into_any(), "Eraser"), + (view! { }.into_any(), "Exclamation Triangle"), + (view! { }.into_any(), "Exit"), + (view! { }.into_any(), "Exit Full Screen"), + (view! { }.into_any(), "External Link"), + (view! { }.into_any(), "Eye Closed"), + (view! { }.into_any(), "Eye None"), + (view! { }.into_any(), "Eye Open"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsF() -> impl IntoView { + view! { + }.into_any(), "Face"), + (view! { }.into_any(), "Figma Logo"), + (view! { }.into_any(), "File"), + (view! { }.into_any(), "File Minus"), + (view! { }.into_any(), "File Plus"), + (view! { }.into_any(), "File Text"), + (view! { }.into_any(), "Font Bold"), + (view! { }.into_any(), "Font Family"), + (view! { }.into_any(), "Font Italic"), + (view! { }.into_any(), "Font Roman"), + (view! { }.into_any(), "Font Size"), + (view! { }.into_any(), "Font Style"), + (view! { }.into_any(), "Frame"), + (view! { }.into_any(), "Framer Logo"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsG() -> impl IntoView { + view! { + }.into_any(), "Gear"), + (view! { }.into_any(), "Github Logo"), + (view! { }.into_any(), "Globe"), + (view! { }.into_any(), "Grid"), + (view! { }.into_any(), "Group"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsH() -> impl IntoView { + view! { + }.into_any(), "Half 1"), + (view! { }.into_any(), "Half 2"), + (view! { }.into_any(), "Hamburger Menu"), + (view! { }.into_any(), "Hand"), + (view! { }.into_any(), "Heading"), + (view! { }.into_any(), "Heart"), + (view! { }.into_any(), "Heart Filled"), + (view! { }.into_any(), "Height"), + (view! { }.into_any(), "Hobby Knife"), + (view! { }.into_any(), "Home"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsI() -> impl IntoView { + view! { + }.into_any(), "Iconjar Logo"), + (view! { }.into_any(), "Id Card"), + (view! { }.into_any(), "Image"), + (view! { }.into_any(), "Info Circled"), + (view! { }.into_any(), "Input"), + (view! { }.into_any(), "Instagram Logo"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsK() -> impl IntoView { + view! { + }.into_any(), "Keyboard")] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsL() -> impl IntoView { + view! { + }.into_any(), "Lap Timer"), + (view! { }.into_any(), "Laptop"), + (view! { }.into_any(), "Layers"), + (view! { }.into_any(), "Layout"), + (view! { }.into_any(), "Letter Case Capitalize"), + (view! { }.into_any(), "Letter Case Lowercase"), + (view! { }.into_any(), "Letter Case Toggle"), + (view! { }.into_any(), "Letter Case Uppercase"), + (view! { }.into_any(), "Letter Spacing"), + (view! { }.into_any(), "Lightning Bolt"), + (view! { }.into_any(), "Line Height"), + (view! { }.into_any(), "Link 1"), + (view! { }.into_any(), "Link 2"), + (view! { }.into_any(), "Link Break 1"), + (view! { }.into_any(), "Link Break 2"), + (view! { }.into_any(), "Link None 1"), + (view! { }.into_any(), "Link None 2"), + (view! { }.into_any(), "Linkedin Logo"), + (view! { }.into_any(), "List Bullet"), + (view! { }.into_any(), "Lock Closed"), + (view! { }.into_any(), "Lock Open 1"), + (view! { }.into_any(), "Lock Open 2"), + (view! { }.into_any(), "Loop"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsM() -> impl IntoView { + view! { + }.into_any(), "Magic Wand"), + (view! { }.into_any(), "Magnifying Glass"), + (view! { }.into_any(), "Margin"), + (view! { }.into_any(), "Mask Off"), + (view! { }.into_any(), "Mask On"), + (view! { }.into_any(), "Minus"), + (view! { }.into_any(), "Minus Circled"), + (view! { }.into_any(), "Mix"), + (view! { }.into_any(), "Mixer Horizontal"), + (view! { }.into_any(), "Mixer Vertical"), + (view! { }.into_any(), "Mobile"), + (view! { }.into_any(), "Modulz Logo"), + (view! { }.into_any(), "Moon"), + (view! { }.into_any(), "Move"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsN() -> impl IntoView { + view! { + }.into_any(), "Notion Logo")] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsO() -> impl IntoView { + view! { + }.into_any(), "Opacity"), + (view! { }.into_any(), "Open In New Window"), + (view! { }.into_any(), "Overline"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsP() -> impl IntoView { + view! { + }.into_any(), "Padding"), + (view! { }.into_any(), "Paper Plane"), + (view! { }.into_any(), "Pause"), + (view! { }.into_any(), "Pencil 1"), + (view! { }.into_any(), "Pencil 2"), + (view! { }.into_any(), "Person"), + (view! { }.into_any(), "Pie Chart"), + (view! { }.into_any(), "Pilcrow"), + (view! { }.into_any(), "Pin Bottom"), + (view! { }.into_any(), "Pin Left"), + (view! { }.into_any(), "Pin Right"), + (view! { }.into_any(), "Pin Top"), + (view! { }.into_any(), "Play"), + (view! { }.into_any(), "Plus"), + (view! { }.into_any(), "Plus Circled"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsQ() -> impl IntoView { + view! { + }.into_any(), "Question Mark"), + (view! { }.into_any(), "Question Mark Circled"), + (view! { }.into_any(), "Quote"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsR() -> impl IntoView { + view! { + }.into_any(), "Radiobutton"), + (view! { }.into_any(), "Reader"), + (view! { }.into_any(), "Reload"), + (view! { }.into_any(), "Reset"), + (view! { }.into_any(), "Resume"), + (view! { }.into_any(), "Rocket"), + (view! { }.into_any(), "Rotate Counter Clockwise"), + (view! { }.into_any(), "Row Spacing"), + (view! { }.into_any(), "Rows"), + (view! { }.into_any(), "Ruler Horizontal"), + (view! { }.into_any(), "Ruler Square"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsS() -> impl IntoView { + view! { + }.into_any(), "Scissors"), + (view! { }.into_any(), "Section"), + (view! { }.into_any(), "Sewing Pin"), + (view! { }.into_any(), "Sewing Pin Filled"), + (view! { }.into_any(), "Shadow"), + (view! { }.into_any(), "Shadow Inner"), + (view! { }.into_any(), "Shadow None"), + (view! { }.into_any(), "Shadow Outer"), + (view! { }.into_any(), "Share 1"), + (view! { }.into_any(), "Share 2"), + (view! { }.into_any(), "Shuffle"), + (view! { }.into_any(), "Size"), + (view! { }.into_any(), "Sketch Logo"), + (view! { }.into_any(), "Slash"), + (view! { }.into_any(), "Slider"), + ( + view! { }.into_any(), + "Space Between Horizontally", + ), + (view! { }.into_any(), "Space Between Vertically"), + (view! { }.into_any(), "Space Evenly Horizontally"), + (view! { }.into_any(), "Space Evenly Vertically"), + (view! { }.into_any(), "Speaker Loud"), + (view! { }.into_any(), "Speaker Moderate"), + (view! { }.into_any(), "Speaker Off"), + (view! { }.into_any(), "Speaker Quiet"), + (view! { }.into_any(), "Square"), + (view! { }.into_any(), "Stack"), + (view! { }.into_any(), "Star"), + (view! { }.into_any(), "Star Filled"), + (view! { }.into_any(), "Stitches Logo"), + (view! { }.into_any(), "Stop"), + (view! { }.into_any(), "Stopwatch"), + (view! { }.into_any(), "Stretch Horizontally"), + (view! { }.into_any(), "Stretch Vertically"), + (view! { }.into_any(), "Strikethrough"), + (view! { }.into_any(), "Sun"), + (view! { }.into_any(), "Switch"), + (view! { }.into_any(), "Symbol"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsT() -> impl IntoView { + view! { + }.into_any(), "Table"), + (view! { }.into_any(), "Target"), + (view! { }.into_any(), "Text"), + (view! { }.into_any(), "Text Align Bottom"), + (view! { }.into_any(), "Text Align Center"), + (view! { }.into_any(), "Text Align Justify"), + (view! { }.into_any(), "Text Align Left"), + (view! { }.into_any(), "Text Align Middle"), + (view! { }.into_any(), "Text Align Right"), + (view! { }.into_any(), "Text Align Top"), + (view! { }.into_any(), "Text None"), + (view! { }.into_any(), "Thick Arrow Down"), + (view! { }.into_any(), "Thick Arrow Left"), + (view! { }.into_any(), "Thick Arrow Right"), + (view! { }.into_any(), "Thick Arrow Up"), + (view! { }.into_any(), "Timer"), + (view! { }.into_any(), "Tokens"), + (view! { }.into_any(), "Track Next"), + (view! { }.into_any(), "Track Previous"), + (view! { }.into_any(), "Transform"), + (view! { }.into_any(), "Transparency Grid"), + (view! { }.into_any(), "Trash"), + (view! { }.into_any(), "Triangle Down"), + (view! { }.into_any(), "Triangle Left"), + (view! { }.into_any(), "Triangle Right"), + (view! { }.into_any(), "Triangle Up"), + (view! { }.into_any(), "Twitter Logo"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsU() -> impl IntoView { + view! { + }.into_any(), "Underline"), + (view! { }.into_any(), "Update"), + (view! { }.into_any(), "Upload"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsV() -> impl IntoView { + view! { + }.into_any(), "Value"), + (view! { }.into_any(), "Value None"), + (view! { }.into_any(), "Vercel Logo"), + (view! { }.into_any(), "Video"), + (view! { }.into_any(), "View Grid"), + (view! { }.into_any(), "View Horizontal"), + (view! { }.into_any(), "View None"), + (view! { }.into_any(), "View Vertical"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsW() -> impl IntoView { + view! { + }.into_any(), "Width")] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} +#[component] +pub fn IconsZ() -> impl IntoView { + view! { + }.into_any(), "Zoom In"), + (view! { }.into_any(), "Zoom Out"), + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} {name} +
+ } + } + /> + } +} diff --git a/book-examples/leptos/icons/src/main.rs b/book-examples/leptos/icons/src/main.rs index bf90caf6..977dbe04 100644 --- a/book-examples/leptos/icons/src/main.rs +++ b/book-examples/leptos/icons/src/main.rs @@ -1,7 +1,7 @@ mod app; -// #[cfg(feature = "icons")] -// mod icons; +#[cfg(feature = "icons")] +mod icons; use leptos::prelude::*; diff --git a/book-examples/yew/icons/src/app.rs b/book-examples/yew/icons/src/app.rs index 3f4058e4..449bacc5 100644 --- a/book-examples/yew/icons/src/app.rs +++ b/book-examples/yew/icons/src/app.rs @@ -7,8 +7,8 @@ pub fn App() -> Html { #[cfg(feature = "icons")] { - use crate::icons::IconsDemo; - children.push(html! { }); + use crate::icons::Icons; + children.push(html! { }); } html! {
{ children }
} diff --git a/book-examples/yew/icons/src/icons.rs b/book-examples/yew/icons/src/icons.rs index cece6156..aa90ea2a 100644 --- a/book-examples/yew/icons/src/icons.rs +++ b/book-examples/yew/icons/src/icons.rs @@ -1,379 +1,760 @@ use radix_yew_icons::*; use yew::prelude::*; - #[function_component] -pub fn IconsDemo() -> Html { - let icons = [ - (html! { }, { "Accessibility" }), - (html! { }, { "Activity Log" }), - (html! { }, { "Align Baseline" }), - (html! { }, { "Align Bottom" }), - (html! { }, { - "Align Center Horizontally" - }), - (html! { }, { - "Align Center Vertically" - }), - (html! { }, { "Align Left" }), - (html! { }, { "Align Right" }), - (html! { }, { "Align Top" }), - (html! { }, { "All Sides" }), - (html! { }, { "Angle" }), - (html! { }, { "Archive" }), - (html! { }, { "Arrow Bottom Left" }), - (html! { }, { "Arrow Bottom Right" }), - (html! { }, { "Arrow Down" }), - (html! { }, { "Arrow Left" }), - (html! { }, { "Arrow Right" }), - (html! { }, { "Arrow Top Left" }), - (html! { }, { "Arrow Top Right" }), - (html! { }, { "Arrow Up" }), - (html! { }, { "Aspect Ratio" }), - (html! { }, { "Avatar" }), - (html! { }, { "Backpack" }), - (html! { }, { "Badge" }), - (html! { }, { "Bar Chart" }), - (html! { }, { "Bell" }), - (html! { }, { "Blending Mode" }), - (html! { }, { "Bookmark Filled" }), - (html! { }, { "Bookmark" }), - (html! { }, { "Border All" }), - (html! { }, { "Border Bottom" }), - (html! { }, { "Border Dashed" }), - (html! { }, { "Border Dotted" }), - (html! { }, { "Border Left" }), - (html! { }, { "Border None" }), - (html! { }, { "Border Right" }), - (html! { }, { "Border Solid" }), - (html! { }, { "Border Split" }), - (html! { }, { "Border Style" }), - (html! { }, { "Border Top" }), - (html! { }, { "Border Width" }), - (html! { }, { "Box Model" }), - (html! { }, { "Box" }), - (html! { }, { "Button" }), - (html! { }, { "Calendar" }), - (html! { }, { "Camera" }), - (html! { }, { "Card Stack Minus" }), - (html! { }, { "Card Stack Plus" }), - (html! { }, { "Card Stack" }), - (html! { }, { "Caret Down" }), - (html! { }, { "Caret Left" }), - (html! { }, { "Caret Right" }), - (html! { }, { "Caret Sort" }), - (html! { }, { "Caret Up" }), - (html! { }, { "Chat Bubble" }), - (html! { }, { "Check Circled" }), - (html! { }, { "Check" }), - (html! { }, { "Checkbox" }), - (html! { }, { "Chevron Down" }), - (html! { }, { "Chevron Left" }), - (html! { }, { "Chevron Right" }), - (html! { }, { "Chevron Up" }), - (html! { }, { "Circle Backslash" }), - (html! { }, { "Circle" }), - (html! { }, { "Clipboard Copy" }), - (html! { }, { "Clipboard" }), - (html! { }, { "Clock" }), - (html! { }, { "Code" }), - (html! { }, { "Codesandbox Logo" }), - (html! { }, { "Color Wheel" }), - (html! { }, { "Column Spacing" }), - (html! { }, { "Columns" }), - (html! { }, { "Commit" }), - (html! { }, { "Component 1" }), - (html! { }, { "Component 2" }), - (html! { }, { "Component Boolean" }), - (html! { }, { - "Component Instance" - }), - (html! { }, { "Component None" }), - (html! { }, { - "Component Placeholder" - }), - (html! { }, { "Container" }), - (html! { }, { "Cookie" }), - (html! { }, { "Copy" }), - (html! { }, { "Corner Bottom Left" }), - (html! { }, { - "Corner Bottom Right" - }), - (html! { }, { "Corner Top Left" }), - (html! { }, { "Corner Top Right" }), - (html! { }, { "Corners" }), - (html! { }, { "Countdown Timer" }), - (html! { }, { - "Counter Clockwise Clock" - }), - (html! { }, { "Crop" }), - (html! { }, { "Cross 1" }), - (html! { }, { "Cross 2" }), - (html! { }, { "Cross Circled" }), - (html! { }, { "Crosshair 1" }), - (html! { }, { "Crosshair 2" }), - (html! { }, { "Crumpled Paper" }), - (html! { }, { "Cube" }), - (html! { }, { "Cursor Arrow" }), - (html! { }, { "Cursor Text" }), - (html! { }, { "Dash" }), - (html! { }, { "Dashboard" }), - (html! { }, { "Desktop" }), - (html! { }, { "Dimensions" }), - (html! { }, { "Disc" }), - (html! { }, { "Discord Logo" }), - (html! { }, { - "Divider Horizontal" - }), - (html! { }, { "Divider Vertical" }), - (html! { }, { "Dot Filled" }), - (html! { }, { "Dot" }), - (html! { }, { "Dots Horizontal" }), - (html! { }, { "Dots Vertical" }), - (html! { }, { "Double Arrow Down" }), - (html! { }, { "Double Arrow Left" }), - (html! { }, { "Double Arrow Right" }), - (html! { }, { "Double Arrow Up" }), - (html! { }, { "Download" }), - (html! { }, { "Drag Handle Dots 1" }), - (html! { }, { "Drag Handle Dots 2" }), - (html! { }, { - "Drag Handle Horizontal" - }), - (html! { }, { - "Drag Handle Vertical" - }), - (html! { }, { "Drawing Pin Filled" }), - (html! { }, { "Drawing Pin" }), - (html! { }, { "Dropdown Menu" }), - (html! { }, { "Enter Full Screen" }), - (html! { }, { "Enter" }), - (html! { }, { "Envelope Closed" }), - (html! { }, { "Envelope Open" }), - (html! { }, { "Eraser" }), - (html! { }, { - "Exclamation Triangle" - }), - (html! { }, { "Exit Full Screen" }), - (html! { }, { "Exit" }), - (html! { }, { "External Link" }), - (html! { }, { "Eye Closed" }), - (html! { }, { "Eye None" }), - (html! { }, { "Eye Open" }), - (html! { }, { "Face" }), - (html! { }, { "Figma Logo" }), - (html! { }, { "File Minus" }), - (html! { }, { "File Plus" }), - (html! { }, { "File Text" }), - (html! { }, { "File" }), - (html! { }, { "Font Bold" }), - (html! { }, { "Font Family" }), - (html! { }, { "Font Italic" }), - (html! { }, { "Font Roman" }), - (html! { }, { "Font Size" }), - (html! { }, { "Font Style" }), - (html! { }, { "Frame" }), - (html! { }, { "Framer Logo" }), - (html! { }, { "Gear" }), - (html! { }, { "Github Logo" }), - (html! { }, { "Globe" }), - (html! { }, { "Grid" }), - (html! { }, { "Group" }), - (html! { }, { "Half 1" }), - (html! { }, { "Half 2" }), - (html! { }, { "Hamburger Menu" }), - (html! { }, { "Hand" }), - (html! { }, { "Heading" }), - (html! { }, { "Heart Filled" }), - (html! { }, { "Heart" }), - (html! { }, { "Height" }), - (html! { }, { "Hobby Knife" }), - (html! { }, { "Home" }), - (html! { }, { "Iconjar Logo" }), - (html! { }, { "Id Card" }), - (html! { }, { "Image" }), - (html! { }, { "Info Circled" }), - (html! { }, { "Input" }), - (html! { }, { "Instagram Logo" }), - (html! { }, { "Keyboard" }), - (html! { }, { "Lap Timer" }), - (html! { }, { "Laptop" }), - (html! { }, { "Layers" }), - (html! { }, { "Layout" }), - (html! { }, { - "Letter Case Capitalize" - }), - (html! { }, { - "Letter Case Lowercase" - }), - (html! { }, { "Letter Case Toggle" }), - (html! { }, { - "Letter Case Uppercase" - }), - (html! { }, { "Letter Spacing" }), - (html! { }, { "Lightning Bolt" }), - (html! { }, { "Line Height" }), - (html! { }, { "Link 1" }), - (html! { }, { "Link 2" }), - (html! { }, { "Link Break 1" }), - (html! { }, { "Link Break 2" }), - (html! { }, { "Link None 1" }), - (html! { }, { "Link None 2" }), - (html! { }, { "Linkedin Logo" }), - (html! { }, { "List Bullet" }), - (html! { }, { "Lock Closed" }), - (html! { }, { "Lock Open 1" }), - (html! { }, { "Lock Open 2" }), - (html! { }, { "Loop" }), - (html! { }, { "Magic Wand" }), - (html! { }, { "Magnifying Glass" }), - (html! { }, { "Margin" }), - (html! { }, { "Mask Off" }), - (html! { }, { "Mask On" }), - (html! { }, { "Minus Circled" }), - (html! { }, { "Minus" }), - (html! { }, { "Mix" }), - (html! { }, { "Mixer Horizontal" }), - (html! { }, { "Mixer Vertical" }), - (html! { }, { "Mobile" }), - (html! { }, { "Modulz Logo" }), - (html! { }, { "Moon" }), - (html! { }, { "Move" }), - (html! { }, { "Notion Logo" }), - (html! { }, { "Opacity" }), - (html! { }, { "Open In New Window" }), - (html! { }, { "Overline" }), - (html! { }, { "Padding" }), - (html! { }, { "Paper Plane" }), - (html! { }, { "Pause" }), - (html! { }, { "Pencil 1" }), - (html! { }, { "Pencil 2" }), - (html! { }, { "Person" }), - (html! { }, { "Pie Chart" }), - (html! { }, { "Pilcrow" }), - (html! { }, { "Pin Bottom" }), - (html! { }, { "Pin Left" }), - (html! { }, { "Pin Right" }), - (html! { }, { "Pin Top" }), - (html! { }, { "Play" }), - (html! { }, { "Plus Circled" }), - (html! { }, { "Plus" }), - (html! { }, { - "Question Mark Circled" - }), - (html! { }, { "Question Mark" }), - (html! { }, { "Quote" }), - (html! { }, { "Radiobutton" }), - (html! { }, { "Reader" }), - (html! { }, { "Reload" }), - (html! { }, { "Reset" }), - (html! { }, { "Resume" }), - (html! { }, { "Rocket" }), - (html! { }, { - "Rotate Counter Clockwise" - }), - (html! { }, { "Row Spacing" }), - (html! { }, { "Rows" }), - (html! { }, { "Ruler Horizontal" }), - (html! { }, { "Ruler Square" }), - (html! { }, { "Scissors" }), - (html! { }, { "Section" }), - (html! { }, { "Sewing Pin Filled" }), - (html! { }, { "Sewing Pin" }), - (html! { }, { "Shadow Inner" }), - (html! { }, { "Shadow None" }), - (html! { }, { "Shadow Outer" }), - (html! { }, { "Shadow" }), - (html! { }, { "Share 1" }), - (html! { }, { "Share 2" }), - (html! { }, { "Shuffle" }), - (html! { }, { "Size" }), - (html! { }, { "Sketch Logo" }), - (html! { }, { "Slash" }), - (html! { }, { "Slider" }), - (html! { }, { - "Space Between Horizontally" - }), - (html! { }, { - "Space Between Vertically" - }), - (html! { }, { - "Space Evenly Horizontally" - }), - (html! { }, { - "Space Evenly Vertically" - }), - (html! { }, { "Speaker Loud" }), - (html! { }, { "Speaker Moderate" }), - (html! { }, { "Speaker Off" }), - (html! { }, { "Speaker Quiet" }), - (html! { }, { "Square" }), - (html! { }, { "Stack" }), - (html! { }, { "Star Filled" }), - (html! { }, { "Star" }), - (html! { }, { "Stitches Logo" }), - (html! { }, { "Stop" }), - (html! { }, { "Stopwatch" }), - (html! { }, { - "Stretch Horizontally" - }), - (html! { }, { - "Stretch Vertically" - }), - (html! { }, { "Strikethrough" }), - (html! { }, { "Sun" }), - (html! { }, { "Switch" }), - (html! { }, { "Symbol" }), - (html! { }, { "Table" }), - (html! { }, { "Target" }), - (html! { }, { "Text Align Bottom" }), - (html! { }, { "Text Align Center" }), - (html! { }, { "Text Align Justify" }), - (html! { }, { "Text Align Left" }), - (html! { }, { "Text Align Middle" }), - (html! { }, { "Text Align Right" }), - (html! { }, { "Text Align Top" }), - (html! { }, { "Text None" }), - (html! { }, { "Text" }), - (html! { }, { "Thick Arrow Down" }), - (html! { }, { "Thick Arrow Left" }), - (html! { }, { "Thick Arrow Right" }), - (html! { }, { "Thick Arrow Up" }), - (html! { }, { "Timer" }), - (html! { }, { "Tokens" }), - (html! { }, { "Track Next" }), - (html! { }, { "Track Previous" }), - (html! { }, { "Transform" }), - (html! { }, { "Transparency Grid" }), - (html! { }, { "Trash" }), - (html! { }, { "Triangle Down" }), - (html! { }, { "Triangle Left" }), - (html! { }, { "Triangle Right" }), - (html! { }, { "Triangle Up" }), - (html! { }, { "Twitter Logo" }), - (html! { }, { "Underline" }), - (html! { }, { "Update" }), - (html! { }, { "Upload" }), - (html! { }, { "Value None" }), - (html! { }, { "Value" }), - (html! { }, { "Vercel Logo" }), - (html! { }, { "Video" }), - (html! { }, { "View Grid" }), - (html! { }, { "View Horizontal" }), - (html! { }, { "View None" }), - (html! { }, { "View Vertical" }), - (html! { }, { "Width" }), - (html! { }, { "Zoom In" }), - (html! { }, { "Zoom Out" }), - ]; - +pub fn Icons() -> Html { html! { -
- {icons.into_iter().map(| (icon, name)| html! { -
- {icon} - {name} -
- }).collect::()} +
+ + + + + + + + + + + + + + + + + + + + + + +
} } +#[function_component] +pub fn IconsA() -> Html { + let icons = [ + (html! { }, "Accessibility"), + (html! { }, "Activity Log"), + (html! { }, "Align Baseline"), + (html! { }, "Align Bottom"), + ( + html! { }, + "Align Center Horizontally", + ), + ( + html! { }, + "Align Center Vertically", + ), + (html! { }, "Align Left"), + (html! { }, "Align Right"), + (html! { }, "Align Top"), + (html! { }, "All Sides"), + (html! { }, "Angle"), + (html! { }, "Archive"), + (html! { }, "Arrow Bottom Left"), + (html! { }, "Arrow Bottom Right"), + (html! { }, "Arrow Down"), + (html! { }, "Arrow Left"), + (html! { }, "Arrow Right"), + (html! { }, "Arrow Top Left"), + (html! { }, "Arrow Top Right"), + (html! { }, "Arrow Up"), + (html! { }, "Aspect Ratio"), + (html! { }, "Avatar"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsB() -> Html { + let icons = [ + (html! { }, "Backpack"), + (html! { }, "Badge"), + (html! { }, "Bar Chart"), + (html! { }, "Bell"), + (html! { }, "Blending Mode"), + (html! { }, "Bookmark"), + (html! { }, "Bookmark Filled"), + (html! { }, "Border All"), + (html! { }, "Border Bottom"), + (html! { }, "Border Dashed"), + (html! { }, "Border Dotted"), + (html! { }, "Border Left"), + (html! { }, "Border None"), + (html! { }, "Border Right"), + (html! { }, "Border Solid"), + (html! { }, "Border Split"), + (html! { }, "Border Style"), + (html! { }, "Border Top"), + (html! { }, "Border Width"), + (html! { }, "Box"), + (html! { }, "Box Model"), + (html! { }, "Button"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsC() -> Html { + let icons = [ + (html! { }, "Calendar"), + (html! { }, "Camera"), + (html! { }, "Card Stack"), + (html! { }, "Card Stack Minus"), + (html! { }, "Card Stack Plus"), + (html! { }, "Caret Down"), + (html! { }, "Caret Left"), + (html! { }, "Caret Right"), + (html! { }, "Caret Sort"), + (html! { }, "Caret Up"), + (html! { }, "Chat Bubble"), + (html! { }, "Check"), + (html! { }, "Check Circled"), + (html! { }, "Checkbox"), + (html! { }, "Chevron Down"), + (html! { }, "Chevron Left"), + (html! { }, "Chevron Right"), + (html! { }, "Chevron Up"), + (html! { }, "Circle"), + (html! { }, "Circle Backslash"), + (html! { }, "Clipboard"), + (html! { }, "Clipboard Copy"), + (html! { }, "Clock"), + (html! { }, "Code"), + (html! { }, "Codesandbox Logo"), + (html! { }, "Color Wheel"), + (html! { }, "Column Spacing"), + (html! { }, "Columns"), + (html! { }, "Commit"), + (html! { }, "Component 1"), + (html! { }, "Component 2"), + (html! { }, "Component Boolean"), + (html! { }, "Component Instance"), + (html! { }, "Component None"), + ( + html! { }, + "Component Placeholder", + ), + (html! { }, "Container"), + (html! { }, "Cookie"), + (html! { }, "Copy"), + (html! { }, "Corner Bottom Left"), + (html! { }, "Corner Bottom Right"), + (html! { }, "Corner Top Left"), + (html! { }, "Corner Top Right"), + (html! { }, "Corners"), + (html! { }, "Countdown Timer"), + ( + html! { }, + "Counter Clockwise Clock", + ), + (html! { }, "Crop"), + (html! { }, "Cross 1"), + (html! { }, "Cross 2"), + (html! { }, "Cross Circled"), + (html! { }, "Crosshair 1"), + (html! { }, "Crosshair 2"), + (html! { }, "Crumpled Paper"), + (html! { }, "Cube"), + (html! { }, "Cursor Arrow"), + (html! { }, "Cursor Text"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsD() -> Html { + let icons = [ + (html! { }, "Dash"), + (html! { }, "Dashboard"), + (html! { }, "Desktop"), + (html! { }, "Dimensions"), + (html! { }, "Disc"), + (html! { }, "Discord Logo"), + (html! { }, "Divider Horizontal"), + (html! { }, "Divider Vertical"), + (html! { }, "Dot"), + (html! { }, "Dot Filled"), + (html! { }, "Dots Horizontal"), + (html! { }, "Dots Vertical"), + (html! { }, "Double Arrow Down"), + (html! { }, "Double Arrow Left"), + (html! { }, "Double Arrow Right"), + (html! { }, "Double Arrow Up"), + (html! { }, "Download"), + (html! { }, "Drag Handle Dots 1"), + (html! { }, "Drag Handle Dots 2"), + ( + html! { }, + "Drag Handle Horizontal", + ), + (html! { }, "Drag Handle Vertical"), + (html! { }, "Drawing Pin"), + (html! { }, "Drawing Pin Filled"), + (html! { }, "Dropdown Menu"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsE() -> Html { + let icons = [ + (html! { }, "Enter"), + (html! { }, "Enter Full Screen"), + (html! { }, "Envelope Closed"), + (html! { }, "Envelope Open"), + (html! { }, "Eraser"), + ( + html! { }, + "Exclamation Triangle", + ), + (html! { }, "Exit"), + (html! { }, "Exit Full Screen"), + (html! { }, "External Link"), + (html! { }, "Eye Closed"), + (html! { }, "Eye None"), + (html! { }, "Eye Open"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsF() -> Html { + let icons = [ + (html! { }, "Face"), + (html! { }, "Figma Logo"), + (html! { }, "File"), + (html! { }, "File Minus"), + (html! { }, "File Plus"), + (html! { }, "File Text"), + (html! { }, "Font Bold"), + (html! { }, "Font Family"), + (html! { }, "Font Italic"), + (html! { }, "Font Roman"), + (html! { }, "Font Size"), + (html! { }, "Font Style"), + (html! { }, "Frame"), + (html! { }, "Framer Logo"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsG() -> Html { + let icons = [ + (html! { }, "Gear"), + (html! { }, "Github Logo"), + (html! { }, "Globe"), + (html! { }, "Grid"), + (html! { }, "Group"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsH() -> Html { + let icons = [ + (html! { }, "Half 1"), + (html! { }, "Half 2"), + (html! { }, "Hamburger Menu"), + (html! { }, "Hand"), + (html! { }, "Heading"), + (html! { }, "Heart"), + (html! { }, "Heart Filled"), + (html! { }, "Height"), + (html! { }, "Hobby Knife"), + (html! { }, "Home"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsI() -> Html { + let icons = [ + (html! { }, "Iconjar Logo"), + (html! { }, "Id Card"), + (html! { }, "Image"), + (html! { }, "Info Circled"), + (html! { }, "Input"), + (html! { }, "Instagram Logo"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsK() -> Html { + let icons = [(html! { }, "Keyboard")]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsL() -> Html { + let icons = [ + (html! { }, "Lap Timer"), + (html! { }, "Laptop"), + (html! { }, "Layers"), + (html! { }, "Layout"), + ( + html! { }, + "Letter Case Capitalize", + ), + ( + html! { }, + "Letter Case Lowercase", + ), + (html! { }, "Letter Case Toggle"), + ( + html! { }, + "Letter Case Uppercase", + ), + (html! { }, "Letter Spacing"), + (html! { }, "Lightning Bolt"), + (html! { }, "Line Height"), + (html! { }, "Link 1"), + (html! { }, "Link 2"), + (html! { }, "Link Break 1"), + (html! { }, "Link Break 2"), + (html! { }, "Link None 1"), + (html! { }, "Link None 2"), + (html! { }, "Linkedin Logo"), + (html! { }, "List Bullet"), + (html! { }, "Lock Closed"), + (html! { }, "Lock Open 1"), + (html! { }, "Lock Open 2"), + (html! { }, "Loop"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsM() -> Html { + let icons = [ + (html! { }, "Magic Wand"), + (html! { }, "Magnifying Glass"), + (html! { }, "Margin"), + (html! { }, "Mask Off"), + (html! { }, "Mask On"), + (html! { }, "Minus"), + (html! { }, "Minus Circled"), + (html! { }, "Mix"), + (html! { }, "Mixer Horizontal"), + (html! { }, "Mixer Vertical"), + (html! { }, "Mobile"), + (html! { }, "Modulz Logo"), + (html! { }, "Moon"), + (html! { }, "Move"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsN() -> Html { + let icons = [(html! { }, "Notion Logo")]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsO() -> Html { + let icons = [ + (html! { }, "Opacity"), + (html! { }, "Open In New Window"), + (html! { }, "Overline"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsP() -> Html { + let icons = [ + (html! { }, "Padding"), + (html! { }, "Paper Plane"), + (html! { }, "Pause"), + (html! { }, "Pencil 1"), + (html! { }, "Pencil 2"), + (html! { }, "Person"), + (html! { }, "Pie Chart"), + (html! { }, "Pilcrow"), + (html! { }, "Pin Bottom"), + (html! { }, "Pin Left"), + (html! { }, "Pin Right"), + (html! { }, "Pin Top"), + (html! { }, "Play"), + (html! { }, "Plus"), + (html! { }, "Plus Circled"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsQ() -> Html { + let icons = [ + (html! { }, "Question Mark"), + ( + html! { }, + "Question Mark Circled", + ), + (html! { }, "Quote"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsR() -> Html { + let icons = [ + (html! { }, "Radiobutton"), + (html! { }, "Reader"), + (html! { }, "Reload"), + (html! { }, "Reset"), + (html! { }, "Resume"), + (html! { }, "Rocket"), + ( + html! { }, + "Rotate Counter Clockwise", + ), + (html! { }, "Row Spacing"), + (html! { }, "Rows"), + (html! { }, "Ruler Horizontal"), + (html! { }, "Ruler Square"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsS() -> Html { + let icons = [ + (html! { }, "Scissors"), + (html! { }, "Section"), + (html! { }, "Sewing Pin"), + (html! { }, "Sewing Pin Filled"), + (html! { }, "Shadow"), + (html! { }, "Shadow Inner"), + (html! { }, "Shadow None"), + (html! { }, "Shadow Outer"), + (html! { }, "Share 1"), + (html! { }, "Share 2"), + (html! { }, "Shuffle"), + (html! { }, "Size"), + (html! { }, "Sketch Logo"), + (html! { }, "Slash"), + (html! { }, "Slider"), + ( + html! { }, + "Space Between Horizontally", + ), + ( + html! { }, + "Space Between Vertically", + ), + ( + html! { }, + "Space Evenly Horizontally", + ), + ( + html! { }, + "Space Evenly Vertically", + ), + (html! { }, "Speaker Loud"), + (html! { }, "Speaker Moderate"), + (html! { }, "Speaker Off"), + (html! { }, "Speaker Quiet"), + (html! { }, "Square"), + (html! { }, "Stack"), + (html! { }, "Star"), + (html! { }, "Star Filled"), + (html! { }, "Stitches Logo"), + (html! { }, "Stop"), + (html! { }, "Stopwatch"), + ( + html! { }, + "Stretch Horizontally", + ), + (html! { }, "Stretch Vertically"), + (html! { }, "Strikethrough"), + (html! { }, "Sun"), + (html! { }, "Switch"), + (html! { }, "Symbol"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsT() -> Html { + let icons = [ + (html! { }, "Table"), + (html! { }, "Target"), + (html! { }, "Text"), + (html! { }, "Text Align Bottom"), + (html! { }, "Text Align Center"), + (html! { }, "Text Align Justify"), + (html! { }, "Text Align Left"), + (html! { }, "Text Align Middle"), + (html! { }, "Text Align Right"), + (html! { }, "Text Align Top"), + (html! { }, "Text None"), + (html! { }, "Thick Arrow Down"), + (html! { }, "Thick Arrow Left"), + (html! { }, "Thick Arrow Right"), + (html! { }, "Thick Arrow Up"), + (html! { }, "Timer"), + (html! { }, "Tokens"), + (html! { }, "Track Next"), + (html! { }, "Track Previous"), + (html! { }, "Transform"), + (html! { }, "Transparency Grid"), + (html! { }, "Trash"), + (html! { }, "Triangle Down"), + (html! { }, "Triangle Left"), + (html! { }, "Triangle Right"), + (html! { }, "Triangle Up"), + (html! { }, "Twitter Logo"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsU() -> Html { + let icons = [ + (html! { }, "Underline"), + (html! { }, "Update"), + (html! { }, "Upload"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsV() -> Html { + let icons = [ + (html! { }, "Value"), + (html! { }, "Value None"), + (html! { }, "Vercel Logo"), + (html! { }, "Video"), + (html! { }, "View Grid"), + (html! { }, "View Horizontal"), + (html! { }, "View None"), + (html! { }, "View Vertical"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsW() -> Html { + let icons = [(html! { }, "Width")]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} +#[function_component] +pub fn IconsZ() -> Html { + let icons = [ + (html! { }, "Zoom In"), + (html! { }, "Zoom Out"), + ]; + icons + .into_iter() + .map(|(icon, name)| { + html! { +
+ { icon } + { name } +
+ } + }) + .collect::() +} diff --git a/book-examples/yew/themes/src/icon_button/icon_button.rs b/book-examples/yew/themes/src/icon_button/icon_button.rs index 6a64b8c9..6d925bfc 100644 --- a/book-examples/yew/themes/src/icon_button/icon_button.rs +++ b/book-examples/yew/themes/src/icon_button/icon_button.rs @@ -6,7 +6,7 @@ use yew::prelude::*; pub fn IconButtonExample() -> Html { html! { - + } } diff --git a/book-examples/yew/themes/src/icon_button/icon_button_color.rs b/book-examples/yew/themes/src/icon_button/icon_button_color.rs index d8e31dca..d694fb13 100644 --- a/book-examples/yew/themes/src/icon_button/icon_button_color.rs +++ b/book-examples/yew/themes/src/icon_button/icon_button_color.rs @@ -7,16 +7,16 @@ pub fn IconButtonColorExample() -> Html { html! { - + - + - + - + } diff --git a/book-examples/yew/themes/src/icon_button/icon_button_high_contrast.rs b/book-examples/yew/themes/src/icon_button/icon_button_high_contrast.rs index 2a399a34..00faf08e 100644 --- a/book-examples/yew/themes/src/icon_button/icon_button_high_contrast.rs +++ b/book-examples/yew/themes/src/icon_button/icon_button_high_contrast.rs @@ -8,36 +8,36 @@ pub fn IconButtonHighContrastExample() -> Html { - + - + - + - + - + - + - + - + - + - + diff --git a/book-examples/yew/themes/src/icon_button/icon_button_loading.rs b/book-examples/yew/themes/src/icon_button/icon_button_loading.rs index 3490a060..76d186d4 100644 --- a/book-examples/yew/themes/src/icon_button/icon_button_loading.rs +++ b/book-examples/yew/themes/src/icon_button/icon_button_loading.rs @@ -7,19 +7,19 @@ pub fn IconButtonLoadingExample() -> Html { html! { - + - + - + - + - + } diff --git a/book-examples/yew/themes/src/icon_button/icon_button_radius.rs b/book-examples/yew/themes/src/icon_button/icon_button_radius.rs index 1a2697e1..f5ea6120 100644 --- a/book-examples/yew/themes/src/icon_button/icon_button_radius.rs +++ b/book-examples/yew/themes/src/icon_button/icon_button_radius.rs @@ -7,19 +7,19 @@ pub fn IconButtonRadiusExample() -> Html { html! { - + - + - + - + - + } diff --git a/book-examples/yew/themes/src/icon_button/icon_button_size.rs b/book-examples/yew/themes/src/icon_button/icon_button_size.rs index d7bc330e..cb6a751c 100644 --- a/book-examples/yew/themes/src/icon_button/icon_button_size.rs +++ b/book-examples/yew/themes/src/icon_button/icon_button_size.rs @@ -7,15 +7,15 @@ pub fn IconButtonSizeExample() -> Html { html! { - + - + - + } diff --git a/book-examples/yew/themes/src/icon_button/icon_button_variant.rs b/book-examples/yew/themes/src/icon_button/icon_button_variant.rs index 3fa4ded9..40e085bf 100644 --- a/book-examples/yew/themes/src/icon_button/icon_button_variant.rs +++ b/book-examples/yew/themes/src/icon_button/icon_button_variant.rs @@ -7,19 +7,19 @@ pub fn IconButtonVariantExample() -> Html { html! { - + - + - + - + - + } diff --git a/book-examples/yew/themes/src/icon_button/icon_button_variant_ghost.rs b/book-examples/yew/themes/src/icon_button/icon_button_variant_ghost.rs index 92954407..4ce3cb46 100644 --- a/book-examples/yew/themes/src/icon_button/icon_button_variant_ghost.rs +++ b/book-examples/yew/themes/src/icon_button/icon_button_variant_ghost.rs @@ -6,7 +6,7 @@ use yew::prelude::*; pub fn IconButtonVariantGhostExample() -> Html { html! { - + } } diff --git a/book-examples/yew/themes/src/text_field/text_field.rs b/book-examples/yew/themes/src/text_field/text_field.rs index 723073d7..d55672b3 100644 --- a/book-examples/yew/themes/src/text_field/text_field.rs +++ b/book-examples/yew/themes/src/text_field/text_field.rs @@ -7,7 +7,7 @@ pub fn TextFieldExample() -> Html { html! { - + } diff --git a/book-examples/yew/themes/src/text_field/text_field_size_buttons.rs b/book-examples/yew/themes/src/text_field/text_field_size_buttons.rs index 7d4cd915..e19ff46e 100644 --- a/book-examples/yew/themes/src/text_field/text_field_size_buttons.rs +++ b/book-examples/yew/themes/src/text_field/text_field_size_buttons.rs @@ -11,7 +11,7 @@ pub fn TextFieldSizeButtonsExample() -> Html { - + @@ -19,11 +19,11 @@ pub fn TextFieldSizeButtonsExample() -> Html { - + - + @@ -32,11 +32,11 @@ pub fn TextFieldSizeButtonsExample() -> Html { - + - + diff --git a/book/src/icons/README.md b/book/src/icons/README.md index b61e6b88..d751fd64 100644 --- a/book/src/icons/README.md +++ b/book/src/icons/README.md @@ -3,6 +3,15 @@ A crisp set of 15×15 icons. All icons are available as individual components. {{#tabs global="framework" }} +{{#tab name="Dioxus" }} + +```toml,trunk +package = "radix-dioxus-book-icons" +features = ["icons"] +files = ["src/icons.rs"] +``` + +{{#endtab }} {{#tab name="Leptos" }} ```toml,trunk @@ -28,6 +37,17 @@ files = ["src/icons.rs"] Install the icons from your command line. {{#tabs global="framework" }} +{{#tab name="Dioxus" }} + +```shell +cargo add radix-dioxus-icons +``` + +- [View on crates.io](https://crates.io/crates/radix-dioxus-icons) +- [View on docs.rs](https://docs.rs/radix-dioxus-icons/latest/radix_dioxus_icons/) +- [View source](https://github.com/RustForWeb/radix/tree/main/packages/icons/dioxus) + +{{#endtab }} {{#tab name="Leptos" }} ```shell @@ -59,6 +79,23 @@ Import the icons. {{#tabs global="framework" }} {{#tab name="Leptos" }} +```rust,ignore +use dioxus::prelude::*; +use radix_dioxus_icons::{FaceIcon, ImageIcon, SunIcon}; + +#[component] +fn App() -> Element { + rsx! { + FaceIcon {} + ImageIcon {} + SunIcon {} + } +} +``` + +{{#endtab }} +{{#tab name="Leptos" }} + ```rust,ignore use leptos::*; use radix_leptos_icons::{FaceIcon, ImageIcon, SunIcon}; @@ -98,18 +135,31 @@ fn Anatomy() -> Html { ## API Reference {{#tabs global="framework" }} +{{#tab name="Dioxus" }} + +| Prop | Type | Default | +| -------- | -------- | ---------------- | +| `width` | `usize` | `15` | +| `height` | `usize` | `15` | +| `color` | `String` | `"currentColor"` | + +{{#endtab }} {{#tab name="Leptos" }} -| Prop | Type | Default | -| ------- | ------------------- | ---------------- | -| `color` | `MaybeProp` | `"currentColor"` | +| Prop | Type | Default | +| -------- | ---------------- | ---------------- | +| `width` | `Signal` | `15` | +| `height` | `Signal` | `15` | +| `color` | `Signal` | `"currentColor"` | {{#endtab }} {{#tab name="Yew" }} -| Prop | Type | Default | -| ------- | ----------- | ---------------- | -| `color` | `AttrValue` | `"currentColor"` | +| Prop | Type | Default | +| -------- | ----------- | ---------------- | +| `width` | `usize` | `15` | +| `height` | `usize` | `15` | +| `color` | `AttrValue` | `"currentColor"` | {{#endtab }} {{#endtabs }} diff --git a/book/src/introduction.md b/book/src/introduction.md index 03516d29..6676d271 100644 --- a/book/src/introduction.md +++ b/book/src/introduction.md @@ -21,13 +21,10 @@ Rust Radix consists of the following parts: Rust Radix is available for the following frameworks: +- [Dioxus](https://dioxuslabs.com/) - [Leptos](https://leptos.dev/) - [Yew](https://yew.rs/) -The following frameworks are under consideration: - -- [Dioxus](https://dioxuslabs.com/) - The tables below show the support for the various frameworks. - ✅ = Supported @@ -45,7 +42,7 @@ The tables below show the support for the various frameworks. | Name | Dioxus | Leptos | Yew | | ----- | ------ | ------ | --- | -| Icons | ❌ | 🚧 | 🟦 | +| Icons | ✅ | ✅ | ✅ | ### Primitives Support diff --git a/packages/icons/dioxus/README.md b/packages/icons/dioxus/README.md new file mode 100644 index 00000000..2f80055f --- /dev/null +++ b/packages/icons/dioxus/README.md @@ -0,0 +1,21 @@ +

+ + Rust Radix Logo + +

+ +

radix-dioxus-icons

+ +Radix Icons is a crisp set of 15x15 icons. + +[Rust Radix](https://github.com/RustForWeb/radix) is a Rust port of [Radix](https://www.radix-ui.com/primitives). + +## Documentation + +See [the Rust Radix book](https://radix.rustforweb.org/) for documentation. + +## Rust For Web + +The Rust Radix project is part of [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web UI libraries for Rust. All projects are free and open source. diff --git a/packages/icons/dioxus/src/accessibility_icon.rs b/packages/icons/dioxus/src/accessibility_icon.rs new file mode 100644 index 00000000..654c2adf --- /dev/null +++ b/packages/icons/dioxus/src/accessibility_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AccessibilityIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AccessibilityIcon(props: AccessibilityIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "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", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/activity_log_icon.rs b/packages/icons/dioxus/src/activity_log_icon.rs new file mode 100644 index 00000000..26d4448f --- /dev/null +++ b/packages/icons/dioxus/src/activity_log_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ActivityLogIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ActivityLogIcon(props: ActivityLogIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "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", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/align_baseline_icon.rs b/packages/icons/dioxus/src/align_baseline_icon.rs new file mode 100644 index 00000000..62e2dc0f --- /dev/null +++ b/packages/icons/dioxus/src/align_baseline_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AlignBaselineIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AlignBaselineIcon(props: AlignBaselineIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10.5 1.75003C10.7107 1.75003 10.8988 1.88217 10.9703 2.08042L13.9703 10.4C14.064 10.6598 13.9293 10.9463 13.6696 11.04C13.4098 11.1336 13.1233 10.999 13.0296 10.7392L12.0477 8.01606H8.95227L7.97031 10.7392C7.87664 10.999 7.59012 11.1336 7.33035 11.04C7.07058 10.9463 6.93593 10.6598 7.0296 10.4L10.0296 2.08042C10.1011 1.88217 10.2892 1.75003 10.5 1.75003ZM10.5 3.72402L11.7411 7.16606H9.25877L10.5 3.72402ZM2.49949 2.09997C2.7204 2.09997 2.89949 2.27906 2.89949 2.49997L2.89949 9.53428L4.21664 8.21713C4.37285 8.06092 4.62612 8.06092 4.78233 8.21713C4.93854 8.37334 4.93854 8.6266 4.78233 8.78281L2.78233 10.7828C2.70732 10.8578 2.60557 10.9 2.49949 10.9C2.3934 10.9 2.29166 10.8578 2.21664 10.7828L0.216645 8.78281C0.0604349 8.6266 0.0604349 8.37334 0.216645 8.21713C0.372854 8.06092 0.62612 8.06092 0.78233 8.21713L2.09949 9.53428L2.09949 2.49997C2.09949 2.27906 2.27857 2.09997 2.49949 2.09997ZM0.0999695 13.5001C0.0999695 13.2791 0.279056 13.1001 0.499969 13.1001H14.5C14.7209 13.1001 14.9 13.2791 14.9 13.5001C14.9 13.721 14.7209 13.9001 14.5 13.9001H0.499969C0.279056 13.9001 0.0999695 13.721 0.0999695 13.5001Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/align_bottom_icon.rs b/packages/icons/dioxus/src/align_bottom_icon.rs new file mode 100644 index 00000000..f68bff7c --- /dev/null +++ b/packages/icons/dioxus/src/align_bottom_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AlignBottomIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AlignBottomIcon(props: AlignBottomIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9 3C9 2.44772 8.55229 2 8 2H7C6.44772 2 6 2.44772 6 3L6 14H1.5C1.22386 14 1 14.2239 1 14.5C1 14.7761 1.22386 15 1.5 15L6 15H9H13.5C13.7761 15 14 14.7761 14 14.5C14 14.2239 13.7761 14 13.5 14H9V3Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/align_center_horizontally_icon.rs b/packages/icons/dioxus/src/align_center_horizontally_icon.rs new file mode 100644 index 00000000..81b8de9b --- /dev/null +++ b/packages/icons/dioxus/src/align_center_horizontally_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AlignCenterHorizontallyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AlignCenterHorizontallyIcon(props: AlignCenterHorizontallyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.99988 6C1.44759 6 0.999877 6.44772 0.999877 7L0.999877 8C0.999877 8.55228 1.44759 9 1.99988 9L6.99988 9L6.99988 13.5C6.99988 13.7761 7.22374 14 7.49988 14C7.77602 14 7.99988 13.7761 7.99988 13.5L7.99988 9L12.9999 9C13.5522 9 13.9999 8.55228 13.9999 8L13.9999 7C13.9999 6.44772 13.5522 6 12.9999 6L7.99988 6L7.99988 1.5C7.99988 1.22386 7.77602 1 7.49988 1C7.22373 1 6.99988 1.22386 6.99988 1.5L6.99988 6L1.99988 6Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/align_center_vertically_icon.rs b/packages/icons/dioxus/src/align_center_vertically_icon.rs new file mode 100644 index 00000000..27b1651c --- /dev/null +++ b/packages/icons/dioxus/src/align_center_vertically_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AlignCenterVerticallyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AlignCenterVerticallyIcon(props: AlignCenterVerticallyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.99988 1C6.44759 1 5.99988 1.44772 5.99988 2V7H1.49988C1.22374 7 0.999878 7.22386 0.999878 7.5C0.999878 7.77614 1.22374 8 1.49988 8H5.99988V13C5.99988 13.5523 6.44759 14 6.99988 14H7.99988C8.55216 14 8.99988 13.5523 8.99988 13V8H13.4999C13.776 8 13.9999 7.77614 13.9999 7.5C13.9999 7.22386 13.776 7 13.4999 7H8.99988V2C8.99988 1.44772 8.55216 1 7.99988 1L6.99988 1Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/align_left_icon.rs b/packages/icons/dioxus/src/align_left_icon.rs new file mode 100644 index 00000000..165ca674 --- /dev/null +++ b/packages/icons/dioxus/src/align_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AlignLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AlignLeftIcon(props: AlignLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.499995 0.999995C0.223855 0.999995 -5.58458e-07 1.22385 -5.46388e-07 1.49999L-2.18554e-08 13.4999C-9.78492e-09 13.776 0.223855 13.9999 0.499995 13.9999C0.776136 13.9999 0.999991 13.776 0.999991 13.4999L0.999991 8.99993L12 8.99993C12.5523 8.99993 13 8.55222 13 7.99993L13 6.99994C13 6.44766 12.5523 5.99995 12 5.99995L0.999991 5.99995L0.999991 1.49999C0.999991 1.22385 0.776135 0.999995 0.499995 0.999995Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/align_right_icon.rs b/packages/icons/dioxus/src/align_right_icon.rs new file mode 100644 index 00000000..e429dd3c --- /dev/null +++ b/packages/icons/dioxus/src/align_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AlignRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AlignRightIcon(props: AlignRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14.4999 1C14.2237 1 13.9999 1.22386 13.9999 1.5L13.9999 6L2.99988 6C2.44759 6 1.99988 6.44772 1.99988 7L1.99988 8C1.99988 8.55228 2.44759 9 2.99988 9L13.9999 9L13.9999 13.5C13.9999 13.7761 14.2237 14 14.4999 14C14.776 14 14.9999 13.7761 14.9999 13.5L14.9999 9L14.9999 6L14.9999 1.5C14.9999 1.22386 14.776 1 14.4999 1Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/align_top_icon.rs b/packages/icons/dioxus/src/align_top_icon.rs new file mode 100644 index 00000000..43237611 --- /dev/null +++ b/packages/icons/dioxus/src/align_top_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AlignTopIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AlignTopIcon(props: AlignTopIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.5 0C1.22386 0 1 0.223858 1 0.5C1 0.776142 1.22386 1 1.5 1H6V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V1H13.5C13.7761 1 14 0.776142 14 0.5C14 0.223858 13.7761 0 13.5 0H9H6H1.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/all_sides_icon.rs b/packages/icons/dioxus/src/all_sides_icon.rs new file mode 100644 index 00000000..417180d6 --- /dev/null +++ b/packages/icons/dioxus/src/all_sides_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AllSidesIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AllSidesIcon(props: AllSidesIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 0.75L9.75 3H5.25L7.5 0.75ZM7.5 14.25L9.75 12H5.25L7.5 14.25ZM3 5.25L0.75 7.5L3 9.75V5.25ZM14.25 7.5L12 5.25V9.75L14.25 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/angle_icon.rs b/packages/icons/dioxus/src/angle_icon.rs new file mode 100644 index 00000000..447ef230 --- /dev/null +++ b/packages/icons/dioxus/src/angle_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AngleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AngleIcon(props: AngleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.8914 2.1937C9.1158 2.35464 9.16725 2.66701 9.00631 2.89141L2.47388 12H13.5C13.7761 12 14 12.2239 14 12.5C14 12.7762 13.7761 13 13.5 13H1.5C1.31254 13 1.14082 12.8952 1.0552 12.7284C0.969578 12.5616 0.984438 12.361 1.09369 12.2086L8.19369 2.30862C8.35462 2.08422 8.667 2.03277 8.8914 2.1937ZM11.1 6.50001C11.1 6.22387 11.3238 6.00001 11.6 6.00001C11.8761 6.00001 12.1 6.22387 12.1 6.50001C12.1 6.77615 11.8761 7.00001 11.6 7.00001C11.3238 7.00001 11.1 6.77615 11.1 6.50001ZM10.4 4.00001C10.1239 4.00001 9.90003 4.22387 9.90003 4.50001C9.90003 4.77615 10.1239 5.00001 10.4 5.00001C10.6762 5.00001 10.9 4.77615 10.9 4.50001C10.9 4.22387 10.6762 4.00001 10.4 4.00001ZM12.1 8.50001C12.1 8.22387 12.3238 8.00001 12.6 8.00001C12.8761 8.00001 13.1 8.22387 13.1 8.50001C13.1 8.77615 12.8761 9.00001 12.6 9.00001C12.3238 9.00001 12.1 8.77615 12.1 8.50001ZM13.4 10C13.1239 10 12.9 10.2239 12.9 10.5C12.9 10.7761 13.1239 11 13.4 11C13.6762 11 13.9 10.7761 13.9 10.5C13.9 10.2239 13.6762 10 13.4 10Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/archive_icon.rs b/packages/icons/dioxus/src/archive_icon.rs new file mode 100644 index 00000000..692e22d4 --- /dev/null +++ b/packages/icons/dioxus/src/archive_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArchiveIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArchiveIcon(props: ArchiveIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.30902 1C2.93025 1 2.58398 1.214 2.41459 1.55279L1.05279 4.27639C1.01807 4.34582 1 4.42238 1 4.5V13C1 13.5523 1.44772 14 2 14H13C13.5523 14 14 13.5523 14 13V4.5C14 4.42238 13.9819 4.34582 13.9472 4.27639L12.5854 1.55281C12.416 1.21403 12.0698 1.00003 11.691 1.00003L7.5 1.00001L3.30902 1ZM3.30902 2L7 2.00001V4H2.30902L3.30902 2ZM8 4V2.00002L11.691 2.00003L12.691 4H8ZM7.5 5H13V13H2V5H7.5ZM5.5 7C5.22386 7 5 7.22386 5 7.5C5 7.77614 5.22386 8 5.5 8H9.5C9.77614 8 10 7.77614 10 7.5C10 7.22386 9.77614 7 9.5 7H5.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/arrow_bottom_left_icon.rs b/packages/icons/dioxus/src/arrow_bottom_left_icon.rs new file mode 100644 index 00000000..f46d52cf --- /dev/null +++ b/packages/icons/dioxus/src/arrow_bottom_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArrowBottomLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArrowBottomLeftIcon(props: ArrowBottomLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.3536 3.64644C11.5488 3.8417 11.5488 4.15828 11.3536 4.35354L4.70711 11L9 11C9.27614 11 9.5 11.2239 9.5 11.5C9.5 11.7761 9.27614 12 9 12L3.5 12C3.36739 12 3.24021 11.9473 3.14645 11.8536C3.05268 11.7598 3 11.6326 3 11.5L3 5.99999C3 5.72385 3.22386 5.49999 3.5 5.49999C3.77614 5.49999 4 5.72385 4 5.99999V10.2929L10.6464 3.64643C10.8417 3.45117 11.1583 3.45117 11.3536 3.64644Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/arrow_bottom_right_icon.rs b/packages/icons/dioxus/src/arrow_bottom_right_icon.rs new file mode 100644 index 00000000..781e77b2 --- /dev/null +++ b/packages/icons/dioxus/src/arrow_bottom_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArrowBottomRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArrowBottomRightIcon(props: ArrowBottomRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.64645 3.64644C3.45118 3.8417 3.45118 4.15828 3.64645 4.35354L10.2929 11L6 11C5.72386 11 5.5 11.2239 5.5 11.5C5.5 11.7761 5.72386 12 6 12L11.5 12C11.6326 12 11.7598 11.9473 11.8536 11.8536C11.9473 11.7598 12 11.6326 12 11.5L12 5.99999C12 5.72385 11.7761 5.49999 11.5 5.49999C11.2239 5.49999 11 5.72385 11 5.99999V10.2929L4.35355 3.64643C4.15829 3.45117 3.84171 3.45117 3.64645 3.64644Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/arrow_down_icon.rs b/packages/icons/dioxus/src/arrow_down_icon.rs new file mode 100644 index 00000000..08833b17 --- /dev/null +++ b/packages/icons/dioxus/src/arrow_down_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArrowDownIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArrowDownIcon(props: ArrowDownIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 2C7.77614 2 8 2.22386 8 2.5L8 11.2929L11.1464 8.14645C11.3417 7.95118 11.6583 7.95118 11.8536 8.14645C12.0488 8.34171 12.0488 8.65829 11.8536 8.85355L7.85355 12.8536C7.75979 12.9473 7.63261 13 7.5 13C7.36739 13 7.24021 12.9473 7.14645 12.8536L3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645C3.34171 7.95118 3.65829 7.95118 3.85355 8.14645L7 11.2929L7 2.5C7 2.22386 7.22386 2 7.5 2Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/arrow_left_icon.rs b/packages/icons/dioxus/src/arrow_left_icon.rs new file mode 100644 index 00000000..6d1a7ae8 --- /dev/null +++ b/packages/icons/dioxus/src/arrow_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArrowLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArrowLeftIcon(props: ArrowLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/arrow_right_icon.rs b/packages/icons/dioxus/src/arrow_right_icon.rs new file mode 100644 index 00000000..36a1c016 --- /dev/null +++ b/packages/icons/dioxus/src/arrow_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArrowRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArrowRightIcon(props: ArrowRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/arrow_top_left_icon.rs b/packages/icons/dioxus/src/arrow_top_left_icon.rs new file mode 100644 index 00000000..9ab60958 --- /dev/null +++ b/packages/icons/dioxus/src/arrow_top_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArrowTopLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArrowTopLeftIcon(props: ArrowTopLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.3536 11.3536C11.5488 11.1583 11.5488 10.8417 11.3536 10.6465L4.70711 4L9 4C9.27614 4 9.5 3.77614 9.5 3.5C9.5 3.22386 9.27614 3 9 3L3.5 3C3.36739 3 3.24021 3.05268 3.14645 3.14645C3.05268 3.24022 3 3.36739 3 3.5L3 9.00001C3 9.27615 3.22386 9.50001 3.5 9.50001C3.77614 9.50001 4 9.27615 4 9.00001V4.70711L10.6464 11.3536C10.8417 11.5488 11.1583 11.5488 11.3536 11.3536Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/arrow_top_right_icon.rs b/packages/icons/dioxus/src/arrow_top_right_icon.rs new file mode 100644 index 00000000..d56be022 --- /dev/null +++ b/packages/icons/dioxus/src/arrow_top_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArrowTopRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArrowTopRightIcon(props: ArrowTopRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/arrow_up_icon.rs b/packages/icons/dioxus/src/arrow_up_icon.rs new file mode 100644 index 00000000..78c993e2 --- /dev/null +++ b/packages/icons/dioxus/src/arrow_up_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ArrowUpIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ArrowUpIcon(props: ArrowUpIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.14645 2.14645C7.34171 1.95118 7.65829 1.95118 7.85355 2.14645L11.8536 6.14645C12.0488 6.34171 12.0488 6.65829 11.8536 6.85355C11.6583 7.04882 11.3417 7.04882 11.1464 6.85355L8 3.70711L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 3.70711L3.85355 6.85355C3.65829 7.04882 3.34171 7.04882 3.14645 6.85355C2.95118 6.65829 2.95118 6.34171 3.14645 6.14645L7.14645 2.14645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/aspect_ratio_icon.rs b/packages/icons/dioxus/src/aspect_ratio_icon.rs new file mode 100644 index 00000000..af487ef0 --- /dev/null +++ b/packages/icons/dioxus/src/aspect_ratio_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AspectRatioIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AspectRatioIcon(props: AspectRatioIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.5 2H12.5C12.7761 2 13 2.22386 13 2.5V12.5C13 12.7761 12.7761 13 12.5 13H2.5C2.22386 13 2 12.7761 2 12.5V2.5C2 2.22386 2.22386 2 2.5 2ZM1 2.5C1 1.67157 1.67157 1 2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5ZM7.5 4C7.77614 4 8 3.77614 8 3.5C8 3.22386 7.77614 3 7.5 3C7.22386 3 7 3.22386 7 3.5C7 3.77614 7.22386 4 7.5 4ZM8 5.5C8 5.77614 7.77614 6 7.5 6C7.22386 6 7 5.77614 7 5.5C7 5.22386 7.22386 5 7.5 5C7.77614 5 8 5.22386 8 5.5ZM7.5 8C7.77614 8 8 7.77614 8 7.5C8 7.22386 7.77614 7 7.5 7C7.22386 7 7 7.22386 7 7.5C7 7.77614 7.22386 8 7.5 8ZM10 7.5C10 7.77614 9.77614 8 9.5 8C9.22386 8 9 7.77614 9 7.5C9 7.22386 9.22386 7 9.5 7C9.77614 7 10 7.22386 10 7.5ZM11.5 8C11.7761 8 12 7.77614 12 7.5C12 7.22386 11.7761 7 11.5 7C11.2239 7 11 7.22386 11 7.5C11 7.77614 11.2239 8 11.5 8Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/avatar_icon.rs b/packages/icons/dioxus/src/avatar_icon.rs new file mode 100644 index 00000000..836fe5ae --- /dev/null +++ b/packages/icons/dioxus/src/avatar_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct AvatarIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn AvatarIcon(props: AvatarIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877014 7.49988C0.877014 3.84219 3.84216 0.877045 7.49985 0.877045C11.1575 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1575 14.1227 7.49985 14.1227C3.84216 14.1227 0.877014 11.1575 0.877014 7.49988ZM7.49985 1.82704C4.36683 1.82704 1.82701 4.36686 1.82701 7.49988C1.82701 8.97196 2.38774 10.3131 3.30727 11.3213C4.19074 9.94119 5.73818 9.02499 7.50023 9.02499C9.26206 9.02499 10.8093 9.94097 11.6929 11.3208C12.6121 10.3127 13.1727 8.97172 13.1727 7.49988C13.1727 4.36686 10.6328 1.82704 7.49985 1.82704ZM10.9818 11.9787C10.2839 10.7795 8.9857 9.97499 7.50023 9.97499C6.01458 9.97499 4.71624 10.7797 4.01845 11.9791C4.97952 12.7272 6.18765 13.1727 7.49985 13.1727C8.81227 13.1727 10.0206 12.727 10.9818 11.9787ZM5.14999 6.50487C5.14999 5.207 6.20212 4.15487 7.49999 4.15487C8.79786 4.15487 9.84999 5.207 9.84999 6.50487C9.84999 7.80274 8.79786 8.85487 7.49999 8.85487C6.20212 8.85487 5.14999 7.80274 5.14999 6.50487ZM7.49999 5.10487C6.72679 5.10487 6.09999 5.73167 6.09999 6.50487C6.09999 7.27807 6.72679 7.90487 7.49999 7.90487C8.27319 7.90487 8.89999 7.27807 8.89999 6.50487C8.89999 5.73167 8.27319 5.10487 7.49999 5.10487Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/backpack_icon.rs b/packages/icons/dioxus/src/backpack_icon.rs new file mode 100644 index 00000000..5243a1c0 --- /dev/null +++ b/packages/icons/dioxus/src/backpack_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BackpackIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BackpackIcon(props: BackpackIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5 1C5 0.447715 5.44772 0 6 0H9C9.55228 0 10 0.447715 10 1V2H14C14.5523 2 15 2.44772 15 3V6C15 6.8888 14.6131 7.68734 14 8.23608V11.5C14 12.3284 13.3284 13 12.5 13H2.5C1.67157 13 1 12.3284 1 11.5V8.2359C0.38697 7.68721 0 6.88883 0 6V3C0 2.44772 0.447716 2 1 2H5V1ZM9 1V2H6V1H9ZM1 3H5H5.5H9.5H10H14V6C14 6.654 13.6866 7.23467 13.1997 7.6004C12.8655 7.85144 12.4508 8 12 8H8V7.5C8 7.22386 7.77614 7 7.5 7C7.22386 7 7 7.22386 7 7.5V8H3C2.5493 8 2.1346 7.85133 1.80029 7.60022C1.31335 7.23446 1 6.65396 1 6V3ZM7 9H3C2.64961 9 2.31292 8.93972 2 8.82905V11.5C2 11.7761 2.22386 12 2.5 12H12.5C12.7761 12 13 11.7761 13 11.5V8.82915C12.6871 8.93978 12.3504 9 12 9H8V9.5C8 9.77614 7.77614 10 7.5 10C7.22386 10 7 9.77614 7 9.5V9Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/badge_icon.rs b/packages/icons/dioxus/src/badge_icon.rs new file mode 100644 index 00000000..7d069009 --- /dev/null +++ b/packages/icons/dioxus/src/badge_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BadgeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BadgeIcon(props: BadgeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.5 6H11.5C12.3284 6 13 6.67157 13 7.5C13 8.32843 12.3284 9 11.5 9H3.5C2.67157 9 2 8.32843 2 7.5C2 6.67157 2.67157 6 3.5 6ZM1 7.5C1 6.11929 2.11929 5 3.5 5H11.5C12.8807 5 14 6.11929 14 7.5C14 8.88071 12.8807 10 11.5 10H3.5C2.11929 10 1 8.88071 1 7.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H4.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/bar_chart_icon.rs b/packages/icons/dioxus/src/bar_chart_icon.rs new file mode 100644 index 00000000..86db30bd --- /dev/null +++ b/packages/icons/dioxus/src/bar_chart_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BarChartIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BarChartIcon(props: BarChartIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.5 1C11.7761 1 12 1.22386 12 1.5V13.5C12 13.7761 11.7761 14 11.5 14C11.2239 14 11 13.7761 11 13.5V1.5C11 1.22386 11.2239 1 11.5 1ZM9.5 3C9.77614 3 10 3.22386 10 3.5V13.5C10 13.7761 9.77614 14 9.5 14C9.22386 14 9 13.7761 9 13.5V3.5C9 3.22386 9.22386 3 9.5 3ZM13.5 3C13.7761 3 14 3.22386 14 3.5V13.5C14 13.7761 13.7761 14 13.5 14C13.2239 14 13 13.7761 13 13.5V3.5C13 3.22386 13.2239 3 13.5 3ZM5.5 4C5.77614 4 6 4.22386 6 4.5V13.5C6 13.7761 5.77614 14 5.5 14C5.22386 14 5 13.7761 5 13.5V4.5C5 4.22386 5.22386 4 5.5 4ZM1.5 5C1.77614 5 2 5.22386 2 5.5V13.5C2 13.7761 1.77614 14 1.5 14C1.22386 14 1 13.7761 1 13.5V5.5C1 5.22386 1.22386 5 1.5 5ZM7.5 5C7.77614 5 8 5.22386 8 5.5V13.5C8 13.7761 7.77614 14 7.5 14C7.22386 14 7 13.7761 7 13.5V5.5C7 5.22386 7.22386 5 7.5 5ZM3.5 7C3.77614 7 4 7.22386 4 7.5V13.5C4 13.7761 3.77614 14 3.5 14C3.22386 14 3 13.7761 3 13.5V7.5C3 7.22386 3.22386 7 3.5 7Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/bell_icon.rs b/packages/icons/dioxus/src/bell_icon.rs new file mode 100644 index 00000000..07bbdee8 --- /dev/null +++ b/packages/icons/dioxus/src/bell_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BellIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BellIcon(props: BellIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.60124 1.25086C8.60124 1.75459 8.26278 2.17927 7.80087 2.30989C10.1459 2.4647 12 4.41582 12 6.79999V10.25C12 11.0563 12.0329 11.7074 12.7236 12.0528C12.931 12.1565 13.0399 12.3892 12.9866 12.6149C12.9333 12.8406 12.7319 13 12.5 13H8.16144C8.36904 13.1832 8.49997 13.4513 8.49997 13.75C8.49997 14.3023 8.05226 14.75 7.49997 14.75C6.94769 14.75 6.49997 14.3023 6.49997 13.75C6.49997 13.4513 6.63091 13.1832 6.83851 13H2.49999C2.2681 13 2.06664 12.8406 2.01336 12.6149C1.96009 12.3892 2.06897 12.1565 2.27638 12.0528C2.96708 11.7074 2.99999 11.0563 2.99999 10.25V6.79999C2.99999 4.41537 4.85481 2.46396 7.20042 2.3098C6.73867 2.17908 6.40036 1.75448 6.40036 1.25086C6.40036 0.643104 6.89304 0.150421 7.5008 0.150421C8.10855 0.150421 8.60124 0.643104 8.60124 1.25086ZM7.49999 3.29999C5.56699 3.29999 3.99999 4.86699 3.99999 6.79999V10.25L4.00002 10.3009C4.0005 10.7463 4.00121 11.4084 3.69929 12H11.3007C10.9988 11.4084 10.9995 10.7463 11 10.3009L11 10.25V6.79999C11 4.86699 9.43299 3.29999 7.49999 3.29999Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/blending_mode_icon.rs b/packages/icons/dioxus/src/blending_mode_icon.rs new file mode 100644 index 00000000..ec51c7a6 --- /dev/null +++ b/packages/icons/dioxus/src/blending_mode_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BlendingModeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BlendingModeIcon(props: BlendingModeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3 9C3 6.5 4.5 4.25 7.5 1.5C10.5 4.25 12 6.5 12 9C12 11.4853 9.98528 13.5 7.5 13.5C5.01472 13.5 3 11.4853 3 9ZM10.9524 8.30307C9.67347 7.82121 8.2879 8.46208 6.98956 9.06259C5.9327 9.55142 4.93365 10.0135 4.09695 9.82153C4.03357 9.55804 4 9.28294 4 9C4 7.11203 5.02686 5.27195 7.5 2.87357C9.66837 4.97639 10.725 6.65004 10.9524 8.30307Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/bookmark_filled_icon.rs b/packages/icons/dioxus/src/bookmark_filled_icon.rs new file mode 100644 index 00000000..00d25bac --- /dev/null +++ b/packages/icons/dioxus/src/bookmark_filled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BookmarkFilledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BookmarkFilledIcon(props: BookmarkFilledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.5 2C3.22386 2 3 2.22386 3 2.5V13.5C3 13.6818 3.09864 13.8492 3.25762 13.9373C3.41659 14.0254 3.61087 14.0203 3.765 13.924L7.5 11.5896L11.235 13.924C11.3891 14.0203 11.5834 14.0254 11.7424 13.9373C11.9014 13.8492 12 13.6818 12 13.5V2.5C12 2.22386 11.7761 2 11.5 2H3.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/bookmark_icon.rs b/packages/icons/dioxus/src/bookmark_icon.rs new file mode 100644 index 00000000..0da0ec0c --- /dev/null +++ b/packages/icons/dioxus/src/bookmark_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BookmarkIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BookmarkIcon(props: BookmarkIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3 2.5C3 2.22386 3.22386 2 3.5 2H11.5C11.7761 2 12 2.22386 12 2.5V13.5C12 13.6818 11.9014 13.8492 11.7424 13.9373C11.5834 14.0254 11.3891 14.0203 11.235 13.924L7.5 11.5896L3.765 13.924C3.61087 14.0203 3.41659 14.0254 3.25762 13.9373C3.09864 13.8492 3 13.6818 3 13.5V2.5ZM4 3V12.5979L6.97 10.7416C7.29427 10.539 7.70573 10.539 8.03 10.7416L11 12.5979V3H4Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_all_icon.rs b/packages/icons/dioxus/src/border_all_icon.rs new file mode 100644 index 00000000..32c0197a --- /dev/null +++ b/packages/icons/dioxus/src/border_all_icon.rs @@ -0,0 +1,102 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderAllIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderAllIcon(props: BorderAllIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25H14C14.4142 0.25 14.75 0.585786 14.75 1V14C14.75 14.4142 14.4142 14.75 14 14.75H1C0.585786 14.75 0.25 14.4142 0.25 14V1ZM1.75 1.75V13.25H13.25V1.75H1.75Z", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "5", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "3", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "5", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "3", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "9", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "11", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "9", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "11", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_bottom_icon.rs b/packages/icons/dioxus/src/border_bottom_icon.rs new file mode 100644 index 00000000..3135a8b8 --- /dev/null +++ b/packages/icons/dioxus/src/border_bottom_icon.rs @@ -0,0 +1,238 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderBottomIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderBottomIcon(props: BorderBottomIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 13.25L14 13.25V14.75L1 14.75V13.25Z", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "5", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "5", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "3", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "3", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "5", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "5", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "3", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "3", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "9", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "9", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "11", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "11", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "9", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "9", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "11", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "11", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "5", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "3", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "9", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "11", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_dashed_icon.rs b/packages/icons/dioxus/src/border_dashed_icon.rs new file mode 100644 index 00000000..96286ca1 --- /dev/null +++ b/packages/icons/dioxus/src/border_dashed_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderDashedIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderDashedIcon(props: BorderDashedIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0 7.5C0 7.22386 0.223858 7 0.5 7H3C3.27614 7 3.5 7.22386 3.5 7.5C3.5 7.77614 3.27614 8 3 8H0.5C0.223858 8 0 7.77614 0 7.5ZM5.75 7.5C5.75 7.22386 5.97386 7 6.25 7H8.75C9.02614 7 9.25 7.22386 9.25 7.5C9.25 7.77614 9.02614 8 8.75 8H6.25C5.97386 8 5.75 7.77614 5.75 7.5ZM12 7C11.7239 7 11.5 7.22386 11.5 7.5C11.5 7.77614 11.7239 8 12 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_dotted_icon.rs b/packages/icons/dioxus/src/border_dotted_icon.rs new file mode 100644 index 00000000..4e5ff8b2 --- /dev/null +++ b/packages/icons/dioxus/src/border_dotted_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderDottedIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderDottedIcon(props: BorderDottedIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.5 6.625C1.01675 6.625 0.625 7.01675 0.625 7.5C0.625 7.98325 1.01675 8.375 1.5 8.375C1.98325 8.375 2.375 7.98325 2.375 7.5C2.375 7.01675 1.98325 6.625 1.5 6.625ZM5.5 6.625C5.01675 6.625 4.625 7.01675 4.625 7.5C4.625 7.98325 5.01675 8.375 5.5 8.375C5.98325 8.375 6.375 7.98325 6.375 7.5C6.375 7.01675 5.98325 6.625 5.5 6.625ZM9.5 6.625C9.01675 6.625 8.625 7.01675 8.625 7.5C8.625 7.98325 9.01675 8.375 9.5 8.375C9.98325 8.375 10.375 7.98325 10.375 7.5C10.375 7.01675 9.98325 6.625 9.5 6.625ZM12.625 7.5C12.625 7.01675 13.0168 6.625 13.5 6.625C13.9832 6.625 14.375 7.01675 14.375 7.5C14.375 7.98325 13.9832 8.375 13.5 8.375C13.0168 8.375 12.625 7.98325 12.625 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_left_icon.rs b/packages/icons/dioxus/src/border_left_icon.rs new file mode 100644 index 00000000..5c790739 --- /dev/null +++ b/packages/icons/dioxus/src/border_left_icon.rs @@ -0,0 +1,264 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderLeftIcon(props: BorderLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.75 1L1.75 14L0.249999 14L0.25 1L1.75 1Z", + "fill": "{props.color}", + } + rect { + "x": "10", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 10 7)", + "fill": "{props.color}", + } + rect { + "x": "10", + "y": "13", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 10 13)", + "fill": "{props.color}", + } + rect { + "x": "12", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 12 7)", + "fill": "{props.color}", + } + rect { + "x": "12", + "y": "13", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 12 13)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 8 7)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 14 7)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "13", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 8 13)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "13", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 14 13)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "5", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 8 5)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "5", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 14 5)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "3", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 8 3)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "3", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 14 3)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "9", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 8 9)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "9", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 14 9)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "11", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 8 11)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "11", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 14 11)", + "fill": "{props.color}", + } + rect { + "x": "6", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 6 7)", + "fill": "{props.color}", + } + rect { + "x": "6", + "y": "13", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 6 13)", + "fill": "{props.color}", + } + rect { + "x": "4", + "y": "7", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 4 7)", + "fill": "{props.color}", + } + rect { + "x": "4", + "y": "13", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 4 13)", + "fill": "{props.color}", + } + rect { + "x": "10", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 10 1)", + "fill": "{props.color}", + } + rect { + "x": "12", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 12 1)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 8 1)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 14 1)", + "fill": "{props.color}", + } + rect { + "x": "6", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 6 1)", + "fill": "{props.color}", + } + rect { + "x": "4", + "y": "1", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(90 4 1)", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_none_icon.rs b/packages/icons/dioxus/src/border_none_icon.rs new file mode 100644 index 00000000..7f5f1c43 --- /dev/null +++ b/packages/icons/dioxus/src/border_none_icon.rs @@ -0,0 +1,288 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderNoneIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderNoneIcon(props: BorderNoneIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + rect { + "x": "7", + "y": "5.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "5.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "3.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "3.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "13.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "1.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "13.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "1.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "5", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "5", + "y": "13.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "5", + "y": "1.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "3", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "3", + "y": "13.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "3", + "y": "1.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "9", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "9", + "y": "13.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "9", + "y": "1.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "11", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "11", + "y": "13.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "11", + "y": "1.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "9.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "9.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "11.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "11.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "5.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "3.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "13.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "1.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "9.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "11.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_right_icon.rs b/packages/icons/dioxus/src/border_right_icon.rs new file mode 100644 index 00000000..8dfd0649 --- /dev/null +++ b/packages/icons/dioxus/src/border_right_icon.rs @@ -0,0 +1,212 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderRightIcon(props: BorderRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.25 1L13.25 14L14.75 14L14.75 1L13.25 1Z", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 5 7)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 5 13)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 3 7)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 3 13)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 7 7)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 1 7)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 7 13)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 1 13)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 7 5)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 1 5)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 7 3)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 1 3)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 7 9)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 1 9)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 7 11)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 1 11)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 9 7)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 9 13)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 11 7)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 11 13)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 5 1)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 3 1)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 7 1)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 1 1)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 9 1)", + "fill": "{props.color}", + } + rect { + "width": "1", + "height": "1", + "rx": ".5", + "transform": "matrix(0 1 1 0 11 1)", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_solid_icon.rs b/packages/icons/dioxus/src/border_solid_icon.rs new file mode 100644 index 00000000..cd019b06 --- /dev/null +++ b/packages/icons/dioxus/src/border_solid_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderSolidIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderSolidIcon(props: BorderSolidIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.25 7.5C1.25 7.22386 1.47386 7 1.75 7H13.25C13.5261 7 13.75 7.22386 13.75 7.5C13.75 7.77614 13.5261 8 13.25 8H1.75C1.47386 8 1.25 7.77614 1.25 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_split_icon.rs b/packages/icons/dioxus/src/border_split_icon.rs new file mode 100644 index 00000000..91ea02d2 --- /dev/null +++ b/packages/icons/dioxus/src/border_split_icon.rs @@ -0,0 +1,134 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderSplitIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderSplitIcon(props: BorderSplitIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + rect { + "x": "7", + "y": "5.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "3.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "13.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "1.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "13", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "5", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "3", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "9", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "11", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "9.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "7", + "y": "11.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + rect { + "x": "1", + "y": "7.025", + "width": "1", + "height": "1", + "rx": ".5", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 1.49994C1 1.2238 1.22386 0.999939 1.5 0.999939H6V1.99994H2V5.99994H1V1.49994ZM13 1.99994H9V0.999939H13.5C13.7761 0.999939 14 1.2238 14 1.49994V5.99994H13V1.99994ZM1 13.4999V8.99994H2V12.9999H6V13.9999H1.5C1.22386 13.9999 1 13.7761 1 13.4999ZM13 12.9999V8.99994H14V13.4999C14 13.7761 13.7761 13.9999 13.5 13.9999H9.5V12.9999H13Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_style_icon.rs b/packages/icons/dioxus/src/border_style_icon.rs new file mode 100644 index 00000000..f50884d6 --- /dev/null +++ b/packages/icons/dioxus/src/border_style_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderStyleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderStyleIcon(props: BorderStyleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H3.5C3.77614 7 4 7.22386 4 7.5C4 7.77614 3.77614 8 3.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11C1.77614 11 2 11.2239 2 11.5C2 11.7761 1.77614 12 1.5 12C1.22386 12 1 11.7761 1 11.5ZM3 11.5C3 11.2239 3.22386 11 3.5 11C3.77614 11 4 11.2239 4 11.5C4 11.7761 3.77614 12 3.5 12C3.22386 12 3 11.7761 3 11.5ZM5.5 11C5.22386 11 5 11.2239 5 11.5C5 11.7761 5.22386 12 5.5 12C5.77614 12 6 11.7761 6 11.5C6 11.2239 5.77614 11 5.5 11ZM7 11.5C7 11.2239 7.22386 11 7.5 11C7.77614 11 8 11.2239 8 11.5C8 11.7761 7.77614 12 7.5 12C7.22386 12 7 11.7761 7 11.5ZM9.5 11C9.22386 11 9 11.2239 9 11.5C9 11.7761 9.22386 12 9.5 12C9.77614 12 10 11.7761 10 11.5C10 11.2239 9.77614 11 9.5 11ZM11 11.5C11 11.2239 11.2239 11 11.5 11C11.7761 11 12 11.2239 12 11.5C12 11.7761 11.7761 12 11.5 12C11.2239 12 11 11.7761 11 11.5ZM13.5 11C13.2239 11 13 11.2239 13 11.5C13 11.7761 13.2239 12 13.5 12C13.7761 12 14 11.7761 14 11.5C14 11.2239 13.7761 11 13.5 11ZM6.5 7C6.22386 7 6 7.22386 6 7.5C6 7.77614 6.22386 8 6.5 8H8.5C8.77614 8 9 7.77614 9 7.5C9 7.22386 8.77614 7 8.5 7H6.5ZM11 7.5C11 7.22386 11.2239 7 11.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H11.5C11.2239 8 11 7.77614 11 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_top_icon.rs b/packages/icons/dioxus/src/border_top_icon.rs new file mode 100644 index 00000000..165fb127 --- /dev/null +++ b/packages/icons/dioxus/src/border_top_icon.rs @@ -0,0 +1,264 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderTopIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderTopIcon(props: BorderTopIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14 1.75L1 1.75L1 0.249999L14 0.25L14 1.75Z", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "10", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 8 10)", + "fill": "{props.color}", + } + rect { + "x": "2", + "y": "10", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 2 10)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "12", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 8 12)", + "fill": "{props.color}", + } + rect { + "x": "2", + "y": "12", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 2 12)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "8", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 8 8)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "14", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 8 14)", + "fill": "{props.color}", + } + rect { + "x": "2", + "y": "8", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 2 8)", + "fill": "{props.color}", + } + rect { + "x": "2", + "y": "14", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 2 14)", + "fill": "{props.color}", + } + rect { + "x": "10", + "y": "8", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 10 8)", + "fill": "{props.color}", + } + rect { + "x": "10", + "y": "14", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 10 14)", + "fill": "{props.color}", + } + rect { + "x": "12", + "y": "8", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 12 8)", + "fill": "{props.color}", + } + rect { + "x": "12", + "y": "14", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 12 14)", + "fill": "{props.color}", + } + rect { + "x": "6", + "y": "8", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 6 8)", + "fill": "{props.color}", + } + rect { + "x": "6", + "y": "14", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 6 14)", + "fill": "{props.color}", + } + rect { + "x": "4", + "y": "8", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 4 8)", + "fill": "{props.color}", + } + rect { + "x": "4", + "y": "14", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 4 14)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "6", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 8 6)", + "fill": "{props.color}", + } + rect { + "x": "2", + "y": "6", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 2 6)", + "fill": "{props.color}", + } + rect { + "x": "8", + "y": "4", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 8 4)", + "fill": "{props.color}", + } + rect { + "x": "2", + "y": "4", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 2 4)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "10", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 14 10)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "12", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 14 12)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "8", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 14 8)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "14", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 14 14)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "6", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 14 6)", + "fill": "{props.color}", + } + rect { + "x": "14", + "y": "4", + "width": "1", + "height": "1", + "rx": ".5", + "transform": "rotate(-180 14 4)", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/border_width_icon.rs b/packages/icons/dioxus/src/border_width_icon.rs new file mode 100644 index 00000000..90bf3cc6 --- /dev/null +++ b/packages/icons/dioxus/src/border_width_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BorderWidthIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BorderWidthIcon(props: BorderWidthIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 3H14V4H1V3ZM1 6H14V8H1V6ZM14 10.25H1V12.75H14V10.25Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/box_icon.rs b/packages/icons/dioxus/src/box_icon.rs new file mode 100644 index 00000000..0338ad40 --- /dev/null +++ b/packages/icons/dioxus/src/box_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BoxIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BoxIcon(props: BoxIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.5 2H2.5C2.22386 2 2 2.22386 2 2.5V12.5C2 12.7761 2.22386 13 2.5 13H12.5C12.7761 13 13 12.7761 13 12.5V2.5C13 2.22386 12.7761 2 12.5 2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/box_model_icon.rs b/packages/icons/dioxus/src/box_model_icon.rs new file mode 100644 index 00000000..f18d4c1b --- /dev/null +++ b/packages/icons/dioxus/src/box_model_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct BoxModelIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn BoxModelIcon(props: BoxModelIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.99998 0.999976C1.44769 0.999976 0.999976 1.44769 0.999976 1.99998V13C0.999976 13.5523 1.44769 14 1.99998 14H13C13.5523 14 14 13.5523 14 13V1.99998C14 1.44769 13.5523 0.999976 13 0.999976H1.99998ZM1.99998 1.99998L13 1.99998V13H1.99998V1.99998ZM4.49996 3.99996C4.22382 3.99996 3.99996 4.22382 3.99996 4.49996V10.5C3.99996 10.7761 4.22382 11 4.49996 11H10.5C10.7761 11 11 10.7761 11 10.5V4.49996C11 4.22382 10.7761 3.99996 10.5 3.99996H4.49996ZM4.99996 9.99996V4.99996H9.99996V9.99996H4.99996Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/button_icon.rs b/packages/icons/dioxus/src/button_icon.rs new file mode 100644 index 00000000..43104d7b --- /dev/null +++ b/packages/icons/dioxus/src/button_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ButtonIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ButtonIcon(props: ButtonIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 5H13C13.5523 5 14 5.44772 14 6V9C14 9.55228 13.5523 10 13 10H2C1.44772 10 1 9.55228 1 9V6C1 5.44772 1.44772 5 2 5ZM0 6C0 4.89543 0.895431 4 2 4H13C14.1046 4 15 4.89543 15 6V9C15 10.1046 14.1046 11 13 11H2C0.89543 11 0 10.1046 0 9V6ZM4.5 6.75C4.08579 6.75 3.75 7.08579 3.75 7.5C3.75 7.91421 4.08579 8.25 4.5 8.25C4.91421 8.25 5.25 7.91421 5.25 7.5C5.25 7.08579 4.91421 6.75 4.5 6.75ZM6.75 7.5C6.75 7.08579 7.08579 6.75 7.5 6.75C7.91421 6.75 8.25 7.08579 8.25 7.5C8.25 7.91421 7.91421 8.25 7.5 8.25C7.08579 8.25 6.75 7.91421 6.75 7.5ZM10.5 6.75C10.0858 6.75 9.75 7.08579 9.75 7.5C9.75 7.91421 10.0858 8.25 10.5 8.25C10.9142 8.25 11.25 7.91421 11.25 7.5C11.25 7.08579 10.9142 6.75 10.5 6.75Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/calendar_icon.rs b/packages/icons/dioxus/src/calendar_icon.rs new file mode 100644 index 00000000..0823b470 --- /dev/null +++ b/packages/icons/dioxus/src/calendar_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CalendarIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CalendarIcon(props: CalendarIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.5 1C4.77614 1 5 1.22386 5 1.5V2H10V1.5C10 1.22386 10.2239 1 10.5 1C10.7761 1 11 1.22386 11 1.5V2H12.5C13.3284 2 14 2.67157 14 3.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V3.5C1 2.67157 1.67157 2 2.5 2H4V1.5C4 1.22386 4.22386 1 4.5 1ZM10 3V3.5C10 3.77614 10.2239 4 10.5 4C10.7761 4 11 3.77614 11 3.5V3H12.5C12.7761 3 13 3.22386 13 3.5V5H2V3.5C2 3.22386 2.22386 3 2.5 3H4V3.5C4 3.77614 4.22386 4 4.5 4C4.77614 4 5 3.77614 5 3.5V3H10ZM2 6V12.5C2 12.7761 2.22386 13 2.5 13H12.5C12.7761 13 13 12.7761 13 12.5V6H2ZM7 7.5C7 7.22386 7.22386 7 7.5 7C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8C7.22386 8 7 7.77614 7 7.5ZM9.5 7C9.22386 7 9 7.22386 9 7.5C9 7.77614 9.22386 8 9.5 8C9.77614 8 10 7.77614 10 7.5C10 7.22386 9.77614 7 9.5 7ZM11 7.5C11 7.22386 11.2239 7 11.5 7C11.7761 7 12 7.22386 12 7.5C12 7.77614 11.7761 8 11.5 8C11.2239 8 11 7.77614 11 7.5ZM11.5 9C11.2239 9 11 9.22386 11 9.5C11 9.77614 11.2239 10 11.5 10C11.7761 10 12 9.77614 12 9.5C12 9.22386 11.7761 9 11.5 9ZM9 9.5C9 9.22386 9.22386 9 9.5 9C9.77614 9 10 9.22386 10 9.5C10 9.77614 9.77614 10 9.5 10C9.22386 10 9 9.77614 9 9.5ZM7.5 9C7.22386 9 7 9.22386 7 9.5C7 9.77614 7.22386 10 7.5 10C7.77614 10 8 9.77614 8 9.5C8 9.22386 7.77614 9 7.5 9ZM5 9.5C5 9.22386 5.22386 9 5.5 9C5.77614 9 6 9.22386 6 9.5C6 9.77614 5.77614 10 5.5 10C5.22386 10 5 9.77614 5 9.5ZM3.5 9C3.22386 9 3 9.22386 3 9.5C3 9.77614 3.22386 10 3.5 10C3.77614 10 4 9.77614 4 9.5C4 9.22386 3.77614 9 3.5 9ZM3 11.5C3 11.2239 3.22386 11 3.5 11C3.77614 11 4 11.2239 4 11.5C4 11.7761 3.77614 12 3.5 12C3.22386 12 3 11.7761 3 11.5ZM5.5 11C5.22386 11 5 11.2239 5 11.5C5 11.7761 5.22386 12 5.5 12C5.77614 12 6 11.7761 6 11.5C6 11.2239 5.77614 11 5.5 11ZM7 11.5C7 11.2239 7.22386 11 7.5 11C7.77614 11 8 11.2239 8 11.5C8 11.7761 7.77614 12 7.5 12C7.22386 12 7 11.7761 7 11.5ZM9.5 11C9.22386 11 9 11.2239 9 11.5C9 11.7761 9.22386 12 9.5 12C9.77614 12 10 11.7761 10 11.5C10 11.2239 9.77614 11 9.5 11Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/camera_icon.rs b/packages/icons/dioxus/src/camera_icon.rs new file mode 100644 index 00000000..1b0a6061 --- /dev/null +++ b/packages/icons/dioxus/src/camera_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CameraIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CameraIcon(props: CameraIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 3C1.44772 3 1 3.44772 1 4V11C1 11.5523 1.44772 12 2 12H13C13.5523 12 14 11.5523 14 11V4C14 3.44772 13.5523 3 13 3H2ZM0 4C0 2.89543 0.895431 2 2 2H13C14.1046 2 15 2.89543 15 4V11C15 12.1046 14.1046 13 13 13H2C0.895431 13 0 12.1046 0 11V4ZM2 4.25C2 4.11193 2.11193 4 2.25 4H4.75C4.88807 4 5 4.11193 5 4.25V5.75454C5 5.89261 4.88807 6.00454 4.75 6.00454H2.25C2.11193 6.00454 2 5.89261 2 5.75454V4.25ZM12.101 7.58421C12.101 9.02073 10.9365 10.1853 9.49998 10.1853C8.06346 10.1853 6.89893 9.02073 6.89893 7.58421C6.89893 6.14769 8.06346 4.98315 9.49998 4.98315C10.9365 4.98315 12.101 6.14769 12.101 7.58421ZM13.101 7.58421C13.101 9.57302 11.4888 11.1853 9.49998 11.1853C7.51117 11.1853 5.89893 9.57302 5.89893 7.58421C5.89893 5.5954 7.51117 3.98315 9.49998 3.98315C11.4888 3.98315 13.101 5.5954 13.101 7.58421Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/card_stack_icon.rs b/packages/icons/dioxus/src/card_stack_icon.rs new file mode 100644 index 00000000..1c7a0769 --- /dev/null +++ b/packages/icons/dioxus/src/card_stack_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CardStackIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CardStackIcon(props: CardStackIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 3.5C2 3.22386 2.22386 3 2.5 3H12.5C12.7761 3 13 3.22386 13 3.5V9.5C13 9.77614 12.7761 10 12.5 10H2.5C2.22386 10 2 9.77614 2 9.5V3.5ZM2 10.9146C1.4174 10.7087 1 10.1531 1 9.5V3.5C1 2.67157 1.67157 2 2.5 2H12.5C13.3284 2 14 2.67157 14 3.5V9.5C14 10.1531 13.5826 10.7087 13 10.9146V11.5C13 12.3284 12.3284 13 11.5 13H3.5C2.67157 13 2 12.3284 2 11.5V10.9146ZM12 11V11.5C12 11.7761 11.7761 12 11.5 12H3.5C3.22386 12 3 11.7761 3 11.5V11H12Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/card_stack_minus_icon.rs b/packages/icons/dioxus/src/card_stack_minus_icon.rs new file mode 100644 index 00000000..2b0e802f --- /dev/null +++ b/packages/icons/dioxus/src/card_stack_minus_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CardStackMinusIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CardStackMinusIcon(props: CardStackMinusIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.5 3C2.22386 3 2 3.22386 2 3.5V9.5C2 9.77614 2.22386 10 2.5 10H12.5C12.7761 10 13 9.77614 13 9.5V3.5C13 3.22386 12.7761 3 12.5 3H2.5ZM1 9.5C1 10.1531 1.4174 10.7087 2 10.9146V11.5C2 12.3284 2.67157 13 3.5 13H11.5C12.3284 13 13 12.3284 13 11.5V10.9146C13.5826 10.7087 14 10.1531 14 9.5V3.5C14 2.67157 13.3284 2 12.5 2H2.5C1.67157 2 1 2.67157 1 3.5V9.5ZM12 11.5V11H3V11.5C3 11.7761 3.22386 12 3.5 12H11.5C11.7761 12 12 11.7761 12 11.5ZM5.5 6C5.22386 6 5 6.22386 5 6.5C5 6.77614 5.22386 7 5.5 7H9.5C9.77614 7 10 6.77614 10 6.5C10 6.22386 9.77614 6 9.5 6H5.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/card_stack_plus_icon.rs b/packages/icons/dioxus/src/card_stack_plus_icon.rs new file mode 100644 index 00000000..f3ef3d7f --- /dev/null +++ b/packages/icons/dioxus/src/card_stack_plus_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CardStackPlusIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CardStackPlusIcon(props: CardStackPlusIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 3.5C2 3.22386 2.22386 3 2.5 3H12.5C12.7761 3 13 3.22386 13 3.5V9.5C13 9.77614 12.7761 10 12.5 10H2.5C2.22386 10 2 9.77614 2 9.5V3.5ZM2 10.9146C1.4174 10.7087 1 10.1531 1 9.5V3.5C1 2.67157 1.67157 2 2.5 2H12.5C13.3284 2 14 2.67157 14 3.5V9.5C14 10.1531 13.5826 10.7087 13 10.9146V11.5C13 12.3284 12.3284 13 11.5 13H3.5C2.67157 13 2 12.3284 2 11.5V10.9146ZM12 11V11.5C12 11.7761 11.7761 12 11.5 12H3.5C3.22386 12 3 11.7761 3 11.5V11H12ZM5 6.5C5 6.22386 5.22386 6 5.5 6H7V4.5C7 4.22386 7.22386 4 7.5 4C7.77614 4 8 4.22386 8 4.5V6H9.5C9.77614 6 10 6.22386 10 6.5C10 6.77614 9.77614 7 9.5 7H8V8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5V7H5.5C5.22386 7 5 6.77614 5 6.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/caret_down_icon.rs b/packages/icons/dioxus/src/caret_down_icon.rs new file mode 100644 index 00000000..23647a36 --- /dev/null +++ b/packages/icons/dioxus/src/caret_down_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CaretDownIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CaretDownIcon(props: CaretDownIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/caret_left_icon.rs b/packages/icons/dioxus/src/caret_left_icon.rs new file mode 100644 index 00000000..fa1d5b25 --- /dev/null +++ b/packages/icons/dioxus/src/caret_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CaretLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CaretLeftIcon(props: CaretLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.81809 4.18179C8.99383 4.35753 8.99383 4.64245 8.81809 4.81819L6.13629 7.49999L8.81809 10.1818C8.99383 10.3575 8.99383 10.6424 8.81809 10.8182C8.64236 10.9939 8.35743 10.9939 8.1817 10.8182L5.1817 7.81819C5.09731 7.73379 5.0499 7.61933 5.0499 7.49999C5.0499 7.38064 5.09731 7.26618 5.1817 7.18179L8.1817 4.18179C8.35743 4.00605 8.64236 4.00605 8.81809 4.18179Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/caret_right_icon.rs b/packages/icons/dioxus/src/caret_right_icon.rs new file mode 100644 index 00000000..18a8845a --- /dev/null +++ b/packages/icons/dioxus/src/caret_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CaretRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CaretRightIcon(props: CaretRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.18194 4.18185C6.35767 4.00611 6.6426 4.00611 6.81833 4.18185L9.81833 7.18185C9.90272 7.26624 9.95013 7.3807 9.95013 7.50005C9.95013 7.6194 9.90272 7.73386 9.81833 7.81825L6.81833 10.8182C6.6426 10.994 6.35767 10.994 6.18194 10.8182C6.0062 10.6425 6.0062 10.3576 6.18194 10.1819L8.86374 7.50005L6.18194 4.81825C6.0062 4.64251 6.0062 4.35759 6.18194 4.18185Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/caret_sort_icon.rs b/packages/icons/dioxus/src/caret_sort_icon.rs new file mode 100644 index 00000000..53ebb864 --- /dev/null +++ b/packages/icons/dioxus/src/caret_sort_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CaretSortIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CaretSortIcon(props: CaretSortIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/caret_up_icon.rs b/packages/icons/dioxus/src/caret_up_icon.rs new file mode 100644 index 00000000..0b34ffb7 --- /dev/null +++ b/packages/icons/dioxus/src/caret_up_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CaretUpIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CaretUpIcon(props: CaretUpIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.18179 8.81819C4.00605 8.64245 4.00605 8.35753 4.18179 8.18179L7.18179 5.18179C7.26618 5.0974 7.38064 5.04999 7.49999 5.04999C7.61933 5.04999 7.73379 5.0974 7.81819 5.18179L10.8182 8.18179C10.9939 8.35753 10.9939 8.64245 10.8182 8.81819C10.6424 8.99392 10.3575 8.99392 10.1818 8.81819L7.49999 6.13638L4.81819 8.81819C4.64245 8.99392 4.35753 8.99392 4.18179 8.81819Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/chat_bubble_icon.rs b/packages/icons/dioxus/src/chat_bubble_icon.rs new file mode 100644 index 00000000..e1e6302d --- /dev/null +++ b/packages/icons/dioxus/src/chat_bubble_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ChatBubbleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ChatBubbleIcon(props: ChatBubbleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/check_circled_icon.rs b/packages/icons/dioxus/src/check_circled_icon.rs new file mode 100644 index 00000000..9efdddad --- /dev/null +++ b/packages/icons/dioxus/src/check_circled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CheckCircledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CheckCircledIcon(props: CheckCircledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/check_icon.rs b/packages/icons/dioxus/src/check_icon.rs new file mode 100644 index 00000000..66f7a5c6 --- /dev/null +++ b/packages/icons/dioxus/src/check_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CheckIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CheckIcon(props: CheckIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/checkbox_icon.rs b/packages/icons/dioxus/src/checkbox_icon.rs new file mode 100644 index 00000000..3e92f42e --- /dev/null +++ b/packages/icons/dioxus/src/checkbox_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CheckboxIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CheckboxIcon(props: CheckboxIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3 3H12V12H3L3 3ZM2 3C2 2.44771 2.44772 2 3 2H12C12.5523 2 13 2.44772 13 3V12C13 12.5523 12.5523 13 12 13H3C2.44771 13 2 12.5523 2 12V3ZM10.3498 5.51105C10.506 5.28337 10.4481 4.97212 10.2204 4.81587C9.99275 4.65961 9.6815 4.71751 9.52525 4.94519L6.64048 9.14857L5.19733 7.40889C5.02102 7.19635 4.7058 7.16699 4.49327 7.34329C4.28073 7.5196 4.25137 7.83482 4.42767 8.04735L6.2934 10.2964C6.39348 10.4171 6.54437 10.4838 6.70097 10.4767C6.85757 10.4695 7.00177 10.3894 7.09047 10.2601L10.3498 5.51105Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/chevron_down_icon.rs b/packages/icons/dioxus/src/chevron_down_icon.rs new file mode 100644 index 00000000..368d3d52 --- /dev/null +++ b/packages/icons/dioxus/src/chevron_down_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ChevronDownIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ChevronDownIcon(props: ChevronDownIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/chevron_left_icon.rs b/packages/icons/dioxus/src/chevron_left_icon.rs new file mode 100644 index 00000000..8c3e3788 --- /dev/null +++ b/packages/icons/dioxus/src/chevron_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ChevronLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ChevronLeftIcon(props: ChevronLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/chevron_right_icon.rs b/packages/icons/dioxus/src/chevron_right_icon.rs new file mode 100644 index 00000000..83470480 --- /dev/null +++ b/packages/icons/dioxus/src/chevron_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ChevronRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ChevronRightIcon(props: ChevronRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/chevron_up_icon.rs b/packages/icons/dioxus/src/chevron_up_icon.rs new file mode 100644 index 00000000..ce7771be --- /dev/null +++ b/packages/icons/dioxus/src/chevron_up_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ChevronUpIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ChevronUpIcon(props: ChevronUpIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/circle_backslash_icon.rs b/packages/icons/dioxus/src/circle_backslash_icon.rs new file mode 100644 index 00000000..1d7e712f --- /dev/null +++ b/packages/icons/dioxus/src/circle_backslash_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CircleBackslashIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CircleBackslashIcon(props: CircleBackslashIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.877075C3.84222 0.877075 0.877075 3.84222 0.877075 7.49991C0.877075 11.1576 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1576 14.1227 7.49991C14.1227 3.84222 11.1576 0.877075 7.49991 0.877075ZM3.85768 3.15057C4.84311 2.32448 6.11342 1.82708 7.49991 1.82708C10.6329 1.82708 13.1727 4.36689 13.1727 7.49991C13.1727 8.88638 12.6753 10.1567 11.8492 11.1421L3.85768 3.15057ZM3.15057 3.85768C2.32448 4.84311 1.82708 6.11342 1.82708 7.49991C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C8.88638 13.1727 10.1567 12.6753 11.1421 11.8492L3.15057 3.85768Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/circle_icon.rs b/packages/icons/dioxus/src/circle_icon.rs new file mode 100644 index 00000000..e8979ea9 --- /dev/null +++ b/packages/icons/dioxus/src/circle_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CircleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CircleIcon(props: CircleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877075 7.49991C0.877075 3.84222 3.84222 0.877075 7.49991 0.877075C11.1576 0.877075 14.1227 3.84222 14.1227 7.49991C14.1227 11.1576 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1576 0.877075 7.49991ZM7.49991 1.82708C4.36689 1.82708 1.82708 4.36689 1.82708 7.49991C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49991C13.1727 4.36689 10.6329 1.82708 7.49991 1.82708Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/clipboard_copy_icon.rs b/packages/icons/dioxus/src/clipboard_copy_icon.rs new file mode 100644 index 00000000..441dbb04 --- /dev/null +++ b/packages/icons/dioxus/src/clipboard_copy_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ClipboardCopyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ClipboardCopyIcon(props: ClipboardCopyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H7V13H3.5C3.22386 13 3 12.7761 3 12.5V2.5C3 2.22386 3.22386 2 3.5 2H4V2.25C4 2.66421 4.33579 3 4.75 3H10.25C10.6642 3 11 2.66421 11 2.25V2H11.5C11.7761 2 12 2.22386 12 2.5V7H13V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM9 8.5C9 8.77614 8.77614 9 8.5 9C8.22386 9 8 8.77614 8 8.5C8 8.22386 8.22386 8 8.5 8C8.77614 8 9 8.22386 9 8.5ZM10.5 9C10.7761 9 11 8.77614 11 8.5C11 8.22386 10.7761 8 10.5 8C10.2239 8 10 8.22386 10 8.5C10 8.77614 10.2239 9 10.5 9ZM13 8.5C13 8.77614 12.7761 9 12.5 9C12.2239 9 12 8.77614 12 8.5C12 8.22386 12.2239 8 12.5 8C12.7761 8 13 8.22386 13 8.5ZM14.5 9C14.7761 9 15 8.77614 15 8.5C15 8.22386 14.7761 8 14.5 8C14.2239 8 14 8.22386 14 8.5C14 8.77614 14.2239 9 14.5 9ZM15 10.5C15 10.7761 14.7761 11 14.5 11C14.2239 11 14 10.7761 14 10.5C14 10.2239 14.2239 10 14.5 10C14.7761 10 15 10.2239 15 10.5ZM14.5 13C14.7761 13 15 12.7761 15 12.5C15 12.2239 14.7761 12 14.5 12C14.2239 12 14 12.2239 14 12.5C14 12.7761 14.2239 13 14.5 13ZM14.5 15C14.7761 15 15 14.7761 15 14.5C15 14.2239 14.7761 14 14.5 14C14.2239 14 14 14.2239 14 14.5C14 14.7761 14.2239 15 14.5 15ZM8.5 11C8.77614 11 9 10.7761 9 10.5C9 10.2239 8.77614 10 8.5 10C8.22386 10 8 10.2239 8 10.5C8 10.7761 8.22386 11 8.5 11ZM9 12.5C9 12.7761 8.77614 13 8.5 13C8.22386 13 8 12.7761 8 12.5C8 12.2239 8.22386 12 8.5 12C8.77614 12 9 12.2239 9 12.5ZM8.5 15C8.77614 15 9 14.7761 9 14.5C9 14.2239 8.77614 14 8.5 14C8.22386 14 8 14.2239 8 14.5C8 14.7761 8.22386 15 8.5 15ZM11 14.5C11 14.7761 10.7761 15 10.5 15C10.2239 15 10 14.7761 10 14.5C10 14.2239 10.2239 14 10.5 14C10.7761 14 11 14.2239 11 14.5ZM12.5 15C12.7761 15 13 14.7761 13 14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5C12 14.7761 12.2239 15 12.5 15Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/clipboard_icon.rs b/packages/icons/dioxus/src/clipboard_icon.rs new file mode 100644 index 00000000..3c7c1411 --- /dev/null +++ b/packages/icons/dioxus/src/clipboard_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ClipboardIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ClipboardIcon(props: ClipboardIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM11 2V2.25C11 2.66421 10.6642 3 10.25 3H4.75C4.33579 3 4 2.66421 4 2.25V2H3.5C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V2.5C12 2.22386 11.7761 2 11.5 2H11Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/clock_icon.rs b/packages/icons/dioxus/src/clock_icon.rs new file mode 100644 index 00000000..cf3d2dd4 --- /dev/null +++ b/packages/icons/dioxus/src/clock_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ClockIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ClockIcon(props: ClockIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.50009 0.877014C3.84241 0.877014 0.877258 3.84216 0.877258 7.49984C0.877258 11.1575 3.8424 14.1227 7.50009 14.1227C11.1578 14.1227 14.1229 11.1575 14.1229 7.49984C14.1229 3.84216 11.1577 0.877014 7.50009 0.877014ZM1.82726 7.49984C1.82726 4.36683 4.36708 1.82701 7.50009 1.82701C10.6331 1.82701 13.1729 4.36683 13.1729 7.49984C13.1729 10.6328 10.6331 13.1727 7.50009 13.1727C4.36708 13.1727 1.82726 10.6328 1.82726 7.49984ZM8 4.50001C8 4.22387 7.77614 4.00001 7.5 4.00001C7.22386 4.00001 7 4.22387 7 4.50001V7.50001C7 7.63262 7.05268 7.7598 7.14645 7.85357L9.14645 9.85357C9.34171 10.0488 9.65829 10.0488 9.85355 9.85357C10.0488 9.65831 10.0488 9.34172 9.85355 9.14646L8 7.29291V4.50001Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/code_icon.rs b/packages/icons/dioxus/src/code_icon.rs new file mode 100644 index 00000000..b73ea4cc --- /dev/null +++ b/packages/icons/dioxus/src/code_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CodeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CodeIcon(props: CodeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.96424 2.68571C10.0668 2.42931 9.94209 2.13833 9.6857 2.03577C9.4293 1.93322 9.13832 2.05792 9.03576 2.31432L5.03576 12.3143C4.9332 12.5707 5.05791 12.8617 5.3143 12.9642C5.5707 13.0668 5.86168 12.9421 5.96424 12.6857L9.96424 2.68571ZM3.85355 5.14646C4.04882 5.34172 4.04882 5.6583 3.85355 5.85356L2.20711 7.50001L3.85355 9.14646C4.04882 9.34172 4.04882 9.6583 3.85355 9.85356C3.65829 10.0488 3.34171 10.0488 3.14645 9.85356L1.14645 7.85356C0.951184 7.6583 0.951184 7.34172 1.14645 7.14646L3.14645 5.14646C3.34171 4.9512 3.65829 4.9512 3.85355 5.14646ZM11.1464 5.14646C11.3417 4.9512 11.6583 4.9512 11.8536 5.14646L13.8536 7.14646C14.0488 7.34172 14.0488 7.6583 13.8536 7.85356L11.8536 9.85356C11.6583 10.0488 11.3417 10.0488 11.1464 9.85356C10.9512 9.6583 10.9512 9.34172 11.1464 9.14646L12.7929 7.50001L11.1464 5.85356C10.9512 5.6583 10.9512 5.34172 11.1464 5.14646Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/codesandbox_logo_icon.rs b/packages/icons/dioxus/src/codesandbox_logo_icon.rs new file mode 100644 index 00000000..2870c831 --- /dev/null +++ b/packages/icons/dioxus/src/codesandbox_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CodesandboxLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CodesandboxLogoIcon(props: CodesandboxLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.71144 0.796902C7.57741 0.734357 7.42257 0.734357 7.28855 0.796902L1.28855 3.5969C1.11251 3.67905 0.999993 3.85573 0.999993 4.04999V10.95C0.999993 11.1443 1.11251 11.3209 1.28855 11.4031L7.28855 14.2031C7.42257 14.2656 7.57741 14.2656 7.71144 14.2031L13.7114 11.4031C13.8875 11.3209 14 11.1443 14 10.95V4.04999C14 3.85573 13.8875 3.67905 13.7114 3.5969L7.71144 0.796902ZM7.49999 3.15674L5.98039 2.51091L7.49999 1.80176L9.01959 2.51091L7.49999 3.15674ZM7.69556 4.16018L10.2382 3.07958L12.2719 4.02865L7.49999 6.05671L2.72808 4.02865L4.76181 3.07958L7.30442 4.16018C7.42939 4.2133 7.57059 4.2133 7.69556 4.16018ZM7.99999 6.93078L13 4.80578V7.92966L11.0821 8.8119C10.7273 8.97509 10.5 9.32988 10.5 9.72039V11.7982L7.99999 12.9649V6.93078ZM11.5 11.3316L13 10.6316V9.03039L11.5 9.72039V11.3316ZM6.99999 6.93078V12.9649L4.50231 11.7993V9.72036C4.50231 9.32985 4.27499 8.97506 3.92022 8.81187L1.99999 7.92856V4.80578L6.99999 6.93078ZM1.99999 10.6316L3.50231 11.3326L3.50231 9.72036L1.99999 9.02929V10.6316Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/color_wheel_icon.rs b/packages/icons/dioxus/src/color_wheel_icon.rs new file mode 100644 index 00000000..6ec9f660 --- /dev/null +++ b/packages/icons/dioxus/src/color_wheel_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ColorWheelIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ColorWheelIcon(props: ColorWheelIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877075 7.49985C0.877075 3.84216 3.84222 0.877014 7.49991 0.877014C11.1576 0.877014 14.1227 3.84216 14.1227 7.49985C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49985ZM3.78135 3.21565C4.68298 2.43239 5.83429 1.92904 7.09998 1.84089V6.53429L3.78135 3.21565ZM3.21567 3.78134C2.43242 4.68298 1.92909 5.83428 1.84095 7.09997H6.5343L3.21567 3.78134ZM6.5343 7.89997H1.84097C1.92916 9.16562 2.43253 10.3169 3.21579 11.2185L6.5343 7.89997ZM3.78149 11.7842C4.6831 12.5673 5.83435 13.0707 7.09998 13.1588V8.46566L3.78149 11.7842ZM7.89998 8.46566V13.1588C9.16559 13.0706 10.3168 12.5673 11.2184 11.7841L7.89998 8.46566ZM11.7841 11.2184C12.5673 10.3168 13.0707 9.16558 13.1588 7.89997H8.46567L11.7841 11.2184ZM8.46567 7.09997H13.1589C13.0707 5.83432 12.5674 4.68305 11.7842 3.78143L8.46567 7.09997ZM11.2185 3.21573C10.3169 2.43246 9.16565 1.92909 7.89998 1.8409V6.53429L11.2185 3.21573Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/column_spacing_icon.rs b/packages/icons/dioxus/src/column_spacing_icon.rs new file mode 100644 index 00000000..a8c9dd3f --- /dev/null +++ b/packages/icons/dioxus/src/column_spacing_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ColumnSpacingIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ColumnSpacingIcon(props: ColumnSpacingIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.00012 1.5C8.00012 1.22386 7.77626 1 7.50012 1C7.22398 1 7.00012 1.22386 7.00012 1.5V13.5C7.00012 13.7761 7.22398 14 7.50012 14C7.77626 14 8.00012 13.7761 8.00012 13.5V1.5ZM3.31812 5.818C3.49386 5.64227 3.49386 5.35734 3.31812 5.18161C3.14239 5.00587 2.85746 5.00587 2.68173 5.18161L0.681729 7.18161C0.505993 7.35734 0.505993 7.64227 0.681729 7.818L2.68173 9.818C2.85746 9.99374 3.14239 9.99374 3.31812 9.818C3.49386 9.64227 3.49386 9.35734 3.31812 9.18161L2.08632 7.9498H5.50017C5.7487 7.9498 5.95017 7.74833 5.95017 7.4998C5.95017 7.25128 5.7487 7.0498 5.50017 7.0498H2.08632L3.31812 5.818ZM12.3181 5.18161C12.1424 5.00587 11.8575 5.00587 11.6817 5.18161C11.506 5.35734 11.506 5.64227 11.6817 5.818L12.9135 7.0498H9.50017C9.25164 7.0498 9.05017 7.25128 9.05017 7.4998C9.05017 7.74833 9.25164 7.9498 9.50017 7.9498H12.9135L11.6817 9.18161C11.506 9.35734 11.506 9.64227 11.6817 9.818C11.8575 9.99374 12.1424 9.99374 12.3181 9.818L14.3181 7.818C14.4939 7.64227 14.4939 7.35734 14.3181 7.18161L12.3181 5.18161Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/columns_icon.rs b/packages/icons/dioxus/src/columns_icon.rs new file mode 100644 index 00000000..11367bb3 --- /dev/null +++ b/packages/icons/dioxus/src/columns_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ColumnsIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ColumnsIcon(props: ColumnsIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.14998 14V1H0.849976V14H2.14998ZM6.14998 14V1H4.84998V14H6.14998ZM10.15 1V14H8.84998V1H10.15ZM14.15 14V1H12.85V14H14.15Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/commit_icon.rs b/packages/icons/dioxus/src/commit_icon.rs new file mode 100644 index 00000000..ff7e9957 --- /dev/null +++ b/packages/icons/dioxus/src/commit_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CommitIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CommitIcon(props: CommitIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.94969 7.49989C9.94969 8.85288 8.85288 9.94969 7.49989 9.94969C6.14691 9.94969 5.0501 8.85288 5.0501 7.49989C5.0501 6.14691 6.14691 5.0501 7.49989 5.0501C8.85288 5.0501 9.94969 6.14691 9.94969 7.49989ZM10.8632 8C10.6213 9.64055 9.20764 10.8997 7.49989 10.8997C5.79214 10.8997 4.37847 9.64055 4.13662 8H0.5C0.223858 8 0 7.77614 0 7.5C0 7.22386 0.223858 7 0.5 7H4.13659C4.37835 5.35935 5.79206 4.1001 7.49989 4.1001C9.20772 4.1001 10.6214 5.35935 10.8632 7H14.5C14.7761 7 15 7.22386 15 7.5C15 7.77614 14.7761 8 14.5 8H10.8632Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/component_1_icon.rs b/packages/icons/dioxus/src/component_1_icon.rs new file mode 100644 index 00000000..f8dd608c --- /dev/null +++ b/packages/icons/dioxus/src/component_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Component1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Component1Icon(props: Component1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.67129 3.14634C4.47603 3.34161 4.47603 3.65819 4.67129 3.85345L7.14616 6.32833C7.34142 6.52359 7.65801 6.52359 7.85327 6.32833L10.3281 3.85345C10.5234 3.65819 10.5234 3.34161 10.3281 3.14634L7.85327 0.671471C7.65801 0.476209 7.34142 0.476209 7.14616 0.671471L4.67129 3.14634ZM7.49971 5.26766L5.73195 3.4999L7.49971 1.73213L9.26748 3.4999L7.49971 5.26766ZM8.67129 7.14634C8.47603 7.34161 8.47603 7.65819 8.67129 7.85345L11.1462 10.3283C11.3414 10.5236 11.658 10.5236 11.8533 10.3283L14.3281 7.85345C14.5234 7.65819 14.5234 7.34161 14.3281 7.14634L11.8533 4.67147C11.658 4.47621 11.3414 4.47621 11.1462 4.67147L8.67129 7.14634ZM11.4997 9.26766L9.73195 7.4999L11.4997 5.73213L13.2675 7.4999L11.4997 9.26766ZM4.67129 11.8535C4.47603 11.6582 4.47603 11.3416 4.67129 11.1463L7.14616 8.67147C7.34142 8.47621 7.65801 8.47621 7.85327 8.67147L10.3281 11.1463C10.5234 11.3416 10.5234 11.6582 10.3281 11.8535L7.85327 14.3283C7.65801 14.5236 7.34142 14.5236 7.14616 14.3283L4.67129 11.8535ZM5.73195 11.4999L7.49971 13.2677L9.26748 11.4999L7.49971 9.73213L5.73195 11.4999ZM0.671288 7.14649C0.476026 7.34175 0.476026 7.65834 0.671288 7.8536L3.14616 10.3285C3.34142 10.5237 3.65801 10.5237 3.85327 10.3285L6.32814 7.8536C6.5234 7.65834 6.5234 7.34175 6.32814 7.14649L3.85327 4.67162C3.65801 4.47636 3.34142 4.47636 3.14616 4.67162L0.671288 7.14649ZM3.49972 9.26781L1.73195 7.50005L3.49972 5.73228L5.26748 7.50005L3.49972 9.26781Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/component_2_icon.rs b/packages/icons/dioxus/src/component_2_icon.rs new file mode 100644 index 00000000..c5104859 --- /dev/null +++ b/packages/icons/dioxus/src/component_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Component2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Component2Icon(props: Component2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.87935 1H3.9H11.1H11.1207C11.5231 0.999994 11.8553 0.999989 12.1259 1.0221C12.407 1.04506 12.6653 1.09434 12.908 1.21799C13.2843 1.40973 13.5903 1.7157 13.782 2.09202C13.9057 2.33469 13.9549 2.59304 13.9779 2.87409C14 3.14468 14 3.47686 14 3.87934V3.9V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H3.9H3.87934C3.47686 14 3.14468 14 2.87409 13.9779C2.59304 13.9549 2.33469 13.9057 2.09202 13.782C1.7157 13.5903 1.40973 13.2843 1.21799 12.908C1.09434 12.6653 1.04506 12.407 1.0221 12.1259C0.999989 11.8553 0.999994 11.5231 1 11.1207V11.1207V11.1V3.9V3.87935V3.87934C0.999994 3.47686 0.999989 3.14468 1.0221 2.87409C1.04506 2.59304 1.09434 2.33469 1.21799 2.09202C1.40973 1.7157 1.7157 1.40973 2.09202 1.21799C2.33469 1.09434 2.59304 1.04506 2.87409 1.0221C3.14469 0.999989 3.47687 0.999994 3.87935 1ZM2.95552 2.01878C2.73631 2.03669 2.62421 2.06915 2.54601 2.10899C2.35785 2.20487 2.20487 2.35785 2.10899 2.54601C2.06915 2.62421 2.03669 2.73631 2.01878 2.95552C2.00039 3.18056 2 3.47171 2 3.9V7H7V2H3.9C3.47171 2 3.18056 2.00039 2.95552 2.01878ZM7 8H2V11.1C2 11.5283 2.00039 11.8194 2.01878 12.0445C2.03669 12.2637 2.06915 12.3758 2.10899 12.454C2.20487 12.6422 2.35785 12.7951 2.54601 12.891C2.62421 12.9309 2.73631 12.9633 2.95552 12.9812C3.18056 12.9996 3.47171 13 3.9 13H7V8ZM8 8H13V11.1C13 11.5283 12.9996 11.8194 12.9812 12.0445C12.9633 12.2637 12.9309 12.3758 12.891 12.454C12.7951 12.6422 12.6422 12.7951 12.454 12.891C12.3758 12.9309 12.2637 12.9633 12.0445 12.9812C11.8194 12.9996 11.5283 13 11.1 13H8V8ZM13 7H8V2H11.1C11.5283 2 11.8194 2.00039 12.0445 2.01878C12.2637 2.03669 12.3758 2.06915 12.454 2.10899C12.6422 2.20487 12.7951 2.35785 12.891 2.54601C12.9309 2.62421 12.9633 2.73631 12.9812 2.95552C12.9996 3.18056 13 3.47171 13 3.9V7Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/component_boolean_icon.rs b/packages/icons/dioxus/src/component_boolean_icon.rs new file mode 100644 index 00000000..4ceb19ac --- /dev/null +++ b/packages/icons/dioxus/src/component_boolean_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ComponentBooleanIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ComponentBooleanIcon(props: ComponentBooleanIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.85367 1.48956C7.65841 1.29429 7.34182 1.29429 7.14656 1.48956L1.48971 7.14641C1.29445 7.34167 1.29445 7.65825 1.48971 7.85352L7.14656 13.5104C7.34182 13.7056 7.65841 13.7056 7.85367 13.5104L13.5105 7.85352C13.7058 7.65825 13.7058 7.34167 13.5105 7.14641L7.85367 1.48956ZM7.5 2.55033L2.55037 7.49996L7.5 12.4496V2.55033Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/component_instance_icon.rs b/packages/icons/dioxus/src/component_instance_icon.rs new file mode 100644 index 00000000..e91b95c1 --- /dev/null +++ b/packages/icons/dioxus/src/component_instance_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ComponentInstanceIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ComponentInstanceIcon(props: ComponentInstanceIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.1465 1.48959C7.34176 1.29432 7.65835 1.29432 7.85361 1.48959L13.5105 7.14644C13.7057 7.3417 13.7057 7.65829 13.5105 7.85355L7.85361 13.5104C7.65835 13.7057 7.34176 13.7057 7.1465 13.5104L1.48965 7.85355C1.29439 7.65829 1.29439 7.3417 1.48965 7.14644L7.1465 1.48959ZM7.50005 2.55025L2.55031 7.49999L7.50005 12.4497L12.4498 7.49999L7.50005 2.55025Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/component_none_icon.rs b/packages/icons/dioxus/src/component_none_icon.rs new file mode 100644 index 00000000..8dbc89e9 --- /dev/null +++ b/packages/icons/dioxus/src/component_none_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ComponentNoneIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ComponentNoneIcon(props: ComponentNoneIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.85361 1.48959C7.65835 1.29432 7.34176 1.29432 7.1465 1.48959L1.48965 7.14644C1.29439 7.3417 1.29439 7.65829 1.48965 7.85355L3.9645 10.3284L1.64644 12.6464C1.45118 12.8417 1.45118 13.1583 1.64644 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.6716 11.0355L7.1465 13.5104C7.34176 13.7057 7.65835 13.7057 7.85361 13.5104L13.5105 7.85355C13.7057 7.65829 13.7057 7.3417 13.5105 7.14644L11.0356 4.67154L13.3535 2.35355C13.5488 2.15829 13.5488 1.84171 13.3535 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.3285 3.96443L7.85361 1.48959ZM9.62135 4.67154L7.50005 2.55025L2.55031 7.49999L4.6716 9.62129L9.62135 4.67154ZM5.37871 10.3284L7.50005 12.4497L12.4498 7.49999L10.3285 5.37865L5.37871 10.3284Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/component_placeholder_icon.rs b/packages/icons/dioxus/src/component_placeholder_icon.rs new file mode 100644 index 00000000..a6ea8686 --- /dev/null +++ b/packages/icons/dioxus/src/component_placeholder_icon.rs @@ -0,0 +1,34 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ComponentPlaceholderIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ComponentPlaceholderIcon(props: ComponentPlaceholderIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.8034 7.14644C12.9986 6.95118 13.3152 6.95118 13.5105 7.14644C13.7057 7.3417 13.7057 7.65829 13.5105 7.85355C13.3152 8.04881 12.9986 8.04881 12.8034 7.85355C12.6081 7.65828 12.6081 7.3417 12.8034 7.14644ZM12.0962 8.56065C12.2915 8.75592 12.2915 9.0725 12.0962 9.26776C11.901 9.46302 11.5844 9.46302 11.3891 9.26776C11.1939 9.0725 11.1939 8.75592 11.3891 8.56065C11.5844 8.36539 11.901 8.36539 12.0962 8.56065ZM10.682 9.97487C10.8773 10.1701 10.8773 10.4867 10.682 10.682C10.4868 10.8772 10.1702 10.8772 9.97493 10.682C9.77967 10.4867 9.77967 10.1701 9.97493 9.97487C10.1702 9.7796 10.4868 9.7796 10.682 9.97487ZM9.26782 11.3891C9.46308 11.5843 9.46308 11.9009 9.26782 12.0962C9.07256 12.2915 8.75598 12.2915 8.56071 12.0962C8.36545 11.9009 8.36545 11.5843 8.56072 11.3891C8.75598 11.1938 9.07256 11.1938 9.26782 11.3891ZM7.1465 13.5104C6.95124 13.3151 6.95124 12.9986 7.1465 12.8033C7.17091 12.7789 7.19721 12.7575 7.22494 12.7392C7.41901 12.6111 7.68275 12.6324 7.85361 12.8033C8.04887 12.9986 8.04887 13.3151 7.85361 13.5104C7.65835 13.7057 7.34176 13.7057 7.1465 13.5104Z", + "fill": "{props.color}", + } + path { + "d": "M2.90386 8.56065C2.7086 8.75592 2.7086 9.0725 2.90386 9.26776 3.09912 9.46302 3.41571 9.46302 3.61097 9.26776 3.80623 9.0725 3.80623 8.75592 3.61097 8.56065 3.41571 8.36539 3.09912 8.36539 2.90386 8.56065zM4.31807 9.97487C4.12281 10.1701 4.12281 10.4867 4.31807 10.682 4.51334 10.8772 4.82992 10.8772 5.02518 10.682 5.22044 10.4867 5.22044 10.1701 5.02518 9.97487 4.82992 9.7796 4.51334 9.7796 4.31807 9.97487zM5.73229 11.3891C5.53703 11.5843 5.53703 11.9009 5.73229 12.0962 5.92755 12.2914 6.24413 12.2915 6.43939 12.0962 6.63466 11.9009 6.63466 11.5843 6.43939 11.3891 6.24413 11.1938 5.92755 11.1938 5.73229 11.3891zM2.19675 7.85355C2.36761 7.68269 2.38897 7.41895 2.26082 7.22488 2.09046 6.96684 1.71063 6.92546 1.48965 7.14644 1.29439 7.3417 1.29439 7.65829 1.48965 7.85355 1.68491 8.04881 2.00149 8.04881 2.19675 7.85355zM3.61097 5.73223C3.41571 5.53696 3.09912 5.53696 2.90386 5.73223 2.7086 5.92749 2.7086 6.24407 2.90386 6.43933 3.09912 6.6346 3.41571 6.6346 3.61097 6.43933 3.80623 6.24407 3.80623 5.92749 3.61097 5.73223zM5.02518 4.31801C4.82992 4.12275 4.51334 4.12275 4.31807 4.31801 4.12281 4.51328 4.12281 4.82986 4.31807 5.02512 4.51334 5.22038 4.82992 5.22038 5.02518 5.02512 5.22044 4.82986 5.22044 4.51328 5.02518 4.31801zM6.43939 2.9038C6.24413 2.70854 5.92755 2.70854 5.73229 2.9038 5.53703 3.09906 5.53703 3.41564 5.73229 3.61091 5.92755 3.80617 6.24413 3.80617 6.43939 3.61091 6.63466 3.41564 6.63466 3.09906 6.43939 2.9038zM7.85361 1.48959C7.65835 1.29432 7.34176 1.29432 7.1465 1.48959 6.95124 1.68485 6.95124 2.00143 7.1465 2.19669 7.34176 2.39196 7.65835 2.39196 7.85361 2.19669 8.04887 2.00143 8.04887 1.68485 7.85361 1.48959zM9.26782 2.9038C9.07256 2.70854 8.75598 2.70854 8.56071 2.9038 8.36545 3.09906 8.36545 3.41564 8.56071 3.61091 8.75598 3.80617 9.07256 3.80617 9.26782 3.61091 9.46308 3.41564 9.46308 3.09906 9.26782 2.9038zM10.682 4.31801C10.4868 4.12275 10.1702 4.12275 9.97493 4.31801 9.77967 4.51328 9.77967 4.82986 9.97493 5.02512 10.1702 5.22038 10.4868 5.22038 10.682 5.02512 10.8773 4.82986 10.8773 4.51328 10.682 4.31801zM12.0962 5.73223C11.901 5.53696 11.5844 5.53696 11.3891 5.73223 11.1939 5.92749 11.1939 6.24407 11.3891 6.43933 11.5844 6.6346 11.901 6.6346 12.0962 6.43933 12.2915 6.24407 12.2915 5.92749 12.0962 5.73223z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/container_icon.rs b/packages/icons/dioxus/src/container_icon.rs new file mode 100644 index 00000000..82dfae26 --- /dev/null +++ b/packages/icons/dioxus/src/container_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ContainerIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ContainerIcon(props: ContainerIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 1.5C2 1.77614 1.77614 2 1.5 2C1.22386 2 1 1.77614 1 1.5C1 1.22386 1.22386 1 1.5 1C1.77614 1 2 1.22386 2 1.5ZM5 13H10V2L5 2L5 13ZM4 13C4 13.5523 4.44772 14 5 14H10C10.5523 14 11 13.5523 11 13V2C11 1.44772 10.5523 1 10 1H5C4.44772 1 4 1.44771 4 2V13ZM13.5 2C13.7761 2 14 1.77614 14 1.5C14 1.22386 13.7761 1 13.5 1C13.2239 1 13 1.22386 13 1.5C13 1.77614 13.2239 2 13.5 2ZM2 3.5C2 3.77614 1.77614 4 1.5 4C1.22386 4 1 3.77614 1 3.5C1 3.22386 1.22386 3 1.5 3C1.77614 3 2 3.22386 2 3.5ZM13.5 4C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3C13.2239 3 13 3.22386 13 3.5C13 3.77614 13.2239 4 13.5 4ZM2 5.5C2 5.77614 1.77614 6 1.5 6C1.22386 6 1 5.77614 1 5.5C1 5.22386 1.22386 5 1.5 5C1.77614 5 2 5.22386 2 5.5ZM13.5 6C13.7761 6 14 5.77614 14 5.5C14 5.22386 13.7761 5 13.5 5C13.2239 5 13 5.22386 13 5.5C13 5.77614 13.2239 6 13.5 6ZM2 7.5C2 7.77614 1.77614 8 1.5 8C1.22386 8 1 7.77614 1 7.5C1 7.22386 1.22386 7 1.5 7C1.77614 7 2 7.22386 2 7.5ZM13.5 8C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7C13.2239 7 13 7.22386 13 7.5C13 7.77614 13.2239 8 13.5 8ZM2 9.5C2 9.77614 1.77614 10 1.5 10C1.22386 10 1 9.77614 1 9.5C1 9.22386 1.22386 9 1.5 9C1.77614 9 2 9.22386 2 9.5ZM13.5 10C13.7761 10 14 9.77614 14 9.5C14 9.22386 13.7761 9 13.5 9C13.2239 9 13 9.22386 13 9.5C13 9.77614 13.2239 10 13.5 10ZM2 11.5C2 11.7761 1.77614 12 1.5 12C1.22386 12 1 11.7761 1 11.5C1 11.2239 1.22386 11 1.5 11C1.77614 11 2 11.2239 2 11.5ZM13.5 12C13.7761 12 14 11.7761 14 11.5C14 11.2239 13.7761 11 13.5 11C13.2239 11 13 11.2239 13 11.5C13 11.7761 13.2239 12 13.5 12ZM2 13.5C2 13.7761 1.77614 14 1.5 14C1.22386 14 1 13.7761 1 13.5C1 13.2239 1.22386 13 1.5 13C1.77614 13 2 13.2239 2 13.5ZM13.5 14C13.7761 14 14 13.7761 14 13.5C14 13.2239 13.7761 13 13.5 13C13.2239 13 13 13.2239 13 13.5C13 13.7761 13.2239 14 13.5 14Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/cookie_icon.rs b/packages/icons/dioxus/src/cookie_icon.rs new file mode 100644 index 00000000..c58d5b70 --- /dev/null +++ b/packages/icons/dioxus/src/cookie_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CookieIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CookieIcon(props: CookieIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.0697 1.76746C12.4807 1.21947 11.4605 0.454311 11.0495 1.0023C10.6385 1.55028 11.6588 2.31544 12.0697 1.76746ZM8.39263 1.07811C7.15585 0.950602 5.7823 1.16348 4.58433 1.70937C3.38552 2.25563 2.32735 3.15309 1.78844 4.41832C1.37574 5.38724 1.01715 6.28113 1.00088 7.44354C0.984724 8.59844 1.30522 9.96898 2.13174 11.928C2.61142 13.0649 4.03963 13.5446 5.13895 13.8079C6.40836 14.1119 7.80857 14.1914 8.6644 14.0742C9.36515 13.9782 10.1448 13.8284 10.7987 13.297C11.8977 12.4039 12.9009 11.3955 13.4994 10.3393C14.104 9.27221 14.3256 8.09207 13.7216 6.95324C13.5628 6.65373 13.316 6.57734 13.0412 6.4923C12.9374 6.46016 12.8295 6.42678 12.7209 6.37966C11.6211 5.90234 10.9646 5.34963 10.9135 5.02876C10.8656 4.72808 10.9221 4.51463 10.9811 4.29181C11.0129 4.17199 11.0453 4.04947 11.0626 3.90922C11.0838 3.73737 11.0814 3.33319 10.6996 3.12761C10.4048 2.96888 10.2164 2.65843 10.0407 2.36904C9.99742 2.29775 9.95492 2.22773 9.9118 2.16158C9.62634 1.72367 9.20769 1.16213 8.39263 1.07811ZM4.99899 2.61935C3.96483 3.09058 3.12554 3.83097 2.70846 4.81018C2.29808 5.77368 2.01406 6.50873 2.00079 7.45753C1.98741 8.41385 2.25043 9.6368 3.0531 11.5393C3.39181 12.3421 4.62167 12.6557 5.37186 12.8354C6.5493 13.1174 7.822 13.1802 8.52868 13.0834C9.21271 12.9897 9.74568 12.8642 10.1681 12.5209C11.229 11.6587 12.121 10.7435 12.6293 9.84635C12.9349 9.30709 13.5141 7.7028 12.6292 7.3873C10.7539 6.71875 10.262 6.06669 9.99011 5.41268C9.80915 4.97744 9.82868 4.52282 9.95741 4.07885L9.95741 4.07884C9.97662 4.0126 9.99538 3.94791 10.0334 3.88882C9.81857 3.73676 9.6515 3.55195 9.51464 3.3715C9.42876 3.25828 9.3469 3.12099 9.26197 2.97856C9.01866 2.57052 8.75018 2.12027 8.29008 2.07283C7.22889 1.96343 6.03398 2.14772 4.99899 2.61935ZM13.2081 3.77471C13.441 3.22671 12.4547 2.63606 12.0822 3.10163C11.5817 3.72732 12.9029 4.49281 13.2081 3.77471ZM14.3672 2.26031C14.9668 2.27493 15.1551 1.11603 14.5718 0.949371C13.8076 0.731026 13.5918 2.24139 14.3672 2.26031ZM14.2857 5.09098C14.8644 5.10004 15.0462 4.38222 14.4832 4.27899C13.7455 4.14375 13.5373 5.07927 14.2857 5.09098ZM6.9075 4.28672C6.46898 4.66754 6.0522 4.15185 5.97983 3.7365C5.86848 3.09744 6.33696 2.56856 6.94823 2.91156C7.43344 3.18382 7.26678 3.97471 6.9075 4.28672ZM4.94455 5.88184C5.40885 5.41754 4.59567 4.57013 4.11425 5.05154C3.83338 5.33242 4.00936 5.65376 4.23744 5.88184C4.43271 6.0771 4.74929 6.0771 4.94455 5.88184ZM6.97716 6.71984C7.31181 7.38914 8.48804 6.79159 7.99413 6.14788C7.86519 5.97983 7.68657 5.9494 7.62145 5.94207C7.21217 5.89601 6.76349 6.2925 6.97716 6.71984ZM6.98798 8.72461C7.14066 9.1188 7.51122 9.3187 7.91915 9.1633C8.27434 9.02799 8.33186 8.39689 8.17175 8.07427C8.02331 7.77514 7.63956 7.67793 7.33747 7.79417C6.98512 7.92976 6.85672 8.38708 6.98576 8.71889L6.98798 8.72461ZM10.3885 8.84081C10.7575 8.6566 11.4617 8.82771 11.4617 9.31199C11.4617 9.71286 10.9587 10.2165 10.5634 10.2826C10.1813 10.3465 9.70515 9.97581 9.76648 9.57718C9.81445 9.26539 10.1217 8.97401 10.3885 8.84081ZM7.56704 10.8432C7.33461 10.7502 7.14353 10.8601 7.11437 10.8769L7.11279 10.8778C6.90782 10.9949 6.71383 11.2439 6.6747 11.4842C6.59018 12.0034 7.13199 12.1239 7.52661 12.0987C8.2074 12.0553 8.06547 11.0426 7.56704 10.8432ZM4.8805 10.8932C5.0674 10.7723 5.15658 10.5363 5.08293 10.3153C4.93046 9.79687 4.3246 9.71252 3.96561 10.1297C3.79336 10.3299 3.80749 10.6274 3.99214 10.8105L3.99495 10.814L3.9979 10.8176C4.22025 11.0942 4.63624 11.1857 4.8805 10.8932ZM3.04695 7.81318C3.33147 8.0977 3.60077 8.15067 3.98443 8.05859C4.60826 7.90887 4.13814 6.24299 3.047 6.87296C2.70939 7.06788 2.86716 7.63339 3.04695 7.81318Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/copy_icon.rs b/packages/icons/dioxus/src/copy_icon.rs new file mode 100644 index 00000000..1bd36671 --- /dev/null +++ b/packages/icons/dioxus/src/copy_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CopyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CopyIcon(props: CopyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 9.50006C1 10.3285 1.67157 11.0001 2.5 11.0001H4L4 10.0001H2.5C2.22386 10.0001 2 9.7762 2 9.50006L2 2.50006C2 2.22392 2.22386 2.00006 2.5 2.00006L9.5 2.00006C9.77614 2.00006 10 2.22392 10 2.50006V4.00002H5.5C4.67158 4.00002 4 4.67159 4 5.50002V12.5C4 13.3284 4.67158 14 5.5 14H12.5C13.3284 14 14 13.3284 14 12.5V5.50002C14 4.67159 13.3284 4.00002 12.5 4.00002H11V2.50006C11 1.67163 10.3284 1.00006 9.5 1.00006H2.5C1.67157 1.00006 1 1.67163 1 2.50006V9.50006ZM5 5.50002C5 5.22388 5.22386 5.00002 5.5 5.00002H12.5C12.7761 5.00002 13 5.22388 13 5.50002V12.5C13 12.7762 12.7761 13 12.5 13H5.5C5.22386 13 5 12.7762 5 12.5V5.50002Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/corner_bottom_left_icon.rs b/packages/icons/dioxus/src/corner_bottom_left_icon.rs new file mode 100644 index 00000000..20a00c44 --- /dev/null +++ b/packages/icons/dioxus/src/corner_bottom_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CornerBottomLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CornerBottomLeftIcon(props: CornerBottomLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.87737 12H9.9H11.5C11.7761 12 12 11.7761 12 11.5C12 11.2239 11.7761 11 11.5 11H9.9C8.77164 11 7.95545 10.9996 7.31352 10.9472C6.67744 10.8952 6.25662 10.7946 5.91103 10.6185C5.25247 10.283 4.71703 9.74753 4.38148 9.08897C4.20539 8.74338 4.10481 8.32256 4.05284 7.68648C4.00039 7.04455 4 6.22836 4 5.1V3.5C4 3.22386 3.77614 3 3.5 3C3.22386 3 3 3.22386 3 3.5V5.1V5.12263C3 6.22359 3 7.08052 3.05616 7.76791C3.11318 8.46584 3.23058 9.0329 3.49047 9.54296C3.9219 10.3897 4.61031 11.0781 5.45704 11.5095C5.9671 11.7694 6.53416 11.8868 7.23209 11.9438C7.91948 12 8.77641 12 9.87737 12Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/corner_bottom_right_icon.rs b/packages/icons/dioxus/src/corner_bottom_right_icon.rs new file mode 100644 index 00000000..fbf17ecd --- /dev/null +++ b/packages/icons/dioxus/src/corner_bottom_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CornerBottomRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CornerBottomRightIcon(props: CornerBottomRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.12263 12H5.1H3.5C3.22386 12 3 11.7761 3 11.5C3 11.2239 3.22386 11 3.5 11H5.1C6.22836 11 7.04455 10.9996 7.68648 10.9472C8.32256 10.8952 8.74338 10.7946 9.08897 10.6185C9.74753 10.283 10.283 9.74753 10.6185 9.08897C10.7946 8.74338 10.8952 8.32256 10.9472 7.68648C10.9996 7.04455 11 6.22836 11 5.1V3.5C11 3.22386 11.2239 3 11.5 3C11.7761 3 12 3.22386 12 3.5V5.1V5.12263C12 6.22359 12 7.08052 11.9438 7.76791C11.8868 8.46584 11.7694 9.0329 11.5095 9.54296C11.0781 10.3897 10.3897 11.0781 9.54296 11.5095C9.0329 11.7694 8.46584 11.8868 7.76791 11.9438C7.08052 12 6.22359 12 5.12263 12Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/corner_top_left_icon.rs b/packages/icons/dioxus/src/corner_top_left_icon.rs new file mode 100644 index 00000000..35deb6cc --- /dev/null +++ b/packages/icons/dioxus/src/corner_top_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CornerTopLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CornerTopLeftIcon(props: CornerTopLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.87737 3H9.9H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H9.9C8.77164 4 7.95545 4.00039 7.31352 4.05284C6.67744 4.10481 6.25662 4.20539 5.91103 4.38148C5.25247 4.71703 4.71703 5.25247 4.38148 5.91103C4.20539 6.25662 4.10481 6.67744 4.05284 7.31352C4.00039 7.95545 4 8.77164 4 9.9V11.5C4 11.7761 3.77614 12 3.5 12C3.22386 12 3 11.7761 3 11.5V9.9V9.87737C3 8.77641 3 7.91948 3.05616 7.23209C3.11318 6.53416 3.23058 5.9671 3.49047 5.45704C3.9219 4.61031 4.61031 3.9219 5.45704 3.49047C5.9671 3.23058 6.53416 3.11318 7.23209 3.05616C7.91948 3 8.77641 3 9.87737 3Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/corner_top_right_icon.rs b/packages/icons/dioxus/src/corner_top_right_icon.rs new file mode 100644 index 00000000..8b474246 --- /dev/null +++ b/packages/icons/dioxus/src/corner_top_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CornerTopRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CornerTopRightIcon(props: CornerTopRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.12263 3H5.1H3.5C3.22386 3 3 3.22386 3 3.5C3 3.77614 3.22386 4 3.5 4H5.1C6.22836 4 7.04455 4.00039 7.68648 4.05284C8.32256 4.10481 8.74338 4.20539 9.08897 4.38148C9.74753 4.71703 10.283 5.25247 10.6185 5.91103C10.7946 6.25662 10.8952 6.67744 10.9472 7.31352C10.9996 7.95545 11 8.77164 11 9.9V11.5C11 11.7761 11.2239 12 11.5 12C11.7761 12 12 11.7761 12 11.5V9.9V9.87737C12 8.77641 12 7.91948 11.9438 7.23209C11.8868 6.53416 11.7694 5.9671 11.5095 5.45704C11.0781 4.61031 10.3897 3.9219 9.54296 3.49047C9.0329 3.23058 8.46584 3.11318 7.76791 3.05616C7.08052 3 6.22359 3 5.12263 3Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/corners_icon.rs b/packages/icons/dioxus/src/corners_icon.rs new file mode 100644 index 00000000..0d3d0dbd --- /dev/null +++ b/packages/icons/dioxus/src/corners_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CornersIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CornersIcon(props: CornersIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.5 2L4.87935 2C4.47687 1.99999 4.14469 1.99999 3.87409 2.0221C3.59304 2.04506 3.33469 2.09434 3.09202 2.21799C2.7157 2.40973 2.40973 2.7157 2.21799 3.09202C2.09434 3.33469 2.04506 3.59304 2.0221 3.87409C1.99999 4.14468 1.99999 4.47686 2 4.87933V4.87935V5.5C2 5.77614 2.22386 6 2.5 6C2.77614 6 3 5.77614 3 5.5V4.9C3 4.47171 3.00039 4.18056 3.01878 3.95552C3.03669 3.73631 3.06915 3.62421 3.10899 3.54601C3.20487 3.35785 3.35785 3.20487 3.54601 3.10899C3.62421 3.06915 3.73631 3.03669 3.95552 3.01878C4.18056 3.00039 4.47171 3 4.9 3H5.5C5.77614 3 6 2.77614 6 2.5C6 2.22386 5.77614 2 5.5 2ZM13 9.5C13 9.22386 12.7761 9 12.5 9C12.2239 9 12 9.22386 12 9.5V10.1C12 10.5283 11.9996 10.8194 11.9812 11.0445C11.9633 11.2637 11.9309 11.3758 11.891 11.454C11.7951 11.6422 11.6422 11.7951 11.454 11.891C11.3758 11.9309 11.2637 11.9633 11.0445 11.9812C10.8194 11.9996 10.5283 12 10.1 12H9.5C9.22386 12 9 12.2239 9 12.5C9 12.7761 9.22386 13 9.5 13H10.1206C10.5231 13 10.8553 13 11.1259 12.9779C11.407 12.9549 11.6653 12.9057 11.908 12.782C12.2843 12.5903 12.5903 12.2843 12.782 11.908C12.9057 11.6653 12.9549 11.407 12.9779 11.1259C13 10.8553 13 10.5232 13 10.1207V10.1207V10.1207V10.1206V9.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V10.1C3 10.5283 3.00039 10.8194 3.01878 11.0445C3.03669 11.2637 3.06915 11.3758 3.10899 11.454C3.20487 11.6422 3.35785 11.7951 3.54601 11.891C3.62421 11.9309 3.73631 11.9633 3.95552 11.9812C4.18056 11.9996 4.47171 12 4.9 12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H4.87935C4.47687 13 4.14469 13 3.87409 12.9779C3.59304 12.9549 3.33469 12.9057 3.09202 12.782C2.7157 12.5903 2.40973 12.2843 2.21799 11.908C2.09434 11.6653 2.04506 11.407 2.0221 11.1259C1.99999 10.8553 1.99999 10.5231 2 10.1207V10.1206V10.1V9.5C2 9.22386 2.22386 9 2.5 9ZM10.1 3C10.5283 3 10.8194 3.00039 11.0445 3.01878C11.2637 3.03669 11.3758 3.06915 11.454 3.10899C11.6422 3.20487 11.7951 3.35785 11.891 3.54601C11.9309 3.62421 11.9633 3.73631 11.9812 3.95552C11.9996 4.18056 12 4.47171 12 4.9V5.5C12 5.77614 12.2239 6 12.5 6C12.7761 6 13 5.77614 13 5.5V4.87935V4.87934C13 4.47686 13 4.14468 12.9779 3.87409C12.9549 3.59304 12.9057 3.33469 12.782 3.09202C12.5903 2.7157 12.2843 2.40973 11.908 2.21799C11.6653 2.09434 11.407 2.04506 11.1259 2.0221C10.8553 1.99999 10.5231 1.99999 10.1206 2L10.1 2H9.5C9.22386 2 9 2.22386 9 2.5C9 2.77614 9.22386 3 9.5 3H10.1Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/countdown_timer_icon.rs b/packages/icons/dioxus/src/countdown_timer_icon.rs new file mode 100644 index 00000000..89739c07 --- /dev/null +++ b/packages/icons/dioxus/src/countdown_timer_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CountdownTimerIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CountdownTimerIcon(props: CountdownTimerIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.15 7.49998C13.15 4.66458 10.9402 1.84998 7.50002 1.84998C4.7217 1.84998 3.34851 3.90636 2.76336 4.99997H4.5C4.77614 4.99997 5 5.22383 5 5.49997C5 5.77611 4.77614 5.99997 4.5 5.99997H1.5C1.22386 5.99997 1 5.77611 1 5.49997V2.49997C1 2.22383 1.22386 1.99997 1.5 1.99997C1.77614 1.99997 2 2.22383 2 2.49997V4.31318C2.70453 3.07126 4.33406 0.849976 7.50002 0.849976C11.5628 0.849976 14.15 4.18537 14.15 7.49998C14.15 10.8146 11.5628 14.15 7.50002 14.15C5.55618 14.15 3.93778 13.3808 2.78548 12.2084C2.16852 11.5806 1.68668 10.839 1.35816 10.0407C1.25306 9.78536 1.37488 9.49315 1.63024 9.38806C1.8856 9.28296 2.17781 9.40478 2.2829 9.66014C2.56374 10.3425 2.97495 10.9745 3.4987 11.5074C4.47052 12.4963 5.83496 13.15 7.50002 13.15C10.9402 13.15 13.15 10.3354 13.15 7.49998ZM7 10V5.00001H8V10H7Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/counter_clockwise_clock_icon.rs b/packages/icons/dioxus/src/counter_clockwise_clock_icon.rs new file mode 100644 index 00000000..1e3a469f --- /dev/null +++ b/packages/icons/dioxus/src/counter_clockwise_clock_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CounterClockwiseClockIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CounterClockwiseClockIcon(props: CounterClockwiseClockIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.15 7.49998C13.15 4.66458 10.9402 1.84998 7.50002 1.84998C4.72167 1.84998 3.34849 3.9064 2.76335 5H4.5C4.77614 5 5 5.22386 5 5.5C5 5.77614 4.77614 6 4.5 6H1.5C1.22386 6 1 5.77614 1 5.5V2.5C1 2.22386 1.22386 2 1.5 2C1.77614 2 2 2.22386 2 2.5V4.31318C2.70453 3.07126 4.33406 0.849976 7.50002 0.849976C11.5628 0.849976 14.15 4.18537 14.15 7.49998C14.15 10.8146 11.5628 14.15 7.50002 14.15C5.55618 14.15 3.93778 13.3808 2.78548 12.2084C2.16852 11.5806 1.68668 10.839 1.35816 10.0407C1.25306 9.78536 1.37488 9.49315 1.63024 9.38806C1.8856 9.28296 2.17781 9.40478 2.2829 9.66014C2.56374 10.3425 2.97495 10.9745 3.4987 11.5074C4.47052 12.4963 5.83496 13.15 7.50002 13.15C10.9402 13.15 13.15 10.3354 13.15 7.49998ZM7.5 4.00001C7.77614 4.00001 8 4.22387 8 4.50001V7.29291L9.85355 9.14646C10.0488 9.34172 10.0488 9.65831 9.85355 9.85357C9.65829 10.0488 9.34171 10.0488 9.14645 9.85357L7.14645 7.85357C7.05268 7.7598 7 7.63262 7 7.50001V4.50001C7 4.22387 7.22386 4.00001 7.5 4.00001Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/crop_icon.rs b/packages/icons/dioxus/src/crop_icon.rs new file mode 100644 index 00000000..c4fbc570 --- /dev/null +++ b/packages/icons/dioxus/src/crop_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CropIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CropIcon(props: CropIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.5 8.00684e-07C3.77614 7.88614e-07 4 0.223859 4 0.500001L4 3.00006L11.5 3.00006C11.7761 3.00006 12 3.22392 12 3.50006L12 11.0001L14.5 11C14.7761 11 15 11.2238 15 11.5C15 11.7761 14.7762 12 14.5 12L12 12.0001L12 14.5C12 14.7761 11.7761 15 11.5 15C11.2239 15 11 14.7761 11 14.5L11 12.0001L3.5 12.0001C3.22386 12.0001 3 11.7762 3 11.5001L3 4.00005L0.499989 4C0.223847 4 -6.10541e-06 3.77613 -5.02576e-07 3.49999C5.13006e-06 3.22385 0.223867 3 0.50001 3L3 3.00005L3 0.500001C3 0.223859 3.22386 8.12755e-07 3.5 8.00684e-07ZM4 4.00006L4 11.0001L11 11.0001L11 4.00006L4 4.00006Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/cross_1_icon.rs b/packages/icons/dioxus/src/cross_1_icon.rs new file mode 100644 index 00000000..e466b075 --- /dev/null +++ b/packages/icons/dioxus/src/cross_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Cross1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Cross1Icon(props: Cross1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/cross_2_icon.rs b/packages/icons/dioxus/src/cross_2_icon.rs new file mode 100644 index 00000000..44836c50 --- /dev/null +++ b/packages/icons/dioxus/src/cross_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Cross2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Cross2Icon(props: Cross2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/cross_circled_icon.rs b/packages/icons/dioxus/src/cross_circled_icon.rs new file mode 100644 index 00000000..37c775e9 --- /dev/null +++ b/packages/icons/dioxus/src/cross_circled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CrossCircledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CrossCircledIcon(props: CrossCircledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/crosshair_1_icon.rs b/packages/icons/dioxus/src/crosshair_1_icon.rs new file mode 100644 index 00000000..5940e2f4 --- /dev/null +++ b/packages/icons/dioxus/src/crosshair_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Crosshair1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Crosshair1Icon(props: Crosshair1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877075 7.50207C0.877075 3.84319 3.84319 0.877075 7.50208 0.877075C11.1609 0.877075 14.1271 3.84319 14.1271 7.50207C14.1271 11.1609 11.1609 14.1271 7.50208 14.1271C3.84319 14.1271 0.877075 11.1609 0.877075 7.50207ZM1.84898 7.00003C2.0886 4.26639 4.26639 2.0886 7.00003 1.84898V4.50003C7.00003 4.77617 7.22388 5.00003 7.50003 5.00003C7.77617 5.00003 8.00003 4.77617 8.00003 4.50003V1.84862C10.7356 2.08643 12.9154 4.26502 13.1552 7.00003H10.5C10.2239 7.00003 10 7.22388 10 7.50003C10 7.77617 10.2239 8.00003 10.5 8.00003H13.1555C12.9176 10.7369 10.7369 12.9176 8.00003 13.1555V10.5C8.00003 10.2239 7.77617 10 7.50003 10C7.22388 10 7.00003 10.2239 7.00003 10.5V13.1552C4.26502 12.9154 2.08643 10.7356 1.84862 8.00003H4.50003C4.77617 8.00003 5.00003 7.77617 5.00003 7.50003C5.00003 7.22388 4.77617 7.00003 4.50003 7.00003H1.84898Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/crosshair_2_icon.rs b/packages/icons/dioxus/src/crosshair_2_icon.rs new file mode 100644 index 00000000..1661204f --- /dev/null +++ b/packages/icons/dioxus/src/crosshair_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Crosshair2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Crosshair2Icon(props: Crosshair2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 0C7.77614 0 8 0.223858 8 0.5V1.80687C10.6922 2.0935 12.8167 4.28012 13.0068 7H14.5C14.7761 7 15 7.22386 15 7.5C15 7.77614 14.7761 8 14.5 8H12.9888C12.7094 10.6244 10.6244 12.7094 8 12.9888V14.5C8 14.7761 7.77614 15 7.5 15C7.22386 15 7 14.7761 7 14.5V13.0068C4.28012 12.8167 2.0935 10.6922 1.80687 8H0.5C0.223858 8 0 7.77614 0 7.5C0 7.22386 0.223858 7 0.5 7H1.78886C1.98376 4.21166 4.21166 1.98376 7 1.78886V0.5C7 0.223858 7.22386 0 7.5 0ZM8 12.0322V9.5C8 9.22386 7.77614 9 7.5 9C7.22386 9 7 9.22386 7 9.5V12.054C4.80517 11.8689 3.04222 10.1668 2.76344 8H5.5C5.77614 8 6 7.77614 6 7.5C6 7.22386 5.77614 7 5.5 7H2.7417C2.93252 4.73662 4.73662 2.93252 7 2.7417V5.5C7 5.77614 7.22386 6 7.5 6C7.77614 6 8 5.77614 8 5.5V2.76344C10.1668 3.04222 11.8689 4.80517 12.054 7H9.5C9.22386 7 9 7.22386 9 7.5C9 7.77614 9.22386 8 9.5 8H12.0322C11.7621 10.0991 10.0991 11.7621 8 12.0322Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/crumpled_paper_icon.rs b/packages/icons/dioxus/src/crumpled_paper_icon.rs new file mode 100644 index 00000000..ff9fa0d4 --- /dev/null +++ b/packages/icons/dioxus/src/crumpled_paper_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CrumpledPaperIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CrumpledPaperIcon(props: CrumpledPaperIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.60913 0.0634287C4.39082 0.0088505 4.16575 0.12393 4.08218 0.332867L3.1538 2.6538L0.832866 3.58218C0.702884 3.63417 0.604504 3.7437 0.566705 3.87849C0.528906 4.01329 0.555994 4.158 0.639992 4.26999L2.01148 6.09864L1.06343 9.89085C1.00944 10.1068 1.12145 10.3298 1.32691 10.4154L4.20115 11.613L5.62557 13.7496C5.73412 13.9124 5.93545 13.9864 6.12362 13.9327L9.62362 12.9327C9.62988 12.9309 9.63611 12.929 9.64229 12.9269L12.6423 11.9269C12.7923 11.8769 12.905 11.7519 12.9393 11.5976L13.9393 7.09761C13.9776 6.92506 13.9114 6.74605 13.77 6.63999L11.95 5.27499V2.99999C11.95 2.82955 11.8537 2.67373 11.7012 2.5975L8.70124 1.0975C8.67187 1.08282 8.64098 1.07139 8.60913 1.06343L4.60913 0.0634287ZM11.4323 6.01173L12.7748 7.01858L10.2119 9.15429C10.1476 9.20786 10.0995 9.2783 10.0731 9.35769L9.25382 11.8155L7.73849 10.8684C7.52774 10.7367 7.25011 10.8007 7.11839 11.0115C6.98667 11.2222 7.05074 11.4999 7.26149 11.6316L8.40341 12.3453L6.19221 12.9771L4.87441 11.0004C4.82513 10.9265 4.75508 10.8688 4.67307 10.8346L2.03046 9.73352L2.85134 6.44999H4.99999C5.24852 6.44999 5.44999 6.24852 5.44999 5.99999C5.44999 5.75146 5.24852 5.54999 4.99999 5.54999H2.72499L1.7123 4.19974L3.51407 3.47903L6.35769 4.4269C6.53655 4.48652 6.73361 4.42832 6.85138 4.28111L8.62413 2.06518L11.05 3.27811V5.19533L8.83287 6.08218C8.70996 6.13134 8.61494 6.23212 8.57308 6.35769L8.07308 7.85769C7.99449 8.09346 8.12191 8.34831 8.35769 8.4269C8.59346 8.50549 8.84831 8.37807 8.9269 8.14229L9.3609 6.84029L11.4323 6.01173ZM7.71052 1.76648L6.34462 3.47386L4.09505 2.724L4.77192 1.03183L7.71052 1.76648ZM10.2115 11.7885L12.116 11.1537L12.7745 8.19034L10.8864 9.76374L10.2115 11.7885Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/cube_icon.rs b/packages/icons/dioxus/src/cube_icon.rs new file mode 100644 index 00000000..bbf4c8f4 --- /dev/null +++ b/packages/icons/dioxus/src/cube_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CubeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CubeIcon(props: CubeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.28856 0.796908C7.42258 0.734364 7.57742 0.734364 7.71144 0.796908L13.7114 3.59691C13.8875 3.67906 14 3.85574 14 4.05V10.95C14 11.1443 13.8875 11.3209 13.7114 11.4031L7.71144 14.2031C7.57742 14.2656 7.42258 14.2656 7.28856 14.2031L1.28856 11.4031C1.11252 11.3209 1 11.1443 1 10.95V4.05C1 3.85574 1.11252 3.67906 1.28856 3.59691L7.28856 0.796908ZM2 4.80578L7 6.93078V12.9649L2 10.6316V4.80578ZM8 12.9649L13 10.6316V4.80578L8 6.93078V12.9649ZM7.5 6.05672L12.2719 4.02866L7.5 1.80176L2.72809 4.02866L7.5 6.05672Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/cursor_arrow_icon.rs b/packages/icons/dioxus/src/cursor_arrow_icon.rs new file mode 100644 index 00000000..852aefc2 --- /dev/null +++ b/packages/icons/dioxus/src/cursor_arrow_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CursorArrowIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CursorArrowIcon(props: CursorArrowIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.29227 0.048984C3.47033 -0.032338 3.67946 -0.00228214 3.8274 0.125891L12.8587 7.95026C13.0134 8.08432 13.0708 8.29916 13.0035 8.49251C12.9362 8.68586 12.7578 8.81866 12.5533 8.82768L9.21887 8.97474L11.1504 13.2187C11.2648 13.47 11.1538 13.7664 10.9026 13.8808L8.75024 14.8613C8.499 14.9758 8.20255 14.8649 8.08802 14.6137L6.15339 10.3703L3.86279 12.7855C3.72196 12.934 3.50487 12.9817 3.31479 12.9059C3.1247 12.8301 3 12.6461 3 12.4414V0.503792C3 0.308048 3.11422 0.130306 3.29227 0.048984ZM4 1.59852V11.1877L5.93799 9.14425C6.05238 9.02363 6.21924 8.96776 6.38319 8.99516C6.54715 9.02256 6.68677 9.12965 6.75573 9.2809L8.79056 13.7441L10.0332 13.178L8.00195 8.71497C7.93313 8.56376 7.94391 8.38824 8.03072 8.24659C8.11753 8.10494 8.26903 8.01566 8.435 8.00834L11.2549 7.88397L4 1.59852Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/cursor_text_icon.rs b/packages/icons/dioxus/src/cursor_text_icon.rs new file mode 100644 index 00000000..a68ec346 --- /dev/null +++ b/packages/icons/dioxus/src/cursor_text_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct CursorTextIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn CursorTextIcon(props: CursorTextIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.5 1C4.22386 1 4 1.22386 4 1.5C4 1.77614 4.22386 2 4.5 2C5.42215 2 6.0399 2.23054 6.42075 2.56379C6.79286 2.88939 7 3.36626 7 4V7H5.75C5.47386 7 5.25 7.22386 5.25 7.5C5.25 7.77614 5.47386 8 5.75 8H7V11C7 11.6337 6.79286 12.1106 6.42075 12.4362C6.0399 12.7695 5.42215 13 4.5 13C4.22386 13 4 13.2239 4 13.5C4 13.7761 4.22386 14 4.5 14C5.57785 14 6.4601 13.7305 7.07925 13.1888C7.24168 13.0467 7.38169 12.8896 7.5 12.7198C7.61832 12.8896 7.75832 13.0467 7.92075 13.1888C8.5399 13.7305 9.42215 14 10.5 14C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13C9.57785 13 8.9601 12.7695 8.57925 12.4362C8.20714 12.1106 8 11.6337 8 11V8H9.25C9.52614 8 9.75 7.77614 9.75 7.5C9.75 7.22386 9.52614 7 9.25 7H8V4C8 3.36626 8.20714 2.88939 8.57925 2.56379C8.9601 2.23054 9.57785 2 10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1C9.42215 1 8.5399 1.26946 7.92075 1.81121C7.75832 1.95333 7.61832 2.11043 7.5 2.28023C7.38168 2.11043 7.24168 1.95333 7.07925 1.81121C6.4601 1.26946 5.57785 1 4.5 1Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/dash_icon.rs b/packages/icons/dioxus/src/dash_icon.rs new file mode 100644 index 00000000..863dd811 --- /dev/null +++ b/packages/icons/dioxus/src/dash_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DashIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DashIcon(props: DashIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5 7.5C5 7.22386 5.22386 7 5.5 7H9.5C9.77614 7 10 7.22386 10 7.5C10 7.77614 9.77614 8 9.5 8H5.5C5.22386 8 5 7.77614 5 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/dashboard_icon.rs b/packages/icons/dioxus/src/dashboard_icon.rs new file mode 100644 index 00000000..98613cb3 --- /dev/null +++ b/packages/icons/dioxus/src/dashboard_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DashboardIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DashboardIcon(props: DashboardIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.8 1L2.74967 0.99997C2.52122 0.999752 2.32429 0.999564 2.14983 1.04145C1.60136 1.17312 1.17312 1.60136 1.04145 2.14983C0.999564 2.32429 0.999752 2.52122 0.99997 2.74967L1 2.8V5.2L0.99997 5.25033C0.999752 5.47878 0.999564 5.67572 1.04145 5.85017C1.17312 6.39864 1.60136 6.82688 2.14983 6.95856C2.32429 7.00044 2.52122 7.00025 2.74967 7.00003L2.8 7H5.2L5.25033 7.00003C5.47878 7.00025 5.67572 7.00044 5.85017 6.95856C6.39864 6.82688 6.82688 6.39864 6.95856 5.85017C7.00044 5.67572 7.00025 5.47878 7.00003 5.25033L7 5.2V2.8L7.00003 2.74967C7.00025 2.52122 7.00044 2.32429 6.95856 2.14983C6.82688 1.60136 6.39864 1.17312 5.85017 1.04145C5.67572 0.999564 5.47878 0.999752 5.25033 0.99997L5.2 1H2.8ZM2.38328 2.01382C2.42632 2.00348 2.49222 2 2.8 2H5.2C5.50779 2 5.57369 2.00348 5.61672 2.01382C5.79955 2.05771 5.94229 2.20045 5.98619 2.38328C5.99652 2.42632 6 2.49222 6 2.8V5.2C6 5.50779 5.99652 5.57369 5.98619 5.61672C5.94229 5.79955 5.79955 5.94229 5.61672 5.98619C5.57369 5.99652 5.50779 6 5.2 6H2.8C2.49222 6 2.42632 5.99652 2.38328 5.98619C2.20045 5.94229 2.05771 5.79955 2.01382 5.61672C2.00348 5.57369 2 5.50779 2 5.2V2.8C2 2.49222 2.00348 2.42632 2.01382 2.38328C2.05771 2.20045 2.20045 2.05771 2.38328 2.01382ZM9.8 1L9.74967 0.99997C9.52122 0.999752 9.32429 0.999564 9.14983 1.04145C8.60136 1.17312 8.17312 1.60136 8.04145 2.14983C7.99956 2.32429 7.99975 2.52122 7.99997 2.74967L8 2.8V5.2L7.99997 5.25033C7.99975 5.47878 7.99956 5.67572 8.04145 5.85017C8.17312 6.39864 8.60136 6.82688 9.14983 6.95856C9.32429 7.00044 9.52122 7.00025 9.74967 7.00003L9.8 7H12.2L12.2503 7.00003C12.4788 7.00025 12.6757 7.00044 12.8502 6.95856C13.3986 6.82688 13.8269 6.39864 13.9586 5.85017C14.0004 5.67572 14.0003 5.47878 14 5.25033L14 5.2V2.8L14 2.74967C14.0003 2.52122 14.0004 2.32429 13.9586 2.14983C13.8269 1.60136 13.3986 1.17312 12.8502 1.04145C12.6757 0.999564 12.4788 0.999752 12.2503 0.99997L12.2 1H9.8ZM9.38328 2.01382C9.42632 2.00348 9.49222 2 9.8 2H12.2C12.5078 2 12.5737 2.00348 12.6167 2.01382C12.7995 2.05771 12.9423 2.20045 12.9862 2.38328C12.9965 2.42632 13 2.49222 13 2.8V5.2C13 5.50779 12.9965 5.57369 12.9862 5.61672C12.9423 5.79955 12.7995 5.94229 12.6167 5.98619C12.5737 5.99652 12.5078 6 12.2 6H9.8C9.49222 6 9.42632 5.99652 9.38328 5.98619C9.20045 5.94229 9.05771 5.79955 9.01382 5.61672C9.00348 5.57369 9 5.50779 9 5.2V2.8C9 2.49222 9.00348 2.42632 9.01382 2.38328C9.05771 2.20045 9.20045 2.05771 9.38328 2.01382ZM2.74967 7.99997L2.8 8H5.2L5.25033 7.99997C5.47878 7.99975 5.67572 7.99956 5.85017 8.04145C6.39864 8.17312 6.82688 8.60136 6.95856 9.14983C7.00044 9.32429 7.00025 9.52122 7.00003 9.74967L7 9.8V12.2L7.00003 12.2503C7.00025 12.4788 7.00044 12.6757 6.95856 12.8502C6.82688 13.3986 6.39864 13.8269 5.85017 13.9586C5.67572 14.0004 5.47878 14.0003 5.25033 14L5.2 14H2.8L2.74967 14C2.52122 14.0003 2.32429 14.0004 2.14983 13.9586C1.60136 13.8269 1.17312 13.3986 1.04145 12.8502C0.999564 12.6757 0.999752 12.4788 0.99997 12.2503L1 12.2V9.8L0.99997 9.74967C0.999752 9.52122 0.999564 9.32429 1.04145 9.14983C1.17312 8.60136 1.60136 8.17312 2.14983 8.04145C2.32429 7.99956 2.52122 7.99975 2.74967 7.99997ZM2.8 9C2.49222 9 2.42632 9.00348 2.38328 9.01382C2.20045 9.05771 2.05771 9.20045 2.01382 9.38328C2.00348 9.42632 2 9.49222 2 9.8V12.2C2 12.5078 2.00348 12.5737 2.01382 12.6167C2.05771 12.7995 2.20045 12.9423 2.38328 12.9862C2.42632 12.9965 2.49222 13 2.8 13H5.2C5.50779 13 5.57369 12.9965 5.61672 12.9862C5.79955 12.9423 5.94229 12.7995 5.98619 12.6167C5.99652 12.5737 6 12.5078 6 12.2V9.8C6 9.49222 5.99652 9.42632 5.98619 9.38328C5.94229 9.20045 5.79955 9.05771 5.61672 9.01382C5.57369 9.00348 5.50779 9 5.2 9H2.8ZM9.8 8L9.74967 7.99997C9.52122 7.99975 9.32429 7.99956 9.14983 8.04145C8.60136 8.17312 8.17312 8.60136 8.04145 9.14983C7.99956 9.32429 7.99975 9.52122 7.99997 9.74967L8 9.8V12.2L7.99997 12.2503C7.99975 12.4788 7.99956 12.6757 8.04145 12.8502C8.17312 13.3986 8.60136 13.8269 9.14983 13.9586C9.32429 14.0004 9.52122 14.0003 9.74967 14L9.8 14H12.2L12.2503 14C12.4788 14.0003 12.6757 14.0004 12.8502 13.9586C13.3986 13.8269 13.8269 13.3986 13.9586 12.8502C14.0004 12.6757 14.0003 12.4788 14 12.2503L14 12.2V9.8L14 9.74967C14.0003 9.52122 14.0004 9.32429 13.9586 9.14983C13.8269 8.60136 13.3986 8.17312 12.8502 8.04145C12.6757 7.99956 12.4788 7.99975 12.2503 7.99997L12.2 8H9.8ZM9.38328 9.01382C9.42632 9.00348 9.49222 9 9.8 9H12.2C12.5078 9 12.5737 9.00348 12.6167 9.01382C12.7995 9.05771 12.9423 9.20045 12.9862 9.38328C12.9965 9.42632 13 9.49222 13 9.8V12.2C13 12.5078 12.9965 12.5737 12.9862 12.6167C12.9423 12.7995 12.7995 12.9423 12.6167 12.9862C12.5737 12.9965 12.5078 13 12.2 13H9.8C9.49222 13 9.42632 12.9965 9.38328 12.9862C9.20045 12.9423 9.05771 12.7995 9.01382 12.6167C9.00348 12.5737 9 12.5078 9 12.2V9.8C9 9.49222 9.00348 9.42632 9.01382 9.38328C9.05771 9.20045 9.20045 9.05771 9.38328 9.01382Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/desktop_icon.rs b/packages/icons/dioxus/src/desktop_icon.rs new file mode 100644 index 00000000..e53d5614 --- /dev/null +++ b/packages/icons/dioxus/src/desktop_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DesktopIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DesktopIcon(props: DesktopIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 3.25C1 3.11193 1.11193 3 1.25 3H13.75C13.8881 3 14 3.11193 14 3.25V10.75C14 10.8881 13.8881 11 13.75 11H1.25C1.11193 11 1 10.8881 1 10.75V3.25ZM1.25 2C0.559643 2 0 2.55964 0 3.25V10.75C0 11.4404 0.559644 12 1.25 12H5.07341L4.82991 13.2986C4.76645 13.6371 5.02612 13.95 5.37049 13.95H9.62951C9.97389 13.95 10.2336 13.6371 10.1701 13.2986L9.92659 12H13.75C14.4404 12 15 11.4404 15 10.75V3.25C15 2.55964 14.4404 2 13.75 2H1.25ZM9.01091 12H5.98909L5.79222 13.05H9.20778L9.01091 12Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/dimensions_icon.rs b/packages/icons/dioxus/src/dimensions_icon.rs new file mode 100644 index 00000000..c42e1a9c --- /dev/null +++ b/packages/icons/dioxus/src/dimensions_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DimensionsIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DimensionsIcon(props: DimensionsIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.00014 2.73895C3.00014 2.94698 2.76087 3.06401 2.59666 2.93628L1.00386 1.69744C0.875177 1.59735 0.875177 1.40286 1.00386 1.30277L2.59666 0.063928C2.76087 -0.0637944 3.00014 0.0532293 3.00014 0.261266V1.00012H9.00009V0.261296C9.00009 0.0532591 9.23936 -0.0637646 9.40358 0.0639578L10.9964 1.3028C11.1251 1.40289 11.1251 1.59738 10.9964 1.69747L9.40358 2.93631C9.23936 3.06404 9.00009 2.94701 9.00009 2.73898V2.00012H3.00014V2.73895ZM9.50002 4.99998H2.50002C2.22388 4.99998 2.00002 5.22384 2.00002 5.49998V12.5C2.00002 12.7761 2.22388 13 2.50002 13H9.50002C9.77616 13 10 12.7761 10 12.5V5.49998C10 5.22384 9.77616 4.99998 9.50002 4.99998ZM2.50002 3.99998C1.67159 3.99998 1.00002 4.67156 1.00002 5.49998V12.5C1.00002 13.3284 1.67159 14 2.50002 14H9.50002C10.3284 14 11 13.3284 11 12.5V5.49998C11 4.67156 10.3284 3.99998 9.50002 3.99998H2.50002ZM14.7389 6.00001H14V12H14.7389C14.9469 12 15.064 12.2393 14.9362 12.4035L13.6974 13.9963C13.5973 14.125 13.4028 14.125 13.3027 13.9963L12.0639 12.4035C11.9362 12.2393 12.0532 12 12.2612 12H13V6.00001H12.2612C12.0532 6.00001 11.9361 5.76074 12.0639 5.59653L13.3027 4.00373C13.4028 3.87505 13.5973 3.87505 13.6974 4.00374L14.9362 5.59653C15.0639 5.76074 14.9469 6.00001 14.7389 6.00001Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/disc_icon.rs b/packages/icons/dioxus/src/disc_icon.rs new file mode 100644 index 00000000..f84b908f --- /dev/null +++ b/packages/icons/dioxus/src/disc_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DiscIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DiscIcon(props: DiscIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.877075C3.84222 0.877075 0.877075 3.84222 0.877075 7.49991C0.877075 11.1576 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1576 14.1227 7.49991C14.1227 3.84222 11.1576 0.877075 7.49991 0.877075ZM1.82708 7.49991C1.82708 4.36689 4.36689 1.82707 7.49991 1.82707C10.6329 1.82707 13.1727 4.36689 13.1727 7.49991C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49991ZM8.37287 7.50006C8.37287 7.98196 7.98221 8.37263 7.5003 8.37263C7.01839 8.37263 6.62773 7.98196 6.62773 7.50006C6.62773 7.01815 7.01839 6.62748 7.5003 6.62748C7.98221 6.62748 8.37287 7.01815 8.37287 7.50006ZM9.32287 7.50006C9.32287 8.50664 8.50688 9.32263 7.5003 9.32263C6.49372 9.32263 5.67773 8.50664 5.67773 7.50006C5.67773 6.49348 6.49372 5.67748 7.5003 5.67748C8.50688 5.67748 9.32287 6.49348 9.32287 7.50006Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/discord_logo_icon.rs b/packages/icons/dioxus/src/discord_logo_icon.rs new file mode 100644 index 00000000..6cd83c13 --- /dev/null +++ b/packages/icons/dioxus/src/discord_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DiscordLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DiscordLogoIcon(props: DiscordLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.07451 1.82584C5.03267 1.81926 4.99014 1.81825 4.94803 1.82284C4.10683 1.91446 2.82673 2.36828 2.07115 2.77808C2.02106 2.80525 1.97621 2.84112 1.93869 2.88402C1.62502 3.24266 1.34046 3.82836 1.11706 4.38186C0.887447 4.95076 0.697293 5.55032 0.588937 5.98354C0.236232 7.39369 0.042502 9.08728 0.0174948 10.6925C0.0162429 10.7729 0.0351883 10.8523 0.0725931 10.9234C0.373679 11.496 1.02015 12.027 1.66809 12.4152C2.32332 12.8078 3.08732 13.1182 3.70385 13.1778C3.85335 13.1922 4.00098 13.1358 4.10282 13.0255C4.2572 12.8581 4.5193 12.4676 4.71745 12.1643C4.80739 12.0267 4.89157 11.8953 4.95845 11.7901C5.62023 11.9106 6.45043 11.9801 7.50002 11.9801C8.54844 11.9801 9.37796 11.9107 10.0394 11.7905C10.1062 11.8957 10.1903 12.0269 10.2801 12.1643C10.4783 12.4676 10.7404 12.8581 10.8947 13.0255C10.9966 13.1358 11.1442 13.1922 11.2937 13.1778C11.9102 13.1182 12.6742 12.8078 13.3295 12.4152C13.9774 12.027 14.6239 11.496 14.925 10.9234C14.9624 10.8523 14.9813 10.7729 14.9801 10.6925C14.9551 9.08728 14.7613 7.39369 14.4086 5.98354C14.3003 5.55032 14.1101 4.95076 13.8805 4.38186C13.6571 3.82836 13.3725 3.24266 13.0589 2.88402C13.0214 2.84112 12.9765 2.80525 12.9264 2.77808C12.1708 2.36828 10.8907 1.91446 10.0495 1.82284C10.0074 1.81825 9.96489 1.81926 9.92305 1.82584C9.71676 1.85825 9.5391 1.96458 9.40809 2.06355C9.26977 2.16804 9.1413 2.29668 9.0304 2.42682C8.86968 2.61544 8.71437 2.84488 8.61428 3.06225C8.27237 3.03501 7.90138 3.02 7.5 3.02C7.0977 3.02 6.72593 3.03508 6.38337 3.06244C6.28328 2.84501 6.12792 2.61549 5.96716 2.42682C5.85626 2.29668 5.72778 2.16804 5.58947 2.06355C5.45846 1.96458 5.2808 1.85825 5.07451 1.82584ZM11.0181 11.5382C11.0395 11.5713 11.0615 11.6051 11.0838 11.6392C11.2169 11.843 11.3487 12.0385 11.4508 12.1809C11.8475 12.0916 12.352 11.8818 12.8361 11.5917C13.3795 11.2661 13.8098 10.8918 14.0177 10.5739C13.9852 9.06758 13.7993 7.50369 13.4773 6.21648C13.38 5.82759 13.2038 5.27021 12.9903 4.74117C12.7893 4.24326 12.5753 3.82162 12.388 3.5792C11.7376 3.24219 10.7129 2.88582 10.0454 2.78987C10.0308 2.79839 10.0113 2.81102 9.98675 2.82955C9.91863 2.881 9.84018 2.95666 9.76111 3.04945C9.71959 3.09817 9.68166 3.1471 9.64768 3.19449C9.953 3.25031 10.2253 3.3171 10.4662 3.39123C11.1499 3.6016 11.6428 3.89039 11.884 4.212C12.0431 4.42408 12.0001 4.72494 11.788 4.884C11.5759 5.04306 11.2751 5.00008 11.116 4.788C11.0572 4.70961 10.8001 4.4984 10.1838 4.30877C9.58933 4.12585 8.71356 3.98 7.5 3.98C6.28644 3.98 5.41067 4.12585 4.81616 4.30877C4.19988 4.4984 3.94279 4.70961 3.884 4.788C3.72494 5.00008 3.42408 5.04306 3.212 4.884C2.99992 4.72494 2.95694 4.42408 3.116 4.212C3.35721 3.89039 3.85011 3.6016 4.53383 3.39123C4.77418 3.31727 5.04571 3.25062 5.35016 3.19488C5.31611 3.14738 5.27808 3.09831 5.23645 3.04945C5.15738 2.95666 5.07893 2.881 5.01081 2.82955C4.98628 2.81102 4.96674 2.79839 4.95217 2.78987C4.28464 2.88582 3.25999 3.24219 2.60954 3.5792C2.42226 3.82162 2.20825 4.24326 2.00729 4.74117C1.79376 5.27021 1.61752 5.82759 1.52025 6.21648C1.19829 7.50369 1.01236 9.06758 0.97986 10.5739C1.18772 10.8918 1.61807 11.2661 2.16148 11.5917C2.64557 11.8818 3.15003 12.0916 3.5468 12.1809C3.64885 12.0385 3.78065 11.843 3.9138 11.6392C3.93626 11.6048 3.95838 11.5708 3.97996 11.5375C3.19521 11.2591 2.77361 10.8758 2.50064 10.4664C2.35359 10.2458 2.4132 9.94778 2.63377 9.80074C2.85435 9.65369 3.15236 9.71329 3.29941 9.93387C3.56077 10.3259 4.24355 11.0201 7.50002 11.0201C10.7565 11.0201 11.4392 10.326 11.7006 9.93386C11.8477 9.71329 12.1457 9.65369 12.3663 9.80074C12.5869 9.94779 12.6465 10.2458 12.4994 10.4664C12.2262 10.8762 11.8041 11.2598 11.0181 11.5382ZM4.08049 7.01221C4.32412 6.74984 4.65476 6.60162 5.00007 6.59998C5.34538 6.60162 5.67603 6.74984 5.91966 7.01221C6.16329 7.27459 6.30007 7.62974 6.30007 7.99998C6.30007 8.37021 6.16329 8.72536 5.91966 8.98774C5.67603 9.25011 5.34538 9.39833 5.00007 9.39998C4.65476 9.39833 4.32412 9.25011 4.08049 8.98774C3.83685 8.72536 3.70007 8.37021 3.70007 7.99998C3.70007 7.62974 3.83685 7.27459 4.08049 7.01221ZM9.99885 6.59998C9.65354 6.60162 9.3229 6.74984 9.07926 7.01221C8.83563 7.27459 8.69885 7.62974 8.69885 7.99998C8.69885 8.37021 8.83563 8.72536 9.07926 8.98774C9.3229 9.25011 9.65354 9.39833 9.99885 9.39998C10.3442 9.39833 10.6748 9.25011 10.9184 8.98774C11.1621 8.72536 11.2989 8.37021 11.2989 7.99998C11.2989 7.62974 11.1621 7.27459 10.9184 7.01221C10.6748 6.74984 10.3442 6.60162 9.99885 6.59998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/divider_horizontal_icon.rs b/packages/icons/dioxus/src/divider_horizontal_icon.rs new file mode 100644 index 00000000..8034ce96 --- /dev/null +++ b/packages/icons/dioxus/src/divider_horizontal_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DividerHorizontalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DividerHorizontalIcon(props: DividerHorizontalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 7.5C2 7.22386 2.22386 7 2.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/divider_vertical_icon.rs b/packages/icons/dioxus/src/divider_vertical_icon.rs new file mode 100644 index 00000000..c07026a4 --- /dev/null +++ b/packages/icons/dioxus/src/divider_vertical_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DividerVerticalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DividerVerticalIcon(props: DividerVerticalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 2C7.77614 2 8 2.22386 8 2.5L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 2.5C7 2.22386 7.22386 2 7.5 2Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/dot_filled_icon.rs b/packages/icons/dioxus/src/dot_filled_icon.rs new file mode 100644 index 00000000..352bdff4 --- /dev/null +++ b/packages/icons/dioxus/src/dot_filled_icon.rs @@ -0,0 +1,28 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DotFilledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DotFilledIcon(props: DotFilledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "d": "M9.875 7.5C9.875 8.81168 8.81168 9.875 7.5 9.875C6.18832 9.875 5.125 8.81168 5.125 7.5C5.125 6.18832 6.18832 5.125 7.5 5.125C8.81168 5.125 9.875 6.18832 9.875 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/dot_icon.rs b/packages/icons/dioxus/src/dot_icon.rs new file mode 100644 index 00000000..a73579b6 --- /dev/null +++ b/packages/icons/dioxus/src/dot_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DotIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DotIcon(props: DotIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 9.125C8.39746 9.125 9.125 8.39746 9.125 7.5C9.125 6.60254 8.39746 5.875 7.5 5.875C6.60254 5.875 5.875 6.60254 5.875 7.5C5.875 8.39746 6.60254 9.125 7.5 9.125ZM7.5 10.125C8.94975 10.125 10.125 8.94975 10.125 7.5C10.125 6.05025 8.94975 4.875 7.5 4.875C6.05025 4.875 4.875 6.05025 4.875 7.5C4.875 8.94975 6.05025 10.125 7.5 10.125Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/dots_horizontal_icon.rs b/packages/icons/dioxus/src/dots_horizontal_icon.rs new file mode 100644 index 00000000..05793622 --- /dev/null +++ b/packages/icons/dioxus/src/dots_horizontal_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DotsHorizontalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DotsHorizontalIcon(props: DotsHorizontalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/dots_vertical_icon.rs b/packages/icons/dioxus/src/dots_vertical_icon.rs new file mode 100644 index 00000000..0995c2e9 --- /dev/null +++ b/packages/icons/dioxus/src/dots_vertical_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DotsVerticalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DotsVerticalIcon(props: DotsVerticalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.625 2.5C8.625 3.12132 8.12132 3.625 7.5 3.625C6.87868 3.625 6.375 3.12132 6.375 2.5C6.375 1.87868 6.87868 1.375 7.5 1.375C8.12132 1.375 8.625 1.87868 8.625 2.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM7.5 13.625C8.12132 13.625 8.625 13.1213 8.625 12.5C8.625 11.8787 8.12132 11.375 7.5 11.375C6.87868 11.375 6.375 11.8787 6.375 12.5C6.375 13.1213 6.87868 13.625 7.5 13.625Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/double_arrow_down_icon.rs b/packages/icons/dioxus/src/double_arrow_down_icon.rs new file mode 100644 index 00000000..0de63f9a --- /dev/null +++ b/packages/icons/dioxus/src/double_arrow_down_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DoubleArrowDownIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DoubleArrowDownIcon(props: DoubleArrowDownIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.85355 2.14645C3.65829 1.95118 3.34171 1.95118 3.14645 2.14645C2.95118 2.34171 2.95118 2.65829 3.14645 2.85355L7.14645 6.85355C7.34171 7.04882 7.65829 7.04882 7.85355 6.85355L11.8536 2.85355C12.0488 2.65829 12.0488 2.34171 11.8536 2.14645C11.6583 1.95118 11.3417 1.95118 11.1464 2.14645L7.5 5.79289L3.85355 2.14645ZM3.85355 8.14645C3.65829 7.95118 3.34171 7.95118 3.14645 8.14645C2.95118 8.34171 2.95118 8.65829 3.14645 8.85355L7.14645 12.8536C7.34171 13.0488 7.65829 13.0488 7.85355 12.8536L11.8536 8.85355C12.0488 8.65829 12.0488 8.34171 11.8536 8.14645C11.6583 7.95118 11.3417 7.95118 11.1464 8.14645L7.5 11.7929L3.85355 8.14645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/double_arrow_left_icon.rs b/packages/icons/dioxus/src/double_arrow_left_icon.rs new file mode 100644 index 00000000..921821bc --- /dev/null +++ b/packages/icons/dioxus/src/double_arrow_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DoubleArrowLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DoubleArrowLeftIcon(props: DoubleArrowLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/double_arrow_right_icon.rs b/packages/icons/dioxus/src/double_arrow_right_icon.rs new file mode 100644 index 00000000..b3117f8f --- /dev/null +++ b/packages/icons/dioxus/src/double_arrow_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DoubleArrowRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DoubleArrowRightIcon(props: DoubleArrowRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/double_arrow_up_icon.rs b/packages/icons/dioxus/src/double_arrow_up_icon.rs new file mode 100644 index 00000000..41de6534 --- /dev/null +++ b/packages/icons/dioxus/src/double_arrow_up_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DoubleArrowUpIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DoubleArrowUpIcon(props: DoubleArrowUpIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.1464 6.85355C11.3417 7.04882 11.6583 7.04882 11.8536 6.85355C12.0488 6.65829 12.0488 6.34171 11.8536 6.14645L7.85355 2.14645C7.65829 1.95118 7.34171 1.95118 7.14645 2.14645L3.14645 6.14645C2.95118 6.34171 2.95118 6.65829 3.14645 6.85355C3.34171 7.04882 3.65829 7.04882 3.85355 6.85355L7.5 3.20711L11.1464 6.85355ZM11.1464 12.8536C11.3417 13.0488 11.6583 13.0488 11.8536 12.8536C12.0488 12.6583 12.0488 12.3417 11.8536 12.1464L7.85355 8.14645C7.65829 7.95118 7.34171 7.95118 7.14645 8.14645L3.14645 12.1464C2.95118 12.3417 2.95118 12.6583 3.14645 12.8536C3.34171 13.0488 3.65829 13.0488 3.85355 12.8536L7.5 9.20711L11.1464 12.8536Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/download_icon.rs b/packages/icons/dioxus/src/download_icon.rs new file mode 100644 index 00000000..11eff087 --- /dev/null +++ b/packages/icons/dioxus/src/download_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DownloadIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DownloadIcon(props: DownloadIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.50005 1.04999C7.74858 1.04999 7.95005 1.25146 7.95005 1.49999V8.41359L10.1819 6.18179C10.3576 6.00605 10.6425 6.00605 10.8182 6.18179C10.994 6.35753 10.994 6.64245 10.8182 6.81819L7.81825 9.81819C7.64251 9.99392 7.35759 9.99392 7.18185 9.81819L4.18185 6.81819C4.00611 6.64245 4.00611 6.35753 4.18185 6.18179C4.35759 6.00605 4.64251 6.00605 4.81825 6.18179L7.05005 8.41359V1.49999C7.05005 1.25146 7.25152 1.04999 7.50005 1.04999ZM2.5 10C2.77614 10 3 10.2239 3 10.5V12C3 12.5539 3.44565 13 3.99635 13H11.0012C11.5529 13 12 12.5528 12 12V10.5C12 10.2239 12.2239 10 12.5 10C12.7761 10 13 10.2239 13 10.5V12C13 13.1041 12.1062 14 11.0012 14H3.99635C2.89019 14 2 13.103 2 12V10.5C2 10.2239 2.22386 10 2.5 10Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/drag_handle_dots_1_icon.rs b/packages/icons/dioxus/src/drag_handle_dots_1_icon.rs new file mode 100644 index 00000000..36b6aa31 --- /dev/null +++ b/packages/icons/dioxus/src/drag_handle_dots_1_icon.rs @@ -0,0 +1,168 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DragHandleDots1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DragHandleDots1Icon(props: DragHandleDots1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + circle { + "cx": "4.5", + "cy": "2.5", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "4.5", + "cy": "4.5", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "4.5", + "cy": "6.499", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "4.5", + "cy": "8.499", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "4.5", + "cy": "10.498", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "4.5", + "cy": "12.498", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "6.5", + "cy": "2.5", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "6.5", + "cy": "4.5", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "6.5", + "cy": "6.499", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "6.5", + "cy": "8.499", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "6.5", + "cy": "10.498", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "6.5", + "cy": "12.498", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "8.499", + "cy": "2.5", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "8.499", + "cy": "4.5", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "8.499", + "cy": "6.499", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "8.499", + "cy": "8.499", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "8.499", + "cy": "10.498", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "8.499", + "cy": "12.498", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "10.499", + "cy": "2.5", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "10.499", + "cy": "4.5", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "10.499", + "cy": "6.499", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "10.499", + "cy": "8.499", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "10.499", + "cy": "10.498", + "r": ".6", + "fill": "{props.color}", + } + circle { + "cx": "10.499", + "cy": "12.498", + "r": ".6", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/drag_handle_dots_2_icon.rs b/packages/icons/dioxus/src/drag_handle_dots_2_icon.rs new file mode 100644 index 00000000..927cff42 --- /dev/null +++ b/packages/icons/dioxus/src/drag_handle_dots_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DragHandleDots2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DragHandleDots2Icon(props: DragHandleDots2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.5 4.625C6.12132 4.625 6.625 4.12132 6.625 3.5C6.625 2.87868 6.12132 2.375 5.5 2.375C4.87868 2.375 4.375 2.87868 4.375 3.5C4.375 4.12132 4.87868 4.625 5.5 4.625ZM9.5 4.625C10.1213 4.625 10.625 4.12132 10.625 3.5C10.625 2.87868 10.1213 2.375 9.5 2.375C8.87868 2.375 8.375 2.87868 8.375 3.5C8.375 4.12132 8.87868 4.625 9.5 4.625ZM10.625 7.5C10.625 8.12132 10.1213 8.625 9.5 8.625C8.87868 8.625 8.375 8.12132 8.375 7.5C8.375 6.87868 8.87868 6.375 9.5 6.375C10.1213 6.375 10.625 6.87868 10.625 7.5ZM5.5 8.625C6.12132 8.625 6.625 8.12132 6.625 7.5C6.625 6.87868 6.12132 6.375 5.5 6.375C4.87868 6.375 4.375 6.87868 4.375 7.5C4.375 8.12132 4.87868 8.625 5.5 8.625ZM10.625 11.5C10.625 12.1213 10.1213 12.625 9.5 12.625C8.87868 12.625 8.375 12.1213 8.375 11.5C8.375 10.8787 8.87868 10.375 9.5 10.375C10.1213 10.375 10.625 10.8787 10.625 11.5ZM5.5 12.625C6.12132 12.625 6.625 12.1213 6.625 11.5C6.625 10.8787 6.12132 10.375 5.5 10.375C4.87868 10.375 4.375 10.8787 4.375 11.5C4.375 12.1213 4.87868 12.625 5.5 12.625Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/drag_handle_horizontal_icon.rs b/packages/icons/dioxus/src/drag_handle_horizontal_icon.rs new file mode 100644 index 00000000..c023d902 --- /dev/null +++ b/packages/icons/dioxus/src/drag_handle_horizontal_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DragHandleHorizontalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DragHandleHorizontalIcon(props: DragHandleHorizontalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.49998 4.09998C2.27906 4.09998 2.09998 4.27906 2.09998 4.49998C2.09998 4.72089 2.27906 4.89998 2.49998 4.89998H12.5C12.7209 4.89998 12.9 4.72089 12.9 4.49998C12.9 4.27906 12.7209 4.09998 12.5 4.09998H2.49998ZM2.49998 6.09998C2.27906 6.09998 2.09998 6.27906 2.09998 6.49998C2.09998 6.72089 2.27906 6.89998 2.49998 6.89998H12.5C12.7209 6.89998 12.9 6.72089 12.9 6.49998C12.9 6.27906 12.7209 6.09998 12.5 6.09998H2.49998ZM2.09998 8.49998C2.09998 8.27906 2.27906 8.09998 2.49998 8.09998H12.5C12.7209 8.09998 12.9 8.27906 12.9 8.49998C12.9 8.72089 12.7209 8.89998 12.5 8.89998H2.49998C2.27906 8.89998 2.09998 8.72089 2.09998 8.49998ZM2.49998 10.1C2.27906 10.1 2.09998 10.2791 2.09998 10.5C2.09998 10.7209 2.27906 10.9 2.49998 10.9H12.5C12.7209 10.9 12.9 10.7209 12.9 10.5C12.9 10.2791 12.7209 10.1 12.5 10.1H2.49998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/drag_handle_vertical_icon.rs b/packages/icons/dioxus/src/drag_handle_vertical_icon.rs new file mode 100644 index 00000000..5b9eea58 --- /dev/null +++ b/packages/icons/dioxus/src/drag_handle_vertical_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DragHandleVerticalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DragHandleVerticalIcon(props: DragHandleVerticalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.09998 12.5C4.09998 12.7209 4.27906 12.9 4.49998 12.9C4.72089 12.9 4.89998 12.7209 4.89998 12.5L4.89998 2.50002C4.89998 2.27911 4.72089 2.10003 4.49998 2.10003C4.27906 2.10003 4.09998 2.27911 4.09998 2.50002L4.09998 12.5ZM6.09998 12.5C6.09998 12.7209 6.27906 12.9 6.49998 12.9C6.72089 12.9 6.89998 12.7209 6.89998 12.5L6.89998 2.50002C6.89998 2.27911 6.72089 2.10003 6.49998 2.10003C6.27906 2.10003 6.09998 2.27911 6.09998 2.50002L6.09998 12.5ZM8.49998 12.9C8.27906 12.9 8.09998 12.7209 8.09998 12.5L8.09998 2.50002C8.09998 2.27911 8.27906 2.10002 8.49998 2.10002C8.72089 2.10002 8.89998 2.27911 8.89998 2.50002L8.89998 12.5C8.89998 12.7209 8.72089 12.9 8.49998 12.9ZM10.1 12.5C10.1 12.7209 10.2791 12.9 10.5 12.9C10.7209 12.9 10.9 12.7209 10.9 12.5L10.9 2.50002C10.9 2.27911 10.7209 2.10002 10.5 2.10002C10.2791 2.10002 10.1 2.27911 10.1 2.50002L10.1 12.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/drawing_pin_filled_icon.rs b/packages/icons/dioxus/src/drawing_pin_filled_icon.rs new file mode 100644 index 00000000..d80b6dcc --- /dev/null +++ b/packages/icons/dioxus/src/drawing_pin_filled_icon.rs @@ -0,0 +1,36 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DrawingPinFilledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DrawingPinFilledIcon(props: DrawingPinFilledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.62129 1.13607C9.81656 0.940808 10.1331 0.940809 10.3284 1.13607L11.3891 2.19673L12.8033 3.61094L13.8639 4.6716C14.0592 4.86687 14.0592 5.18345 13.8639 5.37871C13.6687 5.57397 13.3521 5.57397 13.1568 5.37871L12.5038 4.7257L8.86727 9.57443L9.97485 10.682C10.1701 10.8773 10.1701 11.1939 9.97485 11.3891C9.77959 11.5844 9.463 11.5844 9.26774 11.3891L7.85353 9.97491L6.79287 8.91425L3.5225 12.1846C3.32724 12.3799 3.01065 12.3799 2.81539 12.1846C2.62013 11.9894 2.62013 11.6728 2.81539 11.4775L6.08576 8.20714L5.0251 7.14648L3.61089 5.73226C3.41563 5.537 3.41562 5.22042 3.61089 5.02516C3.80615 4.8299 4.12273 4.8299 4.31799 5.02516L5.42557 6.13274L10.2743 2.49619L9.62129 1.84318C9.42603 1.64792 9.42603 1.33133 9.62129 1.13607Z", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.62129 1.13607C9.81656 0.940808 10.1331 0.940809 10.3284 1.13607L11.3891 2.19673L12.8033 3.61094L13.8639 4.6716C14.0592 4.86687 14.0592 5.18345 13.8639 5.37871C13.6687 5.57397 13.3521 5.57397 13.1568 5.37871L12.5038 4.7257L8.86727 9.57443L9.97485 10.682C10.1701 10.8773 10.1701 11.1939 9.97485 11.3891C9.77959 11.5844 9.463 11.5844 9.26774 11.3891L7.85353 9.97491L6.79287 8.91425L3.5225 12.1846C3.32724 12.3799 3.01065 12.3799 2.81539 12.1846C2.62013 11.9894 2.62013 11.6728 2.81539 11.4775L6.08576 8.20714L5.0251 7.14648L3.61089 5.73226C3.41563 5.537 3.41562 5.22042 3.61089 5.02516C3.80615 4.8299 4.12273 4.8299 4.31799 5.02516L5.42557 6.13274L10.2743 2.49619L9.62129 1.84318C9.42603 1.64792 9.42603 1.33133 9.62129 1.13607Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/drawing_pin_icon.rs b/packages/icons/dioxus/src/drawing_pin_icon.rs new file mode 100644 index 00000000..29579425 --- /dev/null +++ b/packages/icons/dioxus/src/drawing_pin_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DrawingPinIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DrawingPinIcon(props: DrawingPinIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10.3285 1.13607C10.1332 0.940809 9.81662 0.940808 9.62136 1.13607C9.42609 1.33133 9.42609 1.64792 9.62136 1.84318L10.2744 2.49619L5.42563 6.13274L4.31805 5.02516C4.12279 4.8299 3.80621 4.8299 3.61095 5.02516C3.41569 5.22042 3.41569 5.537 3.61095 5.73226L5.02516 7.14648L6.08582 8.20714L2.81545 11.4775C2.62019 11.6728 2.62019 11.9894 2.81545 12.1846C3.01072 12.3799 3.3273 12.3799 3.52256 12.1846L6.79293 8.91425L7.85359 9.97491L9.2678 11.3891C9.46306 11.5844 9.77965 11.5844 9.97491 11.3891C10.1702 11.1939 10.1702 10.8773 9.97491 10.682L8.86733 9.57443L12.5039 4.7257L13.1569 5.37871C13.3522 5.57397 13.6687 5.57397 13.864 5.37871C14.0593 5.18345 14.0593 4.86687 13.864 4.6716L12.8033 3.61094L11.3891 2.19673L10.3285 1.13607ZM6.13992 6.84702L10.9887 3.21047L11.7896 4.01142L8.15305 8.86015L6.13992 6.84702Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/dropdown_menu_icon.rs b/packages/icons/dioxus/src/dropdown_menu_icon.rs new file mode 100644 index 00000000..c8a833f0 --- /dev/null +++ b/packages/icons/dioxus/src/dropdown_menu_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct DropdownMenuIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn DropdownMenuIcon(props: DropdownMenuIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49999 3.09998C7.27907 3.09998 7.09999 3.27906 7.09999 3.49998C7.09999 3.72089 7.27907 3.89998 7.49999 3.89998H14.5C14.7209 3.89998 14.9 3.72089 14.9 3.49998C14.9 3.27906 14.7209 3.09998 14.5 3.09998H7.49999ZM7.49998 5.1C7.27907 5.1 7.09998 5.27908 7.09998 5.5C7.09998 5.72091 7.27907 5.9 7.49998 5.9H14.5C14.7209 5.9 14.9 5.72091 14.9 5.5C14.9 5.27908 14.7209 5.1 14.5 5.1H7.49998ZM7.1 7.5C7.1 7.27908 7.27909 7.1 7.5 7.1H14.5C14.7209 7.1 14.9 7.27908 14.9 7.5C14.9 7.72091 14.7209 7.9 14.5 7.9H7.5C7.27909 7.9 7.1 7.72091 7.1 7.5ZM7.49998 9.1C7.27907 9.1 7.09998 9.27908 7.09998 9.5C7.09998 9.72091 7.27907 9.9 7.49998 9.9H14.5C14.7209 9.9 14.9 9.72091 14.9 9.5C14.9 9.27908 14.7209 9.1 14.5 9.1H7.49998ZM7.09998 11.5C7.09998 11.2791 7.27907 11.1 7.49998 11.1H14.5C14.7209 11.1 14.9 11.2791 14.9 11.5C14.9 11.7209 14.7209 11.9 14.5 11.9H7.49998C7.27907 11.9 7.09998 11.7209 7.09998 11.5ZM2.5 9.25003L5 6.00003H0L2.5 9.25003Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/enter_full_screen_icon.rs b/packages/icons/dioxus/src/enter_full_screen_icon.rs new file mode 100644 index 00000000..3036f5b3 --- /dev/null +++ b/packages/icons/dioxus/src/enter_full_screen_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EnterFullScreenIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn EnterFullScreenIcon(props: EnterFullScreenIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 2.5C2 2.22386 2.22386 2 2.5 2H5.5C5.77614 2 6 2.22386 6 2.5C6 2.77614 5.77614 3 5.5 3H3V5.5C3 5.77614 2.77614 6 2.5 6C2.22386 6 2 5.77614 2 5.5V2.5ZM9 2.5C9 2.22386 9.22386 2 9.5 2H12.5C12.7761 2 13 2.22386 13 2.5V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3H9.5C9.22386 3 9 2.77614 9 2.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H2.5C2.22386 13 2 12.7761 2 12.5V9.5C2 9.22386 2.22386 9 2.5 9ZM12.5 9C12.7761 9 13 9.22386 13 9.5V12.5C13 12.7761 12.7761 13 12.5 13H9.5C9.22386 13 9 12.7761 9 12.5C9 12.2239 9.22386 12 9.5 12H12V9.5C12 9.22386 12.2239 9 12.5 9Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/enter_icon.rs b/packages/icons/dioxus/src/enter_icon.rs new file mode 100644 index 00000000..99736644 --- /dev/null +++ b/packages/icons/dioxus/src/enter_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EnterIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn EnterIcon(props: EnterIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.5 1C4.22386 1 4 1.22386 4 1.5C4 1.77614 4.22386 2 4.5 2H12V13H4.5C4.22386 13 4 13.2239 4 13.5C4 13.7761 4.22386 14 4.5 14H12C12.5523 14 13 13.5523 13 13V2C13 1.44772 12.5523 1 12 1H4.5ZM6.60355 4.89645C6.40829 4.70118 6.09171 4.70118 5.89645 4.89645C5.70118 5.09171 5.70118 5.40829 5.89645 5.60355L7.29289 7H0.5C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H7.29289L5.89645 9.39645C5.70118 9.59171 5.70118 9.90829 5.89645 10.1036C6.09171 10.2988 6.40829 10.2988 6.60355 10.1036L8.85355 7.85355C9.04882 7.65829 9.04882 7.34171 8.85355 7.14645L6.60355 4.89645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/envelope_closed_icon.rs b/packages/icons/dioxus/src/envelope_closed_icon.rs new file mode 100644 index 00000000..e26ed441 --- /dev/null +++ b/packages/icons/dioxus/src/envelope_closed_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EnvelopeClosedIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn EnvelopeClosedIcon(props: EnvelopeClosedIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 2C0.447715 2 0 2.44772 0 3V12C0 12.5523 0.447715 13 1 13H14C14.5523 13 15 12.5523 15 12V3C15 2.44772 14.5523 2 14 2H1ZM1 3L14 3V3.92494C13.9174 3.92486 13.8338 3.94751 13.7589 3.99505L7.5 7.96703L1.24112 3.99505C1.16621 3.94751 1.0826 3.92486 1 3.92494V3ZM1 4.90797V12H14V4.90797L7.74112 8.87995C7.59394 8.97335 7.40606 8.97335 7.25888 8.87995L1 4.90797Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/envelope_open_icon.rs b/packages/icons/dioxus/src/envelope_open_icon.rs new file mode 100644 index 00000000..2a4a7375 --- /dev/null +++ b/packages/icons/dioxus/src/envelope_open_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EnvelopeOpenIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn EnvelopeOpenIcon(props: EnvelopeOpenIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.94721 0.164594C7.66569 0.0238299 7.33431 0.0238302 7.05279 0.164594L0.552786 3.41459C0.214002 3.58399 0 3.93025 0 4.30902V12C0 12.5523 0.447715 13 1 13H14C14.5523 13 15 12.5523 15 12V4.30902C15 3.93025 14.786 3.58399 14.4472 3.41459L7.94721 0.164594ZM13.5689 4.09349L7.5 1.05902L1.43105 4.09349L7.5 7.29136L13.5689 4.09349ZM1 4.88366V12H14V4.88366L7.70977 8.19813C7.57848 8.26731 7.42152 8.26731 7.29023 8.19813L1 4.88366Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/eraser_icon.rs b/packages/icons/dioxus/src/eraser_icon.rs new file mode 100644 index 00000000..dc35f8fb --- /dev/null +++ b/packages/icons/dioxus/src/eraser_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EraserIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn EraserIcon(props: EraserIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.36052 0.72921C8.55578 0.533948 8.87236 0.533948 9.06763 0.72921L14.2708 5.93235C14.466 6.12761 14.466 6.4442 14.2708 6.63946L8.95513 11.9551L7.3466 13.5636C6.76081 14.1494 5.81106 14.1494 5.22528 13.5636L1.43635 9.7747C0.850563 9.18891 0.850563 8.23917 1.43635 7.65338L3.04488 6.04485L8.36052 0.72921ZM8.71407 1.78987L4.10554 6.3984L8.60157 10.8944L13.2101 6.28591L8.71407 1.78987ZM7.89447 11.6015L3.39843 7.10551L2.14346 8.36049C1.94819 8.55575 1.94819 8.87233 2.14346 9.06759L5.93238 12.8565C6.12765 13.0518 6.44423 13.0518 6.63949 12.8565L7.89447 11.6015Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/exclamation_triangle_icon.rs b/packages/icons/dioxus/src/exclamation_triangle_icon.rs new file mode 100644 index 00000000..6b41fc09 --- /dev/null +++ b/packages/icons/dioxus/src/exclamation_triangle_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ExclamationTriangleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ExclamationTriangleIcon(props: ExclamationTriangleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/exit_full_screen_icon.rs b/packages/icons/dioxus/src/exit_full_screen_icon.rs new file mode 100644 index 00000000..ac8bd02b --- /dev/null +++ b/packages/icons/dioxus/src/exit_full_screen_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ExitFullScreenIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ExitFullScreenIcon(props: ExitFullScreenIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.5 2C5.77614 2 6 2.22386 6 2.5V5.5C6 5.77614 5.77614 6 5.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H5V2.5C5 2.22386 5.22386 2 5.5 2ZM9.5 2C9.77614 2 10 2.22386 10 2.5V5H12.5C12.7761 5 13 5.22386 13 5.5C13 5.77614 12.7761 6 12.5 6H9.5C9.22386 6 9 5.77614 9 5.5V2.5C9 2.22386 9.22386 2 9.5 2ZM2 9.5C2 9.22386 2.22386 9 2.5 9H5.5C5.77614 9 6 9.22386 6 9.5V12.5C6 12.7761 5.77614 13 5.5 13C5.22386 13 5 12.7761 5 12.5V10H2.5C2.22386 10 2 9.77614 2 9.5ZM9 9.5C9 9.22386 9.22386 9 9.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H10V12.5C10 12.7761 9.77614 13 9.5 13C9.22386 13 9 12.7761 9 12.5V9.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/exit_icon.rs b/packages/icons/dioxus/src/exit_icon.rs new file mode 100644 index 00000000..36671ced --- /dev/null +++ b/packages/icons/dioxus/src/exit_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ExitIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ExitIcon(props: ExitIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3 1C2.44771 1 2 1.44772 2 2V13C2 13.5523 2.44772 14 3 14H10.5C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13H3V2L10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1H3ZM12.6036 4.89645C12.4083 4.70118 12.0917 4.70118 11.8964 4.89645C11.7012 5.09171 11.7012 5.40829 11.8964 5.60355L13.2929 7H6.5C6.22386 7 6 7.22386 6 7.5C6 7.77614 6.22386 8 6.5 8H13.2929L11.8964 9.39645C11.7012 9.59171 11.7012 9.90829 11.8964 10.1036C12.0917 10.2988 12.4083 10.2988 12.6036 10.1036L14.8536 7.85355C15.0488 7.65829 15.0488 7.34171 14.8536 7.14645L12.6036 4.89645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/external_link_icon.rs b/packages/icons/dioxus/src/external_link_icon.rs new file mode 100644 index 00000000..044d5e7a --- /dev/null +++ b/packages/icons/dioxus/src/external_link_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ExternalLinkIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ExternalLinkIcon(props: ExternalLinkIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3 2C2.44772 2 2 2.44772 2 3V12C2 12.5523 2.44772 13 3 13H12C12.5523 13 13 12.5523 13 12V8.5C13 8.22386 12.7761 8 12.5 8C12.2239 8 12 8.22386 12 8.5V12H3V3L6.5 3C6.77614 3 7 2.77614 7 2.5C7 2.22386 6.77614 2 6.5 2H3ZM12.8536 2.14645C12.9015 2.19439 12.9377 2.24964 12.9621 2.30861C12.9861 2.36669 12.9996 2.4303 13 2.497L13 2.5V2.50049V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3.70711L6.85355 8.85355C6.65829 9.04882 6.34171 9.04882 6.14645 8.85355C5.95118 8.65829 5.95118 8.34171 6.14645 8.14645L11.2929 3H9.5C9.22386 3 9 2.77614 9 2.5C9 2.22386 9.22386 2 9.5 2H12.4999H12.5C12.5678 2 12.6324 2.01349 12.6914 2.03794C12.7504 2.06234 12.8056 2.09851 12.8536 2.14645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/eye_closed_icon.rs b/packages/icons/dioxus/src/eye_closed_icon.rs new file mode 100644 index 00000000..ebc36d58 --- /dev/null +++ b/packages/icons/dioxus/src/eye_closed_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EyeClosedIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn EyeClosedIcon(props: EyeClosedIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14.7649 6.07596C14.9991 6.22231 15.0703 6.53079 14.9239 6.76495C14.4849 7.46743 13.9632 8.10645 13.3702 8.66305L14.5712 9.86406C14.7664 10.0593 14.7664 10.3759 14.5712 10.5712C14.3759 10.7664 14.0593 10.7664 13.8641 10.5712L12.6011 9.30817C11.805 9.90283 10.9089 10.3621 9.93375 10.651L10.383 12.3277C10.4544 12.5944 10.2961 12.8685 10.0294 12.94C9.76267 13.0115 9.4885 12.8532 9.41704 12.5865L8.95917 10.8775C8.48743 10.958 8.00036 10.9999 7.50001 10.9999C6.99965 10.9999 6.51257 10.958 6.04082 10.8775L5.58299 12.5864C5.51153 12.8532 5.23737 13.0115 4.97064 12.94C4.7039 12.8686 4.5456 12.5944 4.61706 12.3277L5.06625 10.651C4.09111 10.3621 3.19503 9.90282 2.3989 9.30815L1.1359 10.5712C0.940638 10.7664 0.624058 10.7664 0.428798 10.5712C0.233537 10.3759 0.233537 10.0593 0.428798 9.86405L1.62982 8.66303C1.03682 8.10643 0.515113 7.46742 0.0760677 6.76495C-0.0702867 6.53079 0.000898544 6.22231 0.235065 6.07596C0.469231 5.9296 0.777703 6.00079 0.924058 6.23496C1.40354 7.00213 1.989 7.68057 2.66233 8.2427C2.67315 8.25096 2.6837 8.25972 2.69397 8.26898C4.00897 9.35527 5.65537 9.99991 7.50001 9.99991C10.3078 9.99991 12.6564 8.5063 14.076 6.23495C14.2223 6.00079 14.5308 5.9296 14.7649 6.07596Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/eye_none_icon.rs b/packages/icons/dioxus/src/eye_none_icon.rs new file mode 100644 index 00000000..ed987b3e --- /dev/null +++ b/packages/icons/dioxus/src/eye_none_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EyeNoneIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn EyeNoneIcon(props: EyeNoneIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/eye_open_icon.rs b/packages/icons/dioxus/src/eye_open_icon.rs new file mode 100644 index 00000000..e158d0f8 --- /dev/null +++ b/packages/icons/dioxus/src/eye_open_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct EyeOpenIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn EyeOpenIcon(props: EyeOpenIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/face_icon.rs b/packages/icons/dioxus/src/face_icon.rs new file mode 100644 index 00000000..a97f6682 --- /dev/null +++ b/packages/icons/dioxus/src/face_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FaceIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FaceIcon(props: FaceIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82708 7.49972C1.82708 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82708 10.6327 1.82708 7.49972ZM5.03747 9.21395C4.87949 8.98746 4.56782 8.93193 4.34133 9.08991C4.11484 9.24789 4.05931 9.55956 4.21729 9.78605C4.93926 10.8211 6.14033 11.5 7.50004 11.5C8.85974 11.5 10.0608 10.8211 10.7828 9.78605C10.9408 9.55956 10.8852 9.24789 10.6587 9.08991C10.4323 8.93193 10.1206 8.98746 9.9626 9.21395C9.41963 9.99238 8.51907 10.5 7.50004 10.5C6.481 10.5 5.58044 9.99238 5.03747 9.21395ZM5.37503 6.84998C5.85828 6.84998 6.25003 6.45815 6.25003 5.97498C6.25003 5.4918 5.85828 5.09998 5.37503 5.09998C4.89179 5.09998 4.50003 5.4918 4.50003 5.97498C4.50003 6.45815 4.89179 6.84998 5.37503 6.84998ZM10.5 5.97498C10.5 6.45815 10.1083 6.84998 9.62503 6.84998C9.14179 6.84998 8.75003 6.45815 8.75003 5.97498C8.75003 5.4918 9.14179 5.09998 9.62503 5.09998C10.1083 5.09998 10.5 5.4918 10.5 5.97498Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/figma_logo_icon.rs b/packages/icons/dioxus/src/figma_logo_icon.rs new file mode 100644 index 00000000..e3cf200b --- /dev/null +++ b/packages/icons/dioxus/src/figma_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FigmaLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FigmaLogoIcon(props: FigmaLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.00005 2.04999H5.52505C4.71043 2.04999 4.05005 2.71037 4.05005 3.52499C4.05005 4.33961 4.71043 4.99999 5.52505 4.99999H7.00005V2.04999ZM7.00005 1.04999H8.00005H9.47505C10.842 1.04999 11.95 2.15808 11.95 3.52499C11.95 4.33163 11.5642 5.04815 10.9669 5.49999C11.5642 5.95184 11.95 6.66836 11.95 7.475C11.95 8.8419 10.842 9.95 9.47505 9.95C8.92236 9.95 8.41198 9.76884 8.00005 9.46266V9.95L8.00005 11.425C8.00005 12.7919 6.89195 13.9 5.52505 13.9C4.15814 13.9 3.05005 12.7919 3.05005 11.425C3.05005 10.6183 3.43593 9.90184 4.03317 9.44999C3.43593 8.99814 3.05005 8.28163 3.05005 7.475C3.05005 6.66836 3.43594 5.95184 4.03319 5.5C3.43594 5.04815 3.05005 4.33163 3.05005 3.52499C3.05005 2.15808 4.15814 1.04999 5.52505 1.04999H7.00005ZM8.00005 2.04999V4.99999H9.47505C10.2897 4.99999 10.95 4.33961 10.95 3.52499C10.95 2.71037 10.2897 2.04999 9.47505 2.04999H8.00005ZM5.52505 8.94998H7.00005L7.00005 7.4788L7.00005 7.475L7.00005 7.4712V6H5.52505C4.71043 6 4.05005 6.66038 4.05005 7.475C4.05005 8.28767 4.70727 8.94684 5.5192 8.94999L5.52505 8.94998ZM4.05005 11.425C4.05005 10.6123 4.70727 9.95315 5.5192 9.94999L5.52505 9.95H7.00005L7.00005 11.425C7.00005 12.2396 6.33967 12.9 5.52505 12.9C4.71043 12.9 4.05005 12.2396 4.05005 11.425ZM8.00005 7.47206C8.00164 6.65879 8.66141 6 9.47505 6C10.2897 6 10.95 6.66038 10.95 7.475C10.95 8.28962 10.2897 8.95 9.47505 8.95C8.66141 8.95 8.00164 8.29121 8.00005 7.47794V7.47206Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/file_icon.rs b/packages/icons/dioxus/src/file_icon.rs new file mode 100644 index 00000000..9571cb70 --- /dev/null +++ b/packages/icons/dioxus/src/file_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FileIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FileIcon(props: FileIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/file_minus_icon.rs b/packages/icons/dioxus/src/file_minus_icon.rs new file mode 100644 index 00000000..1bdb3e56 --- /dev/null +++ b/packages/icons/dioxus/src/file_minus_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FileMinusIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FileMinusIcon(props: FileMinusIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3 2.5C3 2.22386 3.22386 2 3.5 2H9.29289L12 4.70711V12.5C12 12.7761 11.7761 13 11.5 13H3.5C3.22386 13 3 12.7761 3 12.5V2.5ZM3.5 1C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V4.60355C13 4.40464 12.921 4.21388 12.7803 4.07322L9.85355 1.14645C9.75979 1.05268 9.63261 1 9.5 1H3.5ZM5.25 7C4.97386 7 4.75 7.22386 4.75 7.5C4.75 7.77614 4.97386 8 5.25 8H9.75C10.0261 8 10.25 7.77614 10.25 7.5C10.25 7.22386 10.0261 7 9.75 7H5.25Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/file_plus_icon.rs b/packages/icons/dioxus/src/file_plus_icon.rs new file mode 100644 index 00000000..5bf62d5e --- /dev/null +++ b/packages/icons/dioxus/src/file_plus_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FilePlusIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FilePlusIcon(props: FilePlusIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V4.70711L9.29289 2H3.5ZM2 2.5C2 1.67157 2.67157 1 3.5 1H9.5C9.63261 1 9.75979 1.05268 9.85355 1.14645L12.7803 4.07322C12.921 4.21388 13 4.40464 13 4.60355V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5ZM4.75 7.5C4.75 7.22386 4.97386 7 5.25 7H7V5.25C7 4.97386 7.22386 4.75 7.5 4.75C7.77614 4.75 8 4.97386 8 5.25V7H9.75C10.0261 7 10.25 7.22386 10.25 7.5C10.25 7.77614 10.0261 8 9.75 8H8V9.75C8 10.0261 7.77614 10.25 7.5 10.25C7.22386 10.25 7 10.0261 7 9.75V8H5.25C4.97386 8 4.75 7.77614 4.75 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/file_text_icon.rs b/packages/icons/dioxus/src/file_text_icon.rs new file mode 100644 index 00000000..fbea0334 --- /dev/null +++ b/packages/icons/dioxus/src/file_text_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FileTextIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FileTextIcon(props: FileTextIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3 2.5C3 2.22386 3.22386 2 3.5 2H9.08579C9.21839 2 9.34557 2.05268 9.43934 2.14645L11.8536 4.56066C11.9473 4.65443 12 4.78161 12 4.91421V12.5C12 12.7761 11.7761 13 11.5 13H3.5C3.22386 13 3 12.7761 3 12.5V2.5ZM3.5 1C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V4.91421C13 4.51639 12.842 4.13486 12.5607 3.85355L10.1464 1.43934C9.86514 1.15804 9.48361 1 9.08579 1H3.5ZM4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5H7.5C7.77614 5 8 4.77614 8 4.5C8 4.22386 7.77614 4 7.5 4H4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H10.5C10.7761 11 11 10.7761 11 10.5C11 10.2239 10.7761 10 10.5 10H4.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/font_bold_icon.rs b/packages/icons/dioxus/src/font_bold_icon.rs new file mode 100644 index 00000000..fce30f41 --- /dev/null +++ b/packages/icons/dioxus/src/font_bold_icon.rs @@ -0,0 +1,28 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FontBoldIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FontBoldIcon(props: FontBoldIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "d": "M5.10505 12C4.70805 12 4.4236 11.912 4.25171 11.736C4.0839 11.5559 4 11.2715 4 10.8827V4.11733C4 3.72033 4.08595 3.43588 4.25784 3.26398C4.43383 3.08799 4.71623 3 5.10505 3C6.42741 3 8.25591 3 9.02852 3C10.1373 3 11.0539 3.98153 11.0539 5.1846C11.0539 6.08501 10.6037 6.81855 9.70327 7.23602C10.8657 7.44851 11.5176 8.62787 11.5176 9.48128C11.5176 10.5125 10.9902 12 9.27734 12C8.77742 12 6.42626 12 5.10505 12ZM8.37891 8.00341H5.8V10.631H8.37891C8.9 10.631 9.6296 10.1211 9.6296 9.29877C9.6296 8.47643 8.9 8.00341 8.37891 8.00341ZM5.8 4.36903V6.69577H8.17969C8.53906 6.69577 9.27734 6.35939 9.27734 5.50002C9.27734 4.64064 8.48047 4.36903 8.17969 4.36903H5.8Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/font_family_icon.rs b/packages/icons/dioxus/src/font_family_icon.rs new file mode 100644 index 00000000..b0bf8008 --- /dev/null +++ b/packages/icons/dioxus/src/font_family_icon.rs @@ -0,0 +1,28 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FontFamilyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FontFamilyIcon(props: FontFamilyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "d": "M2.5 4.5C2.5 3.09886 3.59886 2 5 2H12.499C12.7752 2 13 2.22386 13 2.5C13 2.77614 12.7761 3 12.5 3H8.69244L8.40509 3.85458C8.18869 4.49752 7.89401 5.37197 7.58091 6.29794C7.50259 6.52956 7.42308 6.76453 7.34332 7H8.5C8.77614 7 9 7.22386 9 7.5C9 7.77614 8.77614 8 8.5 8H7.00407C6.56724 9.28543 6.16435 10.4613 5.95799 11.0386C5.63627 11.9386 5.20712 12.4857 4.66741 12.7778C4.16335 13.0507 3.64154 13.0503 3.28378 13.05L3.25 13.05C2.94624 13.05 2.7 12.8037 2.7 12.5C2.7 12.1962 2.94624 11.95 3.25 11.95C3.64182 11.95 3.9035 11.9405 4.14374 11.8105C4.36443 11.691 4.65532 11.4148 4.92217 10.6683C5.10695 10.1514 5.45375 9.14134 5.8422 8H4.5C4.22386 8 4 7.77614 4 7.5C4 7.22386 4.22386 7 4.5 7H6.18187C6.30127 6.64785 6.42132 6.29323 6.53887 5.94559C6.85175 5.02025 7.14627 4.14631 7.36256 3.50368L7.53192 3H5C4.15114 3 3.5 3.65114 3.5 4.5C3.5 4.77614 3.27614 5 3 5C2.72386 5 2.5 4.77614 2.5 4.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/font_italic_icon.rs b/packages/icons/dioxus/src/font_italic_icon.rs new file mode 100644 index 00000000..b6ddf786 --- /dev/null +++ b/packages/icons/dioxus/src/font_italic_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FontItalicIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FontItalicIcon(props: FontItalicIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.67494 3.50017C5.67494 3.25164 5.87641 3.05017 6.12494 3.05017H10.6249C10.8735 3.05017 11.0749 3.25164 11.0749 3.50017C11.0749 3.7487 10.8735 3.95017 10.6249 3.95017H9.00587L7.2309 11.05H8.87493C9.12345 11.05 9.32493 11.2515 9.32493 11.5C9.32493 11.7486 9.12345 11.95 8.87493 11.95H4.37493C4.1264 11.95 3.92493 11.7486 3.92493 11.5C3.92493 11.2515 4.1264 11.05 4.37493 11.05H5.99397L7.76894 3.95017H6.12494C5.87641 3.95017 5.67494 3.7487 5.67494 3.50017Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/font_roman_icon.rs b/packages/icons/dioxus/src/font_roman_icon.rs new file mode 100644 index 00000000..a61b2c22 --- /dev/null +++ b/packages/icons/dioxus/src/font_roman_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FontRomanIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FontRomanIcon(props: FontRomanIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.79993 3.50017C4.79993 3.25164 5.0014 3.05017 5.24993 3.05017H9.74993C9.99845 3.05017 10.1999 3.25164 10.1999 3.50017C10.1999 3.7487 9.99845 3.95017 9.74993 3.95017H8.09993V11.05H9.74994C9.99847 11.05 10.1999 11.2515 10.1999 11.5C10.1999 11.7486 9.99847 11.95 9.74994 11.95H5.24994C5.00141 11.95 4.79994 11.7486 4.79994 11.5C4.79994 11.2515 5.00141 11.05 5.24994 11.05H6.89993V3.95017H5.24993C5.0014 3.95017 4.79993 3.7487 4.79993 3.50017Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/font_size_icon.rs b/packages/icons/dioxus/src/font_size_icon.rs new file mode 100644 index 00000000..762b0529 --- /dev/null +++ b/packages/icons/dioxus/src/font_size_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FontSizeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FontSizeIcon(props: FontSizeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.78233 2.21707C2.70732 2.14206 2.60557 2.09991 2.49949 2.09991C2.3934 2.09991 2.29166 2.14206 2.21664 2.21707L0.216645 4.21707C0.0604351 4.37328 0.0604351 4.62655 0.216645 4.78276C0.372855 4.93897 0.626121 4.93897 0.78233 4.78276L2.09949 3.4656L2.09949 11.5342L0.78233 10.2171C0.62612 10.0609 0.372854 10.0609 0.216645 10.2171C0.0604349 10.3733 0.0604349 10.6265 0.216645 10.7828L2.21664 12.7828C2.29166 12.8578 2.3934 12.8999 2.49949 12.8999C2.60557 12.8999 2.70731 12.8578 2.78233 12.7828L4.78233 10.7828C4.93854 10.6265 4.93854 10.3733 4.78233 10.2171C4.62612 10.0609 4.37285 10.0609 4.21664 10.2171L2.89949 11.5342L2.89949 3.4656L4.21664 4.78276C4.37285 4.93897 4.62612 4.93897 4.78233 4.78276C4.93854 4.62655 4.93854 4.37328 4.78233 4.21707L2.78233 2.21707ZM10.5 2.74997C10.7107 2.74997 10.8988 2.88211 10.9703 3.08036L13.9703 11.3999C14.064 11.6597 13.9293 11.9462 13.6696 12.0399C13.4098 12.1336 13.1233 11.9989 13.0296 11.7392L12.0477 9.016H8.95228L7.97033 11.7392C7.87666 11.9989 7.59013 12.1336 7.33036 12.0399C7.07059 11.9462 6.93595 11.6597 7.02962 11.3999L10.0296 3.08036C10.1011 2.88211 10.2892 2.74997 10.5 2.74997ZM10.5 4.72396L11.7412 8.166H9.25879L10.5 4.72396Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/font_style_icon.rs b/packages/icons/dioxus/src/font_style_icon.rs new file mode 100644 index 00000000..e8c7f448 --- /dev/null +++ b/packages/icons/dioxus/src/font_style_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FontStyleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FontStyleIcon(props: FontStyleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.03791 9.98075C0.934777 9.6583 1.11603 9.37719 1.40005 9.24871C1.68408 9.12022 2.09463 9.13412 2.27071 9.45426C2.85393 10.5147 3.64599 10.7282 4.48665 10.7282C5.52721 10.7282 6.29659 10.2615 6.29659 9.45426C6.29659 8.8047 5.9119 8.46416 4.87134 8.14253L4.15872 7.92181C2.64518 7.44883 1.88842 6.69206 1.88842 5.45601C1.88842 3.79743 3.27583 2.6875 5.24342 2.6875C6.91733 2.6875 7.97409 3.33536 8.43833 4.31065C8.57087 4.58909 8.57614 4.91294 8.22794 5.19114C7.87974 5.46934 7.52351 5.34799 7.23327 5.03839C6.47215 4.22653 5.99545 4.04968 5.25604 4.04968C4.1398 4.04968 3.547 4.63618 3.547 5.27943C3.547 5.86592 3.96322 6.23169 4.94702 6.5344L5.67856 6.76143C7.22994 7.23441 7.97409 7.95964 7.97409 9.17047C7.97409 10.7723 6.69389 12.0903 4.46143 12.0903C2.86612 12.0903 1.40005 11.1131 1.03791 9.98075ZM11.8491 8.77985C10.661 8.39543 10.1649 7.86114 10.1649 6.98805C10.1649 5.86736 11.1636 5.04639 12.6128 5.04639C13.8546 5.04639 14.6629 5.63345 14.9778 6.6346C15.0443 6.84599 14.9593 6.98006 14.7475 7.0491C14.5394 7.11697 14.3176 7.09974 14.238 6.89611C13.9356 6.12273 13.352 5.76311 12.5998 5.76311C11.6467 5.76311 11.0135 6.25178 11.0135 6.91638C11.0135 7.45066 11.3464 7.75038 12.2473 8.04358L12.8348 8.23254C14.062 8.62999 14.5516 9.13821 14.5516 10.0178C14.5516 11.1972 13.481 12.0442 11.9927 12.0442C10.6439 12.0442 9.65644 11.2809 9.41979 10.3361C9.36535 10.1188 9.41192 10.0287 9.70039 9.96184C9.98886 9.89499 10.0714 9.89918 10.1715 10.1369C10.4555 10.8114 11.1531 11.3275 12.0318 11.3275C12.9914 11.3275 13.6834 10.7802 13.6834 10.0634C13.6834 9.53567 13.3961 9.28807 12.4366 8.97532L11.8491 8.77985Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/frame_icon.rs b/packages/icons/dioxus/src/frame_icon.rs new file mode 100644 index 00000000..901d198b --- /dev/null +++ b/packages/icons/dioxus/src/frame_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FrameIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FrameIcon(props: FrameIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11 1.5C11 1.22386 10.7761 1 10.5 1C10.2239 1 10 1.22386 10 1.5V4H5V1.5C5 1.22386 4.77614 1 4.5 1C4.22386 1 4 1.22386 4 1.5V4H1.5C1.22386 4 1 4.22386 1 4.5C1 4.77614 1.22386 5 1.5 5H4V10H1.5C1.22386 10 1 10.2239 1 10.5C1 10.7761 1.22386 11 1.5 11H4V13.5C4 13.7761 4.22386 14 4.5 14C4.77614 14 5 13.7761 5 13.5V11H10V13.5C10 13.7761 10.2239 14 10.5 14C10.7761 14 11 13.7761 11 13.5V11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H11V5H13.5C13.7761 5 14 4.77614 14 4.5C14 4.22386 13.7761 4 13.5 4H11V1.5ZM10 10V5H5V10H10Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/framer_logo_icon.rs b/packages/icons/dioxus/src/framer_logo_icon.rs new file mode 100644 index 00000000..ae22a9f3 --- /dev/null +++ b/packages/icons/dioxus/src/framer_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct FramerLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn FramerLogoIcon(props: FramerLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.3825 1.29567C3.46241 1.11432 3.64188 0.997284 3.84005 0.997284H11.5C11.7761 0.997284 12 1.22114 12 1.49728V5.5C12 5.77614 11.7761 6 11.5 6H8.63521L11.5288 9.16247C11.6626 9.3087 11.6974 9.52015 11.6175 9.70154C11.5376 9.88293 11.3582 10 11.16 10H8V13.5C8 13.7022 7.87818 13.8845 7.69134 13.9619C7.5045 14.0393 7.28945 13.9966 7.14645 13.8536L3.14645 9.85355C3.05268 9.75979 3 9.63261 3 9.5V5.5C3 5.22386 3.22386 5 3.5 5H6.36531L3.47105 1.83468C3.33732 1.68844 3.30259 1.47701 3.3825 1.29567ZM7.72032 5L4.97474 1.99728H11V5H7.72032ZM7.27978 6H4V9H7.5H10.0247L7.27978 6ZM4.70711 10L7 12.2929V10H4.70711Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/gear_icon.rs b/packages/icons/dioxus/src/gear_icon.rs new file mode 100644 index 00000000..3ad1e678 --- /dev/null +++ b/packages/icons/dioxus/src/gear_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct GearIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn GearIcon(props: GearIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.07095 0.650238C6.67391 0.650238 6.32977 0.925096 6.24198 1.31231L6.0039 2.36247C5.6249 2.47269 5.26335 2.62363 4.92436 2.81013L4.01335 2.23585C3.67748 2.02413 3.23978 2.07312 2.95903 2.35386L2.35294 2.95996C2.0722 3.2407 2.0232 3.6784 2.23493 4.01427L2.80942 4.92561C2.62307 5.2645 2.47227 5.62594 2.36216 6.00481L1.31209 6.24287C0.924883 6.33065 0.650024 6.6748 0.650024 7.07183V7.92897C0.650024 8.32601 0.924883 8.67015 1.31209 8.75794L2.36228 8.99603C2.47246 9.375 2.62335 9.73652 2.80979 10.0755L2.2354 10.9867C2.02367 11.3225 2.07267 11.7602 2.35341 12.041L2.95951 12.6471C3.24025 12.9278 3.67795 12.9768 4.01382 12.7651L4.92506 12.1907C5.26384 12.377 5.62516 12.5278 6.0039 12.6379L6.24198 13.6881C6.32977 14.0753 6.67391 14.3502 7.07095 14.3502H7.92809C8.32512 14.3502 8.66927 14.0753 8.75705 13.6881L8.99505 12.6383C9.37411 12.5282 9.73573 12.3773 10.0748 12.1909L10.986 12.7653C11.3218 12.977 11.7595 12.928 12.0403 12.6473L12.6464 12.0412C12.9271 11.7604 12.9761 11.3227 12.7644 10.9869L12.1902 10.076C12.3768 9.73688 12.5278 9.37515 12.638 8.99596L13.6879 8.75794C14.0751 8.67015 14.35 8.32601 14.35 7.92897V7.07183C14.35 6.6748 14.0751 6.33065 13.6879 6.24287L12.6381 6.00488C12.528 5.62578 12.3771 5.26414 12.1906 4.92507L12.7648 4.01407C12.9766 3.6782 12.9276 3.2405 12.6468 2.95975L12.0407 2.35366C11.76 2.07292 11.3223 2.02392 10.9864 2.23565L10.0755 2.80989C9.73622 2.62328 9.37437 2.47229 8.99505 2.36209L8.75705 1.31231C8.66927 0.925096 8.32512 0.650238 7.92809 0.650238H7.07095ZM4.92053 3.81251C5.44724 3.44339 6.05665 3.18424 6.71543 3.06839L7.07095 1.50024H7.92809L8.28355 3.06816C8.94267 3.18387 9.5524 3.44302 10.0794 3.81224L11.4397 2.9547L12.0458 3.56079L11.1882 4.92117C11.5573 5.44798 11.8164 6.0575 11.9321 6.71638L13.5 7.07183V7.92897L11.932 8.28444C11.8162 8.94342 11.557 9.55301 11.1878 10.0798L12.0453 11.4402L11.4392 12.0462L10.0787 11.1886C9.55192 11.5576 8.94241 11.8166 8.28355 11.9323L7.92809 13.5002H7.07095L6.71543 11.932C6.0569 11.8162 5.44772 11.5572 4.92116 11.1883L3.56055 12.046L2.95445 11.4399L3.81213 10.0794C3.4431 9.55266 3.18403 8.94326 3.06825 8.2845L1.50002 7.92897V7.07183L3.06818 6.71632C3.18388 6.05765 3.44283 5.44833 3.81171 4.92165L2.95398 3.561L3.56008 2.95491L4.92053 3.81251ZM9.02496 7.50008C9.02496 8.34226 8.34223 9.02499 7.50005 9.02499C6.65786 9.02499 5.97513 8.34226 5.97513 7.50008C5.97513 6.65789 6.65786 5.97516 7.50005 5.97516C8.34223 5.97516 9.02496 6.65789 9.02496 7.50008ZM9.92496 7.50008C9.92496 8.83932 8.83929 9.92499 7.50005 9.92499C6.1608 9.92499 5.07513 8.83932 5.07513 7.50008C5.07513 6.16084 6.1608 5.07516 7.50005 5.07516C8.83929 5.07516 9.92496 6.16084 9.92496 7.50008Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/github_logo_icon.rs b/packages/icons/dioxus/src/github_logo_icon.rs new file mode 100644 index 00000000..cfc0e726 --- /dev/null +++ b/packages/icons/dioxus/src/github_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct GithubLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn GithubLogoIcon(props: GithubLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49933 0.25C3.49635 0.25 0.25 3.49593 0.25 7.50024C0.25 10.703 2.32715 13.4206 5.2081 14.3797C5.57084 14.446 5.70302 14.2222 5.70302 14.0299C5.70302 13.8576 5.69679 13.4019 5.69323 12.797C3.67661 13.235 3.25112 11.825 3.25112 11.825C2.92132 10.9874 2.44599 10.7644 2.44599 10.7644C1.78773 10.3149 2.49584 10.3238 2.49584 10.3238C3.22353 10.375 3.60629 11.0711 3.60629 11.0711C4.25298 12.1788 5.30335 11.8588 5.71638 11.6732C5.78225 11.205 5.96962 10.8854 6.17658 10.7043C4.56675 10.5209 2.87415 9.89918 2.87415 7.12104C2.87415 6.32925 3.15677 5.68257 3.62053 5.17563C3.54576 4.99226 3.29697 4.25521 3.69174 3.25691C3.69174 3.25691 4.30015 3.06196 5.68522 3.99973C6.26337 3.83906 6.8838 3.75895 7.50022 3.75583C8.1162 3.75895 8.73619 3.83906 9.31523 3.99973C10.6994 3.06196 11.3069 3.25691 11.3069 3.25691C11.7026 4.25521 11.4538 4.99226 11.3795 5.17563C11.8441 5.68257 12.1245 6.32925 12.1245 7.12104C12.1245 9.9063 10.4292 10.5192 8.81452 10.6985C9.07444 10.9224 9.30633 11.3648 9.30633 12.0413C9.30633 13.0102 9.29742 13.7922 9.29742 14.0299C9.29742 14.2239 9.42828 14.4496 9.79591 14.3788C12.6746 13.4179 14.75 10.7025 14.75 7.50024C14.75 3.49593 11.5036 0.25 7.49933 0.25Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/globe_icon.rs b/packages/icons/dioxus/src/globe_icon.rs new file mode 100644 index 00000000..60b34565 --- /dev/null +++ b/packages/icons/dioxus/src/globe_icon.rs @@ -0,0 +1,48 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct GlobeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn GlobeIcon(props: GlobeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49996 1.80002C4.35194 1.80002 1.79996 4.352 1.79996 7.50002C1.79996 10.648 4.35194 13.2 7.49996 13.2C10.648 13.2 13.2 10.648 13.2 7.50002C13.2 4.352 10.648 1.80002 7.49996 1.80002ZM0.899963 7.50002C0.899963 3.85494 3.85488 0.900024 7.49996 0.900024C11.145 0.900024 14.1 3.85494 14.1 7.50002C14.1 11.1451 11.145 14.1 7.49996 14.1C3.85488 14.1 0.899963 11.1451 0.899963 7.50002Z", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.4999 7.89998H1.49994V7.09998H13.4999V7.89998Z", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.09991 13.5V1.5H7.89991V13.5H7.09991zM10.375 7.49998C10.375 5.32724 9.59364 3.17778 8.06183 1.75656L8.53793 1.24341C10.2396 2.82218 11.075 5.17273 11.075 7.49998 11.075 9.82724 10.2396 12.1778 8.53793 13.7566L8.06183 13.2434C9.59364 11.8222 10.375 9.67273 10.375 7.49998zM3.99969 7.5C3.99969 5.17611 4.80786 2.82678 6.45768 1.24719L6.94177 1.75281C5.4582 3.17323 4.69969 5.32389 4.69969 7.5 4.6997 9.67611 5.45822 11.8268 6.94179 13.2472L6.45769 13.7528C4.80788 12.1732 3.9997 9.8239 3.99969 7.5z", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49996 3.95801C9.66928 3.95801 11.8753 4.35915 13.3706 5.19448 13.5394 5.28875 13.5998 5.50197 13.5055 5.67073 13.4113 5.83948 13.198 5.89987 13.0293 5.8056 11.6794 5.05155 9.60799 4.65801 7.49996 4.65801 5.39192 4.65801 3.32052 5.05155 1.97064 5.8056 1.80188 5.89987 1.58866 5.83948 1.49439 5.67073 1.40013 5.50197 1.46051 5.28875 1.62927 5.19448 3.12466 4.35915 5.33063 3.95801 7.49996 3.95801zM7.49996 10.85C9.66928 10.85 11.8753 10.4488 13.3706 9.6135 13.5394 9.51924 13.5998 9.30601 13.5055 9.13726 13.4113 8.9685 13.198 8.90812 13.0293 9.00238 11.6794 9.75643 9.60799 10.15 7.49996 10.15 5.39192 10.15 3.32052 9.75643 1.97064 9.00239 1.80188 8.90812 1.58866 8.9685 1.49439 9.13726 1.40013 9.30601 1.46051 9.51924 1.62927 9.6135 3.12466 10.4488 5.33063 10.85 7.49996 10.85z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/grid_icon.rs b/packages/icons/dioxus/src/grid_icon.rs new file mode 100644 index 00000000..6d0d7edf --- /dev/null +++ b/packages/icons/dioxus/src/grid_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct GridIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn GridIcon(props: GridIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.5 2H8V7H13V2.5C13 2.22386 12.7761 2 12.5 2ZM13 8H8V13H12.5C12.7761 13 13 12.7761 13 12.5V8ZM7 7V2H2.5C2.22386 2 2 2.22386 2 2.5V7H7ZM2 8V12.5C2 12.7761 2.22386 13 2.5 13H7V8H2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/group_icon.rs b/packages/icons/dioxus/src/group_icon.rs new file mode 100644 index 00000000..ee3136de --- /dev/null +++ b/packages/icons/dioxus/src/group_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct GroupIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn GroupIcon(props: GroupIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.44995 0.949951C1.31734 0.949951 1.19016 1.00263 1.0964 1.0964C1.00263 1.19017 0.949951 1.31735 0.949951 1.44995L0.949966 3.44995C0.949969 3.7261 1.17383 3.94995 1.44997 3.94995C1.72611 3.94995 1.94997 3.72609 1.94997 3.44995L1.94995 1.94995H3.44997C3.72611 1.94995 3.94997 1.72609 3.94997 1.44995C3.94997 1.17381 3.72611 0.949951 3.44997 0.949951H1.44995ZM5.94995 0.949951C5.67381 0.949951 5.44995 1.17381 5.44995 1.44995C5.44995 1.72609 5.67381 1.94995 5.94995 1.94995H8.94995C9.22609 1.94995 9.44995 1.72609 9.44995 1.44995C9.44995 1.17381 9.22609 0.949951 8.94995 0.949951H5.94995ZM5.44995 13.45C5.44995 13.1738 5.67381 12.95 5.94995 12.95H8.94995C9.22609 12.95 9.44995 13.1738 9.44995 13.45C9.44995 13.7261 9.22609 13.95 8.94995 13.95H5.94995C5.67381 13.95 5.44995 13.7261 5.44995 13.45ZM1.94995 5.94995C1.94995 5.67381 1.72609 5.44995 1.44995 5.44995C1.17381 5.44995 0.949951 5.67381 0.949951 5.94995V8.94995C0.949951 9.22609 1.17381 9.44995 1.44995 9.44995C1.72609 9.44995 1.94995 9.22609 1.94995 8.94995V5.94995ZM13.45 5.44995C13.7261 5.44995 13.95 5.67381 13.95 5.94995V8.94995C13.95 9.22609 13.7261 9.44995 13.45 9.44995C13.1738 9.44995 12.95 9.22609 12.95 8.94995V5.94995C12.95 5.67381 13.1738 5.44995 13.45 5.44995ZM11.45 0.949951C11.1738 0.949951 10.95 1.17381 10.95 1.44995C10.95 1.72609 11.1738 1.94995 11.45 1.94995H12.9499V3.44995C12.9499 3.72609 13.1738 3.94995 13.4499 3.94995C13.7261 3.94995 13.9499 3.72609 13.9499 3.44995V1.44995C13.9499 1.17381 13.7252 0.949951 13.449 0.949951H11.45ZM1.44995 10.95C1.72609 10.95 1.94995 11.1738 1.94995 11.45V12.95H3.44997C3.72611 12.95 3.94997 13.1738 3.94997 13.45C3.94997 13.7261 3.72611 13.95 3.44997 13.95H1.44995C1.17381 13.95 0.949951 13.7261 0.949951 13.45V11.45C0.949951 11.1738 1.17381 10.95 1.44995 10.95ZM13.95 11.45C13.95 11.1738 13.7261 10.95 13.45 10.95C13.1738 10.9499 12.95 11.1738 12.95 11.4499L12.9491 12.95H11.45C11.1738 12.95 10.95 13.1738 10.95 13.45C10.95 13.7261 11.1738 13.95 11.45 13.95H13.4499C13.7261 13.95 13.9499 13.7261 13.9499 13.45L13.95 11.45Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/half_1_icon.rs b/packages/icons/dioxus/src/half_1_icon.rs new file mode 100644 index 00000000..ac8d5b82 --- /dev/null +++ b/packages/icons/dioxus/src/half_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Half1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Half1Icon(props: Half1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM7.00003 1.84861C4.10114 2.1017 1.82707 4.53515 1.82707 7.49972C1.82707 10.4643 4.10114 12.8977 7.00003 13.1508V1.84861ZM8.00003 13.1508C10.8988 12.8976 13.1727 10.4642 13.1727 7.49972C13.1727 4.53524 10.8988 2.10185 8.00003 1.84864V13.1508Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/half_2_icon.rs b/packages/icons/dioxus/src/half_2_icon.rs new file mode 100644 index 00000000..1549b916 --- /dev/null +++ b/packages/icons/dioxus/src/half_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Half2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Half2Icon(props: Half2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM7.49988 1.82689C4.36688 1.8269 1.82707 4.36672 1.82707 7.49972C1.82707 10.6327 4.36688 13.1725 7.49988 13.1726V1.82689Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/hamburger_menu_icon.rs b/packages/icons/dioxus/src/hamburger_menu_icon.rs new file mode 100644 index 00000000..e8bf7d31 --- /dev/null +++ b/packages/icons/dioxus/src/hamburger_menu_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct HamburgerMenuIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn HamburgerMenuIcon(props: HamburgerMenuIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/hand_icon.rs b/packages/icons/dioxus/src/hand_icon.rs new file mode 100644 index 00000000..27f349bb --- /dev/null +++ b/packages/icons/dioxus/src/hand_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct HandIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn HandIcon(props: HandIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.8113 1.64706C6.62188 2.87918 6.68268 3.88523 6.76848 5.30499C6.78415 5.56426 6.80065 5.83732 6.81661 6.12808C6.83111 6.39208 6.63758 6.62172 6.37495 6.65217C6.11232 6.68262 5.87138 6.50334 5.82509 6.24304L5.74754 5.80698C5.64402 5.16529 5.48355 4.25481 5.17807 3.44741C4.86241 2.61312 4.4486 2.04121 3.93436 1.86044C3.64994 1.76104 3.41901 1.84279 3.25868 2.01052C3.08746 2.18962 2.9976 2.47065 3.0627 2.75399C3.2146 3.34424 3.44627 3.9167 3.69836 4.51802C3.72082 4.57158 3.74346 4.62543 3.76621 4.67954C3.9954 5.22457 4.23619 5.7972 4.41644 6.39081L4.41691 6.39238C4.562 6.87586 4.65646 7.2595 4.73086 7.56165C4.76034 7.68138 4.78667 7.78831 4.81175 7.88359C4.86768 8.09606 4.77836 8.32014 4.59161 8.43588C4.40486 8.55161 4.16445 8.53188 3.99907 8.38725C3.73749 8.15848 3.515 7.92784 3.31817 7.71802C3.27627 7.67335 3.23602 7.63018 3.19705 7.58838C3.04777 7.42826 2.91712 7.28812 2.78334 7.16029C2.45989 6.85122 2.18398 6.68004 1.80585 6.64369L1.80324 6.64343C1.56117 6.61888 1.41402 6.66441 1.31756 6.72627C1.21899 6.78947 1.11988 6.90414 1.03784 7.1123C0.976576 7.28492 1.01515 7.62987 1.1929 7.96911L1.19728 7.97747C1.40086 8.38452 1.74475 8.81587 2.18141 9.29299C2.39739 9.52898 2.62872 9.76849 2.86934 10.0174L2.87966 10.0281C3.11546 10.2721 3.35962 10.5247 3.59713 10.7827C4.4288 11.6863 5.27706 12.7538 5.4627 14H11.5087C11.5636 12.4353 11.8756 11.268 12.2875 10.1346C12.4454 9.70041 12.6121 9.28412 12.7826 8.85829C13.1097 8.04139 13.4509 7.18937 13.7705 6.10824C14.0989 4.99737 14.0097 4.37033 13.8613 4.03984C13.717 3.71858 13.4914 3.61786 13.3816 3.59606C13.1381 3.54774 13.0384 3.60947 12.9698 3.67901C12.867 3.78316 12.7698 3.98273 12.6921 4.30269C12.6166 4.61345 12.5752 4.96517 12.533 5.32501L12.5298 5.35285C12.4924 5.67242 12.4505 6.03016 12.3665 6.30098C12.3383 6.40699 12.2819 6.50407 12.1979 6.57539C12.1382 6.6261 12.0104 6.70818 11.8309 6.69312C11.5424 6.66891 11.3712 6.42143 11.365 6.14783C11.356 5.75454 11.3883 5.35864 11.4074 4.96608C11.4428 4.23646 11.477 3.5337 11.4245 2.8342L11.4242 2.82934C11.3916 2.32997 11.0493 2.00228 10.7007 1.9228C10.5305 1.88401 10.369 1.90601 10.2347 1.9835C10.103 2.05946 9.95535 2.21318 9.8574 2.51394L9.85631 2.51726C9.81525 2.6404 9.77298 2.87753 9.73606 3.2124C9.70044 3.53542 9.67337 3.91279 9.65156 4.29418C9.6329 4.62033 9.61785 4.9584 9.60434 5.26194C9.58728 5.64529 9.57267 5.97357 9.55633 6.1532C9.54983 6.22459 9.52939 6.29493 9.49501 6.35785C9.47356 6.39711 9.36115 6.60947 9.07106 6.61843C8.77917 6.62744 8.63975 6.40057 8.61698 6.35919C8.55634 6.24899 8.55066 6.11807 8.54754 5.99283C8.54474 5.88064 8.54294 5.71798 8.54174 5.54767C8.53935 5.20582 8.53935 4.81919 8.53935 4.70952C8.53935 3.6657 8.53838 2.65372 8.44714 1.64372C8.39183 1.24127 8.06278 1.00455 7.6436 1.00005C7.22399 0.995552 6.87918 1.22704 6.8113 1.64706ZM9.41219 1.3617C9.21469 0.448484 8.39913 0.00810324 7.65433 0.00011154C6.86452 -0.00836308 5.98761 0.465881 5.82365 1.49037L5.82318 1.49334C5.78239 1.7584 5.75229 2.01481 5.7309 2.26652C5.39423 1.67364 4.92622 1.14894 4.2655 0.916859C3.58661 0.679312 2.9492 0.887087 2.53582 1.31952C2.13415 1.73971 1.94438 2.36742 2.09031 2.98746L2.09269 2.99713C2.26478 3.66808 2.52396 4.30316 2.77613 4.90465C2.79814 4.95717 2.8201 5.00941 2.84194 5.06139C3.02139 5.48842 3.19378 5.89866 3.33871 6.31256C2.96404 5.98142 2.51925 5.70796 1.90276 5.6484C1.48865 5.60663 1.10391 5.67536 0.777805 5.88444C0.454239 6.0919 0.240671 6.40405 0.104187 6.75406L0.100868 6.76281C-0.10184 7.31286 0.0663312 7.97157 0.304895 8.42897C0.573704 8.96474 0.996104 9.47904 1.44372 9.96813C1.67046 10.2159 1.91136 10.4652 2.15033 10.7124L2.15682 10.7191C2.39524 10.9658 2.63217 11.2109 2.86134 11.4599C3.80937 12.49 4.50002 13.4632 4.50002 14.5C4.50002 14.7761 4.72388 15 5.00002 15H12C12.2762 15 12.5 14.7761 12.5 14.5C12.5 12.8212 12.8021 11.6462 13.2274 10.4762C13.3653 10.0968 13.5216 9.70579 13.6868 9.29247C14.0238 8.44922 14.398 7.51298 14.7295 6.39175C15.0956 5.15324 15.0559 4.25904 14.7735 3.63017C14.487 2.99208 13.9798 2.6953 13.5763 2.6152C13.1276 2.52614 12.7367 2.60475 12.4268 2.83081C12.4253 2.80773 12.4236 2.78468 12.4219 2.76167C12.3587 1.8105 11.6907 1.12285 10.923 0.947821C10.5346 0.859287 10.1111 0.900393 9.73509 1.11724C9.61852 1.18446 9.51055 1.26623 9.41219 1.3617Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/heading_icon.rs b/packages/icons/dioxus/src/heading_icon.rs new file mode 100644 index 00000000..ebf11197 --- /dev/null +++ b/packages/icons/dioxus/src/heading_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct HeadingIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn HeadingIcon(props: HeadingIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.75432 2.0502C8.50579 2.0502 8.30432 2.25167 8.30432 2.5002C8.30432 2.74873 8.50579 2.9502 8.75432 2.9502H9.94997V7.05004H5.04997V2.9502H6.25432C6.50285 2.9502 6.70432 2.74873 6.70432 2.5002C6.70432 2.25167 6.50285 2.0502 6.25432 2.0502H2.75432C2.50579 2.0502 2.30432 2.25167 2.30432 2.5002C2.30432 2.74873 2.50579 2.9502 2.75432 2.9502H3.94997V12.0502H2.75432C2.50579 12.0502 2.30432 12.2517 2.30432 12.5002C2.30432 12.7487 2.50579 12.9502 2.75432 12.9502H6.25432C6.50285 12.9502 6.70432 12.7487 6.70432 12.5002C6.70432 12.2517 6.50285 12.0502 6.25432 12.0502H5.04997V7.95004H9.94997V12.0502H8.75432C8.50579 12.0502 8.30432 12.2517 8.30432 12.5002C8.30432 12.7487 8.50579 12.9502 8.75432 12.9502H12.2543C12.5028 12.9502 12.7043 12.7487 12.7043 12.5002C12.7043 12.2517 12.5028 12.0502 12.2543 12.0502H11.05V2.9502H12.2543C12.5028 2.9502 12.7043 2.74873 12.7043 2.5002C12.7043 2.25167 12.5028 2.0502 12.2543 2.0502H8.75432Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/heart_filled_icon.rs b/packages/icons/dioxus/src/heart_filled_icon.rs new file mode 100644 index 00000000..99ec2721 --- /dev/null +++ b/packages/icons/dioxus/src/heart_filled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct HeartFilledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn HeartFilledIcon(props: HeartFilledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/heart_icon.rs b/packages/icons/dioxus/src/heart_icon.rs new file mode 100644 index 00000000..030a6a42 --- /dev/null +++ b/packages/icons/dioxus/src/heart_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct HeartIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn HeartIcon(props: HeartIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.89346 2.35248C3.49195 2.35248 2.35248 3.49359 2.35248 4.90532C2.35248 6.38164 3.20954 7.9168 4.37255 9.33522C5.39396 10.581 6.59464 11.6702 7.50002 12.4778C8.4054 11.6702 9.60608 10.581 10.6275 9.33522C11.7905 7.9168 12.6476 6.38164 12.6476 4.90532C12.6476 3.49359 11.5081 2.35248 10.1066 2.35248C9.27059 2.35248 8.81894 2.64323 8.5397 2.95843C8.27877 3.25295 8.14623 3.58566 8.02501 3.88993C8.00391 3.9429 7.98315 3.99501 7.96211 4.04591C7.88482 4.23294 7.7024 4.35494 7.50002 4.35494C7.29765 4.35494 7.11523 4.23295 7.03793 4.04592C7.01689 3.99501 6.99612 3.94289 6.97502 3.8899C6.8538 3.58564 6.72126 3.25294 6.46034 2.95843C6.18109 2.64323 5.72945 2.35248 4.89346 2.35248ZM1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.0084 1.35248 6.73504 1.76049 7.20884 2.2953C7.32062 2.42147 7.41686 2.55382 7.50002 2.68545C7.58318 2.55382 7.67941 2.42147 7.79119 2.2953C8.265 1.76049 8.99164 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/height_icon.rs b/packages/icons/dioxus/src/height_icon.rs new file mode 100644 index 00000000..f64aca48 --- /dev/null +++ b/packages/icons/dioxus/src/height_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct HeightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn HeightIcon(props: HeightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.1813 1.68179C7.35704 1.50605 7.64196 1.50605 7.8177 1.68179L10.3177 4.18179C10.4934 4.35753 10.4934 4.64245 10.3177 4.81819C10.142 4.99392 9.85704 4.99392 9.6813 4.81819L7.9495 3.08638L7.9495 11.9136L9.6813 10.1818C9.85704 10.0061 10.142 10.0061 10.3177 10.1818C10.4934 10.3575 10.4934 10.6424 10.3177 10.8182L7.8177 13.3182C7.73331 13.4026 7.61885 13.45 7.4995 13.45C7.38015 13.45 7.26569 13.4026 7.1813 13.3182L4.6813 10.8182C4.50557 10.6424 4.50557 10.3575 4.6813 10.1818C4.85704 10.0061 5.14196 10.0061 5.3177 10.1818L7.0495 11.9136L7.0495 3.08638L5.3177 4.81819C5.14196 4.99392 4.85704 4.99392 4.6813 4.81819C4.50557 4.64245 4.50557 4.35753 4.6813 4.18179L7.1813 1.68179Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/hobby_knife_icon.rs b/packages/icons/dioxus/src/hobby_knife_icon.rs new file mode 100644 index 00000000..c830cc73 --- /dev/null +++ b/packages/icons/dioxus/src/hobby_knife_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct HobbyKnifeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn HobbyKnifeIcon(props: HobbyKnifeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.3536 13.3536C12.1583 13.5488 11.8417 13.5488 11.6465 13.3536L6.39645 8.10355C6.36478 8.07188 6.33824 8.03702 6.31685 8H5.00002C4.78719 8 4.59769 7.86528 4.52777 7.66426L2.12777 0.764277C2.05268 0.548387 2.13355 0.309061 2.3242 0.182972C2.51486 0.0568819 2.76674 0.0761337 2.93602 0.229734L8.336 5.12972C8.44044 5.22449 8.50001 5.35897 8.50001 5.5V5.81684C8.53702 5.83824 8.57189 5.86478 8.60356 5.89645L13.8536 11.1464C14.0488 11.3417 14.0488 11.6583 13.8536 11.8536L12.3536 13.3536ZM8.25 6.95711L7.45711 7.75L12 12.2929L12.7929 11.5L8.25 6.95711ZM3.71669 2.28845L5.35549 7H6.2929L7.50001 5.79289V5.72146L3.71669 2.28845Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/home_icon.rs b/packages/icons/dioxus/src/home_icon.rs new file mode 100644 index 00000000..b1a3e696 --- /dev/null +++ b/packages/icons/dioxus/src/home_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct HomeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn HomeIcon(props: HomeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.07926 0.222253C7.31275 -0.007434 7.6873 -0.007434 7.92079 0.222253L14.6708 6.86227C14.907 7.09465 14.9101 7.47453 14.6778 7.71076C14.4454 7.947 14.0655 7.95012 13.8293 7.71773L13 6.90201V12.5C13 12.7761 12.7762 13 12.5 13H2.50002C2.22388 13 2.00002 12.7761 2.00002 12.5V6.90201L1.17079 7.71773C0.934558 7.95012 0.554672 7.947 0.32229 7.71076C0.0899079 7.47453 0.0930283 7.09465 0.32926 6.86227L7.07926 0.222253ZM7.50002 1.49163L12 5.91831V12H10V8.49999C10 8.22385 9.77617 7.99999 9.50002 7.99999H6.50002C6.22388 7.99999 6.00002 8.22385 6.00002 8.49999V12H3.00002V5.91831L7.50002 1.49163ZM7.00002 12H9.00002V8.99999H7.00002V12Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/iconjar_logo_icon.rs b/packages/icons/dioxus/src/iconjar_logo_icon.rs new file mode 100644 index 00000000..1bd6ddf7 --- /dev/null +++ b/packages/icons/dioxus/src/iconjar_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct IconjarLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn IconjarLogoIcon(props: IconjarLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 0.0032959C6.80473 0.0032959 6.24953 0.281106 6.25 0.749995C6.25 0.997258 6.42446 1.12014 6.57687 1.22749C6.69507 1.31074 6.8 1.38465 6.8 1.5C6.8 1.7071 6.06224 1.74264 5.19789 1.78427C3.97553 1.84314 2.5 1.91421 2.5 2.5C2.5 2.77614 2.72386 3 3 3H12C12.2761 3 12.5 2.77614 12.5 2.5C12.5 1.91421 11.0245 1.84314 9.80211 1.78427C8.93776 1.74264 8.2 1.7071 8.2 1.5C8.2 1.38465 8.30493 1.31074 8.42313 1.22749C8.57554 1.12014 8.75 0.997258 8.75 0.749995C8.75047 0.281106 8.19527 0.0032959 7.5 0.0032959ZM2.89451 6.12266C2.25806 6.52471 1.90417 7.31118 2.02473 8.0556L2.83588 12.4772C3.00993 13.3562 3.7629 14 4.66061 14H10.3373C11.2354 14 11.9884 13.3562 12.1625 12.4772L12.9736 8.05607C13.089 7.32358 12.8284 6.53276 12.1331 6.09373C11.7283 5.83013 11.6412 5.33231 12.1331 5.12796C12.8284 4.86435 12.6948 4 12 4H10.3001H6.80005H2.99996C2.30469 4 2.19878 4.89328 2.89451 5.15689C3.38642 5.33231 3.29939 5.83013 2.89451 6.12266ZM8.20006 6.25C8.20006 5.81769 8.08572 5.37615 7.90635 5L4.11093 5C4.20626 5.21312 4.2419 5.43889 4.22904 5.65521C4.19522 6.22412 3.84587 6.66899 3.48016 6.93322L3.45492 6.95146L3.42858 6.9681C3.13407 7.15414 2.95801 7.53989 3.01058 7.88749L3.81797 12.2886C3.90513 12.7154 4.26148 13 4.66061 13H10.3373C10.737 13 11.0932 12.7153 11.1804 12.2886L11.9874 7.8898C12.048 7.48247 11.8954 7.12631 11.5992 6.93927L11.5875 6.93184L11.5875 6.93176C11.1947 6.67602 10.8331 6.22785 10.7986 5.64798C10.7846 5.412 10.8264 5.19397 10.9112 5H9.05517C9.01987 5.14611 9.00006 5.31201 9.00006 5.5C9.00006 5.9745 9.21679 6.37127 9.44367 6.78662C9.69284 7.24278 9.95425 7.72136 9.95425 8.34993C9.95425 9.2698 9.49868 9.84205 8.62189 9.84205C8.13206 9.84205 7.57818 9.46097 7.57818 8.75781C7.57818 8.35279 7.71558 8.01646 7.86121 7.65998C8.0254 7.25806 8.20006 6.83051 8.20006 6.25Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/id_card_icon.rs b/packages/icons/dioxus/src/id_card_icon.rs new file mode 100644 index 00000000..6eedc185 --- /dev/null +++ b/packages/icons/dioxus/src/id_card_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct IdCardIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn IdCardIcon(props: IdCardIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14 11.0001V4.00006L1 4.00006L1 11.0001H14ZM15 4.00006V11.0001C15 11.5523 14.5523 12.0001 14 12.0001H1C0.447715 12.0001 0 11.5523 0 11.0001V4.00006C0 3.44778 0.447715 3.00006 1 3.00006H14C14.5523 3.00006 15 3.44778 15 4.00006ZM2 5.25C2 5.11193 2.11193 5 2.25 5H5.75C5.88807 5 6 5.11193 6 5.25V9.75C6 9.88807 5.88807 10 5.75 10H2.25C2.11193 10 2 9.88807 2 9.75V5.25ZM7.5 7C7.22386 7 7 7.22386 7 7.5C7 7.77614 7.22386 8 7.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H7.5ZM7 9.5C7 9.22386 7.22386 9 7.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H7.5C7.22386 10 7 9.77614 7 9.5ZM7.5 5C7.22386 5 7 5.22386 7 5.5C7 5.77614 7.22386 6 7.5 6H11.5C11.7761 6 12 5.77614 12 5.5C12 5.22386 11.7761 5 11.5 5H7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/image_icon.rs b/packages/icons/dioxus/src/image_icon.rs new file mode 100644 index 00000000..6d6d589e --- /dev/null +++ b/packages/icons/dioxus/src/image_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ImageIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ImageIcon(props: ImageIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/info_circled_icon.rs b/packages/icons/dioxus/src/info_circled_icon.rs new file mode 100644 index 00000000..53e3e98a --- /dev/null +++ b/packages/icons/dioxus/src/info_circled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct InfoCircledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn InfoCircledIcon(props: InfoCircledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/input_icon.rs b/packages/icons/dioxus/src/input_icon.rs new file mode 100644 index 00000000..1b7cd5e6 --- /dev/null +++ b/packages/icons/dioxus/src/input_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct InputIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn InputIcon(props: InputIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.5 1C6.22386 1 6 1.22386 6 1.5C6 1.77614 6.22386 2 6.5 2C7.12671 2 7.45718 2.20028 7.65563 2.47812C7.8781 2.78957 8 3.28837 8 4V11C8 11.7116 7.8781 12.2104 7.65563 12.5219C7.45718 12.7997 7.12671 13 6.5 13C6.22386 13 6 13.2239 6 13.5C6 13.7761 6.22386 14 6.5 14C7.37329 14 8.04282 13.7003 8.46937 13.1031C8.47976 13.0886 8.48997 13.0739 8.5 13.0591C8.51003 13.0739 8.52024 13.0886 8.53063 13.1031C8.95718 13.7003 9.62671 14 10.5 14C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13C9.87329 13 9.54282 12.7997 9.34437 12.5219C9.1219 12.2104 9 11.7116 9 11V4C9 3.28837 9.1219 2.78957 9.34437 2.47812C9.54282 2.20028 9.87329 2 10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1C9.62671 1 8.95718 1.29972 8.53063 1.89688C8.52024 1.91143 8.51003 1.92611 8.5 1.9409C8.48997 1.92611 8.47976 1.91143 8.46937 1.89688C8.04282 1.29972 7.37329 1 6.5 1ZM14 5H11V4H14C14.5523 4 15 4.44772 15 5V10C15 10.5523 14.5523 11 14 11H11V10H14V5ZM6 4V5H1L1 10H6V11H1C0.447715 11 0 10.5523 0 10V5C0 4.44772 0.447715 4 1 4H6Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/instagram_logo_icon.rs b/packages/icons/dioxus/src/instagram_logo_icon.rs new file mode 100644 index 00000000..794cf5ae --- /dev/null +++ b/packages/icons/dioxus/src/instagram_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct InstagramLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn InstagramLogoIcon(props: InstagramLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.9091 12.909C13.2365 12.5817 13.4918 12.1895 13.6588 11.7577C13.8195 11.3443 13.9294 10.8718 13.961 10.1799C13.9926 9.48665 14.0001 9.26529 14.0001 7.50001C14.0001 5.73473 13.9926 5.51328 13.961 4.82008C13.9294 4.12821 13.8195 3.65573 13.6588 3.24228C13.4956 2.80857 13.2398 2.41567 12.9091 2.091C12.5844 1.76028 12.1915 1.50437 11.7578 1.34113C11.3443 1.18056 10.8718 1.0707 10.1799 1.03924C9.48675 1.00748 9.26537 1 7.50006 1C5.73476 1 5.51333 1.00748 4.82014 1.03912C4.12826 1.0707 3.65578 1.18056 3.24233 1.34125C2.80862 1.50447 2.41573 1.76032 2.09105 2.09098C1.76032 2.41563 1.5044 2.80852 1.34113 3.24225C1.18056 3.65573 1.0707 4.12821 1.03924 4.82008C1.00748 5.51328 1 5.73471 1 7.50001C1 9.26532 1.00748 9.48675 1.03924 10.1799C1.07083 10.8718 1.18069 11.3443 1.34138 11.7577C1.5046 12.1915 1.76045 12.5843 2.09111 12.909C2.41578 13.2397 2.80867 13.4955 3.24238 13.6587C3.65586 13.8194 4.12834 13.9293 4.82019 13.9609C5.51348 13.9925 5.73483 14 7.50012 14C9.2654 14 9.48685 13.9925 10.18 13.9609C10.8719 13.9293 11.3444 13.8194 11.7578 13.6587C12.1896 13.4917 12.5818 13.2364 12.9091 12.909ZM1.99949 6.73496C1.99974 6.94524 2.00005 7.19543 2.00005 7.50002C2.00005 7.80461 1.99974 8.0548 1.99949 8.26507C1.99849 9.08596 1.99824 9.29856 2.01963 9.7655C2.04625 10.3509 2.07823 10.7811 2.17588 11.1053C2.26976 11.417 2.37505 11.7342 2.7188 12.1171C3.06255 12.4999 3.39411 12.6733 3.81645 12.8007C4.23879 12.928 4.7696 12.9554 5.23052 12.9764C5.75332 13.0003 5.96052 13.0002 7.05714 12.9999L7.50006 12.9999C7.79304 12.9999 8.03569 13.0001 8.2409 13.0004C9.08195 13.0013 9.29425 13.0015 9.76575 12.9799C10.3512 12.9533 10.7814 12.9213 11.1056 12.8237C11.4173 12.7298 11.7345 12.6245 12.1173 12.2807C12.5001 11.937 12.6735 11.6054 12.8009 11.1831C12.9283 10.7607 12.9557 10.2299 12.9767 9.76902C13.0005 9.24689 13.0004 9.04027 13.0002 7.94749V7.94738L13.0001 7.50039L13.0001 7.05747C13.0004 5.96085 13.0005 5.75365 12.9766 5.23085C12.9556 4.76993 12.9282 4.23912 12.8009 3.81678C12.6735 3.39445 12.5001 3.06288 12.1173 2.71913C11.7345 2.37538 11.4172 2.27009 11.1056 2.17621C10.7813 2.07856 10.3511 2.04658 9.76571 2.01996C9.29421 1.99836 9.08194 1.99859 8.24092 1.99951H8.24092C8.0357 1.99974 7.79305 2.00001 7.50006 2.00001L7.05704 1.99993C5.96051 1.99964 5.75331 1.99958 5.23052 2.02343C4.7696 2.04446 4.23879 2.07183 3.81645 2.19921C3.39411 2.32659 3.06255 2.49999 2.7188 2.88281C2.37505 3.26562 2.26976 3.58286 2.17588 3.89453C2.07823 4.21874 2.04625 4.64894 2.01963 5.23437C1.99824 5.70131 1.99849 5.91401 1.99949 6.73496ZM7.49996 5.25015C6.25741 5.25015 5.25012 6.25744 5.25012 7.49999C5.25012 8.74254 6.25741 9.74983 7.49996 9.74983C8.74251 9.74983 9.7498 8.74254 9.7498 7.49999C9.7498 6.25744 8.74251 5.25015 7.49996 5.25015ZM4.25012 7.49999C4.25012 5.70515 5.70512 4.25015 7.49996 4.25015C9.2948 4.25015 10.7498 5.70515 10.7498 7.49999C10.7498 9.29483 9.2948 10.7498 7.49996 10.7498C5.70512 10.7498 4.25012 9.29483 4.25012 7.49999ZM10.9697 4.7803C11.3839 4.7803 11.7197 4.44452 11.7197 4.0303C11.7197 3.61609 11.3839 3.2803 10.9697 3.2803C10.5555 3.2803 10.2197 3.61609 10.2197 4.0303C10.2197 4.44452 10.5555 4.7803 10.9697 4.7803Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/keyboard_icon.rs b/packages/icons/dioxus/src/keyboard_icon.rs new file mode 100644 index 00000000..3fffe4d0 --- /dev/null +++ b/packages/icons/dioxus/src/keyboard_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct KeyboardIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn KeyboardIcon(props: KeyboardIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.5 4H1.5C1.22386 4 1 4.22386 1 4.5V10.5C1 10.7761 1.22386 11 1.5 11H13.5C13.7761 11 14 10.7761 14 10.5V4.5C14 4.22386 13.7761 4 13.5 4ZM1.5 3C0.671573 3 0 3.67157 0 4.5V10.5C0 11.3284 0.671573 12 1.5 12H13.5C14.3284 12 15 11.3284 15 10.5V4.5C15 3.67157 14.3284 3 13.5 3H1.5ZM2 5H3V6H2V5ZM5 5H4V6H5V5ZM6 5H7V6H6V5ZM9 5H8V6H9V5ZM10 5H11V6H10V5ZM13 5H12V6H13V5ZM11 7H12V8H11V7ZM13 9H12V10H13V9ZM9 7H10V8H9V7ZM8 7H7V8H8V7ZM5 7H6V8H5V7ZM4 7H3V8H4V7ZM2 9H3V10H2V9ZM11 9H4V10H11V9Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/lap_timer_icon.rs b/packages/icons/dioxus/src/lap_timer_icon.rs new file mode 100644 index 00000000..3316afb7 --- /dev/null +++ b/packages/icons/dioxus/src/lap_timer_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LapTimerIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LapTimerIcon(props: LapTimerIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.49998 0.5C5.49998 0.223858 5.72383 0 5.99998 0H7.49998H8.99998C9.27612 0 9.49998 0.223858 9.49998 0.5C9.49998 0.776142 9.27612 1 8.99998 1H7.99998V2.11922C9.09832 2.20409 10.119 2.56622 10.992 3.13572C11.0116 3.10851 11.0336 3.08252 11.058 3.05806L12.058 2.05806C12.3021 1.81398 12.6978 1.81398 12.9419 2.05806C13.186 2.30214 13.186 2.69786 12.9419 2.94194L11.967 3.91682C13.1595 5.07925 13.9 6.70314 13.9 8.49998C13.9 12.0346 11.0346 14.9 7.49998 14.9C3.96535 14.9 1.09998 12.0346 1.09998 8.49998C1.09998 5.13361 3.69904 2.3743 6.99998 2.11922V1H5.99998C5.72383 1 5.49998 0.776142 5.49998 0.5ZM2.09998 8.49998C2.09998 5.51764 4.51764 3.09998 7.49998 3.09998C10.4823 3.09998 12.9 5.51764 12.9 8.49998C12.9 11.4823 10.4823 13.9 7.49998 13.9C4.51764 13.9 2.09998 11.4823 2.09998 8.49998ZM7.49998 8.49998V4.09998C5.06992 4.09998 3.09998 6.06992 3.09998 8.49998C3.09998 10.93 5.06992 12.9 7.49998 12.9C8.715 12.9 9.815 12.4075 10.6112 11.6112L7.49998 8.49998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/laptop_icon.rs b/packages/icons/dioxus/src/laptop_icon.rs new file mode 100644 index 00000000..f41e2bde --- /dev/null +++ b/packages/icons/dioxus/src/laptop_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LaptopIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LaptopIcon(props: LaptopIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 4.25C2 4.11193 2.11193 4 2.25 4H12.75C12.8881 4 13 4.11193 13 4.25V11.5H2V4.25ZM2.25 3C1.55964 3 1 3.55964 1 4.25V12H0V12.5C0 12.7761 0.223858 13 0.5 13H14.5C14.7761 13 15 12.7761 15 12.5V12H14V4.25C14 3.55964 13.4404 3 12.75 3H2.25Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/layers_icon.rs b/packages/icons/dioxus/src/layers_icon.rs new file mode 100644 index 00000000..4899b4d3 --- /dev/null +++ b/packages/icons/dioxus/src/layers_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LayersIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LayersIcon(props: LayersIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.75432 0.819537C7.59742 0.726821 7.4025 0.726821 7.24559 0.819537L1.74559 4.06954C1.59336 4.15949 1.49996 4.32317 1.49996 4.5C1.49996 4.67683 1.59336 4.84051 1.74559 4.93046L7.24559 8.18046C7.4025 8.27318 7.59742 8.27318 7.75432 8.18046L13.2543 4.93046C13.4066 4.84051 13.5 4.67683 13.5 4.5C13.5 4.32317 13.4066 4.15949 13.2543 4.06954L7.75432 0.819537ZM7.49996 7.16923L2.9828 4.5L7.49996 1.83077L12.0171 4.5L7.49996 7.16923ZM1.5695 7.49564C1.70998 7.2579 2.01659 7.17906 2.25432 7.31954L7.49996 10.4192L12.7456 7.31954C12.9833 7.17906 13.2899 7.2579 13.4304 7.49564C13.5709 7.73337 13.4921 8.03998 13.2543 8.18046L7.75432 11.4305C7.59742 11.5232 7.4025 11.5232 7.24559 11.4305L1.74559 8.18046C1.50786 8.03998 1.42901 7.73337 1.5695 7.49564ZM1.56949 10.4956C1.70998 10.2579 2.01658 10.1791 2.25432 10.3195L7.49996 13.4192L12.7456 10.3195C12.9833 10.1791 13.2899 10.2579 13.4304 10.4956C13.5709 10.7334 13.4921 11.04 13.2543 11.1805L7.75432 14.4305C7.59742 14.5232 7.4025 14.5232 7.24559 14.4305L1.74559 11.1805C1.50785 11.04 1.42901 10.7334 1.56949 10.4956Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/layout_icon.rs b/packages/icons/dioxus/src/layout_icon.rs new file mode 100644 index 00000000..7dfb6bf1 --- /dev/null +++ b/packages/icons/dioxus/src/layout_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LayoutIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LayoutIcon(props: LayoutIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9 2H6V13H9V2ZM10 2V13H12.5C12.7761 13 13 12.7761 13 12.5V2.5C13 2.22386 12.7761 2 12.5 2H10ZM2.5 2H5V13H2.5C2.22386 13 2 12.7761 2 12.5V2.5C2 2.22386 2.22386 2 2.5 2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/letter_case_capitalize_icon.rs b/packages/icons/dioxus/src/letter_case_capitalize_icon.rs new file mode 100644 index 00000000..3ba05d1d --- /dev/null +++ b/packages/icons/dioxus/src/letter_case_capitalize_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LetterCaseCapitalizeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LetterCaseCapitalizeIcon(props: LetterCaseCapitalizeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.68979 2.75C3.89667 2.74979 4.08232 2.87701 4.15679 3.07003L7.36662 11.39C7.46602 11.6477 7.33774 11.9371 7.0801 12.0365C6.82247 12.1359 6.53304 12.0076 6.43365 11.75L5.3825 9.02537H2.01133L0.966992 11.749C0.868128 12.0068 0.578964 12.1357 0.321126 12.0369C0.0632878 11.938 -0.0655864 11.6488 0.0332774 11.391L3.22344 3.07099C3.29751 2.87782 3.4829 2.75021 3.68979 2.75ZM3.69174 4.64284L5.05458 8.17537H2.33724L3.69174 4.64284ZM10.8989 5.20703C9.25818 5.20703 8.00915 6.68569 8.00915 8.60972C8.00915 10.6337 9.35818 12.0124 10.8989 12.0124C11.7214 12.0124 12.5744 11.6692 13.1543 11.0219V11.53C13.1543 11.7785 13.3557 11.98 13.6043 11.98C13.8528 11.98 14.0543 11.7785 14.0543 11.53V5.72C14.0543 5.47147 13.8528 5.27 13.6043 5.27C13.3557 5.27 13.1543 5.47147 13.1543 5.72V6.22317C12.6054 5.60095 11.7924 5.20703 10.8989 5.20703ZM13.1543 9.79823V7.30195C12.7639 6.58101 11.9414 6.05757 11.0868 6.05757C10.1088 6.05757 9.03503 6.96581 9.03503 8.60955C9.03503 10.1533 10.0088 11.1615 11.0868 11.1615C11.9701 11.1615 12.7719 10.4952 13.1543 9.79823Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/letter_case_lowercase_icon.rs b/packages/icons/dioxus/src/letter_case_lowercase_icon.rs new file mode 100644 index 00000000..c78177e3 --- /dev/null +++ b/packages/icons/dioxus/src/letter_case_lowercase_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LetterCaseLowercaseIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LetterCaseLowercaseIcon(props: LetterCaseLowercaseIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.69899 5.20703C2.05823 5.20703 0.809204 6.68569 0.809204 8.60972C0.809204 10.6337 2.15823 12.0124 3.69899 12.0124C4.52126 12.0124 5.37402 11.6693 5.9539 11.0223V11.53C5.9539 11.7785 6.15537 11.98 6.4039 11.98C6.65243 11.98 6.8539 11.7785 6.8539 11.53V5.72001C6.8539 5.47149 6.65243 5.27001 6.4039 5.27001C6.15537 5.27001 5.9539 5.47149 5.9539 5.72001V6.22269C5.40506 5.60075 4.59218 5.20703 3.69899 5.20703ZM5.9539 9.799V7.30117C5.56339 6.58064 4.74118 6.05757 3.8868 6.05757C2.9089 6.05757 1.83508 6.96581 1.83508 8.60955C1.83508 10.1533 2.80889 11.1615 3.8868 11.1615C4.76984 11.1615 5.57141 10.4957 5.9539 9.799ZM10.799 5.20703C9.15823 5.20703 7.9092 6.68569 7.9092 8.60972C7.9092 10.6337 9.25823 12.0124 10.799 12.0124C11.6215 12.0124 12.4744 11.6692 13.0543 11.0218V11.53C13.0543 11.7785 13.2558 11.98 13.5043 11.98C13.7529 11.98 13.9543 11.7785 13.9543 11.53V5.72C13.9543 5.47147 13.7529 5.27 13.5043 5.27C13.2558 5.27 13.0543 5.47147 13.0543 5.72V6.22318C12.5055 5.60095 11.6924 5.20703 10.799 5.20703ZM13.0543 9.79822V7.30196C12.664 6.58102 11.8415 6.05757 10.9868 6.05757C10.0089 6.05757 8.93508 6.96581 8.93508 8.60955C8.93508 10.1533 9.90889 11.1615 10.9868 11.1615C11.8702 11.1615 12.672 10.4952 13.0543 9.79822Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/letter_case_toggle_icon.rs b/packages/icons/dioxus/src/letter_case_toggle_icon.rs new file mode 100644 index 00000000..75253357 --- /dev/null +++ b/packages/icons/dioxus/src/letter_case_toggle_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LetterCaseToggleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LetterCaseToggleIcon(props: LetterCaseToggleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.2895 2.75C11.4964 2.74979 11.6821 2.87701 11.7565 3.07003L14.9664 11.39C15.0657 11.6477 14.9375 11.9371 14.6798 12.0365C14.4222 12.1359 14.1328 12.0076 14.0334 11.75L12.9822 9.02537H9.61106L8.56672 11.749C8.46786 12.0068 8.1787 12.1357 7.92086 12.0369C7.66302 11.938 7.53415 11.6488 7.63301 11.391L10.8232 3.07099C10.8972 2.87782 11.0826 2.75021 11.2895 2.75ZM11.2915 4.64284L12.6543 8.17537H9.93698L11.2915 4.64284ZM2.89895 5.20703C1.25818 5.20703 0.00915527 6.68569 0.00915527 8.60972C0.00915527 10.6337 1.35818 12.0124 2.89895 12.0124C3.72141 12.0124 4.57438 11.6692 5.15427 11.0219V11.53C5.15427 11.7785 5.35574 11.98 5.60427 11.98C5.8528 11.98 6.05427 11.7785 6.05427 11.53V5.72C6.05427 5.47147 5.8528 5.27 5.60427 5.27C5.35574 5.27 5.15427 5.47147 5.15427 5.72V6.22317C4.60543 5.60095 3.79236 5.20703 2.89895 5.20703ZM5.15427 9.79823V7.30195C4.76393 6.58101 3.94144 6.05757 3.08675 6.05757C2.10885 6.05757 1.03503 6.96581 1.03503 8.60955C1.03503 10.1533 2.00885 11.1615 3.08675 11.1615C3.97011 11.1615 4.77195 10.4952 5.15427 9.79823Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/letter_case_uppercase_icon.rs b/packages/icons/dioxus/src/letter_case_uppercase_icon.rs new file mode 100644 index 00000000..63d50e2a --- /dev/null +++ b/packages/icons/dioxus/src/letter_case_uppercase_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LetterCaseUppercaseIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LetterCaseUppercaseIcon(props: LetterCaseUppercaseIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.6255 2.75C3.83478 2.75 4.02192 2.88034 4.09448 3.07664L7.16985 11.3962C7.2656 11.6552 7.13324 11.9428 6.87423 12.0386C6.61522 12.1343 6.32763 12.002 6.23188 11.7429L5.22387 9.01603H2.02712L1.01911 11.7429C0.923362 12.002 0.635774 12.1343 0.376762 12.0386C0.117749 11.9428 -0.0146052 11.6552 0.0811401 11.3962L3.15651 3.07664C3.22908 2.88034 3.41621 2.75 3.6255 2.75ZM3.6255 4.69207L4.90966 8.16603H2.34133L3.6255 4.69207ZM11.3719 2.75C11.5811 2.75 11.7683 2.88034 11.8408 3.07664L14.9162 11.3962C15.012 11.6552 14.8796 11.9428 14.6206 12.0386C14.3616 12.1343 14.074 12.002 13.9782 11.7429L12.9702 9.01603H9.77348L8.76547 11.7429C8.66972 12.002 8.38213 12.1343 8.12312 12.0386C7.86411 11.9428 7.73175 11.6552 7.8275 11.3962L10.9029 3.07664C10.9754 2.88034 11.1626 2.75 11.3719 2.75ZM11.3719 4.69207L12.656 8.16603H10.0877L11.3719 4.69207Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/letter_spacing_icon.rs b/packages/icons/dioxus/src/letter_spacing_icon.rs new file mode 100644 index 00000000..c679092d --- /dev/null +++ b/packages/icons/dioxus/src/letter_spacing_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LetterSpacingIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LetterSpacingIcon(props: LetterSpacingIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.55293 0.999969C4.75295 0.999969 4.93372 1.11917 5.0125 1.30301L8.01106 8.29982C8.11984 8.55363 8.00226 8.84757 7.74844 8.95635C7.49463 9.06512 7.20069 8.94754 7.09191 8.69373L6.11613 6.41685H2.98973L2.01395 8.69373C1.90517 8.94754 1.61123 9.06512 1.35742 8.95635C1.1036 8.84757 0.986023 8.55363 1.0948 8.29982L4.09336 1.30301C4.17214 1.11917 4.35291 0.999969 4.55293 0.999969ZM4.55293 2.76929L5.75186 5.56685H3.354L4.55293 2.76929ZM11.0562 9.00214C11.2617 9.00214 11.4463 8.87633 11.5215 8.68502L14.2733 1.68299C14.3743 1.42598 14.2478 1.13575 13.9908 1.03475C13.7338 0.933747 13.4436 1.06021 13.3426 1.31722L11.0562 7.13514L8.76973 1.31722C8.66873 1.06021 8.3785 0.933747 8.1215 1.03475C7.86449 1.13575 7.73802 1.42598 7.83902 1.68299L10.5908 8.68502C10.666 8.87633 10.8506 9.00214 11.0562 9.00214ZM14.9537 12.4999C14.9537 12.606 14.9115 12.7077 14.8365 12.7828L12.8365 14.7828C12.6803 14.939 12.4271 14.939 12.2708 14.7828C12.1146 14.6265 12.1146 14.3733 12.2708 14.2171L13.588 12.8999H1.51937L2.83653 14.2171C2.99274 14.3733 2.99274 14.6265 2.83653 14.7828C2.68032 14.939 2.42705 14.939 2.27084 14.7828L0.270843 12.7828C0.195828 12.7077 0.153687 12.606 0.153687 12.4999C0.153687 12.3938 0.195828 12.2921 0.270843 12.2171L2.27084 10.2171C2.42705 10.0609 2.68032 10.0609 2.83653 10.2171C2.99274 10.3733 2.99274 10.6265 2.83653 10.7828L1.51937 12.0999L13.588 12.0999L12.2708 10.7828C12.1146 10.6265 12.1146 10.3733 12.2708 10.2171C12.4271 10.0609 12.6803 10.0609 12.8365 10.2171L14.8365 12.2171C14.9115 12.2921 14.9537 12.3938 14.9537 12.4999Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/lib.rs b/packages/icons/dioxus/src/lib.rs index 8b137891..9fd0826d 100644 --- a/packages/icons/dioxus/src/lib.rs +++ b/packages/icons/dioxus/src/lib.rs @@ -1 +1,643 @@ +//! Dioxus port of [Radix Icons](https://www.radix-ui.com/icons). +//! +//! Radix Icons is a crisp set of 15x15 icons. +//! +//! See [the Rust Radix book](https://radix.rustforweb.org/icons/index.html) for more documenation. +mod accessibility_icon; +mod activity_log_icon; +mod align_baseline_icon; +mod align_bottom_icon; +mod align_center_horizontally_icon; +mod align_center_vertically_icon; +mod align_left_icon; +mod align_right_icon; +mod align_top_icon; +mod all_sides_icon; +mod angle_icon; +mod archive_icon; +mod arrow_bottom_left_icon; +mod arrow_bottom_right_icon; +mod arrow_down_icon; +mod arrow_left_icon; +mod arrow_right_icon; +mod arrow_top_left_icon; +mod arrow_top_right_icon; +mod arrow_up_icon; +mod aspect_ratio_icon; +mod avatar_icon; +mod backpack_icon; +mod badge_icon; +mod bar_chart_icon; +mod bell_icon; +mod blending_mode_icon; +mod bookmark_filled_icon; +mod bookmark_icon; +mod border_all_icon; +mod border_bottom_icon; +mod border_dashed_icon; +mod border_dotted_icon; +mod border_left_icon; +mod border_none_icon; +mod border_right_icon; +mod border_solid_icon; +mod border_split_icon; +mod border_style_icon; +mod border_top_icon; +mod border_width_icon; +mod box_icon; +mod box_model_icon; +mod button_icon; +mod calendar_icon; +mod camera_icon; +mod card_stack_icon; +mod card_stack_minus_icon; +mod card_stack_plus_icon; +mod caret_down_icon; +mod caret_left_icon; +mod caret_right_icon; +mod caret_sort_icon; +mod caret_up_icon; +mod chat_bubble_icon; +mod check_circled_icon; +mod check_icon; +mod checkbox_icon; +mod chevron_down_icon; +mod chevron_left_icon; +mod chevron_right_icon; +mod chevron_up_icon; +mod circle_backslash_icon; +mod circle_icon; +mod clipboard_copy_icon; +mod clipboard_icon; +mod clock_icon; +mod code_icon; +mod codesandbox_logo_icon; +mod color_wheel_icon; +mod column_spacing_icon; +mod columns_icon; +mod commit_icon; +mod component_1_icon; +mod component_2_icon; +mod component_boolean_icon; +mod component_instance_icon; +mod component_none_icon; +mod component_placeholder_icon; +mod container_icon; +mod cookie_icon; +mod copy_icon; +mod corner_bottom_left_icon; +mod corner_bottom_right_icon; +mod corner_top_left_icon; +mod corner_top_right_icon; +mod corners_icon; +mod countdown_timer_icon; +mod counter_clockwise_clock_icon; +mod crop_icon; +mod cross_1_icon; +mod cross_2_icon; +mod cross_circled_icon; +mod crosshair_1_icon; +mod crosshair_2_icon; +mod crumpled_paper_icon; +mod cube_icon; +mod cursor_arrow_icon; +mod cursor_text_icon; +mod dash_icon; +mod dashboard_icon; +mod desktop_icon; +mod dimensions_icon; +mod disc_icon; +mod discord_logo_icon; +mod divider_horizontal_icon; +mod divider_vertical_icon; +mod dot_filled_icon; +mod dot_icon; +mod dots_horizontal_icon; +mod dots_vertical_icon; +mod double_arrow_down_icon; +mod double_arrow_left_icon; +mod double_arrow_right_icon; +mod double_arrow_up_icon; +mod download_icon; +mod drag_handle_dots_1_icon; +mod drag_handle_dots_2_icon; +mod drag_handle_horizontal_icon; +mod drag_handle_vertical_icon; +mod drawing_pin_filled_icon; +mod drawing_pin_icon; +mod dropdown_menu_icon; +mod enter_full_screen_icon; +mod enter_icon; +mod envelope_closed_icon; +mod envelope_open_icon; +mod eraser_icon; +mod exclamation_triangle_icon; +mod exit_full_screen_icon; +mod exit_icon; +mod external_link_icon; +mod eye_closed_icon; +mod eye_none_icon; +mod eye_open_icon; +mod face_icon; +mod figma_logo_icon; +mod file_icon; +mod file_minus_icon; +mod file_plus_icon; +mod file_text_icon; +mod font_bold_icon; +mod font_family_icon; +mod font_italic_icon; +mod font_roman_icon; +mod font_size_icon; +mod font_style_icon; +mod frame_icon; +mod framer_logo_icon; +mod gear_icon; +mod github_logo_icon; +mod globe_icon; +mod grid_icon; +mod group_icon; +mod half_1_icon; +mod half_2_icon; +mod hamburger_menu_icon; +mod hand_icon; +mod heading_icon; +mod heart_filled_icon; +mod heart_icon; +mod height_icon; +mod hobby_knife_icon; +mod home_icon; +mod iconjar_logo_icon; +mod id_card_icon; +mod image_icon; +mod info_circled_icon; +mod input_icon; +mod instagram_logo_icon; +mod keyboard_icon; +mod lap_timer_icon; +mod laptop_icon; +mod layers_icon; +mod layout_icon; +mod letter_case_capitalize_icon; +mod letter_case_lowercase_icon; +mod letter_case_toggle_icon; +mod letter_case_uppercase_icon; +mod letter_spacing_icon; +mod lightning_bolt_icon; +mod line_height_icon; +mod link_1_icon; +mod link_2_icon; +mod link_break_1_icon; +mod link_break_2_icon; +mod link_none_1_icon; +mod link_none_2_icon; +mod linkedin_logo_icon; +mod list_bullet_icon; +mod lock_closed_icon; +mod lock_open_1_icon; +mod lock_open_2_icon; +mod loop_icon; +mod magic_wand_icon; +mod magnifying_glass_icon; +mod margin_icon; +mod mask_off_icon; +mod mask_on_icon; +mod minus_circled_icon; +mod minus_icon; +mod mix_icon; +mod mixer_horizontal_icon; +mod mixer_vertical_icon; +mod mobile_icon; +mod modulz_logo_icon; +mod moon_icon; +mod move_icon; +mod notion_logo_icon; +mod opacity_icon; +mod open_in_new_window_icon; +mod overline_icon; +mod padding_icon; +mod paper_plane_icon; +mod pause_icon; +mod pencil_1_icon; +mod pencil_2_icon; +mod person_icon; +mod pie_chart_icon; +mod pilcrow_icon; +mod pin_bottom_icon; +mod pin_left_icon; +mod pin_right_icon; +mod pin_top_icon; +mod play_icon; +mod plus_circled_icon; +mod plus_icon; +mod question_mark_circled_icon; +mod question_mark_icon; +mod quote_icon; +mod radiobutton_icon; +mod reader_icon; +mod reload_icon; +mod reset_icon; +mod resume_icon; +mod rocket_icon; +mod rotate_counter_clockwise_icon; +mod row_spacing_icon; +mod rows_icon; +mod ruler_horizontal_icon; +mod ruler_square_icon; +mod scissors_icon; +mod section_icon; +mod sewing_pin_filled_icon; +mod sewing_pin_icon; +mod shadow_icon; +mod shadow_inner_icon; +mod shadow_none_icon; +mod shadow_outer_icon; +mod share_1_icon; +mod share_2_icon; +mod shuffle_icon; +mod size_icon; +mod sketch_logo_icon; +mod slash_icon; +mod slider_icon; +mod space_between_horizontally_icon; +mod space_between_vertically_icon; +mod space_evenly_horizontally_icon; +mod space_evenly_vertically_icon; +mod speaker_loud_icon; +mod speaker_moderate_icon; +mod speaker_off_icon; +mod speaker_quiet_icon; +mod square_icon; +mod stack_icon; +mod star_filled_icon; +mod star_icon; +mod stitches_logo_icon; +mod stop_icon; +mod stopwatch_icon; +mod stretch_horizontally_icon; +mod stretch_vertically_icon; +mod strikethrough_icon; +mod sun_icon; +mod switch_icon; +mod symbol_icon; +mod table_icon; +mod target_icon; +mod text_align_bottom_icon; +mod text_align_center_icon; +mod text_align_justify_icon; +mod text_align_left_icon; +mod text_align_middle_icon; +mod text_align_right_icon; +mod text_align_top_icon; +mod text_icon; +mod text_none_icon; +mod thick_arrow_down_icon; +mod thick_arrow_left_icon; +mod thick_arrow_right_icon; +mod thick_arrow_up_icon; +mod timer_icon; +mod tokens_icon; +mod track_next_icon; +mod track_previous_icon; +mod transform_icon; +mod transparency_grid_icon; +mod trash_icon; +mod triangle_down_icon; +mod triangle_left_icon; +mod triangle_right_icon; +mod triangle_up_icon; +mod twitter_logo_icon; +mod underline_icon; +mod update_icon; +mod upload_icon; +mod value_icon; +mod value_none_icon; +mod vercel_logo_icon; +mod video_icon; +mod view_grid_icon; +mod view_horizontal_icon; +mod view_none_icon; +mod view_vertical_icon; +mod width_icon; +mod zoom_in_icon; +mod zoom_out_icon; + +pub use accessibility_icon::*; +pub use activity_log_icon::*; +pub use align_baseline_icon::*; +pub use align_bottom_icon::*; +pub use align_center_horizontally_icon::*; +pub use align_center_vertically_icon::*; +pub use align_left_icon::*; +pub use align_right_icon::*; +pub use align_top_icon::*; +pub use all_sides_icon::*; +pub use angle_icon::*; +pub use archive_icon::*; +pub use arrow_bottom_left_icon::*; +pub use arrow_bottom_right_icon::*; +pub use arrow_down_icon::*; +pub use arrow_left_icon::*; +pub use arrow_right_icon::*; +pub use arrow_top_left_icon::*; +pub use arrow_top_right_icon::*; +pub use arrow_up_icon::*; +pub use aspect_ratio_icon::*; +pub use avatar_icon::*; +pub use backpack_icon::*; +pub use badge_icon::*; +pub use bar_chart_icon::*; +pub use bell_icon::*; +pub use blending_mode_icon::*; +pub use bookmark_filled_icon::*; +pub use bookmark_icon::*; +pub use border_all_icon::*; +pub use border_bottom_icon::*; +pub use border_dashed_icon::*; +pub use border_dotted_icon::*; +pub use border_left_icon::*; +pub use border_none_icon::*; +pub use border_right_icon::*; +pub use border_solid_icon::*; +pub use border_split_icon::*; +pub use border_style_icon::*; +pub use border_top_icon::*; +pub use border_width_icon::*; +pub use box_icon::*; +pub use box_model_icon::*; +pub use button_icon::*; +pub use calendar_icon::*; +pub use camera_icon::*; +pub use card_stack_icon::*; +pub use card_stack_minus_icon::*; +pub use card_stack_plus_icon::*; +pub use caret_down_icon::*; +pub use caret_left_icon::*; +pub use caret_right_icon::*; +pub use caret_sort_icon::*; +pub use caret_up_icon::*; +pub use chat_bubble_icon::*; +pub use check_circled_icon::*; +pub use check_icon::*; +pub use checkbox_icon::*; +pub use chevron_down_icon::*; +pub use chevron_left_icon::*; +pub use chevron_right_icon::*; +pub use chevron_up_icon::*; +pub use circle_backslash_icon::*; +pub use circle_icon::*; +pub use clipboard_copy_icon::*; +pub use clipboard_icon::*; +pub use clock_icon::*; +pub use code_icon::*; +pub use codesandbox_logo_icon::*; +pub use color_wheel_icon::*; +pub use column_spacing_icon::*; +pub use columns_icon::*; +pub use commit_icon::*; +pub use component_1_icon::*; +pub use component_2_icon::*; +pub use component_boolean_icon::*; +pub use component_instance_icon::*; +pub use component_none_icon::*; +pub use component_placeholder_icon::*; +pub use container_icon::*; +pub use cookie_icon::*; +pub use copy_icon::*; +pub use corner_bottom_left_icon::*; +pub use corner_bottom_right_icon::*; +pub use corner_top_left_icon::*; +pub use corner_top_right_icon::*; +pub use corners_icon::*; +pub use countdown_timer_icon::*; +pub use counter_clockwise_clock_icon::*; +pub use crop_icon::*; +pub use cross_1_icon::*; +pub use cross_2_icon::*; +pub use cross_circled_icon::*; +pub use crosshair_1_icon::*; +pub use crosshair_2_icon::*; +pub use crumpled_paper_icon::*; +pub use cube_icon::*; +pub use cursor_arrow_icon::*; +pub use cursor_text_icon::*; +pub use dash_icon::*; +pub use dashboard_icon::*; +pub use desktop_icon::*; +pub use dimensions_icon::*; +pub use disc_icon::*; +pub use discord_logo_icon::*; +pub use divider_horizontal_icon::*; +pub use divider_vertical_icon::*; +pub use dot_filled_icon::*; +pub use dot_icon::*; +pub use dots_horizontal_icon::*; +pub use dots_vertical_icon::*; +pub use double_arrow_down_icon::*; +pub use double_arrow_left_icon::*; +pub use double_arrow_right_icon::*; +pub use double_arrow_up_icon::*; +pub use download_icon::*; +pub use drag_handle_dots_1_icon::*; +pub use drag_handle_dots_2_icon::*; +pub use drag_handle_horizontal_icon::*; +pub use drag_handle_vertical_icon::*; +pub use drawing_pin_filled_icon::*; +pub use drawing_pin_icon::*; +pub use dropdown_menu_icon::*; +pub use enter_full_screen_icon::*; +pub use enter_icon::*; +pub use envelope_closed_icon::*; +pub use envelope_open_icon::*; +pub use eraser_icon::*; +pub use exclamation_triangle_icon::*; +pub use exit_full_screen_icon::*; +pub use exit_icon::*; +pub use external_link_icon::*; +pub use eye_closed_icon::*; +pub use eye_none_icon::*; +pub use eye_open_icon::*; +pub use face_icon::*; +pub use figma_logo_icon::*; +pub use file_icon::*; +pub use file_minus_icon::*; +pub use file_plus_icon::*; +pub use file_text_icon::*; +pub use font_bold_icon::*; +pub use font_family_icon::*; +pub use font_italic_icon::*; +pub use font_roman_icon::*; +pub use font_size_icon::*; +pub use font_style_icon::*; +pub use frame_icon::*; +pub use framer_logo_icon::*; +pub use gear_icon::*; +pub use github_logo_icon::*; +pub use globe_icon::*; +pub use grid_icon::*; +pub use group_icon::*; +pub use half_1_icon::*; +pub use half_2_icon::*; +pub use hamburger_menu_icon::*; +pub use hand_icon::*; +pub use heading_icon::*; +pub use heart_filled_icon::*; +pub use heart_icon::*; +pub use height_icon::*; +pub use hobby_knife_icon::*; +pub use home_icon::*; +pub use iconjar_logo_icon::*; +pub use id_card_icon::*; +pub use image_icon::*; +pub use info_circled_icon::*; +pub use input_icon::*; +pub use instagram_logo_icon::*; +pub use keyboard_icon::*; +pub use lap_timer_icon::*; +pub use laptop_icon::*; +pub use layers_icon::*; +pub use layout_icon::*; +pub use letter_case_capitalize_icon::*; +pub use letter_case_lowercase_icon::*; +pub use letter_case_toggle_icon::*; +pub use letter_case_uppercase_icon::*; +pub use letter_spacing_icon::*; +pub use lightning_bolt_icon::*; +pub use line_height_icon::*; +pub use link_1_icon::*; +pub use link_2_icon::*; +pub use link_break_1_icon::*; +pub use link_break_2_icon::*; +pub use link_none_1_icon::*; +pub use link_none_2_icon::*; +pub use linkedin_logo_icon::*; +pub use list_bullet_icon::*; +pub use lock_closed_icon::*; +pub use lock_open_1_icon::*; +pub use lock_open_2_icon::*; +pub use loop_icon::*; +pub use magic_wand_icon::*; +pub use magnifying_glass_icon::*; +pub use margin_icon::*; +pub use mask_off_icon::*; +pub use mask_on_icon::*; +pub use minus_circled_icon::*; +pub use minus_icon::*; +pub use mix_icon::*; +pub use mixer_horizontal_icon::*; +pub use mixer_vertical_icon::*; +pub use mobile_icon::*; +pub use modulz_logo_icon::*; +pub use moon_icon::*; +pub use move_icon::*; +pub use notion_logo_icon::*; +pub use opacity_icon::*; +pub use open_in_new_window_icon::*; +pub use overline_icon::*; +pub use padding_icon::*; +pub use paper_plane_icon::*; +pub use pause_icon::*; +pub use pencil_1_icon::*; +pub use pencil_2_icon::*; +pub use person_icon::*; +pub use pie_chart_icon::*; +pub use pilcrow_icon::*; +pub use pin_bottom_icon::*; +pub use pin_left_icon::*; +pub use pin_right_icon::*; +pub use pin_top_icon::*; +pub use play_icon::*; +pub use plus_circled_icon::*; +pub use plus_icon::*; +pub use question_mark_circled_icon::*; +pub use question_mark_icon::*; +pub use quote_icon::*; +pub use radiobutton_icon::*; +pub use reader_icon::*; +pub use reload_icon::*; +pub use reset_icon::*; +pub use resume_icon::*; +pub use rocket_icon::*; +pub use rotate_counter_clockwise_icon::*; +pub use row_spacing_icon::*; +pub use rows_icon::*; +pub use ruler_horizontal_icon::*; +pub use ruler_square_icon::*; +pub use scissors_icon::*; +pub use section_icon::*; +pub use sewing_pin_filled_icon::*; +pub use sewing_pin_icon::*; +pub use shadow_icon::*; +pub use shadow_inner_icon::*; +pub use shadow_none_icon::*; +pub use shadow_outer_icon::*; +pub use share_1_icon::*; +pub use share_2_icon::*; +pub use shuffle_icon::*; +pub use size_icon::*; +pub use sketch_logo_icon::*; +pub use slash_icon::*; +pub use slider_icon::*; +pub use space_between_horizontally_icon::*; +pub use space_between_vertically_icon::*; +pub use space_evenly_horizontally_icon::*; +pub use space_evenly_vertically_icon::*; +pub use speaker_loud_icon::*; +pub use speaker_moderate_icon::*; +pub use speaker_off_icon::*; +pub use speaker_quiet_icon::*; +pub use square_icon::*; +pub use stack_icon::*; +pub use star_filled_icon::*; +pub use star_icon::*; +pub use stitches_logo_icon::*; +pub use stop_icon::*; +pub use stopwatch_icon::*; +pub use stretch_horizontally_icon::*; +pub use stretch_vertically_icon::*; +pub use strikethrough_icon::*; +pub use sun_icon::*; +pub use switch_icon::*; +pub use symbol_icon::*; +pub use table_icon::*; +pub use target_icon::*; +pub use text_align_bottom_icon::*; +pub use text_align_center_icon::*; +pub use text_align_justify_icon::*; +pub use text_align_left_icon::*; +pub use text_align_middle_icon::*; +pub use text_align_right_icon::*; +pub use text_align_top_icon::*; +pub use text_icon::*; +pub use text_none_icon::*; +pub use thick_arrow_down_icon::*; +pub use thick_arrow_left_icon::*; +pub use thick_arrow_right_icon::*; +pub use thick_arrow_up_icon::*; +pub use timer_icon::*; +pub use tokens_icon::*; +pub use track_next_icon::*; +pub use track_previous_icon::*; +pub use transform_icon::*; +pub use transparency_grid_icon::*; +pub use trash_icon::*; +pub use triangle_down_icon::*; +pub use triangle_left_icon::*; +pub use triangle_right_icon::*; +pub use triangle_up_icon::*; +pub use twitter_logo_icon::*; +pub use underline_icon::*; +pub use update_icon::*; +pub use upload_icon::*; +pub use value_icon::*; +pub use value_none_icon::*; +pub use vercel_logo_icon::*; +pub use video_icon::*; +pub use view_grid_icon::*; +pub use view_horizontal_icon::*; +pub use view_none_icon::*; +pub use view_vertical_icon::*; +pub use width_icon::*; +pub use zoom_in_icon::*; +pub use zoom_out_icon::*; diff --git a/packages/icons/dioxus/src/lightning_bolt_icon.rs b/packages/icons/dioxus/src/lightning_bolt_icon.rs new file mode 100644 index 00000000..7fd8253e --- /dev/null +++ b/packages/icons/dioxus/src/lightning_bolt_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LightningBoltIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LightningBoltIcon(props: LightningBoltIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.69667 0.0403541C8.90859 0.131038 9.03106 0.354857 8.99316 0.582235L8.0902 6.00001H12.5C12.6893 6.00001 12.8625 6.10701 12.9472 6.27641C13.0319 6.4458 13.0136 6.6485 12.8999 6.80001L6.89997 14.8C6.76167 14.9844 6.51521 15.0503 6.30328 14.9597C6.09135 14.869 5.96888 14.6452 6.00678 14.4178L6.90974 9H2.49999C2.31061 9 2.13748 8.893 2.05278 8.72361C1.96809 8.55422 1.98636 8.35151 2.09999 8.2L8.09997 0.200038C8.23828 0.0156255 8.48474 -0.0503301 8.69667 0.0403541ZM3.49999 8.00001H7.49997C7.64695 8.00001 7.78648 8.06467 7.88148 8.17682C7.97648 8.28896 8.01733 8.43723 7.99317 8.5822L7.33027 12.5596L11.5 7.00001H7.49997C7.353 7.00001 7.21347 6.93534 7.11846 6.8232C7.02346 6.71105 6.98261 6.56279 7.00678 6.41781L7.66968 2.44042L3.49999 8.00001Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/line_height_icon.rs b/packages/icons/dioxus/src/line_height_icon.rs new file mode 100644 index 00000000..7aa9cb32 --- /dev/null +++ b/packages/icons/dioxus/src/line_height_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LineHeightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LineHeightIcon(props: LineHeightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.78233 2.21713C3.70732 2.14212 3.60557 2.09998 3.49949 2.09998C3.3934 2.09998 3.29166 2.14212 3.21664 2.21713L1.21664 4.21713C1.06044 4.37334 1.06044 4.62661 1.21664 4.78282C1.37285 4.93903 1.62612 4.93903 1.78233 4.78282L3.09949 3.46566L3.09949 11.5343L1.78233 10.2171C1.62612 10.0609 1.37285 10.0609 1.21664 10.2171C1.06043 10.3733 1.06043 10.6266 1.21664 10.7828L3.21664 12.7828C3.29166 12.8578 3.3934 12.9 3.49949 12.9C3.60557 12.9 3.70731 12.8578 3.78233 12.7828L5.78233 10.7828C5.93854 10.6266 5.93854 10.3733 5.78233 10.2171C5.62612 10.0609 5.37285 10.0609 5.21664 10.2171L3.89949 11.5343L3.89949 3.46566L5.21664 4.78282C5.37285 4.93903 5.62612 4.93903 5.78233 4.78282C5.93854 4.62661 5.93854 4.37334 5.78233 4.21713L3.78233 2.21713ZM8.49998 3.99997C8.22383 3.99997 7.99998 4.22382 7.99998 4.49997C7.99998 4.77611 8.22383 4.99997 8.49998 4.99997H14.5C14.7761 4.99997 15 4.77611 15 4.49997C15 4.22382 14.7761 3.99997 14.5 3.99997H8.49998ZM7.99998 7.49997C7.99998 7.22382 8.22383 6.99997 8.49998 6.99997H14.5C14.7761 6.99997 15 7.22382 15 7.49997C15 7.77611 14.7761 7.99997 14.5 7.99997H8.49998C8.22383 7.99997 7.99998 7.77611 7.99998 7.49997ZM8.49998 9.99997C8.22383 9.99997 7.99998 10.2238 7.99998 10.5C7.99998 10.7761 8.22383 11 8.49998 11H14.5C14.7761 11 15 10.7761 15 10.5C15 10.2238 14.7761 9.99997 14.5 9.99997H8.49998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/link_1_icon.rs b/packages/icons/dioxus/src/link_1_icon.rs new file mode 100644 index 00000000..c235fdc6 --- /dev/null +++ b/packages/icons/dioxus/src/link_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Link1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Link1Icon(props: Link1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.62471 4.00001L4.56402 4.00001C4.04134 3.99993 3.70687 3.99988 3.4182 4.055C2.2379 4.28039 1.29846 5.17053 1.05815 6.33035C0.999538 6.61321 0.999604 6.93998 0.999703 7.43689L0.999711 7.50001L0.999703 7.56313C0.999604 8.06004 0.999538 8.38681 1.05815 8.66967C1.29846 9.8295 2.2379 10.7196 3.4182 10.945C3.70688 11.0001 4.04135 11.0001 4.56403 11L4.62471 11H5.49971C5.77585 11 5.99971 10.7762 5.99971 10.5C5.99971 10.2239 5.77585 10 5.49971 10H4.62471C4.02084 10 3.78907 9.99777 3.60577 9.96277C2.80262 9.8094 2.19157 9.21108 2.03735 8.46678C2.00233 8.29778 1.99971 8.08251 1.99971 7.50001C1.99971 6.91752 2.00233 6.70225 2.03735 6.53324C2.19157 5.78895 2.80262 5.19062 3.60577 5.03725C3.78907 5.00225 4.02084 5.00001 4.62471 5.00001H5.49971C5.77585 5.00001 5.99971 4.77615 5.99971 4.50001C5.99971 4.22387 5.77585 4.00001 5.49971 4.00001H4.62471ZM10.3747 5.00001C10.9786 5.00001 11.2104 5.00225 11.3937 5.03725C12.1968 5.19062 12.8079 5.78895 12.9621 6.53324C12.9971 6.70225 12.9997 6.91752 12.9997 7.50001C12.9997 8.08251 12.9971 8.29778 12.9621 8.46678C12.8079 9.21108 12.1968 9.8094 11.3937 9.96277C11.2104 9.99777 10.9786 10 10.3747 10H9.49971C9.22357 10 8.99971 10.2239 8.99971 10.5C8.99971 10.7762 9.22357 11 9.49971 11H10.3747L10.4354 11C10.9581 11.0001 11.2925 11.0001 11.5812 10.945C12.7615 10.7196 13.701 9.8295 13.9413 8.66967C13.9999 8.38681 13.9998 8.06005 13.9997 7.56314L13.9997 7.50001L13.9997 7.43688C13.9998 6.93998 13.9999 6.61321 13.9413 6.33035C13.701 5.17053 12.7615 4.28039 11.5812 4.055C11.2925 3.99988 10.9581 3.99993 10.4354 4.00001L10.3747 4.00001H9.49971C9.22357 4.00001 8.99971 4.22387 8.99971 4.50001C8.99971 4.77615 9.22357 5.00001 9.49971 5.00001H10.3747ZM5.00038 7C4.72424 7 4.50038 7.22386 4.50038 7.5C4.50038 7.77614 4.72424 8 5.00038 8H10.0004C10.2765 8 10.5004 7.77614 10.5004 7.5C10.5004 7.22386 10.2765 7 10.0004 7H5.00038Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/link_2_icon.rs b/packages/icons/dioxus/src/link_2_icon.rs new file mode 100644 index 00000000..9efed78e --- /dev/null +++ b/packages/icons/dioxus/src/link_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Link2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Link2Icon(props: Link2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.51194 3.00541C9.18829 2.54594 10.0435 2.53694 10.6788 2.95419C10.8231 3.04893 10.9771 3.1993 11.389 3.61119C11.8009 4.02307 11.9513 4.17714 12.046 4.32141C12.4633 4.95675 12.4543 5.81192 11.9948 6.48827C11.8899 6.64264 11.7276 6.80811 11.3006 7.23511L10.6819 7.85383C10.4867 8.04909 10.4867 8.36567 10.6819 8.56093C10.8772 8.7562 11.1938 8.7562 11.389 8.56093L12.0077 7.94221L12.0507 7.89929C12.4203 7.52976 12.6568 7.2933 12.822 7.0502C13.4972 6.05623 13.5321 4.76252 12.8819 3.77248C12.7233 3.53102 12.4922 3.30001 12.1408 2.94871L12.0961 2.90408L12.0515 2.85942C11.7002 2.508 11.4692 2.27689 11.2277 2.11832C10.2377 1.46813 8.94398 1.50299 7.95001 2.17822C7.70691 2.34336 7.47044 2.57991 7.1009 2.94955L7.058 2.99247L6.43928 3.61119C6.24401 3.80645 6.24401 4.12303 6.43928 4.31829C6.63454 4.51355 6.95112 4.51355 7.14638 4.31829L7.7651 3.69957C8.1921 3.27257 8.35757 3.11027 8.51194 3.00541ZM4.31796 7.14672C4.51322 6.95146 4.51322 6.63487 4.31796 6.43961C4.12269 6.24435 3.80611 6.24435 3.61085 6.43961L2.99213 7.05833L2.94922 7.10124C2.57957 7.47077 2.34303 7.70724 2.17788 7.95035C1.50265 8.94432 1.4678 10.238 2.11799 11.2281C2.27656 11.4695 2.50766 11.7005 2.8591 12.0518L2.90374 12.0965L2.94837 12.1411C3.29967 12.4925 3.53068 12.7237 3.77214 12.8822C4.76219 13.5324 6.05589 13.4976 7.04986 12.8223C7.29296 12.6572 7.52943 12.4206 7.89896 12.051L7.89897 12.051L7.94188 12.0081L8.5606 11.3894C8.75586 11.1941 8.75586 10.8775 8.5606 10.6823C8.36533 10.487 8.04875 10.487 7.85349 10.6823L7.23477 11.301C6.80777 11.728 6.6423 11.8903 6.48794 11.9951C5.81158 12.4546 4.95642 12.4636 4.32107 12.0464C4.17681 11.9516 4.02274 11.8012 3.61085 11.3894C3.19896 10.9775 3.0486 10.8234 2.95385 10.6791C2.53661 10.0438 2.54561 9.18863 3.00507 8.51227C3.10993 8.35791 3.27224 8.19244 3.69924 7.76544L4.31796 7.14672ZM9.62172 6.08558C9.81698 5.89032 9.81698 5.57373 9.62172 5.37847C9.42646 5.18321 9.10988 5.18321 8.91461 5.37847L5.37908 8.91401C5.18382 9.10927 5.18382 9.42585 5.37908 9.62111C5.57434 9.81637 5.89092 9.81637 6.08619 9.62111L9.62172 6.08558Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/link_break_1_icon.rs b/packages/icons/dioxus/src/link_break_1_icon.rs new file mode 100644 index 00000000..4c539212 --- /dev/null +++ b/packages/icons/dioxus/src/link_break_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LinkBreak1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LinkBreak1Icon(props: LinkBreak1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L13.3536 2.35355ZM2.03735 8.46678C2.17398 9.12619 2.66918 9.67103 3.33886 9.89338L2.57833 10.6539C1.80843 10.2534 1.23784 9.53693 1.05815 8.66967C0.999538 8.38681 0.999604 8.06004 0.999703 7.56313L0.999711 7.50001L0.999703 7.43689C0.999604 6.93998 0.999538 6.61321 1.05815 6.33035C1.29846 5.17053 2.2379 4.28039 3.4182 4.055C3.70687 3.99988 4.04134 3.99993 4.56402 4.00001L4.62471 4.00001H5.49971C5.77585 4.00001 5.99971 4.22387 5.99971 4.50001C5.99971 4.77615 5.77585 5.00001 5.49971 5.00001H4.62471C4.02084 5.00001 3.78907 5.00225 3.60577 5.03725C2.80262 5.19062 2.19157 5.78895 2.03735 6.53324C2.00233 6.70225 1.99971 6.91752 1.99971 7.50001C1.99971 8.08251 2.00233 8.29778 2.03735 8.46678ZM12.9621 6.53324C12.8255 5.87397 12.3304 5.32922 11.661 5.10679L12.4215 4.34631C13.1912 4.74686 13.7616 5.46323 13.9413 6.33035C13.9999 6.61321 13.9998 6.93998 13.9997 7.43688L13.9997 7.50001L13.9997 7.56314C13.9998 8.06005 13.9999 8.38681 13.9413 8.66967C13.701 9.8295 12.7615 10.7196 11.5812 10.945C11.2925 11.0001 10.9581 11.0001 10.4354 11L10.3747 11H9.49971C9.22357 11 8.99971 10.7762 8.99971 10.5C8.99971 10.2239 9.22357 10 9.49971 10H10.3747C10.9786 10 11.2104 9.99777 11.3937 9.96277C12.1968 9.8094 12.8079 9.21108 12.9621 8.46678C12.9971 8.29778 12.9997 8.08251 12.9997 7.50001C12.9997 6.91752 12.9971 6.70225 12.9621 6.53324Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/link_break_2_icon.rs b/packages/icons/dioxus/src/link_break_2_icon.rs new file mode 100644 index 00000000..8dc6027a --- /dev/null +++ b/packages/icons/dioxus/src/link_break_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LinkBreak2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LinkBreak2Icon(props: LinkBreak2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.50021 0C4.77635 0 5.0002 0.223853 5.0002 0.49999V2.49995C5.0002 2.77609 4.77635 2.99994 4.50021 2.99994C4.22408 2.99994 4.00022 2.77609 4.00022 2.49995V0.49999C4.00022 0.223853 4.22408 0 4.50021 0ZM0.646451 0.64647C0.84171 0.451212 1.15829 0.451212 1.35354 0.64647L2.85351 2.14644C3.04877 2.3417 3.04877 2.65827 2.85351 2.85353C2.65826 3.04879 2.34168 3.04879 2.14642 2.85353L0.646452 1.35356C0.451193 1.1583 0.451193 0.841728 0.646451 0.64647ZM0.00030517 4.49991C0.00030517 4.22377 0.224158 3.99992 0.500295 3.99992H2.50025C2.77639 3.99992 3.00024 4.22377 3.00024 4.49991C3.00024 4.77605 2.77639 4.9999 2.50025 4.9999H0.500295C0.224158 4.9999 0.00030517 4.77605 0.00030517 4.49991ZM12.0001 10.4998C12.0001 10.2236 12.2239 9.9998 12.5001 9.9998H14.5C14.7761 9.9998 15 10.2236 15 10.4998C15 10.7759 14.7761 10.9998 14.5 10.9998H12.5001C12.2239 10.9998 12.0001 10.7759 12.0001 10.4998ZM10.5001 11.9998C10.7762 11.9998 11.0001 12.2236 11.0001 12.4997V14.4997C11.0001 14.7758 10.7762 14.9997 10.5001 14.9997C10.224 14.9997 10.0001 14.7758 10.0001 14.4997V12.4997C10.0001 12.2236 10.224 11.9998 10.5001 11.9998ZM12.1462 12.1462C12.3415 11.951 12.658 11.951 12.8533 12.1462L14.3533 13.6462C14.5485 13.8415 14.5485 14.158 14.3533 14.3533C14.158 14.5485 13.8414 14.5485 13.6462 14.3533L12.1462 12.8533C11.951 12.6581 11.951 12.3415 12.1462 12.1462ZM7.76478 3.69938C8.19177 3.27238 8.35724 3.11008 8.5116 3.00522C9.18794 2.54577 10.0431 2.53677 10.6784 2.95401C10.8227 3.04875 10.9767 3.19911 11.3886 3.61099C11.8005 4.02287 11.9509 4.17694 12.0456 4.3212C12.4628 4.95653 12.4539 5.81168 11.9944 6.48802C11.8895 6.64238 11.7272 6.80785 11.3002 7.23484L10.6815 7.85354C10.4863 8.0488 10.4863 8.36538 10.6815 8.56064C10.8768 8.75589 11.1934 8.75589 11.3886 8.56064L12.0073 7.94193L12.0502 7.89903C12.4199 7.5295 12.6564 7.29303 12.8216 7.04993C13.4968 6.05598 13.5316 4.7623 12.8815 3.77228C12.7229 3.53083 12.4918 3.29982 12.1404 2.94853L12.0957 2.9039L12.0511 2.85925C11.6998 2.50782 11.4688 2.27672 11.2273 2.11816C10.2373 1.46798 8.94364 1.50284 7.94968 2.17805C7.70659 2.34319 7.47012 2.57973 7.1006 2.94936L7.1006 2.94937L7.05769 2.99228L6.43898 3.61099C6.24372 3.80625 6.24372 4.12282 6.43898 4.31808C6.63424 4.51334 6.95081 4.51334 7.14607 4.31808L7.76478 3.69938ZM2.99191 7.05807L2.94899 7.10097C2.57935 7.4705 2.34282 7.70697 2.17767 7.95006C1.50246 8.94401 1.4676 10.2377 2.11778 11.2277C2.27634 11.4692 2.50744 11.7002 2.85886 12.0515L2.85888 12.0515L2.90352 12.0961L2.94815 12.1407L2.94815 12.1407L2.94817 12.1408C3.29945 12.4922 3.53045 12.7233 3.7719 12.8818C4.76193 13.532 6.0556 13.4972 7.04956 12.8219C7.29265 12.6568 7.52912 12.4203 7.89865 12.0506L7.94155 12.0077L8.56026 11.389C8.75552 11.1937 8.75552 10.8772 8.56026 10.6819C8.365 10.4867 8.04842 10.4867 7.85317 10.6819L7.23446 11.3006C6.80747 11.7276 6.642 11.8899 6.48764 11.9948C5.8113 12.4542 4.95615 12.4632 4.32082 12.046C4.17656 11.9512 4.02249 11.8009 3.61061 11.389C3.19873 10.9771 3.04837 10.8231 2.95363 10.6788C2.53639 10.0435 2.54539 9.18832 3.00484 8.51198C3.10971 8.35761 3.27201 8.19215 3.699 7.76516L4.3177 7.14645C4.51296 6.95119 4.51296 6.63462 4.3177 6.43936C4.12245 6.2441 3.80587 6.2441 3.61061 6.43936L2.99191 7.05807Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/link_none_1_icon.rs b/packages/icons/dioxus/src/link_none_1_icon.rs new file mode 100644 index 00000000..4294f0ba --- /dev/null +++ b/packages/icons/dioxus/src/link_none_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LinkNone1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LinkNone1Icon(props: LinkNone1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.56427 3.99988C4.58422 3.99989 4.60445 3.99989 4.62496 3.99989H5.49996C5.7761 3.99989 5.99996 4.22375 5.99996 4.49989C5.99996 4.77603 5.7761 4.99989 5.49996 4.99989H4.62496C4.02108 4.99989 3.78932 5.00213 3.60601 5.03713C2.80287 5.1905 2.19181 5.78883 2.03759 6.53312C2.00257 6.70212 1.99996 6.91739 1.99996 7.49989C1.99996 8.08239 2.00257 8.29766 2.03759 8.46666C2.19181 9.21095 2.80287 9.80928 3.60601 9.96265C3.78932 9.99765 4.02108 9.99989 4.62496 9.99989H5.49996C5.7761 9.99989 5.99996 10.2237 5.99996 10.4999C5.99996 10.776 5.7761 10.9999 5.49996 10.9999H4.62496C4.60445 10.9999 4.58422 10.9999 4.56427 10.9999C4.04159 11 3.70712 11 3.41845 10.9449C2.23814 10.7195 1.29871 9.82937 1.05839 8.66955C0.999782 8.38669 0.999848 8.05992 0.999947 7.56301C0.999951 7.54227 0.999955 7.52123 0.999955 7.49989C0.999955 7.47855 0.999951 7.45751 0.999947 7.43677C0.999848 6.93986 0.999782 6.61309 1.05839 6.33023C1.29871 5.17041 2.23814 4.28027 3.41845 4.05488C3.70712 3.99976 4.04159 3.99981 4.56427 3.99988ZM11.3939 5.03713C11.2106 5.00213 10.9788 4.99989 10.375 4.99989H9.49996C9.22381 4.99989 8.99996 4.77603 8.99996 4.49989C8.99996 4.22375 9.22381 3.99989 9.49996 3.99989H10.375C10.3955 3.99989 10.4157 3.99989 10.4356 3.99988C10.9583 3.99981 11.2928 3.99976 11.5815 4.05488C12.7618 4.28027 13.7012 5.17041 13.9415 6.33023C14.0001 6.61309 14.0001 6.93985 14 7.43676C14 7.4575 14 7.47854 14 7.49989C14 7.52124 14 7.54228 14 7.56302C14.0001 8.05992 14.0001 8.38669 13.9415 8.66955C13.7012 9.82937 12.7618 10.7195 11.5815 10.9449C11.2928 11 10.9583 11 10.4356 10.9999C10.4157 10.9999 10.3955 10.9999 10.375 10.9999H9.49996C9.22381 10.9999 8.99996 10.776 8.99996 10.4999C8.99996 10.2237 9.22381 9.99989 9.49996 9.99989H10.375C10.9788 9.99989 11.2106 9.99765 11.3939 9.96265C12.197 9.80928 12.8081 9.21095 12.9623 8.46666C12.9973 8.29766 13 8.08239 13 7.49989C13 6.91739 12.9973 6.70212 12.9623 6.53312C12.8081 5.78883 12.197 5.1905 11.3939 5.03713Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/link_none_2_icon.rs b/packages/icons/dioxus/src/link_none_2_icon.rs new file mode 100644 index 00000000..468dd93c --- /dev/null +++ b/packages/icons/dioxus/src/link_none_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LinkNone2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LinkNone2Icon(props: LinkNone2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10.6788 2.95419C10.0435 2.53694 9.18829 2.54594 8.51194 3.00541C8.35757 3.11027 8.1921 3.27257 7.7651 3.69957L7.14638 4.31829C6.95112 4.51355 6.63454 4.51355 6.43928 4.31829C6.24401 4.12303 6.24401 3.80645 6.43928 3.61119L7.058 2.99247C7.0725 2.97797 7.08679 2.96366 7.1009 2.94955C7.47044 2.57991 7.70691 2.34336 7.95001 2.17822C8.94398 1.50299 10.2377 1.46813 11.2277 2.11832C11.4692 2.27689 11.7002 2.508 12.0515 2.85942C12.0662 2.8741 12.081 2.88898 12.0961 2.90408C12.1112 2.91917 12.1261 2.93405 12.1408 2.94871C12.4922 3.30001 12.7233 3.53102 12.8819 3.77248C13.5321 4.76252 13.4972 6.05623 12.822 7.0502C12.6568 7.2933 12.4203 7.52976 12.0507 7.89929C12.0366 7.9134 12.0222 7.92771 12.0077 7.94221L11.389 8.56093C11.1938 8.7562 10.8772 8.7562 10.6819 8.56093C10.4867 8.36567 10.4867 8.04909 10.6819 7.85383L11.3006 7.23511C11.7276 6.80811 11.8899 6.64264 11.9948 6.48827C12.4543 5.81192 12.4633 4.95675 12.046 4.32141C11.9513 4.17714 11.8009 4.02307 11.389 3.61119C10.9771 3.1993 10.8231 3.04893 10.6788 2.95419ZM4.31796 6.43961C4.51322 6.63487 4.51322 6.95146 4.31796 7.14672L3.69924 7.76544C3.27224 8.19244 3.10993 8.35791 3.00507 8.51227C2.54561 9.18863 2.53661 10.0438 2.95385 10.6791C3.0486 10.8234 3.19896 10.9775 3.61085 11.3894C4.02274 11.8012 4.17681 11.9516 4.32107 12.0464C4.95642 12.4636 5.81158 12.4546 6.48794 11.9951C6.6423 11.8903 6.80777 11.728 7.23477 11.301L7.85349 10.6823C8.04875 10.487 8.36533 10.487 8.5606 10.6823C8.75586 10.8775 8.75586 11.1941 8.5606 11.3894L7.94188 12.0081C7.92738 12.0226 7.91307 12.0369 7.89897 12.051C7.52943 12.4206 7.29296 12.6572 7.04986 12.8223C6.05589 13.4976 4.76219 13.5324 3.77214 12.8822C3.53068 12.7237 3.29967 12.4925 2.94837 12.1411C2.93371 12.1264 2.91883 12.1116 2.90374 12.0965C2.88865 12.0814 2.87377 12.0665 2.8591 12.0518C2.50766 11.7005 2.27656 11.4695 2.11799 11.2281C1.4678 10.238 1.50265 8.94432 2.17788 7.95035C2.34303 7.70724 2.57957 7.47077 2.94922 7.10124C2.96333 7.08713 2.97763 7.07283 2.99213 7.05833L3.61085 6.43961C3.80611 6.24435 4.12269 6.24435 4.31796 6.43961Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/linkedin_logo_icon.rs b/packages/icons/dioxus/src/linkedin_logo_icon.rs new file mode 100644 index 00000000..a60c5d32 --- /dev/null +++ b/packages/icons/dioxus/src/linkedin_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LinkedinLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LinkedinLogoIcon(props: LinkedinLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 1C1.44772 1 1 1.44772 1 2V13C1 13.5523 1.44772 14 2 14H13C13.5523 14 14 13.5523 14 13V2C14 1.44772 13.5523 1 13 1H2ZM3.05 6H4.95V12H3.05V6ZM5.075 4.005C5.075 4.59871 4.59371 5.08 4 5.08C3.4063 5.08 2.925 4.59871 2.925 4.005C2.925 3.41129 3.4063 2.93 4 2.93C4.59371 2.93 5.075 3.41129 5.075 4.005ZM12 8.35713C12 6.55208 10.8334 5.85033 9.67449 5.85033C9.29502 5.83163 8.91721 5.91119 8.57874 6.08107C8.32172 6.21007 8.05265 6.50523 7.84516 7.01853H7.79179V6.00044H6V12.0047H7.90616V8.8112C7.8786 8.48413 7.98327 8.06142 8.19741 7.80987C8.41156 7.55832 8.71789 7.49825 8.95015 7.46774H9.02258C9.62874 7.46774 10.0786 7.84301 10.0786 8.78868V12.0047H11.9847L12 8.35713Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/list_bullet_icon.rs b/packages/icons/dioxus/src/list_bullet_icon.rs new file mode 100644 index 00000000..7cc36377 --- /dev/null +++ b/packages/icons/dioxus/src/list_bullet_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ListBulletIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ListBulletIcon(props: ListBulletIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/lock_closed_icon.rs b/packages/icons/dioxus/src/lock_closed_icon.rs new file mode 100644 index 00000000..206e7df0 --- /dev/null +++ b/packages/icons/dioxus/src/lock_closed_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LockClosedIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LockClosedIcon(props: LockClosedIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5 4.63601C5 3.76031 5.24219 3.1054 5.64323 2.67357C6.03934 2.24705 6.64582 1.9783 7.5014 1.9783C8.35745 1.9783 8.96306 2.24652 9.35823 2.67208C9.75838 3.10299 10 3.75708 10 4.63325V5.99999H5V4.63601ZM4 5.99999V4.63601C4 3.58148 4.29339 2.65754 4.91049 1.99307C5.53252 1.32329 6.42675 0.978302 7.5014 0.978302C8.57583 0.978302 9.46952 1.32233 10.091 1.99162C10.7076 2.65557 11 3.57896 11 4.63325V5.99999H12C12.5523 5.99999 13 6.44771 13 6.99999V13C13 13.5523 12.5523 14 12 14H3C2.44772 14 2 13.5523 2 13V6.99999C2 6.44771 2.44772 5.99999 3 5.99999H4ZM3 6.99999H12V13H3V6.99999Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/lock_open_1_icon.rs b/packages/icons/dioxus/src/lock_open_1_icon.rs new file mode 100644 index 00000000..0b38da3e --- /dev/null +++ b/packages/icons/dioxus/src/lock_open_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LockOpen1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LockOpen1Icon(props: LockOpen1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.4986 0C6.3257 0 5.36107 0.38943 4.73753 1.19361C4.23745 1.83856 4 2.68242 4 3.63325H5C5 2.84313 5.19691 2.23312 5.5278 1.80636C5.91615 1.30552 6.55152 1 7.4986 1C8.35683 1 8.96336 1.26502 9.35846 1.68623C9.75793 2.11211 10 2.76044 10 3.63601V6H3C2.44772 6 2 6.44772 2 7V13C2 13.5523 2.44772 14 3 14H12C12.5523 14 13 13.5523 13 13V7C13 6.44771 12.5523 6 12 6H11V3.63601C11 2.58135 10.7065 1.66167 10.0878 1.0021C9.46477 0.337871 8.57061 0 7.4986 0ZM3 7H12V13H3V7Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/lock_open_2_icon.rs b/packages/icons/dioxus/src/lock_open_2_icon.rs new file mode 100644 index 00000000..5287b2f5 --- /dev/null +++ b/packages/icons/dioxus/src/lock_open_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LockOpen2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LockOpen2Icon(props: LockOpen2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9 3.63601C9 2.76044 9.24207 2.11211 9.64154 1.68623C10.0366 1.26502 10.6432 1 11.5014 1C12.4485 1 13.0839 1.30552 13.4722 1.80636C13.8031 2.23312 14 2.84313 14 3.63325H15C15 2.68242 14.7626 1.83856 14.2625 1.19361C13.6389 0.38943 12.6743 0 11.5014 0C10.4294 0 9.53523 0.337871 8.91218 1.0021C8.29351 1.66167 8 2.58135 8 3.63601V6H1C0.447715 6 0 6.44772 0 7V13C0 13.5523 0.447715 14 1 14H10C10.5523 14 11 13.5523 11 13V7C11 6.44772 10.5523 6 10 6H9V3.63601ZM1 7H10V13H1V7Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/loop_icon.rs b/packages/icons/dioxus/src/loop_icon.rs new file mode 100644 index 00000000..4a5e99ca --- /dev/null +++ b/packages/icons/dioxus/src/loop_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct LoopIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn LoopIcon(props: LoopIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.35355 1.85355C3.54882 1.65829 3.54882 1.34171 3.35355 1.14645C3.15829 0.951184 2.84171 0.951184 2.64645 1.14645L0.646447 3.14645C0.451184 3.34171 0.451184 3.65829 0.646447 3.85355L2.64645 5.85355C2.84171 6.04882 3.15829 6.04882 3.35355 5.85355C3.54882 5.65829 3.54882 5.34171 3.35355 5.14645L2.20711 4H9.5C11.433 4 13 5.567 13 7.5C13 7.77614 13.2239 8 13.5 8C13.7761 8 14 7.77614 14 7.5C14 5.01472 11.9853 3 9.5 3H2.20711L3.35355 1.85355ZM2 7.5C2 7.22386 1.77614 7 1.5 7C1.22386 7 1 7.22386 1 7.5C1 9.98528 3.01472 12 5.5 12H12.7929L11.6464 13.1464C11.4512 13.3417 11.4512 13.6583 11.6464 13.8536C11.8417 14.0488 12.1583 14.0488 12.3536 13.8536L14.3536 11.8536C14.5488 11.6583 14.5488 11.3417 14.3536 11.1464L12.3536 9.14645C12.1583 8.95118 11.8417 8.95118 11.6464 9.14645C11.4512 9.34171 11.4512 9.65829 11.6464 9.85355L12.7929 11H5.5C3.567 11 2 9.433 2 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/magic_wand_icon.rs b/packages/icons/dioxus/src/magic_wand_icon.rs new file mode 100644 index 00000000..f36aaa82 --- /dev/null +++ b/packages/icons/dioxus/src/magic_wand_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MagicWandIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MagicWandIcon(props: MagicWandIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.9 0.499976C13.9 0.279062 13.7209 0.0999756 13.5 0.0999756C13.2791 0.0999756 13.1 0.279062 13.1 0.499976V1.09998H12.5C12.2791 1.09998 12.1 1.27906 12.1 1.49998C12.1 1.72089 12.2791 1.89998 12.5 1.89998H13.1V2.49998C13.1 2.72089 13.2791 2.89998 13.5 2.89998C13.7209 2.89998 13.9 2.72089 13.9 2.49998V1.89998H14.5C14.7209 1.89998 14.9 1.72089 14.9 1.49998C14.9 1.27906 14.7209 1.09998 14.5 1.09998H13.9V0.499976ZM11.8536 3.14642C12.0488 3.34168 12.0488 3.65826 11.8536 3.85353L10.8536 4.85353C10.6583 5.04879 10.3417 5.04879 10.1465 4.85353C9.9512 4.65827 9.9512 4.34169 10.1465 4.14642L11.1464 3.14643C11.3417 2.95116 11.6583 2.95116 11.8536 3.14642ZM9.85357 5.14642C10.0488 5.34168 10.0488 5.65827 9.85357 5.85353L2.85355 12.8535C2.65829 13.0488 2.34171 13.0488 2.14645 12.8535C1.95118 12.6583 1.95118 12.3417 2.14645 12.1464L9.14646 5.14642C9.34172 4.95116 9.65831 4.95116 9.85357 5.14642ZM13.5 5.09998C13.7209 5.09998 13.9 5.27906 13.9 5.49998V6.09998H14.5C14.7209 6.09998 14.9 6.27906 14.9 6.49998C14.9 6.72089 14.7209 6.89998 14.5 6.89998H13.9V7.49998C13.9 7.72089 13.7209 7.89998 13.5 7.89998C13.2791 7.89998 13.1 7.72089 13.1 7.49998V6.89998H12.5C12.2791 6.89998 12.1 6.72089 12.1 6.49998C12.1 6.27906 12.2791 6.09998 12.5 6.09998H13.1V5.49998C13.1 5.27906 13.2791 5.09998 13.5 5.09998ZM8.90002 0.499976C8.90002 0.279062 8.72093 0.0999756 8.50002 0.0999756C8.2791 0.0999756 8.10002 0.279062 8.10002 0.499976V1.09998H7.50002C7.2791 1.09998 7.10002 1.27906 7.10002 1.49998C7.10002 1.72089 7.2791 1.89998 7.50002 1.89998H8.10002V2.49998C8.10002 2.72089 8.2791 2.89998 8.50002 2.89998C8.72093 2.89998 8.90002 2.72089 8.90002 2.49998V1.89998H9.50002C9.72093 1.89998 9.90002 1.72089 9.90002 1.49998C9.90002 1.27906 9.72093 1.09998 9.50002 1.09998H8.90002V0.499976Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/magnifying_glass_icon.rs b/packages/icons/dioxus/src/magnifying_glass_icon.rs new file mode 100644 index 00000000..dbd7f40c --- /dev/null +++ b/packages/icons/dioxus/src/magnifying_glass_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MagnifyingGlassIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MagnifyingGlassIcon(props: MagnifyingGlassIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/margin_icon.rs b/packages/icons/dioxus/src/margin_icon.rs new file mode 100644 index 00000000..30417c23 --- /dev/null +++ b/packages/icons/dioxus/src/margin_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MarginIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MarginIcon(props: MarginIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.49988 2.00012C1.77602 2.00012 1.99988 1.77626 1.99988 1.50012C1.99988 1.22398 1.77602 1.00012 1.49988 1.00012C1.22374 1.00012 0.999878 1.22398 0.999878 1.50012C0.999878 1.77626 1.22374 2.00012 1.49988 2.00012ZM4.49988 2.00012C4.77602 2.00012 4.99988 1.77626 4.99988 1.50012C4.99988 1.22398 4.77602 1.00012 4.49988 1.00012C4.22374 1.00012 3.99988 1.22398 3.99988 1.50012C3.99988 1.77626 4.22374 2.00012 4.49988 2.00012ZM7.99988 1.50012C7.99988 1.77626 7.77602 2.00012 7.49988 2.00012C7.22374 2.00012 6.99988 1.77626 6.99988 1.50012C6.99988 1.22398 7.22374 1.00012 7.49988 1.00012C7.77602 1.00012 7.99988 1.22398 7.99988 1.50012ZM10.4999 2.00012C10.776 2.00012 10.9999 1.77626 10.9999 1.50012C10.9999 1.22398 10.776 1.00012 10.4999 1.00012C10.2237 1.00012 9.99988 1.22398 9.99988 1.50012C9.99988 1.77626 10.2237 2.00012 10.4999 2.00012ZM13.9999 1.50012C13.9999 1.77626 13.776 2.00012 13.4999 2.00012C13.2237 2.00012 12.9999 1.77626 12.9999 1.50012C12.9999 1.22398 13.2237 1.00012 13.4999 1.00012C13.776 1.00012 13.9999 1.22398 13.9999 1.50012ZM1.49988 14.0001C1.77602 14.0001 1.99988 13.7763 1.99988 13.5001C1.99988 13.224 1.77602 13.0001 1.49988 13.0001C1.22374 13.0001 0.999878 13.224 0.999878 13.5001C0.999878 13.7763 1.22374 14.0001 1.49988 14.0001ZM1.99988 10.5001C1.99988 10.7763 1.77602 11.0001 1.49988 11.0001C1.22374 11.0001 0.999878 10.7763 0.999878 10.5001C0.999878 10.224 1.22374 10.0001 1.49988 10.0001C1.77602 10.0001 1.99988 10.224 1.99988 10.5001ZM1.49988 8.00012C1.77602 8.00012 1.99988 7.77626 1.99988 7.50012C1.99988 7.22398 1.77602 7.00012 1.49988 7.00012C1.22374 7.00012 0.999878 7.22398 0.999878 7.50012C0.999878 7.77626 1.22374 8.00012 1.49988 8.00012ZM1.99988 4.50012C1.99988 4.77626 1.77602 5.00012 1.49988 5.00012C1.22374 5.00012 0.999878 4.77626 0.999878 4.50012C0.999878 4.22398 1.22374 4.00012 1.49988 4.00012C1.77602 4.00012 1.99988 4.22398 1.99988 4.50012ZM13.4999 11.0001C13.776 11.0001 13.9999 10.7763 13.9999 10.5001C13.9999 10.224 13.776 10.0001 13.4999 10.0001C13.2237 10.0001 12.9999 10.224 12.9999 10.5001C12.9999 10.7763 13.2237 11.0001 13.4999 11.0001ZM13.9999 7.50012C13.9999 7.77626 13.776 8.00012 13.4999 8.00012C13.2237 8.00012 12.9999 7.77626 12.9999 7.50012C12.9999 7.22398 13.2237 7.00012 13.4999 7.00012C13.776 7.00012 13.9999 7.22398 13.9999 7.50012ZM13.4999 5.00012C13.776 5.00012 13.9999 4.77626 13.9999 4.50012C13.9999 4.22398 13.776 4.00012 13.4999 4.00012C13.2237 4.00012 12.9999 4.22398 12.9999 4.50012C12.9999 4.77626 13.2237 5.00012 13.4999 5.00012ZM4.99988 13.5001C4.99988 13.7763 4.77602 14.0001 4.49988 14.0001C4.22374 14.0001 3.99988 13.7763 3.99988 13.5001C3.99988 13.224 4.22374 13.0001 4.49988 13.0001C4.77602 13.0001 4.99988 13.224 4.99988 13.5001ZM7.49988 14.0001C7.77602 14.0001 7.99988 13.7763 7.99988 13.5001C7.99988 13.224 7.77602 13.0001 7.49988 13.0001C7.22374 13.0001 6.99988 13.224 6.99988 13.5001C6.99988 13.7763 7.22374 14.0001 7.49988 14.0001ZM10.9999 13.5001C10.9999 13.7763 10.776 14.0001 10.4999 14.0001C10.2237 14.0001 9.99988 13.7763 9.99988 13.5001C9.99988 13.224 10.2237 13.0001 10.4999 13.0001C10.776 13.0001 10.9999 13.224 10.9999 13.5001ZM13.4999 14.0001C13.776 14.0001 13.9999 13.7763 13.9999 13.5001C13.9999 13.224 13.776 13.0001 13.4999 13.0001C13.2237 13.0001 12.9999 13.224 12.9999 13.5001C12.9999 13.7763 13.2237 14.0001 13.4999 14.0001ZM3.99988 5.00012C3.99988 4.44784 4.44759 4.00012 4.99988 4.00012H9.99988C10.5522 4.00012 10.9999 4.44784 10.9999 5.00012V10.0001C10.9999 10.5524 10.5522 11.0001 9.99988 11.0001H4.99988C4.44759 11.0001 3.99988 10.5524 3.99988 10.0001V5.00012ZM4.99988 5.00012H9.99988V10.0001H4.99988V5.00012Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/mask_off_icon.rs b/packages/icons/dioxus/src/mask_off_icon.rs new file mode 100644 index 00000000..64e30dca --- /dev/null +++ b/packages/icons/dioxus/src/mask_off_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MaskOffIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MaskOffIcon(props: MaskOffIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 2H14V13H1L1 2ZM0 2C0 1.44772 0.447715 1 1 1H14C14.5523 1 15 1.44772 15 2V13C15 13.5523 14.5523 14 14 14H1C0.447715 14 0 13.5523 0 13V2ZM4.875 7.5C4.875 6.05025 6.05025 4.875 7.5 4.875C8.94975 4.875 10.125 6.05025 10.125 7.5C10.125 8.94975 8.94975 10.125 7.5 10.125C6.05025 10.125 4.875 8.94975 4.875 7.5ZM7.5 3.875C5.49797 3.875 3.875 5.49797 3.875 7.5C3.875 9.50203 5.49797 11.125 7.5 11.125C9.50203 11.125 11.125 9.50203 11.125 7.5C11.125 5.49797 9.50203 3.875 7.5 3.875Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/mask_on_icon.rs b/packages/icons/dioxus/src/mask_on_icon.rs new file mode 100644 index 00000000..2c2a5ebd --- /dev/null +++ b/packages/icons/dioxus/src/mask_on_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MaskOnIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MaskOnIcon(props: MaskOnIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 1C0.447715 1 0 1.44772 0 2V13C0 13.5523 0.447715 14 1 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H1ZM7.5 10.625C9.22589 10.625 10.625 9.22589 10.625 7.5C10.625 5.77411 9.22589 4.375 7.5 4.375C5.77411 4.375 4.375 5.77411 4.375 7.5C4.375 9.22589 5.77411 10.625 7.5 10.625Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/minus_circled_icon.rs b/packages/icons/dioxus/src/minus_circled_icon.rs new file mode 100644 index 00000000..d51c291f --- /dev/null +++ b/packages/icons/dioxus/src/minus_circled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MinusCircledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MinusCircledIcon(props: MinusCircledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM4.50003 7C4.22389 7 4.00003 7.22386 4.00003 7.5C4.00003 7.77614 4.22389 8 4.50003 8H10.5C10.7762 8 11 7.77614 11 7.5C11 7.22386 10.7762 7 10.5 7H4.50003Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/minus_icon.rs b/packages/icons/dioxus/src/minus_icon.rs new file mode 100644 index 00000000..7051b552 --- /dev/null +++ b/packages/icons/dioxus/src/minus_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MinusIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MinusIcon(props: MinusIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/mix_icon.rs b/packages/icons/dioxus/src/mix_icon.rs new file mode 100644 index 00000000..e6f0ac90 --- /dev/null +++ b/packages/icons/dioxus/src/mix_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MixIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MixIcon(props: MixIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.14921 3.99996C2.14921 2.97778 2.97784 2.14915 4.00002 2.14915C5.02219 2.14915 5.85083 2.97778 5.85083 3.99996C5.85083 5.02213 5.02219 5.85077 4.00002 5.85077C2.97784 5.85077 2.14921 5.02213 2.14921 3.99996ZM4.00002 1.24915C2.48079 1.24915 1.24921 2.48073 1.24921 3.99996C1.24921 5.51919 2.48079 6.75077 4.00002 6.75077C5.51925 6.75077 6.75083 5.51919 6.75083 3.99996C6.75083 2.48073 5.51925 1.24915 4.00002 1.24915ZM5.82034 11.0001L2.49998 12.8369V9.16331L5.82034 11.0001ZM2.63883 8.21159C2.17228 7.9535 1.59998 8.29093 1.59998 8.82411V13.1761C1.59998 13.7093 2.17228 14.0467 2.63883 13.7886L6.57235 11.6126C7.05389 11.3462 7.05389 10.654 6.57235 10.3876L2.63883 8.21159ZM8.30001 9.00003C8.30001 8.61343 8.61341 8.30003 9.00001 8.30003H13C13.3866 8.30003 13.7 8.61343 13.7 9.00003V13C13.7 13.3866 13.3866 13.7 13 13.7H9.00001C8.61341 13.7 8.30001 13.3866 8.30001 13V9.00003ZM9.20001 9.20003V12.8H12.8V9.20003H9.20001ZM13.4432 2.19311C13.6189 2.01737 13.6189 1.73245 13.4432 1.55671C13.2675 1.38098 12.9826 1.38098 12.8068 1.55671L11 3.36353L9.19321 1.55674C9.01748 1.381 8.73255 1.381 8.55682 1.55674C8.38108 1.73247 8.38108 2.0174 8.55682 2.19313L10.3636 3.99992L8.55682 5.80671C8.38108 5.98245 8.38108 6.26737 8.55682 6.44311C8.73255 6.61885 9.01748 6.61885 9.19321 6.44311L11 4.63632L12.8068 6.44314C12.9826 6.61887 13.2675 6.61887 13.4432 6.44314C13.6189 6.2674 13.6189 5.98247 13.4432 5.80674L11.6364 3.99992L13.4432 2.19311Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/mixer_horizontal_icon.rs b/packages/icons/dioxus/src/mixer_horizontal_icon.rs new file mode 100644 index 00000000..5cb75970 --- /dev/null +++ b/packages/icons/dioxus/src/mixer_horizontal_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MixerHorizontalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MixerHorizontalIcon(props: MixerHorizontalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.5 3C4.67157 3 4 3.67157 4 4.5C4 5.32843 4.67157 6 5.5 6C6.32843 6 7 5.32843 7 4.5C7 3.67157 6.32843 3 5.5 3ZM3 5C3.01671 5 3.03323 4.99918 3.04952 4.99758C3.28022 6.1399 4.28967 7 5.5 7C6.71033 7 7.71978 6.1399 7.95048 4.99758C7.96677 4.99918 7.98329 5 8 5H13.5C13.7761 5 14 4.77614 14 4.5C14 4.22386 13.7761 4 13.5 4H8C7.98329 4 7.96677 4.00082 7.95048 4.00242C7.71978 2.86009 6.71033 2 5.5 2C4.28967 2 3.28022 2.86009 3.04952 4.00242C3.03323 4.00082 3.01671 4 3 4H1.5C1.22386 4 1 4.22386 1 4.5C1 4.77614 1.22386 5 1.5 5H3ZM11.9505 10.9976C11.7198 12.1399 10.7103 13 9.5 13C8.28967 13 7.28022 12.1399 7.04952 10.9976C7.03323 10.9992 7.01671 11 7 11H1.5C1.22386 11 1 10.7761 1 10.5C1 10.2239 1.22386 10 1.5 10H7C7.01671 10 7.03323 10.0008 7.04952 10.0024C7.28022 8.8601 8.28967 8 9.5 8C10.7103 8 11.7198 8.8601 11.9505 10.0024C11.9668 10.0008 11.9833 10 12 10H13.5C13.7761 10 14 10.2239 14 10.5C14 10.7761 13.7761 11 13.5 11H12C11.9833 11 11.9668 10.9992 11.9505 10.9976ZM8 10.5C8 9.67157 8.67157 9 9.5 9C10.3284 9 11 9.67157 11 10.5C11 11.3284 10.3284 12 9.5 12C8.67157 12 8 11.3284 8 10.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/mixer_vertical_icon.rs b/packages/icons/dioxus/src/mixer_vertical_icon.rs new file mode 100644 index 00000000..62e7abdb --- /dev/null +++ b/packages/icons/dioxus/src/mixer_vertical_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MixerVerticalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MixerVerticalIcon(props: MixerVerticalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5 1.5C5 1.22386 4.77614 1 4.5 1C4.22386 1 4 1.22386 4 1.5L4 7C4 7.01671 4.00082 7.03323 4.00242 7.04952C2.86009 7.28022 2 8.28967 2 9.5C2 10.7103 2.86009 11.7198 4.00242 11.9505C4.00082 11.9668 4 11.9833 4 12V13.5C4 13.7761 4.22386 14 4.5 14C4.77614 14 5 13.7761 5 13.5V12C5 11.9833 4.99918 11.9668 4.99758 11.9505C6.1399 11.7198 7 10.7103 7 9.5C7 8.28967 6.1399 7.28022 4.99758 7.04952C4.99918 7.03323 5 7.01671 5 7L5 1.5ZM11 1.5C11 1.22386 10.7761 1 10.5 1C10.2239 1 10 1.22386 10 1.5V3C10 3.01671 10.0008 3.03323 10.0024 3.04952C8.8601 3.28022 8 4.28967 8 5.5C8 6.71033 8.8601 7.71978 10.0024 7.95048C10.0008 7.96677 10 7.98329 10 8V13.5C10 13.7761 10.2239 14 10.5 14C10.7761 14 11 13.7761 11 13.5V8C11 7.98329 10.9992 7.96677 10.9976 7.95048C12.1399 7.71978 13 6.71033 13 5.5C13 4.28967 12.1399 3.28022 10.9976 3.04952C10.9992 3.03323 11 3.01671 11 3V1.5ZM4.5 8C3.67157 8 3 8.67157 3 9.5C3 10.3284 3.67157 11 4.5 11C5.32843 11 6 10.3284 6 9.5C6 8.67157 5.32843 8 4.5 8ZM9 5.5C9 4.67157 9.67157 4 10.5 4C11.3284 4 12 4.67157 12 5.5C12 6.32843 11.3284 7 10.5 7C9.67157 7 9 6.32843 9 5.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/mobile_icon.rs b/packages/icons/dioxus/src/mobile_icon.rs new file mode 100644 index 00000000..ef123117 --- /dev/null +++ b/packages/icons/dioxus/src/mobile_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MobileIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MobileIcon(props: MobileIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4 2.5C4 2.22386 4.22386 2 4.5 2H10.5C10.7761 2 11 2.22386 11 2.5V12.5C11 12.7761 10.7761 13 10.5 13H4.5C4.22386 13 4 12.7761 4 12.5V2.5ZM4.5 1C3.67157 1 3 1.67157 3 2.5V12.5C3 13.3284 3.67157 14 4.5 14H10.5C11.3284 14 12 13.3284 12 12.5V2.5C12 1.67157 11.3284 1 10.5 1H4.5ZM6 11.65C5.8067 11.65 5.65 11.8067 5.65 12C5.65 12.1933 5.8067 12.35 6 12.35H9C9.1933 12.35 9.35 12.1933 9.35 12C9.35 11.8067 9.1933 11.65 9 11.65H6Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/modulz_logo_icon.rs b/packages/icons/dioxus/src/modulz_logo_icon.rs new file mode 100644 index 00000000..8fedca81 --- /dev/null +++ b/packages/icons/dioxus/src/modulz_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ModulzLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ModulzLogoIcon(props: ModulzLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.25925 3.16667L4.37036 5.33333V1L7.25925 3.16667ZM1 8.22222L3.88889 6.05555L1 3.88889V8.22222ZM1 14L3.88889 11.8333L1 9.66666V14ZM7.74072 8.22222L10.6296 6.05555L7.74072 3.88889V8.22222ZM14 3.16667L11.1111 5.33333V1L14 3.16667ZM11.1111 11.1111L14 8.94444L11.1111 6.77777V11.1111ZM3.88889 11.1111L1 8.94444L3.88889 6.77777V11.1111ZM4.37036 6.05555L7.25925 8.22222V3.88889L4.37036 6.05555ZM3.88889 5.33333L1 3.16667L3.88889 1V5.33333ZM7.74072 3.16667L10.6296 5.33333V1L7.74072 3.16667ZM14 8.22222L11.1111 6.05555L14 3.88889V8.22222ZM11.1111 11.8333L14 14V9.66666L11.1111 11.8333Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/moon_icon.rs b/packages/icons/dioxus/src/moon_icon.rs new file mode 100644 index 00000000..3831622e --- /dev/null +++ b/packages/icons/dioxus/src/moon_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MoonIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MoonIcon(props: MoonIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/move_icon.rs b/packages/icons/dioxus/src/move_icon.rs new file mode 100644 index 00000000..b7e1462f --- /dev/null +++ b/packages/icons/dioxus/src/move_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct MoveIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn MoveIcon(props: MoveIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.81819 0.93179C7.64245 0.756054 7.35753 0.756054 7.18179 0.93179L5.43179 2.68179C5.25605 2.85753 5.25605 3.14245 5.43179 3.31819C5.60753 3.49392 5.89245 3.49392 6.06819 3.31819L6.99999 2.38638V5.49999C6.99999 5.77613 7.22385 5.99999 7.49999 5.99999C7.77613 5.99999 7.99999 5.77613 7.99999 5.49999V2.38638L8.93179 3.31819C9.10753 3.49392 9.39245 3.49392 9.56819 3.31819C9.74392 3.14245 9.74392 2.85753 9.56819 2.68179L7.81819 0.93179ZM7.99999 9.49999C7.99999 9.22385 7.77613 8.99999 7.49999 8.99999C7.22385 8.99999 6.99999 9.22385 6.99999 9.49999V12.6136L6.06819 11.6818C5.89245 11.5061 5.60753 11.5061 5.43179 11.6818C5.25605 11.8575 5.25605 12.1424 5.43179 12.3182L7.18179 14.0682C7.35753 14.2439 7.64245 14.2439 7.81819 14.0682L9.56819 12.3182C9.74392 12.1424 9.74392 11.8575 9.56819 11.6818C9.39245 11.5061 9.10753 11.5061 8.93179 11.6818L7.99999 12.6136V9.49999ZM8.99999 7.49999C8.99999 7.22385 9.22385 6.99999 9.49999 6.99999H12.6136L11.6818 6.06819C11.5061 5.89245 11.5061 5.60753 11.6818 5.43179C11.8575 5.25605 12.1424 5.25605 12.3182 5.43179L14.0682 7.18179C14.2439 7.35753 14.2439 7.64245 14.0682 7.81819L12.3182 9.56819C12.1424 9.74392 11.8575 9.74392 11.6818 9.56819C11.5061 9.39245 11.5061 9.10753 11.6818 8.93179L12.6136 7.99999H9.49999C9.22385 7.99999 8.99999 7.77613 8.99999 7.49999ZM3.31819 6.06819L2.38638 6.99999H5.49999C5.77613 6.99999 5.99999 7.22385 5.99999 7.49999C5.99999 7.77613 5.77613 7.99999 5.49999 7.99999H2.38638L3.31819 8.93179C3.49392 9.10753 3.49392 9.39245 3.31819 9.56819C3.14245 9.74392 2.85753 9.74392 2.68179 9.56819L0.93179 7.81819C0.756054 7.64245 0.756054 7.35753 0.93179 7.18179L2.68179 5.43179C2.85753 5.25605 3.14245 5.25605 3.31819 5.43179C3.49392 5.60753 3.49392 5.89245 3.31819 6.06819Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/notion_logo_icon.rs b/packages/icons/dioxus/src/notion_logo_icon.rs new file mode 100644 index 00000000..26d4f6d9 --- /dev/null +++ b/packages/icons/dioxus/src/notion_logo_icon.rs @@ -0,0 +1,28 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct NotionLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn NotionLogoIcon(props: NotionLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "d": "M3.25781 3.11684C3.67771 3.45796 3.83523 3.43193 4.62369 3.37933L12.0571 2.93299C12.2147 2.93299 12.0836 2.77571 12.0311 2.74957L10.7965 1.85711C10.56 1.67347 10.2448 1.46315 9.64083 1.51576L2.44308 2.04074C2.18059 2.06677 2.12815 2.19801 2.2327 2.30322L3.25781 3.11684ZM3.7041 4.84917V12.6704C3.7041 13.0907 3.91415 13.248 4.38693 13.222L12.5562 12.7493C13.0292 12.7233 13.0819 12.4341 13.0819 12.0927V4.32397C13.0819 3.98306 12.9508 3.79921 12.6612 3.82545L4.12422 4.32397C3.80918 4.35044 3.7041 4.50803 3.7041 4.84917ZM11.7688 5.26872C11.8212 5.50518 11.7688 5.74142 11.5319 5.76799L11.1383 5.84641V11.6205C10.7965 11.8042 10.4814 11.9092 10.2188 11.9092C9.79835 11.9092 9.69305 11.7779 9.37812 11.3844L6.80345 7.34249V11.2532L7.61816 11.437C7.61816 11.437 7.61816 11.9092 6.96086 11.9092L5.14879 12.0143C5.09615 11.9092 5.14879 11.647 5.33259 11.5944L5.80546 11.4634V6.29276L5.1489 6.24015C5.09625 6.00369 5.22739 5.66278 5.5954 5.63631L7.53935 5.50528L10.2188 9.5998V5.97765L9.53564 5.89924C9.4832 5.61018 9.69305 5.40028 9.95576 5.37425L11.7688 5.26872ZM1.83874 1.33212L9.32557 0.780787C10.245 0.701932 10.4815 0.754753 11.0594 1.17452L13.4492 2.85424C13.8436 3.14309 13.975 3.22173 13.975 3.53661V12.7493C13.975 13.3266 13.7647 13.6681 13.0293 13.7203L4.33492 14.2454C3.78291 14.2717 3.52019 14.193 3.23111 13.8253L1.47116 11.5419C1.1558 11.1216 1.02466 10.8071 1.02466 10.4392V2.25041C1.02466 1.77825 1.23504 1.38441 1.83874 1.33212Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/opacity_icon.rs b/packages/icons/dioxus/src/opacity_icon.rs new file mode 100644 index 00000000..e50e41df --- /dev/null +++ b/packages/icons/dioxus/src/opacity_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct OpacityIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn OpacityIcon(props: OpacityIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 1.5C4.5 4.25 3 6.5 3 9C3 11.4853 5.01472 13.5 7.5 13.5C9.98528 13.5 12 11.4853 12 9C12 6.5 10.5 4.25 7.5 1.5ZM11 9C11 7.11203 9.97315 5.27195 7.5 2.87357C5.02686 5.27195 4 7.11203 4 9C4 10.933 5.567 12.5 7.5 12.5C9.433 12.5 11 10.933 11 9Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/open_in_new_window_icon.rs b/packages/icons/dioxus/src/open_in_new_window_icon.rs new file mode 100644 index 00000000..5bfefff9 --- /dev/null +++ b/packages/icons/dioxus/src/open_in_new_window_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct OpenInNewWindowIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn OpenInNewWindowIcon(props: OpenInNewWindowIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12 13C12.5523 13 13 12.5523 13 12V3C13 2.44771 12.5523 2 12 2H3C2.44771 2 2 2.44771 2 3V6.5C2 6.77614 2.22386 7 2.5 7C2.77614 7 3 6.77614 3 6.5V3H12V12H8.5C8.22386 12 8 12.2239 8 12.5C8 12.7761 8.22386 13 8.5 13H12ZM9 6.5C9 6.5001 9 6.50021 9 6.50031V6.50035V9.5C9 9.77614 8.77614 10 8.5 10C8.22386 10 8 9.77614 8 9.5V7.70711L2.85355 12.8536C2.65829 13.0488 2.34171 13.0488 2.14645 12.8536C1.95118 12.6583 1.95118 12.3417 2.14645 12.1464L7.29289 7H5.5C5.22386 7 5 6.77614 5 6.5C5 6.22386 5.22386 6 5.5 6H8.5C8.56779 6 8.63244 6.01349 8.69139 6.03794C8.74949 6.06198 8.80398 6.09744 8.85143 6.14433C8.94251 6.23434 8.9992 6.35909 8.99999 6.49708L8.99999 6.49738", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/overline_icon.rs b/packages/icons/dioxus/src/overline_icon.rs new file mode 100644 index 00000000..9bcc6e52 --- /dev/null +++ b/packages/icons/dioxus/src/overline_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct OverlineIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn OverlineIcon(props: OverlineIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.49985 1.10001C3.27894 1.10001 3.09985 1.27909 3.09985 1.50001C3.09985 1.72092 3.27894 1.90001 3.49985 1.90001H11.4999C11.7208 1.90001 11.8999 1.72092 11.8999 1.50001C11.8999 1.27909 11.7208 1.10001 11.4999 1.10001H3.49985ZM4.99995 4.25001C4.99995 3.97387 4.77609 3.75001 4.49995 3.75001C4.22381 3.75001 3.99995 3.97387 3.99995 4.25001V9.55001C3.99995 11.483 5.56695 13.05 7.49995 13.05C9.43295 13.05 11 11.483 11 9.55001V4.25001C11 3.97387 10.7761 3.75001 10.5 3.75001C10.2238 3.75001 9.99995 3.97387 9.99995 4.25001V9.55001C9.99995 10.9307 8.88066 12.05 7.49995 12.05C6.11924 12.05 4.99995 10.9307 4.99995 9.55001V4.25001Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/padding_icon.rs b/packages/icons/dioxus/src/padding_icon.rs new file mode 100644 index 00000000..746e99ed --- /dev/null +++ b/packages/icons/dioxus/src/padding_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PaddingIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PaddingIcon(props: PaddingIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.85714 2H12.1429C12.6162 2 13 2.38376 13 2.85714V12.1429C13 12.6162 12.6162 13 12.1429 13H2.85714C2.38376 13 2 12.6162 2 12.1429V2.85714C2 2.38376 2.38376 2 2.85714 2ZM1 2.85714C1 1.83147 1.83147 1 2.85714 1H12.1429C13.1685 1 14 1.83147 14 2.85714V12.1429C14 13.1685 13.1685 14 12.1429 14H2.85714C1.83147 14 1 13.1685 1 12.1429V2.85714ZM7.49988 5.00012C7.77602 5.00012 7.99988 4.77626 7.99988 4.50012C7.99988 4.22398 7.77602 4.00012 7.49988 4.00012C7.22374 4.00012 6.99988 4.22398 6.99988 4.50012C6.99988 4.77626 7.22374 5.00012 7.49988 5.00012ZM4.49988 11.0001C4.77602 11.0001 4.99988 10.7763 4.99988 10.5001C4.99988 10.224 4.77602 10.0001 4.49988 10.0001C4.22374 10.0001 3.99988 10.224 3.99988 10.5001C3.99988 10.7763 4.22374 11.0001 4.49988 11.0001ZM4.99988 7.50012C4.99988 7.77626 4.77602 8.00012 4.49988 8.00012C4.22374 8.00012 3.99988 7.77626 3.99988 7.50012C3.99988 7.22398 4.22374 7.00012 4.49988 7.00012C4.77602 7.00012 4.99988 7.22398 4.99988 7.50012ZM4.49988 5.00012C4.77602 5.00012 4.99988 4.77626 4.99988 4.50012C4.99988 4.22398 4.77602 4.00012 4.49988 4.00012C4.22374 4.00012 3.99988 4.22398 3.99988 4.50012C3.99988 4.77626 4.22374 5.00012 4.49988 5.00012ZM10.9999 10.5001C10.9999 10.7763 10.776 11.0001 10.4999 11.0001C10.2237 11.0001 9.99988 10.7763 9.99988 10.5001C9.99988 10.224 10.2237 10.0001 10.4999 10.0001C10.776 10.0001 10.9999 10.224 10.9999 10.5001ZM10.4999 8.00012C10.776 8.00012 10.9999 7.77626 10.9999 7.50012C10.9999 7.22398 10.776 7.00012 10.4999 7.00012C10.2237 7.00012 9.99988 7.22398 9.99988 7.50012C9.99988 7.77626 10.2237 8.00012 10.4999 8.00012ZM10.9999 4.50012C10.9999 4.77626 10.776 5.00012 10.4999 5.00012C10.2237 5.00012 9.99988 4.77626 9.99988 4.50012C9.99988 4.22398 10.2237 4.00012 10.4999 4.00012C10.776 4.00012 10.9999 4.22398 10.9999 4.50012ZM7.49988 11.0001C7.77602 11.0001 7.99988 10.7763 7.99988 10.5001C7.99988 10.224 7.77602 10.0001 7.49988 10.0001C7.22374 10.0001 6.99988 10.224 6.99988 10.5001C6.99988 10.7763 7.22374 11.0001 7.49988 11.0001Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/paper_plane_icon.rs b/packages/icons/dioxus/src/paper_plane_icon.rs new file mode 100644 index 00000000..15f24e93 --- /dev/null +++ b/packages/icons/dioxus/src/paper_plane_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PaperPlaneIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PaperPlaneIcon(props: PaperPlaneIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.20308 1.04312C1.00481 0.954998 0.772341 1.0048 0.627577 1.16641C0.482813 1.32802 0.458794 1.56455 0.568117 1.75196L3.92115 7.50002L0.568117 13.2481C0.458794 13.4355 0.482813 13.672 0.627577 13.8336C0.772341 13.9952 1.00481 14.045 1.20308 13.9569L14.7031 7.95693C14.8836 7.87668 15 7.69762 15 7.50002C15 7.30243 14.8836 7.12337 14.7031 7.04312L1.20308 1.04312ZM4.84553 7.10002L2.21234 2.586L13.2689 7.50002L2.21234 12.414L4.84552 7.90002H9C9.22092 7.90002 9.4 7.72094 9.4 7.50002C9.4 7.27911 9.22092 7.10002 9 7.10002H4.84553Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pause_icon.rs b/packages/icons/dioxus/src/pause_icon.rs new file mode 100644 index 00000000..e713c1c4 --- /dev/null +++ b/packages/icons/dioxus/src/pause_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PauseIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PauseIcon(props: PauseIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.04995 2.74998C6.04995 2.44623 5.80371 2.19998 5.49995 2.19998C5.19619 2.19998 4.94995 2.44623 4.94995 2.74998V12.25C4.94995 12.5537 5.19619 12.8 5.49995 12.8C5.80371 12.8 6.04995 12.5537 6.04995 12.25V2.74998ZM10.05 2.74998C10.05 2.44623 9.80371 2.19998 9.49995 2.19998C9.19619 2.19998 8.94995 2.44623 8.94995 2.74998V12.25C8.94995 12.5537 9.19619 12.8 9.49995 12.8C9.80371 12.8 10.05 12.5537 10.05 12.25V2.74998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pencil_1_icon.rs b/packages/icons/dioxus/src/pencil_1_icon.rs new file mode 100644 index 00000000..1ddcdae8 --- /dev/null +++ b/packages/icons/dioxus/src/pencil_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Pencil1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Pencil1Icon(props: Pencil1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pencil_2_icon.rs b/packages/icons/dioxus/src/pencil_2_icon.rs new file mode 100644 index 00000000..154c7984 --- /dev/null +++ b/packages/icons/dioxus/src/pencil_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Pencil2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Pencil2Icon(props: Pencil2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/person_icon.rs b/packages/icons/dioxus/src/person_icon.rs new file mode 100644 index 00000000..e8c6c4af --- /dev/null +++ b/packages/icons/dioxus/src/person_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PersonIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PersonIcon(props: PersonIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pie_chart_icon.rs b/packages/icons/dioxus/src/pie_chart_icon.rs new file mode 100644 index 00000000..2f2976f1 --- /dev/null +++ b/packages/icons/dioxus/src/pie_chart_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PieChartIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PieChartIcon(props: PieChartIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.85001 7.50043C1.85001 4.37975 4.37963 1.85001 7.50001 1.85001C10.6204 1.85001 13.15 4.37975 13.15 7.50043C13.15 10.6211 10.6204 13.1509 7.50001 13.1509C4.37963 13.1509 1.85001 10.6211 1.85001 7.50043ZM7.50001 0.850006C3.82728 0.850006 0.850006 3.82753 0.850006 7.50043C0.850006 11.1733 3.82728 14.1509 7.50001 14.1509C11.1727 14.1509 14.15 11.1733 14.15 7.50043C14.15 3.82753 11.1727 0.850006 7.50001 0.850006ZM7.00001 8.00001V3.12811C7.16411 3.10954 7.33094 3.10001 7.50001 3.10001C9.93006 3.10001 11.9 5.07014 11.9 7.50043C11.9 7.66935 11.8905 7.83604 11.872 8.00001H7.00001Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pilcrow_icon.rs b/packages/icons/dioxus/src/pilcrow_icon.rs new file mode 100644 index 00000000..06e975b1 --- /dev/null +++ b/packages/icons/dioxus/src/pilcrow_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PilcrowIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PilcrowIcon(props: PilcrowIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3 5.5C3 7.983 4.99169 9 7 9V12.5C7 12.7761 7.22386 13 7.5 13C7.77614 13 8 12.7761 8 12.5V9V3.1H9V12.5C9 12.7761 9.22386 13 9.5 13C9.77614 13 10 12.7761 10 12.5V3.1H11.5C11.8038 3.1 12.05 2.85376 12.05 2.55C12.05 2.24624 11.8038 2 11.5 2H9.5H8H7.5H7C4.99169 2 3 3.017 3 5.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pin_bottom_icon.rs b/packages/icons/dioxus/src/pin_bottom_icon.rs new file mode 100644 index 00000000..00a7edbc --- /dev/null +++ b/packages/icons/dioxus/src/pin_bottom_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PinBottomIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PinBottomIcon(props: PinBottomIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.5 13.95C13.7485 13.95 13.95 13.7485 13.95 13.5C13.95 13.2514 13.7485 13.05 13.5 13.05L1.49995 13.05C1.25142 13.05 1.04995 13.2514 1.04995 13.5C1.04995 13.7485 1.25142 13.95 1.49995 13.95L13.5 13.95ZM11.0681 7.5683C11.2439 7.39257 11.2439 7.10764 11.0681 6.93191C10.8924 6.75617 10.6075 6.75617 10.4317 6.93191L7.94993 9.41371L7.94993 1.49998C7.94993 1.25146 7.74846 1.04998 7.49993 1.04998C7.2514 1.04998 7.04993 1.25146 7.04993 1.49998L7.04993 9.41371L4.56813 6.93191C4.39239 6.75617 4.10746 6.75617 3.93173 6.93191C3.75599 7.10764 3.75599 7.39257 3.93173 7.5683L7.18173 10.8183C7.35746 10.994 7.64239 10.994 7.81812 10.8183L11.0681 7.5683Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pin_left_icon.rs b/packages/icons/dioxus/src/pin_left_icon.rs new file mode 100644 index 00000000..9fc9a879 --- /dev/null +++ b/packages/icons/dioxus/src/pin_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PinLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PinLeftIcon(props: PinLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.05005 13.5C2.05005 13.7485 2.25152 13.95 2.50005 13.95C2.74858 13.95 2.95005 13.7485 2.95005 13.5L2.95005 1.49995C2.95005 1.25142 2.74858 1.04995 2.50005 1.04995C2.25152 1.04995 2.05005 1.25142 2.05005 1.49995L2.05005 13.5ZM8.4317 11.0681C8.60743 11.2439 8.89236 11.2439 9.06809 11.0681C9.24383 10.8924 9.24383 10.6075 9.06809 10.4317L6.58629 7.94993L14.5 7.94993C14.7485 7.94993 14.95 7.74846 14.95 7.49993C14.95 7.2514 14.7485 7.04993 14.5 7.04993L6.58629 7.04993L9.06809 4.56813C9.24383 4.39239 9.24383 4.10746 9.06809 3.93173C8.89236 3.75599 8.60743 3.75599 8.4317 3.93173L5.1817 7.18173C5.00596 7.35746 5.00596 7.64239 5.1817 7.81812L8.4317 11.0681Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pin_right_icon.rs b/packages/icons/dioxus/src/pin_right_icon.rs new file mode 100644 index 00000000..f9d0b90b --- /dev/null +++ b/packages/icons/dioxus/src/pin_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PinRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PinRightIcon(props: PinRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.95 1.50005C12.95 1.25152 12.7485 1.05005 12.5 1.05005C12.2514 1.05005 12.05 1.25152 12.05 1.50005L12.05 13.5C12.05 13.7486 12.2514 13.95 12.5 13.95C12.7485 13.95 12.95 13.7486 12.95 13.5L12.95 1.50005ZM6.5683 3.93188C6.39257 3.75614 6.10764 3.75614 5.93191 3.93188C5.75617 4.10761 5.75617 4.39254 5.93191 4.56827L8.41371 7.05007L0.499984 7.05007C0.251456 7.05007 0.0499847 7.25155 0.0499847 7.50007C0.0499846 7.7486 0.251457 7.95007 0.499984 7.95007L8.41371 7.95007L5.93191 10.4319C5.75617 10.6076 5.75617 10.8925 5.93191 11.0683C6.10764 11.244 6.39257 11.244 6.56831 11.0683L9.8183 7.81827C9.99404 7.64254 9.99404 7.35761 9.8183 7.18188L6.5683 3.93188Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/pin_top_icon.rs b/packages/icons/dioxus/src/pin_top_icon.rs new file mode 100644 index 00000000..52804050 --- /dev/null +++ b/packages/icons/dioxus/src/pin_top_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PinTopIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PinTopIcon(props: PinTopIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.50005 1.05005C1.25152 1.05005 1.05005 1.25152 1.05005 1.50005C1.05005 1.74858 1.25152 1.95005 1.50005 1.95005L13.5 1.95005C13.7486 1.95005 13.95 1.74858 13.95 1.50005C13.95 1.25152 13.7486 1.05005 13.5 1.05005H1.50005ZM3.93188 7.43169C3.75614 7.60743 3.75614 7.89236 3.93188 8.06809C4.10761 8.24383 4.39254 8.24383 4.56827 8.06809L7.05007 5.58629V13.5C7.05007 13.7485 7.25155 13.95 7.50007 13.95C7.7486 13.95 7.95007 13.7485 7.95007 13.5L7.95007 5.58629L10.4319 8.06809C10.6076 8.24383 10.8925 8.24383 11.0683 8.06809C11.244 7.89235 11.244 7.60743 11.0683 7.43169L7.81827 4.18169C7.64254 4.00596 7.35761 4.00596 7.18188 4.18169L3.93188 7.43169Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/play_icon.rs b/packages/icons/dioxus/src/play_icon.rs new file mode 100644 index 00000000..5232a11c --- /dev/null +++ b/packages/icons/dioxus/src/play_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PlayIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PlayIcon(props: PlayIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.24182 2.32181C3.3919 2.23132 3.5784 2.22601 3.73338 2.30781L12.7334 7.05781C12.8974 7.14436 13 7.31457 13 7.5C13 7.68543 12.8974 7.85564 12.7334 7.94219L3.73338 12.6922C3.5784 12.774 3.3919 12.7687 3.24182 12.6782C3.09175 12.5877 3 12.4252 3 12.25V2.75C3 2.57476 3.09175 2.4123 3.24182 2.32181ZM4 3.57925V11.4207L11.4288 7.5L4 3.57925Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/plus_circled_icon.rs b/packages/icons/dioxus/src/plus_circled_icon.rs new file mode 100644 index 00000000..249a5c15 --- /dev/null +++ b/packages/icons/dioxus/src/plus_circled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PlusCircledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PlusCircledIcon(props: PlusCircledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM7.50003 4C7.77617 4 8.00003 4.22386 8.00003 4.5V7H10.5C10.7762 7 11 7.22386 11 7.5C11 7.77614 10.7762 8 10.5 8H8.00003V10.5C8.00003 10.7761 7.77617 11 7.50003 11C7.22389 11 7.00003 10.7761 7.00003 10.5V8H4.50003C4.22389 8 4.00003 7.77614 4.00003 7.5C4.00003 7.22386 4.22389 7 4.50003 7H7.00003V4.5C7.00003 4.22386 7.22389 4 7.50003 4Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/plus_icon.rs b/packages/icons/dioxus/src/plus_icon.rs new file mode 100644 index 00000000..77a4e60b --- /dev/null +++ b/packages/icons/dioxus/src/plus_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct PlusIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn PlusIcon(props: PlusIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/question_mark_circled_icon.rs b/packages/icons/dioxus/src/question_mark_circled_icon.rs new file mode 100644 index 00000000..10ca993e --- /dev/null +++ b/packages/icons/dioxus/src/question_mark_circled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct QuestionMarkCircledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn QuestionMarkCircledIcon(props: QuestionMarkCircledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/question_mark_icon.rs b/packages/icons/dioxus/src/question_mark_icon.rs new file mode 100644 index 00000000..e8387efa --- /dev/null +++ b/packages/icons/dioxus/src/question_mark_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct QuestionMarkIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn QuestionMarkIcon(props: QuestionMarkIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.07505 4.10001C5.07505 2.91103 6.25727 1.92502 7.50005 1.92502C8.74283 1.92502 9.92505 2.91103 9.92505 4.10001C9.92505 5.19861 9.36782 5.71436 8.61854 6.37884L8.58757 6.4063C7.84481 7.06467 6.92505 7.87995 6.92505 9.5C6.92505 9.81757 7.18248 10.075 7.50005 10.075C7.81761 10.075 8.07505 9.81757 8.07505 9.5C8.07505 8.41517 8.62945 7.90623 9.38156 7.23925L9.40238 7.22079C10.1496 6.55829 11.075 5.73775 11.075 4.10001C11.075 2.12757 9.21869 0.775024 7.50005 0.775024C5.7814 0.775024 3.92505 2.12757 3.92505 4.10001C3.92505 4.41758 4.18249 4.67501 4.50005 4.67501C4.81761 4.67501 5.07505 4.41758 5.07505 4.10001ZM7.50005 13.3575C7.9833 13.3575 8.37505 12.9657 8.37505 12.4825C8.37505 11.9992 7.9833 11.6075 7.50005 11.6075C7.0168 11.6075 6.62505 11.9992 6.62505 12.4825C6.62505 12.9657 7.0168 13.3575 7.50005 13.3575Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/quote_icon.rs b/packages/icons/dioxus/src/quote_icon.rs new file mode 100644 index 00000000..f9e776fa --- /dev/null +++ b/packages/icons/dioxus/src/quote_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct QuoteIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn QuoteIcon(props: QuoteIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.42503 3.44136C10.0561 3.23654 10.7837 3.2402 11.3792 3.54623C12.7532 4.25224 13.3477 6.07191 12.7946 8C12.5465 8.8649 12.1102 9.70472 11.1861 10.5524C10.262 11.4 8.98034 11.9 8.38571 11.9C8.17269 11.9 8 11.7321 8 11.525C8 11.3179 8.17644 11.15 8.38571 11.15C9.06497 11.15 9.67189 10.7804 10.3906 10.236C10.9406 9.8193 11.3701 9.28633 11.608 8.82191C12.0628 7.93367 12.0782 6.68174 11.3433 6.34901C10.9904 6.73455 10.5295 6.95946 9.97725 6.95946C8.7773 6.95946 8.0701 5.99412 8.10051 5.12009C8.12957 4.28474 8.66032 3.68954 9.42503 3.44136ZM3.42503 3.44136C4.05614 3.23654 4.78366 3.2402 5.37923 3.54623C6.7532 4.25224 7.34766 6.07191 6.79462 8C6.54654 8.8649 6.11019 9.70472 5.1861 10.5524C4.26201 11.4 2.98034 11.9 2.38571 11.9C2.17269 11.9 2 11.7321 2 11.525C2 11.3179 2.17644 11.15 2.38571 11.15C3.06497 11.15 3.67189 10.7804 4.39058 10.236C4.94065 9.8193 5.37014 9.28633 5.60797 8.82191C6.06282 7.93367 6.07821 6.68174 5.3433 6.34901C4.99037 6.73455 4.52948 6.95946 3.97725 6.95946C2.7773 6.95946 2.0701 5.99412 2.10051 5.12009C2.12957 4.28474 2.66032 3.68954 3.42503 3.44136Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/radiobutton_icon.rs b/packages/icons/dioxus/src/radiobutton_icon.rs new file mode 100644 index 00000000..a177144d --- /dev/null +++ b/packages/icons/dioxus/src/radiobutton_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct RadiobuttonIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn RadiobuttonIcon(props: RadiobuttonIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49985 0.877045C3.84216 0.877045 0.877014 3.84219 0.877014 7.49988C0.877014 11.1575 3.84216 14.1227 7.49985 14.1227C11.1575 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1575 0.877045 7.49985 0.877045ZM1.82701 7.49988C1.82701 4.36686 4.36683 1.82704 7.49985 1.82704C10.6328 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6328 13.1727 7.49985 13.1727C4.36683 13.1727 1.82701 10.6329 1.82701 7.49988ZM7.49999 9.49999C8.60456 9.49999 9.49999 8.60456 9.49999 7.49999C9.49999 6.39542 8.60456 5.49999 7.49999 5.49999C6.39542 5.49999 5.49999 6.39542 5.49999 7.49999C5.49999 8.60456 6.39542 9.49999 7.49999 9.49999Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/reader_icon.rs b/packages/icons/dioxus/src/reader_icon.rs new file mode 100644 index 00000000..af5d913e --- /dev/null +++ b/packages/icons/dioxus/src/reader_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ReaderIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ReaderIcon(props: ReaderIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.2 1H4.17741H4.1774C3.86936 0.999988 3.60368 0.999978 3.38609 1.02067C3.15576 1.04257 2.92825 1.09113 2.71625 1.22104C2.51442 1.34472 2.34473 1.51442 2.22104 1.71625C2.09113 1.92825 2.04257 2.15576 2.02067 2.38609C1.99998 2.60367 1.99999 2.86935 2 3.17738V3.1774V3.2V11.8V11.8226V11.8226C1.99999 12.1307 1.99998 12.3963 2.02067 12.6139C2.04257 12.8442 2.09113 13.0717 2.22104 13.2837C2.34473 13.4856 2.51442 13.6553 2.71625 13.779C2.92825 13.9089 3.15576 13.9574 3.38609 13.9793C3.60368 14 3.86937 14 4.17741 14H4.2H10.8H10.8226C11.1306 14 11.3963 14 11.6139 13.9793C11.8442 13.9574 12.0717 13.9089 12.2837 13.779C12.4856 13.6553 12.6553 13.4856 12.779 13.2837C12.9089 13.0717 12.9574 12.8442 12.9793 12.6139C13 12.3963 13 12.1306 13 11.8226V11.8V3.2V3.17741C13 2.86936 13 2.60368 12.9793 2.38609C12.9574 2.15576 12.9089 1.92825 12.779 1.71625C12.6553 1.51442 12.4856 1.34472 12.2837 1.22104C12.0717 1.09113 11.8442 1.04257 11.6139 1.02067C11.3963 0.999978 11.1306 0.999988 10.8226 1H10.8H4.2ZM3.23875 2.07368C3.26722 2.05623 3.32362 2.03112 3.48075 2.01618C3.64532 2.00053 3.86298 2 4.2 2H10.8C11.137 2 11.3547 2.00053 11.5193 2.01618C11.6764 2.03112 11.7328 2.05623 11.7613 2.07368C11.8285 2.11491 11.8851 2.17147 11.9263 2.23875C11.9438 2.26722 11.9689 2.32362 11.9838 2.48075C11.9995 2.64532 12 2.86298 12 3.2V11.8C12 12.137 11.9995 12.3547 11.9838 12.5193C11.9689 12.6764 11.9438 12.7328 11.9263 12.7613C11.8851 12.8285 11.8285 12.8851 11.7613 12.9263C11.7328 12.9438 11.6764 12.9689 11.5193 12.9838C11.3547 12.9995 11.137 13 10.8 13H4.2C3.86298 13 3.64532 12.9995 3.48075 12.9838C3.32362 12.9689 3.26722 12.9438 3.23875 12.9263C3.17147 12.8851 3.11491 12.8285 3.07368 12.7613C3.05624 12.7328 3.03112 12.6764 3.01618 12.5193C3.00053 12.3547 3 12.137 3 11.8V3.2C3 2.86298 3.00053 2.64532 3.01618 2.48075C3.03112 2.32362 3.05624 2.26722 3.07368 2.23875C3.11491 2.17147 3.17147 2.11491 3.23875 2.07368ZM5 10C4.72386 10 4.5 10.2239 4.5 10.5C4.5 10.7761 4.72386 11 5 11H8C8.27614 11 8.5 10.7761 8.5 10.5C8.5 10.2239 8.27614 10 8 10H5ZM4.5 7.5C4.5 7.22386 4.72386 7 5 7H10C10.2761 7 10.5 7.22386 10.5 7.5C10.5 7.77614 10.2761 8 10 8H5C4.72386 8 4.5 7.77614 4.5 7.5ZM5 4C4.72386 4 4.5 4.22386 4.5 4.5C4.5 4.77614 4.72386 5 5 5H10C10.2761 5 10.5 4.77614 10.5 4.5C10.5 4.22386 10.2761 4 10 4H5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/reload_icon.rs b/packages/icons/dioxus/src/reload_icon.rs new file mode 100644 index 00000000..db427674 --- /dev/null +++ b/packages/icons/dioxus/src/reload_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ReloadIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ReloadIcon(props: ReloadIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.84998 7.49998C1.84998 4.66458 4.05979 1.84998 7.49998 1.84998C10.2783 1.84998 11.6515 3.9064 12.2367 5H10.5C10.2239 5 10 5.22386 10 5.5C10 5.77614 10.2239 6 10.5 6H13.5C13.7761 6 14 5.77614 14 5.5V2.5C14 2.22386 13.7761 2 13.5 2C13.2239 2 13 2.22386 13 2.5V4.31318C12.2955 3.07126 10.6659 0.849976 7.49998 0.849976C3.43716 0.849976 0.849976 4.18537 0.849976 7.49998C0.849976 10.8146 3.43716 14.15 7.49998 14.15C9.44382 14.15 11.0622 13.3808 12.2145 12.2084C12.8315 11.5806 13.3133 10.839 13.6418 10.0407C13.7469 9.78536 13.6251 9.49315 13.3698 9.38806C13.1144 9.28296 12.8222 9.40478 12.7171 9.66014C12.4363 10.3425 12.0251 10.9745 11.5013 11.5074C10.5295 12.4963 9.16504 13.15 7.49998 13.15C4.05979 13.15 1.84998 10.3354 1.84998 7.49998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/reset_icon.rs b/packages/icons/dioxus/src/reset_icon.rs new file mode 100644 index 00000000..844d8def --- /dev/null +++ b/packages/icons/dioxus/src/reset_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ResetIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ResetIcon(props: ResetIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.85355 2.14645C5.04882 2.34171 5.04882 2.65829 4.85355 2.85355L3.70711 4H9C11.4853 4 13.5 6.01472 13.5 8.5C13.5 10.9853 11.4853 13 9 13H5C4.72386 13 4.5 12.7761 4.5 12.5C4.5 12.2239 4.72386 12 5 12H9C10.933 12 12.5 10.433 12.5 8.5C12.5 6.567 10.933 5 9 5H3.70711L4.85355 6.14645C5.04882 6.34171 5.04882 6.65829 4.85355 6.85355C4.65829 7.04882 4.34171 7.04882 4.14645 6.85355L2.14645 4.85355C1.95118 4.65829 1.95118 4.34171 2.14645 4.14645L4.14645 2.14645C4.34171 1.95118 4.65829 1.95118 4.85355 2.14645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/resume_icon.rs b/packages/icons/dioxus/src/resume_icon.rs new file mode 100644 index 00000000..09f2cf6e --- /dev/null +++ b/packages/icons/dioxus/src/resume_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ResumeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ResumeIcon(props: ResumeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.04995 2.74995C3.04995 2.44619 2.80371 2.19995 2.49995 2.19995C2.19619 2.19995 1.94995 2.44619 1.94995 2.74995V12.25C1.94995 12.5537 2.19619 12.8 2.49995 12.8C2.80371 12.8 3.04995 12.5537 3.04995 12.25V2.74995ZM5.73333 2.30776C5.57835 2.22596 5.39185 2.23127 5.24177 2.32176C5.0917 2.41225 4.99995 2.57471 4.99995 2.74995V12.25C4.99995 12.4252 5.0917 12.5877 5.24177 12.6781C5.39185 12.7686 5.57835 12.7739 5.73333 12.6921L14.7333 7.94214C14.8973 7.85559 15 7.68539 15 7.49995C15 7.31452 14.8973 7.14431 14.7333 7.05776L5.73333 2.30776ZM5.99995 11.4207V3.5792L13.4287 7.49995L5.99995 11.4207Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/rocket_icon.rs b/packages/icons/dioxus/src/rocket_icon.rs new file mode 100644 index 00000000..0ba83faa --- /dev/null +++ b/packages/icons/dioxus/src/rocket_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct RocketIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn RocketIcon(props: RocketIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.85357 3.85355L7.65355 3.05353C8.2981 2.40901 9.42858 1.96172 10.552 1.80125C11.1056 1.72217 11.6291 1.71725 12.0564 1.78124C12.4987 1.84748 12.7698 1.97696 12.8965 2.10357C13.0231 2.23018 13.1526 2.50125 13.2188 2.94357C13.2828 3.37086 13.2779 3.89439 13.1988 4.44801C13.0383 5.57139 12.591 6.70188 11.9464 7.34645L7.49999 11.7929L6.35354 10.6465C6.15827 10.4512 5.84169 10.4512 5.64643 10.6465C5.45117 10.8417 5.45117 11.1583 5.64643 11.3536L7.14644 12.8536C7.34171 13.0488 7.65829 13.0488 7.85355 12.8536L8.40073 12.3064L9.57124 14.2572C9.65046 14.3893 9.78608 14.4774 9.9389 14.4963C10.0917 14.5151 10.2447 14.4624 10.3535 14.3536L12.3535 12.3536C12.4648 12.2423 12.5172 12.0851 12.495 11.9293L12.0303 8.67679L12.6536 8.05355C13.509 7.19808 14.0117 5.82855 14.1887 4.58943C14.2784 3.9618 14.2891 3.33847 14.2078 2.79546C14.1287 2.26748 13.9519 1.74482 13.6035 1.39645C13.2552 1.04809 12.7325 0.871332 12.2045 0.792264C11.6615 0.710945 11.0382 0.721644 10.4105 0.8113C9.17143 0.988306 7.80189 1.491 6.94644 2.34642L6.32322 2.96968L3.07071 2.50504C2.91492 2.48278 2.75773 2.53517 2.64645 2.64646L0.646451 4.64645C0.537579 4.75533 0.484938 4.90829 0.50375 5.0611C0.522563 5.21391 0.61073 5.34954 0.742757 5.42876L2.69364 6.59928L2.14646 7.14645C2.0527 7.24022 2.00002 7.3674 2.00002 7.50001C2.00002 7.63261 2.0527 7.75979 2.14646 7.85356L3.64647 9.35356C3.84173 9.54883 4.15831 9.54883 4.35357 9.35356C4.54884 9.1583 4.54884 8.84172 4.35357 8.64646L3.20712 7.50001L3.85357 6.85356L6.85357 3.85355ZM10.0993 13.1936L9.12959 11.5775L11.1464 9.56067L11.4697 11.8232L10.0993 13.1936ZM3.42251 5.87041L5.43935 3.85356L3.17678 3.53034L1.80638 4.90074L3.42251 5.87041ZM2.35356 10.3535C2.54882 10.1583 2.54882 9.8417 2.35356 9.64644C2.1583 9.45118 1.84171 9.45118 1.64645 9.64644L0.646451 10.6464C0.451188 10.8417 0.451188 11.1583 0.646451 11.3535C0.841713 11.5488 1.1583 11.5488 1.35356 11.3535L2.35356 10.3535ZM3.85358 11.8536C4.04884 11.6583 4.04885 11.3417 3.85359 11.1465C3.65833 10.9512 3.34175 10.9512 3.14648 11.1465L1.14645 13.1464C0.95119 13.3417 0.951187 13.6583 1.14645 13.8535C1.34171 14.0488 1.65829 14.0488 1.85355 13.8536L3.85358 11.8536ZM5.35356 13.3535C5.54882 13.1583 5.54882 12.8417 5.35356 12.6464C5.1583 12.4512 4.84171 12.4512 4.64645 12.6464L3.64645 13.6464C3.45119 13.8417 3.45119 14.1583 3.64645 14.3535C3.84171 14.5488 4.1583 14.5488 4.35356 14.3535L5.35356 13.3535ZM9.49997 6.74881C10.1897 6.74881 10.7488 6.1897 10.7488 5.5C10.7488 4.8103 10.1897 4.25118 9.49997 4.25118C8.81026 4.25118 8.25115 4.8103 8.25115 5.5C8.25115 6.1897 8.81026 6.74881 9.49997 6.74881Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/rotate_counter_clockwise_icon.rs b/packages/icons/dioxus/src/rotate_counter_clockwise_icon.rs new file mode 100644 index 00000000..ce976aa3 --- /dev/null +++ b/packages/icons/dioxus/src/rotate_counter_clockwise_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct RotateCounterClockwiseIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn RotateCounterClockwiseIcon(props: RotateCounterClockwiseIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.59664 2.93628C7.76085 3.06401 8.00012 2.94698 8.00012 2.73895V1.99998C9.98143 2 11.1848 2.3637 11.9105 3.08945C12.6363 3.81522 13 5.0186 13 6.99998C13 7.27613 13.2239 7.49998 13.5 7.49998C13.7761 7.49998 14 7.27613 14 6.99998C14 4.9438 13.6325 3.39719 12.6176 2.38234C11.6028 1.36752 10.0562 0.999999 8.00012 0.999984V0.261266C8.00012 0.0532293 7.76085 -0.0637944 7.59664 0.063928L6.00384 1.30277C5.87516 1.40286 5.87516 1.59735 6.00384 1.69744L7.59664 2.93628ZM9.5 5H2.5C2.22386 5 2 5.22386 2 5.5V12.5C2 12.7761 2.22386 13 2.5 13H9.5C9.77614 13 10 12.7761 10 12.5V5.5C10 5.22386 9.77614 5 9.5 5ZM2.5 4C1.67157 4 1 4.67157 1 5.5V12.5C1 13.3284 1.67157 14 2.5 14H9.5C10.3284 14 11 13.3284 11 12.5V5.5C11 4.67157 10.3284 4 9.5 4H2.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/row_spacing_icon.rs b/packages/icons/dioxus/src/row_spacing_icon.rs new file mode 100644 index 00000000..4ea6e12e --- /dev/null +++ b/packages/icons/dioxus/src/row_spacing_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct RowSpacingIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn RowSpacingIcon(props: RowSpacingIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.81832 0.68179C7.64258 0.506054 7.35766 0.506054 7.18192 0.68179L5.18192 2.68179C5.00619 2.85753 5.00619 3.14245 5.18192 3.31819C5.35766 3.49392 5.64258 3.49392 5.81832 3.31819L7.05012 2.08638L7.05012 5.50023C7.05012 5.74876 7.25159 5.95023 7.50012 5.95023C7.74865 5.95023 7.95012 5.74876 7.95012 5.50023L7.95012 2.08638L9.18192 3.31819C9.35766 3.49392 9.64258 3.49392 9.81832 3.31819C9.99406 3.14245 9.99406 2.85753 9.81832 2.68179L7.81832 0.68179ZM7.95012 12.9136V9.50023C7.95012 9.2517 7.74865 9.05023 7.50012 9.05023C7.25159 9.05023 7.05012 9.2517 7.05012 9.50023V12.9136L5.81832 11.6818C5.64258 11.5061 5.35766 11.5061 5.18192 11.6818C5.00619 11.8575 5.00619 12.1424 5.18192 12.3182L7.18192 14.3182C7.26632 14.4026 7.38077 14.45 7.50012 14.45C7.61947 14.45 7.73393 14.4026 7.81832 14.3182L9.81832 12.3182C9.99406 12.1424 9.99406 11.8575 9.81832 11.6818C9.64258 11.5061 9.35766 11.5061 9.18192 11.6818L7.95012 12.9136ZM1.49994 7.00017C1.2238 7.00017 0.999939 7.22403 0.999939 7.50017C0.999939 7.77631 1.2238 8.00017 1.49994 8.00017L13.4999 8.00017C13.7761 8.00017 13.9999 7.77631 13.9999 7.50017C13.9999 7.22403 13.7761 7.00017 13.4999 7.00017L1.49994 7.00017Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/rows_icon.rs b/packages/icons/dioxus/src/rows_icon.rs new file mode 100644 index 00000000..27c24ab9 --- /dev/null +++ b/packages/icons/dioxus/src/rows_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct RowsIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn RowsIcon(props: RowsIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14 12.85L1 12.85L1 14.15L14 14.15L14 12.85ZM14 8.85002L1 8.85002L1 10.15L14 10.15L14 8.85002ZM1 4.85003L14 4.85003L14 6.15003L1 6.15002L1 4.85003ZM14 0.850025L1 0.850025L1 2.15002L14 2.15002L14 0.850025Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/ruler_horizontal_icon.rs b/packages/icons/dioxus/src/ruler_horizontal_icon.rs new file mode 100644 index 00000000..e24b93b3 --- /dev/null +++ b/packages/icons/dioxus/src/ruler_horizontal_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct RulerHorizontalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn RulerHorizontalIcon(props: RulerHorizontalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.5 4C0.223858 4 0 4.22386 0 4.5V10.5C0 10.7761 0.223858 11 0.5 11H14.5C14.7761 11 15 10.7761 15 10.5V4.5C15 4.22386 14.7761 4 14.5 4H0.5ZM1 10V5H2.075V7.5C2.075 7.73472 2.26528 7.925 2.5 7.925C2.73472 7.925 2.925 7.73472 2.925 7.5V5H4.075V6.5C4.075 6.73472 4.26528 6.925 4.5 6.925C4.73472 6.925 4.925 6.73472 4.925 6.5V5H6.075V6.5C6.075 6.73472 6.26528 6.925 6.5 6.925C6.73472 6.925 6.925 6.73472 6.925 6.5V5H8.075V7.5C8.075 7.73472 8.26528 7.925 8.5 7.925C8.73472 7.925 8.925 7.73472 8.925 7.5V5H10.075V6.5C10.075 6.73472 10.2653 6.925 10.5 6.925C10.7347 6.925 10.925 6.73472 10.925 6.5V5H12.075V6.5C12.075 6.73472 12.2653 6.925 12.5 6.925C12.7347 6.925 12.925 6.73472 12.925 6.5V5H14V10H1Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/ruler_square_icon.rs b/packages/icons/dioxus/src/ruler_square_icon.rs new file mode 100644 index 00000000..447b85ae --- /dev/null +++ b/packages/icons/dioxus/src/ruler_square_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct RulerSquareIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn RulerSquareIcon(props: RulerSquareIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.5 0C0.223858 0 0 0.223858 0 0.5V14.5C0 14.7761 0.223858 15 0.5 15H4.5C4.77614 15 5 14.7761 5 14.5V5H14.5C14.7761 5 15 4.77614 15 4.5V0.5C15 0.223858 14.7761 0 14.5 0H0.5ZM1 4.07505L1 1H4.07502C4.07502 1 4.07502 1 4.07502 1L4.07505 4.07507L1 4.07505ZM0.999997 4.92505L1 14H4V12.925H2.75002C2.5153 12.925 2.32502 12.7348 2.32502 12.5C2.32502 12.2653 2.5153 12.075 2.75002 12.075H4V10.925H2.25002C2.0153 10.925 1.82502 10.7347 1.82502 10.5C1.82502 10.2653 2.0153 10.075 2.25002 10.075H4V8.92504L2.75002 8.92502C2.5153 8.92502 2.32502 8.73474 2.32502 8.50002C2.32503 8.26529 2.51531 8.07502 2.75003 8.07502L4 8.07504V6.92502L2.74999 6.925C2.51527 6.925 2.325 6.73472 2.325 6.5C2.325 6.26528 2.51529 6.075 2.75001 6.075L4 6.07502V4.92507L0.999997 4.92505ZM4.92505 4H6.075V2.75006C6.075 2.51534 6.26528 2.32506 6.5 2.32506C6.73472 2.32506 6.925 2.51534 6.925 2.75006V4H8.07502V2.75005C8.07502 2.51533 8.2653 2.32505 8.50002 2.32505C8.73474 2.32505 8.92502 2.51533 8.92502 2.75005V4H10.0751V2.25005C10.0751 2.01533 10.2653 1.82505 10.5001 1.82505C10.7348 1.82505 10.9251 2.01533 10.9251 2.25005V4H12.0751V2.75005C12.0751 2.51533 12.2654 2.32505 12.5001 2.32505C12.7348 2.32505 12.9251 2.51533 12.9251 2.75005V4H14V1H4.92502L4.92505 4Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/scissors_icon.rs b/packages/icons/dioxus/src/scissors_icon.rs new file mode 100644 index 00000000..14f7339c --- /dev/null +++ b/packages/icons/dioxus/src/scissors_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ScissorsIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ScissorsIcon(props: ScissorsIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.949988 4.48455C0.949988 5.34059 1.64395 6.03455 2.49999 6.03455C3.35603 6.03455 4.04999 5.34059 4.04999 4.48455C4.04999 3.6285 3.35603 2.93455 2.49999 2.93455C1.64395 2.93455 0.949988 3.6285 0.949988 4.48455ZM2.49999 6.93455C1.14689 6.93455 0.0499878 5.83764 0.0499878 4.48455C0.0499878 3.13145 1.14689 2.03455 2.49999 2.03455C3.85309 2.03455 4.94999 3.13145 4.94999 4.48455C4.94999 4.80813 4.88726 5.11707 4.77329 5.39985L5.73655 6.04413C5.72943 6.06656 5.72269 6.08914 5.71635 6.11188L5.56288 6.66186L5.21005 6.89773L4.21554 6.23366C3.77357 6.6672 3.168 6.93455 2.49999 6.93455ZM0.949991 10.5C0.949991 9.64394 1.64395 8.94998 2.49999 8.94998C3.35603 8.94998 4.04999 9.64394 4.04999 10.5C4.04999 11.356 3.35603 12.05 2.49999 12.05C1.64395 12.05 0.949991 11.356 0.949991 10.5ZM2.49999 8.04998C1.14689 8.04998 0.0499908 9.14688 0.0499908 10.5C0.0499908 11.8531 1.14689 12.95 2.49999 12.95C3.85309 12.95 4.94999 11.8531 4.94999 10.5C4.94999 10.1803 4.88877 9.87497 4.77743 9.595L15 2.75737L14.0486 2.85737C12.7077 2.9983 11.4091 3.40895 10.231 4.06461L7.15646 5.77564C6.92307 5.90553 6.75134 6.12339 6.67955 6.38066L6.42653 7.28737L4.22437 8.75957C3.78166 8.32091 3.17246 8.04998 2.49999 8.04998ZM7.14435 9.2149L7.15646 9.22176L10.231 10.9328C11.4091 11.5884 12.7077 11.9991 14.0486 12.14L15 12.24L8.81072 8.1003L7.14435 9.2149Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/section_icon.rs b/packages/icons/dioxus/src/section_icon.rs new file mode 100644 index 00000000..b80aa724 --- /dev/null +++ b/packages/icons/dioxus/src/section_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SectionIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SectionIcon(props: SectionIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 1.5C2 1.77614 1.77614 2 1.5 2C1.22386 2 1 1.77614 1 1.5C1 1.22386 1.22386 1 1.5 1C1.77614 1 2 1.22386 2 1.5ZM2 5L2 10H13V5H2ZM2 4C1.44772 4 1 4.44772 1 5V10C1 10.5523 1.44772 11 2 11H13C13.5523 11 14 10.5523 14 10V5C14 4.44772 13.5523 4 13 4H2ZM1.5 14C1.77614 14 2 13.7761 2 13.5C2 13.2239 1.77614 13 1.5 13C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14ZM4 1.5C4 1.77614 3.77614 2 3.5 2C3.22386 2 3 1.77614 3 1.5C3 1.22386 3.22386 1 3.5 1C3.77614 1 4 1.22386 4 1.5ZM3.5 14C3.77614 14 4 13.7761 4 13.5C4 13.2239 3.77614 13 3.5 13C3.22386 13 3 13.2239 3 13.5C3 13.7761 3.22386 14 3.5 14ZM6 1.5C6 1.77614 5.77614 2 5.5 2C5.22386 2 5 1.77614 5 1.5C5 1.22386 5.22386 1 5.5 1C5.77614 1 6 1.22386 6 1.5ZM5.5 14C5.77614 14 6 13.7761 6 13.5C6 13.2239 5.77614 13 5.5 13C5.22386 13 5 13.2239 5 13.5C5 13.7761 5.22386 14 5.5 14ZM8 1.5C8 1.77614 7.77614 2 7.5 2C7.22386 2 7 1.77614 7 1.5C7 1.22386 7.22386 1 7.5 1C7.77614 1 8 1.22386 8 1.5ZM7.5 14C7.77614 14 8 13.7761 8 13.5C8 13.2239 7.77614 13 7.5 13C7.22386 13 7 13.2239 7 13.5C7 13.7761 7.22386 14 7.5 14ZM10 1.5C10 1.77614 9.77614 2 9.5 2C9.22386 2 9 1.77614 9 1.5C9 1.22386 9.22386 1 9.5 1C9.77614 1 10 1.22386 10 1.5ZM9.5 14C9.77614 14 10 13.7761 10 13.5C10 13.2239 9.77614 13 9.5 13C9.22386 13 9 13.2239 9 13.5C9 13.7761 9.22386 14 9.5 14ZM12 1.5C12 1.77614 11.7761 2 11.5 2C11.2239 2 11 1.77614 11 1.5C11 1.22386 11.2239 1 11.5 1C11.7761 1 12 1.22386 12 1.5ZM11.5 14C11.7761 14 12 13.7761 12 13.5C12 13.2239 11.7761 13 11.5 13C11.2239 13 11 13.2239 11 13.5C11 13.7761 11.2239 14 11.5 14ZM14 1.5C14 1.77614 13.7761 2 13.5 2C13.2239 2 13 1.77614 13 1.5C13 1.22386 13.2239 1 13.5 1C13.7761 1 14 1.22386 14 1.5ZM13.5 14C13.7761 14 14 13.7761 14 13.5C14 13.2239 13.7761 13 13.5 13C13.2239 13 13 13.2239 13 13.5C13 13.7761 13.2239 14 13.5 14Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/sewing_pin_filled_icon.rs b/packages/icons/dioxus/src/sewing_pin_filled_icon.rs new file mode 100644 index 00000000..a7bda522 --- /dev/null +++ b/packages/icons/dioxus/src/sewing_pin_filled_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SewingPinFilledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SewingPinFilledIcon(props: SewingPinFilledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10 3.5C10 4.70948 9.14112 5.71836 8 5.94999V13.5C8 13.7761 7.77614 14 7.5 14C7.22386 14 7 13.7761 7 13.5V5.94999C5.85888 5.71836 5 4.70948 5 3.5C5 2.11929 6.11929 1 7.5 1C8.88071 1 10 2.11929 10 3.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/sewing_pin_icon.rs b/packages/icons/dioxus/src/sewing_pin_icon.rs new file mode 100644 index 00000000..400b393e --- /dev/null +++ b/packages/icons/dioxus/src/sewing_pin_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SewingPinIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SewingPinIcon(props: SewingPinIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6 3.5C6 2.67157 6.67157 2 7.5 2C8.32843 2 9 2.67157 9 3.5C9 4.32843 8.32843 5 7.5 5C6.67157 5 6 4.32843 6 3.5ZM8 5.94999C9.14112 5.71836 10 4.70948 10 3.5C10 2.11929 8.88071 1 7.5 1C6.11929 1 5 2.11929 5 3.5C5 4.70948 5.85888 5.71836 7 5.94999V13.5C7 13.7761 7.22386 14 7.5 14C7.77614 14 8 13.7761 8 13.5V5.94999Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/shadow_icon.rs b/packages/icons/dioxus/src/shadow_icon.rs new file mode 100644 index 00000000..f4fcfb0b --- /dev/null +++ b/packages/icons/dioxus/src/shadow_icon.rs @@ -0,0 +1,100 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ShadowIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ShadowIcon(props: ShadowIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "opacity": ".05", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.78296 13.376C8.73904 9.95284 8.73904 5.04719 6.78296 1.62405L7.21708 1.37598C9.261 4.95283 9.261 10.0472 7.21708 13.624L6.78296 13.376Z", + "fill": "{props.color}", + } + path { + "opacity": ".1", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.28204 13.4775C9.23929 9.99523 9.23929 5.00475 7.28204 1.52248L7.71791 1.2775C9.76067 4.9119 9.76067 10.0881 7.71791 13.7225L7.28204 13.4775Z", + "fill": "{props.color}", + } + path { + "opacity": ".15", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.82098 13.5064C9.72502 9.99523 9.72636 5.01411 7.82492 1.50084L8.26465 1.26285C10.2465 4.92466 10.2451 10.085 8.26052 13.7448L7.82098 13.5064Z", + "fill": "{props.color}", + } + path { + "opacity": ".2", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.41284 13.429C10.1952 9.92842 10.1957 5.07537 8.41435 1.57402L8.85999 1.34729C10.7139 4.99113 10.7133 10.0128 8.85841 13.6559L8.41284 13.429Z", + "fill": "{props.color}", + } + path { + "opacity": ".25", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.02441 13.2956C10.6567 9.8379 10.6586 5.17715 9.03005 1.71656L9.48245 1.50366C11.1745 5.09919 11.1726 9.91629 9.47657 13.5091L9.02441 13.2956Z", + "fill": "{props.color}", + } + path { + "opacity": ".3", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.66809 13.0655C11.1097 9.69572 11.1107 5.3121 9.67088 1.94095L10.1307 1.74457C11.6241 5.24121 11.6231 9.76683 10.1278 13.2622L9.66809 13.0655Z", + "fill": "{props.color}", + } + path { + "opacity": ".35", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10.331 12.7456C11.5551 9.52073 11.5564 5.49103 10.3347 2.26444L10.8024 2.0874C12.0672 5.42815 12.0659 9.58394 10.7985 12.9231L10.331 12.7456Z", + "fill": "{props.color}", + } + path { + "opacity": ".4", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.0155 12.2986C11.9938 9.29744 11.9948 5.71296 11.0184 2.71067L11.4939 2.55603C12.503 5.6589 12.502 9.35178 11.4909 12.4535L11.0155 12.2986Z", + "fill": "{props.color}", + } + path { + "opacity": ".45", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.7214 11.668C12.4254 9.01303 12.4262 5.99691 11.7237 3.34116L12.2071 3.21329C12.9318 5.95292 12.931 9.05728 12.2047 11.7961L11.7214 11.668Z", + "fill": "{props.color}", + } + path { + "opacity": ".5", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.4432 10.752C12.8524 8.63762 12.8523 6.36089 12.4429 4.2466L12.9338 4.15155C13.3553 6.32861 13.3554 8.66985 12.9341 10.847L12.4432 10.752Z", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/shadow_inner_icon.rs b/packages/icons/dioxus/src/shadow_inner_icon.rs new file mode 100644 index 00000000..ceeafb8a --- /dev/null +++ b/packages/icons/dioxus/src/shadow_inner_icon.rs @@ -0,0 +1,100 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ShadowInnerIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ShadowInnerIcon(props: ShadowInnerIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "opacity": ".05", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.1619 3.85182C8.35817 4.88918 4.88936 8.358 3.85199 12.1617L3.3696 12.0301C4.45356 8.05564 8.05581 4.45339 12.0303 3.36943L12.1619 3.85182Z", + "fill": "{props.color}", + } + path { + "opacity": ".1", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.8807 3.42707C8.03441 4.50542 4.50561 8.03422 3.42726 11.8805L2.94582 11.7456C4.07129 7.73121 7.7314 4.0711 11.7458 2.94563L11.8807 3.42707Z", + "fill": "{props.color}", + } + path { + "opacity": ".15", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.5201 3.02556C7.69092 4.16199 4.16779 7.68323 3.02805 11.512L2.54883 11.3694C3.73676 7.37869 7.38659 3.73076 11.3778 2.54623L11.5201 3.02556Z", + "fill": "{props.color}", + } + path { + "opacity": ".2", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.0468 2.66169C7.31117 3.87664 3.87918 7.3079 2.66298 11.0434L2.18754 10.8886C3.45324 7.00109 7.00445 3.45062 10.8921 2.18621L11.0468 2.66169Z", + "fill": "{props.color}", + } + path { + "opacity": ".25", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10.5201 2.32365C6.92091 3.61447 3.62391 6.90876 2.32845 10.5073L1.858 10.338C3.20398 6.59909 6.61155 3.19424 10.3513 1.85301L10.5201 2.32365Z", + "fill": "{props.color}", + } + path { + "opacity": ".3", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.90222 2.03122C6.50003 3.39465 3.39968 6.49367 2.03399 9.89551L1.56998 9.70924C2.98651 6.18076 6.18728 2.98133 9.71622 1.5671L9.90222 2.03122Z", + "fill": "{props.color}", + } + path { + "opacity": ".35", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.20727 1.78873C6.06136 3.20349 3.21103 6.05203 1.79331 9.19738L1.33747 8.99192C2.80536 5.73528 5.74485 2.7976 9.0022 1.33272L9.20727 1.78873Z", + "fill": "{props.color}", + } + path { + "opacity": ".4", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.40713 1.62085C5.59323 3.05117 3.05794 5.58509 1.62544 8.39847L1.17987 8.1716C2.66036 5.26397 5.27232 2.6534 8.18057 1.17513L8.40713 1.62085Z", + "fill": "{props.color}", + } + path { + "opacity": ".45", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.46207 1.56747C5.08689 2.94695 2.95362 5.07912 1.57249 7.45379L1.14028 7.20241C2.56503 4.75273 4.7607 2.55818 7.21096 1.1351L7.46207 1.56747Z", + "fill": "{props.color}", + } + path { + "opacity": ".5", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.30407 1.70487C4.51964 2.91063 2.90983 4.52061 1.7043 6.30513L1.28998 6.02524C2.5313 4.18773 4.18673 2.53214 6.02413 1.29059L6.30407 1.70487Z", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/shadow_none_icon.rs b/packages/icons/dioxus/src/shadow_none_icon.rs new file mode 100644 index 00000000..b8118995 --- /dev/null +++ b/packages/icons/dioxus/src/shadow_none_icon.rs @@ -0,0 +1,100 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ShadowNoneIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ShadowNoneIcon(props: ShadowNoneIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "opacity": ".05", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.78296 13.376C8.73904 9.95284 8.73904 5.04719 6.78296 1.62405L7.21708 1.37598C9.261 4.95283 9.261 10.0472 7.21708 13.624L6.78296 13.376Z", + "fill": "{props.color}", + } + path { + "opacity": ".1", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.28204 13.4775C9.23929 9.99523 9.23929 5.00475 7.28204 1.52248L7.71791 1.2775C9.76067 4.9119 9.76067 10.0881 7.71791 13.7225L7.28204 13.4775Z", + "fill": "{props.color}", + } + path { + "opacity": ".15", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.82098 13.5064C9.72502 9.99523 9.72636 5.01411 7.82492 1.50084L8.26465 1.26285C10.2465 4.92466 10.2451 10.085 8.26052 13.7448L7.82098 13.5064Z", + "fill": "{props.color}", + } + path { + "opacity": ".2", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8.41284 13.429C10.1952 9.92842 10.1957 5.07537 8.41435 1.57402L8.85999 1.34729C10.7139 4.99113 10.7133 10.0128 8.85841 13.6559L8.41284 13.429Z", + "fill": "{props.color}", + } + path { + "opacity": ".25", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.02441 13.2956C10.6567 9.8379 10.6586 5.17715 9.03005 1.71656L9.48245 1.50366C11.1745 5.09919 11.1726 9.91629 9.47657 13.5091L9.02441 13.2956Z", + "fill": "{props.color}", + } + path { + "opacity": ".3", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M9.66809 13.0655C11.1097 9.69572 11.1107 5.3121 9.67088 1.94095L10.1307 1.74457C11.6241 5.24121 11.6231 9.76683 10.1278 13.2622L9.66809 13.0655Z", + "fill": "{props.color}", + } + path { + "opacity": ".35", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10.331 12.7456C11.5551 9.52073 11.5564 5.49103 10.3347 2.26444L10.8024 2.0874C12.0672 5.42815 12.0659 9.58394 10.7985 12.9231L10.331 12.7456Z", + "fill": "{props.color}", + } + path { + "opacity": ".4", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.0155 12.2986C11.9938 9.29744 11.9948 5.71296 11.0184 2.71067L11.4939 2.55603C12.503 5.6589 12.502 9.35178 11.4909 12.4535L11.0155 12.2986Z", + "fill": "{props.color}", + } + path { + "opacity": ".45", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.7214 11.668C12.4254 9.01303 12.4262 5.99691 11.7237 3.34116L12.2071 3.21329C12.9318 5.95292 12.931 9.05728 12.2047 11.7961L11.7214 11.668Z", + "fill": "{props.color}", + } + path { + "opacity": ".5", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.4432 10.752C12.8524 8.63762 12.8523 6.36089 12.4429 4.2466L12.9338 4.15155C13.3553 6.32861 13.3554 8.66985 12.9341 10.847L12.4432 10.752Z", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 9.1488 1.47969 10.657 2.4767 11.8162L1.64647 12.6464C1.45121 12.8417 1.45121 13.1583 1.64647 13.3535C1.84173 13.5488 2.15832 13.5488 2.35358 13.3535L3.18383 12.5233C4.34302 13.5202 5.8511 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 5.85107 13.5202 4.34298 12.5233 3.1838L13.3536 2.35355C13.5488 2.15829 13.5488 1.8417 13.3536 1.64644C13.1583 1.45118 12.8417 1.45118 12.6465 1.64644L11.8162 2.47667C10.657 1.47966 9.14883 0.877045 7.49991 0.877045ZM11.1423 3.15065C10.1568 2.32449 8.88644 1.82704 7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 8.88641 2.32452 10.1568 3.15069 11.1422L11.1423 3.15065ZM3.85781 11.8493C4.84322 12.6753 6.11348 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 6.11345 12.6754 4.84319 11.8493 3.85778L3.85781 11.8493Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/shadow_outer_icon.rs b/packages/icons/dioxus/src/shadow_outer_icon.rs new file mode 100644 index 00000000..d9d3142c --- /dev/null +++ b/packages/icons/dioxus/src/shadow_outer_icon.rs @@ -0,0 +1,65 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ShadowOuterIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ShadowOuterIcon(props: ShadowOuterIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "opacity": ".05", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.1398 3.88617C13.8553 4.94159 15 6.83701 15 9.00001C15 12.3137 12.3137 15 9.00002 15C6.84351 15 4.95296 13.8621 3.89569 12.1552L4.32076 11.8919C5.29069 13.4578 7.02376 14.5 9.00002 14.5C12.0376 14.5 14.5 12.0375 14.5 9.00001C14.5 7.01781 13.4516 5.28027 11.8778 4.31203L12.1398 3.88617Z", + "fill": "{props.color}", + } + path { + "opacity": ".2", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.851 5.07321C13.8684 6.07106 14.5 7.46199 14.5 9C14.5 12.0375 12.0376 14.5 9.00004 14.5C7.46215 14.5 6.07132 13.8685 5.07349 12.8513L5.43043 12.5011C6.3381 13.4264 7.60186 14 9.00004 14C11.7614 14 14 11.7614 14 9C14 7.60171 13.4264 6.33786 12.5009 5.43017L12.851 5.07321Z", + "fill": "{props.color}", + } + path { + "opacity": ".35", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.3022 6.45071C13.7455 7.19737 14 8.06935 14 9.00001C14 11.7614 11.7614 14 9.00002 14C8.04868 14 7.15868 13.7341 6.40118 13.2724L6.66142 12.8454C7.34275 13.2607 8.14306 13.5 9.00002 13.5C11.4853 13.5 13.5 11.4853 13.5 9.00001C13.5 8.16165 13.271 7.37754 12.8722 6.70599L13.3022 6.45071Z", + "fill": "{props.color}", + } + path { + "opacity": ".5", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.3745 7.94022C13.4566 8.28031 13.5 8.63525 13.5 9.00001C13.5 11.4853 11.4853 13.5 9.00003 13.5C8.61104 13.5 8.23323 13.4506 7.87268 13.3576L7.99759 12.8734C8.31768 12.956 8.65353 13 9.00003 13C11.2091 13 13 11.2091 13 9.00001C13 8.67509 12.9613 8.35953 12.8884 8.05757L13.3745 7.94022Z", + "fill": "{props.color}", + } + path { + "opacity": ".65", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.9155 9.82133C12.5898 11.3813 11.3562 12.6072 9.79205 12.9215L9.69354 12.4313C11.0613 12.1565 12.1413 11.0834 12.4261 9.71915L12.9155 9.82133Z", + "fill": "{props.color}", + } + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.2771 7.50253C1.2771 4.06456 4.06413 1.27753 7.5021 1.27753C10.94 1.27753 13.7271 4.06456 13.7271 7.50253C13.7271 10.9405 10.94 13.7275 7.5021 13.7275C4.06413 13.7275 1.2771 10.9405 1.2771 7.50253ZM7.5021 2.22753C4.5888 2.22753 2.2271 4.58923 2.2271 7.50253C2.2271 10.4158 4.5888 12.7775 7.5021 12.7775C10.4154 12.7775 12.7771 10.4158 12.7771 7.50253C12.7771 4.58923 10.4154 2.22753 7.5021 2.22753Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/share_1_icon.rs b/packages/icons/dioxus/src/share_1_icon.rs new file mode 100644 index 00000000..6f78f518 --- /dev/null +++ b/packages/icons/dioxus/src/share_1_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Share1IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Share1Icon(props: Share1IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5 7.50003C5 8.32845 4.32843 9.00003 3.5 9.00003C2.67157 9.00003 2 8.32845 2 7.50003C2 6.6716 2.67157 6.00003 3.5 6.00003C4.32843 6.00003 5 6.6716 5 7.50003ZM5.71313 8.66388C5.29445 9.45838 4.46048 10 3.5 10C2.11929 10 1 8.88074 1 7.50003C1 6.11931 2.11929 5.00003 3.5 5.00003C4.46048 5.00003 5.29445 5.54167 5.71313 6.33616L9.10424 4.21671C9.03643 3.98968 9 3.74911 9 3.50003C9 2.11932 10.1193 1.00003 11.5 1.00003C12.8807 1.00003 14 2.11932 14 3.50003C14 4.88074 12.8807 6.00003 11.5 6.00003C10.6915 6.00003 9.97264 5.61624 9.51566 5.0209L5.9853 7.22738C5.99502 7.31692 6 7.40789 6 7.50003C6 7.59216 5.99502 7.68312 5.9853 7.77267L9.51567 9.97915C9.97265 9.38382 10.6915 9.00003 11.5 9.00003C12.8807 9.00003 14 10.1193 14 11.5C14 12.8807 12.8807 14 11.5 14C10.1193 14 9 12.8807 9 11.5C9 11.2509 9.03643 11.0104 9.10425 10.7833L5.71313 8.66388ZM11.5 5.00003C12.3284 5.00003 13 4.32846 13 3.50003C13 2.6716 12.3284 2.00003 11.5 2.00003C10.6716 2.00003 10 2.6716 10 3.50003C10 4.32846 10.6716 5.00003 11.5 5.00003ZM13 11.5C13 12.3285 12.3284 13 11.5 13C10.6716 13 10 12.3285 10 11.5C10 10.6716 10.6716 10 11.5 10C12.3284 10 13 10.6716 13 11.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/share_2_icon.rs b/packages/icons/dioxus/src/share_2_icon.rs new file mode 100644 index 00000000..39abd866 --- /dev/null +++ b/packages/icons/dioxus/src/share_2_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct Share2IconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn Share2Icon(props: Share2IconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/shuffle_icon.rs b/packages/icons/dioxus/src/shuffle_icon.rs new file mode 100644 index 00000000..336365f4 --- /dev/null +++ b/packages/icons/dioxus/src/shuffle_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ShuffleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ShuffleIcon(props: ShuffleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M12.3536 1.14645C12.1583 0.951184 11.8417 0.951184 11.6464 1.14645C11.4512 1.34171 11.4512 1.65829 11.6464 1.85355L12.7929 3H12C10.7037 3 9.71111 3.58423 8.87248 4.38931C8.20065 5.03427 7.59349 5.85684 6.99461 6.6682C6.86287 6.84668 6.73154 7.02462 6.6 7.2C5.10874 9.18835 3.49037 11 0.5 11C0.223858 11 0 11.2239 0 11.5C0 11.7761 0.223858 12 0.5 12C4.00963 12 5.89126 9.81165 7.4 7.8C7.54367 7.60845 7.6832 7.41962 7.81996 7.23454L7.82005 7.23443L7.82006 7.23441C8.41674 6.42695 8.96069 5.69085 9.56502 5.11069C10.2889 4.41577 11.0463 4 12 4H12.7929L11.6464 5.14645C11.4512 5.34171 11.4512 5.65829 11.6464 5.85355C11.8417 6.04882 12.1583 6.04882 12.3536 5.85355L14.3536 3.85355C14.5488 3.65829 14.5488 3.34171 14.3536 3.14645L12.3536 1.14645ZM0.5 3C3.35278 3 5.12992 4.44588 6.50548 6.06746L6.3762 6.24266C6.2483 6.4161 6.12293 6.58609 6 6.75C5.96397 6.79804 5.92798 6.84581 5.892 6.89331C4.57348 5.29306 3.02637 4 0.5 4C0.223858 4 0 3.77614 0 3.5C0 3.22386 0.223858 3 0.5 3ZM8.87248 10.6107C8.37284 10.131 7.90897 9.55314 7.45767 8.95468C7.64688 8.71693 7.82704 8.48061 8 8.25L8.08987 8.12987C8.58412 8.79402 9.05288 9.39766 9.56502 9.88931C10.2889 10.5842 11.0463 11 12 11H12.7929L11.6464 9.85355C11.4512 9.65829 11.4512 9.34171 11.6464 9.14645C11.8417 8.95118 12.1583 8.95118 12.3536 9.14645L14.3536 11.1464C14.5488 11.3417 14.5488 11.6583 14.3536 11.8536L12.3536 13.8536C12.1583 14.0488 11.8417 14.0488 11.6464 13.8536C11.4512 13.6583 11.4512 13.3417 11.6464 13.1464L12.7929 12H12C10.7037 12 9.71111 11.4158 8.87248 10.6107Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/size_icon.rs b/packages/icons/dioxus/src/size_icon.rs new file mode 100644 index 00000000..f93deeed --- /dev/null +++ b/packages/icons/dioxus/src/size_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SizeIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SizeIcon(props: SizeIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M11.5 3.04999C11.7485 3.04999 11.95 3.25146 11.95 3.49999V7.49999C11.95 7.74852 11.7485 7.94999 11.5 7.94999C11.2515 7.94999 11.05 7.74852 11.05 7.49999V4.58639L4.58638 11.05H7.49999C7.74852 11.05 7.94999 11.2515 7.94999 11.5C7.94999 11.7485 7.74852 11.95 7.49999 11.95L3.49999 11.95C3.38064 11.95 3.26618 11.9026 3.18179 11.8182C3.0974 11.7338 3.04999 11.6193 3.04999 11.5L3.04999 7.49999C3.04999 7.25146 3.25146 7.04999 3.49999 7.04999C3.74852 7.04999 3.94999 7.25146 3.94999 7.49999L3.94999 10.4136L10.4136 3.94999L7.49999 3.94999C7.25146 3.94999 7.04999 3.74852 7.04999 3.49999C7.04999 3.25146 7.25146 3.04999 7.49999 3.04999L11.5 3.04999Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/sketch_logo_icon.rs b/packages/icons/dioxus/src/sketch_logo_icon.rs new file mode 100644 index 00000000..00079c19 --- /dev/null +++ b/packages/icons/dioxus/src/sketch_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SketchLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SketchLogoIcon(props: SketchLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.53731 0.826873C7.5125 0.824392 7.4875 0.824392 7.46269 0.826873L3.96269 1.17687C3.85672 1.18747 3.76025 1.24262 3.69736 1.32857L0.699771 5.42528C0.654046 5.48627 0.62647 5.56165 0.625057 5.6434C0.625019 5.6456 0.625 5.64781 0.625 5.65001C0.625 5.65052 0.625001 5.65103 0.625003 5.65153C0.625363 5.74237 0.658021 5.82559 0.712087 5.8903L7.21042 13.7883C7.28165 13.8749 7.38789 13.925 7.5 13.925C7.61211 13.925 7.71835 13.8749 7.78958 13.7883L14.2879 5.89031C14.342 5.8256 14.3746 5.74237 14.375 5.65153C14.375 5.65103 14.375 5.65052 14.375 5.65001C14.375 5.64849 14.375 5.64697 14.375 5.64545C14.3749 5.63963 14.3747 5.63382 14.3744 5.62801C14.37 5.55219 14.3431 5.48242 14.3002 5.42527L11.3026 1.32857C11.2397 1.24262 11.1433 1.18747 11.0373 1.17687L7.53731 0.826873ZM10.925 5.27501V5.25236L10.9223 5.27501H10.925ZM10.9342 5.17498H13.1877L11.2495 2.5261L10.9342 5.17498ZM10.5707 1.88395L8.04432 1.63131L10.1747 5.21034L10.5707 1.88395ZM6.95568 1.63131L4.42931 1.88395L4.82531 5.21034L6.95568 1.63131ZM3.75046 2.5261L1.81226 5.17498H4.0658L3.75046 2.5261ZM1.79416 6.02501L6.75861 12.0587L4.22371 6.0669C4.21787 6.0531 4.21314 6.0391 4.20949 6.02501H1.79416ZM5.15055 6.02501L7.49999 12.1085L9.84943 6.02501H9.78681H5.21319H5.15055ZM10.7905 6.02501C10.7869 6.0391 10.7821 6.0531 10.7763 6.0669L8.24139 12.0587L13.2058 6.02501H10.7905ZM7.5 2.18317L9.34038 5.27501H5.65962L7.5 2.18317Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/slash_icon.rs b/packages/icons/dioxus/src/slash_icon.rs new file mode 100644 index 00000000..6ed97fa8 --- /dev/null +++ b/packages/icons/dioxus/src/slash_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SlashIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SlashIcon(props: SlashIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.10876 14L9.46582 1H10.8178L5.46074 14H4.10876Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/slider_icon.rs b/packages/icons/dioxus/src/slider_icon.rs new file mode 100644 index 00000000..86a50727 --- /dev/null +++ b/packages/icons/dioxus/src/slider_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SliderIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SliderIcon(props: SliderIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10.3004 7.49991C10.3004 8.4943 9.49426 9.30041 8.49988 9.30041C7.50549 9.30041 6.69938 8.4943 6.69938 7.49991C6.69938 6.50553 7.50549 5.69942 8.49988 5.69942C9.49426 5.69942 10.3004 6.50553 10.3004 7.49991ZM11.205 8C10.9699 9.28029 9.84816 10.2504 8.49988 10.2504C7.1516 10.2504 6.0299 9.28029 5.79473 8H0.5C0.223858 8 0 7.77614 0 7.5C0 7.22386 0.223858 7 0.5 7H5.7947C6.0298 5.71962 7.15154 4.74942 8.49988 4.74942C9.84822 4.74942 10.97 5.71962 11.2051 7H14.5C14.7761 7 15 7.22386 15 7.5C15 7.77614 14.7761 8 14.5 8H11.205Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/space_between_horizontally_icon.rs b/packages/icons/dioxus/src/space_between_horizontally_icon.rs new file mode 100644 index 00000000..8183cf40 --- /dev/null +++ b/packages/icons/dioxus/src/space_between_horizontally_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SpaceBetweenHorizontallyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SpaceBetweenHorizontallyIcon(props: SpaceBetweenHorizontallyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14.4999 0.999994C14.2237 0.999994 13.9999 1.22385 13.9999 1.49999L13.9999 5.99995L9.99992 5.99995C9.44764 5.99995 8.99993 6.44766 8.99993 6.99994L8.99993 7.99994C8.99993 8.55222 9.44764 8.99993 9.99992 8.99993L13.9999 8.99993L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999994 14.4999 0.999994ZM4.99996 5.99995L0.999992 5.99995L0.999992 1.49999C0.999992 1.22385 0.776136 0.999994 0.499996 0.999994C0.223856 0.999994 -9.7852e-09 1.22385 -2.18557e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 8.99993L4.99996 8.99993C5.55224 8.99993 5.99995 8.55222 5.99995 7.99993L5.99995 6.99994C5.99995 6.44766 5.55224 5.99995 4.99996 5.99995Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/space_between_vertically_icon.rs b/packages/icons/dioxus/src/space_between_vertically_icon.rs new file mode 100644 index 00000000..0c2814e8 --- /dev/null +++ b/packages/icons/dioxus/src/space_between_vertically_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SpaceBetweenVerticallyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SpaceBetweenVerticallyIcon(props: SpaceBetweenVerticallyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1L9 1V5C9 5.55228 8.55228 6 8 6H7C6.44772 6 6 5.55228 6 5V1H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM7 9C6.44772 9 6 9.44771 6 10V14H1.49988C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H9V10C9 9.44772 8.55228 9 8 9H7Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/space_evenly_horizontally_icon.rs b/packages/icons/dioxus/src/space_evenly_horizontally_icon.rs new file mode 100644 index 00000000..e3656732 --- /dev/null +++ b/packages/icons/dioxus/src/space_evenly_horizontally_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SpaceEvenlyHorizontallyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SpaceEvenlyHorizontallyIcon(props: SpaceEvenlyHorizontallyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992ZM0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992ZM1.99998 6.99994C1.99998 6.44766 2.44769 5.99995 2.99998 5.99995L5.99995 5.99995C6.55223 5.99995 6.99994 6.44766 6.99994 6.99994L6.99994 7.99993C6.99994 8.55221 6.55223 8.99992 5.99995 8.99992L2.99998 8.99992C2.4477 8.99992 1.99998 8.55221 1.99998 7.99993L1.99998 6.99994ZM8.99993 5.99995C8.44765 5.99995 7.99993 6.44766 7.99993 6.99994L7.99993 7.99993C7.99993 8.55221 8.44765 8.99992 8.99993 8.99992L11.9999 8.99992C12.5522 8.99992 12.9999 8.55221 12.9999 7.99993L12.9999 6.99994C12.9999 6.44766 12.5522 5.99995 11.9999 5.99995L8.99993 5.99995Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/space_evenly_vertically_icon.rs b/packages/icons/dioxus/src/space_evenly_vertically_icon.rs new file mode 100644 index 00000000..bf1a59e1 --- /dev/null +++ b/packages/icons/dioxus/src/space_evenly_vertically_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SpaceEvenlyVerticallyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SpaceEvenlyVerticallyIcon(props: SpaceEvenlyVerticallyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM7 2C6.44772 2 6 2.44772 6 3V6C6 6.55228 6.44772 7 7 7H8C8.55228 7 9 6.55228 9 6V3C9 2.44772 8.55228 2 8 2H7ZM7 8C6.44772 8 6 8.44771 6 9V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V9C9 8.44772 8.55228 8 8 8H7ZM1.49988 14C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H1.49988Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/speaker_loud_icon.rs b/packages/icons/dioxus/src/speaker_loud_icon.rs new file mode 100644 index 00000000..c5c15182 --- /dev/null +++ b/packages/icons/dioxus/src/speaker_loud_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SpeakerLoudIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SpeakerLoudIcon(props: SpeakerLoudIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.46968 1.05085C7.64122 1.13475 7.75 1.30904 7.75 1.5V13.5C7.75 13.691 7.64122 13.8653 7.46968 13.9492C7.29813 14.0331 7.09377 14.0119 6.94303 13.8947L3.2213 11H1.5C0.671571 11 0 10.3284 0 9.5V5.5C0 4.67158 0.671573 4 1.5 4H3.2213L6.94303 1.10533C7.09377 0.988085 7.29813 0.966945 7.46968 1.05085ZM6.75 2.52232L3.69983 4.89468C3.61206 4.96294 3.50405 5 3.39286 5H1.5C1.22386 5 1 5.22386 1 5.5V9.5C1 9.77615 1.22386 10 1.5 10H3.39286C3.50405 10 3.61206 10.0371 3.69983 10.1053L6.75 12.4777V2.52232ZM10.2784 3.84804C10.4623 3.72567 10.7106 3.77557 10.833 3.95949C12.2558 6.09798 12.2558 8.90199 10.833 11.0405C10.7106 11.2244 10.4623 11.2743 10.2784 11.1519C10.0944 11.0296 10.0445 10.7813 10.1669 10.5973C11.4111 8.72728 11.4111 6.27269 10.1669 4.40264C10.0445 4.21871 10.0944 3.97041 10.2784 3.84804ZM12.6785 1.43044C12.5356 1.2619 12.2832 1.24104 12.1147 1.38386C11.9462 1.52667 11.9253 1.77908 12.0681 1.94762C14.7773 5.14488 14.7773 9.85513 12.0681 13.0524C11.9253 13.2209 11.9462 13.4733 12.1147 13.6161C12.2832 13.759 12.5356 13.7381 12.6785 13.5696C15.6406 10.0739 15.6406 4.92612 12.6785 1.43044Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/speaker_moderate_icon.rs b/packages/icons/dioxus/src/speaker_moderate_icon.rs new file mode 100644 index 00000000..ff28f514 --- /dev/null +++ b/packages/icons/dioxus/src/speaker_moderate_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SpeakerModerateIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SpeakerModerateIcon(props: SpeakerModerateIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8 1.5C8 1.31062 7.893 1.13749 7.72361 1.05279C7.55421 0.968093 7.35151 0.986371 7.2 1.1L3.33333 4H1.5C0.671573 4 0 4.67158 0 5.5V9.5C0 10.3284 0.671573 11 1.5 11H3.33333L7.2 13.9C7.35151 14.0136 7.55421 14.0319 7.72361 13.9472C7.893 13.8625 8 13.6894 8 13.5V1.5ZM3.8 4.9L7 2.5V12.5L3.8 10.1C3.71345 10.0351 3.60819 10 3.5 10H1.5C1.22386 10 1 9.77614 1 9.5V5.5C1 5.22386 1.22386 5 1.5 5H3.5C3.60819 5 3.71345 4.96491 3.8 4.9ZM10.833 3.95949C10.7106 3.77557 10.4623 3.72567 10.2784 3.84804C10.0944 3.97041 10.0445 4.21871 10.1669 4.40264C11.4111 6.27268 11.4111 8.72728 10.1669 10.5973C10.0445 10.7813 10.0944 11.0296 10.2784 11.1519C10.4623 11.2743 10.7106 11.2244 10.833 11.0405C12.2558 8.90199 12.2558 6.09798 10.833 3.95949Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/speaker_off_icon.rs b/packages/icons/dioxus/src/speaker_off_icon.rs new file mode 100644 index 00000000..3102275b --- /dev/null +++ b/packages/icons/dioxus/src/speaker_off_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SpeakerOffIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SpeakerOffIcon(props: SpeakerOffIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.72361 1.05279C7.893 1.13749 8 1.31062 8 1.5V13.5C8 13.6894 7.893 13.8625 7.72361 13.9472C7.55421 14.0319 7.35151 14.0136 7.2 13.9L3.33333 11H1.5C0.671573 11 0 10.3284 0 9.5V5.5C0 4.67158 0.671573 4 1.5 4H3.33333L7.2 1.1C7.35151 0.986371 7.55421 0.968093 7.72361 1.05279ZM7 2.5L3.8 4.9C3.71345 4.96491 3.60819 5 3.5 5H1.5C1.22386 5 1 5.22386 1 5.5V9.5C1 9.77614 1.22386 10 1.5 10H3.5C3.60819 10 3.71345 10.0351 3.8 10.1L7 12.5V2.5ZM14.8536 5.14645C15.0488 5.34171 15.0488 5.65829 14.8536 5.85355L13.2071 7.5L14.8536 9.14645C15.0488 9.34171 15.0488 9.65829 14.8536 9.85355C14.6583 10.0488 14.3417 10.0488 14.1464 9.85355L12.5 8.20711L10.8536 9.85355C10.6583 10.0488 10.3417 10.0488 10.1464 9.85355C9.95118 9.65829 9.95118 9.34171 10.1464 9.14645L11.7929 7.5L10.1464 5.85355C9.95118 5.65829 9.95118 5.34171 10.1464 5.14645C10.3417 4.95118 10.6583 4.95118 10.8536 5.14645L12.5 6.79289L14.1464 5.14645C14.3417 4.95118 14.6583 4.95118 14.8536 5.14645Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/speaker_quiet_icon.rs b/packages/icons/dioxus/src/speaker_quiet_icon.rs new file mode 100644 index 00000000..f3a69499 --- /dev/null +++ b/packages/icons/dioxus/src/speaker_quiet_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SpeakerQuietIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SpeakerQuietIcon(props: SpeakerQuietIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8 1.5C8 1.31062 7.893 1.13749 7.72361 1.05279C7.55421 0.968093 7.35151 0.986371 7.2 1.1L3.33333 4H1.5C0.671573 4 0 4.67158 0 5.5V9.5C0 10.3284 0.671573 11 1.5 11H3.33333L7.2 13.9C7.35151 14.0136 7.55421 14.0319 7.72361 13.9472C7.893 13.8625 8 13.6894 8 13.5V1.5ZM3.8 4.9L7 2.5V12.5L3.8 10.1C3.71345 10.0351 3.60819 10 3.5 10H1.5C1.22386 10 1 9.77614 1 9.5V5.5C1 5.22386 1.22386 5 1.5 5H3.5C3.60819 5 3.71345 4.96491 3.8 4.9ZM10.083 5.05577C9.96066 4.87185 9.71235 4.82195 9.52843 4.94432C9.3445 5.06669 9.2946 5.31499 9.41697 5.49892C10.2207 6.70693 10.2207 8.29303 9.41697 9.50104C9.2946 9.68496 9.3445 9.93326 9.52843 10.0556C9.71235 10.178 9.96066 10.1281 10.083 9.94418C11.0653 8.46773 11.0653 6.53222 10.083 5.05577Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/square_icon.rs b/packages/icons/dioxus/src/square_icon.rs new file mode 100644 index 00000000..6f8b5d7e --- /dev/null +++ b/packages/icons/dioxus/src/square_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SquareIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SquareIcon(props: SquareIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 1H1.5H13.5H14V1.5V13.5V14H13.5H1.5H1V13.5V1.5V1ZM2 2V13H13V2H2Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/stack_icon.rs b/packages/icons/dioxus/src/stack_icon.rs new file mode 100644 index 00000000..3295bc51 --- /dev/null +++ b/packages/icons/dioxus/src/stack_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StackIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StackIcon(props: StackIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.75432 1.81954C7.59742 1.72682 7.4025 1.72682 7.24559 1.81954L1.74559 5.06954C1.59336 5.15949 1.49996 5.32317 1.49996 5.5C1.49996 5.67683 1.59336 5.84051 1.74559 5.93046L7.24559 9.18046C7.4025 9.27318 7.59742 9.27318 7.75432 9.18046L13.2543 5.93046C13.4066 5.84051 13.5 5.67683 13.5 5.5C13.5 5.32317 13.4066 5.15949 13.2543 5.06954L7.75432 1.81954ZM7.49996 8.16923L2.9828 5.5L7.49996 2.83077L12.0171 5.5L7.49996 8.16923ZM2.25432 8.31954C2.01658 8.17906 1.70998 8.2579 1.56949 8.49564C1.42901 8.73337 1.50785 9.03998 1.74559 9.18046L7.24559 12.4305C7.4025 12.5232 7.59742 12.5232 7.75432 12.4305L13.2543 9.18046C13.4921 9.03998 13.5709 8.73337 13.4304 8.49564C13.2899 8.2579 12.9833 8.17906 12.7456 8.31954L7.49996 11.4192L2.25432 8.31954Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/star_filled_icon.rs b/packages/icons/dioxus/src/star_filled_icon.rs new file mode 100644 index 00000000..ecf0ddad --- /dev/null +++ b/packages/icons/dioxus/src/star_filled_icon.rs @@ -0,0 +1,28 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StarFilledIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StarFilledIcon(props: StarFilledIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "d": "M7.22303 0.665992C7.32551 0.419604 7.67454 0.419604 7.77702 0.665992L9.41343 4.60039C9.45663 4.70426 9.55432 4.77523 9.66645 4.78422L13.914 5.12475C14.18 5.14607 14.2878 5.47802 14.0852 5.65162L10.849 8.42374C10.7636 8.49692 10.7263 8.61176 10.7524 8.72118L11.7411 12.866C11.803 13.1256 11.5206 13.3308 11.2929 13.1917L7.6564 10.9705C7.5604 10.9119 7.43965 10.9119 7.34365 10.9705L3.70718 13.1917C3.47945 13.3308 3.19708 13.1256 3.25899 12.866L4.24769 8.72118C4.2738 8.61176 4.23648 8.49692 4.15105 8.42374L0.914889 5.65162C0.712228 5.47802 0.820086 5.14607 1.08608 5.12475L5.3336 4.78422C5.44573 4.77523 5.54342 4.70426 5.58662 4.60039L7.22303 0.665992Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/star_icon.rs b/packages/icons/dioxus/src/star_icon.rs new file mode 100644 index 00000000..93df6839 --- /dev/null +++ b/packages/icons/dioxus/src/star_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StarIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StarIcon(props: StarIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.97942 1.25171L6.9585 1.30199L5.58662 4.60039C5.54342 4.70426 5.44573 4.77523 5.3336 4.78422L1.7727 5.0697L1.71841 5.07405L1.38687 5.10063L1.08608 5.12475C0.820085 5.14607 0.712228 5.47802 0.914889 5.65162L1.14406 5.84793L1.39666 6.06431L1.43802 6.09974L4.15105 8.42374C4.23648 8.49692 4.2738 8.61176 4.24769 8.72118L3.41882 12.196L3.40618 12.249L3.32901 12.5725L3.25899 12.866C3.19708 13.1256 3.47945 13.3308 3.70718 13.1917L3.9647 13.0344L4.24854 12.861L4.29502 12.8326L7.34365 10.9705C7.43965 10.9119 7.5604 10.9119 7.6564 10.9705L10.705 12.8326L10.7515 12.861L11.0354 13.0344L11.2929 13.1917C11.5206 13.3308 11.803 13.1256 11.7411 12.866L11.671 12.5725L11.5939 12.249L11.5812 12.196L10.7524 8.72118C10.7263 8.61176 10.7636 8.49692 10.849 8.42374L13.562 6.09974L13.6034 6.06431L13.856 5.84793L14.0852 5.65162C14.2878 5.47802 14.18 5.14607 13.914 5.12475L13.6132 5.10063L13.2816 5.07405L13.2274 5.0697L9.66645 4.78422C9.55432 4.77523 9.45663 4.70426 9.41343 4.60039L8.04155 1.30199L8.02064 1.25171L7.89291 0.944609L7.77702 0.665992C7.67454 0.419604 7.32551 0.419604 7.22303 0.665992L7.10715 0.944609L6.97942 1.25171ZM7.50003 2.60397L6.50994 4.98442C6.32273 5.43453 5.89944 5.74207 5.41351 5.78103L2.84361 5.98705L4.8016 7.66428C5.17183 7.98142 5.33351 8.47903 5.2204 8.95321L4.62221 11.461L6.8224 10.1171C7.23842 9.86302 7.76164 9.86302 8.17766 10.1171L10.3778 11.461L9.77965 8.95321C9.66654 8.47903 9.82822 7.98142 10.1984 7.66428L12.1564 5.98705L9.58654 5.78103C9.10061 5.74207 8.67732 5.43453 8.49011 4.98442L7.50003 2.60397Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/stitches_logo_icon.rs b/packages/icons/dioxus/src/stitches_logo_icon.rs new file mode 100644 index 00000000..e8d5e5f0 --- /dev/null +++ b/packages/icons/dioxus/src/stitches_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StitchesLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StitchesLogoIcon(props: StitchesLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.84998 7.49998C1.84998 7.21321 1.87134 6.93143 1.91256 6.65615L9.56374 2.23875C9.86311 2.35627 10.15 2.49861 10.4219 2.66322L3.77065 6.50332C3.73669 6.52183 3.70482 6.5449 3.67602 6.57238C3.5911 6.65308 3.54245 6.76286 3.53682 6.87658C3.53359 6.9418 3.54451 7.00831 3.57086 7.07137C3.58927 7.1157 3.6149 7.15742 3.64744 7.19458C3.67306 7.22396 3.702 7.24941 3.73337 7.27069L7.32533 9.83813L3.87232 11.8317C2.63604 10.7953 1.84998 9.23944 1.84998 7.49998ZM8.36843 10.2751C8.37682 10.2706 8.38509 10.2659 8.39322 10.2608L9.84091 9.42499C9.84706 9.42163 9.85314 9.41812 9.85915 9.41446L11.3101 8.57677C11.3655 8.54649 11.4154 8.504 11.4554 8.44995C11.6034 8.25031 11.5616 7.96848 11.362 7.82046L7.82779 5.20017L11.2161 3.24393C12.4013 4.27963 13.15 5.80237 13.15 7.49998C13.15 7.83546 13.1207 8.16411 13.0647 8.48353L5.56875 12.8113C5.26138 12.6995 4.96646 12.5618 4.68662 12.4008L8.36843 10.2751ZM8.18149 9.34383L4.81659 6.93868L5.50918 6.53881L8.80604 8.98324L8.18149 9.34383ZM6.35875 6.04832L6.97822 5.69067L10.2751 8.13506L9.6556 8.49275L6.35875 6.04832ZM8.3318 1.91078L2.24263 5.42636C3.06941 3.33188 5.11164 1.84998 7.49998 1.84998C7.78258 1.84998 8.06033 1.87072 8.3318 1.91078ZM6.84684 13.1126C7.06114 13.1373 7.27908 13.15 7.49998 13.15C9.8246 13.15 11.8213 11.7461 12.6886 9.7399L6.84684 13.1126ZM7.49998 0.849976C3.82728 0.849976 0.849976 3.82728 0.849976 7.49998C0.849976 11.1727 3.82728 14.15 7.49998 14.15C11.1727 14.15 14.15 11.1727 14.15 7.49998C14.15 3.82728 11.1727 0.849976 7.49998 0.849976Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/stop_icon.rs b/packages/icons/dioxus/src/stop_icon.rs new file mode 100644 index 00000000..aaa8b98f --- /dev/null +++ b/packages/icons/dioxus/src/stop_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StopIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StopIcon(props: StopIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 3C2 2.44772 2.44772 2 3 2H12C12.5523 2 13 2.44772 13 3V12C13 12.5523 12.5523 13 12 13H3C2.44772 13 2 12.5523 2 12V3ZM12 3H3V12H12V3Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/stopwatch_icon.rs b/packages/icons/dioxus/src/stopwatch_icon.rs new file mode 100644 index 00000000..0263ef8b --- /dev/null +++ b/packages/icons/dioxus/src/stopwatch_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StopwatchIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StopwatchIcon(props: StopwatchIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.49998 0.5C5.49998 0.223858 5.72383 0 5.99998 0H7.49998H8.99998C9.27612 0 9.49998 0.223858 9.49998 0.5C9.49998 0.776142 9.27612 1 8.99998 1H7.99998V2.11922C9.09832 2.20409 10.119 2.56622 10.992 3.13572C11.0116 3.10851 11.0336 3.08252 11.058 3.05806L11.858 2.25806C12.1021 2.01398 12.4978 2.01398 12.7419 2.25806C12.986 2.50214 12.986 2.89786 12.7419 3.14194L11.967 3.91682C13.1595 5.07925 13.9 6.70314 13.9 8.49998C13.9 12.0346 11.0346 14.9 7.49998 14.9C3.96535 14.9 1.09998 12.0346 1.09998 8.49998C1.09998 5.13362 3.69904 2.3743 6.99998 2.11922V1H5.99998C5.72383 1 5.49998 0.776142 5.49998 0.5ZM2.09998 8.49998C2.09998 5.51764 4.51764 3.09998 7.49998 3.09998C10.4823 3.09998 12.9 5.51764 12.9 8.49998C12.9 11.4823 10.4823 13.9 7.49998 13.9C4.51764 13.9 2.09998 11.4823 2.09998 8.49998ZM7.99998 4.5C7.99998 4.22386 7.77612 4 7.49998 4C7.22383 4 6.99998 4.22386 6.99998 4.5V9.5C6.99998 9.77614 7.22383 10 7.49998 10C7.77612 10 7.99998 9.77614 7.99998 9.5V4.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/stretch_horizontally_icon.rs b/packages/icons/dioxus/src/stretch_horizontally_icon.rs new file mode 100644 index 00000000..1dc1c139 --- /dev/null +++ b/packages/icons/dioxus/src/stretch_horizontally_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StretchHorizontallyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StretchHorizontallyIcon(props: StretchHorizontallyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 5.99995L0.999992 5.99995L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 8.99992L13.9999 8.99992L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/stretch_vertically_icon.rs b/packages/icons/dioxus/src/stretch_vertically_icon.rs new file mode 100644 index 00000000..8ebb4fea --- /dev/null +++ b/packages/icons/dioxus/src/stretch_vertically_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StretchVerticallyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StretchVerticallyIcon(props: StretchVerticallyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1H6H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM9 14V1L6 1V14H1.49988C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H9Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/strikethrough_icon.rs b/packages/icons/dioxus/src/strikethrough_icon.rs new file mode 100644 index 00000000..6927370a --- /dev/null +++ b/packages/icons/dioxus/src/strikethrough_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct StrikethroughIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn StrikethroughIcon(props: StrikethroughIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.00003 3.25C5.00003 2.97386 4.77617 2.75 4.50003 2.75C4.22389 2.75 4.00003 2.97386 4.00003 3.25V7.10003H2.49998C2.27906 7.10003 2.09998 7.27912 2.09998 7.50003C2.09998 7.72094 2.27906 7.90003 2.49998 7.90003H4.00003V8.55C4.00003 10.483 5.56703 12.05 7.50003 12.05C9.43303 12.05 11 10.483 11 8.55V7.90003H12.5C12.7209 7.90003 12.9 7.72094 12.9 7.50003C12.9 7.27912 12.7209 7.10003 12.5 7.10003H11V3.25C11 2.97386 10.7762 2.75 10.5 2.75C10.2239 2.75 10 2.97386 10 3.25V7.10003H5.00003V3.25ZM5.00003 7.90003V8.55C5.00003 9.93071 6.11932 11.05 7.50003 11.05C8.88074 11.05 10 9.93071 10 8.55V7.90003H5.00003Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/sun_icon.rs b/packages/icons/dioxus/src/sun_icon.rs new file mode 100644 index 00000000..062e691b --- /dev/null +++ b/packages/icons/dioxus/src/sun_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SunIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SunIcon(props: SunIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/switch_icon.rs b/packages/icons/dioxus/src/switch_icon.rs new file mode 100644 index 00000000..3fff9bb4 --- /dev/null +++ b/packages/icons/dioxus/src/switch_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SwitchIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SwitchIcon(props: SwitchIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10.5 4C8.567 4 7 5.567 7 7.5C7 9.433 8.567 11 10.5 11C12.433 11 14 9.433 14 7.5C14 5.567 12.433 4 10.5 4ZM7.67133 11C6.65183 10.175 6 8.91363 6 7.5C6 6.08637 6.65183 4.82498 7.67133 4H4.5C2.567 4 1 5.567 1 7.5C1 9.433 2.567 11 4.5 11H7.67133ZM0 7.5C0 5.01472 2.01472 3 4.5 3H10.5C12.9853 3 15 5.01472 15 7.5C15 9.98528 12.9853 12 10.5 12H4.5C2.01472 12 0 9.98528 0 7.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/symbol_icon.rs b/packages/icons/dioxus/src/symbol_icon.rs new file mode 100644 index 00000000..67570571 --- /dev/null +++ b/packages/icons/dioxus/src/symbol_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct SymbolIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn SymbolIcon(props: SymbolIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.90321 7.29677C1.90321 10.341 4.11041 12.4147 6.58893 12.8439C6.87255 12.893 7.06266 13.1627 7.01355 13.4464C6.96444 13.73 6.69471 13.9201 6.41109 13.871C3.49942 13.3668 0.86084 10.9127 0.86084 7.29677C0.860839 5.76009 1.55996 4.55245 2.37639 3.63377C2.96124 2.97568 3.63034 2.44135 4.16846 2.03202L2.53205 2.03202C2.25591 2.03202 2.03205 1.80816 2.03205 1.53202C2.03205 1.25588 2.25591 1.03202 2.53205 1.03202L5.53205 1.03202C5.80819 1.03202 6.03205 1.25588 6.03205 1.53202L6.03205 4.53202C6.03205 4.80816 5.80819 5.03202 5.53205 5.03202C5.25591 5.03202 5.03205 4.80816 5.03205 4.53202L5.03205 2.68645L5.03054 2.68759L5.03045 2.68766L5.03044 2.68767L5.03043 2.68767C4.45896 3.11868 3.76059 3.64538 3.15554 4.3262C2.44102 5.13021 1.90321 6.10154 1.90321 7.29677ZM13.0109 7.70321C13.0109 4.69115 10.8505 2.6296 8.40384 2.17029C8.12093 2.11718 7.93465 1.84479 7.98776 1.56188C8.04087 1.27898 8.31326 1.0927 8.59616 1.14581C11.4704 1.68541 14.0532 4.12605 14.0532 7.70321C14.0532 9.23988 13.3541 10.4475 12.5377 11.3662C11.9528 12.0243 11.2837 12.5586 10.7456 12.968L12.3821 12.968C12.6582 12.968 12.8821 13.1918 12.8821 13.468C12.8821 13.7441 12.6582 13.968 12.3821 13.968L9.38205 13.968C9.10591 13.968 8.88205 13.7441 8.88205 13.468L8.88205 10.468C8.88205 10.1918 9.10591 9.96796 9.38205 9.96796C9.65819 9.96796 9.88205 10.1918 9.88205 10.468L9.88205 12.3135L9.88362 12.3123C10.4551 11.8813 11.1535 11.3546 11.7585 10.6738C12.4731 9.86976 13.0109 8.89844 13.0109 7.70321Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/table_icon.rs b/packages/icons/dioxus/src/table_icon.rs new file mode 100644 index 00000000..df0dd78c --- /dev/null +++ b/packages/icons/dioxus/src/table_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TableIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TableIcon(props: TableIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8 2H12.5C12.7761 2 13 2.22386 13 2.5V5H8V2ZM7 5V2H2.5C2.22386 2 2 2.22386 2 2.5V5H7ZM2 6V9H7V6H2ZM8 6H13V9H8V6ZM8 10H13V12.5C13 12.7761 12.7761 13 12.5 13H8V10ZM2 12.5V10H7V13H2.5C2.22386 13 2 12.7761 2 12.5ZM1 2.5C1 1.67157 1.67157 1 2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/target_icon.rs b/packages/icons/dioxus/src/target_icon.rs new file mode 100644 index 00000000..81d533b1 --- /dev/null +++ b/packages/icons/dioxus/src/target_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TargetIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TargetIcon(props: TargetIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.900024 7.50002C0.900024 3.85495 3.85495 0.900024 7.50002 0.900024C11.1451 0.900024 14.1 3.85495 14.1 7.50002C14.1 11.1451 11.1451 14.1 7.50002 14.1C3.85495 14.1 0.900024 11.1451 0.900024 7.50002ZM7.50002 1.80002C4.35201 1.80002 1.80002 4.35201 1.80002 7.50002C1.80002 10.648 4.35201 13.2 7.50002 13.2C10.648 13.2 13.2 10.648 13.2 7.50002C13.2 4.35201 10.648 1.80002 7.50002 1.80002ZM3.07504 7.50002C3.07504 5.05617 5.05618 3.07502 7.50004 3.07502C9.94388 3.07502 11.925 5.05617 11.925 7.50002C11.925 9.94386 9.94388 11.925 7.50004 11.925C5.05618 11.925 3.07504 9.94386 3.07504 7.50002ZM7.50004 3.92502C5.52562 3.92502 3.92504 5.52561 3.92504 7.50002C3.92504 9.47442 5.52563 11.075 7.50004 11.075C9.47444 11.075 11.075 9.47442 11.075 7.50002C11.075 5.52561 9.47444 3.92502 7.50004 3.92502ZM7.50004 5.25002C6.2574 5.25002 5.25004 6.25739 5.25004 7.50002C5.25004 8.74266 6.2574 9.75002 7.50004 9.75002C8.74267 9.75002 9.75004 8.74266 9.75004 7.50002C9.75004 6.25738 8.74267 5.25002 7.50004 5.25002ZM6.05004 7.50002C6.05004 6.69921 6.69923 6.05002 7.50004 6.05002C8.30084 6.05002 8.95004 6.69921 8.95004 7.50002C8.95004 8.30083 8.30084 8.95002 7.50004 8.95002C6.69923 8.95002 6.05004 8.30083 6.05004 7.50002Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_align_bottom_icon.rs b/packages/icons/dioxus/src/text_align_bottom_icon.rs new file mode 100644 index 00000000..608a067e --- /dev/null +++ b/packages/icons/dioxus/src/text_align_bottom_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextAlignBottomIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextAlignBottomIcon(props: TextAlignBottomIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.89949 5.50002C3.89949 5.27911 3.7204 5.10003 3.49949 5.10003C3.27857 5.10003 3.09949 5.27911 3.09949 5.50002L3.09949 12.5343L1.78233 11.2172C1.62612 11.061 1.37285 11.061 1.21664 11.2172C1.06043 11.3734 1.06043 11.6267 1.21664 11.7829L3.21664 13.7829C3.29166 13.8579 3.3934 13.9 3.49949 13.9C3.60557 13.9 3.70732 13.8579 3.78233 13.7829L5.78233 11.7829C5.93854 11.6267 5.93854 11.3734 5.78233 11.2172C5.62612 11.061 5.37285 11.061 5.21664 11.2172L3.89949 12.5343L3.89949 5.50002ZM8.49998 13C8.22383 13 7.99998 12.7762 7.99998 12.5C7.99998 12.2239 8.22383 12 8.49998 12H14.5C14.7761 12 15 12.2239 15 12.5C15 12.7762 14.7761 13 14.5 13H8.49998ZM8.49998 10C8.22383 10 7.99998 9.77617 7.99998 9.50002C7.99998 9.22388 8.22383 9.00002 8.49998 9.00002H14.5C14.7761 9.00002 15 9.22388 15 9.50002C15 9.77617 14.7761 10 14.5 10H8.49998ZM7.99998 6.50002C7.99998 6.77617 8.22383 7.00002 8.49998 7.00002H14.5C14.7761 7.00002 15 6.77617 15 6.50002C15 6.22388 14.7761 6.00002 14.5 6.00002H8.49998C8.22383 6.00002 7.99998 6.22388 7.99998 6.50002Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_align_center_icon.rs b/packages/icons/dioxus/src/text_align_center_icon.rs new file mode 100644 index 00000000..ffcd4fe3 --- /dev/null +++ b/packages/icons/dioxus/src/text_align_center_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextAlignCenterIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextAlignCenterIcon(props: TextAlignCenterIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM4 7.5C4 7.22386 4.22386 7 4.5 7H10.5C10.7761 7 11 7.22386 11 7.5C11 7.77614 10.7761 8 10.5 8H4.5C4.22386 8 4 7.77614 4 7.5ZM3 10.5C3 10.2239 3.22386 10 3.5 10H11.5C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H3.5C3.22386 11 3 10.7761 3 10.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_align_justify_icon.rs b/packages/icons/dioxus/src/text_align_justify_icon.rs new file mode 100644 index 00000000..ae01f898 --- /dev/null +++ b/packages/icons/dioxus/src/text_align_justify_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextAlignJustifyIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextAlignJustifyIcon(props: TextAlignJustifyIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2.5 4C2.22386 4 2 4.22386 2 4.5C2 4.77614 2.22386 5 2.5 5H12.5C12.7761 5 13 4.77614 13 4.5C13 4.22386 12.7761 4 12.5 4H2.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_align_left_icon.rs b/packages/icons/dioxus/src/text_align_left_icon.rs new file mode 100644 index 00000000..a9621960 --- /dev/null +++ b/packages/icons/dioxus/src/text_align_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextAlignLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextAlignLeftIcon(props: TextAlignLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H7.5C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H10.5C10.7761 10 11 10.2239 11 10.5C11 10.7761 10.7761 11 10.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_align_middle_icon.rs b/packages/icons/dioxus/src/text_align_middle_icon.rs new file mode 100644 index 00000000..0fb11de3 --- /dev/null +++ b/packages/icons/dioxus/src/text_align_middle_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextAlignMiddleIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextAlignMiddleIcon(props: TextAlignMiddleIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.49949 14.9C3.7204 14.9 3.89949 14.7209 3.89949 14.5L3.89949 10.4657L5.21664 11.7829C5.37285 11.9391 5.62612 11.9391 5.78233 11.7829C5.93854 11.6267 5.93854 11.3734 5.78233 11.2172L3.78233 9.21718C3.70732 9.14217 3.60557 9.10002 3.49949 9.10002C3.3934 9.10002 3.29166 9.14217 3.21664 9.21718L1.21664 11.2172C1.06043 11.3734 1.06043 11.6267 1.21664 11.7829C1.37285 11.9391 1.62612 11.9391 1.78233 11.7829L3.09949 10.4657L3.09949 14.5C3.09949 14.7209 3.27857 14.9 3.49949 14.9ZM7.99998 10.5C7.99998 10.7762 8.22383 11 8.49998 11H14.5C14.7761 11 15 10.7762 15 10.5C15 10.2239 14.7761 10 14.5 10H8.49998C8.22383 10 7.99998 10.2239 7.99998 10.5ZM7.99998 7.50002C7.99998 7.77617 8.22383 8.00002 8.49998 8.00002H14.5C14.7761 8.00002 15 7.77617 15 7.50002C15 7.22388 14.7761 7.00002 14.5 7.00002H8.49998C8.22383 7.00002 7.99998 7.22388 7.99998 7.50002ZM8.49998 5.00002C8.22383 5.00002 7.99998 4.77617 7.99998 4.50002C7.99998 4.22388 8.22383 4.00002 8.49998 4.00002H14.5C14.7761 4.00002 15 4.22388 15 4.50002C15 4.77617 14.7761 5.00002 14.5 5.00002H8.49998ZM3.89949 0.500025C3.89949 0.279111 3.7204 0.100025 3.49949 0.100025C3.27857 0.100025 3.09949 0.279111 3.09949 0.500025L3.09949 4.53434L1.78233 3.21718C1.62612 3.06097 1.37285 3.06097 1.21664 3.21718C1.06043 3.37339 1.06043 3.62666 1.21664 3.78287L3.21664 5.78287C3.29166 5.85788 3.3934 5.90002 3.49949 5.90002C3.60557 5.90002 3.70732 5.85788 3.78233 5.78287L5.78233 3.78287C5.93854 3.62666 5.93854 3.37339 5.78233 3.21718C5.62612 3.06097 5.37285 3.06097 5.21664 3.21718L3.89949 4.53434L3.89949 0.500025Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_align_right_icon.rs b/packages/icons/dioxus/src/text_align_right_icon.rs new file mode 100644 index 00000000..15c1e0ec --- /dev/null +++ b/packages/icons/dioxus/src/text_align_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextAlignRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextAlignRightIcon(props: TextAlignRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM7 7.5C7 7.22386 7.22386 7 7.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H7.5C7.22386 8 7 7.77614 7 7.5ZM4 10.5C4 10.2239 4.22386 10 4.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H4.5C4.22386 11 4 10.7761 4 10.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_align_top_icon.rs b/packages/icons/dioxus/src/text_align_top_icon.rs new file mode 100644 index 00000000..3a5ab093 --- /dev/null +++ b/packages/icons/dioxus/src/text_align_top_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextAlignTopIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextAlignTopIcon(props: TextAlignTopIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.89949 9.49998C3.89949 9.72089 3.7204 9.89997 3.49949 9.89997C3.27857 9.89997 3.09949 9.72089 3.09949 9.49998L3.09949 2.46566L1.78233 3.78282C1.62612 3.93903 1.37285 3.93903 1.21664 3.78282C1.06043 3.62661 1.06043 3.37334 1.21664 3.21713L3.21664 1.21713C3.29166 1.14212 3.3934 1.09998 3.49949 1.09998C3.60557 1.09998 3.70732 1.14212 3.78233 1.21713L5.78233 3.21713C5.93854 3.37334 5.93854 3.62661 5.78233 3.78282C5.62612 3.93903 5.37285 3.93903 5.21664 3.78282L3.89949 2.46566L3.89949 9.49998ZM8.49998 1.99998C8.22383 1.99998 7.99998 2.22383 7.99998 2.49998C7.99998 2.77612 8.22383 2.99998 8.49998 2.99998H14.5C14.7761 2.99998 15 2.77612 15 2.49998C15 2.22383 14.7761 1.99998 14.5 1.99998H8.49998ZM8.49998 4.99998C8.22383 4.99998 7.99998 5.22383 7.99998 5.49998C7.99998 5.77612 8.22383 5.99998 8.49998 5.99998H14.5C14.7761 5.99998 15 5.77612 15 5.49998C15 5.22383 14.7761 4.99998 14.5 4.99998H8.49998ZM7.99998 8.49998C7.99998 8.22383 8.22383 7.99998 8.49998 7.99998H14.5C14.7761 7.99998 15 8.22383 15 8.49998C15 8.77612 14.7761 8.99998 14.5 8.99998H8.49998C8.22383 8.99998 7.99998 8.77612 7.99998 8.49998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_icon.rs b/packages/icons/dioxus/src/text_icon.rs new file mode 100644 index 00000000..a9d0e1cf --- /dev/null +++ b/packages/icons/dioxus/src/text_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextIcon(props: TextIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M3.94993 2.95002L3.94993 4.49998C3.94993 4.74851 3.74845 4.94998 3.49993 4.94998C3.2514 4.94998 3.04993 4.74851 3.04993 4.49998V2.50004C3.04993 2.45246 3.05731 2.40661 3.07099 2.36357C3.12878 2.18175 3.29897 2.05002 3.49993 2.05002H11.4999C11.6553 2.05002 11.7922 2.12872 11.8731 2.24842C11.9216 2.32024 11.9499 2.40682 11.9499 2.50002L11.9499 2.50004V4.49998C11.9499 4.74851 11.7485 4.94998 11.4999 4.94998C11.2514 4.94998 11.0499 4.74851 11.0499 4.49998V2.95002H8.04993V12.05H9.25428C9.50281 12.05 9.70428 12.2515 9.70428 12.5C9.70428 12.7486 9.50281 12.95 9.25428 12.95H5.75428C5.50575 12.95 5.30428 12.7486 5.30428 12.5C5.30428 12.2515 5.50575 12.05 5.75428 12.05H6.94993V2.95002H3.94993Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/text_none_icon.rs b/packages/icons/dioxus/src/text_none_icon.rs new file mode 100644 index 00000000..2c06288e --- /dev/null +++ b/packages/icons/dioxus/src/text_none_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TextNoneIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TextNoneIcon(props: TextNoneIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L11.9291 2.36383C11.9159 2.32246 11.897 2.28368 11.8732 2.24845C11.7923 2.12875 11.6554 2.05005 11.5001 2.05005H3.50005C3.29909 2.05005 3.1289 2.18178 3.07111 2.3636C3.05743 2.40665 3.05005 2.45249 3.05005 2.50007V4.50001C3.05005 4.74854 3.25152 4.95001 3.50005 4.95001C3.74858 4.95001 3.95005 4.74854 3.95005 4.50001V2.95005H6.95006V7.34284L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L6.95006 8.75705V12.0501H5.7544C5.50587 12.0501 5.3044 12.2515 5.3044 12.5001C5.3044 12.7486 5.50587 12.9501 5.7544 12.9501H9.2544C9.50293 12.9501 9.7044 12.7486 9.7044 12.5001C9.7044 12.2515 9.50293 12.0501 9.2544 12.0501H8.05006V7.65705L13.3536 2.35355ZM8.05006 6.24284L11.0501 3.24283V2.95005H8.05006V6.24284Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/thick_arrow_down_icon.rs b/packages/icons/dioxus/src/thick_arrow_down_icon.rs new file mode 100644 index 00000000..971350a3 --- /dev/null +++ b/packages/icons/dioxus/src/thick_arrow_down_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ThickArrowDownIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ThickArrowDownIcon(props: ThickArrowDownIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5 3.5C5 3.22386 5.22386 3 5.5 3H9.5C9.77614 3 10 3.22386 10 3.5V6H12.5C12.6873 6 12.8589 6.10467 12.9446 6.27121C13.0303 6.43774 13.0157 6.63821 12.9069 6.79062L7.90687 13.7906C7.81301 13.922 7.66148 14 7.5 14C7.33853 14 7.18699 13.922 7.09314 13.7906L2.09314 6.79062C1.98427 6.63821 1.96972 6.43774 2.05542 6.27121C2.14112 6.10467 2.31271 6 2.5 6H5V3.5ZM6 4V6.5C6 6.77614 5.77614 7 5.5 7H3.4716L7.5 12.6398L11.5284 7H9.5C9.22386 7 9 6.77614 9 6.5V4H6Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/thick_arrow_left_icon.rs b/packages/icons/dioxus/src/thick_arrow_left_icon.rs new file mode 100644 index 00000000..bcaf15c9 --- /dev/null +++ b/packages/icons/dioxus/src/thick_arrow_left_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ThickArrowLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ThickArrowLeftIcon(props: ThickArrowLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1 7.5C1 7.66148 1.07798 7.81301 1.20938 7.90687L8.20938 12.9069C8.36179 13.0157 8.56226 13.0303 8.72879 12.9446C8.89533 12.8589 9 12.6873 9 12.5L9 10L11.5 10C11.7761 10 12 9.77614 12 9.5L12 5.5C12 5.22386 11.7761 5 11.5 5L9 5L9 2.5C9 2.31271 8.89533 2.14112 8.72879 2.05542C8.56226 1.96972 8.36179 1.98427 8.20938 2.09313L1.20938 7.09314C1.07798 7.18699 1 7.33853 1 7.5ZM8 3.4716L8 5.5C8 5.77614 8.22386 6 8.5 6L11 6L11 9L8.5 9C8.22386 9 8 9.22386 8 9.5L8 11.5284L2.36023 7.5L8 3.4716Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/thick_arrow_right_icon.rs b/packages/icons/dioxus/src/thick_arrow_right_icon.rs new file mode 100644 index 00000000..5fdf06df --- /dev/null +++ b/packages/icons/dioxus/src/thick_arrow_right_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ThickArrowRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ThickArrowRightIcon(props: ThickArrowRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14 7.5C14 7.66148 13.922 7.81301 13.7906 7.90687L6.79062 12.9069C6.63821 13.0157 6.43774 13.0303 6.27121 12.9446C6.10467 12.8589 6 12.6873 6 12.5L6 10L3.5 10C3.22386 10 3 9.77614 3 9.5L3 5.5C3 5.22386 3.22386 5 3.5 5L6 5L6 2.5C6 2.31271 6.10467 2.14112 6.27121 2.05542C6.43774 1.96972 6.63821 1.98427 6.79062 2.09313L13.7906 7.09314C13.922 7.18699 14 7.33853 14 7.5ZM7 3.4716L7 5.5C7 5.77614 6.77614 6 6.5 6L4 6L4 9L6.5 9C6.77614 9 7 9.22386 7 9.5L7 11.5284L12.6398 7.5L7 3.4716Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/thick_arrow_up_icon.rs b/packages/icons/dioxus/src/thick_arrow_up_icon.rs new file mode 100644 index 00000000..45bee8bc --- /dev/null +++ b/packages/icons/dioxus/src/thick_arrow_up_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ThickArrowUpIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ThickArrowUpIcon(props: ThickArrowUpIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.5 1C7.66148 1 7.81301 1.07798 7.90687 1.20938L12.9069 8.20938C13.0157 8.36179 13.0303 8.56226 12.9446 8.72879C12.8589 8.89533 12.6873 9 12.5 9H10V11.5C10 11.7761 9.77614 12 9.5 12H5.5C5.22386 12 5 11.7761 5 11.5V9H2.5C2.31271 9 2.14112 8.89533 2.05542 8.72879C1.96972 8.56226 1.98427 8.36179 2.09314 8.20938L7.09314 1.20938C7.18699 1.07798 7.33853 1 7.5 1ZM3.4716 8H5.5C5.77614 8 6 8.22386 6 8.5V11H9V8.5C9 8.22386 9.22386 8 9.5 8H11.5284L7.5 2.36023L3.4716 8Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/timer_icon.rs b/packages/icons/dioxus/src/timer_icon.rs new file mode 100644 index 00000000..55a2d0c5 --- /dev/null +++ b/packages/icons/dioxus/src/timer_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TimerIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TimerIcon(props: TimerIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49998 0.849976C7.22383 0.849976 6.99998 1.07383 6.99998 1.34998V3.52234C6.99998 3.79848 7.22383 4.02234 7.49998 4.02234C7.77612 4.02234 7.99998 3.79848 7.99998 3.52234V1.8718C10.8862 2.12488 13.15 4.54806 13.15 7.49998C13.15 10.6204 10.6204 13.15 7.49998 13.15C4.37957 13.15 1.84998 10.6204 1.84998 7.49998C1.84998 6.10612 2.35407 4.83128 3.19049 3.8459C3.36919 3.63538 3.34339 3.31985 3.13286 3.14115C2.92234 2.96245 2.60681 2.98825 2.42811 3.19877C1.44405 4.35808 0.849976 5.86029 0.849976 7.49998C0.849976 11.1727 3.82728 14.15 7.49998 14.15C11.1727 14.15 14.15 11.1727 14.15 7.49998C14.15 3.82728 11.1727 0.849976 7.49998 0.849976ZM6.74049 8.08072L4.22363 4.57237C4.15231 4.47295 4.16346 4.33652 4.24998 4.25C4.33649 4.16348 4.47293 4.15233 4.57234 4.22365L8.08069 6.74051C8.56227 7.08599 8.61906 7.78091 8.19998 8.2C7.78089 8.61909 7.08597 8.56229 6.74049 8.08072Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/tokens_icon.rs b/packages/icons/dioxus/src/tokens_icon.rs new file mode 100644 index 00000000..58762e42 --- /dev/null +++ b/packages/icons/dioxus/src/tokens_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TokensIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TokensIcon(props: TokensIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.5 2C3.11929 2 2 3.11929 2 4.5C2 5.88072 3.11929 7 4.5 7C5.88072 7 7 5.88072 7 4.5C7 3.11929 5.88072 2 4.5 2ZM3 4.5C3 3.67157 3.67157 3 4.5 3C5.32843 3 6 3.67157 6 4.5C6 5.32843 5.32843 6 4.5 6C3.67157 6 3 5.32843 3 4.5ZM10.5 2C9.11929 2 8 3.11929 8 4.5C8 5.88072 9.11929 7 10.5 7C11.8807 7 13 5.88072 13 4.5C13 3.11929 11.8807 2 10.5 2ZM9 4.5C9 3.67157 9.67157 3 10.5 3C11.3284 3 12 3.67157 12 4.5C12 5.32843 11.3284 6 10.5 6C9.67157 6 9 5.32843 9 4.5ZM2 10.5C2 9.11929 3.11929 8 4.5 8C5.88072 8 7 9.11929 7 10.5C7 11.8807 5.88072 13 4.5 13C3.11929 13 2 11.8807 2 10.5ZM4.5 9C3.67157 9 3 9.67157 3 10.5C3 11.3284 3.67157 12 4.5 12C5.32843 12 6 11.3284 6 10.5C6 9.67157 5.32843 9 4.5 9ZM10.5 8C9.11929 8 8 9.11929 8 10.5C8 11.8807 9.11929 13 10.5 13C11.8807 13 13 11.8807 13 10.5C13 9.11929 11.8807 8 10.5 8ZM9 10.5C9 9.67157 9.67157 9 10.5 9C11.3284 9 12 9.67157 12 10.5C12 11.3284 11.3284 12 10.5 12C9.67157 12 9 11.3284 9 10.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/track_next_icon.rs b/packages/icons/dioxus/src/track_next_icon.rs new file mode 100644 index 00000000..0629b7ef --- /dev/null +++ b/packages/icons/dioxus/src/track_next_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TrackNextIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TrackNextIcon(props: TrackNextIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M13.0502 2.74989C13.0502 2.44613 12.804 2.19989 12.5002 2.19989C12.1965 2.19989 11.9502 2.44613 11.9502 2.74989V7.2825C11.9046 7.18802 11.8295 7.10851 11.7334 7.05776L2.73338 2.30776C2.5784 2.22596 2.3919 2.23127 2.24182 2.32176C2.09175 2.41225 2 2.57471 2 2.74995V12.25C2 12.4252 2.09175 12.5877 2.24182 12.6781C2.3919 12.7686 2.5784 12.7739 2.73338 12.6921L11.7334 7.94214C11.8295 7.89139 11.9046 7.81188 11.9502 7.7174V12.2499C11.9502 12.5536 12.1965 12.7999 12.5002 12.7999C12.804 12.7999 13.0502 12.5536 13.0502 12.2499V2.74989ZM3 11.4207V3.5792L10.4288 7.49995L3 11.4207Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/track_previous_icon.rs b/packages/icons/dioxus/src/track_previous_icon.rs new file mode 100644 index 00000000..96c8bdb0 --- /dev/null +++ b/packages/icons/dioxus/src/track_previous_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TrackPreviousIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TrackPreviousIcon(props: TrackPreviousIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.94976 2.74989C1.94976 2.44613 2.196 2.19989 2.49976 2.19989C2.80351 2.19989 3.04976 2.44613 3.04976 2.74989V7.2825C3.0954 7.18802 3.17046 7.10851 3.26662 7.05776L12.2666 2.30776C12.4216 2.22596 12.6081 2.23127 12.7582 2.32176C12.9083 2.41225 13 2.57471 13 2.74995V12.25C13 12.4252 12.9083 12.5877 12.7582 12.6781C12.6081 12.7686 12.4216 12.7739 12.2666 12.6921L3.26662 7.94214C3.17046 7.89139 3.0954 7.81188 3.04976 7.7174V12.2499C3.04976 12.5536 2.80351 12.7999 2.49976 12.7999C2.196 12.7999 1.94976 12.5536 1.94976 12.2499V2.74989ZM4.57122 7.49995L12 11.4207V3.5792L4.57122 7.49995Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/transform_icon.rs b/packages/icons/dioxus/src/transform_icon.rs new file mode 100644 index 00000000..6e6a1ff5 --- /dev/null +++ b/packages/icons/dioxus/src/transform_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TransformIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TransformIcon(props: TransformIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.849976 1.74998C0.849976 1.25292 1.25292 0.849976 1.74998 0.849976H3.24998C3.74703 0.849976 4.14998 1.25292 4.14998 1.74998V2.04998H10.85V1.74998C10.85 1.25292 11.2529 0.849976 11.75 0.849976H13.25C13.747 0.849976 14.15 1.25292 14.15 1.74998V3.24998C14.15 3.74703 13.747 4.14998 13.25 4.14998H12.95V10.85H13.25C13.747 10.85 14.15 11.2529 14.15 11.75V13.25C14.15 13.747 13.747 14.15 13.25 14.15H11.75C11.2529 14.15 10.85 13.747 10.85 13.25V12.95H4.14998V13.25C4.14998 13.747 3.74703 14.15 3.24998 14.15H1.74998C1.25292 14.15 0.849976 13.747 0.849976 13.25V11.75C0.849976 11.2529 1.25292 10.85 1.74998 10.85H2.04998V4.14998H1.74998C1.25292 4.14998 0.849976 3.74703 0.849976 3.24998V1.74998ZM2.94998 4.14998V10.85H3.24998C3.74703 10.85 4.14998 11.2529 4.14998 11.75V12.05H10.85V11.75C10.85 11.2529 11.2529 10.85 11.75 10.85H12.05V4.14998H11.75C11.2529 4.14998 10.85 3.74703 10.85 3.24998V2.94998H4.14998V3.24998C4.14998 3.74703 3.74703 4.14998 3.24998 4.14998H2.94998ZM2.34998 1.74998H1.74998V2.34998V2.64998V3.24998H2.34998H2.64998H3.24998V2.64998V2.34998V1.74998H2.64998H2.34998ZM5.09998 5.99998C5.09998 5.50292 5.50292 5.09998 5.99998 5.09998H6.99998C7.49703 5.09998 7.89998 5.50292 7.89998 5.99998V6.99998C7.89998 7.03591 7.89787 7.07134 7.89378 7.10618C7.92861 7.10208 7.96405 7.09998 7.99998 7.09998H8.99998C9.49703 7.09998 9.89998 7.50292 9.89998 7.99998V8.99998C9.89998 9.49703 9.49703 9.89998 8.99998 9.89998H7.99998C7.50292 9.89998 7.09998 9.49703 7.09998 8.99998V7.99998C7.09998 7.96405 7.10208 7.92861 7.10618 7.89378C7.07134 7.89787 7.03591 7.89998 6.99998 7.89998H5.99998C5.50292 7.89998 5.09998 7.49703 5.09998 6.99998V5.99998ZM6.09998 5.99998H5.99998V6.09998V6.89998V6.99998H6.09998H6.89998H6.99998V6.89998V6.09998V5.99998H6.89998H6.09998ZM7.99998 7.99998H8.09998H8.89998H8.99998V8.09998V8.89998V8.99998H8.89998H8.09998H7.99998V8.89998V8.09998V7.99998ZM2.64998 11.75H2.34998H1.74998V12.35V12.65V13.25H2.34998H2.64998H3.24998V12.65V12.35V11.75H2.64998ZM11.75 1.74998H12.35H12.65H13.25V2.34998V2.64998V3.24998H12.65H12.35H11.75V2.64998V2.34998V1.74998ZM12.65 11.75H12.35H11.75V12.35V12.65V13.25H12.35H12.65H13.25V12.65V12.35V11.75H12.65Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/transparency_grid_icon.rs b/packages/icons/dioxus/src/transparency_grid_icon.rs new file mode 100644 index 00000000..d274ba1f --- /dev/null +++ b/packages/icons/dioxus/src/transparency_grid_icon.rs @@ -0,0 +1,31 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TransparencyGridIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TransparencyGridIcon(props: TransparencyGridIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "opacity": ".25", + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0 0H3V3H0V0ZM6 3H3V6H0V9H3V12H0V15H3V12H6V15H9V12H12V15H15V12H12V9H15V6H12V3H15V0H12V3H9V0H6V3ZM6 6V3H9V6H6ZM6 9H3V6H6V9ZM9 9V6H12V9H9ZM9 9H6V12H9V9Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/trash_icon.rs b/packages/icons/dioxus/src/trash_icon.rs new file mode 100644 index 00000000..cb4ea19e --- /dev/null +++ b/packages/icons/dioxus/src/trash_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TrashIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TrashIcon(props: TrashIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/triangle_down_icon.rs b/packages/icons/dioxus/src/triangle_down_icon.rs new file mode 100644 index 00000000..3cd29818 --- /dev/null +++ b/packages/icons/dioxus/src/triangle_down_icon.rs @@ -0,0 +1,25 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TriangleDownIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TriangleDownIcon(props: TriangleDownIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { "d": "M4 6H11L7.5 10.5L4 6Z", "fill": "{props.color}" } + } + } +} diff --git a/packages/icons/dioxus/src/triangle_left_icon.rs b/packages/icons/dioxus/src/triangle_left_icon.rs new file mode 100644 index 00000000..8d25cae9 --- /dev/null +++ b/packages/icons/dioxus/src/triangle_left_icon.rs @@ -0,0 +1,25 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TriangleLeftIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TriangleLeftIcon(props: TriangleLeftIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { "d": "M9 4L9 11L4.5 7.5L9 4Z", "fill": "{props.color}" } + } + } +} diff --git a/packages/icons/dioxus/src/triangle_right_icon.rs b/packages/icons/dioxus/src/triangle_right_icon.rs new file mode 100644 index 00000000..2f916ac5 --- /dev/null +++ b/packages/icons/dioxus/src/triangle_right_icon.rs @@ -0,0 +1,25 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TriangleRightIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TriangleRightIcon(props: TriangleRightIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { "d": "M6 11L6 4L10.5 7.5L6 11Z", "fill": "{props.color}" } + } + } +} diff --git a/packages/icons/dioxus/src/triangle_up_icon.rs b/packages/icons/dioxus/src/triangle_up_icon.rs new file mode 100644 index 00000000..ea8d0f38 --- /dev/null +++ b/packages/icons/dioxus/src/triangle_up_icon.rs @@ -0,0 +1,25 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TriangleUpIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TriangleUpIcon(props: TriangleUpIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { "d": "M4 9H11L7.5 4.5L4 9Z", "fill": "{props.color}" } + } + } +} diff --git a/packages/icons/dioxus/src/twitter_logo_icon.rs b/packages/icons/dioxus/src/twitter_logo_icon.rs new file mode 100644 index 00000000..e7a88661 --- /dev/null +++ b/packages/icons/dioxus/src/twitter_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct TwitterLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn TwitterLogoIcon(props: TwitterLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.23336 4.69629C7.23336 2.96884 8.63335 1.56857 10.36 1.56857C11.3736 1.56857 12.183 2.04804 12.7254 2.74385C13.3079 2.62467 13.8557 2.40913 14.3513 2.11508C14.1559 2.72598 13.7424 3.2396 13.2033 3.56463C13.2038 3.56568 13.2042 3.56674 13.2047 3.56779C13.7334 3.50361 14.2364 3.36302 14.7048 3.15546L14.7037 3.15715C14.3667 3.66183 13.9431 4.10736 13.4561 4.47034C13.4823 4.64672 13.4956 4.82427 13.4956 5.00079C13.4956 8.6871 10.6873 12.9746 5.52122 12.9746C3.93906 12.9746 2.46544 12.511 1.22505 11.7152C0.992632 11.5661 0.925108 11.2568 1.07423 11.0244C1.0874 11.0038 1.10183 10.9846 1.11734 10.9666C1.20582 10.8202 1.37438 10.7309 1.5554 10.7522C2.47066 10.8601 3.38568 10.7485 4.19219 10.3962C3.39226 10.0434 2.77129 9.35975 2.50204 8.51974C2.45359 8.3686 2.48835 8.20311 2.59351 8.08422C2.59716 8.0801 2.60087 8.07606 2.60464 8.0721C1.96391 7.50819 1.55973 6.68208 1.55973 5.76143V5.72759C1.55973 5.56814 1.64411 5.42059 1.78155 5.33974C1.82671 5.31317 1.87537 5.29511 1.92532 5.28558C1.70549 4.86154 1.58116 4.37984 1.58116 3.86958C1.58116 3.40165 1.58384 2.81192 1.91332 2.28081C1.98718 2.16175 2.10758 2.08915 2.2364 2.07195C2.42588 2.01237 2.64087 2.06969 2.77406 2.23302C3.86536 3.57126 5.44066 4.49583 7.23366 4.73961L7.23336 4.69629ZM5.52122 11.9746C4.73387 11.9746 3.97781 11.8435 3.27248 11.6023C4.13012 11.4538 4.95307 11.1159 5.66218 10.5602C5.81211 10.4427 5.87182 10.2435 5.81126 10.0629C5.7507 9.88234 5.583 9.75943 5.39255 9.75607C4.68968 9.74366 4.06712 9.39716 3.67793 8.86845C3.86828 8.85306 4.05428 8.82039 4.23445 8.77167C4.43603 8.71716 4.57363 8.53114 4.56674 8.32243C4.55985 8.11372 4.41029 7.93718 4.20555 7.89607C3.42694 7.73977 2.79883 7.16764 2.56169 6.42174C2.76255 6.47025 2.97102 6.4991 3.18482 6.5061C3.38563 6.51267 3.56646 6.38533 3.62795 6.19405C3.68943 6.00277 3.61666 5.79391 3.44963 5.68224C2.86523 5.29155 2.48116 4.62464 2.48116 3.86958C2.48116 3.70213 2.48352 3.55268 2.49355 3.41719C3.85115 4.79913 5.70873 5.68931 7.77588 5.79338C7.93225 5.80126 8.08328 5.73543 8.18395 5.61553C8.28463 5.49562 8.32332 5.33548 8.28851 5.18284C8.25255 5.02517 8.23336 4.86284 8.23336 4.69629C8.23336 3.52085 9.18591 2.56857 10.36 2.56857C11.5943 2.56857 12.4956 3.71208 12.4956 5.00079C12.4956 8.25709 10.0202 11.9746 5.52122 11.9746Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/underline_icon.rs b/packages/icons/dioxus/src/underline_icon.rs new file mode 100644 index 00000000..3204e111 --- /dev/null +++ b/packages/icons/dioxus/src/underline_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct UnderlineIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn UnderlineIcon(props: UnderlineIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M5.00001 2.75C5.00001 2.47386 4.77615 2.25 4.50001 2.25C4.22387 2.25 4.00001 2.47386 4.00001 2.75V8.05C4.00001 9.983 5.56702 11.55 7.50001 11.55C9.43301 11.55 11 9.983 11 8.05V2.75C11 2.47386 10.7762 2.25 10.5 2.25C10.2239 2.25 10 2.47386 10 2.75V8.05C10 9.43071 8.88072 10.55 7.50001 10.55C6.1193 10.55 5.00001 9.43071 5.00001 8.05V2.75ZM3.49998 13.1001C3.27906 13.1001 3.09998 13.2791 3.09998 13.5001C3.09998 13.721 3.27906 13.9001 3.49998 13.9001H11.5C11.7209 13.9001 11.9 13.721 11.9 13.5001C11.9 13.2791 11.7209 13.1001 11.5 13.1001H3.49998Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/update_icon.rs b/packages/icons/dioxus/src/update_icon.rs new file mode 100644 index 00000000..dd5bd040 --- /dev/null +++ b/packages/icons/dioxus/src/update_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct UpdateIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn UpdateIcon(props: UpdateIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.90321 7.29677C1.90321 10.341 4.11041 12.4147 6.58893 12.8439C6.87255 12.893 7.06266 13.1627 7.01355 13.4464C6.96444 13.73 6.69471 13.9201 6.41109 13.871C3.49942 13.3668 0.86084 10.9127 0.86084 7.29677C0.860839 5.76009 1.55996 4.55245 2.37639 3.63377C2.96124 2.97568 3.63034 2.44135 4.16846 2.03202L2.53205 2.03202C2.25591 2.03202 2.03205 1.80816 2.03205 1.53202C2.03205 1.25588 2.25591 1.03202 2.53205 1.03202L5.53205 1.03202C5.80819 1.03202 6.03205 1.25588 6.03205 1.53202L6.03205 4.53202C6.03205 4.80816 5.80819 5.03202 5.53205 5.03202C5.25591 5.03202 5.03205 4.80816 5.03205 4.53202L5.03205 2.68645L5.03054 2.68759L5.03045 2.68766L5.03044 2.68767L5.03043 2.68767C4.45896 3.11868 3.76059 3.64538 3.15554 4.3262C2.44102 5.13021 1.90321 6.10154 1.90321 7.29677ZM13.0109 7.70321C13.0109 4.69115 10.8505 2.6296 8.40384 2.17029C8.12093 2.11718 7.93465 1.84479 7.98776 1.56188C8.04087 1.27898 8.31326 1.0927 8.59616 1.14581C11.4704 1.68541 14.0532 4.12605 14.0532 7.70321C14.0532 9.23988 13.3541 10.4475 12.5377 11.3662C11.9528 12.0243 11.2837 12.5586 10.7456 12.968L12.3821 12.968C12.6582 12.968 12.8821 13.1918 12.8821 13.468C12.8821 13.7441 12.6582 13.968 12.3821 13.968L9.38205 13.968C9.10591 13.968 8.88205 13.7441 8.88205 13.468L8.88205 10.468C8.88205 10.1918 9.10591 9.96796 9.38205 9.96796C9.65819 9.96796 9.88205 10.1918 9.88205 10.468L9.88205 12.3135L9.88362 12.3123C10.4551 11.8813 11.1535 11.3546 11.7585 10.6738C12.4731 9.86976 13.0109 8.89844 13.0109 7.70321Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/upload_icon.rs b/packages/icons/dioxus/src/upload_icon.rs new file mode 100644 index 00000000..3ad6efb6 --- /dev/null +++ b/packages/icons/dioxus/src/upload_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct UploadIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn UploadIcon(props: UploadIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.81825 1.18188C7.64251 1.00615 7.35759 1.00615 7.18185 1.18188L4.18185 4.18188C4.00611 4.35762 4.00611 4.64254 4.18185 4.81828C4.35759 4.99401 4.64251 4.99401 4.81825 4.81828L7.05005 2.58648V9.49996C7.05005 9.74849 7.25152 9.94996 7.50005 9.94996C7.74858 9.94996 7.95005 9.74849 7.95005 9.49996V2.58648L10.1819 4.81828C10.3576 4.99401 10.6425 4.99401 10.8182 4.81828C10.994 4.64254 10.994 4.35762 10.8182 4.18188L7.81825 1.18188ZM2.5 9.99997C2.77614 9.99997 3 10.2238 3 10.5V12C3 12.5538 3.44565 13 3.99635 13H11.0012C11.5529 13 12 12.5528 12 12V10.5C12 10.2238 12.2239 9.99997 12.5 9.99997C12.7761 9.99997 13 10.2238 13 10.5V12C13 13.104 12.1062 14 11.0012 14H3.99635C2.89019 14 2 13.103 2 12V10.5C2 10.2238 2.22386 9.99997 2.5 9.99997Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/value_icon.rs b/packages/icons/dioxus/src/value_icon.rs new file mode 100644 index 00000000..e1e98f8b --- /dev/null +++ b/packages/icons/dioxus/src/value_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ValueIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ValueIcon(props: ValueIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/value_none_icon.rs b/packages/icons/dioxus/src/value_none_icon.rs new file mode 100644 index 00000000..4146b517 --- /dev/null +++ b/packages/icons/dioxus/src/value_none_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ValueNoneIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ValueNoneIcon(props: ValueNoneIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49985 0.877045C3.84216 0.877045 0.877014 3.84219 0.877014 7.49988C0.877014 9.1488 1.47963 10.657 2.47665 11.8162L1.64643 12.6464C1.45117 12.8417 1.45117 13.1583 1.64643 13.3535C1.8417 13.5488 2.15828 13.5488 2.35354 13.3535L3.18377 12.5233C4.34296 13.5202 5.85104 14.1227 7.49985 14.1227C11.1575 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 5.85107 13.5202 4.34299 12.5233 3.1838L13.3535 2.35354C13.5488 2.15827 13.5488 1.84169 13.3535 1.64643C13.1583 1.45117 12.8417 1.45117 12.6464 1.64643L11.8162 2.47668C10.657 1.47966 9.14877 0.877045 7.49985 0.877045ZM11.1422 3.15066C10.1567 2.32449 8.88639 1.82704 7.49985 1.82704C4.36683 1.82704 1.82701 4.36686 1.82701 7.49988C1.82701 8.88642 2.32446 10.1568 3.15063 11.1422L11.1422 3.15066ZM3.85776 11.8493C4.84317 12.6753 6.11343 13.1727 7.49985 13.1727C10.6328 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 6.11346 12.6753 4.8432 11.8493 3.85779L3.85776 11.8493Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/vercel_logo_icon.rs b/packages/icons/dioxus/src/vercel_logo_icon.rs new file mode 100644 index 00000000..eab9d093 --- /dev/null +++ b/packages/icons/dioxus/src/vercel_logo_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct VercelLogoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn VercelLogoIcon(props: VercelLogoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7.49998 1L6.92321 2.00307L1.17498 12L0.599976 13H1.7535H13.2464H14.4L13.825 12L8.07674 2.00307L7.49998 1ZM7.49998 3.00613L2.3285 12H12.6714L7.49998 3.00613Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/video_icon.rs b/packages/icons/dioxus/src/video_icon.rs new file mode 100644 index 00000000..45a21c34 --- /dev/null +++ b/packages/icons/dioxus/src/video_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct VideoIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn VideoIcon(props: VideoIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.76447 3.12199C5.63151 3.04859 6.56082 3 7.5 3C8.43918 3 9.36849 3.04859 10.2355 3.12199C11.2796 3.21037 11.9553 3.27008 12.472 3.39203C12.9425 3.50304 13.2048 3.64976 13.4306 3.88086C13.4553 3.90618 13.4902 3.94414 13.5133 3.97092C13.7126 4.20149 13.8435 4.4887 13.918 5.03283C13.9978 5.6156 14 6.37644 14 7.52493C14 8.66026 13.9978 9.41019 13.9181 9.98538C13.8439 10.5206 13.7137 10.8061 13.5125 11.0387C13.4896 11.0651 13.4541 11.1038 13.4296 11.1287C13.2009 11.3625 12.9406 11.5076 12.4818 11.6164C11.9752 11.7365 11.3143 11.7942 10.2878 11.8797C9.41948 11.9521 8.47566 12 7.5 12C6.52434 12 5.58052 11.9521 4.7122 11.8797C3.68572 11.7942 3.02477 11.7365 2.51816 11.6164C2.05936 11.5076 1.7991 11.3625 1.57037 11.1287C1.54593 11.1038 1.51035 11.0651 1.48748 11.0387C1.28628 10.8061 1.15612 10.5206 1.08193 9.98538C1.00221 9.41019 1 8.66026 1 7.52493C1 6.37644 1.00216 5.6156 1.082 5.03283C1.15654 4.4887 1.28744 4.20149 1.48666 3.97092C1.5098 3.94414 1.54468 3.90618 1.56942 3.88086C1.7952 3.64976 2.05752 3.50304 2.52796 3.39203C3.04473 3.27008 3.7204 3.21037 4.76447 3.12199ZM0 7.52493C0 5.28296 0 4.16198 0.729985 3.31713C0.766457 3.27491 0.815139 3.22194 0.854123 3.18204C1.63439 2.38339 2.64963 2.29744 4.68012 2.12555C5.56923 2.05028 6.52724 2 7.5 2C8.47276 2 9.43077 2.05028 10.3199 2.12555C12.3504 2.29744 13.3656 2.38339 14.1459 3.18204C14.1849 3.22194 14.2335 3.27491 14.27 3.31713C15 4.16198 15 5.28296 15 7.52493C15 9.74012 15 10.8477 14.2688 11.6929C14.2326 11.7348 14.1832 11.7885 14.1444 11.8281C13.3629 12.6269 12.3655 12.71 10.3709 12.8763C9.47971 12.9505 8.50782 13 7.5 13C6.49218 13 5.52028 12.9505 4.62915 12.8763C2.63446 12.71 1.63712 12.6269 0.855558 11.8281C0.816844 11.7885 0.767442 11.7348 0.731221 11.6929C0 10.8477 0 9.74012 0 7.52493ZM5.25 5.38264C5.25 5.20225 5.43522 5.08124 5.60041 5.15369L10.428 7.27105C10.6274 7.35853 10.6274 7.64147 10.428 7.72895L5.60041 9.84631C5.43522 9.91876 5.25 9.79775 5.25 9.61736V5.38264Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/view_grid_icon.rs b/packages/icons/dioxus/src/view_grid_icon.rs new file mode 100644 index 00000000..e7ce4524 --- /dev/null +++ b/packages/icons/dioxus/src/view_grid_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ViewGridIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ViewGridIcon(props: ViewGridIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M7 2H1.5C1.22386 2 1 2.22386 1 2.5V7H7V2ZM8 2V7H14V2.5C14 2.22386 13.7761 2 13.5 2H8ZM7 8H1V12.5C1 12.7761 1.22386 13 1.5 13H7V8ZM8 13V8H14V12.5C14 12.7761 13.7761 13 13.5 13H8ZM1.5 1C0.671573 1 0 1.67157 0 2.5V12.5C0 13.3284 0.671573 14 1.5 14H13.5C14.3284 14 15 13.3284 15 12.5V2.5C15 1.67157 14.3284 1 13.5 1H1.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/view_horizontal_icon.rs b/packages/icons/dioxus/src/view_horizontal_icon.rs new file mode 100644 index 00000000..d4c196fa --- /dev/null +++ b/packages/icons/dioxus/src/view_horizontal_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ViewHorizontalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ViewHorizontalIcon(props: ViewHorizontalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M1.5 2H13.5C13.7761 2 14 2.22386 14 2.5V7H1V2.5C1 2.22386 1.22386 2 1.5 2ZM1 8V12.5C1 12.7761 1.22386 13 1.5 13H13.5C13.7761 13 14 12.7761 14 12.5V8H1ZM0 2.5C0 1.67157 0.671573 1 1.5 1H13.5C14.3284 1 15 1.67157 15 2.5V12.5C15 13.3284 14.3284 14 13.5 14H1.5C0.671573 14 0 13.3284 0 12.5V2.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/view_none_icon.rs b/packages/icons/dioxus/src/view_none_icon.rs new file mode 100644 index 00000000..ad4dcfcc --- /dev/null +++ b/packages/icons/dioxus/src/view_none_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ViewNoneIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ViewNoneIcon(props: ViewNoneIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M14 2.58711L1.85163 13H13.5C13.7761 13 14 12.7761 14 12.5V2.58711ZM0.762879 13.8067L0.825396 13.8796L0.854717 13.8545C1.05017 13.9478 1.26899 14 1.5 14H13.5C14.3284 14 15 13.3284 15 12.5V2.5C15 1.93949 14.6926 1.45078 14.2371 1.19331L14.1746 1.12037L14.1453 1.1455C13.9498 1.05222 13.731 1 13.5 1H1.5C0.671573 1 0 1.67157 0 2.5V12.5C0 13.0605 0.307435 13.5492 0.762879 13.8067ZM1 12.4129L13.1484 2H1.5C1.22386 2 1 2.22386 1 2.5V12.4129Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/view_vertical_icon.rs b/packages/icons/dioxus/src/view_vertical_icon.rs new file mode 100644 index 00000000..d5d4fd14 --- /dev/null +++ b/packages/icons/dioxus/src/view_vertical_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ViewVerticalIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ViewVerticalIcon(props: ViewVerticalIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M8 2H13.5C13.7761 2 14 2.22386 14 2.5V12.5C14 12.7761 13.7761 13 13.5 13H8V2ZM7 2H1.5C1.22386 2 1 2.22386 1 2.5V12.5C1 12.7761 1.22386 13 1.5 13H7V2ZM0 2.5C0 1.67157 0.671573 1 1.5 1H13.5C14.3284 1 15 1.67157 15 2.5V12.5C15 13.3284 14.3284 14 13.5 14H1.5C0.671573 14 0 13.3284 0 12.5V2.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/width_icon.rs b/packages/icons/dioxus/src/width_icon.rs new file mode 100644 index 00000000..271d31fd --- /dev/null +++ b/packages/icons/dioxus/src/width_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct WidthIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn WidthIcon(props: WidthIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M4.81812 4.68161C4.99386 4.85734 4.99386 5.14227 4.81812 5.318L3.08632 7.0498H11.9135L10.1817 5.318C10.006 5.14227 10.006 4.85734 10.1817 4.68161C10.3575 4.50587 10.6424 4.50587 10.8181 4.68161L13.3181 7.18161C13.4939 7.35734 13.4939 7.64227 13.3181 7.818L10.8181 10.318C10.6424 10.4937 10.3575 10.4937 10.1817 10.318C10.006 10.1423 10.006 9.85734 10.1817 9.68161L11.9135 7.9498H3.08632L4.81812 9.68161C4.99386 9.85734 4.99386 10.1423 4.81812 10.318C4.64239 10.4937 4.35746 10.4937 4.18173 10.318L1.68173 7.818C1.50599 7.64227 1.50599 7.35734 1.68173 7.18161L4.18173 4.68161C4.35746 4.50587 4.64239 4.50587 4.81812 4.68161Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/zoom_in_icon.rs b/packages/icons/dioxus/src/zoom_in_icon.rs new file mode 100644 index 00000000..bf0a96f4 --- /dev/null +++ b/packages/icons/dioxus/src/zoom_in_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ZoomInIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ZoomInIcon(props: ZoomInIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159ZM4.25 6.5C4.25 6.22386 4.47386 6 4.75 6H6V4.75C6 4.47386 6.22386 4.25 6.5 4.25C6.77614 4.25 7 4.47386 7 4.75V6H8.25C8.52614 6 8.75 6.22386 8.75 6.5C8.75 6.77614 8.52614 7 8.25 7H7V8.25C7 8.52614 6.77614 8.75 6.5 8.75C6.22386 8.75 6 8.52614 6 8.25V7H4.75C4.47386 7 4.25 6.77614 4.25 6.5Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/dioxus/src/zoom_out_icon.rs b/packages/icons/dioxus/src/zoom_out_icon.rs new file mode 100644 index 00000000..6f4c7d30 --- /dev/null +++ b/packages/icons/dioxus/src/zoom_out_icon.rs @@ -0,0 +1,30 @@ +use dioxus::prelude::*; +#[derive(Clone, PartialEq, Props)] +pub struct ZoomOutIconProps { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, +} +#[component] +pub fn ZoomOutIcon(props: ZoomOutIconProps) -> Element { + rsx! { + svg { + "xmlns": "http://www.w3.org/2000/svg", + "class": if let Some(class) = props.class { "{class}" }, + "width": "{props.width}", + "height": "{props.height}", + "viewBox": "0 0 15 15", + "fill": "none", + path { + "fill-rule": "evenodd", + "clip-rule": "evenodd", + "d": "M6.5 10C8.433 10 10 8.433 10 6.5C10 4.567 8.433 3 6.5 3C4.567 3 3 4.567 3 6.5C3 8.433 4.567 10 6.5 10ZM6.5 11C7.56251 11 8.53901 10.6318 9.30884 10.0159L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L10.0159 9.30884C10.6318 8.53901 11 7.56251 11 6.5C11 4.01472 8.98528 2 6.5 2C4.01472 2 2 4.01472 2 6.5C2 8.98528 4.01472 11 6.5 11ZM4.75 6C4.47386 6 4.25 6.22386 4.25 6.5C4.25 6.77614 4.47386 7 4.75 7H8.25C8.52614 7 8.75 6.77614 8.75 6.5C8.75 6.22386 8.52614 6 8.25 6H4.75Z", + "fill": "{props.color}", + } + } + } +} diff --git a/packages/icons/leptos/README.md b/packages/icons/leptos/README.md new file mode 100644 index 00000000..02139e45 --- /dev/null +++ b/packages/icons/leptos/README.md @@ -0,0 +1,21 @@ +

+ + Rust Radix Logo + +

+ +

radix-leptos-icons

+ +Radix Icons is a crisp set of 15x15 icons. + +[Rust Radix](https://github.com/RustForWeb/radix) is a Rust port of [Radix](https://www.radix-ui.com/primitives). + +## Documentation + +See [the Rust Radix book](https://radix.rustforweb.org/) for documentation. + +## Rust For Web + +The Rust Radix project is part of [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web UI libraries for Rust. All projects are free and open source. diff --git a/packages/icons/leptos/src/accessibility_icon.rs b/packages/icons/leptos/src/accessibility_icon.rs index 16ec1852..2576a286 100644 --- a/packages/icons/leptos/src/accessibility_icon.rs +++ b/packages/icons/leptos/src/accessibility_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AccessibilityIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/activity_log_icon.rs b/packages/icons/leptos/src/activity_log_icon.rs index bb2ad91f..fee731f7 100644 --- a/packages/icons/leptos/src/activity_log_icon.rs +++ b/packages/icons/leptos/src/activity_log_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ActivityLogIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/align_baseline_icon.rs b/packages/icons/leptos/src/align_baseline_icon.rs index 73cdeceb..3f3b7cdc 100644 --- a/packages/icons/leptos/src/align_baseline_icon.rs +++ b/packages/icons/leptos/src/align_baseline_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AlignBaselineIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/align_bottom_icon.rs b/packages/icons/leptos/src/align_bottom_icon.rs index 823baea1..53329711 100644 --- a/packages/icons/leptos/src/align_bottom_icon.rs +++ b/packages/icons/leptos/src/align_bottom_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AlignBottomIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/align_center_horizontally_icon.rs b/packages/icons/leptos/src/align_center_horizontally_icon.rs index 3fdd3eaa..bdb81016 100644 --- a/packages/icons/leptos/src/align_center_horizontally_icon.rs +++ b/packages/icons/leptos/src/align_center_horizontally_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AlignCenterHorizontallyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/align_center_vertically_icon.rs b/packages/icons/leptos/src/align_center_vertically_icon.rs index db01a906..074a8faf 100644 --- a/packages/icons/leptos/src/align_center_vertically_icon.rs +++ b/packages/icons/leptos/src/align_center_vertically_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AlignCenterVerticallyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/align_left_icon.rs b/packages/icons/leptos/src/align_left_icon.rs index 20041d34..dac0b9bd 100644 --- a/packages/icons/leptos/src/align_left_icon.rs +++ b/packages/icons/leptos/src/align_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AlignLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/align_right_icon.rs b/packages/icons/leptos/src/align_right_icon.rs index ecc16e7d..f620355c 100644 --- a/packages/icons/leptos/src/align_right_icon.rs +++ b/packages/icons/leptos/src/align_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AlignRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/align_top_icon.rs b/packages/icons/leptos/src/align_top_icon.rs index 7add4505..166f68d5 100644 --- a/packages/icons/leptos/src/align_top_icon.rs +++ b/packages/icons/leptos/src/align_top_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AlignTopIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/all_sides_icon.rs b/packages/icons/leptos/src/all_sides_icon.rs index 9c0e7d9b..c69f35dd 100644 --- a/packages/icons/leptos/src/all_sides_icon.rs +++ b/packages/icons/leptos/src/all_sides_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AllSidesIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/angle_icon.rs b/packages/icons/leptos/src/angle_icon.rs index cce5f16d..95b88bad 100644 --- a/packages/icons/leptos/src/angle_icon.rs +++ b/packages/icons/leptos/src/angle_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AngleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/archive_icon.rs b/packages/icons/leptos/src/archive_icon.rs index 2d752a1f..e9841c0b 100644 --- a/packages/icons/leptos/src/archive_icon.rs +++ b/packages/icons/leptos/src/archive_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArchiveIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/arrow_bottom_left_icon.rs b/packages/icons/leptos/src/arrow_bottom_left_icon.rs index eb7aec54..8a437dd6 100644 --- a/packages/icons/leptos/src/arrow_bottom_left_icon.rs +++ b/packages/icons/leptos/src/arrow_bottom_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArrowBottomLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/arrow_bottom_right_icon.rs b/packages/icons/leptos/src/arrow_bottom_right_icon.rs index daf221a5..50bf3ab3 100644 --- a/packages/icons/leptos/src/arrow_bottom_right_icon.rs +++ b/packages/icons/leptos/src/arrow_bottom_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArrowBottomRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/arrow_down_icon.rs b/packages/icons/leptos/src/arrow_down_icon.rs index 8ca67add..51df3c0d 100644 --- a/packages/icons/leptos/src/arrow_down_icon.rs +++ b/packages/icons/leptos/src/arrow_down_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArrowDownIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/arrow_left_icon.rs b/packages/icons/leptos/src/arrow_left_icon.rs index 58249220..d8623016 100644 --- a/packages/icons/leptos/src/arrow_left_icon.rs +++ b/packages/icons/leptos/src/arrow_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArrowLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/arrow_right_icon.rs b/packages/icons/leptos/src/arrow_right_icon.rs index 97c3d70e..13ec2846 100644 --- a/packages/icons/leptos/src/arrow_right_icon.rs +++ b/packages/icons/leptos/src/arrow_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArrowRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/arrow_top_left_icon.rs b/packages/icons/leptos/src/arrow_top_left_icon.rs index 8cc3b008..71478b15 100644 --- a/packages/icons/leptos/src/arrow_top_left_icon.rs +++ b/packages/icons/leptos/src/arrow_top_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArrowTopLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/arrow_top_right_icon.rs b/packages/icons/leptos/src/arrow_top_right_icon.rs index 59c61d22..edc4293e 100644 --- a/packages/icons/leptos/src/arrow_top_right_icon.rs +++ b/packages/icons/leptos/src/arrow_top_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArrowTopRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/arrow_up_icon.rs b/packages/icons/leptos/src/arrow_up_icon.rs index f5703b0e..13a5f05b 100644 --- a/packages/icons/leptos/src/arrow_up_icon.rs +++ b/packages/icons/leptos/src/arrow_up_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ArrowUpIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/aspect_ratio_icon.rs b/packages/icons/leptos/src/aspect_ratio_icon.rs index 915829c5..6c003baf 100644 --- a/packages/icons/leptos/src/aspect_ratio_icon.rs +++ b/packages/icons/leptos/src/aspect_ratio_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AspectRatioIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/avatar_icon.rs b/packages/icons/leptos/src/avatar_icon.rs index 8fc4ebff..adcfb875 100644 --- a/packages/icons/leptos/src/avatar_icon.rs +++ b/packages/icons/leptos/src/avatar_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn AvatarIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/backpack_icon.rs b/packages/icons/leptos/src/backpack_icon.rs index faa75ba0..7bd197fb 100644 --- a/packages/icons/leptos/src/backpack_icon.rs +++ b/packages/icons/leptos/src/backpack_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BackpackIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/badge_icon.rs b/packages/icons/leptos/src/badge_icon.rs index 69a0f26f..22c4c16f 100644 --- a/packages/icons/leptos/src/badge_icon.rs +++ b/packages/icons/leptos/src/badge_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BadgeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/bar_chart_icon.rs b/packages/icons/leptos/src/bar_chart_icon.rs index 1d73d9c5..84c97703 100644 --- a/packages/icons/leptos/src/bar_chart_icon.rs +++ b/packages/icons/leptos/src/bar_chart_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BarChartIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/bell_icon.rs b/packages/icons/leptos/src/bell_icon.rs index 559c1033..ae3b4f76 100644 --- a/packages/icons/leptos/src/bell_icon.rs +++ b/packages/icons/leptos/src/bell_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BellIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/blending_mode_icon.rs b/packages/icons/leptos/src/blending_mode_icon.rs index 7d770bca..b31d8033 100644 --- a/packages/icons/leptos/src/blending_mode_icon.rs +++ b/packages/icons/leptos/src/blending_mode_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BlendingModeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/bookmark_filled_icon.rs b/packages/icons/leptos/src/bookmark_filled_icon.rs index dc75c0a2..536650f4 100644 --- a/packages/icons/leptos/src/bookmark_filled_icon.rs +++ b/packages/icons/leptos/src/bookmark_filled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BookmarkFilledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/bookmark_icon.rs b/packages/icons/leptos/src/bookmark_icon.rs index d4846854..c4ceca58 100644 --- a/packages/icons/leptos/src/bookmark_icon.rs +++ b/packages/icons/leptos/src/bookmark_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BookmarkIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/border_all_icon.rs b/packages/icons/leptos/src/border_all_icon.rs index 21850414..a0f0c08c 100644 --- a/packages/icons/leptos/src/border_all_icon.rs +++ b/packages/icons/leptos/src/border_all_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderAllIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - - - - - - - - - + fill=color + > + + + + + + + + + } } diff --git a/packages/icons/leptos/src/border_bottom_icon.rs b/packages/icons/leptos/src/border_bottom_icon.rs index 3f7aade9..5796c871 100644 --- a/packages/icons/leptos/src/border_bottom_icon.rs +++ b/packages/icons/leptos/src/border_bottom_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderBottomIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - - - - - - - - - - - - - - - - - - - - - - - - - - + fill=color + > + + + + + + + + + + + + + + + + + + + + + + + + + + } } diff --git a/packages/icons/leptos/src/border_dashed_icon.rs b/packages/icons/leptos/src/border_dashed_icon.rs index 80e45e76..a3af92c5 100644 --- a/packages/icons/leptos/src/border_dashed_icon.rs +++ b/packages/icons/leptos/src/border_dashed_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderDashedIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/border_dotted_icon.rs b/packages/icons/leptos/src/border_dotted_icon.rs index d895c425..6afb3d3b 100644 --- a/packages/icons/leptos/src/border_dotted_icon.rs +++ b/packages/icons/leptos/src/border_dotted_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderDottedIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/border_left_icon.rs b/packages/icons/leptos/src/border_left_icon.rs index 75cfea25..b7d8187e 100644 --- a/packages/icons/leptos/src/border_left_icon.rs +++ b/packages/icons/leptos/src/border_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/border_none_icon.rs b/packages/icons/leptos/src/border_none_icon.rs index 556634a3..0319ca65 100644 --- a/packages/icons/leptos/src/border_none_icon.rs +++ b/packages/icons/leptos/src/border_none_icon.rs @@ -1,53 +1,53 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderNoneIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + } } diff --git a/packages/icons/leptos/src/border_right_icon.rs b/packages/icons/leptos/src/border_right_icon.rs index 50eb0448..1265f135 100644 --- a/packages/icons/leptos/src/border_right_icon.rs +++ b/packages/icons/leptos/src/border_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - - - - - - - - - - - - - - - - - - - - - - - - - - + fill=color + > + + + + + + + + + + + + + + + + + + + + + + + + + + } } diff --git a/packages/icons/leptos/src/border_solid_icon.rs b/packages/icons/leptos/src/border_solid_icon.rs index 5b8c688a..d3f6aa34 100644 --- a/packages/icons/leptos/src/border_solid_icon.rs +++ b/packages/icons/leptos/src/border_solid_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderSolidIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/border_split_icon.rs b/packages/icons/leptos/src/border_split_icon.rs index 57be61e5..4d24a0f2 100644 --- a/packages/icons/leptos/src/border_split_icon.rs +++ b/packages/icons/leptos/src/border_split_icon.rs @@ -1,39 +1,39 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderSplitIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - - - - - - - - - - - - - + + + + + + + + + + + + + + fill=color + > } } diff --git a/packages/icons/leptos/src/border_style_icon.rs b/packages/icons/leptos/src/border_style_icon.rs index c86da6b9..ffba936f 100644 --- a/packages/icons/leptos/src/border_style_icon.rs +++ b/packages/icons/leptos/src/border_style_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderStyleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/border_top_icon.rs b/packages/icons/leptos/src/border_top_icon.rs index 6d9a24fa..2fb25093 100644 --- a/packages/icons/leptos/src/border_top_icon.rs +++ b/packages/icons/leptos/src/border_top_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderTopIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/border_width_icon.rs b/packages/icons/leptos/src/border_width_icon.rs index 0aeb3201..82cda789 100644 --- a/packages/icons/leptos/src/border_width_icon.rs +++ b/packages/icons/leptos/src/border_width_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BorderWidthIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/box_icon.rs b/packages/icons/leptos/src/box_icon.rs index 8e327cfa..62d30171 100644 --- a/packages/icons/leptos/src/box_icon.rs +++ b/packages/icons/leptos/src/box_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BoxIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/box_model_icon.rs b/packages/icons/leptos/src/box_model_icon.rs index 09364b7c..a33a7b21 100644 --- a/packages/icons/leptos/src/box_model_icon.rs +++ b/packages/icons/leptos/src/box_model_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn BoxModelIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/button_icon.rs b/packages/icons/leptos/src/button_icon.rs index e4b82492..d803b748 100644 --- a/packages/icons/leptos/src/button_icon.rs +++ b/packages/icons/leptos/src/button_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ButtonIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/calendar_icon.rs b/packages/icons/leptos/src/calendar_icon.rs index 37c032d6..785bdf26 100644 --- a/packages/icons/leptos/src/calendar_icon.rs +++ b/packages/icons/leptos/src/calendar_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CalendarIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/camera_icon.rs b/packages/icons/leptos/src/camera_icon.rs index d6dd4650..57b69e83 100644 --- a/packages/icons/leptos/src/camera_icon.rs +++ b/packages/icons/leptos/src/camera_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CameraIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/card_stack_icon.rs b/packages/icons/leptos/src/card_stack_icon.rs index 0d92b26f..0199d44b 100644 --- a/packages/icons/leptos/src/card_stack_icon.rs +++ b/packages/icons/leptos/src/card_stack_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CardStackIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/card_stack_minus_icon.rs b/packages/icons/leptos/src/card_stack_minus_icon.rs index 7c61de5b..4c85f705 100644 --- a/packages/icons/leptos/src/card_stack_minus_icon.rs +++ b/packages/icons/leptos/src/card_stack_minus_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CardStackMinusIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/card_stack_plus_icon.rs b/packages/icons/leptos/src/card_stack_plus_icon.rs index b8d2bea6..86c4bc81 100644 --- a/packages/icons/leptos/src/card_stack_plus_icon.rs +++ b/packages/icons/leptos/src/card_stack_plus_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CardStackPlusIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/caret_down_icon.rs b/packages/icons/leptos/src/caret_down_icon.rs index 91f46d51..82633c01 100644 --- a/packages/icons/leptos/src/caret_down_icon.rs +++ b/packages/icons/leptos/src/caret_down_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CaretDownIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/caret_left_icon.rs b/packages/icons/leptos/src/caret_left_icon.rs index 0f08d087..f36a8e22 100644 --- a/packages/icons/leptos/src/caret_left_icon.rs +++ b/packages/icons/leptos/src/caret_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CaretLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/caret_right_icon.rs b/packages/icons/leptos/src/caret_right_icon.rs index 1bd9512f..94be16fe 100644 --- a/packages/icons/leptos/src/caret_right_icon.rs +++ b/packages/icons/leptos/src/caret_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CaretRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/caret_sort_icon.rs b/packages/icons/leptos/src/caret_sort_icon.rs index 4dc4eda3..d744726b 100644 --- a/packages/icons/leptos/src/caret_sort_icon.rs +++ b/packages/icons/leptos/src/caret_sort_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CaretSortIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/caret_up_icon.rs b/packages/icons/leptos/src/caret_up_icon.rs index 6d2a3a98..df5d20ff 100644 --- a/packages/icons/leptos/src/caret_up_icon.rs +++ b/packages/icons/leptos/src/caret_up_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CaretUpIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/chat_bubble_icon.rs b/packages/icons/leptos/src/chat_bubble_icon.rs index 014ce036..1cedc10b 100644 --- a/packages/icons/leptos/src/chat_bubble_icon.rs +++ b/packages/icons/leptos/src/chat_bubble_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ChatBubbleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/check_circled_icon.rs b/packages/icons/leptos/src/check_circled_icon.rs index f81fff0a..316f67a0 100644 --- a/packages/icons/leptos/src/check_circled_icon.rs +++ b/packages/icons/leptos/src/check_circled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CheckCircledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/check_icon.rs b/packages/icons/leptos/src/check_icon.rs index 0f5ddfe3..3a2984e9 100644 --- a/packages/icons/leptos/src/check_icon.rs +++ b/packages/icons/leptos/src/check_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CheckIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/checkbox_icon.rs b/packages/icons/leptos/src/checkbox_icon.rs index 309241f6..7d945119 100644 --- a/packages/icons/leptos/src/checkbox_icon.rs +++ b/packages/icons/leptos/src/checkbox_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CheckboxIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/chevron_down_icon.rs b/packages/icons/leptos/src/chevron_down_icon.rs index 461472af..9f9790d1 100644 --- a/packages/icons/leptos/src/chevron_down_icon.rs +++ b/packages/icons/leptos/src/chevron_down_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ChevronDownIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/chevron_left_icon.rs b/packages/icons/leptos/src/chevron_left_icon.rs index 37dc2b3f..e1d1a747 100644 --- a/packages/icons/leptos/src/chevron_left_icon.rs +++ b/packages/icons/leptos/src/chevron_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ChevronLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/chevron_right_icon.rs b/packages/icons/leptos/src/chevron_right_icon.rs index bb96a206..211e151a 100644 --- a/packages/icons/leptos/src/chevron_right_icon.rs +++ b/packages/icons/leptos/src/chevron_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ChevronRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/chevron_up_icon.rs b/packages/icons/leptos/src/chevron_up_icon.rs index a7a0532c..d945d045 100644 --- a/packages/icons/leptos/src/chevron_up_icon.rs +++ b/packages/icons/leptos/src/chevron_up_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ChevronUpIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/circle_backslash_icon.rs b/packages/icons/leptos/src/circle_backslash_icon.rs index 6cf50ee8..6a8d9184 100644 --- a/packages/icons/leptos/src/circle_backslash_icon.rs +++ b/packages/icons/leptos/src/circle_backslash_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CircleBackslashIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/circle_icon.rs b/packages/icons/leptos/src/circle_icon.rs index 13d1ee95..439c8beb 100644 --- a/packages/icons/leptos/src/circle_icon.rs +++ b/packages/icons/leptos/src/circle_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CircleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/clipboard_copy_icon.rs b/packages/icons/leptos/src/clipboard_copy_icon.rs index 012dbcd7..388b8827 100644 --- a/packages/icons/leptos/src/clipboard_copy_icon.rs +++ b/packages/icons/leptos/src/clipboard_copy_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ClipboardCopyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/clipboard_icon.rs b/packages/icons/leptos/src/clipboard_icon.rs index 901398eb..8e8f3383 100644 --- a/packages/icons/leptos/src/clipboard_icon.rs +++ b/packages/icons/leptos/src/clipboard_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ClipboardIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/clock_icon.rs b/packages/icons/leptos/src/clock_icon.rs index 082cd434..32c5b366 100644 --- a/packages/icons/leptos/src/clock_icon.rs +++ b/packages/icons/leptos/src/clock_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ClockIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/code_icon.rs b/packages/icons/leptos/src/code_icon.rs index f9d776b3..035b3736 100644 --- a/packages/icons/leptos/src/code_icon.rs +++ b/packages/icons/leptos/src/code_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CodeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/codesandbox_logo_icon.rs b/packages/icons/leptos/src/codesandbox_logo_icon.rs index 6c669674..c70fcd84 100644 --- a/packages/icons/leptos/src/codesandbox_logo_icon.rs +++ b/packages/icons/leptos/src/codesandbox_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CodesandboxLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/color_wheel_icon.rs b/packages/icons/leptos/src/color_wheel_icon.rs index c15bffac..9d351282 100644 --- a/packages/icons/leptos/src/color_wheel_icon.rs +++ b/packages/icons/leptos/src/color_wheel_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ColorWheelIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/column_spacing_icon.rs b/packages/icons/leptos/src/column_spacing_icon.rs index 5e8ac14b..c93268e0 100644 --- a/packages/icons/leptos/src/column_spacing_icon.rs +++ b/packages/icons/leptos/src/column_spacing_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ColumnSpacingIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/columns_icon.rs b/packages/icons/leptos/src/columns_icon.rs index 930faa85..4d7f0c47 100644 --- a/packages/icons/leptos/src/columns_icon.rs +++ b/packages/icons/leptos/src/columns_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ColumnsIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/commit_icon.rs b/packages/icons/leptos/src/commit_icon.rs index 40f65c2e..08fab17e 100644 --- a/packages/icons/leptos/src/commit_icon.rs +++ b/packages/icons/leptos/src/commit_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CommitIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/component_1_icon.rs b/packages/icons/leptos/src/component_1_icon.rs index ad102c41..b82c8d61 100644 --- a/packages/icons/leptos/src/component_1_icon.rs +++ b/packages/icons/leptos/src/component_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Component1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/component_2_icon.rs b/packages/icons/leptos/src/component_2_icon.rs index 0bc433ba..debf6ac8 100644 --- a/packages/icons/leptos/src/component_2_icon.rs +++ b/packages/icons/leptos/src/component_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Component2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/component_boolean_icon.rs b/packages/icons/leptos/src/component_boolean_icon.rs index 1d4a57fb..533fb64d 100644 --- a/packages/icons/leptos/src/component_boolean_icon.rs +++ b/packages/icons/leptos/src/component_boolean_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ComponentBooleanIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/component_instance_icon.rs b/packages/icons/leptos/src/component_instance_icon.rs index 2b164532..4ccc8e93 100644 --- a/packages/icons/leptos/src/component_instance_icon.rs +++ b/packages/icons/leptos/src/component_instance_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ComponentInstanceIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/component_none_icon.rs b/packages/icons/leptos/src/component_none_icon.rs index 6c3e8805..a2d319c0 100644 --- a/packages/icons/leptos/src/component_none_icon.rs +++ b/packages/icons/leptos/src/component_none_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ComponentNoneIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/component_placeholder_icon.rs b/packages/icons/leptos/src/component_placeholder_icon.rs index 393ccc75..f86595f2 100644 --- a/packages/icons/leptos/src/component_placeholder_icon.rs +++ b/packages/icons/leptos/src/component_placeholder_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ComponentPlaceholderIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/container_icon.rs b/packages/icons/leptos/src/container_icon.rs index e470924d..97881930 100644 --- a/packages/icons/leptos/src/container_icon.rs +++ b/packages/icons/leptos/src/container_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ContainerIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/cookie_icon.rs b/packages/icons/leptos/src/cookie_icon.rs index 622aeb86..dd450060 100644 --- a/packages/icons/leptos/src/cookie_icon.rs +++ b/packages/icons/leptos/src/cookie_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CookieIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/copy_icon.rs b/packages/icons/leptos/src/copy_icon.rs index 5cbe7775..4a18abe3 100644 --- a/packages/icons/leptos/src/copy_icon.rs +++ b/packages/icons/leptos/src/copy_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CopyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/corner_bottom_left_icon.rs b/packages/icons/leptos/src/corner_bottom_left_icon.rs index 104a0d08..84d57943 100644 --- a/packages/icons/leptos/src/corner_bottom_left_icon.rs +++ b/packages/icons/leptos/src/corner_bottom_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CornerBottomLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/corner_bottom_right_icon.rs b/packages/icons/leptos/src/corner_bottom_right_icon.rs index 4ad2842f..7d98dfc9 100644 --- a/packages/icons/leptos/src/corner_bottom_right_icon.rs +++ b/packages/icons/leptos/src/corner_bottom_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CornerBottomRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/corner_top_left_icon.rs b/packages/icons/leptos/src/corner_top_left_icon.rs index 68dfdc79..28a55449 100644 --- a/packages/icons/leptos/src/corner_top_left_icon.rs +++ b/packages/icons/leptos/src/corner_top_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CornerTopLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/corner_top_right_icon.rs b/packages/icons/leptos/src/corner_top_right_icon.rs index 52945cec..b8d9af5f 100644 --- a/packages/icons/leptos/src/corner_top_right_icon.rs +++ b/packages/icons/leptos/src/corner_top_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CornerTopRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/corners_icon.rs b/packages/icons/leptos/src/corners_icon.rs index c832602a..50fbb75d 100644 --- a/packages/icons/leptos/src/corners_icon.rs +++ b/packages/icons/leptos/src/corners_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CornersIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/countdown_timer_icon.rs b/packages/icons/leptos/src/countdown_timer_icon.rs index a66942e2..749d6207 100644 --- a/packages/icons/leptos/src/countdown_timer_icon.rs +++ b/packages/icons/leptos/src/countdown_timer_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CountdownTimerIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/counter_clockwise_clock_icon.rs b/packages/icons/leptos/src/counter_clockwise_clock_icon.rs index 008a6a41..de80fe4f 100644 --- a/packages/icons/leptos/src/counter_clockwise_clock_icon.rs +++ b/packages/icons/leptos/src/counter_clockwise_clock_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CounterClockwiseClockIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/crop_icon.rs b/packages/icons/leptos/src/crop_icon.rs index 41c488fa..8fd31df2 100644 --- a/packages/icons/leptos/src/crop_icon.rs +++ b/packages/icons/leptos/src/crop_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CropIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/cross_1_icon.rs b/packages/icons/leptos/src/cross_1_icon.rs index f6b40811..e74cf856 100644 --- a/packages/icons/leptos/src/cross_1_icon.rs +++ b/packages/icons/leptos/src/cross_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Cross1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/cross_2_icon.rs b/packages/icons/leptos/src/cross_2_icon.rs index df22cbca..09c1f324 100644 --- a/packages/icons/leptos/src/cross_2_icon.rs +++ b/packages/icons/leptos/src/cross_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Cross2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/cross_circled_icon.rs b/packages/icons/leptos/src/cross_circled_icon.rs index 84acaa22..c1c0d251 100644 --- a/packages/icons/leptos/src/cross_circled_icon.rs +++ b/packages/icons/leptos/src/cross_circled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CrossCircledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/crosshair_1_icon.rs b/packages/icons/leptos/src/crosshair_1_icon.rs index 072ffdd0..85d4aa5b 100644 --- a/packages/icons/leptos/src/crosshair_1_icon.rs +++ b/packages/icons/leptos/src/crosshair_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Crosshair1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/crosshair_2_icon.rs b/packages/icons/leptos/src/crosshair_2_icon.rs index 095c31e6..fb56ced5 100644 --- a/packages/icons/leptos/src/crosshair_2_icon.rs +++ b/packages/icons/leptos/src/crosshair_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Crosshair2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/crumpled_paper_icon.rs b/packages/icons/leptos/src/crumpled_paper_icon.rs index 7403a600..5496dc52 100644 --- a/packages/icons/leptos/src/crumpled_paper_icon.rs +++ b/packages/icons/leptos/src/crumpled_paper_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CrumpledPaperIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/cube_icon.rs b/packages/icons/leptos/src/cube_icon.rs index 5c33cc7f..dc2fcb08 100644 --- a/packages/icons/leptos/src/cube_icon.rs +++ b/packages/icons/leptos/src/cube_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CubeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/cursor_arrow_icon.rs b/packages/icons/leptos/src/cursor_arrow_icon.rs index e80ee3d3..f98445ea 100644 --- a/packages/icons/leptos/src/cursor_arrow_icon.rs +++ b/packages/icons/leptos/src/cursor_arrow_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CursorArrowIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/cursor_text_icon.rs b/packages/icons/leptos/src/cursor_text_icon.rs index 4540a0cc..726420c5 100644 --- a/packages/icons/leptos/src/cursor_text_icon.rs +++ b/packages/icons/leptos/src/cursor_text_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn CursorTextIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/dash_icon.rs b/packages/icons/leptos/src/dash_icon.rs index 933fed90..d593752b 100644 --- a/packages/icons/leptos/src/dash_icon.rs +++ b/packages/icons/leptos/src/dash_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DashIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/dashboard_icon.rs b/packages/icons/leptos/src/dashboard_icon.rs index 264efd53..f7ec3412 100644 --- a/packages/icons/leptos/src/dashboard_icon.rs +++ b/packages/icons/leptos/src/dashboard_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DashboardIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/desktop_icon.rs b/packages/icons/leptos/src/desktop_icon.rs index 19bcea8a..fcb78940 100644 --- a/packages/icons/leptos/src/desktop_icon.rs +++ b/packages/icons/leptos/src/desktop_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DesktopIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/dimensions_icon.rs b/packages/icons/leptos/src/dimensions_icon.rs index d32fb5dc..6dfc26b0 100644 --- a/packages/icons/leptos/src/dimensions_icon.rs +++ b/packages/icons/leptos/src/dimensions_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DimensionsIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/disc_icon.rs b/packages/icons/leptos/src/disc_icon.rs index 1458be5f..e79c34b4 100644 --- a/packages/icons/leptos/src/disc_icon.rs +++ b/packages/icons/leptos/src/disc_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DiscIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/discord_logo_icon.rs b/packages/icons/leptos/src/discord_logo_icon.rs index b4cd24b6..89aed5b0 100644 --- a/packages/icons/leptos/src/discord_logo_icon.rs +++ b/packages/icons/leptos/src/discord_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DiscordLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/divider_horizontal_icon.rs b/packages/icons/leptos/src/divider_horizontal_icon.rs index 1663f57e..24518d6d 100644 --- a/packages/icons/leptos/src/divider_horizontal_icon.rs +++ b/packages/icons/leptos/src/divider_horizontal_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DividerHorizontalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/divider_vertical_icon.rs b/packages/icons/leptos/src/divider_vertical_icon.rs index a6386f23..f30843f4 100644 --- a/packages/icons/leptos/src/divider_vertical_icon.rs +++ b/packages/icons/leptos/src/divider_vertical_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DividerVerticalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/dot_filled_icon.rs b/packages/icons/leptos/src/dot_filled_icon.rs index c3a9e730..3d972b2f 100644 --- a/packages/icons/leptos/src/dot_filled_icon.rs +++ b/packages/icons/leptos/src/dot_filled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DotFilledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/dot_icon.rs b/packages/icons/leptos/src/dot_icon.rs index e53e7d00..dbcf6343 100644 --- a/packages/icons/leptos/src/dot_icon.rs +++ b/packages/icons/leptos/src/dot_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DotIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/dots_horizontal_icon.rs b/packages/icons/leptos/src/dots_horizontal_icon.rs index 090dbbae..21e6002a 100644 --- a/packages/icons/leptos/src/dots_horizontal_icon.rs +++ b/packages/icons/leptos/src/dots_horizontal_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DotsHorizontalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/dots_vertical_icon.rs b/packages/icons/leptos/src/dots_vertical_icon.rs index 14f0c3ab..bc5cce1a 100644 --- a/packages/icons/leptos/src/dots_vertical_icon.rs +++ b/packages/icons/leptos/src/dots_vertical_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DotsVerticalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/double_arrow_down_icon.rs b/packages/icons/leptos/src/double_arrow_down_icon.rs index 8eff1f2d..ac3e4676 100644 --- a/packages/icons/leptos/src/double_arrow_down_icon.rs +++ b/packages/icons/leptos/src/double_arrow_down_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DoubleArrowDownIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/double_arrow_left_icon.rs b/packages/icons/leptos/src/double_arrow_left_icon.rs index d4c28918..dcb9b55b 100644 --- a/packages/icons/leptos/src/double_arrow_left_icon.rs +++ b/packages/icons/leptos/src/double_arrow_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DoubleArrowLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/double_arrow_right_icon.rs b/packages/icons/leptos/src/double_arrow_right_icon.rs index 8921eea2..1e1aaa57 100644 --- a/packages/icons/leptos/src/double_arrow_right_icon.rs +++ b/packages/icons/leptos/src/double_arrow_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DoubleArrowRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/double_arrow_up_icon.rs b/packages/icons/leptos/src/double_arrow_up_icon.rs index 8c4c9c1e..b28c041b 100644 --- a/packages/icons/leptos/src/double_arrow_up_icon.rs +++ b/packages/icons/leptos/src/double_arrow_up_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DoubleArrowUpIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/download_icon.rs b/packages/icons/leptos/src/download_icon.rs index 199f3ee4..7a6f3ae3 100644 --- a/packages/icons/leptos/src/download_icon.rs +++ b/packages/icons/leptos/src/download_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DownloadIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/drag_handle_dots_1_icon.rs b/packages/icons/leptos/src/drag_handle_dots_1_icon.rs index 33182cb6..ecb6f7f0 100644 --- a/packages/icons/leptos/src/drag_handle_dots_1_icon.rs +++ b/packages/icons/leptos/src/drag_handle_dots_1_icon.rs @@ -1,44 +1,44 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DragHandleDots1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + + + } } diff --git a/packages/icons/leptos/src/drag_handle_dots_2_icon.rs b/packages/icons/leptos/src/drag_handle_dots_2_icon.rs index d6b0785d..f243eabe 100644 --- a/packages/icons/leptos/src/drag_handle_dots_2_icon.rs +++ b/packages/icons/leptos/src/drag_handle_dots_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DragHandleDots2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/drag_handle_horizontal_icon.rs b/packages/icons/leptos/src/drag_handle_horizontal_icon.rs index 8f906390..ddf826c7 100644 --- a/packages/icons/leptos/src/drag_handle_horizontal_icon.rs +++ b/packages/icons/leptos/src/drag_handle_horizontal_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DragHandleHorizontalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/drag_handle_vertical_icon.rs b/packages/icons/leptos/src/drag_handle_vertical_icon.rs index ce56434e..d9f9e45b 100644 --- a/packages/icons/leptos/src/drag_handle_vertical_icon.rs +++ b/packages/icons/leptos/src/drag_handle_vertical_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DragHandleVerticalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/drawing_pin_filled_icon.rs b/packages/icons/leptos/src/drawing_pin_filled_icon.rs index 1f4c8056..42c3ea51 100644 --- a/packages/icons/leptos/src/drawing_pin_filled_icon.rs +++ b/packages/icons/leptos/src/drawing_pin_filled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DrawingPinFilledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/drawing_pin_icon.rs b/packages/icons/leptos/src/drawing_pin_icon.rs index 2e3f8383..af91526a 100644 --- a/packages/icons/leptos/src/drawing_pin_icon.rs +++ b/packages/icons/leptos/src/drawing_pin_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DrawingPinIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/dropdown_menu_icon.rs b/packages/icons/leptos/src/dropdown_menu_icon.rs index 1532f3c2..80303e72 100644 --- a/packages/icons/leptos/src/dropdown_menu_icon.rs +++ b/packages/icons/leptos/src/dropdown_menu_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn DropdownMenuIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/enter_full_screen_icon.rs b/packages/icons/leptos/src/enter_full_screen_icon.rs index 1b7f0b87..ffc0bfd0 100644 --- a/packages/icons/leptos/src/enter_full_screen_icon.rs +++ b/packages/icons/leptos/src/enter_full_screen_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn EnterFullScreenIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/enter_icon.rs b/packages/icons/leptos/src/enter_icon.rs index aff196d0..c4b6abcb 100644 --- a/packages/icons/leptos/src/enter_icon.rs +++ b/packages/icons/leptos/src/enter_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn EnterIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/envelope_closed_icon.rs b/packages/icons/leptos/src/envelope_closed_icon.rs index a43a3254..881fa602 100644 --- a/packages/icons/leptos/src/envelope_closed_icon.rs +++ b/packages/icons/leptos/src/envelope_closed_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn EnvelopeClosedIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/envelope_open_icon.rs b/packages/icons/leptos/src/envelope_open_icon.rs index d1abee97..564bc3c0 100644 --- a/packages/icons/leptos/src/envelope_open_icon.rs +++ b/packages/icons/leptos/src/envelope_open_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn EnvelopeOpenIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/eraser_icon.rs b/packages/icons/leptos/src/eraser_icon.rs index 40285eed..699584e3 100644 --- a/packages/icons/leptos/src/eraser_icon.rs +++ b/packages/icons/leptos/src/eraser_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn EraserIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/exclamation_triangle_icon.rs b/packages/icons/leptos/src/exclamation_triangle_icon.rs index 5eea25b3..970643eb 100644 --- a/packages/icons/leptos/src/exclamation_triangle_icon.rs +++ b/packages/icons/leptos/src/exclamation_triangle_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ExclamationTriangleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/exit_full_screen_icon.rs b/packages/icons/leptos/src/exit_full_screen_icon.rs index 55ef3007..50d64ab8 100644 --- a/packages/icons/leptos/src/exit_full_screen_icon.rs +++ b/packages/icons/leptos/src/exit_full_screen_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ExitFullScreenIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/exit_icon.rs b/packages/icons/leptos/src/exit_icon.rs index a9c148c1..c23d801d 100644 --- a/packages/icons/leptos/src/exit_icon.rs +++ b/packages/icons/leptos/src/exit_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ExitIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/external_link_icon.rs b/packages/icons/leptos/src/external_link_icon.rs index da2bb803..920789eb 100644 --- a/packages/icons/leptos/src/external_link_icon.rs +++ b/packages/icons/leptos/src/external_link_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ExternalLinkIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/eye_closed_icon.rs b/packages/icons/leptos/src/eye_closed_icon.rs index b0e1fcd4..83de4108 100644 --- a/packages/icons/leptos/src/eye_closed_icon.rs +++ b/packages/icons/leptos/src/eye_closed_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn EyeClosedIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/eye_none_icon.rs b/packages/icons/leptos/src/eye_none_icon.rs index c6192055..0a6c8405 100644 --- a/packages/icons/leptos/src/eye_none_icon.rs +++ b/packages/icons/leptos/src/eye_none_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn EyeNoneIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/eye_open_icon.rs b/packages/icons/leptos/src/eye_open_icon.rs index 3f8e12eb..4fa0d595 100644 --- a/packages/icons/leptos/src/eye_open_icon.rs +++ b/packages/icons/leptos/src/eye_open_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn EyeOpenIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/face_icon.rs b/packages/icons/leptos/src/face_icon.rs index c94d68f7..829748b3 100644 --- a/packages/icons/leptos/src/face_icon.rs +++ b/packages/icons/leptos/src/face_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FaceIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/figma_logo_icon.rs b/packages/icons/leptos/src/figma_logo_icon.rs index f975485b..3d5b0d7d 100644 --- a/packages/icons/leptos/src/figma_logo_icon.rs +++ b/packages/icons/leptos/src/figma_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FigmaLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/file_icon.rs b/packages/icons/leptos/src/file_icon.rs index 26f58667..5c1879bc 100644 --- a/packages/icons/leptos/src/file_icon.rs +++ b/packages/icons/leptos/src/file_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FileIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/file_minus_icon.rs b/packages/icons/leptos/src/file_minus_icon.rs index 84295b13..f718f4e2 100644 --- a/packages/icons/leptos/src/file_minus_icon.rs +++ b/packages/icons/leptos/src/file_minus_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FileMinusIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/file_plus_icon.rs b/packages/icons/leptos/src/file_plus_icon.rs index 065a555f..c90ae1a9 100644 --- a/packages/icons/leptos/src/file_plus_icon.rs +++ b/packages/icons/leptos/src/file_plus_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FilePlusIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/file_text_icon.rs b/packages/icons/leptos/src/file_text_icon.rs index 067c428c..9666f0e4 100644 --- a/packages/icons/leptos/src/file_text_icon.rs +++ b/packages/icons/leptos/src/file_text_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FileTextIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/font_bold_icon.rs b/packages/icons/leptos/src/font_bold_icon.rs index b34d00ae..0eab8e5c 100644 --- a/packages/icons/leptos/src/font_bold_icon.rs +++ b/packages/icons/leptos/src/font_bold_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FontBoldIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/font_family_icon.rs b/packages/icons/leptos/src/font_family_icon.rs index 382b5709..4b9a4ded 100644 --- a/packages/icons/leptos/src/font_family_icon.rs +++ b/packages/icons/leptos/src/font_family_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FontFamilyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/font_italic_icon.rs b/packages/icons/leptos/src/font_italic_icon.rs index 3030e1b9..f00ac7b4 100644 --- a/packages/icons/leptos/src/font_italic_icon.rs +++ b/packages/icons/leptos/src/font_italic_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FontItalicIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/font_roman_icon.rs b/packages/icons/leptos/src/font_roman_icon.rs index 03cab880..860d2706 100644 --- a/packages/icons/leptos/src/font_roman_icon.rs +++ b/packages/icons/leptos/src/font_roman_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FontRomanIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/font_size_icon.rs b/packages/icons/leptos/src/font_size_icon.rs index ad6e4afb..69597be6 100644 --- a/packages/icons/leptos/src/font_size_icon.rs +++ b/packages/icons/leptos/src/font_size_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FontSizeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/font_style_icon.rs b/packages/icons/leptos/src/font_style_icon.rs index 689d9655..866a0d02 100644 --- a/packages/icons/leptos/src/font_style_icon.rs +++ b/packages/icons/leptos/src/font_style_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FontStyleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/frame_icon.rs b/packages/icons/leptos/src/frame_icon.rs index 863fd84e..e9c84a71 100644 --- a/packages/icons/leptos/src/frame_icon.rs +++ b/packages/icons/leptos/src/frame_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FrameIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/framer_logo_icon.rs b/packages/icons/leptos/src/framer_logo_icon.rs index c905bc8e..c18563b1 100644 --- a/packages/icons/leptos/src/framer_logo_icon.rs +++ b/packages/icons/leptos/src/framer_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn FramerLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/gear_icon.rs b/packages/icons/leptos/src/gear_icon.rs index c95ae599..001d070e 100644 --- a/packages/icons/leptos/src/gear_icon.rs +++ b/packages/icons/leptos/src/gear_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn GearIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/github_logo_icon.rs b/packages/icons/leptos/src/github_logo_icon.rs index 41ff9945..ee09fc15 100644 --- a/packages/icons/leptos/src/github_logo_icon.rs +++ b/packages/icons/leptos/src/github_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn GithubLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/globe_icon.rs b/packages/icons/leptos/src/globe_icon.rs index effabe4e..4630d6ba 100644 --- a/packages/icons/leptos/src/globe_icon.rs +++ b/packages/icons/leptos/src/globe_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn GlobeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/grid_icon.rs b/packages/icons/leptos/src/grid_icon.rs index 086e2662..22d3cc40 100644 --- a/packages/icons/leptos/src/grid_icon.rs +++ b/packages/icons/leptos/src/grid_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn GridIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/group_icon.rs b/packages/icons/leptos/src/group_icon.rs index debc7dd8..44daa2ed 100644 --- a/packages/icons/leptos/src/group_icon.rs +++ b/packages/icons/leptos/src/group_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn GroupIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/half_1_icon.rs b/packages/icons/leptos/src/half_1_icon.rs index d32d5688..81029fdc 100644 --- a/packages/icons/leptos/src/half_1_icon.rs +++ b/packages/icons/leptos/src/half_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Half1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/half_2_icon.rs b/packages/icons/leptos/src/half_2_icon.rs index eaf7624e..e6427853 100644 --- a/packages/icons/leptos/src/half_2_icon.rs +++ b/packages/icons/leptos/src/half_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Half2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/hamburger_menu_icon.rs b/packages/icons/leptos/src/hamburger_menu_icon.rs index dc380d5c..c713107c 100644 --- a/packages/icons/leptos/src/hamburger_menu_icon.rs +++ b/packages/icons/leptos/src/hamburger_menu_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn HamburgerMenuIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/hand_icon.rs b/packages/icons/leptos/src/hand_icon.rs index ee65828f..608eec13 100644 --- a/packages/icons/leptos/src/hand_icon.rs +++ b/packages/icons/leptos/src/hand_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn HandIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/heading_icon.rs b/packages/icons/leptos/src/heading_icon.rs index 6baad498..8264bbd3 100644 --- a/packages/icons/leptos/src/heading_icon.rs +++ b/packages/icons/leptos/src/heading_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn HeadingIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/heart_filled_icon.rs b/packages/icons/leptos/src/heart_filled_icon.rs index cc9dfaa5..34454e35 100644 --- a/packages/icons/leptos/src/heart_filled_icon.rs +++ b/packages/icons/leptos/src/heart_filled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn HeartFilledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/heart_icon.rs b/packages/icons/leptos/src/heart_icon.rs index 33242a7a..2ac3f9ba 100644 --- a/packages/icons/leptos/src/heart_icon.rs +++ b/packages/icons/leptos/src/heart_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn HeartIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/height_icon.rs b/packages/icons/leptos/src/height_icon.rs index 56f25e8f..55222a68 100644 --- a/packages/icons/leptos/src/height_icon.rs +++ b/packages/icons/leptos/src/height_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn HeightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/hobby_knife_icon.rs b/packages/icons/leptos/src/hobby_knife_icon.rs index dea91e10..0128e672 100644 --- a/packages/icons/leptos/src/hobby_knife_icon.rs +++ b/packages/icons/leptos/src/hobby_knife_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn HobbyKnifeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/home_icon.rs b/packages/icons/leptos/src/home_icon.rs index cc2507a1..ef6c4ba0 100644 --- a/packages/icons/leptos/src/home_icon.rs +++ b/packages/icons/leptos/src/home_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn HomeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/iconjar_logo_icon.rs b/packages/icons/leptos/src/iconjar_logo_icon.rs index f67a191b..d5d73deb 100644 --- a/packages/icons/leptos/src/iconjar_logo_icon.rs +++ b/packages/icons/leptos/src/iconjar_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn IconjarLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/id_card_icon.rs b/packages/icons/leptos/src/id_card_icon.rs index 190dab6e..c77653a6 100644 --- a/packages/icons/leptos/src/id_card_icon.rs +++ b/packages/icons/leptos/src/id_card_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn IdCardIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/image_icon.rs b/packages/icons/leptos/src/image_icon.rs index 18418bd7..72f03d2f 100644 --- a/packages/icons/leptos/src/image_icon.rs +++ b/packages/icons/leptos/src/image_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ImageIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/info_circled_icon.rs b/packages/icons/leptos/src/info_circled_icon.rs index d5794569..7f7cf423 100644 --- a/packages/icons/leptos/src/info_circled_icon.rs +++ b/packages/icons/leptos/src/info_circled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn InfoCircledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/input_icon.rs b/packages/icons/leptos/src/input_icon.rs index 57adfd5c..98d7e447 100644 --- a/packages/icons/leptos/src/input_icon.rs +++ b/packages/icons/leptos/src/input_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn InputIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/instagram_logo_icon.rs b/packages/icons/leptos/src/instagram_logo_icon.rs index 4c16e407..2b828f13 100644 --- a/packages/icons/leptos/src/instagram_logo_icon.rs +++ b/packages/icons/leptos/src/instagram_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn InstagramLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/keyboard_icon.rs b/packages/icons/leptos/src/keyboard_icon.rs index 835b9f1c..082c7eec 100644 --- a/packages/icons/leptos/src/keyboard_icon.rs +++ b/packages/icons/leptos/src/keyboard_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn KeyboardIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/lap_timer_icon.rs b/packages/icons/leptos/src/lap_timer_icon.rs index f2cd0f8b..186070d7 100644 --- a/packages/icons/leptos/src/lap_timer_icon.rs +++ b/packages/icons/leptos/src/lap_timer_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LapTimerIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/laptop_icon.rs b/packages/icons/leptos/src/laptop_icon.rs index f657715a..45faa7d9 100644 --- a/packages/icons/leptos/src/laptop_icon.rs +++ b/packages/icons/leptos/src/laptop_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LaptopIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/layers_icon.rs b/packages/icons/leptos/src/layers_icon.rs index b276d57e..71b7c7ec 100644 --- a/packages/icons/leptos/src/layers_icon.rs +++ b/packages/icons/leptos/src/layers_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LayersIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/layout_icon.rs b/packages/icons/leptos/src/layout_icon.rs index fd814768..9021ca24 100644 --- a/packages/icons/leptos/src/layout_icon.rs +++ b/packages/icons/leptos/src/layout_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LayoutIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/letter_case_capitalize_icon.rs b/packages/icons/leptos/src/letter_case_capitalize_icon.rs index 122c9885..cd9984e4 100644 --- a/packages/icons/leptos/src/letter_case_capitalize_icon.rs +++ b/packages/icons/leptos/src/letter_case_capitalize_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LetterCaseCapitalizeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/letter_case_lowercase_icon.rs b/packages/icons/leptos/src/letter_case_lowercase_icon.rs index 194418a6..9e637c73 100644 --- a/packages/icons/leptos/src/letter_case_lowercase_icon.rs +++ b/packages/icons/leptos/src/letter_case_lowercase_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LetterCaseLowercaseIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/letter_case_toggle_icon.rs b/packages/icons/leptos/src/letter_case_toggle_icon.rs index a00cfaf2..6df9421e 100644 --- a/packages/icons/leptos/src/letter_case_toggle_icon.rs +++ b/packages/icons/leptos/src/letter_case_toggle_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LetterCaseToggleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/letter_case_uppercase_icon.rs b/packages/icons/leptos/src/letter_case_uppercase_icon.rs index aecfd7a6..dfe8875f 100644 --- a/packages/icons/leptos/src/letter_case_uppercase_icon.rs +++ b/packages/icons/leptos/src/letter_case_uppercase_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LetterCaseUppercaseIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/letter_spacing_icon.rs b/packages/icons/leptos/src/letter_spacing_icon.rs index 0debd703..b1b875fd 100644 --- a/packages/icons/leptos/src/letter_spacing_icon.rs +++ b/packages/icons/leptos/src/letter_spacing_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LetterSpacingIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/lib.rs b/packages/icons/leptos/src/lib.rs index 0af16579..6550b9fb 100644 --- a/packages/icons/leptos/src/lib.rs +++ b/packages/icons/leptos/src/lib.rs @@ -1,3 +1,9 @@ +//! Leptos port of [Radix Icons](https://www.radix-ui.com/icons). +//! +//! Radix Icons is a crisp set of 15x15 icons. +//! +//! See [the Rust Radix book](https://radix.rustforweb.org/icons/index.html) for more documenation. + mod accessibility_icon; mod activity_log_icon; mod align_baseline_icon; diff --git a/packages/icons/leptos/src/lightning_bolt_icon.rs b/packages/icons/leptos/src/lightning_bolt_icon.rs index 3dc36976..dc8678e0 100644 --- a/packages/icons/leptos/src/lightning_bolt_icon.rs +++ b/packages/icons/leptos/src/lightning_bolt_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LightningBoltIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/line_height_icon.rs b/packages/icons/leptos/src/line_height_icon.rs index 28af743e..e4c5134f 100644 --- a/packages/icons/leptos/src/line_height_icon.rs +++ b/packages/icons/leptos/src/line_height_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LineHeightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/link_1_icon.rs b/packages/icons/leptos/src/link_1_icon.rs index 61bee1ce..4d6b83dc 100644 --- a/packages/icons/leptos/src/link_1_icon.rs +++ b/packages/icons/leptos/src/link_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Link1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/link_2_icon.rs b/packages/icons/leptos/src/link_2_icon.rs index 92c6efc9..60f20ffc 100644 --- a/packages/icons/leptos/src/link_2_icon.rs +++ b/packages/icons/leptos/src/link_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Link2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/link_break_1_icon.rs b/packages/icons/leptos/src/link_break_1_icon.rs index b82e81e2..95bf2aeb 100644 --- a/packages/icons/leptos/src/link_break_1_icon.rs +++ b/packages/icons/leptos/src/link_break_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LinkBreak1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/link_break_2_icon.rs b/packages/icons/leptos/src/link_break_2_icon.rs index 9c3e87bb..1e9a3d9f 100644 --- a/packages/icons/leptos/src/link_break_2_icon.rs +++ b/packages/icons/leptos/src/link_break_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LinkBreak2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/link_none_1_icon.rs b/packages/icons/leptos/src/link_none_1_icon.rs index bdac9cab..4a627273 100644 --- a/packages/icons/leptos/src/link_none_1_icon.rs +++ b/packages/icons/leptos/src/link_none_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LinkNone1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/link_none_2_icon.rs b/packages/icons/leptos/src/link_none_2_icon.rs index 77616505..5f7409d2 100644 --- a/packages/icons/leptos/src/link_none_2_icon.rs +++ b/packages/icons/leptos/src/link_none_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LinkNone2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/linkedin_logo_icon.rs b/packages/icons/leptos/src/linkedin_logo_icon.rs index 77f6e097..04b02806 100644 --- a/packages/icons/leptos/src/linkedin_logo_icon.rs +++ b/packages/icons/leptos/src/linkedin_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LinkedinLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/list_bullet_icon.rs b/packages/icons/leptos/src/list_bullet_icon.rs index e27a27f4..8ad1c36d 100644 --- a/packages/icons/leptos/src/list_bullet_icon.rs +++ b/packages/icons/leptos/src/list_bullet_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ListBulletIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/lock_closed_icon.rs b/packages/icons/leptos/src/lock_closed_icon.rs index da6a5345..a3a2d6f8 100644 --- a/packages/icons/leptos/src/lock_closed_icon.rs +++ b/packages/icons/leptos/src/lock_closed_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LockClosedIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/lock_open_1_icon.rs b/packages/icons/leptos/src/lock_open_1_icon.rs index 1a241c20..7ce96f42 100644 --- a/packages/icons/leptos/src/lock_open_1_icon.rs +++ b/packages/icons/leptos/src/lock_open_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LockOpen1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/lock_open_2_icon.rs b/packages/icons/leptos/src/lock_open_2_icon.rs index dd76588b..af088c66 100644 --- a/packages/icons/leptos/src/lock_open_2_icon.rs +++ b/packages/icons/leptos/src/lock_open_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LockOpen2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/loop_icon.rs b/packages/icons/leptos/src/loop_icon.rs index fbfc42ae..d554f239 100644 --- a/packages/icons/leptos/src/loop_icon.rs +++ b/packages/icons/leptos/src/loop_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn LoopIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/magic_wand_icon.rs b/packages/icons/leptos/src/magic_wand_icon.rs index 215878d8..fdbc6173 100644 --- a/packages/icons/leptos/src/magic_wand_icon.rs +++ b/packages/icons/leptos/src/magic_wand_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MagicWandIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/magnifying_glass_icon.rs b/packages/icons/leptos/src/magnifying_glass_icon.rs index 92e30d2c..d72fc888 100644 --- a/packages/icons/leptos/src/magnifying_glass_icon.rs +++ b/packages/icons/leptos/src/magnifying_glass_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MagnifyingGlassIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/margin_icon.rs b/packages/icons/leptos/src/margin_icon.rs index a5a1dbba..a81ffa9b 100644 --- a/packages/icons/leptos/src/margin_icon.rs +++ b/packages/icons/leptos/src/margin_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MarginIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/mask_off_icon.rs b/packages/icons/leptos/src/mask_off_icon.rs index 12ce0482..00e7ae25 100644 --- a/packages/icons/leptos/src/mask_off_icon.rs +++ b/packages/icons/leptos/src/mask_off_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MaskOffIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/mask_on_icon.rs b/packages/icons/leptos/src/mask_on_icon.rs index 9f097337..d014d26b 100644 --- a/packages/icons/leptos/src/mask_on_icon.rs +++ b/packages/icons/leptos/src/mask_on_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MaskOnIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/minus_circled_icon.rs b/packages/icons/leptos/src/minus_circled_icon.rs index 901b1385..27a625a6 100644 --- a/packages/icons/leptos/src/minus_circled_icon.rs +++ b/packages/icons/leptos/src/minus_circled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MinusCircledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/minus_icon.rs b/packages/icons/leptos/src/minus_icon.rs index c285edde..fd588472 100644 --- a/packages/icons/leptos/src/minus_icon.rs +++ b/packages/icons/leptos/src/minus_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MinusIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/mix_icon.rs b/packages/icons/leptos/src/mix_icon.rs index 99b1ad52..2530b38d 100644 --- a/packages/icons/leptos/src/mix_icon.rs +++ b/packages/icons/leptos/src/mix_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MixIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/mixer_horizontal_icon.rs b/packages/icons/leptos/src/mixer_horizontal_icon.rs index f3dedb96..eb968ef1 100644 --- a/packages/icons/leptos/src/mixer_horizontal_icon.rs +++ b/packages/icons/leptos/src/mixer_horizontal_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MixerHorizontalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/mixer_vertical_icon.rs b/packages/icons/leptos/src/mixer_vertical_icon.rs index 4a5357f1..86c8f962 100644 --- a/packages/icons/leptos/src/mixer_vertical_icon.rs +++ b/packages/icons/leptos/src/mixer_vertical_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MixerVerticalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/mobile_icon.rs b/packages/icons/leptos/src/mobile_icon.rs index 5776e098..00ead882 100644 --- a/packages/icons/leptos/src/mobile_icon.rs +++ b/packages/icons/leptos/src/mobile_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MobileIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/modulz_logo_icon.rs b/packages/icons/leptos/src/modulz_logo_icon.rs index 049f84d7..8ba005d6 100644 --- a/packages/icons/leptos/src/modulz_logo_icon.rs +++ b/packages/icons/leptos/src/modulz_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ModulzLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/moon_icon.rs b/packages/icons/leptos/src/moon_icon.rs index 1f384ad2..65fdfc20 100644 --- a/packages/icons/leptos/src/moon_icon.rs +++ b/packages/icons/leptos/src/moon_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MoonIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/move_icon.rs b/packages/icons/leptos/src/move_icon.rs index 25fd7abc..23aa33e5 100644 --- a/packages/icons/leptos/src/move_icon.rs +++ b/packages/icons/leptos/src/move_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn MoveIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/notion_logo_icon.rs b/packages/icons/leptos/src/notion_logo_icon.rs index 37d3b922..9f5031b5 100644 --- a/packages/icons/leptos/src/notion_logo_icon.rs +++ b/packages/icons/leptos/src/notion_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn NotionLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/opacity_icon.rs b/packages/icons/leptos/src/opacity_icon.rs index e2d18cda..3df6d55b 100644 --- a/packages/icons/leptos/src/opacity_icon.rs +++ b/packages/icons/leptos/src/opacity_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn OpacityIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/open_in_new_window_icon.rs b/packages/icons/leptos/src/open_in_new_window_icon.rs index 1e0c3fed..3877d026 100644 --- a/packages/icons/leptos/src/open_in_new_window_icon.rs +++ b/packages/icons/leptos/src/open_in_new_window_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn OpenInNewWindowIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/overline_icon.rs b/packages/icons/leptos/src/overline_icon.rs index f1d8b1e3..06ad9e43 100644 --- a/packages/icons/leptos/src/overline_icon.rs +++ b/packages/icons/leptos/src/overline_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn OverlineIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/padding_icon.rs b/packages/icons/leptos/src/padding_icon.rs index 8fc0c83e..b4719250 100644 --- a/packages/icons/leptos/src/padding_icon.rs +++ b/packages/icons/leptos/src/padding_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PaddingIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/paper_plane_icon.rs b/packages/icons/leptos/src/paper_plane_icon.rs index 730d62b6..fb168301 100644 --- a/packages/icons/leptos/src/paper_plane_icon.rs +++ b/packages/icons/leptos/src/paper_plane_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PaperPlaneIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pause_icon.rs b/packages/icons/leptos/src/pause_icon.rs index d025009f..6ffe0211 100644 --- a/packages/icons/leptos/src/pause_icon.rs +++ b/packages/icons/leptos/src/pause_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PauseIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pencil_1_icon.rs b/packages/icons/leptos/src/pencil_1_icon.rs index 3de1054d..725f65d9 100644 --- a/packages/icons/leptos/src/pencil_1_icon.rs +++ b/packages/icons/leptos/src/pencil_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Pencil1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pencil_2_icon.rs b/packages/icons/leptos/src/pencil_2_icon.rs index 4cc7cecd..7c9d1a1d 100644 --- a/packages/icons/leptos/src/pencil_2_icon.rs +++ b/packages/icons/leptos/src/pencil_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Pencil2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/person_icon.rs b/packages/icons/leptos/src/person_icon.rs index 30104bd1..5287643d 100644 --- a/packages/icons/leptos/src/person_icon.rs +++ b/packages/icons/leptos/src/person_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PersonIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pie_chart_icon.rs b/packages/icons/leptos/src/pie_chart_icon.rs index 8e38cf35..4c8f2b8e 100644 --- a/packages/icons/leptos/src/pie_chart_icon.rs +++ b/packages/icons/leptos/src/pie_chart_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PieChartIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pilcrow_icon.rs b/packages/icons/leptos/src/pilcrow_icon.rs index 9a6c528a..d4314446 100644 --- a/packages/icons/leptos/src/pilcrow_icon.rs +++ b/packages/icons/leptos/src/pilcrow_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PilcrowIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pin_bottom_icon.rs b/packages/icons/leptos/src/pin_bottom_icon.rs index 9278c0da..54a256ee 100644 --- a/packages/icons/leptos/src/pin_bottom_icon.rs +++ b/packages/icons/leptos/src/pin_bottom_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PinBottomIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pin_left_icon.rs b/packages/icons/leptos/src/pin_left_icon.rs index c2fbfc30..ed0d4f68 100644 --- a/packages/icons/leptos/src/pin_left_icon.rs +++ b/packages/icons/leptos/src/pin_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PinLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pin_right_icon.rs b/packages/icons/leptos/src/pin_right_icon.rs index 47c9384f..518cd298 100644 --- a/packages/icons/leptos/src/pin_right_icon.rs +++ b/packages/icons/leptos/src/pin_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PinRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/pin_top_icon.rs b/packages/icons/leptos/src/pin_top_icon.rs index 93a5f0c5..c0c8768f 100644 --- a/packages/icons/leptos/src/pin_top_icon.rs +++ b/packages/icons/leptos/src/pin_top_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PinTopIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/play_icon.rs b/packages/icons/leptos/src/play_icon.rs index e13138eb..303f2edc 100644 --- a/packages/icons/leptos/src/play_icon.rs +++ b/packages/icons/leptos/src/play_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PlayIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/plus_circled_icon.rs b/packages/icons/leptos/src/plus_circled_icon.rs index 971e4f8a..294f3488 100644 --- a/packages/icons/leptos/src/plus_circled_icon.rs +++ b/packages/icons/leptos/src/plus_circled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PlusCircledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/plus_icon.rs b/packages/icons/leptos/src/plus_icon.rs index 3266fdc5..413fc2e4 100644 --- a/packages/icons/leptos/src/plus_icon.rs +++ b/packages/icons/leptos/src/plus_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn PlusIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/question_mark_circled_icon.rs b/packages/icons/leptos/src/question_mark_circled_icon.rs index cce3499d..17129c65 100644 --- a/packages/icons/leptos/src/question_mark_circled_icon.rs +++ b/packages/icons/leptos/src/question_mark_circled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn QuestionMarkCircledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/question_mark_icon.rs b/packages/icons/leptos/src/question_mark_icon.rs index f01a66d1..81288f73 100644 --- a/packages/icons/leptos/src/question_mark_icon.rs +++ b/packages/icons/leptos/src/question_mark_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn QuestionMarkIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/quote_icon.rs b/packages/icons/leptos/src/quote_icon.rs index fcfa3f43..aedeb135 100644 --- a/packages/icons/leptos/src/quote_icon.rs +++ b/packages/icons/leptos/src/quote_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn QuoteIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/radiobutton_icon.rs b/packages/icons/leptos/src/radiobutton_icon.rs index 74591903..a499ecf0 100644 --- a/packages/icons/leptos/src/radiobutton_icon.rs +++ b/packages/icons/leptos/src/radiobutton_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn RadiobuttonIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/reader_icon.rs b/packages/icons/leptos/src/reader_icon.rs index e90bc7a5..7562d4bd 100644 --- a/packages/icons/leptos/src/reader_icon.rs +++ b/packages/icons/leptos/src/reader_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ReaderIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/reload_icon.rs b/packages/icons/leptos/src/reload_icon.rs index ce491254..8a3baa41 100644 --- a/packages/icons/leptos/src/reload_icon.rs +++ b/packages/icons/leptos/src/reload_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ReloadIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/reset_icon.rs b/packages/icons/leptos/src/reset_icon.rs index 4455abc4..f27e764a 100644 --- a/packages/icons/leptos/src/reset_icon.rs +++ b/packages/icons/leptos/src/reset_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ResetIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/resume_icon.rs b/packages/icons/leptos/src/resume_icon.rs index 0373f7c0..aad4d760 100644 --- a/packages/icons/leptos/src/resume_icon.rs +++ b/packages/icons/leptos/src/resume_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ResumeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/rocket_icon.rs b/packages/icons/leptos/src/rocket_icon.rs index e0da9b6f..7bbe416a 100644 --- a/packages/icons/leptos/src/rocket_icon.rs +++ b/packages/icons/leptos/src/rocket_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn RocketIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/rotate_counter_clockwise_icon.rs b/packages/icons/leptos/src/rotate_counter_clockwise_icon.rs index f2f4868c..f144ee26 100644 --- a/packages/icons/leptos/src/rotate_counter_clockwise_icon.rs +++ b/packages/icons/leptos/src/rotate_counter_clockwise_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn RotateCounterClockwiseIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/row_spacing_icon.rs b/packages/icons/leptos/src/row_spacing_icon.rs index 93edda9f..1ec5fb6e 100644 --- a/packages/icons/leptos/src/row_spacing_icon.rs +++ b/packages/icons/leptos/src/row_spacing_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn RowSpacingIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/rows_icon.rs b/packages/icons/leptos/src/rows_icon.rs index 70a03d78..f00ebf36 100644 --- a/packages/icons/leptos/src/rows_icon.rs +++ b/packages/icons/leptos/src/rows_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn RowsIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/ruler_horizontal_icon.rs b/packages/icons/leptos/src/ruler_horizontal_icon.rs index e70202f1..fdf83b23 100644 --- a/packages/icons/leptos/src/ruler_horizontal_icon.rs +++ b/packages/icons/leptos/src/ruler_horizontal_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn RulerHorizontalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/ruler_square_icon.rs b/packages/icons/leptos/src/ruler_square_icon.rs index 9540fa07..5d7b7659 100644 --- a/packages/icons/leptos/src/ruler_square_icon.rs +++ b/packages/icons/leptos/src/ruler_square_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn RulerSquareIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/scissors_icon.rs b/packages/icons/leptos/src/scissors_icon.rs index eed0d10f..d33806dd 100644 --- a/packages/icons/leptos/src/scissors_icon.rs +++ b/packages/icons/leptos/src/scissors_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ScissorsIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/section_icon.rs b/packages/icons/leptos/src/section_icon.rs index d20e91fe..18313455 100644 --- a/packages/icons/leptos/src/section_icon.rs +++ b/packages/icons/leptos/src/section_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SectionIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/sewing_pin_filled_icon.rs b/packages/icons/leptos/src/sewing_pin_filled_icon.rs index c7e236b0..2dc42205 100644 --- a/packages/icons/leptos/src/sewing_pin_filled_icon.rs +++ b/packages/icons/leptos/src/sewing_pin_filled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SewingPinFilledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/sewing_pin_icon.rs b/packages/icons/leptos/src/sewing_pin_icon.rs index 0bea0dbe..beec86e5 100644 --- a/packages/icons/leptos/src/sewing_pin_icon.rs +++ b/packages/icons/leptos/src/sewing_pin_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SewingPinIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/shadow_icon.rs b/packages/icons/leptos/src/shadow_icon.rs index ae83d694..19c501a8 100644 --- a/packages/icons/leptos/src/shadow_icon.rs +++ b/packages/icons/leptos/src/shadow_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ShadowIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/shadow_inner_icon.rs b/packages/icons/leptos/src/shadow_inner_icon.rs index 0b399fb9..ea8d2e8e 100644 --- a/packages/icons/leptos/src/shadow_inner_icon.rs +++ b/packages/icons/leptos/src/shadow_inner_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ShadowInnerIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/shadow_none_icon.rs b/packages/icons/leptos/src/shadow_none_icon.rs index 7f79b3a4..25842a3c 100644 --- a/packages/icons/leptos/src/shadow_none_icon.rs +++ b/packages/icons/leptos/src/shadow_none_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ShadowNoneIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/shadow_outer_icon.rs b/packages/icons/leptos/src/shadow_outer_icon.rs index 8d2634b5..5fbe4eb2 100644 --- a/packages/icons/leptos/src/shadow_outer_icon.rs +++ b/packages/icons/leptos/src/shadow_outer_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ShadowOuterIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > + fill=color + > } } diff --git a/packages/icons/leptos/src/share_1_icon.rs b/packages/icons/leptos/src/share_1_icon.rs index 6f6f1c63..22821f63 100644 --- a/packages/icons/leptos/src/share_1_icon.rs +++ b/packages/icons/leptos/src/share_1_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Share1Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/share_2_icon.rs b/packages/icons/leptos/src/share_2_icon.rs index 0bda2556..ee32b9cc 100644 --- a/packages/icons/leptos/src/share_2_icon.rs +++ b/packages/icons/leptos/src/share_2_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn Share2Icon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/shuffle_icon.rs b/packages/icons/leptos/src/shuffle_icon.rs index b1d02c92..90a9e63b 100644 --- a/packages/icons/leptos/src/shuffle_icon.rs +++ b/packages/icons/leptos/src/shuffle_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ShuffleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/size_icon.rs b/packages/icons/leptos/src/size_icon.rs index 32d2d285..404e731e 100644 --- a/packages/icons/leptos/src/size_icon.rs +++ b/packages/icons/leptos/src/size_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SizeIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/sketch_logo_icon.rs b/packages/icons/leptos/src/sketch_logo_icon.rs index ad04156b..9a1a020c 100644 --- a/packages/icons/leptos/src/sketch_logo_icon.rs +++ b/packages/icons/leptos/src/sketch_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SketchLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/slash_icon.rs b/packages/icons/leptos/src/slash_icon.rs index c9d7c1f0..e4e0c42a 100644 --- a/packages/icons/leptos/src/slash_icon.rs +++ b/packages/icons/leptos/src/slash_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SlashIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/slider_icon.rs b/packages/icons/leptos/src/slider_icon.rs index a088147d..f0a4fcba 100644 --- a/packages/icons/leptos/src/slider_icon.rs +++ b/packages/icons/leptos/src/slider_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SliderIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/space_between_horizontally_icon.rs b/packages/icons/leptos/src/space_between_horizontally_icon.rs index 7b3bff84..f3a4e4c7 100644 --- a/packages/icons/leptos/src/space_between_horizontally_icon.rs +++ b/packages/icons/leptos/src/space_between_horizontally_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SpaceBetweenHorizontallyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/space_between_vertically_icon.rs b/packages/icons/leptos/src/space_between_vertically_icon.rs index 9a1328ed..d618fbe0 100644 --- a/packages/icons/leptos/src/space_between_vertically_icon.rs +++ b/packages/icons/leptos/src/space_between_vertically_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SpaceBetweenVerticallyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/space_evenly_horizontally_icon.rs b/packages/icons/leptos/src/space_evenly_horizontally_icon.rs index f4178059..3eb047df 100644 --- a/packages/icons/leptos/src/space_evenly_horizontally_icon.rs +++ b/packages/icons/leptos/src/space_evenly_horizontally_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SpaceEvenlyHorizontallyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/space_evenly_vertically_icon.rs b/packages/icons/leptos/src/space_evenly_vertically_icon.rs index c14f9e72..95620bd4 100644 --- a/packages/icons/leptos/src/space_evenly_vertically_icon.rs +++ b/packages/icons/leptos/src/space_evenly_vertically_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SpaceEvenlyVerticallyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/speaker_loud_icon.rs b/packages/icons/leptos/src/speaker_loud_icon.rs index 82b1337b..336127c3 100644 --- a/packages/icons/leptos/src/speaker_loud_icon.rs +++ b/packages/icons/leptos/src/speaker_loud_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SpeakerLoudIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/speaker_moderate_icon.rs b/packages/icons/leptos/src/speaker_moderate_icon.rs index 5a09474c..c19deb35 100644 --- a/packages/icons/leptos/src/speaker_moderate_icon.rs +++ b/packages/icons/leptos/src/speaker_moderate_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SpeakerModerateIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/speaker_off_icon.rs b/packages/icons/leptos/src/speaker_off_icon.rs index aecf8aad..834459bd 100644 --- a/packages/icons/leptos/src/speaker_off_icon.rs +++ b/packages/icons/leptos/src/speaker_off_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SpeakerOffIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/speaker_quiet_icon.rs b/packages/icons/leptos/src/speaker_quiet_icon.rs index 54b50eef..c7cb2a98 100644 --- a/packages/icons/leptos/src/speaker_quiet_icon.rs +++ b/packages/icons/leptos/src/speaker_quiet_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SpeakerQuietIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/square_icon.rs b/packages/icons/leptos/src/square_icon.rs index 2300382e..bcd315bc 100644 --- a/packages/icons/leptos/src/square_icon.rs +++ b/packages/icons/leptos/src/square_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SquareIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/stack_icon.rs b/packages/icons/leptos/src/stack_icon.rs index 09923077..29a8d688 100644 --- a/packages/icons/leptos/src/stack_icon.rs +++ b/packages/icons/leptos/src/stack_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StackIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/star_filled_icon.rs b/packages/icons/leptos/src/star_filled_icon.rs index ccd3929f..d1b01a8d 100644 --- a/packages/icons/leptos/src/star_filled_icon.rs +++ b/packages/icons/leptos/src/star_filled_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StarFilledIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/star_icon.rs b/packages/icons/leptos/src/star_icon.rs index 822a2aa3..34cff580 100644 --- a/packages/icons/leptos/src/star_icon.rs +++ b/packages/icons/leptos/src/star_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StarIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/stitches_logo_icon.rs b/packages/icons/leptos/src/stitches_logo_icon.rs index 7b2d7d1b..d5939c6e 100644 --- a/packages/icons/leptos/src/stitches_logo_icon.rs +++ b/packages/icons/leptos/src/stitches_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StitchesLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/stop_icon.rs b/packages/icons/leptos/src/stop_icon.rs index 17092ec0..6bb84991 100644 --- a/packages/icons/leptos/src/stop_icon.rs +++ b/packages/icons/leptos/src/stop_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StopIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/stopwatch_icon.rs b/packages/icons/leptos/src/stopwatch_icon.rs index 328864e1..e4422f40 100644 --- a/packages/icons/leptos/src/stopwatch_icon.rs +++ b/packages/icons/leptos/src/stopwatch_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StopwatchIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/stretch_horizontally_icon.rs b/packages/icons/leptos/src/stretch_horizontally_icon.rs index a3612502..86e8e618 100644 --- a/packages/icons/leptos/src/stretch_horizontally_icon.rs +++ b/packages/icons/leptos/src/stretch_horizontally_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StretchHorizontallyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/stretch_vertically_icon.rs b/packages/icons/leptos/src/stretch_vertically_icon.rs index 9617ad35..b1f1b15f 100644 --- a/packages/icons/leptos/src/stretch_vertically_icon.rs +++ b/packages/icons/leptos/src/stretch_vertically_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StretchVerticallyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/strikethrough_icon.rs b/packages/icons/leptos/src/strikethrough_icon.rs index 3effa100..f453a621 100644 --- a/packages/icons/leptos/src/strikethrough_icon.rs +++ b/packages/icons/leptos/src/strikethrough_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn StrikethroughIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/sun_icon.rs b/packages/icons/leptos/src/sun_icon.rs index 30fdc38d..90d7c4ea 100644 --- a/packages/icons/leptos/src/sun_icon.rs +++ b/packages/icons/leptos/src/sun_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SunIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/switch_icon.rs b/packages/icons/leptos/src/switch_icon.rs index 6437f0f8..fdad2e70 100644 --- a/packages/icons/leptos/src/switch_icon.rs +++ b/packages/icons/leptos/src/switch_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SwitchIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/symbol_icon.rs b/packages/icons/leptos/src/symbol_icon.rs index d649b5a3..e89d5454 100644 --- a/packages/icons/leptos/src/symbol_icon.rs +++ b/packages/icons/leptos/src/symbol_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn SymbolIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/table_icon.rs b/packages/icons/leptos/src/table_icon.rs index 853f534b..3fbd47e1 100644 --- a/packages/icons/leptos/src/table_icon.rs +++ b/packages/icons/leptos/src/table_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TableIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/target_icon.rs b/packages/icons/leptos/src/target_icon.rs index 7716e5a3..8ff022ab 100644 --- a/packages/icons/leptos/src/target_icon.rs +++ b/packages/icons/leptos/src/target_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TargetIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_align_bottom_icon.rs b/packages/icons/leptos/src/text_align_bottom_icon.rs index e20b5c44..71fa5b23 100644 --- a/packages/icons/leptos/src/text_align_bottom_icon.rs +++ b/packages/icons/leptos/src/text_align_bottom_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextAlignBottomIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_align_center_icon.rs b/packages/icons/leptos/src/text_align_center_icon.rs index 1a25ad2d..4a496376 100644 --- a/packages/icons/leptos/src/text_align_center_icon.rs +++ b/packages/icons/leptos/src/text_align_center_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextAlignCenterIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_align_justify_icon.rs b/packages/icons/leptos/src/text_align_justify_icon.rs index 0dfdee08..44640948 100644 --- a/packages/icons/leptos/src/text_align_justify_icon.rs +++ b/packages/icons/leptos/src/text_align_justify_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextAlignJustifyIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_align_left_icon.rs b/packages/icons/leptos/src/text_align_left_icon.rs index d59b988e..b7e4bda0 100644 --- a/packages/icons/leptos/src/text_align_left_icon.rs +++ b/packages/icons/leptos/src/text_align_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextAlignLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_align_middle_icon.rs b/packages/icons/leptos/src/text_align_middle_icon.rs index 630a517c..b639b365 100644 --- a/packages/icons/leptos/src/text_align_middle_icon.rs +++ b/packages/icons/leptos/src/text_align_middle_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextAlignMiddleIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_align_right_icon.rs b/packages/icons/leptos/src/text_align_right_icon.rs index cb2cc809..8f19fac5 100644 --- a/packages/icons/leptos/src/text_align_right_icon.rs +++ b/packages/icons/leptos/src/text_align_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextAlignRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_align_top_icon.rs b/packages/icons/leptos/src/text_align_top_icon.rs index 479d07f1..5db1da4e 100644 --- a/packages/icons/leptos/src/text_align_top_icon.rs +++ b/packages/icons/leptos/src/text_align_top_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextAlignTopIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_icon.rs b/packages/icons/leptos/src/text_icon.rs index bc74466c..7cf1c734 100644 --- a/packages/icons/leptos/src/text_icon.rs +++ b/packages/icons/leptos/src/text_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/text_none_icon.rs b/packages/icons/leptos/src/text_none_icon.rs index 7838d048..6da8c4bb 100644 --- a/packages/icons/leptos/src/text_none_icon.rs +++ b/packages/icons/leptos/src/text_none_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TextNoneIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/thick_arrow_down_icon.rs b/packages/icons/leptos/src/thick_arrow_down_icon.rs index c712a9d2..ad3943ba 100644 --- a/packages/icons/leptos/src/thick_arrow_down_icon.rs +++ b/packages/icons/leptos/src/thick_arrow_down_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ThickArrowDownIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/thick_arrow_left_icon.rs b/packages/icons/leptos/src/thick_arrow_left_icon.rs index 8c8a6388..b901cc3d 100644 --- a/packages/icons/leptos/src/thick_arrow_left_icon.rs +++ b/packages/icons/leptos/src/thick_arrow_left_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ThickArrowLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/thick_arrow_right_icon.rs b/packages/icons/leptos/src/thick_arrow_right_icon.rs index 55433191..f643f72f 100644 --- a/packages/icons/leptos/src/thick_arrow_right_icon.rs +++ b/packages/icons/leptos/src/thick_arrow_right_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ThickArrowRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/thick_arrow_up_icon.rs b/packages/icons/leptos/src/thick_arrow_up_icon.rs index 33c7a138..0969fdc8 100644 --- a/packages/icons/leptos/src/thick_arrow_up_icon.rs +++ b/packages/icons/leptos/src/thick_arrow_up_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ThickArrowUpIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/timer_icon.rs b/packages/icons/leptos/src/timer_icon.rs index 65c9e6f7..d3a9ad55 100644 --- a/packages/icons/leptos/src/timer_icon.rs +++ b/packages/icons/leptos/src/timer_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TimerIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/tokens_icon.rs b/packages/icons/leptos/src/tokens_icon.rs index dce7c6be..4d31d903 100644 --- a/packages/icons/leptos/src/tokens_icon.rs +++ b/packages/icons/leptos/src/tokens_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TokensIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/track_next_icon.rs b/packages/icons/leptos/src/track_next_icon.rs index 5e02ad96..b9d2ec5a 100644 --- a/packages/icons/leptos/src/track_next_icon.rs +++ b/packages/icons/leptos/src/track_next_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TrackNextIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/track_previous_icon.rs b/packages/icons/leptos/src/track_previous_icon.rs index d6873707..fd1194ad 100644 --- a/packages/icons/leptos/src/track_previous_icon.rs +++ b/packages/icons/leptos/src/track_previous_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TrackPreviousIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/transform_icon.rs b/packages/icons/leptos/src/transform_icon.rs index 43f19cab..5b05fd82 100644 --- a/packages/icons/leptos/src/transform_icon.rs +++ b/packages/icons/leptos/src/transform_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TransformIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/transparency_grid_icon.rs b/packages/icons/leptos/src/transparency_grid_icon.rs index 2a5f8dd7..2902eedd 100644 --- a/packages/icons/leptos/src/transparency_grid_icon.rs +++ b/packages/icons/leptos/src/transparency_grid_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TransparencyGridIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/trash_icon.rs b/packages/icons/leptos/src/trash_icon.rs index 262c393d..c85b8948 100644 --- a/packages/icons/leptos/src/trash_icon.rs +++ b/packages/icons/leptos/src/trash_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TrashIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/triangle_down_icon.rs b/packages/icons/leptos/src/triangle_down_icon.rs index 4daad779..d3e97dbe 100644 --- a/packages/icons/leptos/src/triangle_down_icon.rs +++ b/packages/icons/leptos/src/triangle_down_icon.rs @@ -1,21 +1,21 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TriangleDownIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - + } } diff --git a/packages/icons/leptos/src/triangle_left_icon.rs b/packages/icons/leptos/src/triangle_left_icon.rs index 656582f0..7fa42052 100644 --- a/packages/icons/leptos/src/triangle_left_icon.rs +++ b/packages/icons/leptos/src/triangle_left_icon.rs @@ -1,21 +1,21 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TriangleLeftIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - + } } diff --git a/packages/icons/leptos/src/triangle_right_icon.rs b/packages/icons/leptos/src/triangle_right_icon.rs index 977a61e1..a888130e 100644 --- a/packages/icons/leptos/src/triangle_right_icon.rs +++ b/packages/icons/leptos/src/triangle_right_icon.rs @@ -1,21 +1,21 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TriangleRightIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - + } } diff --git a/packages/icons/leptos/src/triangle_up_icon.rs b/packages/icons/leptos/src/triangle_up_icon.rs index 97d156fd..9c924911 100644 --- a/packages/icons/leptos/src/triangle_up_icon.rs +++ b/packages/icons/leptos/src/triangle_up_icon.rs @@ -1,21 +1,21 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TriangleUpIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { - + } } diff --git a/packages/icons/leptos/src/twitter_logo_icon.rs b/packages/icons/leptos/src/twitter_logo_icon.rs index 6c864247..b6af7238 100644 --- a/packages/icons/leptos/src/twitter_logo_icon.rs +++ b/packages/icons/leptos/src/twitter_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn TwitterLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/underline_icon.rs b/packages/icons/leptos/src/underline_icon.rs index 997541ff..3ff39468 100644 --- a/packages/icons/leptos/src/underline_icon.rs +++ b/packages/icons/leptos/src/underline_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn UnderlineIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/update_icon.rs b/packages/icons/leptos/src/update_icon.rs index 4787a0cc..cacff5b9 100644 --- a/packages/icons/leptos/src/update_icon.rs +++ b/packages/icons/leptos/src/update_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn UpdateIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/upload_icon.rs b/packages/icons/leptos/src/upload_icon.rs index 1b63ade8..173f3ddf 100644 --- a/packages/icons/leptos/src/upload_icon.rs +++ b/packages/icons/leptos/src/upload_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn UploadIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/value_icon.rs b/packages/icons/leptos/src/value_icon.rs index a92cf824..2f95b721 100644 --- a/packages/icons/leptos/src/value_icon.rs +++ b/packages/icons/leptos/src/value_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ValueIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/value_none_icon.rs b/packages/icons/leptos/src/value_none_icon.rs index 38b977c5..8cc978aa 100644 --- a/packages/icons/leptos/src/value_none_icon.rs +++ b/packages/icons/leptos/src/value_none_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ValueNoneIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/vercel_logo_icon.rs b/packages/icons/leptos/src/vercel_logo_icon.rs index d4b5dcf3..c9ee8726 100644 --- a/packages/icons/leptos/src/vercel_logo_icon.rs +++ b/packages/icons/leptos/src/vercel_logo_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn VercelLogoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/video_icon.rs b/packages/icons/leptos/src/video_icon.rs index 36595c8b..683e8523 100644 --- a/packages/icons/leptos/src/video_icon.rs +++ b/packages/icons/leptos/src/video_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn VideoIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/view_grid_icon.rs b/packages/icons/leptos/src/view_grid_icon.rs index 8276608c..6b001bf2 100644 --- a/packages/icons/leptos/src/view_grid_icon.rs +++ b/packages/icons/leptos/src/view_grid_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ViewGridIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/view_horizontal_icon.rs b/packages/icons/leptos/src/view_horizontal_icon.rs index 2403b9ff..23216884 100644 --- a/packages/icons/leptos/src/view_horizontal_icon.rs +++ b/packages/icons/leptos/src/view_horizontal_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ViewHorizontalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/view_none_icon.rs b/packages/icons/leptos/src/view_none_icon.rs index bd51e110..667eadea 100644 --- a/packages/icons/leptos/src/view_none_icon.rs +++ b/packages/icons/leptos/src/view_none_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ViewNoneIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/view_vertical_icon.rs b/packages/icons/leptos/src/view_vertical_icon.rs index 2d1c6a57..cac568e6 100644 --- a/packages/icons/leptos/src/view_vertical_icon.rs +++ b/packages/icons/leptos/src/view_vertical_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ViewVerticalIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/width_icon.rs b/packages/icons/leptos/src/width_icon.rs index 29db8658..90f07667 100644 --- a/packages/icons/leptos/src/width_icon.rs +++ b/packages/icons/leptos/src/width_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn WidthIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/zoom_in_icon.rs b/packages/icons/leptos/src/zoom_in_icon.rs index 13f1fc58..d331f282 100644 --- a/packages/icons/leptos/src/zoom_in_icon.rs +++ b/packages/icons/leptos/src/zoom_in_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ZoomInIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/leptos/src/zoom_out_icon.rs b/packages/icons/leptos/src/zoom_out_icon.rs index 8ab8d055..60e293d5 100644 --- a/packages/icons/leptos/src/zoom_out_icon.rs +++ b/packages/icons/leptos/src/zoom_out_icon.rs @@ -1,16 +1,16 @@ -use leptos::{svg::Svg, *}; +use leptos::{prelude::*, svg::Svg}; #[component] pub fn ZoomOutIcon( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, + #[prop(default = 15.into(), into)] width: Signal, + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, ) -> impl IntoView { view! { + > } } diff --git a/packages/icons/yew/README.md b/packages/icons/yew/README.md new file mode 100644 index 00000000..11024d52 --- /dev/null +++ b/packages/icons/yew/README.md @@ -0,0 +1,21 @@ +

+ + Rust Radix Logo + +

+ +

radix-yew-icons

+ +Radix Icons is a crisp set of 15x15 icons. + +[Rust Radix](https://github.com/RustForWeb/radix) is a Rust port of [Radix](https://www.radix-ui.com/primitives). + +## Documentation + +See [the Rust Radix book](https://radix.rustforweb.org/) for documentation. + +## Rust For Web + +The Rust Radix project is part of [Rust For Web](https://github.com/RustForWeb). + +[Rust For Web](https://github.com/RustForWeb) creates and ports web UI libraries for Rust. All projects are free and open source. diff --git a/packages/icons/yew/src/accessibility_icon.rs b/packages/icons/yew/src/accessibility_icon.rs index 712f2f11..a4afbb12 100644 --- a/packages/icons/yew/src/accessibility_icon.rs +++ b/packages/icons/yew/src/accessibility_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AccessibilityIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AccessibilityIcon(props: &AccessibilityIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="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" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/activity_log_icon.rs b/packages/icons/yew/src/activity_log_icon.rs index 06840477..8cc26b01 100644 --- a/packages/icons/yew/src/activity_log_icon.rs +++ b/packages/icons/yew/src/activity_log_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ActivityLogIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ActivityLogIcon(props: &ActivityLogIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="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" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/align_baseline_icon.rs b/packages/icons/yew/src/align_baseline_icon.rs index 77d5c154..4e46e69c 100644 --- a/packages/icons/yew/src/align_baseline_icon.rs +++ b/packages/icons/yew/src/align_baseline_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AlignBaselineIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AlignBaselineIcon(props: &AlignBaselineIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M10.5 1.75003C10.7107 1.75003 10.8988 1.88217 10.9703 2.08042L13.9703 10.4C14.064 10.6598 13.9293 10.9463 13.6696 11.04C13.4098 11.1336 13.1233 10.999 13.0296 10.7392L12.0477 8.01606H8.95227L7.97031 10.7392C7.87664 10.999 7.59012 11.1336 7.33035 11.04C7.07058 10.9463 6.93593 10.6598 7.0296 10.4L10.0296 2.08042C10.1011 1.88217 10.2892 1.75003 10.5 1.75003ZM10.5 3.72402L11.7411 7.16606H9.25877L10.5 3.72402ZM2.49949 2.09997C2.7204 2.09997 2.89949 2.27906 2.89949 2.49997L2.89949 9.53428L4.21664 8.21713C4.37285 8.06092 4.62612 8.06092 4.78233 8.21713C4.93854 8.37334 4.93854 8.6266 4.78233 8.78281L2.78233 10.7828C2.70732 10.8578 2.60557 10.9 2.49949 10.9C2.3934 10.9 2.29166 10.8578 2.21664 10.7828L0.216645 8.78281C0.0604349 8.6266 0.0604349 8.37334 0.216645 8.21713C0.372854 8.06092 0.62612 8.06092 0.78233 8.21713L2.09949 9.53428L2.09949 2.49997C2.09949 2.27906 2.27857 2.09997 2.49949 2.09997ZM0.0999695 13.5001C0.0999695 13.2791 0.279056 13.1001 0.499969 13.1001H14.5C14.7209 13.1001 14.9 13.2791 14.9 13.5001C14.9 13.721 14.7209 13.9001 14.5 13.9001H0.499969C0.279056 13.9001 0.0999695 13.721 0.0999695 13.5001Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/align_bottom_icon.rs b/packages/icons/yew/src/align_bottom_icon.rs index 73d5919b..1e646b1d 100644 --- a/packages/icons/yew/src/align_bottom_icon.rs +++ b/packages/icons/yew/src/align_bottom_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AlignBottomIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AlignBottomIcon(props: &AlignBottomIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9 3C9 2.44772 8.55229 2 8 2H7C6.44772 2 6 2.44772 6 3L6 14H1.5C1.22386 14 1 14.2239 1 14.5C1 14.7761 1.22386 15 1.5 15L6 15H9H13.5C13.7761 15 14 14.7761 14 14.5C14 14.2239 13.7761 14 13.5 14H9V3Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/align_center_horizontally_icon.rs b/packages/icons/yew/src/align_center_horizontally_icon.rs index f38e746c..83127449 100644 --- a/packages/icons/yew/src/align_center_horizontally_icon.rs +++ b/packages/icons/yew/src/align_center_horizontally_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AlignCenterHorizontallyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AlignCenterHorizontallyIcon(props: &AlignCenterHorizontallyIconProps) -> Html { - let node_ref = use_node_ref(); html! { fill-rule="evenodd" clip-rule="evenodd" d="M1.99988 6C1.44759 6 0.999877 6.44772 0.999877 7L0.999877 8C0.999877 8.55228 1.44759 9 1.99988 9L6.99988 9L6.99988 13.5C6.99988 13.7761 7.22374 14 7.49988 14C7.77602 14 7.99988 13.7761 7.99988 13.5L7.99988 9L12.9999 9C13.5522 9 13.9999 8.55228 13.9999 8L13.9999 7C13.9999 6.44772 13.5522 6 12.9999 6L7.99988 6L7.99988 1.5C7.99988 1.22386 7.77602 1 7.49988 1C7.22373 1 6.99988 1.22386 6.99988 1.5L6.99988 6L1.99988 6Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/align_center_vertically_icon.rs b/packages/icons/yew/src/align_center_vertically_icon.rs index 156faac6..cdedd10a 100644 --- a/packages/icons/yew/src/align_center_vertically_icon.rs +++ b/packages/icons/yew/src/align_center_vertically_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AlignCenterVerticallyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AlignCenterVerticallyIcon(props: &AlignCenterVerticallyIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html fill-rule="evenodd" clip-rule="evenodd" d="M6.99988 1C6.44759 1 5.99988 1.44772 5.99988 2V7H1.49988C1.22374 7 0.999878 7.22386 0.999878 7.5C0.999878 7.77614 1.22374 8 1.49988 8H5.99988V13C5.99988 13.5523 6.44759 14 6.99988 14H7.99988C8.55216 14 8.99988 13.5523 8.99988 13V8H13.4999C13.776 8 13.9999 7.77614 13.9999 7.5C13.9999 7.22386 13.776 7 13.4999 7H8.99988V2C8.99988 1.44772 8.55216 1 7.99988 1L6.99988 1Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/align_left_icon.rs b/packages/icons/yew/src/align_left_icon.rs index e0a918e0..84baadef 100644 --- a/packages/icons/yew/src/align_left_icon.rs +++ b/packages/icons/yew/src/align_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AlignLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AlignLeftIcon(props: &AlignLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.499995 0.999995C0.223855 0.999995 -5.58458e-07 1.22385 -5.46388e-07 1.49999L-2.18554e-08 13.4999C-9.78492e-09 13.776 0.223855 13.9999 0.499995 13.9999C0.776136 13.9999 0.999991 13.776 0.999991 13.4999L0.999991 8.99993L12 8.99993C12.5523 8.99993 13 8.55222 13 7.99993L13 6.99994C13 6.44766 12.5523 5.99995 12 5.99995L0.999991 5.99995L0.999991 1.49999C0.999991 1.22385 0.776135 0.999995 0.499995 0.999995Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/align_right_icon.rs b/packages/icons/yew/src/align_right_icon.rs index 6731531c..c48bc03f 100644 --- a/packages/icons/yew/src/align_right_icon.rs +++ b/packages/icons/yew/src/align_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AlignRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AlignRightIcon(props: &AlignRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M14.4999 1C14.2237 1 13.9999 1.22386 13.9999 1.5L13.9999 6L2.99988 6C2.44759 6 1.99988 6.44772 1.99988 7L1.99988 8C1.99988 8.55228 2.44759 9 2.99988 9L13.9999 9L13.9999 13.5C13.9999 13.7761 14.2237 14 14.4999 14C14.776 14 14.9999 13.7761 14.9999 13.5L14.9999 9L14.9999 6L14.9999 1.5C14.9999 1.22386 14.776 1 14.4999 1Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/align_top_icon.rs b/packages/icons/yew/src/align_top_icon.rs index 88bc7330..b1a51370 100644 --- a/packages/icons/yew/src/align_top_icon.rs +++ b/packages/icons/yew/src/align_top_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AlignTopIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AlignTopIcon(props: &AlignTopIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.5 0C1.22386 0 1 0.223858 1 0.5C1 0.776142 1.22386 1 1.5 1H6V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V1H13.5C13.7761 1 14 0.776142 14 0.5C14 0.223858 13.7761 0 13.5 0H9H6H1.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/all_sides_icon.rs b/packages/icons/yew/src/all_sides_icon.rs index 7787c1dc..4e17c5d1 100644 --- a/packages/icons/yew/src/all_sides_icon.rs +++ b/packages/icons/yew/src/all_sides_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AllSidesIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AllSidesIcon(props: &AllSidesIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 0.75L9.75 3H5.25L7.5 0.75ZM7.5 14.25L9.75 12H5.25L7.5 14.25ZM3 5.25L0.75 7.5L3 9.75V5.25ZM14.25 7.5L12 5.25V9.75L14.25 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/angle_icon.rs b/packages/icons/yew/src/angle_icon.rs index 8bdfe8cd..395c8bfb 100644 --- a/packages/icons/yew/src/angle_icon.rs +++ b/packages/icons/yew/src/angle_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AngleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AngleIcon(props: &AngleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.8914 2.1937C9.1158 2.35464 9.16725 2.66701 9.00631 2.89141L2.47388 12H13.5C13.7761 12 14 12.2239 14 12.5C14 12.7762 13.7761 13 13.5 13H1.5C1.31254 13 1.14082 12.8952 1.0552 12.7284C0.969578 12.5616 0.984438 12.361 1.09369 12.2086L8.19369 2.30862C8.35462 2.08422 8.667 2.03277 8.8914 2.1937ZM11.1 6.50001C11.1 6.22387 11.3238 6.00001 11.6 6.00001C11.8761 6.00001 12.1 6.22387 12.1 6.50001C12.1 6.77615 11.8761 7.00001 11.6 7.00001C11.3238 7.00001 11.1 6.77615 11.1 6.50001ZM10.4 4.00001C10.1239 4.00001 9.90003 4.22387 9.90003 4.50001C9.90003 4.77615 10.1239 5.00001 10.4 5.00001C10.6762 5.00001 10.9 4.77615 10.9 4.50001C10.9 4.22387 10.6762 4.00001 10.4 4.00001ZM12.1 8.50001C12.1 8.22387 12.3238 8.00001 12.6 8.00001C12.8761 8.00001 13.1 8.22387 13.1 8.50001C13.1 8.77615 12.8761 9.00001 12.6 9.00001C12.3238 9.00001 12.1 8.77615 12.1 8.50001ZM13.4 10C13.1239 10 12.9 10.2239 12.9 10.5C12.9 10.7761 13.1239 11 13.4 11C13.6762 11 13.9 10.7761 13.9 10.5C13.9 10.2239 13.6762 10 13.4 10Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/archive_icon.rs b/packages/icons/yew/src/archive_icon.rs index 51137503..08d9db3d 100644 --- a/packages/icons/yew/src/archive_icon.rs +++ b/packages/icons/yew/src/archive_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArchiveIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArchiveIcon(props: &ArchiveIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.30902 1C2.93025 1 2.58398 1.214 2.41459 1.55279L1.05279 4.27639C1.01807 4.34582 1 4.42238 1 4.5V13C1 13.5523 1.44772 14 2 14H13C13.5523 14 14 13.5523 14 13V4.5C14 4.42238 13.9819 4.34582 13.9472 4.27639L12.5854 1.55281C12.416 1.21403 12.0698 1.00003 11.691 1.00003L7.5 1.00001L3.30902 1ZM3.30902 2L7 2.00001V4H2.30902L3.30902 2ZM8 4V2.00002L11.691 2.00003L12.691 4H8ZM7.5 5H13V13H2V5H7.5ZM5.5 7C5.22386 7 5 7.22386 5 7.5C5 7.77614 5.22386 8 5.5 8H9.5C9.77614 8 10 7.77614 10 7.5C10 7.22386 9.77614 7 9.5 7H5.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/arrow_bottom_left_icon.rs b/packages/icons/yew/src/arrow_bottom_left_icon.rs index 8de4e8e8..6b922911 100644 --- a/packages/icons/yew/src/arrow_bottom_left_icon.rs +++ b/packages/icons/yew/src/arrow_bottom_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArrowBottomLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArrowBottomLeftIcon(props: &ArrowBottomLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.3536 3.64644C11.5488 3.8417 11.5488 4.15828 11.3536 4.35354L4.70711 11L9 11C9.27614 11 9.5 11.2239 9.5 11.5C9.5 11.7761 9.27614 12 9 12L3.5 12C3.36739 12 3.24021 11.9473 3.14645 11.8536C3.05268 11.7598 3 11.6326 3 11.5L3 5.99999C3 5.72385 3.22386 5.49999 3.5 5.49999C3.77614 5.49999 4 5.72385 4 5.99999V10.2929L10.6464 3.64643C10.8417 3.45117 11.1583 3.45117 11.3536 3.64644Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/arrow_bottom_right_icon.rs b/packages/icons/yew/src/arrow_bottom_right_icon.rs index 32bbc6ac..0b5ef24b 100644 --- a/packages/icons/yew/src/arrow_bottom_right_icon.rs +++ b/packages/icons/yew/src/arrow_bottom_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArrowBottomRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArrowBottomRightIcon(props: &ArrowBottomRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.64645 3.64644C3.45118 3.8417 3.45118 4.15828 3.64645 4.35354L10.2929 11L6 11C5.72386 11 5.5 11.2239 5.5 11.5C5.5 11.7761 5.72386 12 6 12L11.5 12C11.6326 12 11.7598 11.9473 11.8536 11.8536C11.9473 11.7598 12 11.6326 12 11.5L12 5.99999C12 5.72385 11.7761 5.49999 11.5 5.49999C11.2239 5.49999 11 5.72385 11 5.99999V10.2929L4.35355 3.64643C4.15829 3.45117 3.84171 3.45117 3.64645 3.64644Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/arrow_down_icon.rs b/packages/icons/yew/src/arrow_down_icon.rs index d35a0bfe..04c4e55d 100644 --- a/packages/icons/yew/src/arrow_down_icon.rs +++ b/packages/icons/yew/src/arrow_down_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArrowDownIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArrowDownIcon(props: &ArrowDownIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 2C7.77614 2 8 2.22386 8 2.5L8 11.2929L11.1464 8.14645C11.3417 7.95118 11.6583 7.95118 11.8536 8.14645C12.0488 8.34171 12.0488 8.65829 11.8536 8.85355L7.85355 12.8536C7.75979 12.9473 7.63261 13 7.5 13C7.36739 13 7.24021 12.9473 7.14645 12.8536L3.14645 8.85355C2.95118 8.65829 2.95118 8.34171 3.14645 8.14645C3.34171 7.95118 3.65829 7.95118 3.85355 8.14645L7 11.2929L7 2.5C7 2.22386 7.22386 2 7.5 2Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/arrow_left_icon.rs b/packages/icons/yew/src/arrow_left_icon.rs index 46648039..2c430516 100644 --- a/packages/icons/yew/src/arrow_left_icon.rs +++ b/packages/icons/yew/src/arrow_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArrowLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArrowLeftIcon(props: &ArrowLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.85355 3.14645C7.04882 3.34171 7.04882 3.65829 6.85355 3.85355L3.70711 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H3.70711L6.85355 11.1464C7.04882 11.3417 7.04882 11.6583 6.85355 11.8536C6.65829 12.0488 6.34171 12.0488 6.14645 11.8536L2.14645 7.85355C1.95118 7.65829 1.95118 7.34171 2.14645 7.14645L6.14645 3.14645C6.34171 2.95118 6.65829 2.95118 6.85355 3.14645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/arrow_right_icon.rs b/packages/icons/yew/src/arrow_right_icon.rs index 7cd978e1..8fc900ba 100644 --- a/packages/icons/yew/src/arrow_right_icon.rs +++ b/packages/icons/yew/src/arrow_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArrowRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArrowRightIcon(props: &ArrowRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.14645 3.14645C8.34171 2.95118 8.65829 2.95118 8.85355 3.14645L12.8536 7.14645C13.0488 7.34171 13.0488 7.65829 12.8536 7.85355L8.85355 11.8536C8.65829 12.0488 8.34171 12.0488 8.14645 11.8536C7.95118 11.6583 7.95118 11.3417 8.14645 11.1464L11.2929 8H2.5C2.22386 8 2 7.77614 2 7.5C2 7.22386 2.22386 7 2.5 7H11.2929L8.14645 3.85355C7.95118 3.65829 7.95118 3.34171 8.14645 3.14645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/arrow_top_left_icon.rs b/packages/icons/yew/src/arrow_top_left_icon.rs index 8e2a589e..af3945ec 100644 --- a/packages/icons/yew/src/arrow_top_left_icon.rs +++ b/packages/icons/yew/src/arrow_top_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArrowTopLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArrowTopLeftIcon(props: &ArrowTopLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.3536 11.3536C11.5488 11.1583 11.5488 10.8417 11.3536 10.6465L4.70711 4L9 4C9.27614 4 9.5 3.77614 9.5 3.5C9.5 3.22386 9.27614 3 9 3L3.5 3C3.36739 3 3.24021 3.05268 3.14645 3.14645C3.05268 3.24022 3 3.36739 3 3.5L3 9.00001C3 9.27615 3.22386 9.50001 3.5 9.50001C3.77614 9.50001 4 9.27615 4 9.00001V4.70711L10.6464 11.3536C10.8417 11.5488 11.1583 11.5488 11.3536 11.3536Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/arrow_top_right_icon.rs b/packages/icons/yew/src/arrow_top_right_icon.rs index 9c413a55..8256cd09 100644 --- a/packages/icons/yew/src/arrow_top_right_icon.rs +++ b/packages/icons/yew/src/arrow_top_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArrowTopRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArrowTopRightIcon(props: &ArrowTopRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.64645 11.3536C3.45118 11.1583 3.45118 10.8417 3.64645 10.6465L10.2929 4L6 4C5.72386 4 5.5 3.77614 5.5 3.5C5.5 3.22386 5.72386 3 6 3L11.5 3C11.6326 3 11.7598 3.05268 11.8536 3.14645C11.9473 3.24022 12 3.36739 12 3.5L12 9.00001C12 9.27615 11.7761 9.50001 11.5 9.50001C11.2239 9.50001 11 9.27615 11 9.00001V4.70711L4.35355 11.3536C4.15829 11.5488 3.84171 11.5488 3.64645 11.3536Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/arrow_up_icon.rs b/packages/icons/yew/src/arrow_up_icon.rs index 640706e3..b3b167a2 100644 --- a/packages/icons/yew/src/arrow_up_icon.rs +++ b/packages/icons/yew/src/arrow_up_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ArrowUpIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ArrowUpIcon(props: &ArrowUpIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.14645 2.14645C7.34171 1.95118 7.65829 1.95118 7.85355 2.14645L11.8536 6.14645C12.0488 6.34171 12.0488 6.65829 11.8536 6.85355C11.6583 7.04882 11.3417 7.04882 11.1464 6.85355L8 3.70711L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 3.70711L3.85355 6.85355C3.65829 7.04882 3.34171 7.04882 3.14645 6.85355C2.95118 6.65829 2.95118 6.34171 3.14645 6.14645L7.14645 2.14645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/aspect_ratio_icon.rs b/packages/icons/yew/src/aspect_ratio_icon.rs index f0a808e2..d783d168 100644 --- a/packages/icons/yew/src/aspect_ratio_icon.rs +++ b/packages/icons/yew/src/aspect_ratio_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AspectRatioIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AspectRatioIcon(props: &AspectRatioIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.5 2H12.5C12.7761 2 13 2.22386 13 2.5V12.5C13 12.7761 12.7761 13 12.5 13H2.5C2.22386 13 2 12.7761 2 12.5V2.5C2 2.22386 2.22386 2 2.5 2ZM1 2.5C1 1.67157 1.67157 1 2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5ZM7.5 4C7.77614 4 8 3.77614 8 3.5C8 3.22386 7.77614 3 7.5 3C7.22386 3 7 3.22386 7 3.5C7 3.77614 7.22386 4 7.5 4ZM8 5.5C8 5.77614 7.77614 6 7.5 6C7.22386 6 7 5.77614 7 5.5C7 5.22386 7.22386 5 7.5 5C7.77614 5 8 5.22386 8 5.5ZM7.5 8C7.77614 8 8 7.77614 8 7.5C8 7.22386 7.77614 7 7.5 7C7.22386 7 7 7.22386 7 7.5C7 7.77614 7.22386 8 7.5 8ZM10 7.5C10 7.77614 9.77614 8 9.5 8C9.22386 8 9 7.77614 9 7.5C9 7.22386 9.22386 7 9.5 7C9.77614 7 10 7.22386 10 7.5ZM11.5 8C11.7761 8 12 7.77614 12 7.5C12 7.22386 11.7761 7 11.5 7C11.2239 7 11 7.22386 11 7.5C11 7.77614 11.2239 8 11.5 8Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/avatar_icon.rs b/packages/icons/yew/src/avatar_icon.rs index ea161e35..b52e195f 100644 --- a/packages/icons/yew/src/avatar_icon.rs +++ b/packages/icons/yew/src/avatar_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct AvatarIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn AvatarIcon(props: &AvatarIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.877014 7.49988C0.877014 3.84219 3.84216 0.877045 7.49985 0.877045C11.1575 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1575 14.1227 7.49985 14.1227C3.84216 14.1227 0.877014 11.1575 0.877014 7.49988ZM7.49985 1.82704C4.36683 1.82704 1.82701 4.36686 1.82701 7.49988C1.82701 8.97196 2.38774 10.3131 3.30727 11.3213C4.19074 9.94119 5.73818 9.02499 7.50023 9.02499C9.26206 9.02499 10.8093 9.94097 11.6929 11.3208C12.6121 10.3127 13.1727 8.97172 13.1727 7.49988C13.1727 4.36686 10.6328 1.82704 7.49985 1.82704ZM10.9818 11.9787C10.2839 10.7795 8.9857 9.97499 7.50023 9.97499C6.01458 9.97499 4.71624 10.7797 4.01845 11.9791C4.97952 12.7272 6.18765 13.1727 7.49985 13.1727C8.81227 13.1727 10.0206 12.727 10.9818 11.9787ZM5.14999 6.50487C5.14999 5.207 6.20212 4.15487 7.49999 4.15487C8.79786 4.15487 9.84999 5.207 9.84999 6.50487C9.84999 7.80274 8.79786 8.85487 7.49999 8.85487C6.20212 8.85487 5.14999 7.80274 5.14999 6.50487ZM7.49999 5.10487C6.72679 5.10487 6.09999 5.73167 6.09999 6.50487C6.09999 7.27807 6.72679 7.90487 7.49999 7.90487C8.27319 7.90487 8.89999 7.27807 8.89999 6.50487C8.89999 5.73167 8.27319 5.10487 7.49999 5.10487Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/backpack_icon.rs b/packages/icons/yew/src/backpack_icon.rs index 9a79ced7..23cdd06b 100644 --- a/packages/icons/yew/src/backpack_icon.rs +++ b/packages/icons/yew/src/backpack_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BackpackIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BackpackIcon(props: &BackpackIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5 1C5 0.447715 5.44772 0 6 0H9C9.55228 0 10 0.447715 10 1V2H14C14.5523 2 15 2.44772 15 3V6C15 6.8888 14.6131 7.68734 14 8.23608V11.5C14 12.3284 13.3284 13 12.5 13H2.5C1.67157 13 1 12.3284 1 11.5V8.2359C0.38697 7.68721 0 6.88883 0 6V3C0 2.44772 0.447716 2 1 2H5V1ZM9 1V2H6V1H9ZM1 3H5H5.5H9.5H10H14V6C14 6.654 13.6866 7.23467 13.1997 7.6004C12.8655 7.85144 12.4508 8 12 8H8V7.5C8 7.22386 7.77614 7 7.5 7C7.22386 7 7 7.22386 7 7.5V8H3C2.5493 8 2.1346 7.85133 1.80029 7.60022C1.31335 7.23446 1 6.65396 1 6V3ZM7 9H3C2.64961 9 2.31292 8.93972 2 8.82905V11.5C2 11.7761 2.22386 12 2.5 12H12.5C12.7761 12 13 11.7761 13 11.5V8.82915C12.6871 8.93978 12.3504 9 12 9H8V9.5C8 9.77614 7.77614 10 7.5 10C7.22386 10 7 9.77614 7 9.5V9Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/badge_icon.rs b/packages/icons/yew/src/badge_icon.rs index 88517d21..2254baf5 100644 --- a/packages/icons/yew/src/badge_icon.rs +++ b/packages/icons/yew/src/badge_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BadgeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BadgeIcon(props: &BadgeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.5 6H11.5C12.3284 6 13 6.67157 13 7.5C13 8.32843 12.3284 9 11.5 9H3.5C2.67157 9 2 8.32843 2 7.5C2 6.67157 2.67157 6 3.5 6ZM1 7.5C1 6.11929 2.11929 5 3.5 5H11.5C12.8807 5 14 6.11929 14 7.5C14 8.88071 12.8807 10 11.5 10H3.5C2.11929 10 1 8.88071 1 7.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H4.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/bar_chart_icon.rs b/packages/icons/yew/src/bar_chart_icon.rs index d88ad2da..5bd0b912 100644 --- a/packages/icons/yew/src/bar_chart_icon.rs +++ b/packages/icons/yew/src/bar_chart_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BarChartIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BarChartIcon(props: &BarChartIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.5 1C11.7761 1 12 1.22386 12 1.5V13.5C12 13.7761 11.7761 14 11.5 14C11.2239 14 11 13.7761 11 13.5V1.5C11 1.22386 11.2239 1 11.5 1ZM9.5 3C9.77614 3 10 3.22386 10 3.5V13.5C10 13.7761 9.77614 14 9.5 14C9.22386 14 9 13.7761 9 13.5V3.5C9 3.22386 9.22386 3 9.5 3ZM13.5 3C13.7761 3 14 3.22386 14 3.5V13.5C14 13.7761 13.7761 14 13.5 14C13.2239 14 13 13.7761 13 13.5V3.5C13 3.22386 13.2239 3 13.5 3ZM5.5 4C5.77614 4 6 4.22386 6 4.5V13.5C6 13.7761 5.77614 14 5.5 14C5.22386 14 5 13.7761 5 13.5V4.5C5 4.22386 5.22386 4 5.5 4ZM1.5 5C1.77614 5 2 5.22386 2 5.5V13.5C2 13.7761 1.77614 14 1.5 14C1.22386 14 1 13.7761 1 13.5V5.5C1 5.22386 1.22386 5 1.5 5ZM7.5 5C7.77614 5 8 5.22386 8 5.5V13.5C8 13.7761 7.77614 14 7.5 14C7.22386 14 7 13.7761 7 13.5V5.5C7 5.22386 7.22386 5 7.5 5ZM3.5 7C3.77614 7 4 7.22386 4 7.5V13.5C4 13.7761 3.77614 14 3.5 14C3.22386 14 3 13.7761 3 13.5V7.5C3 7.22386 3.22386 7 3.5 7Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/bell_icon.rs b/packages/icons/yew/src/bell_icon.rs index df3e8d30..befdeb03 100644 --- a/packages/icons/yew/src/bell_icon.rs +++ b/packages/icons/yew/src/bell_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BellIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BellIcon(props: &BellIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.60124 1.25086C8.60124 1.75459 8.26278 2.17927 7.80087 2.30989C10.1459 2.4647 12 4.41582 12 6.79999V10.25C12 11.0563 12.0329 11.7074 12.7236 12.0528C12.931 12.1565 13.0399 12.3892 12.9866 12.6149C12.9333 12.8406 12.7319 13 12.5 13H8.16144C8.36904 13.1832 8.49997 13.4513 8.49997 13.75C8.49997 14.3023 8.05226 14.75 7.49997 14.75C6.94769 14.75 6.49997 14.3023 6.49997 13.75C6.49997 13.4513 6.63091 13.1832 6.83851 13H2.49999C2.2681 13 2.06664 12.8406 2.01336 12.6149C1.96009 12.3892 2.06897 12.1565 2.27638 12.0528C2.96708 11.7074 2.99999 11.0563 2.99999 10.25V6.79999C2.99999 4.41537 4.85481 2.46396 7.20042 2.3098C6.73867 2.17908 6.40036 1.75448 6.40036 1.25086C6.40036 0.643104 6.89304 0.150421 7.5008 0.150421C8.10855 0.150421 8.60124 0.643104 8.60124 1.25086ZM7.49999 3.29999C5.56699 3.29999 3.99999 4.86699 3.99999 6.79999V10.25L4.00002 10.3009C4.0005 10.7463 4.00121 11.4084 3.69929 12H11.3007C10.9988 11.4084 10.9995 10.7463 11 10.3009L11 10.25V6.79999C11 4.86699 9.43299 3.29999 7.49999 3.29999Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/blending_mode_icon.rs b/packages/icons/yew/src/blending_mode_icon.rs index ca77582f..2c7b506b 100644 --- a/packages/icons/yew/src/blending_mode_icon.rs +++ b/packages/icons/yew/src/blending_mode_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BlendingModeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BlendingModeIcon(props: &BlendingModeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3 9C3 6.5 4.5 4.25 7.5 1.5C10.5 4.25 12 6.5 12 9C12 11.4853 9.98528 13.5 7.5 13.5C5.01472 13.5 3 11.4853 3 9ZM10.9524 8.30307C9.67347 7.82121 8.2879 8.46208 6.98956 9.06259C5.9327 9.55142 4.93365 10.0135 4.09695 9.82153C4.03357 9.55804 4 9.28294 4 9C4 7.11203 5.02686 5.27195 7.5 2.87357C9.66837 4.97639 10.725 6.65004 10.9524 8.30307Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/bookmark_filled_icon.rs b/packages/icons/yew/src/bookmark_filled_icon.rs index 14705b44..1d828afb 100644 --- a/packages/icons/yew/src/bookmark_filled_icon.rs +++ b/packages/icons/yew/src/bookmark_filled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BookmarkFilledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BookmarkFilledIcon(props: &BookmarkFilledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.5 2C3.22386 2 3 2.22386 3 2.5V13.5C3 13.6818 3.09864 13.8492 3.25762 13.9373C3.41659 14.0254 3.61087 14.0203 3.765 13.924L7.5 11.5896L11.235 13.924C11.3891 14.0203 11.5834 14.0254 11.7424 13.9373C11.9014 13.8492 12 13.6818 12 13.5V2.5C12 2.22386 11.7761 2 11.5 2H3.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/bookmark_icon.rs b/packages/icons/yew/src/bookmark_icon.rs index cf113446..4d123a5c 100644 --- a/packages/icons/yew/src/bookmark_icon.rs +++ b/packages/icons/yew/src/bookmark_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BookmarkIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BookmarkIcon(props: &BookmarkIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3 2.5C3 2.22386 3.22386 2 3.5 2H11.5C11.7761 2 12 2.22386 12 2.5V13.5C12 13.6818 11.9014 13.8492 11.7424 13.9373C11.5834 14.0254 11.3891 14.0203 11.235 13.924L7.5 11.5896L3.765 13.924C3.61087 14.0203 3.41659 14.0254 3.25762 13.9373C3.09864 13.8492 3 13.6818 3 13.5V2.5ZM4 3V12.5979L6.97 10.7416C7.29427 10.539 7.70573 10.539 8.03 10.7416L11 12.5979V3H4Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/border_all_icon.rs b/packages/icons/yew/src/border_all_icon.rs index 17477962..1f28aa54 100644 --- a/packages/icons/yew/src/border_all_icon.rs +++ b/packages/icons/yew/src/border_all_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderAllIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderAllIcon(props: &BorderAllIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.25 1C0.25 0.585786 0.585786 0.25 1 0.25H14C14.4142 0.25 14.75 0.585786 14.75 1V14C14.75 14.4142 14.4142 14.75 14 14.75H1C0.585786 14.75 0.25 14.4142 0.25 14V1ZM1.75 1.75V13.25H13.25V1.75H1.75Z" - fill={&props.color} + fill={& props.color} /> - - - - - - - - - + + + + + + + + + } } diff --git a/packages/icons/yew/src/border_bottom_icon.rs b/packages/icons/yew/src/border_bottom_icon.rs index 084a09d3..fc0ad016 100644 --- a/packages/icons/yew/src/border_bottom_icon.rs +++ b/packages/icons/yew/src/border_bottom_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderBottomIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderBottomIcon(props: &BorderBottomIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1 13.25L14 13.25V14.75L1 14.75V13.25Z" - fill={&props.color} + fill={& props.color} /> + + + - - - - - - - - - - - - - + + + + + + + + + + + Html { fill={& props.color} /> - - - - - - - - - + + + + + + + + } } diff --git a/packages/icons/yew/src/border_dashed_icon.rs b/packages/icons/yew/src/border_dashed_icon.rs index d09651d5..1fb2e43f 100644 --- a/packages/icons/yew/src/border_dashed_icon.rs +++ b/packages/icons/yew/src/border_dashed_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderDashedIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderDashedIcon(props: &BorderDashedIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0 7.5C0 7.22386 0.223858 7 0.5 7H3C3.27614 7 3.5 7.22386 3.5 7.5C3.5 7.77614 3.27614 8 3 8H0.5C0.223858 8 0 7.77614 0 7.5ZM5.75 7.5C5.75 7.22386 5.97386 7 6.25 7H8.75C9.02614 7 9.25 7.22386 9.25 7.5C9.25 7.77614 9.02614 8 8.75 8H6.25C5.97386 8 5.75 7.77614 5.75 7.5ZM12 7C11.7239 7 11.5 7.22386 11.5 7.5C11.5 7.77614 11.7239 8 12 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/border_dotted_icon.rs b/packages/icons/yew/src/border_dotted_icon.rs index db97e1cb..1085981e 100644 --- a/packages/icons/yew/src/border_dotted_icon.rs +++ b/packages/icons/yew/src/border_dotted_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderDottedIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderDottedIcon(props: &BorderDottedIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.5 6.625C1.01675 6.625 0.625 7.01675 0.625 7.5C0.625 7.98325 1.01675 8.375 1.5 8.375C1.98325 8.375 2.375 7.98325 2.375 7.5C2.375 7.01675 1.98325 6.625 1.5 6.625ZM5.5 6.625C5.01675 6.625 4.625 7.01675 4.625 7.5C4.625 7.98325 5.01675 8.375 5.5 8.375C5.98325 8.375 6.375 7.98325 6.375 7.5C6.375 7.01675 5.98325 6.625 5.5 6.625ZM9.5 6.625C9.01675 6.625 8.625 7.01675 8.625 7.5C8.625 7.98325 9.01675 8.375 9.5 8.375C9.98325 8.375 10.375 7.98325 10.375 7.5C10.375 7.01675 9.98325 6.625 9.5 6.625ZM12.625 7.5C12.625 7.01675 13.0168 6.625 13.5 6.625C13.9832 6.625 14.375 7.01675 14.375 7.5C14.375 7.98325 13.9832 8.375 13.5 8.375C13.0168 8.375 12.625 7.98325 12.625 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/border_left_icon.rs b/packages/icons/yew/src/border_left_icon.rs index e2c30624..3437e7ff 100644 --- a/packages/icons/yew/src/border_left_icon.rs +++ b/packages/icons/yew/src/border_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderLeftIcon(props: &BorderLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.75 1L1.75 14L0.249999 14L0.25 1L1.75 1Z" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 10 7)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 10 13)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 12 7)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 12 13)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 8 7)" - fill={&props.color} + fill={& props + .color} /> Html { height="1" rx=".5" transform="rotate(90 14 7)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 8 13)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 14 13)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 8 5)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 14 5)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 8 3)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 14 3)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 8 9)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 14 9)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 8 11)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 14 11)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 6 7)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 6 13)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 4 7)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 4 13)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 10 1)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 12 1)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 8 1)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 14 1)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 6 1)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(90 4 1)" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/border_none_icon.rs b/packages/icons/yew/src/border_none_icon.rs index 1a0b963b..256c3dc1 100644 --- a/packages/icons/yew/src/border_none_icon.rs +++ b/packages/icons/yew/src/border_none_icon.rs @@ -1,93 +1,94 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderNoneIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderNoneIcon(props: &BorderNoneIconProps) -> Html { - let node_ref = use_node_ref(); html! { - - - - - + + - - - - - - - + + + + + + + - - - - - - - + + + + + + + - - - - - - + + + + + + + - - - - + + + + + + } } diff --git a/packages/icons/yew/src/border_right_icon.rs b/packages/icons/yew/src/border_right_icon.rs index 6939ddd6..fed0e3f7 100644 --- a/packages/icons/yew/src/border_right_icon.rs +++ b/packages/icons/yew/src/border_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderRightIcon(props: &BorderRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.25 1L13.25 14L14.75 14L14.75 1L13.25 1Z" - fill={&props - .color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/border_solid_icon.rs b/packages/icons/yew/src/border_solid_icon.rs index e6c712df..0b5f214c 100644 --- a/packages/icons/yew/src/border_solid_icon.rs +++ b/packages/icons/yew/src/border_solid_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderSolidIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderSolidIcon(props: &BorderSolidIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.25 7.5C1.25 7.22386 1.47386 7 1.75 7H13.25C13.5261 7 13.75 7.22386 13.75 7.5C13.75 7.77614 13.5261 8 13.25 8H1.75C1.47386 8 1.25 7.77614 1.25 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/border_split_icon.rs b/packages/icons/yew/src/border_split_icon.rs index 41e5c36e..89cb14d5 100644 --- a/packages/icons/yew/src/border_split_icon.rs +++ b/packages/icons/yew/src/border_split_icon.rs @@ -1,54 +1,63 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderSplitIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderSplitIcon(props: &BorderSplitIconProps) -> Html { - let node_ref = use_node_ref(); html! { - - - - - + + + + + + + + + + - - - - - - - + + } diff --git a/packages/icons/yew/src/border_style_icon.rs b/packages/icons/yew/src/border_style_icon.rs index dd79419e..23c167c6 100644 --- a/packages/icons/yew/src/border_style_icon.rs +++ b/packages/icons/yew/src/border_style_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderStyleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderStyleIcon(props: &BorderStyleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H3.5C3.77614 7 4 7.22386 4 7.5C4 7.77614 3.77614 8 3.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11C1.77614 11 2 11.2239 2 11.5C2 11.7761 1.77614 12 1.5 12C1.22386 12 1 11.7761 1 11.5ZM3 11.5C3 11.2239 3.22386 11 3.5 11C3.77614 11 4 11.2239 4 11.5C4 11.7761 3.77614 12 3.5 12C3.22386 12 3 11.7761 3 11.5ZM5.5 11C5.22386 11 5 11.2239 5 11.5C5 11.7761 5.22386 12 5.5 12C5.77614 12 6 11.7761 6 11.5C6 11.2239 5.77614 11 5.5 11ZM7 11.5C7 11.2239 7.22386 11 7.5 11C7.77614 11 8 11.2239 8 11.5C8 11.7761 7.77614 12 7.5 12C7.22386 12 7 11.7761 7 11.5ZM9.5 11C9.22386 11 9 11.2239 9 11.5C9 11.7761 9.22386 12 9.5 12C9.77614 12 10 11.7761 10 11.5C10 11.2239 9.77614 11 9.5 11ZM11 11.5C11 11.2239 11.2239 11 11.5 11C11.7761 11 12 11.2239 12 11.5C12 11.7761 11.7761 12 11.5 12C11.2239 12 11 11.7761 11 11.5ZM13.5 11C13.2239 11 13 11.2239 13 11.5C13 11.7761 13.2239 12 13.5 12C13.7761 12 14 11.7761 14 11.5C14 11.2239 13.7761 11 13.5 11ZM6.5 7C6.22386 7 6 7.22386 6 7.5C6 7.77614 6.22386 8 6.5 8H8.5C8.77614 8 9 7.77614 9 7.5C9 7.22386 8.77614 7 8.5 7H6.5ZM11 7.5C11 7.22386 11.2239 7 11.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H11.5C11.2239 8 11 7.77614 11 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/border_top_icon.rs b/packages/icons/yew/src/border_top_icon.rs index 90eed540..474dfa00 100644 --- a/packages/icons/yew/src/border_top_icon.rs +++ b/packages/icons/yew/src/border_top_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderTopIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderTopIcon(props: &BorderTopIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M14 1.75L1 1.75L1 0.249999L14 0.25L14 1.75Z" - fill={&props - .color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 8 10)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 2 10)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 8 12)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 2 12)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 8 8)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 8 14)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 2 8)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 2 14)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 10 8)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 10 14)" - fill={&props + fill={& props .color} /> Html { height="1" rx=".5" transform="rotate(-180 12 8)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 12 14)" - fill={&props + fill={& props .color} /> Html { height="1" rx=".5" transform="rotate(-180 6 8)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 6 14)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 4 8)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 4 14)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 8 6)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 2 6)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 8 4)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 2 4)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 14 10)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 14 12)" - fill={&props + fill={& props .color} /> Html { height="1" rx=".5" transform="rotate(-180 14 8)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 14 14)" - fill={&props + fill={& props .color} /> Html { height="1" rx=".5" transform="rotate(-180 14 6)" - fill={&props.color} + fill={& props.color} /> Html { height="1" rx=".5" transform="rotate(-180 14 4)" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/border_width_icon.rs b/packages/icons/yew/src/border_width_icon.rs index de27d011..89583b24 100644 --- a/packages/icons/yew/src/border_width_icon.rs +++ b/packages/icons/yew/src/border_width_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BorderWidthIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BorderWidthIcon(props: &BorderWidthIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1 3H14V4H1V3ZM1 6H14V8H1V6ZM14 10.25H1V12.75H14V10.25Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/box_icon.rs b/packages/icons/yew/src/box_icon.rs index 3f46cfe7..310616d8 100644 --- a/packages/icons/yew/src/box_icon.rs +++ b/packages/icons/yew/src/box_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BoxIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BoxIcon(props: &BoxIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.5 2H2.5C2.22386 2 2 2.22386 2 2.5V12.5C2 12.7761 2.22386 13 2.5 13H12.5C12.7761 13 13 12.7761 13 12.5V2.5C13 2.22386 12.7761 2 12.5 2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/box_model_icon.rs b/packages/icons/yew/src/box_model_icon.rs index 7e07110d..4d2c66d6 100644 --- a/packages/icons/yew/src/box_model_icon.rs +++ b/packages/icons/yew/src/box_model_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct BoxModelIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn BoxModelIcon(props: &BoxModelIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.99998 0.999976C1.44769 0.999976 0.999976 1.44769 0.999976 1.99998V13C0.999976 13.5523 1.44769 14 1.99998 14H13C13.5523 14 14 13.5523 14 13V1.99998C14 1.44769 13.5523 0.999976 13 0.999976H1.99998ZM1.99998 1.99998L13 1.99998V13H1.99998V1.99998ZM4.49996 3.99996C4.22382 3.99996 3.99996 4.22382 3.99996 4.49996V10.5C3.99996 10.7761 4.22382 11 4.49996 11H10.5C10.7761 11 11 10.7761 11 10.5V4.49996C11 4.22382 10.7761 3.99996 10.5 3.99996H4.49996ZM4.99996 9.99996V4.99996H9.99996V9.99996H4.99996Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/button_icon.rs b/packages/icons/yew/src/button_icon.rs index f94a68a7..390a2a43 100644 --- a/packages/icons/yew/src/button_icon.rs +++ b/packages/icons/yew/src/button_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ButtonIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ButtonIcon(props: &ButtonIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 5H13C13.5523 5 14 5.44772 14 6V9C14 9.55228 13.5523 10 13 10H2C1.44772 10 1 9.55228 1 9V6C1 5.44772 1.44772 5 2 5ZM0 6C0 4.89543 0.895431 4 2 4H13C14.1046 4 15 4.89543 15 6V9C15 10.1046 14.1046 11 13 11H2C0.89543 11 0 10.1046 0 9V6ZM4.5 6.75C4.08579 6.75 3.75 7.08579 3.75 7.5C3.75 7.91421 4.08579 8.25 4.5 8.25C4.91421 8.25 5.25 7.91421 5.25 7.5C5.25 7.08579 4.91421 6.75 4.5 6.75ZM6.75 7.5C6.75 7.08579 7.08579 6.75 7.5 6.75C7.91421 6.75 8.25 7.08579 8.25 7.5C8.25 7.91421 7.91421 8.25 7.5 8.25C7.08579 8.25 6.75 7.91421 6.75 7.5ZM10.5 6.75C10.0858 6.75 9.75 7.08579 9.75 7.5C9.75 7.91421 10.0858 8.25 10.5 8.25C10.9142 8.25 11.25 7.91421 11.25 7.5C11.25 7.08579 10.9142 6.75 10.5 6.75Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/calendar_icon.rs b/packages/icons/yew/src/calendar_icon.rs index 4a36e5e1..f316d164 100644 --- a/packages/icons/yew/src/calendar_icon.rs +++ b/packages/icons/yew/src/calendar_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CalendarIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CalendarIcon(props: &CalendarIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.5 1C4.77614 1 5 1.22386 5 1.5V2H10V1.5C10 1.22386 10.2239 1 10.5 1C10.7761 1 11 1.22386 11 1.5V2H12.5C13.3284 2 14 2.67157 14 3.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V3.5C1 2.67157 1.67157 2 2.5 2H4V1.5C4 1.22386 4.22386 1 4.5 1ZM10 3V3.5C10 3.77614 10.2239 4 10.5 4C10.7761 4 11 3.77614 11 3.5V3H12.5C12.7761 3 13 3.22386 13 3.5V5H2V3.5C2 3.22386 2.22386 3 2.5 3H4V3.5C4 3.77614 4.22386 4 4.5 4C4.77614 4 5 3.77614 5 3.5V3H10ZM2 6V12.5C2 12.7761 2.22386 13 2.5 13H12.5C12.7761 13 13 12.7761 13 12.5V6H2ZM7 7.5C7 7.22386 7.22386 7 7.5 7C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8C7.22386 8 7 7.77614 7 7.5ZM9.5 7C9.22386 7 9 7.22386 9 7.5C9 7.77614 9.22386 8 9.5 8C9.77614 8 10 7.77614 10 7.5C10 7.22386 9.77614 7 9.5 7ZM11 7.5C11 7.22386 11.2239 7 11.5 7C11.7761 7 12 7.22386 12 7.5C12 7.77614 11.7761 8 11.5 8C11.2239 8 11 7.77614 11 7.5ZM11.5 9C11.2239 9 11 9.22386 11 9.5C11 9.77614 11.2239 10 11.5 10C11.7761 10 12 9.77614 12 9.5C12 9.22386 11.7761 9 11.5 9ZM9 9.5C9 9.22386 9.22386 9 9.5 9C9.77614 9 10 9.22386 10 9.5C10 9.77614 9.77614 10 9.5 10C9.22386 10 9 9.77614 9 9.5ZM7.5 9C7.22386 9 7 9.22386 7 9.5C7 9.77614 7.22386 10 7.5 10C7.77614 10 8 9.77614 8 9.5C8 9.22386 7.77614 9 7.5 9ZM5 9.5C5 9.22386 5.22386 9 5.5 9C5.77614 9 6 9.22386 6 9.5C6 9.77614 5.77614 10 5.5 10C5.22386 10 5 9.77614 5 9.5ZM3.5 9C3.22386 9 3 9.22386 3 9.5C3 9.77614 3.22386 10 3.5 10C3.77614 10 4 9.77614 4 9.5C4 9.22386 3.77614 9 3.5 9ZM3 11.5C3 11.2239 3.22386 11 3.5 11C3.77614 11 4 11.2239 4 11.5C4 11.7761 3.77614 12 3.5 12C3.22386 12 3 11.7761 3 11.5ZM5.5 11C5.22386 11 5 11.2239 5 11.5C5 11.7761 5.22386 12 5.5 12C5.77614 12 6 11.7761 6 11.5C6 11.2239 5.77614 11 5.5 11ZM7 11.5C7 11.2239 7.22386 11 7.5 11C7.77614 11 8 11.2239 8 11.5C8 11.7761 7.77614 12 7.5 12C7.22386 12 7 11.7761 7 11.5ZM9.5 11C9.22386 11 9 11.2239 9 11.5C9 11.7761 9.22386 12 9.5 12C9.77614 12 10 11.7761 10 11.5C10 11.2239 9.77614 11 9.5 11Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/camera_icon.rs b/packages/icons/yew/src/camera_icon.rs index bfd51741..9d5f077c 100644 --- a/packages/icons/yew/src/camera_icon.rs +++ b/packages/icons/yew/src/camera_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CameraIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CameraIcon(props: &CameraIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 3C1.44772 3 1 3.44772 1 4V11C1 11.5523 1.44772 12 2 12H13C13.5523 12 14 11.5523 14 11V4C14 3.44772 13.5523 3 13 3H2ZM0 4C0 2.89543 0.895431 2 2 2H13C14.1046 2 15 2.89543 15 4V11C15 12.1046 14.1046 13 13 13H2C0.895431 13 0 12.1046 0 11V4ZM2 4.25C2 4.11193 2.11193 4 2.25 4H4.75C4.88807 4 5 4.11193 5 4.25V5.75454C5 5.89261 4.88807 6.00454 4.75 6.00454H2.25C2.11193 6.00454 2 5.89261 2 5.75454V4.25ZM12.101 7.58421C12.101 9.02073 10.9365 10.1853 9.49998 10.1853C8.06346 10.1853 6.89893 9.02073 6.89893 7.58421C6.89893 6.14769 8.06346 4.98315 9.49998 4.98315C10.9365 4.98315 12.101 6.14769 12.101 7.58421ZM13.101 7.58421C13.101 9.57302 11.4888 11.1853 9.49998 11.1853C7.51117 11.1853 5.89893 9.57302 5.89893 7.58421C5.89893 5.5954 7.51117 3.98315 9.49998 3.98315C11.4888 3.98315 13.101 5.5954 13.101 7.58421Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/card_stack_icon.rs b/packages/icons/yew/src/card_stack_icon.rs index e22141f4..9b68829b 100644 --- a/packages/icons/yew/src/card_stack_icon.rs +++ b/packages/icons/yew/src/card_stack_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CardStackIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CardStackIcon(props: &CardStackIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 3.5C2 3.22386 2.22386 3 2.5 3H12.5C12.7761 3 13 3.22386 13 3.5V9.5C13 9.77614 12.7761 10 12.5 10H2.5C2.22386 10 2 9.77614 2 9.5V3.5ZM2 10.9146C1.4174 10.7087 1 10.1531 1 9.5V3.5C1 2.67157 1.67157 2 2.5 2H12.5C13.3284 2 14 2.67157 14 3.5V9.5C14 10.1531 13.5826 10.7087 13 10.9146V11.5C13 12.3284 12.3284 13 11.5 13H3.5C2.67157 13 2 12.3284 2 11.5V10.9146ZM12 11V11.5C12 11.7761 11.7761 12 11.5 12H3.5C3.22386 12 3 11.7761 3 11.5V11H12Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/card_stack_minus_icon.rs b/packages/icons/yew/src/card_stack_minus_icon.rs index 9f782df8..55c08873 100644 --- a/packages/icons/yew/src/card_stack_minus_icon.rs +++ b/packages/icons/yew/src/card_stack_minus_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CardStackMinusIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CardStackMinusIcon(props: &CardStackMinusIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.5 3C2.22386 3 2 3.22386 2 3.5V9.5C2 9.77614 2.22386 10 2.5 10H12.5C12.7761 10 13 9.77614 13 9.5V3.5C13 3.22386 12.7761 3 12.5 3H2.5ZM1 9.5C1 10.1531 1.4174 10.7087 2 10.9146V11.5C2 12.3284 2.67157 13 3.5 13H11.5C12.3284 13 13 12.3284 13 11.5V10.9146C13.5826 10.7087 14 10.1531 14 9.5V3.5C14 2.67157 13.3284 2 12.5 2H2.5C1.67157 2 1 2.67157 1 3.5V9.5ZM12 11.5V11H3V11.5C3 11.7761 3.22386 12 3.5 12H11.5C11.7761 12 12 11.7761 12 11.5ZM5.5 6C5.22386 6 5 6.22386 5 6.5C5 6.77614 5.22386 7 5.5 7H9.5C9.77614 7 10 6.77614 10 6.5C10 6.22386 9.77614 6 9.5 6H5.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/card_stack_plus_icon.rs b/packages/icons/yew/src/card_stack_plus_icon.rs index 1aaefc62..f376e159 100644 --- a/packages/icons/yew/src/card_stack_plus_icon.rs +++ b/packages/icons/yew/src/card_stack_plus_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CardStackPlusIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CardStackPlusIcon(props: &CardStackPlusIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 3.5C2 3.22386 2.22386 3 2.5 3H12.5C12.7761 3 13 3.22386 13 3.5V9.5C13 9.77614 12.7761 10 12.5 10H2.5C2.22386 10 2 9.77614 2 9.5V3.5ZM2 10.9146C1.4174 10.7087 1 10.1531 1 9.5V3.5C1 2.67157 1.67157 2 2.5 2H12.5C13.3284 2 14 2.67157 14 3.5V9.5C14 10.1531 13.5826 10.7087 13 10.9146V11.5C13 12.3284 12.3284 13 11.5 13H3.5C2.67157 13 2 12.3284 2 11.5V10.9146ZM12 11V11.5C12 11.7761 11.7761 12 11.5 12H3.5C3.22386 12 3 11.7761 3 11.5V11H12ZM5 6.5C5 6.22386 5.22386 6 5.5 6H7V4.5C7 4.22386 7.22386 4 7.5 4C7.77614 4 8 4.22386 8 4.5V6H9.5C9.77614 6 10 6.22386 10 6.5C10 6.77614 9.77614 7 9.5 7H8V8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5V7H5.5C5.22386 7 5 6.77614 5 6.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/caret_down_icon.rs b/packages/icons/yew/src/caret_down_icon.rs index 31d41c98..83b524e2 100644 --- a/packages/icons/yew/src/caret_down_icon.rs +++ b/packages/icons/yew/src/caret_down_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CaretDownIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CaretDownIcon(props: &CaretDownIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.18179 6.18181C4.35753 6.00608 4.64245 6.00608 4.81819 6.18181L7.49999 8.86362L10.1818 6.18181C10.3575 6.00608 10.6424 6.00608 10.8182 6.18181C10.9939 6.35755 10.9939 6.64247 10.8182 6.81821L7.81819 9.81821C7.73379 9.9026 7.61934 9.95001 7.49999 9.95001C7.38064 9.95001 7.26618 9.9026 7.18179 9.81821L4.18179 6.81821C4.00605 6.64247 4.00605 6.35755 4.18179 6.18181Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/caret_left_icon.rs b/packages/icons/yew/src/caret_left_icon.rs index a6586f9a..c9c0f3a6 100644 --- a/packages/icons/yew/src/caret_left_icon.rs +++ b/packages/icons/yew/src/caret_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CaretLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CaretLeftIcon(props: &CaretLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.81809 4.18179C8.99383 4.35753 8.99383 4.64245 8.81809 4.81819L6.13629 7.49999L8.81809 10.1818C8.99383 10.3575 8.99383 10.6424 8.81809 10.8182C8.64236 10.9939 8.35743 10.9939 8.1817 10.8182L5.1817 7.81819C5.09731 7.73379 5.0499 7.61933 5.0499 7.49999C5.0499 7.38064 5.09731 7.26618 5.1817 7.18179L8.1817 4.18179C8.35743 4.00605 8.64236 4.00605 8.81809 4.18179Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/caret_right_icon.rs b/packages/icons/yew/src/caret_right_icon.rs index e34f1d0e..9374d2cb 100644 --- a/packages/icons/yew/src/caret_right_icon.rs +++ b/packages/icons/yew/src/caret_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CaretRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CaretRightIcon(props: &CaretRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.18194 4.18185C6.35767 4.00611 6.6426 4.00611 6.81833 4.18185L9.81833 7.18185C9.90272 7.26624 9.95013 7.3807 9.95013 7.50005C9.95013 7.6194 9.90272 7.73386 9.81833 7.81825L6.81833 10.8182C6.6426 10.994 6.35767 10.994 6.18194 10.8182C6.0062 10.6425 6.0062 10.3576 6.18194 10.1819L8.86374 7.50005L6.18194 4.81825C6.0062 4.64251 6.0062 4.35759 6.18194 4.18185Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/caret_sort_icon.rs b/packages/icons/yew/src/caret_sort_icon.rs index 800c6aa5..8edcc2b4 100644 --- a/packages/icons/yew/src/caret_sort_icon.rs +++ b/packages/icons/yew/src/caret_sort_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CaretSortIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CaretSortIcon(props: &CaretSortIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.93179 5.43179C4.75605 5.60753 4.75605 5.89245 4.93179 6.06819C5.10753 6.24392 5.39245 6.24392 5.56819 6.06819L7.49999 4.13638L9.43179 6.06819C9.60753 6.24392 9.89245 6.24392 10.0682 6.06819C10.2439 5.89245 10.2439 5.60753 10.0682 5.43179L7.81819 3.18179C7.73379 3.0974 7.61933 3.04999 7.49999 3.04999C7.38064 3.04999 7.26618 3.0974 7.18179 3.18179L4.93179 5.43179ZM10.0682 9.56819C10.2439 9.39245 10.2439 9.10753 10.0682 8.93179C9.89245 8.75606 9.60753 8.75606 9.43179 8.93179L7.49999 10.8636L5.56819 8.93179C5.39245 8.75606 5.10753 8.75606 4.93179 8.93179C4.75605 9.10753 4.75605 9.39245 4.93179 9.56819L7.18179 11.8182C7.35753 11.9939 7.64245 11.9939 7.81819 11.8182L10.0682 9.56819Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/caret_up_icon.rs b/packages/icons/yew/src/caret_up_icon.rs index d705d6e0..9097b411 100644 --- a/packages/icons/yew/src/caret_up_icon.rs +++ b/packages/icons/yew/src/caret_up_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CaretUpIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CaretUpIcon(props: &CaretUpIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.18179 8.81819C4.00605 8.64245 4.00605 8.35753 4.18179 8.18179L7.18179 5.18179C7.26618 5.0974 7.38064 5.04999 7.49999 5.04999C7.61933 5.04999 7.73379 5.0974 7.81819 5.18179L10.8182 8.18179C10.9939 8.35753 10.9939 8.64245 10.8182 8.81819C10.6424 8.99392 10.3575 8.99392 10.1818 8.81819L7.49999 6.13638L4.81819 8.81819C4.64245 8.99392 4.35753 8.99392 4.18179 8.81819Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/chat_bubble_icon.rs b/packages/icons/yew/src/chat_bubble_icon.rs index 8f32769d..569dee64 100644 --- a/packages/icons/yew/src/chat_bubble_icon.rs +++ b/packages/icons/yew/src/chat_bubble_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ChatBubbleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ChatBubbleIcon(props: &ChatBubbleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.5 3L2.5 3.00002C1.67157 3.00002 1 3.6716 1 4.50002V9.50003C1 10.3285 1.67157 11 2.5 11H7.50003C7.63264 11 7.75982 11.0527 7.85358 11.1465L10 13.2929V11.5C10 11.2239 10.2239 11 10.5 11H12.5C13.3284 11 14 10.3285 14 9.50003V4.5C14 3.67157 13.3284 3 12.5 3ZM2.49999 2.00002L12.5 2C13.8807 2 15 3.11929 15 4.5V9.50003C15 10.8807 13.8807 12 12.5 12H11V14.5C11 14.7022 10.8782 14.8845 10.6913 14.9619C10.5045 15.0393 10.2894 14.9965 10.1464 14.8536L7.29292 12H2.5C1.11929 12 0 10.8807 0 9.50003V4.50002C0 3.11931 1.11928 2.00003 2.49999 2.00002Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/check_circled_icon.rs b/packages/icons/yew/src/check_circled_icon.rs index c0a47d0a..9f994a87 100644 --- a/packages/icons/yew/src/check_circled_icon.rs +++ b/packages/icons/yew/src/check_circled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CheckCircledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CheckCircledIcon(props: &CheckCircledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.877045C3.84222 0.877045 0.877075 3.84219 0.877075 7.49988C0.877075 11.1575 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1576 0.877045 7.49991 0.877045ZM1.82708 7.49988C1.82708 4.36686 4.36689 1.82704 7.49991 1.82704C10.6329 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49988ZM10.1589 5.53774C10.3178 5.31191 10.2636 5.00001 10.0378 4.84109C9.81194 4.68217 9.50004 4.73642 9.34112 4.96225L6.51977 8.97154L5.35681 7.78706C5.16334 7.59002 4.84677 7.58711 4.64973 7.78058C4.45268 7.97404 4.44978 8.29061 4.64325 8.48765L6.22658 10.1003C6.33054 10.2062 6.47617 10.2604 6.62407 10.2483C6.77197 10.2363 6.90686 10.1591 6.99226 10.0377L10.1589 5.53774Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/check_icon.rs b/packages/icons/yew/src/check_icon.rs index 6caa5dd5..52f386bd 100644 --- a/packages/icons/yew/src/check_icon.rs +++ b/packages/icons/yew/src/check_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CheckIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CheckIcon(props: &CheckIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.4669 3.72684C11.7558 3.91574 11.8369 4.30308 11.648 4.59198L7.39799 11.092C7.29783 11.2452 7.13556 11.3467 6.95402 11.3699C6.77247 11.3931 6.58989 11.3355 6.45446 11.2124L3.70446 8.71241C3.44905 8.48022 3.43023 8.08494 3.66242 7.82953C3.89461 7.57412 4.28989 7.55529 4.5453 7.78749L6.75292 9.79441L10.6018 3.90792C10.7907 3.61902 11.178 3.53795 11.4669 3.72684Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/checkbox_icon.rs b/packages/icons/yew/src/checkbox_icon.rs index 2e6d67a5..117fb437 100644 --- a/packages/icons/yew/src/checkbox_icon.rs +++ b/packages/icons/yew/src/checkbox_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CheckboxIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CheckboxIcon(props: &CheckboxIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3 3H12V12H3L3 3ZM2 3C2 2.44771 2.44772 2 3 2H12C12.5523 2 13 2.44772 13 3V12C13 12.5523 12.5523 13 12 13H3C2.44771 13 2 12.5523 2 12V3ZM10.3498 5.51105C10.506 5.28337 10.4481 4.97212 10.2204 4.81587C9.99275 4.65961 9.6815 4.71751 9.52525 4.94519L6.64048 9.14857L5.19733 7.40889C5.02102 7.19635 4.7058 7.16699 4.49327 7.34329C4.28073 7.5196 4.25137 7.83482 4.42767 8.04735L6.2934 10.2964C6.39348 10.4171 6.54437 10.4838 6.70097 10.4767C6.85757 10.4695 7.00177 10.3894 7.09047 10.2601L10.3498 5.51105Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/chevron_down_icon.rs b/packages/icons/yew/src/chevron_down_icon.rs index ed8005ed..2afd895f 100644 --- a/packages/icons/yew/src/chevron_down_icon.rs +++ b/packages/icons/yew/src/chevron_down_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ChevronDownIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ChevronDownIcon(props: &ChevronDownIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.13523 6.15803C3.3241 5.95657 3.64052 5.94637 3.84197 6.13523L7.5 9.56464L11.158 6.13523C11.3595 5.94637 11.6759 5.95657 11.8648 6.15803C12.0536 6.35949 12.0434 6.67591 11.842 6.86477L7.84197 10.6148C7.64964 10.7951 7.35036 10.7951 7.15803 10.6148L3.15803 6.86477C2.95657 6.67591 2.94637 6.35949 3.13523 6.15803Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/chevron_left_icon.rs b/packages/icons/yew/src/chevron_left_icon.rs index 5324f6b5..22da7f57 100644 --- a/packages/icons/yew/src/chevron_left_icon.rs +++ b/packages/icons/yew/src/chevron_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ChevronLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ChevronLeftIcon(props: &ChevronLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.84182 3.13514C9.04327 3.32401 9.05348 3.64042 8.86462 3.84188L5.43521 7.49991L8.86462 11.1579C9.05348 11.3594 9.04327 11.6758 8.84182 11.8647C8.64036 12.0535 8.32394 12.0433 8.13508 11.8419L4.38508 7.84188C4.20477 7.64955 4.20477 7.35027 4.38508 7.15794L8.13508 3.15794C8.32394 2.95648 8.64036 2.94628 8.84182 3.13514Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/chevron_right_icon.rs b/packages/icons/yew/src/chevron_right_icon.rs index 34c122ef..d3c5913f 100644 --- a/packages/icons/yew/src/chevron_right_icon.rs +++ b/packages/icons/yew/src/chevron_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ChevronRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ChevronRightIcon(props: &ChevronRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.1584 3.13508C6.35985 2.94621 6.67627 2.95642 6.86514 3.15788L10.6151 7.15788C10.7954 7.3502 10.7954 7.64949 10.6151 7.84182L6.86514 11.8418C6.67627 12.0433 6.35985 12.0535 6.1584 11.8646C5.95694 11.6757 5.94673 11.3593 6.1356 11.1579L9.565 7.49985L6.1356 3.84182C5.94673 3.64036 5.95694 3.32394 6.1584 3.13508Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/chevron_up_icon.rs b/packages/icons/yew/src/chevron_up_icon.rs index df2f77e8..fb412990 100644 --- a/packages/icons/yew/src/chevron_up_icon.rs +++ b/packages/icons/yew/src/chevron_up_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ChevronUpIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ChevronUpIcon(props: &ChevronUpIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.13523 8.84197C3.3241 9.04343 3.64052 9.05363 3.84197 8.86477L7.5 5.43536L11.158 8.86477C11.3595 9.05363 11.6759 9.04343 11.8648 8.84197C12.0536 8.64051 12.0434 8.32409 11.842 8.13523L7.84197 4.38523C7.64964 4.20492 7.35036 4.20492 7.15803 4.38523L3.15803 8.13523C2.95657 8.32409 2.94637 8.64051 3.13523 8.84197Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/circle_backslash_icon.rs b/packages/icons/yew/src/circle_backslash_icon.rs index 9ea254ea..0bf95b50 100644 --- a/packages/icons/yew/src/circle_backslash_icon.rs +++ b/packages/icons/yew/src/circle_backslash_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CircleBackslashIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CircleBackslashIcon(props: &CircleBackslashIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.877075C3.84222 0.877075 0.877075 3.84222 0.877075 7.49991C0.877075 11.1576 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1576 14.1227 7.49991C14.1227 3.84222 11.1576 0.877075 7.49991 0.877075ZM3.85768 3.15057C4.84311 2.32448 6.11342 1.82708 7.49991 1.82708C10.6329 1.82708 13.1727 4.36689 13.1727 7.49991C13.1727 8.88638 12.6753 10.1567 11.8492 11.1421L3.85768 3.15057ZM3.15057 3.85768C2.32448 4.84311 1.82708 6.11342 1.82708 7.49991C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C8.88638 13.1727 10.1567 12.6753 11.1421 11.8492L3.15057 3.85768Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/circle_icon.rs b/packages/icons/yew/src/circle_icon.rs index a9782487..d1b9b8f2 100644 --- a/packages/icons/yew/src/circle_icon.rs +++ b/packages/icons/yew/src/circle_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CircleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CircleIcon(props: &CircleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.877075 7.49991C0.877075 3.84222 3.84222 0.877075 7.49991 0.877075C11.1576 0.877075 14.1227 3.84222 14.1227 7.49991C14.1227 11.1576 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1576 0.877075 7.49991ZM7.49991 1.82708C4.36689 1.82708 1.82708 4.36689 1.82708 7.49991C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49991C13.1727 4.36689 10.6329 1.82708 7.49991 1.82708Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/clipboard_copy_icon.rs b/packages/icons/yew/src/clipboard_copy_icon.rs index ce83729a..38cb83ee 100644 --- a/packages/icons/yew/src/clipboard_copy_icon.rs +++ b/packages/icons/yew/src/clipboard_copy_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ClipboardCopyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ClipboardCopyIcon(props: &ClipboardCopyIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H7V13H3.5C3.22386 13 3 12.7761 3 12.5V2.5C3 2.22386 3.22386 2 3.5 2H4V2.25C4 2.66421 4.33579 3 4.75 3H10.25C10.6642 3 11 2.66421 11 2.25V2H11.5C11.7761 2 12 2.22386 12 2.5V7H13V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM9 8.5C9 8.77614 8.77614 9 8.5 9C8.22386 9 8 8.77614 8 8.5C8 8.22386 8.22386 8 8.5 8C8.77614 8 9 8.22386 9 8.5ZM10.5 9C10.7761 9 11 8.77614 11 8.5C11 8.22386 10.7761 8 10.5 8C10.2239 8 10 8.22386 10 8.5C10 8.77614 10.2239 9 10.5 9ZM13 8.5C13 8.77614 12.7761 9 12.5 9C12.2239 9 12 8.77614 12 8.5C12 8.22386 12.2239 8 12.5 8C12.7761 8 13 8.22386 13 8.5ZM14.5 9C14.7761 9 15 8.77614 15 8.5C15 8.22386 14.7761 8 14.5 8C14.2239 8 14 8.22386 14 8.5C14 8.77614 14.2239 9 14.5 9ZM15 10.5C15 10.7761 14.7761 11 14.5 11C14.2239 11 14 10.7761 14 10.5C14 10.2239 14.2239 10 14.5 10C14.7761 10 15 10.2239 15 10.5ZM14.5 13C14.7761 13 15 12.7761 15 12.5C15 12.2239 14.7761 12 14.5 12C14.2239 12 14 12.2239 14 12.5C14 12.7761 14.2239 13 14.5 13ZM14.5 15C14.7761 15 15 14.7761 15 14.5C15 14.2239 14.7761 14 14.5 14C14.2239 14 14 14.2239 14 14.5C14 14.7761 14.2239 15 14.5 15ZM8.5 11C8.77614 11 9 10.7761 9 10.5C9 10.2239 8.77614 10 8.5 10C8.22386 10 8 10.2239 8 10.5C8 10.7761 8.22386 11 8.5 11ZM9 12.5C9 12.7761 8.77614 13 8.5 13C8.22386 13 8 12.7761 8 12.5C8 12.2239 8.22386 12 8.5 12C8.77614 12 9 12.2239 9 12.5ZM8.5 15C8.77614 15 9 14.7761 9 14.5C9 14.2239 8.77614 14 8.5 14C8.22386 14 8 14.2239 8 14.5C8 14.7761 8.22386 15 8.5 15ZM11 14.5C11 14.7761 10.7761 15 10.5 15C10.2239 15 10 14.7761 10 14.5C10 14.2239 10.2239 14 10.5 14C10.7761 14 11 14.2239 11 14.5ZM12.5 15C12.7761 15 13 14.7761 13 14.5C13 14.2239 12.7761 14 12.5 14C12.2239 14 12 14.2239 12 14.5C12 14.7761 12.2239 15 12.5 15Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/clipboard_icon.rs b/packages/icons/yew/src/clipboard_icon.rs index 5a985632..bdbe63b0 100644 --- a/packages/icons/yew/src/clipboard_icon.rs +++ b/packages/icons/yew/src/clipboard_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ClipboardIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ClipboardIcon(props: &ClipboardIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5 2V1H10V2H5ZM4.75 0C4.33579 0 4 0.335786 4 0.75V1H3.5C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V2.5C13 1.67157 12.3284 1 11.5 1H11V0.75C11 0.335786 10.6642 0 10.25 0H4.75ZM11 2V2.25C11 2.66421 10.6642 3 10.25 3H4.75C4.33579 3 4 2.66421 4 2.25V2H3.5C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V2.5C12 2.22386 11.7761 2 11.5 2H11Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/clock_icon.rs b/packages/icons/yew/src/clock_icon.rs index 889d8bf2..b3e07517 100644 --- a/packages/icons/yew/src/clock_icon.rs +++ b/packages/icons/yew/src/clock_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ClockIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ClockIcon(props: &ClockIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.50009 0.877014C3.84241 0.877014 0.877258 3.84216 0.877258 7.49984C0.877258 11.1575 3.8424 14.1227 7.50009 14.1227C11.1578 14.1227 14.1229 11.1575 14.1229 7.49984C14.1229 3.84216 11.1577 0.877014 7.50009 0.877014ZM1.82726 7.49984C1.82726 4.36683 4.36708 1.82701 7.50009 1.82701C10.6331 1.82701 13.1729 4.36683 13.1729 7.49984C13.1729 10.6328 10.6331 13.1727 7.50009 13.1727C4.36708 13.1727 1.82726 10.6328 1.82726 7.49984ZM8 4.50001C8 4.22387 7.77614 4.00001 7.5 4.00001C7.22386 4.00001 7 4.22387 7 4.50001V7.50001C7 7.63262 7.05268 7.7598 7.14645 7.85357L9.14645 9.85357C9.34171 10.0488 9.65829 10.0488 9.85355 9.85357C10.0488 9.65831 10.0488 9.34172 9.85355 9.14646L8 7.29291V4.50001Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/code_icon.rs b/packages/icons/yew/src/code_icon.rs index 6daecc74..c7b15ec3 100644 --- a/packages/icons/yew/src/code_icon.rs +++ b/packages/icons/yew/src/code_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CodeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CodeIcon(props: &CodeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9.96424 2.68571C10.0668 2.42931 9.94209 2.13833 9.6857 2.03577C9.4293 1.93322 9.13832 2.05792 9.03576 2.31432L5.03576 12.3143C4.9332 12.5707 5.05791 12.8617 5.3143 12.9642C5.5707 13.0668 5.86168 12.9421 5.96424 12.6857L9.96424 2.68571ZM3.85355 5.14646C4.04882 5.34172 4.04882 5.6583 3.85355 5.85356L2.20711 7.50001L3.85355 9.14646C4.04882 9.34172 4.04882 9.6583 3.85355 9.85356C3.65829 10.0488 3.34171 10.0488 3.14645 9.85356L1.14645 7.85356C0.951184 7.6583 0.951184 7.34172 1.14645 7.14646L3.14645 5.14646C3.34171 4.9512 3.65829 4.9512 3.85355 5.14646ZM11.1464 5.14646C11.3417 4.9512 11.6583 4.9512 11.8536 5.14646L13.8536 7.14646C14.0488 7.34172 14.0488 7.6583 13.8536 7.85356L11.8536 9.85356C11.6583 10.0488 11.3417 10.0488 11.1464 9.85356C10.9512 9.6583 10.9512 9.34172 11.1464 9.14646L12.7929 7.50001L11.1464 5.85356C10.9512 5.6583 10.9512 5.34172 11.1464 5.14646Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/codesandbox_logo_icon.rs b/packages/icons/yew/src/codesandbox_logo_icon.rs index eaa14481..468a8ebf 100644 --- a/packages/icons/yew/src/codesandbox_logo_icon.rs +++ b/packages/icons/yew/src/codesandbox_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CodesandboxLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CodesandboxLogoIcon(props: &CodesandboxLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.71144 0.796902C7.57741 0.734357 7.42257 0.734357 7.28855 0.796902L1.28855 3.5969C1.11251 3.67905 0.999993 3.85573 0.999993 4.04999V10.95C0.999993 11.1443 1.11251 11.3209 1.28855 11.4031L7.28855 14.2031C7.42257 14.2656 7.57741 14.2656 7.71144 14.2031L13.7114 11.4031C13.8875 11.3209 14 11.1443 14 10.95V4.04999C14 3.85573 13.8875 3.67905 13.7114 3.5969L7.71144 0.796902ZM7.49999 3.15674L5.98039 2.51091L7.49999 1.80176L9.01959 2.51091L7.49999 3.15674ZM7.69556 4.16018L10.2382 3.07958L12.2719 4.02865L7.49999 6.05671L2.72808 4.02865L4.76181 3.07958L7.30442 4.16018C7.42939 4.2133 7.57059 4.2133 7.69556 4.16018ZM7.99999 6.93078L13 4.80578V7.92966L11.0821 8.8119C10.7273 8.97509 10.5 9.32988 10.5 9.72039V11.7982L7.99999 12.9649V6.93078ZM11.5 11.3316L13 10.6316V9.03039L11.5 9.72039V11.3316ZM6.99999 6.93078V12.9649L4.50231 11.7993V9.72036C4.50231 9.32985 4.27499 8.97506 3.92022 8.81187L1.99999 7.92856V4.80578L6.99999 6.93078ZM1.99999 10.6316L3.50231 11.3326L3.50231 9.72036L1.99999 9.02929V10.6316Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/color_wheel_icon.rs b/packages/icons/yew/src/color_wheel_icon.rs index 8e4a929d..84454ea3 100644 --- a/packages/icons/yew/src/color_wheel_icon.rs +++ b/packages/icons/yew/src/color_wheel_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ColorWheelIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ColorWheelIcon(props: &ColorWheelIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.877075 7.49985C0.877075 3.84216 3.84222 0.877014 7.49991 0.877014C11.1576 0.877014 14.1227 3.84216 14.1227 7.49985C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49985ZM3.78135 3.21565C4.68298 2.43239 5.83429 1.92904 7.09998 1.84089V6.53429L3.78135 3.21565ZM3.21567 3.78134C2.43242 4.68298 1.92909 5.83428 1.84095 7.09997H6.5343L3.21567 3.78134ZM6.5343 7.89997H1.84097C1.92916 9.16562 2.43253 10.3169 3.21579 11.2185L6.5343 7.89997ZM3.78149 11.7842C4.6831 12.5673 5.83435 13.0707 7.09998 13.1588V8.46566L3.78149 11.7842ZM7.89998 8.46566V13.1588C9.16559 13.0706 10.3168 12.5673 11.2184 11.7841L7.89998 8.46566ZM11.7841 11.2184C12.5673 10.3168 13.0707 9.16558 13.1588 7.89997H8.46567L11.7841 11.2184ZM8.46567 7.09997H13.1589C13.0707 5.83432 12.5674 4.68305 11.7842 3.78143L8.46567 7.09997ZM11.2185 3.21573C10.3169 2.43246 9.16565 1.92909 7.89998 1.8409V6.53429L11.2185 3.21573Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/column_spacing_icon.rs b/packages/icons/yew/src/column_spacing_icon.rs index 1ab1f21e..37dba8b2 100644 --- a/packages/icons/yew/src/column_spacing_icon.rs +++ b/packages/icons/yew/src/column_spacing_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ColumnSpacingIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ColumnSpacingIcon(props: &ColumnSpacingIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.00012 1.5C8.00012 1.22386 7.77626 1 7.50012 1C7.22398 1 7.00012 1.22386 7.00012 1.5V13.5C7.00012 13.7761 7.22398 14 7.50012 14C7.77626 14 8.00012 13.7761 8.00012 13.5V1.5ZM3.31812 5.818C3.49386 5.64227 3.49386 5.35734 3.31812 5.18161C3.14239 5.00587 2.85746 5.00587 2.68173 5.18161L0.681729 7.18161C0.505993 7.35734 0.505993 7.64227 0.681729 7.818L2.68173 9.818C2.85746 9.99374 3.14239 9.99374 3.31812 9.818C3.49386 9.64227 3.49386 9.35734 3.31812 9.18161L2.08632 7.9498H5.50017C5.7487 7.9498 5.95017 7.74833 5.95017 7.4998C5.95017 7.25128 5.7487 7.0498 5.50017 7.0498H2.08632L3.31812 5.818ZM12.3181 5.18161C12.1424 5.00587 11.8575 5.00587 11.6817 5.18161C11.506 5.35734 11.506 5.64227 11.6817 5.818L12.9135 7.0498H9.50017C9.25164 7.0498 9.05017 7.25128 9.05017 7.4998C9.05017 7.74833 9.25164 7.9498 9.50017 7.9498H12.9135L11.6817 9.18161C11.506 9.35734 11.506 9.64227 11.6817 9.818C11.8575 9.99374 12.1424 9.99374 12.3181 9.818L14.3181 7.818C14.4939 7.64227 14.4939 7.35734 14.3181 7.18161L12.3181 5.18161Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/columns_icon.rs b/packages/icons/yew/src/columns_icon.rs index 244048b0..39811667 100644 --- a/packages/icons/yew/src/columns_icon.rs +++ b/packages/icons/yew/src/columns_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ColumnsIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ColumnsIcon(props: &ColumnsIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.14998 14V1H0.849976V14H2.14998ZM6.14998 14V1H4.84998V14H6.14998ZM10.15 1V14H8.84998V1H10.15ZM14.15 14V1H12.85V14H14.15Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/commit_icon.rs b/packages/icons/yew/src/commit_icon.rs index 15aca6e6..8a774d8f 100644 --- a/packages/icons/yew/src/commit_icon.rs +++ b/packages/icons/yew/src/commit_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CommitIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CommitIcon(props: &CommitIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9.94969 7.49989C9.94969 8.85288 8.85288 9.94969 7.49989 9.94969C6.14691 9.94969 5.0501 8.85288 5.0501 7.49989C5.0501 6.14691 6.14691 5.0501 7.49989 5.0501C8.85288 5.0501 9.94969 6.14691 9.94969 7.49989ZM10.8632 8C10.6213 9.64055 9.20764 10.8997 7.49989 10.8997C5.79214 10.8997 4.37847 9.64055 4.13662 8H0.5C0.223858 8 0 7.77614 0 7.5C0 7.22386 0.223858 7 0.5 7H4.13659C4.37835 5.35935 5.79206 4.1001 7.49989 4.1001C9.20772 4.1001 10.6214 5.35935 10.8632 7H14.5C14.7761 7 15 7.22386 15 7.5C15 7.77614 14.7761 8 14.5 8H10.8632Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/component_1_icon.rs b/packages/icons/yew/src/component_1_icon.rs index 5ab6eab8..42e8241f 100644 --- a/packages/icons/yew/src/component_1_icon.rs +++ b/packages/icons/yew/src/component_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Component1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Component1Icon(props: &Component1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.67129 3.14634C4.47603 3.34161 4.47603 3.65819 4.67129 3.85345L7.14616 6.32833C7.34142 6.52359 7.65801 6.52359 7.85327 6.32833L10.3281 3.85345C10.5234 3.65819 10.5234 3.34161 10.3281 3.14634L7.85327 0.671471C7.65801 0.476209 7.34142 0.476209 7.14616 0.671471L4.67129 3.14634ZM7.49971 5.26766L5.73195 3.4999L7.49971 1.73213L9.26748 3.4999L7.49971 5.26766ZM8.67129 7.14634C8.47603 7.34161 8.47603 7.65819 8.67129 7.85345L11.1462 10.3283C11.3414 10.5236 11.658 10.5236 11.8533 10.3283L14.3281 7.85345C14.5234 7.65819 14.5234 7.34161 14.3281 7.14634L11.8533 4.67147C11.658 4.47621 11.3414 4.47621 11.1462 4.67147L8.67129 7.14634ZM11.4997 9.26766L9.73195 7.4999L11.4997 5.73213L13.2675 7.4999L11.4997 9.26766ZM4.67129 11.8535C4.47603 11.6582 4.47603 11.3416 4.67129 11.1463L7.14616 8.67147C7.34142 8.47621 7.65801 8.47621 7.85327 8.67147L10.3281 11.1463C10.5234 11.3416 10.5234 11.6582 10.3281 11.8535L7.85327 14.3283C7.65801 14.5236 7.34142 14.5236 7.14616 14.3283L4.67129 11.8535ZM5.73195 11.4999L7.49971 13.2677L9.26748 11.4999L7.49971 9.73213L5.73195 11.4999ZM0.671288 7.14649C0.476026 7.34175 0.476026 7.65834 0.671288 7.8536L3.14616 10.3285C3.34142 10.5237 3.65801 10.5237 3.85327 10.3285L6.32814 7.8536C6.5234 7.65834 6.5234 7.34175 6.32814 7.14649L3.85327 4.67162C3.65801 4.47636 3.34142 4.47636 3.14616 4.67162L0.671288 7.14649ZM3.49972 9.26781L1.73195 7.50005L3.49972 5.73228L5.26748 7.50005L3.49972 9.26781Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/component_2_icon.rs b/packages/icons/yew/src/component_2_icon.rs index aaeed341..592faa7b 100644 --- a/packages/icons/yew/src/component_2_icon.rs +++ b/packages/icons/yew/src/component_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Component2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Component2Icon(props: &Component2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.87935 1H3.9H11.1H11.1207C11.5231 0.999994 11.8553 0.999989 12.1259 1.0221C12.407 1.04506 12.6653 1.09434 12.908 1.21799C13.2843 1.40973 13.5903 1.7157 13.782 2.09202C13.9057 2.33469 13.9549 2.59304 13.9779 2.87409C14 3.14468 14 3.47686 14 3.87934V3.9V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H3.9H3.87934C3.47686 14 3.14468 14 2.87409 13.9779C2.59304 13.9549 2.33469 13.9057 2.09202 13.782C1.7157 13.5903 1.40973 13.2843 1.21799 12.908C1.09434 12.6653 1.04506 12.407 1.0221 12.1259C0.999989 11.8553 0.999994 11.5231 1 11.1207V11.1207V11.1V3.9V3.87935V3.87934C0.999994 3.47686 0.999989 3.14468 1.0221 2.87409C1.04506 2.59304 1.09434 2.33469 1.21799 2.09202C1.40973 1.7157 1.7157 1.40973 2.09202 1.21799C2.33469 1.09434 2.59304 1.04506 2.87409 1.0221C3.14469 0.999989 3.47687 0.999994 3.87935 1ZM2.95552 2.01878C2.73631 2.03669 2.62421 2.06915 2.54601 2.10899C2.35785 2.20487 2.20487 2.35785 2.10899 2.54601C2.06915 2.62421 2.03669 2.73631 2.01878 2.95552C2.00039 3.18056 2 3.47171 2 3.9V7H7V2H3.9C3.47171 2 3.18056 2.00039 2.95552 2.01878ZM7 8H2V11.1C2 11.5283 2.00039 11.8194 2.01878 12.0445C2.03669 12.2637 2.06915 12.3758 2.10899 12.454C2.20487 12.6422 2.35785 12.7951 2.54601 12.891C2.62421 12.9309 2.73631 12.9633 2.95552 12.9812C3.18056 12.9996 3.47171 13 3.9 13H7V8ZM8 8H13V11.1C13 11.5283 12.9996 11.8194 12.9812 12.0445C12.9633 12.2637 12.9309 12.3758 12.891 12.454C12.7951 12.6422 12.6422 12.7951 12.454 12.891C12.3758 12.9309 12.2637 12.9633 12.0445 12.9812C11.8194 12.9996 11.5283 13 11.1 13H8V8ZM13 7H8V2H11.1C11.5283 2 11.8194 2.00039 12.0445 2.01878C12.2637 2.03669 12.3758 2.06915 12.454 2.10899C12.6422 2.20487 12.7951 2.35785 12.891 2.54601C12.9309 2.62421 12.9633 2.73631 12.9812 2.95552C12.9996 3.18056 13 3.47171 13 3.9V7Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/component_boolean_icon.rs b/packages/icons/yew/src/component_boolean_icon.rs index 08032ce4..6b1d6e15 100644 --- a/packages/icons/yew/src/component_boolean_icon.rs +++ b/packages/icons/yew/src/component_boolean_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ComponentBooleanIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ComponentBooleanIcon(props: &ComponentBooleanIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.85367 1.48956C7.65841 1.29429 7.34182 1.29429 7.14656 1.48956L1.48971 7.14641C1.29445 7.34167 1.29445 7.65825 1.48971 7.85352L7.14656 13.5104C7.34182 13.7056 7.65841 13.7056 7.85367 13.5104L13.5105 7.85352C13.7058 7.65825 13.7058 7.34167 13.5105 7.14641L7.85367 1.48956ZM7.5 2.55033L2.55037 7.49996L7.5 12.4496V2.55033Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/component_instance_icon.rs b/packages/icons/yew/src/component_instance_icon.rs index bec16d8d..3d0dae9e 100644 --- a/packages/icons/yew/src/component_instance_icon.rs +++ b/packages/icons/yew/src/component_instance_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ComponentInstanceIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ComponentInstanceIcon(props: &ComponentInstanceIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.1465 1.48959C7.34176 1.29432 7.65835 1.29432 7.85361 1.48959L13.5105 7.14644C13.7057 7.3417 13.7057 7.65829 13.5105 7.85355L7.85361 13.5104C7.65835 13.7057 7.34176 13.7057 7.1465 13.5104L1.48965 7.85355C1.29439 7.65829 1.29439 7.3417 1.48965 7.14644L7.1465 1.48959ZM7.50005 2.55025L2.55031 7.49999L7.50005 12.4497L12.4498 7.49999L7.50005 2.55025Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/component_none_icon.rs b/packages/icons/yew/src/component_none_icon.rs index 57b4648f..047f9758 100644 --- a/packages/icons/yew/src/component_none_icon.rs +++ b/packages/icons/yew/src/component_none_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ComponentNoneIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ComponentNoneIcon(props: &ComponentNoneIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.85361 1.48959C7.65835 1.29432 7.34176 1.29432 7.1465 1.48959L1.48965 7.14644C1.29439 7.3417 1.29439 7.65829 1.48965 7.85355L3.9645 10.3284L1.64644 12.6464C1.45118 12.8417 1.45118 13.1583 1.64644 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.6716 11.0355L7.1465 13.5104C7.34176 13.7057 7.65835 13.7057 7.85361 13.5104L13.5105 7.85355C13.7057 7.65829 13.7057 7.3417 13.5105 7.14644L11.0356 4.67154L13.3535 2.35355C13.5488 2.15829 13.5488 1.84171 13.3535 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.3285 3.96443L7.85361 1.48959ZM9.62135 4.67154L7.50005 2.55025L2.55031 7.49999L4.6716 9.62129L9.62135 4.67154ZM5.37871 10.3284L7.50005 12.4497L12.4498 7.49999L10.3285 5.37865L5.37871 10.3284Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/component_placeholder_icon.rs b/packages/icons/yew/src/component_placeholder_icon.rs index 6a19abbd..7238038f 100644 --- a/packages/icons/yew/src/component_placeholder_icon.rs +++ b/packages/icons/yew/src/component_placeholder_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ComponentPlaceholderIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ComponentPlaceholderIcon(props: &ComponentPlaceholderIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.8034 7.14644C12.9986 6.95118 13.3152 6.95118 13.5105 7.14644C13.7057 7.3417 13.7057 7.65829 13.5105 7.85355C13.3152 8.04881 12.9986 8.04881 12.8034 7.85355C12.6081 7.65828 12.6081 7.3417 12.8034 7.14644ZM12.0962 8.56065C12.2915 8.75592 12.2915 9.0725 12.0962 9.26776C11.901 9.46302 11.5844 9.46302 11.3891 9.26776C11.1939 9.0725 11.1939 8.75592 11.3891 8.56065C11.5844 8.36539 11.901 8.36539 12.0962 8.56065ZM10.682 9.97487C10.8773 10.1701 10.8773 10.4867 10.682 10.682C10.4868 10.8772 10.1702 10.8772 9.97493 10.682C9.77967 10.4867 9.77967 10.1701 9.97493 9.97487C10.1702 9.7796 10.4868 9.7796 10.682 9.97487ZM9.26782 11.3891C9.46308 11.5843 9.46308 11.9009 9.26782 12.0962C9.07256 12.2915 8.75598 12.2915 8.56071 12.0962C8.36545 11.9009 8.36545 11.5843 8.56072 11.3891C8.75598 11.1938 9.07256 11.1938 9.26782 11.3891ZM7.1465 13.5104C6.95124 13.3151 6.95124 12.9986 7.1465 12.8033C7.17091 12.7789 7.19721 12.7575 7.22494 12.7392C7.41901 12.6111 7.68275 12.6324 7.85361 12.8033C8.04887 12.9986 8.04887 13.3151 7.85361 13.5104C7.65835 13.7057 7.34176 13.7057 7.1465 13.5104Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/container_icon.rs b/packages/icons/yew/src/container_icon.rs index 27238f1d..ef2756f4 100644 --- a/packages/icons/yew/src/container_icon.rs +++ b/packages/icons/yew/src/container_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ContainerIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ContainerIcon(props: &ContainerIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 1.5C2 1.77614 1.77614 2 1.5 2C1.22386 2 1 1.77614 1 1.5C1 1.22386 1.22386 1 1.5 1C1.77614 1 2 1.22386 2 1.5ZM5 13H10V2L5 2L5 13ZM4 13C4 13.5523 4.44772 14 5 14H10C10.5523 14 11 13.5523 11 13V2C11 1.44772 10.5523 1 10 1H5C4.44772 1 4 1.44771 4 2V13ZM13.5 2C13.7761 2 14 1.77614 14 1.5C14 1.22386 13.7761 1 13.5 1C13.2239 1 13 1.22386 13 1.5C13 1.77614 13.2239 2 13.5 2ZM2 3.5C2 3.77614 1.77614 4 1.5 4C1.22386 4 1 3.77614 1 3.5C1 3.22386 1.22386 3 1.5 3C1.77614 3 2 3.22386 2 3.5ZM13.5 4C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3C13.2239 3 13 3.22386 13 3.5C13 3.77614 13.2239 4 13.5 4ZM2 5.5C2 5.77614 1.77614 6 1.5 6C1.22386 6 1 5.77614 1 5.5C1 5.22386 1.22386 5 1.5 5C1.77614 5 2 5.22386 2 5.5ZM13.5 6C13.7761 6 14 5.77614 14 5.5C14 5.22386 13.7761 5 13.5 5C13.2239 5 13 5.22386 13 5.5C13 5.77614 13.2239 6 13.5 6ZM2 7.5C2 7.77614 1.77614 8 1.5 8C1.22386 8 1 7.77614 1 7.5C1 7.22386 1.22386 7 1.5 7C1.77614 7 2 7.22386 2 7.5ZM13.5 8C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7C13.2239 7 13 7.22386 13 7.5C13 7.77614 13.2239 8 13.5 8ZM2 9.5C2 9.77614 1.77614 10 1.5 10C1.22386 10 1 9.77614 1 9.5C1 9.22386 1.22386 9 1.5 9C1.77614 9 2 9.22386 2 9.5ZM13.5 10C13.7761 10 14 9.77614 14 9.5C14 9.22386 13.7761 9 13.5 9C13.2239 9 13 9.22386 13 9.5C13 9.77614 13.2239 10 13.5 10ZM2 11.5C2 11.7761 1.77614 12 1.5 12C1.22386 12 1 11.7761 1 11.5C1 11.2239 1.22386 11 1.5 11C1.77614 11 2 11.2239 2 11.5ZM13.5 12C13.7761 12 14 11.7761 14 11.5C14 11.2239 13.7761 11 13.5 11C13.2239 11 13 11.2239 13 11.5C13 11.7761 13.2239 12 13.5 12ZM2 13.5C2 13.7761 1.77614 14 1.5 14C1.22386 14 1 13.7761 1 13.5C1 13.2239 1.22386 13 1.5 13C1.77614 13 2 13.2239 2 13.5ZM13.5 14C13.7761 14 14 13.7761 14 13.5C14 13.2239 13.7761 13 13.5 13C13.2239 13 13 13.2239 13 13.5C13 13.7761 13.2239 14 13.5 14Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/cookie_icon.rs b/packages/icons/yew/src/cookie_icon.rs index 4a7b1ae0..677abe5b 100644 --- a/packages/icons/yew/src/cookie_icon.rs +++ b/packages/icons/yew/src/cookie_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CookieIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CookieIcon(props: &CookieIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.0697 1.76746C12.4807 1.21947 11.4605 0.454311 11.0495 1.0023C10.6385 1.55028 11.6588 2.31544 12.0697 1.76746ZM8.39263 1.07811C7.15585 0.950602 5.7823 1.16348 4.58433 1.70937C3.38552 2.25563 2.32735 3.15309 1.78844 4.41832C1.37574 5.38724 1.01715 6.28113 1.00088 7.44354C0.984724 8.59844 1.30522 9.96898 2.13174 11.928C2.61142 13.0649 4.03963 13.5446 5.13895 13.8079C6.40836 14.1119 7.80857 14.1914 8.6644 14.0742C9.36515 13.9782 10.1448 13.8284 10.7987 13.297C11.8977 12.4039 12.9009 11.3955 13.4994 10.3393C14.104 9.27221 14.3256 8.09207 13.7216 6.95324C13.5628 6.65373 13.316 6.57734 13.0412 6.4923C12.9374 6.46016 12.8295 6.42678 12.7209 6.37966C11.6211 5.90234 10.9646 5.34963 10.9135 5.02876C10.8656 4.72808 10.9221 4.51463 10.9811 4.29181C11.0129 4.17199 11.0453 4.04947 11.0626 3.90922C11.0838 3.73737 11.0814 3.33319 10.6996 3.12761C10.4048 2.96888 10.2164 2.65843 10.0407 2.36904C9.99742 2.29775 9.95492 2.22773 9.9118 2.16158C9.62634 1.72367 9.20769 1.16213 8.39263 1.07811ZM4.99899 2.61935C3.96483 3.09058 3.12554 3.83097 2.70846 4.81018C2.29808 5.77368 2.01406 6.50873 2.00079 7.45753C1.98741 8.41385 2.25043 9.6368 3.0531 11.5393C3.39181 12.3421 4.62167 12.6557 5.37186 12.8354C6.5493 13.1174 7.822 13.1802 8.52868 13.0834C9.21271 12.9897 9.74568 12.8642 10.1681 12.5209C11.229 11.6587 12.121 10.7435 12.6293 9.84635C12.9349 9.30709 13.5141 7.7028 12.6292 7.3873C10.7539 6.71875 10.262 6.06669 9.99011 5.41268C9.80915 4.97744 9.82868 4.52282 9.95741 4.07885L9.95741 4.07884C9.97662 4.0126 9.99538 3.94791 10.0334 3.88882C9.81857 3.73676 9.6515 3.55195 9.51464 3.3715C9.42876 3.25828 9.3469 3.12099 9.26197 2.97856C9.01866 2.57052 8.75018 2.12027 8.29008 2.07283C7.22889 1.96343 6.03398 2.14772 4.99899 2.61935ZM13.2081 3.77471C13.441 3.22671 12.4547 2.63606 12.0822 3.10163C11.5817 3.72732 12.9029 4.49281 13.2081 3.77471ZM14.3672 2.26031C14.9668 2.27493 15.1551 1.11603 14.5718 0.949371C13.8076 0.731026 13.5918 2.24139 14.3672 2.26031ZM14.2857 5.09098C14.8644 5.10004 15.0462 4.38222 14.4832 4.27899C13.7455 4.14375 13.5373 5.07927 14.2857 5.09098ZM6.9075 4.28672C6.46898 4.66754 6.0522 4.15185 5.97983 3.7365C5.86848 3.09744 6.33696 2.56856 6.94823 2.91156C7.43344 3.18382 7.26678 3.97471 6.9075 4.28672ZM4.94455 5.88184C5.40885 5.41754 4.59567 4.57013 4.11425 5.05154C3.83338 5.33242 4.00936 5.65376 4.23744 5.88184C4.43271 6.0771 4.74929 6.0771 4.94455 5.88184ZM6.97716 6.71984C7.31181 7.38914 8.48804 6.79159 7.99413 6.14788C7.86519 5.97983 7.68657 5.9494 7.62145 5.94207C7.21217 5.89601 6.76349 6.2925 6.97716 6.71984ZM6.98798 8.72461C7.14066 9.1188 7.51122 9.3187 7.91915 9.1633C8.27434 9.02799 8.33186 8.39689 8.17175 8.07427C8.02331 7.77514 7.63956 7.67793 7.33747 7.79417C6.98512 7.92976 6.85672 8.38708 6.98576 8.71889L6.98798 8.72461ZM10.3885 8.84081C10.7575 8.6566 11.4617 8.82771 11.4617 9.31199C11.4617 9.71286 10.9587 10.2165 10.5634 10.2826C10.1813 10.3465 9.70515 9.97581 9.76648 9.57718C9.81445 9.26539 10.1217 8.97401 10.3885 8.84081ZM7.56704 10.8432C7.33461 10.7502 7.14353 10.8601 7.11437 10.8769L7.11279 10.8778C6.90782 10.9949 6.71383 11.2439 6.6747 11.4842C6.59018 12.0034 7.13199 12.1239 7.52661 12.0987C8.2074 12.0553 8.06547 11.0426 7.56704 10.8432ZM4.8805 10.8932C5.0674 10.7723 5.15658 10.5363 5.08293 10.3153C4.93046 9.79687 4.3246 9.71252 3.96561 10.1297C3.79336 10.3299 3.80749 10.6274 3.99214 10.8105L3.99495 10.814L3.9979 10.8176C4.22025 11.0942 4.63624 11.1857 4.8805 10.8932ZM3.04695 7.81318C3.33147 8.0977 3.60077 8.15067 3.98443 8.05859C4.60826 7.90887 4.13814 6.24299 3.047 6.87296C2.70939 7.06788 2.86716 7.63339 3.04695 7.81318Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/copy_icon.rs b/packages/icons/yew/src/copy_icon.rs index c7b9f46e..dab5c159 100644 --- a/packages/icons/yew/src/copy_icon.rs +++ b/packages/icons/yew/src/copy_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CopyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CopyIcon(props: &CopyIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1 9.50006C1 10.3285 1.67157 11.0001 2.5 11.0001H4L4 10.0001H2.5C2.22386 10.0001 2 9.7762 2 9.50006L2 2.50006C2 2.22392 2.22386 2.00006 2.5 2.00006L9.5 2.00006C9.77614 2.00006 10 2.22392 10 2.50006V4.00002H5.5C4.67158 4.00002 4 4.67159 4 5.50002V12.5C4 13.3284 4.67158 14 5.5 14H12.5C13.3284 14 14 13.3284 14 12.5V5.50002C14 4.67159 13.3284 4.00002 12.5 4.00002H11V2.50006C11 1.67163 10.3284 1.00006 9.5 1.00006H2.5C1.67157 1.00006 1 1.67163 1 2.50006V9.50006ZM5 5.50002C5 5.22388 5.22386 5.00002 5.5 5.00002H12.5C12.7761 5.00002 13 5.22388 13 5.50002V12.5C13 12.7762 12.7761 13 12.5 13H5.5C5.22386 13 5 12.7762 5 12.5V5.50002Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/corner_bottom_left_icon.rs b/packages/icons/yew/src/corner_bottom_left_icon.rs index 556ed701..e9753c7d 100644 --- a/packages/icons/yew/src/corner_bottom_left_icon.rs +++ b/packages/icons/yew/src/corner_bottom_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CornerBottomLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CornerBottomLeftIcon(props: &CornerBottomLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9.87737 12H9.9H11.5C11.7761 12 12 11.7761 12 11.5C12 11.2239 11.7761 11 11.5 11H9.9C8.77164 11 7.95545 10.9996 7.31352 10.9472C6.67744 10.8952 6.25662 10.7946 5.91103 10.6185C5.25247 10.283 4.71703 9.74753 4.38148 9.08897C4.20539 8.74338 4.10481 8.32256 4.05284 7.68648C4.00039 7.04455 4 6.22836 4 5.1V3.5C4 3.22386 3.77614 3 3.5 3C3.22386 3 3 3.22386 3 3.5V5.1V5.12263C3 6.22359 3 7.08052 3.05616 7.76791C3.11318 8.46584 3.23058 9.0329 3.49047 9.54296C3.9219 10.3897 4.61031 11.0781 5.45704 11.5095C5.9671 11.7694 6.53416 11.8868 7.23209 11.9438C7.91948 12 8.77641 12 9.87737 12Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/corner_bottom_right_icon.rs b/packages/icons/yew/src/corner_bottom_right_icon.rs index e20e68ed..d5ad0d68 100644 --- a/packages/icons/yew/src/corner_bottom_right_icon.rs +++ b/packages/icons/yew/src/corner_bottom_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CornerBottomRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CornerBottomRightIcon(props: &CornerBottomRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.12263 12H5.1H3.5C3.22386 12 3 11.7761 3 11.5C3 11.2239 3.22386 11 3.5 11H5.1C6.22836 11 7.04455 10.9996 7.68648 10.9472C8.32256 10.8952 8.74338 10.7946 9.08897 10.6185C9.74753 10.283 10.283 9.74753 10.6185 9.08897C10.7946 8.74338 10.8952 8.32256 10.9472 7.68648C10.9996 7.04455 11 6.22836 11 5.1V3.5C11 3.22386 11.2239 3 11.5 3C11.7761 3 12 3.22386 12 3.5V5.1V5.12263C12 6.22359 12 7.08052 11.9438 7.76791C11.8868 8.46584 11.7694 9.0329 11.5095 9.54296C11.0781 10.3897 10.3897 11.0781 9.54296 11.5095C9.0329 11.7694 8.46584 11.8868 7.76791 11.9438C7.08052 12 6.22359 12 5.12263 12Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/corner_top_left_icon.rs b/packages/icons/yew/src/corner_top_left_icon.rs index 15a97ea4..d84af472 100644 --- a/packages/icons/yew/src/corner_top_left_icon.rs +++ b/packages/icons/yew/src/corner_top_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CornerTopLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CornerTopLeftIcon(props: &CornerTopLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9.87737 3H9.9H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H9.9C8.77164 4 7.95545 4.00039 7.31352 4.05284C6.67744 4.10481 6.25662 4.20539 5.91103 4.38148C5.25247 4.71703 4.71703 5.25247 4.38148 5.91103C4.20539 6.25662 4.10481 6.67744 4.05284 7.31352C4.00039 7.95545 4 8.77164 4 9.9V11.5C4 11.7761 3.77614 12 3.5 12C3.22386 12 3 11.7761 3 11.5V9.9V9.87737C3 8.77641 3 7.91948 3.05616 7.23209C3.11318 6.53416 3.23058 5.9671 3.49047 5.45704C3.9219 4.61031 4.61031 3.9219 5.45704 3.49047C5.9671 3.23058 6.53416 3.11318 7.23209 3.05616C7.91948 3 8.77641 3 9.87737 3Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/corner_top_right_icon.rs b/packages/icons/yew/src/corner_top_right_icon.rs index fa702886..f7ed4cf5 100644 --- a/packages/icons/yew/src/corner_top_right_icon.rs +++ b/packages/icons/yew/src/corner_top_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CornerTopRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CornerTopRightIcon(props: &CornerTopRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.12263 3H5.1H3.5C3.22386 3 3 3.22386 3 3.5C3 3.77614 3.22386 4 3.5 4H5.1C6.22836 4 7.04455 4.00039 7.68648 4.05284C8.32256 4.10481 8.74338 4.20539 9.08897 4.38148C9.74753 4.71703 10.283 5.25247 10.6185 5.91103C10.7946 6.25662 10.8952 6.67744 10.9472 7.31352C10.9996 7.95545 11 8.77164 11 9.9V11.5C11 11.7761 11.2239 12 11.5 12C11.7761 12 12 11.7761 12 11.5V9.9V9.87737C12 8.77641 12 7.91948 11.9438 7.23209C11.8868 6.53416 11.7694 5.9671 11.5095 5.45704C11.0781 4.61031 10.3897 3.9219 9.54296 3.49047C9.0329 3.23058 8.46584 3.11318 7.76791 3.05616C7.08052 3 6.22359 3 5.12263 3Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/corners_icon.rs b/packages/icons/yew/src/corners_icon.rs index 7d4decca..978b1213 100644 --- a/packages/icons/yew/src/corners_icon.rs +++ b/packages/icons/yew/src/corners_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CornersIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CornersIcon(props: &CornersIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.5 2L4.87935 2C4.47687 1.99999 4.14469 1.99999 3.87409 2.0221C3.59304 2.04506 3.33469 2.09434 3.09202 2.21799C2.7157 2.40973 2.40973 2.7157 2.21799 3.09202C2.09434 3.33469 2.04506 3.59304 2.0221 3.87409C1.99999 4.14468 1.99999 4.47686 2 4.87933V4.87935V5.5C2 5.77614 2.22386 6 2.5 6C2.77614 6 3 5.77614 3 5.5V4.9C3 4.47171 3.00039 4.18056 3.01878 3.95552C3.03669 3.73631 3.06915 3.62421 3.10899 3.54601C3.20487 3.35785 3.35785 3.20487 3.54601 3.10899C3.62421 3.06915 3.73631 3.03669 3.95552 3.01878C4.18056 3.00039 4.47171 3 4.9 3H5.5C5.77614 3 6 2.77614 6 2.5C6 2.22386 5.77614 2 5.5 2ZM13 9.5C13 9.22386 12.7761 9 12.5 9C12.2239 9 12 9.22386 12 9.5V10.1C12 10.5283 11.9996 10.8194 11.9812 11.0445C11.9633 11.2637 11.9309 11.3758 11.891 11.454C11.7951 11.6422 11.6422 11.7951 11.454 11.891C11.3758 11.9309 11.2637 11.9633 11.0445 11.9812C10.8194 11.9996 10.5283 12 10.1 12H9.5C9.22386 12 9 12.2239 9 12.5C9 12.7761 9.22386 13 9.5 13H10.1206C10.5231 13 10.8553 13 11.1259 12.9779C11.407 12.9549 11.6653 12.9057 11.908 12.782C12.2843 12.5903 12.5903 12.2843 12.782 11.908C12.9057 11.6653 12.9549 11.407 12.9779 11.1259C13 10.8553 13 10.5232 13 10.1207V10.1207V10.1207V10.1206V9.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V10.1C3 10.5283 3.00039 10.8194 3.01878 11.0445C3.03669 11.2637 3.06915 11.3758 3.10899 11.454C3.20487 11.6422 3.35785 11.7951 3.54601 11.891C3.62421 11.9309 3.73631 11.9633 3.95552 11.9812C4.18056 11.9996 4.47171 12 4.9 12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H4.87935C4.47687 13 4.14469 13 3.87409 12.9779C3.59304 12.9549 3.33469 12.9057 3.09202 12.782C2.7157 12.5903 2.40973 12.2843 2.21799 11.908C2.09434 11.6653 2.04506 11.407 2.0221 11.1259C1.99999 10.8553 1.99999 10.5231 2 10.1207V10.1206V10.1V9.5C2 9.22386 2.22386 9 2.5 9ZM10.1 3C10.5283 3 10.8194 3.00039 11.0445 3.01878C11.2637 3.03669 11.3758 3.06915 11.454 3.10899C11.6422 3.20487 11.7951 3.35785 11.891 3.54601C11.9309 3.62421 11.9633 3.73631 11.9812 3.95552C11.9996 4.18056 12 4.47171 12 4.9V5.5C12 5.77614 12.2239 6 12.5 6C12.7761 6 13 5.77614 13 5.5V4.87935V4.87934C13 4.47686 13 4.14468 12.9779 3.87409C12.9549 3.59304 12.9057 3.33469 12.782 3.09202C12.5903 2.7157 12.2843 2.40973 11.908 2.21799C11.6653 2.09434 11.407 2.04506 11.1259 2.0221C10.8553 1.99999 10.5231 1.99999 10.1206 2L10.1 2H9.5C9.22386 2 9 2.22386 9 2.5C9 2.77614 9.22386 3 9.5 3H10.1Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/countdown_timer_icon.rs b/packages/icons/yew/src/countdown_timer_icon.rs index 7c5fd5a0..23e28ba6 100644 --- a/packages/icons/yew/src/countdown_timer_icon.rs +++ b/packages/icons/yew/src/countdown_timer_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CountdownTimerIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CountdownTimerIcon(props: &CountdownTimerIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.15 7.49998C13.15 4.66458 10.9402 1.84998 7.50002 1.84998C4.7217 1.84998 3.34851 3.90636 2.76336 4.99997H4.5C4.77614 4.99997 5 5.22383 5 5.49997C5 5.77611 4.77614 5.99997 4.5 5.99997H1.5C1.22386 5.99997 1 5.77611 1 5.49997V2.49997C1 2.22383 1.22386 1.99997 1.5 1.99997C1.77614 1.99997 2 2.22383 2 2.49997V4.31318C2.70453 3.07126 4.33406 0.849976 7.50002 0.849976C11.5628 0.849976 14.15 4.18537 14.15 7.49998C14.15 10.8146 11.5628 14.15 7.50002 14.15C5.55618 14.15 3.93778 13.3808 2.78548 12.2084C2.16852 11.5806 1.68668 10.839 1.35816 10.0407C1.25306 9.78536 1.37488 9.49315 1.63024 9.38806C1.8856 9.28296 2.17781 9.40478 2.2829 9.66014C2.56374 10.3425 2.97495 10.9745 3.4987 11.5074C4.47052 12.4963 5.83496 13.15 7.50002 13.15C10.9402 13.15 13.15 10.3354 13.15 7.49998ZM7 10V5.00001H8V10H7Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/counter_clockwise_clock_icon.rs b/packages/icons/yew/src/counter_clockwise_clock_icon.rs index f82e1e1a..0437983d 100644 --- a/packages/icons/yew/src/counter_clockwise_clock_icon.rs +++ b/packages/icons/yew/src/counter_clockwise_clock_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CounterClockwiseClockIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CounterClockwiseClockIcon(props: &CounterClockwiseClockIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html fill-rule="evenodd" clip-rule="evenodd" d="M13.15 7.49998C13.15 4.66458 10.9402 1.84998 7.50002 1.84998C4.72167 1.84998 3.34849 3.9064 2.76335 5H4.5C4.77614 5 5 5.22386 5 5.5C5 5.77614 4.77614 6 4.5 6H1.5C1.22386 6 1 5.77614 1 5.5V2.5C1 2.22386 1.22386 2 1.5 2C1.77614 2 2 2.22386 2 2.5V4.31318C2.70453 3.07126 4.33406 0.849976 7.50002 0.849976C11.5628 0.849976 14.15 4.18537 14.15 7.49998C14.15 10.8146 11.5628 14.15 7.50002 14.15C5.55618 14.15 3.93778 13.3808 2.78548 12.2084C2.16852 11.5806 1.68668 10.839 1.35816 10.0407C1.25306 9.78536 1.37488 9.49315 1.63024 9.38806C1.8856 9.28296 2.17781 9.40478 2.2829 9.66014C2.56374 10.3425 2.97495 10.9745 3.4987 11.5074C4.47052 12.4963 5.83496 13.15 7.50002 13.15C10.9402 13.15 13.15 10.3354 13.15 7.49998ZM7.5 4.00001C7.77614 4.00001 8 4.22387 8 4.50001V7.29291L9.85355 9.14646C10.0488 9.34172 10.0488 9.65831 9.85355 9.85357C9.65829 10.0488 9.34171 10.0488 9.14645 9.85357L7.14645 7.85357C7.05268 7.7598 7 7.63262 7 7.50001V4.50001C7 4.22387 7.22386 4.00001 7.5 4.00001Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/crop_icon.rs b/packages/icons/yew/src/crop_icon.rs index de682fa2..961be22f 100644 --- a/packages/icons/yew/src/crop_icon.rs +++ b/packages/icons/yew/src/crop_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CropIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CropIcon(props: &CropIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.5 8.00684e-07C3.77614 7.88614e-07 4 0.223859 4 0.500001L4 3.00006L11.5 3.00006C11.7761 3.00006 12 3.22392 12 3.50006L12 11.0001L14.5 11C14.7761 11 15 11.2238 15 11.5C15 11.7761 14.7762 12 14.5 12L12 12.0001L12 14.5C12 14.7761 11.7761 15 11.5 15C11.2239 15 11 14.7761 11 14.5L11 12.0001L3.5 12.0001C3.22386 12.0001 3 11.7762 3 11.5001L3 4.00005L0.499989 4C0.223847 4 -6.10541e-06 3.77613 -5.02576e-07 3.49999C5.13006e-06 3.22385 0.223867 3 0.50001 3L3 3.00005L3 0.500001C3 0.223859 3.22386 8.12755e-07 3.5 8.00684e-07ZM4 4.00006L4 11.0001L11 11.0001L11 4.00006L4 4.00006Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/cross_1_icon.rs b/packages/icons/yew/src/cross_1_icon.rs index 1e2cbc7a..4d63d6ef 100644 --- a/packages/icons/yew/src/cross_1_icon.rs +++ b/packages/icons/yew/src/cross_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Cross1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Cross1Icon(props: &Cross1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.8536 2.85355C13.0488 2.65829 13.0488 2.34171 12.8536 2.14645C12.6583 1.95118 12.3417 1.95118 12.1464 2.14645L7.5 6.79289L2.85355 2.14645C2.65829 1.95118 2.34171 1.95118 2.14645 2.14645C1.95118 2.34171 1.95118 2.65829 2.14645 2.85355L6.79289 7.5L2.14645 12.1464C1.95118 12.3417 1.95118 12.6583 2.14645 12.8536C2.34171 13.0488 2.65829 13.0488 2.85355 12.8536L7.5 8.20711L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L8.20711 7.5L12.8536 2.85355Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/cross_2_icon.rs b/packages/icons/yew/src/cross_2_icon.rs index 23e1d9eb..cea85abb 100644 --- a/packages/icons/yew/src/cross_2_icon.rs +++ b/packages/icons/yew/src/cross_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Cross2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Cross2Icon(props: &Cross2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.7816 4.03157C12.0062 3.80702 12.0062 3.44295 11.7816 3.2184C11.5571 2.99385 11.193 2.99385 10.9685 3.2184L7.50005 6.68682L4.03164 3.2184C3.80708 2.99385 3.44301 2.99385 3.21846 3.2184C2.99391 3.44295 2.99391 3.80702 3.21846 4.03157L6.68688 7.49999L3.21846 10.9684C2.99391 11.193 2.99391 11.557 3.21846 11.7816C3.44301 12.0061 3.80708 12.0061 4.03164 11.7816L7.50005 8.31316L10.9685 11.7816C11.193 12.0061 11.5571 12.0061 11.7816 11.7816C12.0062 11.557 12.0062 11.193 11.7816 10.9684L8.31322 7.49999L11.7816 4.03157Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/cross_circled_icon.rs b/packages/icons/yew/src/cross_circled_icon.rs index 6180015b..5f8eb3c1 100644 --- a/packages/icons/yew/src/cross_circled_icon.rs +++ b/packages/icons/yew/src/cross_circled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CrossCircledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CrossCircledIcon(props: &CrossCircledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704ZM9.85358 5.14644C10.0488 5.3417 10.0488 5.65829 9.85358 5.85355L8.20713 7.49999L9.85358 9.14644C10.0488 9.3417 10.0488 9.65829 9.85358 9.85355C9.65832 10.0488 9.34173 10.0488 9.14647 9.85355L7.50002 8.2071L5.85358 9.85355C5.65832 10.0488 5.34173 10.0488 5.14647 9.85355C4.95121 9.65829 4.95121 9.3417 5.14647 9.14644L6.79292 7.49999L5.14647 5.85355C4.95121 5.65829 4.95121 5.3417 5.14647 5.14644C5.34173 4.95118 5.65832 4.95118 5.85358 5.14644L7.50002 6.79289L9.14647 5.14644C9.34173 4.95118 9.65832 4.95118 9.85358 5.14644Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/crosshair_1_icon.rs b/packages/icons/yew/src/crosshair_1_icon.rs index 3038d7bf..744dedbc 100644 --- a/packages/icons/yew/src/crosshair_1_icon.rs +++ b/packages/icons/yew/src/crosshair_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Crosshair1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Crosshair1Icon(props: &Crosshair1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.877075 7.50207C0.877075 3.84319 3.84319 0.877075 7.50208 0.877075C11.1609 0.877075 14.1271 3.84319 14.1271 7.50207C14.1271 11.1609 11.1609 14.1271 7.50208 14.1271C3.84319 14.1271 0.877075 11.1609 0.877075 7.50207ZM1.84898 7.00003C2.0886 4.26639 4.26639 2.0886 7.00003 1.84898V4.50003C7.00003 4.77617 7.22388 5.00003 7.50003 5.00003C7.77617 5.00003 8.00003 4.77617 8.00003 4.50003V1.84862C10.7356 2.08643 12.9154 4.26502 13.1552 7.00003H10.5C10.2239 7.00003 10 7.22388 10 7.50003C10 7.77617 10.2239 8.00003 10.5 8.00003H13.1555C12.9176 10.7369 10.7369 12.9176 8.00003 13.1555V10.5C8.00003 10.2239 7.77617 10 7.50003 10C7.22388 10 7.00003 10.2239 7.00003 10.5V13.1552C4.26502 12.9154 2.08643 10.7356 1.84862 8.00003H4.50003C4.77617 8.00003 5.00003 7.77617 5.00003 7.50003C5.00003 7.22388 4.77617 7.00003 4.50003 7.00003H1.84898Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/crosshair_2_icon.rs b/packages/icons/yew/src/crosshair_2_icon.rs index c789a6b7..e1fc8044 100644 --- a/packages/icons/yew/src/crosshair_2_icon.rs +++ b/packages/icons/yew/src/crosshair_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Crosshair2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Crosshair2Icon(props: &Crosshair2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 0C7.77614 0 8 0.223858 8 0.5V1.80687C10.6922 2.0935 12.8167 4.28012 13.0068 7H14.5C14.7761 7 15 7.22386 15 7.5C15 7.77614 14.7761 8 14.5 8H12.9888C12.7094 10.6244 10.6244 12.7094 8 12.9888V14.5C8 14.7761 7.77614 15 7.5 15C7.22386 15 7 14.7761 7 14.5V13.0068C4.28012 12.8167 2.0935 10.6922 1.80687 8H0.5C0.223858 8 0 7.77614 0 7.5C0 7.22386 0.223858 7 0.5 7H1.78886C1.98376 4.21166 4.21166 1.98376 7 1.78886V0.5C7 0.223858 7.22386 0 7.5 0ZM8 12.0322V9.5C8 9.22386 7.77614 9 7.5 9C7.22386 9 7 9.22386 7 9.5V12.054C4.80517 11.8689 3.04222 10.1668 2.76344 8H5.5C5.77614 8 6 7.77614 6 7.5C6 7.22386 5.77614 7 5.5 7H2.7417C2.93252 4.73662 4.73662 2.93252 7 2.7417V5.5C7 5.77614 7.22386 6 7.5 6C7.77614 6 8 5.77614 8 5.5V2.76344C10.1668 3.04222 11.8689 4.80517 12.054 7H9.5C9.22386 7 9 7.22386 9 7.5C9 7.77614 9.22386 8 9.5 8H12.0322C11.7621 10.0991 10.0991 11.7621 8 12.0322Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/crumpled_paper_icon.rs b/packages/icons/yew/src/crumpled_paper_icon.rs index 43f38ebc..d26747e8 100644 --- a/packages/icons/yew/src/crumpled_paper_icon.rs +++ b/packages/icons/yew/src/crumpled_paper_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CrumpledPaperIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CrumpledPaperIcon(props: &CrumpledPaperIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.60913 0.0634287C4.39082 0.0088505 4.16575 0.12393 4.08218 0.332867L3.1538 2.6538L0.832866 3.58218C0.702884 3.63417 0.604504 3.7437 0.566705 3.87849C0.528906 4.01329 0.555994 4.158 0.639992 4.26999L2.01148 6.09864L1.06343 9.89085C1.00944 10.1068 1.12145 10.3298 1.32691 10.4154L4.20115 11.613L5.62557 13.7496C5.73412 13.9124 5.93545 13.9864 6.12362 13.9327L9.62362 12.9327C9.62988 12.9309 9.63611 12.929 9.64229 12.9269L12.6423 11.9269C12.7923 11.8769 12.905 11.7519 12.9393 11.5976L13.9393 7.09761C13.9776 6.92506 13.9114 6.74605 13.77 6.63999L11.95 5.27499V2.99999C11.95 2.82955 11.8537 2.67373 11.7012 2.5975L8.70124 1.0975C8.67187 1.08282 8.64098 1.07139 8.60913 1.06343L4.60913 0.0634287ZM11.4323 6.01173L12.7748 7.01858L10.2119 9.15429C10.1476 9.20786 10.0995 9.2783 10.0731 9.35769L9.25382 11.8155L7.73849 10.8684C7.52774 10.7367 7.25011 10.8007 7.11839 11.0115C6.98667 11.2222 7.05074 11.4999 7.26149 11.6316L8.40341 12.3453L6.19221 12.9771L4.87441 11.0004C4.82513 10.9265 4.75508 10.8688 4.67307 10.8346L2.03046 9.73352L2.85134 6.44999H4.99999C5.24852 6.44999 5.44999 6.24852 5.44999 5.99999C5.44999 5.75146 5.24852 5.54999 4.99999 5.54999H2.72499L1.7123 4.19974L3.51407 3.47903L6.35769 4.4269C6.53655 4.48652 6.73361 4.42832 6.85138 4.28111L8.62413 2.06518L11.05 3.27811V5.19533L8.83287 6.08218C8.70996 6.13134 8.61494 6.23212 8.57308 6.35769L8.07308 7.85769C7.99449 8.09346 8.12191 8.34831 8.35769 8.4269C8.59346 8.50549 8.84831 8.37807 8.9269 8.14229L9.3609 6.84029L11.4323 6.01173ZM7.71052 1.76648L6.34462 3.47386L4.09505 2.724L4.77192 1.03183L7.71052 1.76648ZM10.2115 11.7885L12.116 11.1537L12.7745 8.19034L10.8864 9.76374L10.2115 11.7885Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/cube_icon.rs b/packages/icons/yew/src/cube_icon.rs index 1e0bc7f7..ae1add16 100644 --- a/packages/icons/yew/src/cube_icon.rs +++ b/packages/icons/yew/src/cube_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CubeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CubeIcon(props: &CubeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.28856 0.796908C7.42258 0.734364 7.57742 0.734364 7.71144 0.796908L13.7114 3.59691C13.8875 3.67906 14 3.85574 14 4.05V10.95C14 11.1443 13.8875 11.3209 13.7114 11.4031L7.71144 14.2031C7.57742 14.2656 7.42258 14.2656 7.28856 14.2031L1.28856 11.4031C1.11252 11.3209 1 11.1443 1 10.95V4.05C1 3.85574 1.11252 3.67906 1.28856 3.59691L7.28856 0.796908ZM2 4.80578L7 6.93078V12.9649L2 10.6316V4.80578ZM8 12.9649L13 10.6316V4.80578L8 6.93078V12.9649ZM7.5 6.05672L12.2719 4.02866L7.5 1.80176L2.72809 4.02866L7.5 6.05672Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/cursor_arrow_icon.rs b/packages/icons/yew/src/cursor_arrow_icon.rs index eb439686..87a7cefd 100644 --- a/packages/icons/yew/src/cursor_arrow_icon.rs +++ b/packages/icons/yew/src/cursor_arrow_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CursorArrowIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CursorArrowIcon(props: &CursorArrowIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.29227 0.048984C3.47033 -0.032338 3.67946 -0.00228214 3.8274 0.125891L12.8587 7.95026C13.0134 8.08432 13.0708 8.29916 13.0035 8.49251C12.9362 8.68586 12.7578 8.81866 12.5533 8.82768L9.21887 8.97474L11.1504 13.2187C11.2648 13.47 11.1538 13.7664 10.9026 13.8808L8.75024 14.8613C8.499 14.9758 8.20255 14.8649 8.08802 14.6137L6.15339 10.3703L3.86279 12.7855C3.72196 12.934 3.50487 12.9817 3.31479 12.9059C3.1247 12.8301 3 12.6461 3 12.4414V0.503792C3 0.308048 3.11422 0.130306 3.29227 0.048984ZM4 1.59852V11.1877L5.93799 9.14425C6.05238 9.02363 6.21924 8.96776 6.38319 8.99516C6.54715 9.02256 6.68677 9.12965 6.75573 9.2809L8.79056 13.7441L10.0332 13.178L8.00195 8.71497C7.93313 8.56376 7.94391 8.38824 8.03072 8.24659C8.11753 8.10494 8.26903 8.01566 8.435 8.00834L11.2549 7.88397L4 1.59852Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/cursor_text_icon.rs b/packages/icons/yew/src/cursor_text_icon.rs index 7a98943c..7cc34d0f 100644 --- a/packages/icons/yew/src/cursor_text_icon.rs +++ b/packages/icons/yew/src/cursor_text_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct CursorTextIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn CursorTextIcon(props: &CursorTextIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.5 1C4.22386 1 4 1.22386 4 1.5C4 1.77614 4.22386 2 4.5 2C5.42215 2 6.0399 2.23054 6.42075 2.56379C6.79286 2.88939 7 3.36626 7 4V7H5.75C5.47386 7 5.25 7.22386 5.25 7.5C5.25 7.77614 5.47386 8 5.75 8H7V11C7 11.6337 6.79286 12.1106 6.42075 12.4362C6.0399 12.7695 5.42215 13 4.5 13C4.22386 13 4 13.2239 4 13.5C4 13.7761 4.22386 14 4.5 14C5.57785 14 6.4601 13.7305 7.07925 13.1888C7.24168 13.0467 7.38169 12.8896 7.5 12.7198C7.61832 12.8896 7.75832 13.0467 7.92075 13.1888C8.5399 13.7305 9.42215 14 10.5 14C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13C9.57785 13 8.9601 12.7695 8.57925 12.4362C8.20714 12.1106 8 11.6337 8 11V8H9.25C9.52614 8 9.75 7.77614 9.75 7.5C9.75 7.22386 9.52614 7 9.25 7H8V4C8 3.36626 8.20714 2.88939 8.57925 2.56379C8.9601 2.23054 9.57785 2 10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1C9.42215 1 8.5399 1.26946 7.92075 1.81121C7.75832 1.95333 7.61832 2.11043 7.5 2.28023C7.38168 2.11043 7.24168 1.95333 7.07925 1.81121C6.4601 1.26946 5.57785 1 4.5 1Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/dash_icon.rs b/packages/icons/yew/src/dash_icon.rs index eaa38e0e..0fd3082e 100644 --- a/packages/icons/yew/src/dash_icon.rs +++ b/packages/icons/yew/src/dash_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DashIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DashIcon(props: &DashIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5 7.5C5 7.22386 5.22386 7 5.5 7H9.5C9.77614 7 10 7.22386 10 7.5C10 7.77614 9.77614 8 9.5 8H5.5C5.22386 8 5 7.77614 5 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/dashboard_icon.rs b/packages/icons/yew/src/dashboard_icon.rs index d5651073..041bf6a9 100644 --- a/packages/icons/yew/src/dashboard_icon.rs +++ b/packages/icons/yew/src/dashboard_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DashboardIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DashboardIcon(props: &DashboardIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.8 1L2.74967 0.99997C2.52122 0.999752 2.32429 0.999564 2.14983 1.04145C1.60136 1.17312 1.17312 1.60136 1.04145 2.14983C0.999564 2.32429 0.999752 2.52122 0.99997 2.74967L1 2.8V5.2L0.99997 5.25033C0.999752 5.47878 0.999564 5.67572 1.04145 5.85017C1.17312 6.39864 1.60136 6.82688 2.14983 6.95856C2.32429 7.00044 2.52122 7.00025 2.74967 7.00003L2.8 7H5.2L5.25033 7.00003C5.47878 7.00025 5.67572 7.00044 5.85017 6.95856C6.39864 6.82688 6.82688 6.39864 6.95856 5.85017C7.00044 5.67572 7.00025 5.47878 7.00003 5.25033L7 5.2V2.8L7.00003 2.74967C7.00025 2.52122 7.00044 2.32429 6.95856 2.14983C6.82688 1.60136 6.39864 1.17312 5.85017 1.04145C5.67572 0.999564 5.47878 0.999752 5.25033 0.99997L5.2 1H2.8ZM2.38328 2.01382C2.42632 2.00348 2.49222 2 2.8 2H5.2C5.50779 2 5.57369 2.00348 5.61672 2.01382C5.79955 2.05771 5.94229 2.20045 5.98619 2.38328C5.99652 2.42632 6 2.49222 6 2.8V5.2C6 5.50779 5.99652 5.57369 5.98619 5.61672C5.94229 5.79955 5.79955 5.94229 5.61672 5.98619C5.57369 5.99652 5.50779 6 5.2 6H2.8C2.49222 6 2.42632 5.99652 2.38328 5.98619C2.20045 5.94229 2.05771 5.79955 2.01382 5.61672C2.00348 5.57369 2 5.50779 2 5.2V2.8C2 2.49222 2.00348 2.42632 2.01382 2.38328C2.05771 2.20045 2.20045 2.05771 2.38328 2.01382ZM9.8 1L9.74967 0.99997C9.52122 0.999752 9.32429 0.999564 9.14983 1.04145C8.60136 1.17312 8.17312 1.60136 8.04145 2.14983C7.99956 2.32429 7.99975 2.52122 7.99997 2.74967L8 2.8V5.2L7.99997 5.25033C7.99975 5.47878 7.99956 5.67572 8.04145 5.85017C8.17312 6.39864 8.60136 6.82688 9.14983 6.95856C9.32429 7.00044 9.52122 7.00025 9.74967 7.00003L9.8 7H12.2L12.2503 7.00003C12.4788 7.00025 12.6757 7.00044 12.8502 6.95856C13.3986 6.82688 13.8269 6.39864 13.9586 5.85017C14.0004 5.67572 14.0003 5.47878 14 5.25033L14 5.2V2.8L14 2.74967C14.0003 2.52122 14.0004 2.32429 13.9586 2.14983C13.8269 1.60136 13.3986 1.17312 12.8502 1.04145C12.6757 0.999564 12.4788 0.999752 12.2503 0.99997L12.2 1H9.8ZM9.38328 2.01382C9.42632 2.00348 9.49222 2 9.8 2H12.2C12.5078 2 12.5737 2.00348 12.6167 2.01382C12.7995 2.05771 12.9423 2.20045 12.9862 2.38328C12.9965 2.42632 13 2.49222 13 2.8V5.2C13 5.50779 12.9965 5.57369 12.9862 5.61672C12.9423 5.79955 12.7995 5.94229 12.6167 5.98619C12.5737 5.99652 12.5078 6 12.2 6H9.8C9.49222 6 9.42632 5.99652 9.38328 5.98619C9.20045 5.94229 9.05771 5.79955 9.01382 5.61672C9.00348 5.57369 9 5.50779 9 5.2V2.8C9 2.49222 9.00348 2.42632 9.01382 2.38328C9.05771 2.20045 9.20045 2.05771 9.38328 2.01382ZM2.74967 7.99997L2.8 8H5.2L5.25033 7.99997C5.47878 7.99975 5.67572 7.99956 5.85017 8.04145C6.39864 8.17312 6.82688 8.60136 6.95856 9.14983C7.00044 9.32429 7.00025 9.52122 7.00003 9.74967L7 9.8V12.2L7.00003 12.2503C7.00025 12.4788 7.00044 12.6757 6.95856 12.8502C6.82688 13.3986 6.39864 13.8269 5.85017 13.9586C5.67572 14.0004 5.47878 14.0003 5.25033 14L5.2 14H2.8L2.74967 14C2.52122 14.0003 2.32429 14.0004 2.14983 13.9586C1.60136 13.8269 1.17312 13.3986 1.04145 12.8502C0.999564 12.6757 0.999752 12.4788 0.99997 12.2503L1 12.2V9.8L0.99997 9.74967C0.999752 9.52122 0.999564 9.32429 1.04145 9.14983C1.17312 8.60136 1.60136 8.17312 2.14983 8.04145C2.32429 7.99956 2.52122 7.99975 2.74967 7.99997ZM2.8 9C2.49222 9 2.42632 9.00348 2.38328 9.01382C2.20045 9.05771 2.05771 9.20045 2.01382 9.38328C2.00348 9.42632 2 9.49222 2 9.8V12.2C2 12.5078 2.00348 12.5737 2.01382 12.6167C2.05771 12.7995 2.20045 12.9423 2.38328 12.9862C2.42632 12.9965 2.49222 13 2.8 13H5.2C5.50779 13 5.57369 12.9965 5.61672 12.9862C5.79955 12.9423 5.94229 12.7995 5.98619 12.6167C5.99652 12.5737 6 12.5078 6 12.2V9.8C6 9.49222 5.99652 9.42632 5.98619 9.38328C5.94229 9.20045 5.79955 9.05771 5.61672 9.01382C5.57369 9.00348 5.50779 9 5.2 9H2.8ZM9.8 8L9.74967 7.99997C9.52122 7.99975 9.32429 7.99956 9.14983 8.04145C8.60136 8.17312 8.17312 8.60136 8.04145 9.14983C7.99956 9.32429 7.99975 9.52122 7.99997 9.74967L8 9.8V12.2L7.99997 12.2503C7.99975 12.4788 7.99956 12.6757 8.04145 12.8502C8.17312 13.3986 8.60136 13.8269 9.14983 13.9586C9.32429 14.0004 9.52122 14.0003 9.74967 14L9.8 14H12.2L12.2503 14C12.4788 14.0003 12.6757 14.0004 12.8502 13.9586C13.3986 13.8269 13.8269 13.3986 13.9586 12.8502C14.0004 12.6757 14.0003 12.4788 14 12.2503L14 12.2V9.8L14 9.74967C14.0003 9.52122 14.0004 9.32429 13.9586 9.14983C13.8269 8.60136 13.3986 8.17312 12.8502 8.04145C12.6757 7.99956 12.4788 7.99975 12.2503 7.99997L12.2 8H9.8ZM9.38328 9.01382C9.42632 9.00348 9.49222 9 9.8 9H12.2C12.5078 9 12.5737 9.00348 12.6167 9.01382C12.7995 9.05771 12.9423 9.20045 12.9862 9.38328C12.9965 9.42632 13 9.49222 13 9.8V12.2C13 12.5078 12.9965 12.5737 12.9862 12.6167C12.9423 12.7995 12.7995 12.9423 12.6167 12.9862C12.5737 12.9965 12.5078 13 12.2 13H9.8C9.49222 13 9.42632 12.9965 9.38328 12.9862C9.20045 12.9423 9.05771 12.7995 9.01382 12.6167C9.00348 12.5737 9 12.5078 9 12.2V9.8C9 9.49222 9.00348 9.42632 9.01382 9.38328C9.05771 9.20045 9.20045 9.05771 9.38328 9.01382Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/desktop_icon.rs b/packages/icons/yew/src/desktop_icon.rs index 3d838cc1..44f5f383 100644 --- a/packages/icons/yew/src/desktop_icon.rs +++ b/packages/icons/yew/src/desktop_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DesktopIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DesktopIcon(props: &DesktopIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1 3.25C1 3.11193 1.11193 3 1.25 3H13.75C13.8881 3 14 3.11193 14 3.25V10.75C14 10.8881 13.8881 11 13.75 11H1.25C1.11193 11 1 10.8881 1 10.75V3.25ZM1.25 2C0.559643 2 0 2.55964 0 3.25V10.75C0 11.4404 0.559644 12 1.25 12H5.07341L4.82991 13.2986C4.76645 13.6371 5.02612 13.95 5.37049 13.95H9.62951C9.97389 13.95 10.2336 13.6371 10.1701 13.2986L9.92659 12H13.75C14.4404 12 15 11.4404 15 10.75V3.25C15 2.55964 14.4404 2 13.75 2H1.25ZM9.01091 12H5.98909L5.79222 13.05H9.20778L9.01091 12Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/dimensions_icon.rs b/packages/icons/yew/src/dimensions_icon.rs index 30ef03c5..0582c7ef 100644 --- a/packages/icons/yew/src/dimensions_icon.rs +++ b/packages/icons/yew/src/dimensions_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DimensionsIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DimensionsIcon(props: &DimensionsIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.00014 2.73895C3.00014 2.94698 2.76087 3.06401 2.59666 2.93628L1.00386 1.69744C0.875177 1.59735 0.875177 1.40286 1.00386 1.30277L2.59666 0.063928C2.76087 -0.0637944 3.00014 0.0532293 3.00014 0.261266V1.00012H9.00009V0.261296C9.00009 0.0532591 9.23936 -0.0637646 9.40358 0.0639578L10.9964 1.3028C11.1251 1.40289 11.1251 1.59738 10.9964 1.69747L9.40358 2.93631C9.23936 3.06404 9.00009 2.94701 9.00009 2.73898V2.00012H3.00014V2.73895ZM9.50002 4.99998H2.50002C2.22388 4.99998 2.00002 5.22384 2.00002 5.49998V12.5C2.00002 12.7761 2.22388 13 2.50002 13H9.50002C9.77616 13 10 12.7761 10 12.5V5.49998C10 5.22384 9.77616 4.99998 9.50002 4.99998ZM2.50002 3.99998C1.67159 3.99998 1.00002 4.67156 1.00002 5.49998V12.5C1.00002 13.3284 1.67159 14 2.50002 14H9.50002C10.3284 14 11 13.3284 11 12.5V5.49998C11 4.67156 10.3284 3.99998 9.50002 3.99998H2.50002ZM14.7389 6.00001H14V12H14.7389C14.9469 12 15.064 12.2393 14.9362 12.4035L13.6974 13.9963C13.5973 14.125 13.4028 14.125 13.3027 13.9963L12.0639 12.4035C11.9362 12.2393 12.0532 12 12.2612 12H13V6.00001H12.2612C12.0532 6.00001 11.9361 5.76074 12.0639 5.59653L13.3027 4.00373C13.4028 3.87505 13.5973 3.87505 13.6974 4.00374L14.9362 5.59653C15.0639 5.76074 14.9469 6.00001 14.7389 6.00001Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/disc_icon.rs b/packages/icons/yew/src/disc_icon.rs index 0ce70ea7..13e792eb 100644 --- a/packages/icons/yew/src/disc_icon.rs +++ b/packages/icons/yew/src/disc_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DiscIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DiscIcon(props: &DiscIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.877075C3.84222 0.877075 0.877075 3.84222 0.877075 7.49991C0.877075 11.1576 3.84222 14.1227 7.49991 14.1227C11.1576 14.1227 14.1227 11.1576 14.1227 7.49991C14.1227 3.84222 11.1576 0.877075 7.49991 0.877075ZM1.82708 7.49991C1.82708 4.36689 4.36689 1.82707 7.49991 1.82707C10.6329 1.82707 13.1727 4.36689 13.1727 7.49991C13.1727 10.6329 10.6329 13.1727 7.49991 13.1727C4.36689 13.1727 1.82708 10.6329 1.82708 7.49991ZM8.37287 7.50006C8.37287 7.98196 7.98221 8.37263 7.5003 8.37263C7.01839 8.37263 6.62773 7.98196 6.62773 7.50006C6.62773 7.01815 7.01839 6.62748 7.5003 6.62748C7.98221 6.62748 8.37287 7.01815 8.37287 7.50006ZM9.32287 7.50006C9.32287 8.50664 8.50688 9.32263 7.5003 9.32263C6.49372 9.32263 5.67773 8.50664 5.67773 7.50006C5.67773 6.49348 6.49372 5.67748 7.5003 5.67748C8.50688 5.67748 9.32287 6.49348 9.32287 7.50006Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/discord_logo_icon.rs b/packages/icons/yew/src/discord_logo_icon.rs index 31e209bc..d1748824 100644 --- a/packages/icons/yew/src/discord_logo_icon.rs +++ b/packages/icons/yew/src/discord_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DiscordLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DiscordLogoIcon(props: &DiscordLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.07451 1.82584C5.03267 1.81926 4.99014 1.81825 4.94803 1.82284C4.10683 1.91446 2.82673 2.36828 2.07115 2.77808C2.02106 2.80525 1.97621 2.84112 1.93869 2.88402C1.62502 3.24266 1.34046 3.82836 1.11706 4.38186C0.887447 4.95076 0.697293 5.55032 0.588937 5.98354C0.236232 7.39369 0.042502 9.08728 0.0174948 10.6925C0.0162429 10.7729 0.0351883 10.8523 0.0725931 10.9234C0.373679 11.496 1.02015 12.027 1.66809 12.4152C2.32332 12.8078 3.08732 13.1182 3.70385 13.1778C3.85335 13.1922 4.00098 13.1358 4.10282 13.0255C4.2572 12.8581 4.5193 12.4676 4.71745 12.1643C4.80739 12.0267 4.89157 11.8953 4.95845 11.7901C5.62023 11.9106 6.45043 11.9801 7.50002 11.9801C8.54844 11.9801 9.37796 11.9107 10.0394 11.7905C10.1062 11.8957 10.1903 12.0269 10.2801 12.1643C10.4783 12.4676 10.7404 12.8581 10.8947 13.0255C10.9966 13.1358 11.1442 13.1922 11.2937 13.1778C11.9102 13.1182 12.6742 12.8078 13.3295 12.4152C13.9774 12.027 14.6239 11.496 14.925 10.9234C14.9624 10.8523 14.9813 10.7729 14.9801 10.6925C14.9551 9.08728 14.7613 7.39369 14.4086 5.98354C14.3003 5.55032 14.1101 4.95076 13.8805 4.38186C13.6571 3.82836 13.3725 3.24266 13.0589 2.88402C13.0214 2.84112 12.9765 2.80525 12.9264 2.77808C12.1708 2.36828 10.8907 1.91446 10.0495 1.82284C10.0074 1.81825 9.96489 1.81926 9.92305 1.82584C9.71676 1.85825 9.5391 1.96458 9.40809 2.06355C9.26977 2.16804 9.1413 2.29668 9.0304 2.42682C8.86968 2.61544 8.71437 2.84488 8.61428 3.06225C8.27237 3.03501 7.90138 3.02 7.5 3.02C7.0977 3.02 6.72593 3.03508 6.38337 3.06244C6.28328 2.84501 6.12792 2.61549 5.96716 2.42682C5.85626 2.29668 5.72778 2.16804 5.58947 2.06355C5.45846 1.96458 5.2808 1.85825 5.07451 1.82584ZM11.0181 11.5382C11.0395 11.5713 11.0615 11.6051 11.0838 11.6392C11.2169 11.843 11.3487 12.0385 11.4508 12.1809C11.8475 12.0916 12.352 11.8818 12.8361 11.5917C13.3795 11.2661 13.8098 10.8918 14.0177 10.5739C13.9852 9.06758 13.7993 7.50369 13.4773 6.21648C13.38 5.82759 13.2038 5.27021 12.9903 4.74117C12.7893 4.24326 12.5753 3.82162 12.388 3.5792C11.7376 3.24219 10.7129 2.88582 10.0454 2.78987C10.0308 2.79839 10.0113 2.81102 9.98675 2.82955C9.91863 2.881 9.84018 2.95666 9.76111 3.04945C9.71959 3.09817 9.68166 3.1471 9.64768 3.19449C9.953 3.25031 10.2253 3.3171 10.4662 3.39123C11.1499 3.6016 11.6428 3.89039 11.884 4.212C12.0431 4.42408 12.0001 4.72494 11.788 4.884C11.5759 5.04306 11.2751 5.00008 11.116 4.788C11.0572 4.70961 10.8001 4.4984 10.1838 4.30877C9.58933 4.12585 8.71356 3.98 7.5 3.98C6.28644 3.98 5.41067 4.12585 4.81616 4.30877C4.19988 4.4984 3.94279 4.70961 3.884 4.788C3.72494 5.00008 3.42408 5.04306 3.212 4.884C2.99992 4.72494 2.95694 4.42408 3.116 4.212C3.35721 3.89039 3.85011 3.6016 4.53383 3.39123C4.77418 3.31727 5.04571 3.25062 5.35016 3.19488C5.31611 3.14738 5.27808 3.09831 5.23645 3.04945C5.15738 2.95666 5.07893 2.881 5.01081 2.82955C4.98628 2.81102 4.96674 2.79839 4.95217 2.78987C4.28464 2.88582 3.25999 3.24219 2.60954 3.5792C2.42226 3.82162 2.20825 4.24326 2.00729 4.74117C1.79376 5.27021 1.61752 5.82759 1.52025 6.21648C1.19829 7.50369 1.01236 9.06758 0.97986 10.5739C1.18772 10.8918 1.61807 11.2661 2.16148 11.5917C2.64557 11.8818 3.15003 12.0916 3.5468 12.1809C3.64885 12.0385 3.78065 11.843 3.9138 11.6392C3.93626 11.6048 3.95838 11.5708 3.97996 11.5375C3.19521 11.2591 2.77361 10.8758 2.50064 10.4664C2.35359 10.2458 2.4132 9.94778 2.63377 9.80074C2.85435 9.65369 3.15236 9.71329 3.29941 9.93387C3.56077 10.3259 4.24355 11.0201 7.50002 11.0201C10.7565 11.0201 11.4392 10.326 11.7006 9.93386C11.8477 9.71329 12.1457 9.65369 12.3663 9.80074C12.5869 9.94779 12.6465 10.2458 12.4994 10.4664C12.2262 10.8762 11.8041 11.2598 11.0181 11.5382ZM4.08049 7.01221C4.32412 6.74984 4.65476 6.60162 5.00007 6.59998C5.34538 6.60162 5.67603 6.74984 5.91966 7.01221C6.16329 7.27459 6.30007 7.62974 6.30007 7.99998C6.30007 8.37021 6.16329 8.72536 5.91966 8.98774C5.67603 9.25011 5.34538 9.39833 5.00007 9.39998C4.65476 9.39833 4.32412 9.25011 4.08049 8.98774C3.83685 8.72536 3.70007 8.37021 3.70007 7.99998C3.70007 7.62974 3.83685 7.27459 4.08049 7.01221ZM9.99885 6.59998C9.65354 6.60162 9.3229 6.74984 9.07926 7.01221C8.83563 7.27459 8.69885 7.62974 8.69885 7.99998C8.69885 8.37021 8.83563 8.72536 9.07926 8.98774C9.3229 9.25011 9.65354 9.39833 9.99885 9.39998C10.3442 9.39833 10.6748 9.25011 10.9184 8.98774C11.1621 8.72536 11.2989 8.37021 11.2989 7.99998C11.2989 7.62974 11.1621 7.27459 10.9184 7.01221C10.6748 6.74984 10.3442 6.60162 9.99885 6.59998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/divider_horizontal_icon.rs b/packages/icons/yew/src/divider_horizontal_icon.rs index 96e04c7a..0b18b78c 100644 --- a/packages/icons/yew/src/divider_horizontal_icon.rs +++ b/packages/icons/yew/src/divider_horizontal_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DividerHorizontalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DividerHorizontalIcon(props: &DividerHorizontalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 7.5C2 7.22386 2.22386 7 2.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/divider_vertical_icon.rs b/packages/icons/yew/src/divider_vertical_icon.rs index 5afd0695..7ed46240 100644 --- a/packages/icons/yew/src/divider_vertical_icon.rs +++ b/packages/icons/yew/src/divider_vertical_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DividerVerticalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DividerVerticalIcon(props: &DividerVerticalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 2C7.77614 2 8 2.22386 8 2.5L8 12.5C8 12.7761 7.77614 13 7.5 13C7.22386 13 7 12.7761 7 12.5L7 2.5C7 2.22386 7.22386 2 7.5 2Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/dot_filled_icon.rs b/packages/icons/yew/src/dot_filled_icon.rs index ea77d57f..bc12f625 100644 --- a/packages/icons/yew/src/dot_filled_icon.rs +++ b/packages/icons/yew/src/dot_filled_icon.rs @@ -1,31 +1,32 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DotFilledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DotFilledIcon(props: &DotFilledIconProps) -> Html { - let node_ref = use_node_ref(); html! { } diff --git a/packages/icons/yew/src/dot_icon.rs b/packages/icons/yew/src/dot_icon.rs index 8dbbe288..0ca47bd3 100644 --- a/packages/icons/yew/src/dot_icon.rs +++ b/packages/icons/yew/src/dot_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DotIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DotIcon(props: &DotIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 9.125C8.39746 9.125 9.125 8.39746 9.125 7.5C9.125 6.60254 8.39746 5.875 7.5 5.875C6.60254 5.875 5.875 6.60254 5.875 7.5C5.875 8.39746 6.60254 9.125 7.5 9.125ZM7.5 10.125C8.94975 10.125 10.125 8.94975 10.125 7.5C10.125 6.05025 8.94975 4.875 7.5 4.875C6.05025 4.875 4.875 6.05025 4.875 7.5C4.875 8.94975 6.05025 10.125 7.5 10.125Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/dots_horizontal_icon.rs b/packages/icons/yew/src/dots_horizontal_icon.rs index 81455038..f1f19b4e 100644 --- a/packages/icons/yew/src/dots_horizontal_icon.rs +++ b/packages/icons/yew/src/dots_horizontal_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DotsHorizontalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DotsHorizontalIcon(props: &DotsHorizontalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.625 7.5C3.625 8.12132 3.12132 8.625 2.5 8.625C1.87868 8.625 1.375 8.12132 1.375 7.5C1.375 6.87868 1.87868 6.375 2.5 6.375C3.12132 6.375 3.625 6.87868 3.625 7.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM12.5 8.625C13.1213 8.625 13.625 8.12132 13.625 7.5C13.625 6.87868 13.1213 6.375 12.5 6.375C11.8787 6.375 11.375 6.87868 11.375 7.5C11.375 8.12132 11.8787 8.625 12.5 8.625Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/dots_vertical_icon.rs b/packages/icons/yew/src/dots_vertical_icon.rs index 15121c4f..e50ebab3 100644 --- a/packages/icons/yew/src/dots_vertical_icon.rs +++ b/packages/icons/yew/src/dots_vertical_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DotsVerticalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DotsVerticalIcon(props: &DotsVerticalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.625 2.5C8.625 3.12132 8.12132 3.625 7.5 3.625C6.87868 3.625 6.375 3.12132 6.375 2.5C6.375 1.87868 6.87868 1.375 7.5 1.375C8.12132 1.375 8.625 1.87868 8.625 2.5ZM8.625 7.5C8.625 8.12132 8.12132 8.625 7.5 8.625C6.87868 8.625 6.375 8.12132 6.375 7.5C6.375 6.87868 6.87868 6.375 7.5 6.375C8.12132 6.375 8.625 6.87868 8.625 7.5ZM7.5 13.625C8.12132 13.625 8.625 13.1213 8.625 12.5C8.625 11.8787 8.12132 11.375 7.5 11.375C6.87868 11.375 6.375 11.8787 6.375 12.5C6.375 13.1213 6.87868 13.625 7.5 13.625Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/double_arrow_down_icon.rs b/packages/icons/yew/src/double_arrow_down_icon.rs index 9c9c2d6e..c952d658 100644 --- a/packages/icons/yew/src/double_arrow_down_icon.rs +++ b/packages/icons/yew/src/double_arrow_down_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DoubleArrowDownIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DoubleArrowDownIcon(props: &DoubleArrowDownIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.85355 2.14645C3.65829 1.95118 3.34171 1.95118 3.14645 2.14645C2.95118 2.34171 2.95118 2.65829 3.14645 2.85355L7.14645 6.85355C7.34171 7.04882 7.65829 7.04882 7.85355 6.85355L11.8536 2.85355C12.0488 2.65829 12.0488 2.34171 11.8536 2.14645C11.6583 1.95118 11.3417 1.95118 11.1464 2.14645L7.5 5.79289L3.85355 2.14645ZM3.85355 8.14645C3.65829 7.95118 3.34171 7.95118 3.14645 8.14645C2.95118 8.34171 2.95118 8.65829 3.14645 8.85355L7.14645 12.8536C7.34171 13.0488 7.65829 13.0488 7.85355 12.8536L11.8536 8.85355C12.0488 8.65829 12.0488 8.34171 11.8536 8.14645C11.6583 7.95118 11.3417 7.95118 11.1464 8.14645L7.5 11.7929L3.85355 8.14645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/double_arrow_left_icon.rs b/packages/icons/yew/src/double_arrow_left_icon.rs index 593181a9..7aa1d4d3 100644 --- a/packages/icons/yew/src/double_arrow_left_icon.rs +++ b/packages/icons/yew/src/double_arrow_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DoubleArrowLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DoubleArrowLeftIcon(props: &DoubleArrowLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.85355 3.85355C7.04882 3.65829 7.04882 3.34171 6.85355 3.14645C6.65829 2.95118 6.34171 2.95118 6.14645 3.14645L2.14645 7.14645C1.95118 7.34171 1.95118 7.65829 2.14645 7.85355L6.14645 11.8536C6.34171 12.0488 6.65829 12.0488 6.85355 11.8536C7.04882 11.6583 7.04882 11.3417 6.85355 11.1464L3.20711 7.5L6.85355 3.85355ZM12.8536 3.85355C13.0488 3.65829 13.0488 3.34171 12.8536 3.14645C12.6583 2.95118 12.3417 2.95118 12.1464 3.14645L8.14645 7.14645C7.95118 7.34171 7.95118 7.65829 8.14645 7.85355L12.1464 11.8536C12.3417 12.0488 12.6583 12.0488 12.8536 11.8536C13.0488 11.6583 13.0488 11.3417 12.8536 11.1464L9.20711 7.5L12.8536 3.85355Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/double_arrow_right_icon.rs b/packages/icons/yew/src/double_arrow_right_icon.rs index de2cf8d1..ddc4e840 100644 --- a/packages/icons/yew/src/double_arrow_right_icon.rs +++ b/packages/icons/yew/src/double_arrow_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DoubleArrowRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DoubleArrowRightIcon(props: &DoubleArrowRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.14645 11.1464C1.95118 11.3417 1.95118 11.6583 2.14645 11.8536C2.34171 12.0488 2.65829 12.0488 2.85355 11.8536L6.85355 7.85355C7.04882 7.65829 7.04882 7.34171 6.85355 7.14645L2.85355 3.14645C2.65829 2.95118 2.34171 2.95118 2.14645 3.14645C1.95118 3.34171 1.95118 3.65829 2.14645 3.85355L5.79289 7.5L2.14645 11.1464ZM8.14645 11.1464C7.95118 11.3417 7.95118 11.6583 8.14645 11.8536C8.34171 12.0488 8.65829 12.0488 8.85355 11.8536L12.8536 7.85355C13.0488 7.65829 13.0488 7.34171 12.8536 7.14645L8.85355 3.14645C8.65829 2.95118 8.34171 2.95118 8.14645 3.14645C7.95118 3.34171 7.95118 3.65829 8.14645 3.85355L11.7929 7.5L8.14645 11.1464Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/double_arrow_up_icon.rs b/packages/icons/yew/src/double_arrow_up_icon.rs index 66d11db0..24ac0f18 100644 --- a/packages/icons/yew/src/double_arrow_up_icon.rs +++ b/packages/icons/yew/src/double_arrow_up_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DoubleArrowUpIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DoubleArrowUpIcon(props: &DoubleArrowUpIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.1464 6.85355C11.3417 7.04882 11.6583 7.04882 11.8536 6.85355C12.0488 6.65829 12.0488 6.34171 11.8536 6.14645L7.85355 2.14645C7.65829 1.95118 7.34171 1.95118 7.14645 2.14645L3.14645 6.14645C2.95118 6.34171 2.95118 6.65829 3.14645 6.85355C3.34171 7.04882 3.65829 7.04882 3.85355 6.85355L7.5 3.20711L11.1464 6.85355ZM11.1464 12.8536C11.3417 13.0488 11.6583 13.0488 11.8536 12.8536C12.0488 12.6583 12.0488 12.3417 11.8536 12.1464L7.85355 8.14645C7.65829 7.95118 7.34171 7.95118 7.14645 8.14645L3.14645 12.1464C2.95118 12.3417 2.95118 12.6583 3.14645 12.8536C3.34171 13.0488 3.65829 13.0488 3.85355 12.8536L7.5 9.20711L11.1464 12.8536Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/download_icon.rs b/packages/icons/yew/src/download_icon.rs index ba73891d..ccff19c9 100644 --- a/packages/icons/yew/src/download_icon.rs +++ b/packages/icons/yew/src/download_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DownloadIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DownloadIcon(props: &DownloadIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.50005 1.04999C7.74858 1.04999 7.95005 1.25146 7.95005 1.49999V8.41359L10.1819 6.18179C10.3576 6.00605 10.6425 6.00605 10.8182 6.18179C10.994 6.35753 10.994 6.64245 10.8182 6.81819L7.81825 9.81819C7.64251 9.99392 7.35759 9.99392 7.18185 9.81819L4.18185 6.81819C4.00611 6.64245 4.00611 6.35753 4.18185 6.18179C4.35759 6.00605 4.64251 6.00605 4.81825 6.18179L7.05005 8.41359V1.49999C7.05005 1.25146 7.25152 1.04999 7.50005 1.04999ZM2.5 10C2.77614 10 3 10.2239 3 10.5V12C3 12.5539 3.44565 13 3.99635 13H11.0012C11.5529 13 12 12.5528 12 12V10.5C12 10.2239 12.2239 10 12.5 10C12.7761 10 13 10.2239 13 10.5V12C13 13.1041 12.1062 14 11.0012 14H3.99635C2.89019 14 2 13.103 2 12V10.5C2 10.2239 2.22386 10 2.5 10Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/drag_handle_dots_1_icon.rs b/packages/icons/yew/src/drag_handle_dots_1_icon.rs index f818819c..aba53330 100644 --- a/packages/icons/yew/src/drag_handle_dots_1_icon.rs +++ b/packages/icons/yew/src/drag_handle_dots_1_icon.rs @@ -1,70 +1,71 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DragHandleDots1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DragHandleDots1Icon(props: &DragHandleDots1IconProps) -> Html { - let node_ref = use_node_ref(); html! { + + + + - - - - - - - + + + + + + - - - - - - - - + + + + + + + + + - - - - - - + + } } diff --git a/packages/icons/yew/src/drag_handle_dots_2_icon.rs b/packages/icons/yew/src/drag_handle_dots_2_icon.rs index 1b61dbab..320a0891 100644 --- a/packages/icons/yew/src/drag_handle_dots_2_icon.rs +++ b/packages/icons/yew/src/drag_handle_dots_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DragHandleDots2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DragHandleDots2Icon(props: &DragHandleDots2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.5 4.625C6.12132 4.625 6.625 4.12132 6.625 3.5C6.625 2.87868 6.12132 2.375 5.5 2.375C4.87868 2.375 4.375 2.87868 4.375 3.5C4.375 4.12132 4.87868 4.625 5.5 4.625ZM9.5 4.625C10.1213 4.625 10.625 4.12132 10.625 3.5C10.625 2.87868 10.1213 2.375 9.5 2.375C8.87868 2.375 8.375 2.87868 8.375 3.5C8.375 4.12132 8.87868 4.625 9.5 4.625ZM10.625 7.5C10.625 8.12132 10.1213 8.625 9.5 8.625C8.87868 8.625 8.375 8.12132 8.375 7.5C8.375 6.87868 8.87868 6.375 9.5 6.375C10.1213 6.375 10.625 6.87868 10.625 7.5ZM5.5 8.625C6.12132 8.625 6.625 8.12132 6.625 7.5C6.625 6.87868 6.12132 6.375 5.5 6.375C4.87868 6.375 4.375 6.87868 4.375 7.5C4.375 8.12132 4.87868 8.625 5.5 8.625ZM10.625 11.5C10.625 12.1213 10.1213 12.625 9.5 12.625C8.87868 12.625 8.375 12.1213 8.375 11.5C8.375 10.8787 8.87868 10.375 9.5 10.375C10.1213 10.375 10.625 10.8787 10.625 11.5ZM5.5 12.625C6.12132 12.625 6.625 12.1213 6.625 11.5C6.625 10.8787 6.12132 10.375 5.5 10.375C4.87868 10.375 4.375 10.8787 4.375 11.5C4.375 12.1213 4.87868 12.625 5.5 12.625Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/drag_handle_horizontal_icon.rs b/packages/icons/yew/src/drag_handle_horizontal_icon.rs index ab727719..594483e0 100644 --- a/packages/icons/yew/src/drag_handle_horizontal_icon.rs +++ b/packages/icons/yew/src/drag_handle_horizontal_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DragHandleHorizontalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DragHandleHorizontalIcon(props: &DragHandleHorizontalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.49998 4.09998C2.27906 4.09998 2.09998 4.27906 2.09998 4.49998C2.09998 4.72089 2.27906 4.89998 2.49998 4.89998H12.5C12.7209 4.89998 12.9 4.72089 12.9 4.49998C12.9 4.27906 12.7209 4.09998 12.5 4.09998H2.49998ZM2.49998 6.09998C2.27906 6.09998 2.09998 6.27906 2.09998 6.49998C2.09998 6.72089 2.27906 6.89998 2.49998 6.89998H12.5C12.7209 6.89998 12.9 6.72089 12.9 6.49998C12.9 6.27906 12.7209 6.09998 12.5 6.09998H2.49998ZM2.09998 8.49998C2.09998 8.27906 2.27906 8.09998 2.49998 8.09998H12.5C12.7209 8.09998 12.9 8.27906 12.9 8.49998C12.9 8.72089 12.7209 8.89998 12.5 8.89998H2.49998C2.27906 8.89998 2.09998 8.72089 2.09998 8.49998ZM2.49998 10.1C2.27906 10.1 2.09998 10.2791 2.09998 10.5C2.09998 10.7209 2.27906 10.9 2.49998 10.9H12.5C12.7209 10.9 12.9 10.7209 12.9 10.5C12.9 10.2791 12.7209 10.1 12.5 10.1H2.49998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/drag_handle_vertical_icon.rs b/packages/icons/yew/src/drag_handle_vertical_icon.rs index ae458b9f..75599999 100644 --- a/packages/icons/yew/src/drag_handle_vertical_icon.rs +++ b/packages/icons/yew/src/drag_handle_vertical_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DragHandleVerticalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DragHandleVerticalIcon(props: &DragHandleVerticalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.09998 12.5C4.09998 12.7209 4.27906 12.9 4.49998 12.9C4.72089 12.9 4.89998 12.7209 4.89998 12.5L4.89998 2.50002C4.89998 2.27911 4.72089 2.10003 4.49998 2.10003C4.27906 2.10003 4.09998 2.27911 4.09998 2.50002L4.09998 12.5ZM6.09998 12.5C6.09998 12.7209 6.27906 12.9 6.49998 12.9C6.72089 12.9 6.89998 12.7209 6.89998 12.5L6.89998 2.50002C6.89998 2.27911 6.72089 2.10003 6.49998 2.10003C6.27906 2.10003 6.09998 2.27911 6.09998 2.50002L6.09998 12.5ZM8.49998 12.9C8.27906 12.9 8.09998 12.7209 8.09998 12.5L8.09998 2.50002C8.09998 2.27911 8.27906 2.10002 8.49998 2.10002C8.72089 2.10002 8.89998 2.27911 8.89998 2.50002L8.89998 12.5C8.89998 12.7209 8.72089 12.9 8.49998 12.9ZM10.1 12.5C10.1 12.7209 10.2791 12.9 10.5 12.9C10.7209 12.9 10.9 12.7209 10.9 12.5L10.9 2.50002C10.9 2.27911 10.7209 2.10002 10.5 2.10002C10.2791 2.10002 10.1 2.27911 10.1 2.50002L10.1 12.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/drawing_pin_filled_icon.rs b/packages/icons/yew/src/drawing_pin_filled_icon.rs index 2d0cfd60..9091ce36 100644 --- a/packages/icons/yew/src/drawing_pin_filled_icon.rs +++ b/packages/icons/yew/src/drawing_pin_filled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DrawingPinFilledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DrawingPinFilledIcon(props: &DrawingPinFilledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9.62129 1.13607C9.81656 0.940808 10.1331 0.940809 10.3284 1.13607L11.3891 2.19673L12.8033 3.61094L13.8639 4.6716C14.0592 4.86687 14.0592 5.18345 13.8639 5.37871C13.6687 5.57397 13.3521 5.57397 13.1568 5.37871L12.5038 4.7257L8.86727 9.57443L9.97485 10.682C10.1701 10.8773 10.1701 11.1939 9.97485 11.3891C9.77959 11.5844 9.463 11.5844 9.26774 11.3891L7.85353 9.97491L6.79287 8.91425L3.5225 12.1846C3.32724 12.3799 3.01065 12.3799 2.81539 12.1846C2.62013 11.9894 2.62013 11.6728 2.81539 11.4775L6.08576 8.20714L5.0251 7.14648L3.61089 5.73226C3.41563 5.537 3.41562 5.22042 3.61089 5.02516C3.80615 4.8299 4.12273 4.8299 4.31799 5.02516L5.42557 6.13274L10.2743 2.49619L9.62129 1.84318C9.42603 1.64792 9.42603 1.33133 9.62129 1.13607Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/drawing_pin_icon.rs b/packages/icons/yew/src/drawing_pin_icon.rs index 0cf7dba8..b824fe63 100644 --- a/packages/icons/yew/src/drawing_pin_icon.rs +++ b/packages/icons/yew/src/drawing_pin_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DrawingPinIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DrawingPinIcon(props: &DrawingPinIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M10.3285 1.13607C10.1332 0.940809 9.81662 0.940808 9.62136 1.13607C9.42609 1.33133 9.42609 1.64792 9.62136 1.84318L10.2744 2.49619L5.42563 6.13274L4.31805 5.02516C4.12279 4.8299 3.80621 4.8299 3.61095 5.02516C3.41569 5.22042 3.41569 5.537 3.61095 5.73226L5.02516 7.14648L6.08582 8.20714L2.81545 11.4775C2.62019 11.6728 2.62019 11.9894 2.81545 12.1846C3.01072 12.3799 3.3273 12.3799 3.52256 12.1846L6.79293 8.91425L7.85359 9.97491L9.2678 11.3891C9.46306 11.5844 9.77965 11.5844 9.97491 11.3891C10.1702 11.1939 10.1702 10.8773 9.97491 10.682L8.86733 9.57443L12.5039 4.7257L13.1569 5.37871C13.3522 5.57397 13.6687 5.57397 13.864 5.37871C14.0593 5.18345 14.0593 4.86687 13.864 4.6716L12.8033 3.61094L11.3891 2.19673L10.3285 1.13607ZM6.13992 6.84702L10.9887 3.21047L11.7896 4.01142L8.15305 8.86015L6.13992 6.84702Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/dropdown_menu_icon.rs b/packages/icons/yew/src/dropdown_menu_icon.rs index 5d694a84..b295383b 100644 --- a/packages/icons/yew/src/dropdown_menu_icon.rs +++ b/packages/icons/yew/src/dropdown_menu_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct DropdownMenuIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn DropdownMenuIcon(props: &DropdownMenuIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49999 3.09998C7.27907 3.09998 7.09999 3.27906 7.09999 3.49998C7.09999 3.72089 7.27907 3.89998 7.49999 3.89998H14.5C14.7209 3.89998 14.9 3.72089 14.9 3.49998C14.9 3.27906 14.7209 3.09998 14.5 3.09998H7.49999ZM7.49998 5.1C7.27907 5.1 7.09998 5.27908 7.09998 5.5C7.09998 5.72091 7.27907 5.9 7.49998 5.9H14.5C14.7209 5.9 14.9 5.72091 14.9 5.5C14.9 5.27908 14.7209 5.1 14.5 5.1H7.49998ZM7.1 7.5C7.1 7.27908 7.27909 7.1 7.5 7.1H14.5C14.7209 7.1 14.9 7.27908 14.9 7.5C14.9 7.72091 14.7209 7.9 14.5 7.9H7.5C7.27909 7.9 7.1 7.72091 7.1 7.5ZM7.49998 9.1C7.27907 9.1 7.09998 9.27908 7.09998 9.5C7.09998 9.72091 7.27907 9.9 7.49998 9.9H14.5C14.7209 9.9 14.9 9.72091 14.9 9.5C14.9 9.27908 14.7209 9.1 14.5 9.1H7.49998ZM7.09998 11.5C7.09998 11.2791 7.27907 11.1 7.49998 11.1H14.5C14.7209 11.1 14.9 11.2791 14.9 11.5C14.9 11.7209 14.7209 11.9 14.5 11.9H7.49998C7.27907 11.9 7.09998 11.7209 7.09998 11.5ZM2.5 9.25003L5 6.00003H0L2.5 9.25003Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/enter_full_screen_icon.rs b/packages/icons/yew/src/enter_full_screen_icon.rs index b50f90fd..24ca700f 100644 --- a/packages/icons/yew/src/enter_full_screen_icon.rs +++ b/packages/icons/yew/src/enter_full_screen_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct EnterFullScreenIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn EnterFullScreenIcon(props: &EnterFullScreenIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 2.5C2 2.22386 2.22386 2 2.5 2H5.5C5.77614 2 6 2.22386 6 2.5C6 2.77614 5.77614 3 5.5 3H3V5.5C3 5.77614 2.77614 6 2.5 6C2.22386 6 2 5.77614 2 5.5V2.5ZM9 2.5C9 2.22386 9.22386 2 9.5 2H12.5C12.7761 2 13 2.22386 13 2.5V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3H9.5C9.22386 3 9 2.77614 9 2.5ZM2.5 9C2.77614 9 3 9.22386 3 9.5V12H5.5C5.77614 12 6 12.2239 6 12.5C6 12.7761 5.77614 13 5.5 13H2.5C2.22386 13 2 12.7761 2 12.5V9.5C2 9.22386 2.22386 9 2.5 9ZM12.5 9C12.7761 9 13 9.22386 13 9.5V12.5C13 12.7761 12.7761 13 12.5 13H9.5C9.22386 13 9 12.7761 9 12.5C9 12.2239 9.22386 12 9.5 12H12V9.5C12 9.22386 12.2239 9 12.5 9Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/enter_icon.rs b/packages/icons/yew/src/enter_icon.rs index 3dd49462..874b59c5 100644 --- a/packages/icons/yew/src/enter_icon.rs +++ b/packages/icons/yew/src/enter_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct EnterIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn EnterIcon(props: &EnterIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.5 1C4.22386 1 4 1.22386 4 1.5C4 1.77614 4.22386 2 4.5 2H12V13H4.5C4.22386 13 4 13.2239 4 13.5C4 13.7761 4.22386 14 4.5 14H12C12.5523 14 13 13.5523 13 13V2C13 1.44772 12.5523 1 12 1H4.5ZM6.60355 4.89645C6.40829 4.70118 6.09171 4.70118 5.89645 4.89645C5.70118 5.09171 5.70118 5.40829 5.89645 5.60355L7.29289 7H0.5C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H7.29289L5.89645 9.39645C5.70118 9.59171 5.70118 9.90829 5.89645 10.1036C6.09171 10.2988 6.40829 10.2988 6.60355 10.1036L8.85355 7.85355C9.04882 7.65829 9.04882 7.34171 8.85355 7.14645L6.60355 4.89645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/envelope_closed_icon.rs b/packages/icons/yew/src/envelope_closed_icon.rs index c82d2896..e9902929 100644 --- a/packages/icons/yew/src/envelope_closed_icon.rs +++ b/packages/icons/yew/src/envelope_closed_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct EnvelopeClosedIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn EnvelopeClosedIcon(props: &EnvelopeClosedIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1 2C0.447715 2 0 2.44772 0 3V12C0 12.5523 0.447715 13 1 13H14C14.5523 13 15 12.5523 15 12V3C15 2.44772 14.5523 2 14 2H1ZM1 3L14 3V3.92494C13.9174 3.92486 13.8338 3.94751 13.7589 3.99505L7.5 7.96703L1.24112 3.99505C1.16621 3.94751 1.0826 3.92486 1 3.92494V3ZM1 4.90797V12H14V4.90797L7.74112 8.87995C7.59394 8.97335 7.40606 8.97335 7.25888 8.87995L1 4.90797Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/envelope_open_icon.rs b/packages/icons/yew/src/envelope_open_icon.rs index 35d70fea..4727136f 100644 --- a/packages/icons/yew/src/envelope_open_icon.rs +++ b/packages/icons/yew/src/envelope_open_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct EnvelopeOpenIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn EnvelopeOpenIcon(props: &EnvelopeOpenIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.94721 0.164594C7.66569 0.0238299 7.33431 0.0238302 7.05279 0.164594L0.552786 3.41459C0.214002 3.58399 0 3.93025 0 4.30902V12C0 12.5523 0.447715 13 1 13H14C14.5523 13 15 12.5523 15 12V4.30902C15 3.93025 14.786 3.58399 14.4472 3.41459L7.94721 0.164594ZM13.5689 4.09349L7.5 1.05902L1.43105 4.09349L7.5 7.29136L13.5689 4.09349ZM1 4.88366V12H14V4.88366L7.70977 8.19813C7.57848 8.26731 7.42152 8.26731 7.29023 8.19813L1 4.88366Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/eraser_icon.rs b/packages/icons/yew/src/eraser_icon.rs index 30c85124..fc306b62 100644 --- a/packages/icons/yew/src/eraser_icon.rs +++ b/packages/icons/yew/src/eraser_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct EraserIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn EraserIcon(props: &EraserIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.36052 0.72921C8.55578 0.533948 8.87236 0.533948 9.06763 0.72921L14.2708 5.93235C14.466 6.12761 14.466 6.4442 14.2708 6.63946L8.95513 11.9551L7.3466 13.5636C6.76081 14.1494 5.81106 14.1494 5.22528 13.5636L1.43635 9.7747C0.850563 9.18891 0.850563 8.23917 1.43635 7.65338L3.04488 6.04485L8.36052 0.72921ZM8.71407 1.78987L4.10554 6.3984L8.60157 10.8944L13.2101 6.28591L8.71407 1.78987ZM7.89447 11.6015L3.39843 7.10551L2.14346 8.36049C1.94819 8.55575 1.94819 8.87233 2.14346 9.06759L5.93238 12.8565C6.12765 13.0518 6.44423 13.0518 6.63949 12.8565L7.89447 11.6015Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/exclamation_triangle_icon.rs b/packages/icons/yew/src/exclamation_triangle_icon.rs index 83242e5a..e9c65573 100644 --- a/packages/icons/yew/src/exclamation_triangle_icon.rs +++ b/packages/icons/yew/src/exclamation_triangle_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ExclamationTriangleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ExclamationTriangleIcon(props: &ExclamationTriangleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.4449 0.608765C8.0183 -0.107015 6.9817 -0.107015 6.55509 0.608766L0.161178 11.3368C-0.275824 12.07 0.252503 13 1.10608 13H13.8939C14.7475 13 15.2758 12.07 14.8388 11.3368L8.4449 0.608765ZM7.4141 1.12073C7.45288 1.05566 7.54712 1.05566 7.5859 1.12073L13.9798 11.8488C14.0196 11.9154 13.9715 12 13.8939 12H1.10608C1.02849 12 0.980454 11.9154 1.02018 11.8488L7.4141 1.12073ZM6.8269 4.48611C6.81221 4.10423 7.11783 3.78663 7.5 3.78663C7.88217 3.78663 8.18778 4.10423 8.1731 4.48612L8.01921 8.48701C8.00848 8.766 7.7792 8.98664 7.5 8.98664C7.2208 8.98664 6.99151 8.766 6.98078 8.48701L6.8269 4.48611ZM8.24989 10.476C8.24989 10.8902 7.9141 11.226 7.49989 11.226C7.08567 11.226 6.74989 10.8902 6.74989 10.476C6.74989 10.0618 7.08567 9.72599 7.49989 9.72599C7.9141 9.72599 8.24989 10.0618 8.24989 10.476Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/exit_full_screen_icon.rs b/packages/icons/yew/src/exit_full_screen_icon.rs index 74151a75..49d4d907 100644 --- a/packages/icons/yew/src/exit_full_screen_icon.rs +++ b/packages/icons/yew/src/exit_full_screen_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ExitFullScreenIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ExitFullScreenIcon(props: &ExitFullScreenIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.5 2C5.77614 2 6 2.22386 6 2.5V5.5C6 5.77614 5.77614 6 5.5 6H2.5C2.22386 6 2 5.77614 2 5.5C2 5.22386 2.22386 5 2.5 5H5V2.5C5 2.22386 5.22386 2 5.5 2ZM9.5 2C9.77614 2 10 2.22386 10 2.5V5H12.5C12.7761 5 13 5.22386 13 5.5C13 5.77614 12.7761 6 12.5 6H9.5C9.22386 6 9 5.77614 9 5.5V2.5C9 2.22386 9.22386 2 9.5 2ZM2 9.5C2 9.22386 2.22386 9 2.5 9H5.5C5.77614 9 6 9.22386 6 9.5V12.5C6 12.7761 5.77614 13 5.5 13C5.22386 13 5 12.7761 5 12.5V10H2.5C2.22386 10 2 9.77614 2 9.5ZM9 9.5C9 9.22386 9.22386 9 9.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H10V12.5C10 12.7761 9.77614 13 9.5 13C9.22386 13 9 12.7761 9 12.5V9.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/exit_icon.rs b/packages/icons/yew/src/exit_icon.rs index a129bc26..82bba7da 100644 --- a/packages/icons/yew/src/exit_icon.rs +++ b/packages/icons/yew/src/exit_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ExitIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ExitIcon(props: &ExitIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3 1C2.44771 1 2 1.44772 2 2V13C2 13.5523 2.44772 14 3 14H10.5C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13H3V2L10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1H3ZM12.6036 4.89645C12.4083 4.70118 12.0917 4.70118 11.8964 4.89645C11.7012 5.09171 11.7012 5.40829 11.8964 5.60355L13.2929 7H6.5C6.22386 7 6 7.22386 6 7.5C6 7.77614 6.22386 8 6.5 8H13.2929L11.8964 9.39645C11.7012 9.59171 11.7012 9.90829 11.8964 10.1036C12.0917 10.2988 12.4083 10.2988 12.6036 10.1036L14.8536 7.85355C15.0488 7.65829 15.0488 7.34171 14.8536 7.14645L12.6036 4.89645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/external_link_icon.rs b/packages/icons/yew/src/external_link_icon.rs index 54423f39..b30ba465 100644 --- a/packages/icons/yew/src/external_link_icon.rs +++ b/packages/icons/yew/src/external_link_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ExternalLinkIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ExternalLinkIcon(props: &ExternalLinkIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3 2C2.44772 2 2 2.44772 2 3V12C2 12.5523 2.44772 13 3 13H12C12.5523 13 13 12.5523 13 12V8.5C13 8.22386 12.7761 8 12.5 8C12.2239 8 12 8.22386 12 8.5V12H3V3L6.5 3C6.77614 3 7 2.77614 7 2.5C7 2.22386 6.77614 2 6.5 2H3ZM12.8536 2.14645C12.9015 2.19439 12.9377 2.24964 12.9621 2.30861C12.9861 2.36669 12.9996 2.4303 13 2.497L13 2.5V2.50049V5.5C13 5.77614 12.7761 6 12.5 6C12.2239 6 12 5.77614 12 5.5V3.70711L6.85355 8.85355C6.65829 9.04882 6.34171 9.04882 6.14645 8.85355C5.95118 8.65829 5.95118 8.34171 6.14645 8.14645L11.2929 3H9.5C9.22386 3 9 2.77614 9 2.5C9 2.22386 9.22386 2 9.5 2H12.4999H12.5C12.5678 2 12.6324 2.01349 12.6914 2.03794C12.7504 2.06234 12.8056 2.09851 12.8536 2.14645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/eye_closed_icon.rs b/packages/icons/yew/src/eye_closed_icon.rs index f878050a..e224e081 100644 --- a/packages/icons/yew/src/eye_closed_icon.rs +++ b/packages/icons/yew/src/eye_closed_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct EyeClosedIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn EyeClosedIcon(props: &EyeClosedIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M14.7649 6.07596C14.9991 6.22231 15.0703 6.53079 14.9239 6.76495C14.4849 7.46743 13.9632 8.10645 13.3702 8.66305L14.5712 9.86406C14.7664 10.0593 14.7664 10.3759 14.5712 10.5712C14.3759 10.7664 14.0593 10.7664 13.8641 10.5712L12.6011 9.30817C11.805 9.90283 10.9089 10.3621 9.93375 10.651L10.383 12.3277C10.4544 12.5944 10.2961 12.8685 10.0294 12.94C9.76267 13.0115 9.4885 12.8532 9.41704 12.5865L8.95917 10.8775C8.48743 10.958 8.00036 10.9999 7.50001 10.9999C6.99965 10.9999 6.51257 10.958 6.04082 10.8775L5.58299 12.5864C5.51153 12.8532 5.23737 13.0115 4.97064 12.94C4.7039 12.8686 4.5456 12.5944 4.61706 12.3277L5.06625 10.651C4.09111 10.3621 3.19503 9.90282 2.3989 9.30815L1.1359 10.5712C0.940638 10.7664 0.624058 10.7664 0.428798 10.5712C0.233537 10.3759 0.233537 10.0593 0.428798 9.86405L1.62982 8.66303C1.03682 8.10643 0.515113 7.46742 0.0760677 6.76495C-0.0702867 6.53079 0.000898544 6.22231 0.235065 6.07596C0.469231 5.9296 0.777703 6.00079 0.924058 6.23496C1.40354 7.00213 1.989 7.68057 2.66233 8.2427C2.67315 8.25096 2.6837 8.25972 2.69397 8.26898C4.00897 9.35527 5.65537 9.99991 7.50001 9.99991C10.3078 9.99991 12.6564 8.5063 14.076 6.23495C14.2223 6.00079 14.5308 5.9296 14.7649 6.07596Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/eye_none_icon.rs b/packages/icons/yew/src/eye_none_icon.rs index 8bb956a9..2641a0de 100644 --- a/packages/icons/yew/src/eye_none_icon.rs +++ b/packages/icons/yew/src/eye_none_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct EyeNoneIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn EyeNoneIcon(props: &EyeNoneIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L10.6828 3.61012C9.70652 3.21671 8.63759 3 7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C0.902945 9.08812 2.02314 10.1861 3.36061 10.9323L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L4.31723 11.3899C5.29348 11.7833 6.36241 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C14.0971 5.9119 12.9769 4.81391 11.6394 4.06771L13.3536 2.35355ZM9.90428 4.38861C9.15332 4.1361 8.34759 4 7.5 4C4.80285 4 2.52952 5.37816 1.09622 7.50001C1.87284 8.6497 2.89609 9.58106 4.09974 10.1931L9.90428 4.38861ZM5.09572 10.6114L10.9003 4.80685C12.1039 5.41894 13.1272 6.35031 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11C6.65241 11 5.84668 10.8639 5.09572 10.6114Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/eye_open_icon.rs b/packages/icons/yew/src/eye_open_icon.rs index 4d635e28..bb7aa333 100644 --- a/packages/icons/yew/src/eye_open_icon.rs +++ b/packages/icons/yew/src/eye_open_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct EyeOpenIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn EyeOpenIcon(props: &EyeOpenIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 11C4.80285 11 2.52952 9.62184 1.09622 7.50001C2.52952 5.37816 4.80285 4 7.5 4C10.1971 4 12.4705 5.37816 13.9038 7.50001C12.4705 9.62183 10.1971 11 7.5 11ZM7.5 3C4.30786 3 1.65639 4.70638 0.0760002 7.23501C-0.0253338 7.39715 -0.0253334 7.60288 0.0760014 7.76501C1.65639 10.2936 4.30786 12 7.5 12C10.6921 12 13.3436 10.2936 14.924 7.76501C15.0253 7.60288 15.0253 7.39715 14.924 7.23501C13.3436 4.70638 10.6921 3 7.5 3ZM7.5 9.5C8.60457 9.5 9.5 8.60457 9.5 7.5C9.5 6.39543 8.60457 5.5 7.5 5.5C6.39543 5.5 5.5 6.39543 5.5 7.5C5.5 8.60457 6.39543 9.5 7.5 9.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/face_icon.rs b/packages/icons/yew/src/face_icon.rs index 289457f9..03d0b361 100644 --- a/packages/icons/yew/src/face_icon.rs +++ b/packages/icons/yew/src/face_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FaceIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FaceIcon(props: &FaceIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82708 7.49972C1.82708 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82708 10.6327 1.82708 7.49972ZM5.03747 9.21395C4.87949 8.98746 4.56782 8.93193 4.34133 9.08991C4.11484 9.24789 4.05931 9.55956 4.21729 9.78605C4.93926 10.8211 6.14033 11.5 7.50004 11.5C8.85974 11.5 10.0608 10.8211 10.7828 9.78605C10.9408 9.55956 10.8852 9.24789 10.6587 9.08991C10.4323 8.93193 10.1206 8.98746 9.9626 9.21395C9.41963 9.99238 8.51907 10.5 7.50004 10.5C6.481 10.5 5.58044 9.99238 5.03747 9.21395ZM5.37503 6.84998C5.85828 6.84998 6.25003 6.45815 6.25003 5.97498C6.25003 5.4918 5.85828 5.09998 5.37503 5.09998C4.89179 5.09998 4.50003 5.4918 4.50003 5.97498C4.50003 6.45815 4.89179 6.84998 5.37503 6.84998ZM10.5 5.97498C10.5 6.45815 10.1083 6.84998 9.62503 6.84998C9.14179 6.84998 8.75003 6.45815 8.75003 5.97498C8.75003 5.4918 9.14179 5.09998 9.62503 5.09998C10.1083 5.09998 10.5 5.4918 10.5 5.97498Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/figma_logo_icon.rs b/packages/icons/yew/src/figma_logo_icon.rs index 2f2ccfd2..9fdf822f 100644 --- a/packages/icons/yew/src/figma_logo_icon.rs +++ b/packages/icons/yew/src/figma_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FigmaLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FigmaLogoIcon(props: &FigmaLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.00005 2.04999H5.52505C4.71043 2.04999 4.05005 2.71037 4.05005 3.52499C4.05005 4.33961 4.71043 4.99999 5.52505 4.99999H7.00005V2.04999ZM7.00005 1.04999H8.00005H9.47505C10.842 1.04999 11.95 2.15808 11.95 3.52499C11.95 4.33163 11.5642 5.04815 10.9669 5.49999C11.5642 5.95184 11.95 6.66836 11.95 7.475C11.95 8.8419 10.842 9.95 9.47505 9.95C8.92236 9.95 8.41198 9.76884 8.00005 9.46266V9.95L8.00005 11.425C8.00005 12.7919 6.89195 13.9 5.52505 13.9C4.15814 13.9 3.05005 12.7919 3.05005 11.425C3.05005 10.6183 3.43593 9.90184 4.03317 9.44999C3.43593 8.99814 3.05005 8.28163 3.05005 7.475C3.05005 6.66836 3.43594 5.95184 4.03319 5.5C3.43594 5.04815 3.05005 4.33163 3.05005 3.52499C3.05005 2.15808 4.15814 1.04999 5.52505 1.04999H7.00005ZM8.00005 2.04999V4.99999H9.47505C10.2897 4.99999 10.95 4.33961 10.95 3.52499C10.95 2.71037 10.2897 2.04999 9.47505 2.04999H8.00005ZM5.52505 8.94998H7.00005L7.00005 7.4788L7.00005 7.475L7.00005 7.4712V6H5.52505C4.71043 6 4.05005 6.66038 4.05005 7.475C4.05005 8.28767 4.70727 8.94684 5.5192 8.94999L5.52505 8.94998ZM4.05005 11.425C4.05005 10.6123 4.70727 9.95315 5.5192 9.94999L5.52505 9.95H7.00005L7.00005 11.425C7.00005 12.2396 6.33967 12.9 5.52505 12.9C4.71043 12.9 4.05005 12.2396 4.05005 11.425ZM8.00005 7.47206C8.00164 6.65879 8.66141 6 9.47505 6C10.2897 6 10.95 6.66038 10.95 7.475C10.95 8.28962 10.2897 8.95 9.47505 8.95C8.66141 8.95 8.00164 8.29121 8.00005 7.47794V7.47206Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/file_icon.rs b/packages/icons/yew/src/file_icon.rs index e73e4aa7..b1b43d62 100644 --- a/packages/icons/yew/src/file_icon.rs +++ b/packages/icons/yew/src/file_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FileIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FileIcon(props: &FileIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V6H8.5C8.22386 6 8 5.77614 8 5.5V2H3.5ZM9 2.70711L11.2929 5H9V2.70711ZM2 2.5C2 1.67157 2.67157 1 3.5 1H8.5C8.63261 1 8.75979 1.05268 8.85355 1.14645L12.8536 5.14645C12.9473 5.24021 13 5.36739 13 5.5V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/file_minus_icon.rs b/packages/icons/yew/src/file_minus_icon.rs index 657bb9c1..d68c4efa 100644 --- a/packages/icons/yew/src/file_minus_icon.rs +++ b/packages/icons/yew/src/file_minus_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FileMinusIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FileMinusIcon(props: &FileMinusIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3 2.5C3 2.22386 3.22386 2 3.5 2H9.29289L12 4.70711V12.5C12 12.7761 11.7761 13 11.5 13H3.5C3.22386 13 3 12.7761 3 12.5V2.5ZM3.5 1C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V4.60355C13 4.40464 12.921 4.21388 12.7803 4.07322L9.85355 1.14645C9.75979 1.05268 9.63261 1 9.5 1H3.5ZM5.25 7C4.97386 7 4.75 7.22386 4.75 7.5C4.75 7.77614 4.97386 8 5.25 8H9.75C10.0261 8 10.25 7.77614 10.25 7.5C10.25 7.22386 10.0261 7 9.75 7H5.25Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/file_plus_icon.rs b/packages/icons/yew/src/file_plus_icon.rs index 883d5331..8c11d0b8 100644 --- a/packages/icons/yew/src/file_plus_icon.rs +++ b/packages/icons/yew/src/file_plus_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FilePlusIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FilePlusIcon(props: &FilePlusIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.5 2C3.22386 2 3 2.22386 3 2.5V12.5C3 12.7761 3.22386 13 3.5 13H11.5C11.7761 13 12 12.7761 12 12.5V4.70711L9.29289 2H3.5ZM2 2.5C2 1.67157 2.67157 1 3.5 1H9.5C9.63261 1 9.75979 1.05268 9.85355 1.14645L12.7803 4.07322C12.921 4.21388 13 4.40464 13 4.60355V12.5C13 13.3284 12.3284 14 11.5 14H3.5C2.67157 14 2 13.3284 2 12.5V2.5ZM4.75 7.5C4.75 7.22386 4.97386 7 5.25 7H7V5.25C7 4.97386 7.22386 4.75 7.5 4.75C7.77614 4.75 8 4.97386 8 5.25V7H9.75C10.0261 7 10.25 7.22386 10.25 7.5C10.25 7.77614 10.0261 8 9.75 8H8V9.75C8 10.0261 7.77614 10.25 7.5 10.25C7.22386 10.25 7 10.0261 7 9.75V8H5.25C4.97386 8 4.75 7.77614 4.75 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/file_text_icon.rs b/packages/icons/yew/src/file_text_icon.rs index c22767f9..0e9143b7 100644 --- a/packages/icons/yew/src/file_text_icon.rs +++ b/packages/icons/yew/src/file_text_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FileTextIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FileTextIcon(props: &FileTextIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3 2.5C3 2.22386 3.22386 2 3.5 2H9.08579C9.21839 2 9.34557 2.05268 9.43934 2.14645L11.8536 4.56066C11.9473 4.65443 12 4.78161 12 4.91421V12.5C12 12.7761 11.7761 13 11.5 13H3.5C3.22386 13 3 12.7761 3 12.5V2.5ZM3.5 1C2.67157 1 2 1.67157 2 2.5V12.5C2 13.3284 2.67157 14 3.5 14H11.5C12.3284 14 13 13.3284 13 12.5V4.91421C13 4.51639 12.842 4.13486 12.5607 3.85355L10.1464 1.43934C9.86514 1.15804 9.48361 1 9.08579 1H3.5ZM4.5 4C4.22386 4 4 4.22386 4 4.5C4 4.77614 4.22386 5 4.5 5H7.5C7.77614 5 8 4.77614 8 4.5C8 4.22386 7.77614 4 7.5 4H4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H10.5C10.7761 11 11 10.7761 11 10.5C11 10.2239 10.7761 10 10.5 10H4.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/font_bold_icon.rs b/packages/icons/yew/src/font_bold_icon.rs index 52bfd010..b7d282d0 100644 --- a/packages/icons/yew/src/font_bold_icon.rs +++ b/packages/icons/yew/src/font_bold_icon.rs @@ -1,31 +1,32 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FontBoldIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FontBoldIcon(props: &FontBoldIconProps) -> Html { - let node_ref = use_node_ref(); html! { } diff --git a/packages/icons/yew/src/font_family_icon.rs b/packages/icons/yew/src/font_family_icon.rs index 01ee7be2..a3d1b228 100644 --- a/packages/icons/yew/src/font_family_icon.rs +++ b/packages/icons/yew/src/font_family_icon.rs @@ -1,31 +1,32 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FontFamilyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FontFamilyIcon(props: &FontFamilyIconProps) -> Html { - let node_ref = use_node_ref(); html! { } diff --git a/packages/icons/yew/src/font_italic_icon.rs b/packages/icons/yew/src/font_italic_icon.rs index 68066240..ebd4bc91 100644 --- a/packages/icons/yew/src/font_italic_icon.rs +++ b/packages/icons/yew/src/font_italic_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FontItalicIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FontItalicIcon(props: &FontItalicIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.67494 3.50017C5.67494 3.25164 5.87641 3.05017 6.12494 3.05017H10.6249C10.8735 3.05017 11.0749 3.25164 11.0749 3.50017C11.0749 3.7487 10.8735 3.95017 10.6249 3.95017H9.00587L7.2309 11.05H8.87493C9.12345 11.05 9.32493 11.2515 9.32493 11.5C9.32493 11.7486 9.12345 11.95 8.87493 11.95H4.37493C4.1264 11.95 3.92493 11.7486 3.92493 11.5C3.92493 11.2515 4.1264 11.05 4.37493 11.05H5.99397L7.76894 3.95017H6.12494C5.87641 3.95017 5.67494 3.7487 5.67494 3.50017Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/font_roman_icon.rs b/packages/icons/yew/src/font_roman_icon.rs index c8e15126..3073e5fb 100644 --- a/packages/icons/yew/src/font_roman_icon.rs +++ b/packages/icons/yew/src/font_roman_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FontRomanIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FontRomanIcon(props: &FontRomanIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.79993 3.50017C4.79993 3.25164 5.0014 3.05017 5.24993 3.05017H9.74993C9.99845 3.05017 10.1999 3.25164 10.1999 3.50017C10.1999 3.7487 9.99845 3.95017 9.74993 3.95017H8.09993V11.05H9.74994C9.99847 11.05 10.1999 11.2515 10.1999 11.5C10.1999 11.7486 9.99847 11.95 9.74994 11.95H5.24994C5.00141 11.95 4.79994 11.7486 4.79994 11.5C4.79994 11.2515 5.00141 11.05 5.24994 11.05H6.89993V3.95017H5.24993C5.0014 3.95017 4.79993 3.7487 4.79993 3.50017Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/font_size_icon.rs b/packages/icons/yew/src/font_size_icon.rs index 805a506b..4770c165 100644 --- a/packages/icons/yew/src/font_size_icon.rs +++ b/packages/icons/yew/src/font_size_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FontSizeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FontSizeIcon(props: &FontSizeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.78233 2.21707C2.70732 2.14206 2.60557 2.09991 2.49949 2.09991C2.3934 2.09991 2.29166 2.14206 2.21664 2.21707L0.216645 4.21707C0.0604351 4.37328 0.0604351 4.62655 0.216645 4.78276C0.372855 4.93897 0.626121 4.93897 0.78233 4.78276L2.09949 3.4656L2.09949 11.5342L0.78233 10.2171C0.62612 10.0609 0.372854 10.0609 0.216645 10.2171C0.0604349 10.3733 0.0604349 10.6265 0.216645 10.7828L2.21664 12.7828C2.29166 12.8578 2.3934 12.8999 2.49949 12.8999C2.60557 12.8999 2.70731 12.8578 2.78233 12.7828L4.78233 10.7828C4.93854 10.6265 4.93854 10.3733 4.78233 10.2171C4.62612 10.0609 4.37285 10.0609 4.21664 10.2171L2.89949 11.5342L2.89949 3.4656L4.21664 4.78276C4.37285 4.93897 4.62612 4.93897 4.78233 4.78276C4.93854 4.62655 4.93854 4.37328 4.78233 4.21707L2.78233 2.21707ZM10.5 2.74997C10.7107 2.74997 10.8988 2.88211 10.9703 3.08036L13.9703 11.3999C14.064 11.6597 13.9293 11.9462 13.6696 12.0399C13.4098 12.1336 13.1233 11.9989 13.0296 11.7392L12.0477 9.016H8.95228L7.97033 11.7392C7.87666 11.9989 7.59013 12.1336 7.33036 12.0399C7.07059 11.9462 6.93595 11.6597 7.02962 11.3999L10.0296 3.08036C10.1011 2.88211 10.2892 2.74997 10.5 2.74997ZM10.5 4.72396L11.7412 8.166H9.25879L10.5 4.72396Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/font_style_icon.rs b/packages/icons/yew/src/font_style_icon.rs index ecfd3170..b75a21e1 100644 --- a/packages/icons/yew/src/font_style_icon.rs +++ b/packages/icons/yew/src/font_style_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FontStyleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FontStyleIcon(props: &FontStyleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.03791 9.98075C0.934777 9.6583 1.11603 9.37719 1.40005 9.24871C1.68408 9.12022 2.09463 9.13412 2.27071 9.45426C2.85393 10.5147 3.64599 10.7282 4.48665 10.7282C5.52721 10.7282 6.29659 10.2615 6.29659 9.45426C6.29659 8.8047 5.9119 8.46416 4.87134 8.14253L4.15872 7.92181C2.64518 7.44883 1.88842 6.69206 1.88842 5.45601C1.88842 3.79743 3.27583 2.6875 5.24342 2.6875C6.91733 2.6875 7.97409 3.33536 8.43833 4.31065C8.57087 4.58909 8.57614 4.91294 8.22794 5.19114C7.87974 5.46934 7.52351 5.34799 7.23327 5.03839C6.47215 4.22653 5.99545 4.04968 5.25604 4.04968C4.1398 4.04968 3.547 4.63618 3.547 5.27943C3.547 5.86592 3.96322 6.23169 4.94702 6.5344L5.67856 6.76143C7.22994 7.23441 7.97409 7.95964 7.97409 9.17047C7.97409 10.7723 6.69389 12.0903 4.46143 12.0903C2.86612 12.0903 1.40005 11.1131 1.03791 9.98075ZM11.8491 8.77985C10.661 8.39543 10.1649 7.86114 10.1649 6.98805C10.1649 5.86736 11.1636 5.04639 12.6128 5.04639C13.8546 5.04639 14.6629 5.63345 14.9778 6.6346C15.0443 6.84599 14.9593 6.98006 14.7475 7.0491C14.5394 7.11697 14.3176 7.09974 14.238 6.89611C13.9356 6.12273 13.352 5.76311 12.5998 5.76311C11.6467 5.76311 11.0135 6.25178 11.0135 6.91638C11.0135 7.45066 11.3464 7.75038 12.2473 8.04358L12.8348 8.23254C14.062 8.62999 14.5516 9.13821 14.5516 10.0178C14.5516 11.1972 13.481 12.0442 11.9927 12.0442C10.6439 12.0442 9.65644 11.2809 9.41979 10.3361C9.36535 10.1188 9.41192 10.0287 9.70039 9.96184C9.98886 9.89499 10.0714 9.89918 10.1715 10.1369C10.4555 10.8114 11.1531 11.3275 12.0318 11.3275C12.9914 11.3275 13.6834 10.7802 13.6834 10.0634C13.6834 9.53567 13.3961 9.28807 12.4366 8.97532L11.8491 8.77985Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/frame_icon.rs b/packages/icons/yew/src/frame_icon.rs index 4f1390ee..7a0b77f0 100644 --- a/packages/icons/yew/src/frame_icon.rs +++ b/packages/icons/yew/src/frame_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FrameIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FrameIcon(props: &FrameIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11 1.5C11 1.22386 10.7761 1 10.5 1C10.2239 1 10 1.22386 10 1.5V4H5V1.5C5 1.22386 4.77614 1 4.5 1C4.22386 1 4 1.22386 4 1.5V4H1.5C1.22386 4 1 4.22386 1 4.5C1 4.77614 1.22386 5 1.5 5H4V10H1.5C1.22386 10 1 10.2239 1 10.5C1 10.7761 1.22386 11 1.5 11H4V13.5C4 13.7761 4.22386 14 4.5 14C4.77614 14 5 13.7761 5 13.5V11H10V13.5C10 13.7761 10.2239 14 10.5 14C10.7761 14 11 13.7761 11 13.5V11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H11V5H13.5C13.7761 5 14 4.77614 14 4.5C14 4.22386 13.7761 4 13.5 4H11V1.5ZM10 10V5H5V10H10Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/framer_logo_icon.rs b/packages/icons/yew/src/framer_logo_icon.rs index 8cc4a69b..4940313f 100644 --- a/packages/icons/yew/src/framer_logo_icon.rs +++ b/packages/icons/yew/src/framer_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct FramerLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn FramerLogoIcon(props: &FramerLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.3825 1.29567C3.46241 1.11432 3.64188 0.997284 3.84005 0.997284H11.5C11.7761 0.997284 12 1.22114 12 1.49728V5.5C12 5.77614 11.7761 6 11.5 6H8.63521L11.5288 9.16247C11.6626 9.3087 11.6974 9.52015 11.6175 9.70154C11.5376 9.88293 11.3582 10 11.16 10H8V13.5C8 13.7022 7.87818 13.8845 7.69134 13.9619C7.5045 14.0393 7.28945 13.9966 7.14645 13.8536L3.14645 9.85355C3.05268 9.75979 3 9.63261 3 9.5V5.5C3 5.22386 3.22386 5 3.5 5H6.36531L3.47105 1.83468C3.33732 1.68844 3.30259 1.47701 3.3825 1.29567ZM7.72032 5L4.97474 1.99728H11V5H7.72032ZM7.27978 6H4V9H7.5H10.0247L7.27978 6ZM4.70711 10L7 12.2929V10H4.70711Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/gear_icon.rs b/packages/icons/yew/src/gear_icon.rs index a5e9b969..8f999a81 100644 --- a/packages/icons/yew/src/gear_icon.rs +++ b/packages/icons/yew/src/gear_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct GearIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn GearIcon(props: &GearIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.07095 0.650238C6.67391 0.650238 6.32977 0.925096 6.24198 1.31231L6.0039 2.36247C5.6249 2.47269 5.26335 2.62363 4.92436 2.81013L4.01335 2.23585C3.67748 2.02413 3.23978 2.07312 2.95903 2.35386L2.35294 2.95996C2.0722 3.2407 2.0232 3.6784 2.23493 4.01427L2.80942 4.92561C2.62307 5.2645 2.47227 5.62594 2.36216 6.00481L1.31209 6.24287C0.924883 6.33065 0.650024 6.6748 0.650024 7.07183V7.92897C0.650024 8.32601 0.924883 8.67015 1.31209 8.75794L2.36228 8.99603C2.47246 9.375 2.62335 9.73652 2.80979 10.0755L2.2354 10.9867C2.02367 11.3225 2.07267 11.7602 2.35341 12.041L2.95951 12.6471C3.24025 12.9278 3.67795 12.9768 4.01382 12.7651L4.92506 12.1907C5.26384 12.377 5.62516 12.5278 6.0039 12.6379L6.24198 13.6881C6.32977 14.0753 6.67391 14.3502 7.07095 14.3502H7.92809C8.32512 14.3502 8.66927 14.0753 8.75705 13.6881L8.99505 12.6383C9.37411 12.5282 9.73573 12.3773 10.0748 12.1909L10.986 12.7653C11.3218 12.977 11.7595 12.928 12.0403 12.6473L12.6464 12.0412C12.9271 11.7604 12.9761 11.3227 12.7644 10.9869L12.1902 10.076C12.3768 9.73688 12.5278 9.37515 12.638 8.99596L13.6879 8.75794C14.0751 8.67015 14.35 8.32601 14.35 7.92897V7.07183C14.35 6.6748 14.0751 6.33065 13.6879 6.24287L12.6381 6.00488C12.528 5.62578 12.3771 5.26414 12.1906 4.92507L12.7648 4.01407C12.9766 3.6782 12.9276 3.2405 12.6468 2.95975L12.0407 2.35366C11.76 2.07292 11.3223 2.02392 10.9864 2.23565L10.0755 2.80989C9.73622 2.62328 9.37437 2.47229 8.99505 2.36209L8.75705 1.31231C8.66927 0.925096 8.32512 0.650238 7.92809 0.650238H7.07095ZM4.92053 3.81251C5.44724 3.44339 6.05665 3.18424 6.71543 3.06839L7.07095 1.50024H7.92809L8.28355 3.06816C8.94267 3.18387 9.5524 3.44302 10.0794 3.81224L11.4397 2.9547L12.0458 3.56079L11.1882 4.92117C11.5573 5.44798 11.8164 6.0575 11.9321 6.71638L13.5 7.07183V7.92897L11.932 8.28444C11.8162 8.94342 11.557 9.55301 11.1878 10.0798L12.0453 11.4402L11.4392 12.0462L10.0787 11.1886C9.55192 11.5576 8.94241 11.8166 8.28355 11.9323L7.92809 13.5002H7.07095L6.71543 11.932C6.0569 11.8162 5.44772 11.5572 4.92116 11.1883L3.56055 12.046L2.95445 11.4399L3.81213 10.0794C3.4431 9.55266 3.18403 8.94326 3.06825 8.2845L1.50002 7.92897V7.07183L3.06818 6.71632C3.18388 6.05765 3.44283 5.44833 3.81171 4.92165L2.95398 3.561L3.56008 2.95491L4.92053 3.81251ZM9.02496 7.50008C9.02496 8.34226 8.34223 9.02499 7.50005 9.02499C6.65786 9.02499 5.97513 8.34226 5.97513 7.50008C5.97513 6.65789 6.65786 5.97516 7.50005 5.97516C8.34223 5.97516 9.02496 6.65789 9.02496 7.50008ZM9.92496 7.50008C9.92496 8.83932 8.83929 9.92499 7.50005 9.92499C6.1608 9.92499 5.07513 8.83932 5.07513 7.50008C5.07513 6.16084 6.1608 5.07516 7.50005 5.07516C8.83929 5.07516 9.92496 6.16084 9.92496 7.50008Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/github_logo_icon.rs b/packages/icons/yew/src/github_logo_icon.rs index 901c89ce..097707a8 100644 --- a/packages/icons/yew/src/github_logo_icon.rs +++ b/packages/icons/yew/src/github_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct GithubLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn GithubLogoIcon(props: &GithubLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49933 0.25C3.49635 0.25 0.25 3.49593 0.25 7.50024C0.25 10.703 2.32715 13.4206 5.2081 14.3797C5.57084 14.446 5.70302 14.2222 5.70302 14.0299C5.70302 13.8576 5.69679 13.4019 5.69323 12.797C3.67661 13.235 3.25112 11.825 3.25112 11.825C2.92132 10.9874 2.44599 10.7644 2.44599 10.7644C1.78773 10.3149 2.49584 10.3238 2.49584 10.3238C3.22353 10.375 3.60629 11.0711 3.60629 11.0711C4.25298 12.1788 5.30335 11.8588 5.71638 11.6732C5.78225 11.205 5.96962 10.8854 6.17658 10.7043C4.56675 10.5209 2.87415 9.89918 2.87415 7.12104C2.87415 6.32925 3.15677 5.68257 3.62053 5.17563C3.54576 4.99226 3.29697 4.25521 3.69174 3.25691C3.69174 3.25691 4.30015 3.06196 5.68522 3.99973C6.26337 3.83906 6.8838 3.75895 7.50022 3.75583C8.1162 3.75895 8.73619 3.83906 9.31523 3.99973C10.6994 3.06196 11.3069 3.25691 11.3069 3.25691C11.7026 4.25521 11.4538 4.99226 11.3795 5.17563C11.8441 5.68257 12.1245 6.32925 12.1245 7.12104C12.1245 9.9063 10.4292 10.5192 8.81452 10.6985C9.07444 10.9224 9.30633 11.3648 9.30633 12.0413C9.30633 13.0102 9.29742 13.7922 9.29742 14.0299C9.29742 14.2239 9.42828 14.4496 9.79591 14.3788C12.6746 13.4179 14.75 10.7025 14.75 7.50024C14.75 3.49593 11.5036 0.25 7.49933 0.25Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/globe_icon.rs b/packages/icons/yew/src/globe_icon.rs index 36e2a346..b0988d17 100644 --- a/packages/icons/yew/src/globe_icon.rs +++ b/packages/icons/yew/src/globe_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct GlobeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn GlobeIcon(props: &GlobeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49996 1.80002C4.35194 1.80002 1.79996 4.352 1.79996 7.50002C1.79996 10.648 4.35194 13.2 7.49996 13.2C10.648 13.2 13.2 10.648 13.2 7.50002C13.2 4.352 10.648 1.80002 7.49996 1.80002ZM0.899963 7.50002C0.899963 3.85494 3.85488 0.900024 7.49996 0.900024C11.145 0.900024 14.1 3.85494 14.1 7.50002C14.1 11.1451 11.145 14.1 7.49996 14.1C3.85488 14.1 0.899963 11.1451 0.899963 7.50002Z" - fill={&props.color} + fill={& props.color} /> Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.09991 13.5V1.5H7.89991V13.5H7.09991zM10.375 7.49998C10.375 5.32724 9.59364 3.17778 8.06183 1.75656L8.53793 1.24341C10.2396 2.82218 11.075 5.17273 11.075 7.49998 11.075 9.82724 10.2396 12.1778 8.53793 13.7566L8.06183 13.2434C9.59364 11.8222 10.375 9.67273 10.375 7.49998zM3.99969 7.5C3.99969 5.17611 4.80786 2.82678 6.45768 1.24719L6.94177 1.75281C5.4582 3.17323 4.69969 5.32389 4.69969 7.5 4.6997 9.67611 5.45822 11.8268 6.94179 13.2472L6.45769 13.7528C4.80788 12.1732 3.9997 9.8239 3.99969 7.5z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/grid_icon.rs b/packages/icons/yew/src/grid_icon.rs index 9e00f4c9..44121688 100644 --- a/packages/icons/yew/src/grid_icon.rs +++ b/packages/icons/yew/src/grid_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct GridIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn GridIcon(props: &GridIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.5 2H8V7H13V2.5C13 2.22386 12.7761 2 12.5 2ZM13 8H8V13H12.5C12.7761 13 13 12.7761 13 12.5V8ZM7 7V2H2.5C2.22386 2 2 2.22386 2 2.5V7H7ZM2 8V12.5C2 12.7761 2.22386 13 2.5 13H7V8H2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/group_icon.rs b/packages/icons/yew/src/group_icon.rs index a759f2ff..bf28ac08 100644 --- a/packages/icons/yew/src/group_icon.rs +++ b/packages/icons/yew/src/group_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct GroupIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn GroupIcon(props: &GroupIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.44995 0.949951C1.31734 0.949951 1.19016 1.00263 1.0964 1.0964C1.00263 1.19017 0.949951 1.31735 0.949951 1.44995L0.949966 3.44995C0.949969 3.7261 1.17383 3.94995 1.44997 3.94995C1.72611 3.94995 1.94997 3.72609 1.94997 3.44995L1.94995 1.94995H3.44997C3.72611 1.94995 3.94997 1.72609 3.94997 1.44995C3.94997 1.17381 3.72611 0.949951 3.44997 0.949951H1.44995ZM5.94995 0.949951C5.67381 0.949951 5.44995 1.17381 5.44995 1.44995C5.44995 1.72609 5.67381 1.94995 5.94995 1.94995H8.94995C9.22609 1.94995 9.44995 1.72609 9.44995 1.44995C9.44995 1.17381 9.22609 0.949951 8.94995 0.949951H5.94995ZM5.44995 13.45C5.44995 13.1738 5.67381 12.95 5.94995 12.95H8.94995C9.22609 12.95 9.44995 13.1738 9.44995 13.45C9.44995 13.7261 9.22609 13.95 8.94995 13.95H5.94995C5.67381 13.95 5.44995 13.7261 5.44995 13.45ZM1.94995 5.94995C1.94995 5.67381 1.72609 5.44995 1.44995 5.44995C1.17381 5.44995 0.949951 5.67381 0.949951 5.94995V8.94995C0.949951 9.22609 1.17381 9.44995 1.44995 9.44995C1.72609 9.44995 1.94995 9.22609 1.94995 8.94995V5.94995ZM13.45 5.44995C13.7261 5.44995 13.95 5.67381 13.95 5.94995V8.94995C13.95 9.22609 13.7261 9.44995 13.45 9.44995C13.1738 9.44995 12.95 9.22609 12.95 8.94995V5.94995C12.95 5.67381 13.1738 5.44995 13.45 5.44995ZM11.45 0.949951C11.1738 0.949951 10.95 1.17381 10.95 1.44995C10.95 1.72609 11.1738 1.94995 11.45 1.94995H12.9499V3.44995C12.9499 3.72609 13.1738 3.94995 13.4499 3.94995C13.7261 3.94995 13.9499 3.72609 13.9499 3.44995V1.44995C13.9499 1.17381 13.7252 0.949951 13.449 0.949951H11.45ZM1.44995 10.95C1.72609 10.95 1.94995 11.1738 1.94995 11.45V12.95H3.44997C3.72611 12.95 3.94997 13.1738 3.94997 13.45C3.94997 13.7261 3.72611 13.95 3.44997 13.95H1.44995C1.17381 13.95 0.949951 13.7261 0.949951 13.45V11.45C0.949951 11.1738 1.17381 10.95 1.44995 10.95ZM13.95 11.45C13.95 11.1738 13.7261 10.95 13.45 10.95C13.1738 10.9499 12.95 11.1738 12.95 11.4499L12.9491 12.95H11.45C11.1738 12.95 10.95 13.1738 10.95 13.45C10.95 13.7261 11.1738 13.95 11.45 13.95H13.4499C13.7261 13.95 13.9499 13.7261 13.9499 13.45L13.95 11.45Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/half_1_icon.rs b/packages/icons/yew/src/half_1_icon.rs index 519a6ab6..c9151840 100644 --- a/packages/icons/yew/src/half_1_icon.rs +++ b/packages/icons/yew/src/half_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Half1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Half1Icon(props: &Half1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM7.00003 1.84861C4.10114 2.1017 1.82707 4.53515 1.82707 7.49972C1.82707 10.4643 4.10114 12.8977 7.00003 13.1508V1.84861ZM8.00003 13.1508C10.8988 12.8976 13.1727 10.4642 13.1727 7.49972C13.1727 4.53524 10.8988 2.10185 8.00003 1.84864V13.1508Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/half_2_icon.rs b/packages/icons/yew/src/half_2_icon.rs index f199dd4f..d1a746e2 100644 --- a/packages/icons/yew/src/half_2_icon.rs +++ b/packages/icons/yew/src/half_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Half2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Half2Icon(props: &Half2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM7.49988 1.82689C4.36688 1.8269 1.82707 4.36672 1.82707 7.49972C1.82707 10.6327 4.36688 13.1725 7.49988 13.1726V1.82689Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/hamburger_menu_icon.rs b/packages/icons/yew/src/hamburger_menu_icon.rs index 40d06f17..b7ac41a7 100644 --- a/packages/icons/yew/src/hamburger_menu_icon.rs +++ b/packages/icons/yew/src/hamburger_menu_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct HamburgerMenuIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn HamburgerMenuIcon(props: &HamburgerMenuIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.5 3C1.22386 3 1 3.22386 1 3.5C1 3.77614 1.22386 4 1.5 4H13.5C13.7761 4 14 3.77614 14 3.5C14 3.22386 13.7761 3 13.5 3H1.5ZM1 7.5C1 7.22386 1.22386 7 1.5 7H13.5C13.7761 7 14 7.22386 14 7.5C14 7.77614 13.7761 8 13.5 8H1.5C1.22386 8 1 7.77614 1 7.5ZM1 11.5C1 11.2239 1.22386 11 1.5 11H13.5C13.7761 11 14 11.2239 14 11.5C14 11.7761 13.7761 12 13.5 12H1.5C1.22386 12 1 11.7761 1 11.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/hand_icon.rs b/packages/icons/yew/src/hand_icon.rs index 1c7c467f..92abfbeb 100644 --- a/packages/icons/yew/src/hand_icon.rs +++ b/packages/icons/yew/src/hand_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct HandIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn HandIcon(props: &HandIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.8113 1.64706C6.62188 2.87918 6.68268 3.88523 6.76848 5.30499C6.78415 5.56426 6.80065 5.83732 6.81661 6.12808C6.83111 6.39208 6.63758 6.62172 6.37495 6.65217C6.11232 6.68262 5.87138 6.50334 5.82509 6.24304L5.74754 5.80698C5.64402 5.16529 5.48355 4.25481 5.17807 3.44741C4.86241 2.61312 4.4486 2.04121 3.93436 1.86044C3.64994 1.76104 3.41901 1.84279 3.25868 2.01052C3.08746 2.18962 2.9976 2.47065 3.0627 2.75399C3.2146 3.34424 3.44627 3.9167 3.69836 4.51802C3.72082 4.57158 3.74346 4.62543 3.76621 4.67954C3.9954 5.22457 4.23619 5.7972 4.41644 6.39081L4.41691 6.39238C4.562 6.87586 4.65646 7.2595 4.73086 7.56165C4.76034 7.68138 4.78667 7.78831 4.81175 7.88359C4.86768 8.09606 4.77836 8.32014 4.59161 8.43588C4.40486 8.55161 4.16445 8.53188 3.99907 8.38725C3.73749 8.15848 3.515 7.92784 3.31817 7.71802C3.27627 7.67335 3.23602 7.63018 3.19705 7.58838C3.04777 7.42826 2.91712 7.28812 2.78334 7.16029C2.45989 6.85122 2.18398 6.68004 1.80585 6.64369L1.80324 6.64343C1.56117 6.61888 1.41402 6.66441 1.31756 6.72627C1.21899 6.78947 1.11988 6.90414 1.03784 7.1123C0.976576 7.28492 1.01515 7.62987 1.1929 7.96911L1.19728 7.97747C1.40086 8.38452 1.74475 8.81587 2.18141 9.29299C2.39739 9.52898 2.62872 9.76849 2.86934 10.0174L2.87966 10.0281C3.11546 10.2721 3.35962 10.5247 3.59713 10.7827C4.4288 11.6863 5.27706 12.7538 5.4627 14H11.5087C11.5636 12.4353 11.8756 11.268 12.2875 10.1346C12.4454 9.70041 12.6121 9.28412 12.7826 8.85829C13.1097 8.04139 13.4509 7.18937 13.7705 6.10824C14.0989 4.99737 14.0097 4.37033 13.8613 4.03984C13.717 3.71858 13.4914 3.61786 13.3816 3.59606C13.1381 3.54774 13.0384 3.60947 12.9698 3.67901C12.867 3.78316 12.7698 3.98273 12.6921 4.30269C12.6166 4.61345 12.5752 4.96517 12.533 5.32501L12.5298 5.35285C12.4924 5.67242 12.4505 6.03016 12.3665 6.30098C12.3383 6.40699 12.2819 6.50407 12.1979 6.57539C12.1382 6.6261 12.0104 6.70818 11.8309 6.69312C11.5424 6.66891 11.3712 6.42143 11.365 6.14783C11.356 5.75454 11.3883 5.35864 11.4074 4.96608C11.4428 4.23646 11.477 3.5337 11.4245 2.8342L11.4242 2.82934C11.3916 2.32997 11.0493 2.00228 10.7007 1.9228C10.5305 1.88401 10.369 1.90601 10.2347 1.9835C10.103 2.05946 9.95535 2.21318 9.8574 2.51394L9.85631 2.51726C9.81525 2.6404 9.77298 2.87753 9.73606 3.2124C9.70044 3.53542 9.67337 3.91279 9.65156 4.29418C9.6329 4.62033 9.61785 4.9584 9.60434 5.26194C9.58728 5.64529 9.57267 5.97357 9.55633 6.1532C9.54983 6.22459 9.52939 6.29493 9.49501 6.35785C9.47356 6.39711 9.36115 6.60947 9.07106 6.61843C8.77917 6.62744 8.63975 6.40057 8.61698 6.35919C8.55634 6.24899 8.55066 6.11807 8.54754 5.99283C8.54474 5.88064 8.54294 5.71798 8.54174 5.54767C8.53935 5.20582 8.53935 4.81919 8.53935 4.70952C8.53935 3.6657 8.53838 2.65372 8.44714 1.64372C8.39183 1.24127 8.06278 1.00455 7.6436 1.00005C7.22399 0.995552 6.87918 1.22704 6.8113 1.64706ZM9.41219 1.3617C9.21469 0.448484 8.39913 0.00810324 7.65433 0.00011154C6.86452 -0.00836308 5.98761 0.465881 5.82365 1.49037L5.82318 1.49334C5.78239 1.7584 5.75229 2.01481 5.7309 2.26652C5.39423 1.67364 4.92622 1.14894 4.2655 0.916859C3.58661 0.679312 2.9492 0.887087 2.53582 1.31952C2.13415 1.73971 1.94438 2.36742 2.09031 2.98746L2.09269 2.99713C2.26478 3.66808 2.52396 4.30316 2.77613 4.90465C2.79814 4.95717 2.8201 5.00941 2.84194 5.06139C3.02139 5.48842 3.19378 5.89866 3.33871 6.31256C2.96404 5.98142 2.51925 5.70796 1.90276 5.6484C1.48865 5.60663 1.10391 5.67536 0.777805 5.88444C0.454239 6.0919 0.240671 6.40405 0.104187 6.75406L0.100868 6.76281C-0.10184 7.31286 0.0663312 7.97157 0.304895 8.42897C0.573704 8.96474 0.996104 9.47904 1.44372 9.96813C1.67046 10.2159 1.91136 10.4652 2.15033 10.7124L2.15682 10.7191C2.39524 10.9658 2.63217 11.2109 2.86134 11.4599C3.80937 12.49 4.50002 13.4632 4.50002 14.5C4.50002 14.7761 4.72388 15 5.00002 15H12C12.2762 15 12.5 14.7761 12.5 14.5C12.5 12.8212 12.8021 11.6462 13.2274 10.4762C13.3653 10.0968 13.5216 9.70579 13.6868 9.29247C14.0238 8.44922 14.398 7.51298 14.7295 6.39175C15.0956 5.15324 15.0559 4.25904 14.7735 3.63017C14.487 2.99208 13.9798 2.6953 13.5763 2.6152C13.1276 2.52614 12.7367 2.60475 12.4268 2.83081C12.4253 2.80773 12.4236 2.78468 12.4219 2.76167C12.3587 1.8105 11.6907 1.12285 10.923 0.947821C10.5346 0.859287 10.1111 0.900393 9.73509 1.11724C9.61852 1.18446 9.51055 1.26623 9.41219 1.3617Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/heading_icon.rs b/packages/icons/yew/src/heading_icon.rs index 342d301d..7a325229 100644 --- a/packages/icons/yew/src/heading_icon.rs +++ b/packages/icons/yew/src/heading_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct HeadingIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn HeadingIcon(props: &HeadingIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.75432 2.0502C8.50579 2.0502 8.30432 2.25167 8.30432 2.5002C8.30432 2.74873 8.50579 2.9502 8.75432 2.9502H9.94997V7.05004H5.04997V2.9502H6.25432C6.50285 2.9502 6.70432 2.74873 6.70432 2.5002C6.70432 2.25167 6.50285 2.0502 6.25432 2.0502H2.75432C2.50579 2.0502 2.30432 2.25167 2.30432 2.5002C2.30432 2.74873 2.50579 2.9502 2.75432 2.9502H3.94997V12.0502H2.75432C2.50579 12.0502 2.30432 12.2517 2.30432 12.5002C2.30432 12.7487 2.50579 12.9502 2.75432 12.9502H6.25432C6.50285 12.9502 6.70432 12.7487 6.70432 12.5002C6.70432 12.2517 6.50285 12.0502 6.25432 12.0502H5.04997V7.95004H9.94997V12.0502H8.75432C8.50579 12.0502 8.30432 12.2517 8.30432 12.5002C8.30432 12.7487 8.50579 12.9502 8.75432 12.9502H12.2543C12.5028 12.9502 12.7043 12.7487 12.7043 12.5002C12.7043 12.2517 12.5028 12.0502 12.2543 12.0502H11.05V2.9502H12.2543C12.5028 2.9502 12.7043 2.74873 12.7043 2.5002C12.7043 2.25167 12.5028 2.0502 12.2543 2.0502H8.75432Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/heart_filled_icon.rs b/packages/icons/yew/src/heart_filled_icon.rs index cdabe0dd..95b07f92 100644 --- a/packages/icons/yew/src/heart_filled_icon.rs +++ b/packages/icons/yew/src/heart_filled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct HeartFilledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn HeartFilledIcon(props: &HeartFilledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.25769 1.35248 6.86058 1.92336 7.50002 2.93545C8.13946 1.92336 8.74235 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/heart_icon.rs b/packages/icons/yew/src/heart_icon.rs index 161632a4..1faed73f 100644 --- a/packages/icons/yew/src/heart_icon.rs +++ b/packages/icons/yew/src/heart_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct HeartIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn HeartIcon(props: &HeartIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.89346 2.35248C3.49195 2.35248 2.35248 3.49359 2.35248 4.90532C2.35248 6.38164 3.20954 7.9168 4.37255 9.33522C5.39396 10.581 6.59464 11.6702 7.50002 12.4778C8.4054 11.6702 9.60608 10.581 10.6275 9.33522C11.7905 7.9168 12.6476 6.38164 12.6476 4.90532C12.6476 3.49359 11.5081 2.35248 10.1066 2.35248C9.27059 2.35248 8.81894 2.64323 8.5397 2.95843C8.27877 3.25295 8.14623 3.58566 8.02501 3.88993C8.00391 3.9429 7.98315 3.99501 7.96211 4.04591C7.88482 4.23294 7.7024 4.35494 7.50002 4.35494C7.29765 4.35494 7.11523 4.23295 7.03793 4.04592C7.01689 3.99501 6.99612 3.94289 6.97502 3.8899C6.8538 3.58564 6.72126 3.25294 6.46034 2.95843C6.18109 2.64323 5.72945 2.35248 4.89346 2.35248ZM1.35248 4.90532C1.35248 2.94498 2.936 1.35248 4.89346 1.35248C6.0084 1.35248 6.73504 1.76049 7.20884 2.2953C7.32062 2.42147 7.41686 2.55382 7.50002 2.68545C7.58318 2.55382 7.67941 2.42147 7.79119 2.2953C8.265 1.76049 8.99164 1.35248 10.1066 1.35248C12.064 1.35248 13.6476 2.94498 13.6476 4.90532C13.6476 6.74041 12.6013 8.50508 11.4008 9.96927C10.2636 11.3562 8.92194 12.5508 8.00601 13.3664C7.94645 13.4194 7.88869 13.4709 7.83291 13.5206C7.64324 13.6899 7.3568 13.6899 7.16713 13.5206C7.11135 13.4709 7.05359 13.4194 6.99403 13.3664C6.0781 12.5508 4.73641 11.3562 3.59926 9.96927C2.39872 8.50508 1.35248 6.74041 1.35248 4.90532Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/height_icon.rs b/packages/icons/yew/src/height_icon.rs index adf871e2..ebe21df9 100644 --- a/packages/icons/yew/src/height_icon.rs +++ b/packages/icons/yew/src/height_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct HeightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn HeightIcon(props: &HeightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.1813 1.68179C7.35704 1.50605 7.64196 1.50605 7.8177 1.68179L10.3177 4.18179C10.4934 4.35753 10.4934 4.64245 10.3177 4.81819C10.142 4.99392 9.85704 4.99392 9.6813 4.81819L7.9495 3.08638L7.9495 11.9136L9.6813 10.1818C9.85704 10.0061 10.142 10.0061 10.3177 10.1818C10.4934 10.3575 10.4934 10.6424 10.3177 10.8182L7.8177 13.3182C7.73331 13.4026 7.61885 13.45 7.4995 13.45C7.38015 13.45 7.26569 13.4026 7.1813 13.3182L4.6813 10.8182C4.50557 10.6424 4.50557 10.3575 4.6813 10.1818C4.85704 10.0061 5.14196 10.0061 5.3177 10.1818L7.0495 11.9136L7.0495 3.08638L5.3177 4.81819C5.14196 4.99392 4.85704 4.99392 4.6813 4.81819C4.50557 4.64245 4.50557 4.35753 4.6813 4.18179L7.1813 1.68179Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/hobby_knife_icon.rs b/packages/icons/yew/src/hobby_knife_icon.rs index 2321f09d..465a4387 100644 --- a/packages/icons/yew/src/hobby_knife_icon.rs +++ b/packages/icons/yew/src/hobby_knife_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct HobbyKnifeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn HobbyKnifeIcon(props: &HobbyKnifeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.3536 13.3536C12.1583 13.5488 11.8417 13.5488 11.6465 13.3536L6.39645 8.10355C6.36478 8.07188 6.33824 8.03702 6.31685 8H5.00002C4.78719 8 4.59769 7.86528 4.52777 7.66426L2.12777 0.764277C2.05268 0.548387 2.13355 0.309061 2.3242 0.182972C2.51486 0.0568819 2.76674 0.0761337 2.93602 0.229734L8.336 5.12972C8.44044 5.22449 8.50001 5.35897 8.50001 5.5V5.81684C8.53702 5.83824 8.57189 5.86478 8.60356 5.89645L13.8536 11.1464C14.0488 11.3417 14.0488 11.6583 13.8536 11.8536L12.3536 13.3536ZM8.25 6.95711L7.45711 7.75L12 12.2929L12.7929 11.5L8.25 6.95711ZM3.71669 2.28845L5.35549 7H6.2929L7.50001 5.79289V5.72146L3.71669 2.28845Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/home_icon.rs b/packages/icons/yew/src/home_icon.rs index 6816906d..25b3ae1c 100644 --- a/packages/icons/yew/src/home_icon.rs +++ b/packages/icons/yew/src/home_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct HomeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn HomeIcon(props: &HomeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.07926 0.222253C7.31275 -0.007434 7.6873 -0.007434 7.92079 0.222253L14.6708 6.86227C14.907 7.09465 14.9101 7.47453 14.6778 7.71076C14.4454 7.947 14.0655 7.95012 13.8293 7.71773L13 6.90201V12.5C13 12.7761 12.7762 13 12.5 13H2.50002C2.22388 13 2.00002 12.7761 2.00002 12.5V6.90201L1.17079 7.71773C0.934558 7.95012 0.554672 7.947 0.32229 7.71076C0.0899079 7.47453 0.0930283 7.09465 0.32926 6.86227L7.07926 0.222253ZM7.50002 1.49163L12 5.91831V12H10V8.49999C10 8.22385 9.77617 7.99999 9.50002 7.99999H6.50002C6.22388 7.99999 6.00002 8.22385 6.00002 8.49999V12H3.00002V5.91831L7.50002 1.49163ZM7.00002 12H9.00002V8.99999H7.00002V12Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/iconjar_logo_icon.rs b/packages/icons/yew/src/iconjar_logo_icon.rs index 804cf6c1..c510d748 100644 --- a/packages/icons/yew/src/iconjar_logo_icon.rs +++ b/packages/icons/yew/src/iconjar_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct IconjarLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn IconjarLogoIcon(props: &IconjarLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 0.0032959C6.80473 0.0032959 6.24953 0.281106 6.25 0.749995C6.25 0.997258 6.42446 1.12014 6.57687 1.22749C6.69507 1.31074 6.8 1.38465 6.8 1.5C6.8 1.7071 6.06224 1.74264 5.19789 1.78427C3.97553 1.84314 2.5 1.91421 2.5 2.5C2.5 2.77614 2.72386 3 3 3H12C12.2761 3 12.5 2.77614 12.5 2.5C12.5 1.91421 11.0245 1.84314 9.80211 1.78427C8.93776 1.74264 8.2 1.7071 8.2 1.5C8.2 1.38465 8.30493 1.31074 8.42313 1.22749C8.57554 1.12014 8.75 0.997258 8.75 0.749995C8.75047 0.281106 8.19527 0.0032959 7.5 0.0032959ZM2.89451 6.12266C2.25806 6.52471 1.90417 7.31118 2.02473 8.0556L2.83588 12.4772C3.00993 13.3562 3.7629 14 4.66061 14H10.3373C11.2354 14 11.9884 13.3562 12.1625 12.4772L12.9736 8.05607C13.089 7.32358 12.8284 6.53276 12.1331 6.09373C11.7283 5.83013 11.6412 5.33231 12.1331 5.12796C12.8284 4.86435 12.6948 4 12 4H10.3001H6.80005H2.99996C2.30469 4 2.19878 4.89328 2.89451 5.15689C3.38642 5.33231 3.29939 5.83013 2.89451 6.12266ZM8.20006 6.25C8.20006 5.81769 8.08572 5.37615 7.90635 5L4.11093 5C4.20626 5.21312 4.2419 5.43889 4.22904 5.65521C4.19522 6.22412 3.84587 6.66899 3.48016 6.93322L3.45492 6.95146L3.42858 6.9681C3.13407 7.15414 2.95801 7.53989 3.01058 7.88749L3.81797 12.2886C3.90513 12.7154 4.26148 13 4.66061 13H10.3373C10.737 13 11.0932 12.7153 11.1804 12.2886L11.9874 7.8898C12.048 7.48247 11.8954 7.12631 11.5992 6.93927L11.5875 6.93184L11.5875 6.93176C11.1947 6.67602 10.8331 6.22785 10.7986 5.64798C10.7846 5.412 10.8264 5.19397 10.9112 5H9.05517C9.01987 5.14611 9.00006 5.31201 9.00006 5.5C9.00006 5.9745 9.21679 6.37127 9.44367 6.78662C9.69284 7.24278 9.95425 7.72136 9.95425 8.34993C9.95425 9.2698 9.49868 9.84205 8.62189 9.84205C8.13206 9.84205 7.57818 9.46097 7.57818 8.75781C7.57818 8.35279 7.71558 8.01646 7.86121 7.65998C8.0254 7.25806 8.20006 6.83051 8.20006 6.25Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/id_card_icon.rs b/packages/icons/yew/src/id_card_icon.rs index dd43f1b2..b35dc2a5 100644 --- a/packages/icons/yew/src/id_card_icon.rs +++ b/packages/icons/yew/src/id_card_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct IdCardIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn IdCardIcon(props: &IdCardIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M14 11.0001V4.00006L1 4.00006L1 11.0001H14ZM15 4.00006V11.0001C15 11.5523 14.5523 12.0001 14 12.0001H1C0.447715 12.0001 0 11.5523 0 11.0001V4.00006C0 3.44778 0.447715 3.00006 1 3.00006H14C14.5523 3.00006 15 3.44778 15 4.00006ZM2 5.25C2 5.11193 2.11193 5 2.25 5H5.75C5.88807 5 6 5.11193 6 5.25V9.75C6 9.88807 5.88807 10 5.75 10H2.25C2.11193 10 2 9.88807 2 9.75V5.25ZM7.5 7C7.22386 7 7 7.22386 7 7.5C7 7.77614 7.22386 8 7.5 8H10.5C10.7761 8 11 7.77614 11 7.5C11 7.22386 10.7761 7 10.5 7H7.5ZM7 9.5C7 9.22386 7.22386 9 7.5 9H12.5C12.7761 9 13 9.22386 13 9.5C13 9.77614 12.7761 10 12.5 10H7.5C7.22386 10 7 9.77614 7 9.5ZM7.5 5C7.22386 5 7 5.22386 7 5.5C7 5.77614 7.22386 6 7.5 6H11.5C11.7761 6 12 5.77614 12 5.5C12 5.22386 11.7761 5 11.5 5H7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/image_icon.rs b/packages/icons/yew/src/image_icon.rs index 9459a4e5..9b2810ca 100644 --- a/packages/icons/yew/src/image_icon.rs +++ b/packages/icons/yew/src/image_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ImageIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ImageIcon(props: &ImageIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5C1 1.67157 1.67157 1 2.5 1ZM2.5 2C2.22386 2 2 2.22386 2 2.5V8.3636L3.6818 6.6818C3.76809 6.59551 3.88572 6.54797 4.00774 6.55007C4.12975 6.55216 4.24568 6.60372 4.32895 6.69293L7.87355 10.4901L10.6818 7.6818C10.8575 7.50607 11.1425 7.50607 11.3182 7.6818L13 9.3636V2.5C13 2.22386 12.7761 2 12.5 2H2.5ZM2 12.5V9.6364L3.98887 7.64753L7.5311 11.4421L8.94113 13H2.5C2.22386 13 2 12.7761 2 12.5ZM12.5 13H10.155L8.48336 11.153L11 8.6364L13 10.6364V12.5C13 12.7761 12.7761 13 12.5 13ZM6.64922 5.5C6.64922 5.03013 7.03013 4.64922 7.5 4.64922C7.96987 4.64922 8.35078 5.03013 8.35078 5.5C8.35078 5.96987 7.96987 6.35078 7.5 6.35078C7.03013 6.35078 6.64922 5.96987 6.64922 5.5ZM7.5 3.74922C6.53307 3.74922 5.74922 4.53307 5.74922 5.5C5.74922 6.46693 6.53307 7.25078 7.5 7.25078C8.46693 7.25078 9.25078 6.46693 9.25078 5.5C9.25078 4.53307 8.46693 3.74922 7.5 3.74922Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/info_circled_icon.rs b/packages/icons/yew/src/info_circled_icon.rs index e1999820..d93cc0a7 100644 --- a/packages/icons/yew/src/info_circled_icon.rs +++ b/packages/icons/yew/src/info_circled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct InfoCircledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn InfoCircledIcon(props: &InfoCircledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM8.24992 4.49999C8.24992 4.9142 7.91413 5.24999 7.49992 5.24999C7.08571 5.24999 6.74992 4.9142 6.74992 4.49999C6.74992 4.08577 7.08571 3.74999 7.49992 3.74999C7.91413 3.74999 8.24992 4.08577 8.24992 4.49999ZM6.00003 5.99999H6.50003H7.50003C7.77618 5.99999 8.00003 6.22384 8.00003 6.49999V9.99999H8.50003H9.00003V11H8.50003H7.50003H6.50003H6.00003V9.99999H6.50003H7.00003V6.99999H6.50003H6.00003V5.99999Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/input_icon.rs b/packages/icons/yew/src/input_icon.rs index 5b608708..c21abdbe 100644 --- a/packages/icons/yew/src/input_icon.rs +++ b/packages/icons/yew/src/input_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct InputIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn InputIcon(props: &InputIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.5 1C6.22386 1 6 1.22386 6 1.5C6 1.77614 6.22386 2 6.5 2C7.12671 2 7.45718 2.20028 7.65563 2.47812C7.8781 2.78957 8 3.28837 8 4V11C8 11.7116 7.8781 12.2104 7.65563 12.5219C7.45718 12.7997 7.12671 13 6.5 13C6.22386 13 6 13.2239 6 13.5C6 13.7761 6.22386 14 6.5 14C7.37329 14 8.04282 13.7003 8.46937 13.1031C8.47976 13.0886 8.48997 13.0739 8.5 13.0591C8.51003 13.0739 8.52024 13.0886 8.53063 13.1031C8.95718 13.7003 9.62671 14 10.5 14C10.7761 14 11 13.7761 11 13.5C11 13.2239 10.7761 13 10.5 13C9.87329 13 9.54282 12.7997 9.34437 12.5219C9.1219 12.2104 9 11.7116 9 11V4C9 3.28837 9.1219 2.78957 9.34437 2.47812C9.54282 2.20028 9.87329 2 10.5 2C10.7761 2 11 1.77614 11 1.5C11 1.22386 10.7761 1 10.5 1C9.62671 1 8.95718 1.29972 8.53063 1.89688C8.52024 1.91143 8.51003 1.92611 8.5 1.9409C8.48997 1.92611 8.47976 1.91143 8.46937 1.89688C8.04282 1.29972 7.37329 1 6.5 1ZM14 5H11V4H14C14.5523 4 15 4.44772 15 5V10C15 10.5523 14.5523 11 14 11H11V10H14V5ZM6 4V5H1L1 10H6V11H1C0.447715 11 0 10.5523 0 10V5C0 4.44772 0.447715 4 1 4H6Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/instagram_logo_icon.rs b/packages/icons/yew/src/instagram_logo_icon.rs index c41cbc1a..d1f274a5 100644 --- a/packages/icons/yew/src/instagram_logo_icon.rs +++ b/packages/icons/yew/src/instagram_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct InstagramLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn InstagramLogoIcon(props: &InstagramLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.9091 12.909C13.2365 12.5817 13.4918 12.1895 13.6588 11.7577C13.8195 11.3443 13.9294 10.8718 13.961 10.1799C13.9926 9.48665 14.0001 9.26529 14.0001 7.50001C14.0001 5.73473 13.9926 5.51328 13.961 4.82008C13.9294 4.12821 13.8195 3.65573 13.6588 3.24228C13.4956 2.80857 13.2398 2.41567 12.9091 2.091C12.5844 1.76028 12.1915 1.50437 11.7578 1.34113C11.3443 1.18056 10.8718 1.0707 10.1799 1.03924C9.48675 1.00748 9.26537 1 7.50006 1C5.73476 1 5.51333 1.00748 4.82014 1.03912C4.12826 1.0707 3.65578 1.18056 3.24233 1.34125C2.80862 1.50447 2.41573 1.76032 2.09105 2.09098C1.76032 2.41563 1.5044 2.80852 1.34113 3.24225C1.18056 3.65573 1.0707 4.12821 1.03924 4.82008C1.00748 5.51328 1 5.73471 1 7.50001C1 9.26532 1.00748 9.48675 1.03924 10.1799C1.07083 10.8718 1.18069 11.3443 1.34138 11.7577C1.5046 12.1915 1.76045 12.5843 2.09111 12.909C2.41578 13.2397 2.80867 13.4955 3.24238 13.6587C3.65586 13.8194 4.12834 13.9293 4.82019 13.9609C5.51348 13.9925 5.73483 14 7.50012 14C9.2654 14 9.48685 13.9925 10.18 13.9609C10.8719 13.9293 11.3444 13.8194 11.7578 13.6587C12.1896 13.4917 12.5818 13.2364 12.9091 12.909ZM1.99949 6.73496C1.99974 6.94524 2.00005 7.19543 2.00005 7.50002C2.00005 7.80461 1.99974 8.0548 1.99949 8.26507C1.99849 9.08596 1.99824 9.29856 2.01963 9.7655C2.04625 10.3509 2.07823 10.7811 2.17588 11.1053C2.26976 11.417 2.37505 11.7342 2.7188 12.1171C3.06255 12.4999 3.39411 12.6733 3.81645 12.8007C4.23879 12.928 4.7696 12.9554 5.23052 12.9764C5.75332 13.0003 5.96052 13.0002 7.05714 12.9999L7.50006 12.9999C7.79304 12.9999 8.03569 13.0001 8.2409 13.0004C9.08195 13.0013 9.29425 13.0015 9.76575 12.9799C10.3512 12.9533 10.7814 12.9213 11.1056 12.8237C11.4173 12.7298 11.7345 12.6245 12.1173 12.2807C12.5001 11.937 12.6735 11.6054 12.8009 11.1831C12.9283 10.7607 12.9557 10.2299 12.9767 9.76902C13.0005 9.24689 13.0004 9.04027 13.0002 7.94749V7.94738L13.0001 7.50039L13.0001 7.05747C13.0004 5.96085 13.0005 5.75365 12.9766 5.23085C12.9556 4.76993 12.9282 4.23912 12.8009 3.81678C12.6735 3.39445 12.5001 3.06288 12.1173 2.71913C11.7345 2.37538 11.4172 2.27009 11.1056 2.17621C10.7813 2.07856 10.3511 2.04658 9.76571 2.01996C9.29421 1.99836 9.08194 1.99859 8.24092 1.99951H8.24092C8.0357 1.99974 7.79305 2.00001 7.50006 2.00001L7.05704 1.99993C5.96051 1.99964 5.75331 1.99958 5.23052 2.02343C4.7696 2.04446 4.23879 2.07183 3.81645 2.19921C3.39411 2.32659 3.06255 2.49999 2.7188 2.88281C2.37505 3.26562 2.26976 3.58286 2.17588 3.89453C2.07823 4.21874 2.04625 4.64894 2.01963 5.23437C1.99824 5.70131 1.99849 5.91401 1.99949 6.73496ZM7.49996 5.25015C6.25741 5.25015 5.25012 6.25744 5.25012 7.49999C5.25012 8.74254 6.25741 9.74983 7.49996 9.74983C8.74251 9.74983 9.7498 8.74254 9.7498 7.49999C9.7498 6.25744 8.74251 5.25015 7.49996 5.25015ZM4.25012 7.49999C4.25012 5.70515 5.70512 4.25015 7.49996 4.25015C9.2948 4.25015 10.7498 5.70515 10.7498 7.49999C10.7498 9.29483 9.2948 10.7498 7.49996 10.7498C5.70512 10.7498 4.25012 9.29483 4.25012 7.49999ZM10.9697 4.7803C11.3839 4.7803 11.7197 4.44452 11.7197 4.0303C11.7197 3.61609 11.3839 3.2803 10.9697 3.2803C10.5555 3.2803 10.2197 3.61609 10.2197 4.0303C10.2197 4.44452 10.5555 4.7803 10.9697 4.7803Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/keyboard_icon.rs b/packages/icons/yew/src/keyboard_icon.rs index 21991f37..527ed570 100644 --- a/packages/icons/yew/src/keyboard_icon.rs +++ b/packages/icons/yew/src/keyboard_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct KeyboardIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn KeyboardIcon(props: &KeyboardIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.5 4H1.5C1.22386 4 1 4.22386 1 4.5V10.5C1 10.7761 1.22386 11 1.5 11H13.5C13.7761 11 14 10.7761 14 10.5V4.5C14 4.22386 13.7761 4 13.5 4ZM1.5 3C0.671573 3 0 3.67157 0 4.5V10.5C0 11.3284 0.671573 12 1.5 12H13.5C14.3284 12 15 11.3284 15 10.5V4.5C15 3.67157 14.3284 3 13.5 3H1.5ZM2 5H3V6H2V5ZM5 5H4V6H5V5ZM6 5H7V6H6V5ZM9 5H8V6H9V5ZM10 5H11V6H10V5ZM13 5H12V6H13V5ZM11 7H12V8H11V7ZM13 9H12V10H13V9ZM9 7H10V8H9V7ZM8 7H7V8H8V7ZM5 7H6V8H5V7ZM4 7H3V8H4V7ZM2 9H3V10H2V9ZM11 9H4V10H11V9Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/lap_timer_icon.rs b/packages/icons/yew/src/lap_timer_icon.rs index ace527db..9ae8c2a5 100644 --- a/packages/icons/yew/src/lap_timer_icon.rs +++ b/packages/icons/yew/src/lap_timer_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LapTimerIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LapTimerIcon(props: &LapTimerIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.49998 0.5C5.49998 0.223858 5.72383 0 5.99998 0H7.49998H8.99998C9.27612 0 9.49998 0.223858 9.49998 0.5C9.49998 0.776142 9.27612 1 8.99998 1H7.99998V2.11922C9.09832 2.20409 10.119 2.56622 10.992 3.13572C11.0116 3.10851 11.0336 3.08252 11.058 3.05806L12.058 2.05806C12.3021 1.81398 12.6978 1.81398 12.9419 2.05806C13.186 2.30214 13.186 2.69786 12.9419 2.94194L11.967 3.91682C13.1595 5.07925 13.9 6.70314 13.9 8.49998C13.9 12.0346 11.0346 14.9 7.49998 14.9C3.96535 14.9 1.09998 12.0346 1.09998 8.49998C1.09998 5.13361 3.69904 2.3743 6.99998 2.11922V1H5.99998C5.72383 1 5.49998 0.776142 5.49998 0.5ZM2.09998 8.49998C2.09998 5.51764 4.51764 3.09998 7.49998 3.09998C10.4823 3.09998 12.9 5.51764 12.9 8.49998C12.9 11.4823 10.4823 13.9 7.49998 13.9C4.51764 13.9 2.09998 11.4823 2.09998 8.49998ZM7.49998 8.49998V4.09998C5.06992 4.09998 3.09998 6.06992 3.09998 8.49998C3.09998 10.93 5.06992 12.9 7.49998 12.9C8.715 12.9 9.815 12.4075 10.6112 11.6112L7.49998 8.49998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/laptop_icon.rs b/packages/icons/yew/src/laptop_icon.rs index 89a42d70..661965bb 100644 --- a/packages/icons/yew/src/laptop_icon.rs +++ b/packages/icons/yew/src/laptop_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LaptopIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LaptopIcon(props: &LaptopIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 4.25C2 4.11193 2.11193 4 2.25 4H12.75C12.8881 4 13 4.11193 13 4.25V11.5H2V4.25ZM2.25 3C1.55964 3 1 3.55964 1 4.25V12H0V12.5C0 12.7761 0.223858 13 0.5 13H14.5C14.7761 13 15 12.7761 15 12.5V12H14V4.25C14 3.55964 13.4404 3 12.75 3H2.25Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/layers_icon.rs b/packages/icons/yew/src/layers_icon.rs index 086b50d5..82df2c2f 100644 --- a/packages/icons/yew/src/layers_icon.rs +++ b/packages/icons/yew/src/layers_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LayersIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LayersIcon(props: &LayersIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.75432 0.819537C7.59742 0.726821 7.4025 0.726821 7.24559 0.819537L1.74559 4.06954C1.59336 4.15949 1.49996 4.32317 1.49996 4.5C1.49996 4.67683 1.59336 4.84051 1.74559 4.93046L7.24559 8.18046C7.4025 8.27318 7.59742 8.27318 7.75432 8.18046L13.2543 4.93046C13.4066 4.84051 13.5 4.67683 13.5 4.5C13.5 4.32317 13.4066 4.15949 13.2543 4.06954L7.75432 0.819537ZM7.49996 7.16923L2.9828 4.5L7.49996 1.83077L12.0171 4.5L7.49996 7.16923ZM1.5695 7.49564C1.70998 7.2579 2.01659 7.17906 2.25432 7.31954L7.49996 10.4192L12.7456 7.31954C12.9833 7.17906 13.2899 7.2579 13.4304 7.49564C13.5709 7.73337 13.4921 8.03998 13.2543 8.18046L7.75432 11.4305C7.59742 11.5232 7.4025 11.5232 7.24559 11.4305L1.74559 8.18046C1.50786 8.03998 1.42901 7.73337 1.5695 7.49564ZM1.56949 10.4956C1.70998 10.2579 2.01658 10.1791 2.25432 10.3195L7.49996 13.4192L12.7456 10.3195C12.9833 10.1791 13.2899 10.2579 13.4304 10.4956C13.5709 10.7334 13.4921 11.04 13.2543 11.1805L7.75432 14.4305C7.59742 14.5232 7.4025 14.5232 7.24559 14.4305L1.74559 11.1805C1.50785 11.04 1.42901 10.7334 1.56949 10.4956Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/layout_icon.rs b/packages/icons/yew/src/layout_icon.rs index 5d57afcd..324a0436 100644 --- a/packages/icons/yew/src/layout_icon.rs +++ b/packages/icons/yew/src/layout_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LayoutIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LayoutIcon(props: &LayoutIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9 2H6V13H9V2ZM10 2V13H12.5C12.7761 13 13 12.7761 13 12.5V2.5C13 2.22386 12.7761 2 12.5 2H10ZM2.5 2H5V13H2.5C2.22386 13 2 12.7761 2 12.5V2.5C2 2.22386 2.22386 2 2.5 2ZM2.5 1C1.67157 1 1 1.67157 1 2.5V12.5C1 13.3284 1.67157 14 2.5 14H12.5C13.3284 14 14 13.3284 14 12.5V2.5C14 1.67157 13.3284 1 12.5 1H2.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/letter_case_capitalize_icon.rs b/packages/icons/yew/src/letter_case_capitalize_icon.rs index 619eebef..9cdfa816 100644 --- a/packages/icons/yew/src/letter_case_capitalize_icon.rs +++ b/packages/icons/yew/src/letter_case_capitalize_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LetterCaseCapitalizeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LetterCaseCapitalizeIcon(props: &LetterCaseCapitalizeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.68979 2.75C3.89667 2.74979 4.08232 2.87701 4.15679 3.07003L7.36662 11.39C7.46602 11.6477 7.33774 11.9371 7.0801 12.0365C6.82247 12.1359 6.53304 12.0076 6.43365 11.75L5.3825 9.02537H2.01133L0.966992 11.749C0.868128 12.0068 0.578964 12.1357 0.321126 12.0369C0.0632878 11.938 -0.0655864 11.6488 0.0332774 11.391L3.22344 3.07099C3.29751 2.87782 3.4829 2.75021 3.68979 2.75ZM3.69174 4.64284L5.05458 8.17537H2.33724L3.69174 4.64284ZM10.8989 5.20703C9.25818 5.20703 8.00915 6.68569 8.00915 8.60972C8.00915 10.6337 9.35818 12.0124 10.8989 12.0124C11.7214 12.0124 12.5744 11.6692 13.1543 11.0219V11.53C13.1543 11.7785 13.3557 11.98 13.6043 11.98C13.8528 11.98 14.0543 11.7785 14.0543 11.53V5.72C14.0543 5.47147 13.8528 5.27 13.6043 5.27C13.3557 5.27 13.1543 5.47147 13.1543 5.72V6.22317C12.6054 5.60095 11.7924 5.20703 10.8989 5.20703ZM13.1543 9.79823V7.30195C12.7639 6.58101 11.9414 6.05757 11.0868 6.05757C10.1088 6.05757 9.03503 6.96581 9.03503 8.60955C9.03503 10.1533 10.0088 11.1615 11.0868 11.1615C11.9701 11.1615 12.7719 10.4952 13.1543 9.79823Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/letter_case_lowercase_icon.rs b/packages/icons/yew/src/letter_case_lowercase_icon.rs index f3f0b8d0..c6025fcd 100644 --- a/packages/icons/yew/src/letter_case_lowercase_icon.rs +++ b/packages/icons/yew/src/letter_case_lowercase_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LetterCaseLowercaseIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LetterCaseLowercaseIcon(props: &LetterCaseLowercaseIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.69899 5.20703C2.05823 5.20703 0.809204 6.68569 0.809204 8.60972C0.809204 10.6337 2.15823 12.0124 3.69899 12.0124C4.52126 12.0124 5.37402 11.6693 5.9539 11.0223V11.53C5.9539 11.7785 6.15537 11.98 6.4039 11.98C6.65243 11.98 6.8539 11.7785 6.8539 11.53V5.72001C6.8539 5.47149 6.65243 5.27001 6.4039 5.27001C6.15537 5.27001 5.9539 5.47149 5.9539 5.72001V6.22269C5.40506 5.60075 4.59218 5.20703 3.69899 5.20703ZM5.9539 9.799V7.30117C5.56339 6.58064 4.74118 6.05757 3.8868 6.05757C2.9089 6.05757 1.83508 6.96581 1.83508 8.60955C1.83508 10.1533 2.80889 11.1615 3.8868 11.1615C4.76984 11.1615 5.57141 10.4957 5.9539 9.799ZM10.799 5.20703C9.15823 5.20703 7.9092 6.68569 7.9092 8.60972C7.9092 10.6337 9.25823 12.0124 10.799 12.0124C11.6215 12.0124 12.4744 11.6692 13.0543 11.0218V11.53C13.0543 11.7785 13.2558 11.98 13.5043 11.98C13.7529 11.98 13.9543 11.7785 13.9543 11.53V5.72C13.9543 5.47147 13.7529 5.27 13.5043 5.27C13.2558 5.27 13.0543 5.47147 13.0543 5.72V6.22318C12.5055 5.60095 11.6924 5.20703 10.799 5.20703ZM13.0543 9.79822V7.30196C12.664 6.58102 11.8415 6.05757 10.9868 6.05757C10.0089 6.05757 8.93508 6.96581 8.93508 8.60955C8.93508 10.1533 9.90889 11.1615 10.9868 11.1615C11.8702 11.1615 12.672 10.4952 13.0543 9.79822Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/letter_case_toggle_icon.rs b/packages/icons/yew/src/letter_case_toggle_icon.rs index d3e15650..8fc92573 100644 --- a/packages/icons/yew/src/letter_case_toggle_icon.rs +++ b/packages/icons/yew/src/letter_case_toggle_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LetterCaseToggleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LetterCaseToggleIcon(props: &LetterCaseToggleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.2895 2.75C11.4964 2.74979 11.6821 2.87701 11.7565 3.07003L14.9664 11.39C15.0657 11.6477 14.9375 11.9371 14.6798 12.0365C14.4222 12.1359 14.1328 12.0076 14.0334 11.75L12.9822 9.02537H9.61106L8.56672 11.749C8.46786 12.0068 8.1787 12.1357 7.92086 12.0369C7.66302 11.938 7.53415 11.6488 7.63301 11.391L10.8232 3.07099C10.8972 2.87782 11.0826 2.75021 11.2895 2.75ZM11.2915 4.64284L12.6543 8.17537H9.93698L11.2915 4.64284ZM2.89895 5.20703C1.25818 5.20703 0.00915527 6.68569 0.00915527 8.60972C0.00915527 10.6337 1.35818 12.0124 2.89895 12.0124C3.72141 12.0124 4.57438 11.6692 5.15427 11.0219V11.53C5.15427 11.7785 5.35574 11.98 5.60427 11.98C5.8528 11.98 6.05427 11.7785 6.05427 11.53V5.72C6.05427 5.47147 5.8528 5.27 5.60427 5.27C5.35574 5.27 5.15427 5.47147 5.15427 5.72V6.22317C4.60543 5.60095 3.79236 5.20703 2.89895 5.20703ZM5.15427 9.79823V7.30195C4.76393 6.58101 3.94144 6.05757 3.08675 6.05757C2.10885 6.05757 1.03503 6.96581 1.03503 8.60955C1.03503 10.1533 2.00885 11.1615 3.08675 11.1615C3.97011 11.1615 4.77195 10.4952 5.15427 9.79823Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/letter_case_uppercase_icon.rs b/packages/icons/yew/src/letter_case_uppercase_icon.rs index 5fd9a634..b26a3b49 100644 --- a/packages/icons/yew/src/letter_case_uppercase_icon.rs +++ b/packages/icons/yew/src/letter_case_uppercase_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LetterCaseUppercaseIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LetterCaseUppercaseIcon(props: &LetterCaseUppercaseIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.6255 2.75C3.83478 2.75 4.02192 2.88034 4.09448 3.07664L7.16985 11.3962C7.2656 11.6552 7.13324 11.9428 6.87423 12.0386C6.61522 12.1343 6.32763 12.002 6.23188 11.7429L5.22387 9.01603H2.02712L1.01911 11.7429C0.923362 12.002 0.635774 12.1343 0.376762 12.0386C0.117749 11.9428 -0.0146052 11.6552 0.0811401 11.3962L3.15651 3.07664C3.22908 2.88034 3.41621 2.75 3.6255 2.75ZM3.6255 4.69207L4.90966 8.16603H2.34133L3.6255 4.69207ZM11.3719 2.75C11.5811 2.75 11.7683 2.88034 11.8408 3.07664L14.9162 11.3962C15.012 11.6552 14.8796 11.9428 14.6206 12.0386C14.3616 12.1343 14.074 12.002 13.9782 11.7429L12.9702 9.01603H9.77348L8.76547 11.7429C8.66972 12.002 8.38213 12.1343 8.12312 12.0386C7.86411 11.9428 7.73175 11.6552 7.8275 11.3962L10.9029 3.07664C10.9754 2.88034 11.1626 2.75 11.3719 2.75ZM11.3719 4.69207L12.656 8.16603H10.0877L11.3719 4.69207Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/letter_spacing_icon.rs b/packages/icons/yew/src/letter_spacing_icon.rs index 590a2000..d1f393f6 100644 --- a/packages/icons/yew/src/letter_spacing_icon.rs +++ b/packages/icons/yew/src/letter_spacing_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LetterSpacingIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LetterSpacingIcon(props: &LetterSpacingIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.55293 0.999969C4.75295 0.999969 4.93372 1.11917 5.0125 1.30301L8.01106 8.29982C8.11984 8.55363 8.00226 8.84757 7.74844 8.95635C7.49463 9.06512 7.20069 8.94754 7.09191 8.69373L6.11613 6.41685H2.98973L2.01395 8.69373C1.90517 8.94754 1.61123 9.06512 1.35742 8.95635C1.1036 8.84757 0.986023 8.55363 1.0948 8.29982L4.09336 1.30301C4.17214 1.11917 4.35291 0.999969 4.55293 0.999969ZM4.55293 2.76929L5.75186 5.56685H3.354L4.55293 2.76929ZM11.0562 9.00214C11.2617 9.00214 11.4463 8.87633 11.5215 8.68502L14.2733 1.68299C14.3743 1.42598 14.2478 1.13575 13.9908 1.03475C13.7338 0.933747 13.4436 1.06021 13.3426 1.31722L11.0562 7.13514L8.76973 1.31722C8.66873 1.06021 8.3785 0.933747 8.1215 1.03475C7.86449 1.13575 7.73802 1.42598 7.83902 1.68299L10.5908 8.68502C10.666 8.87633 10.8506 9.00214 11.0562 9.00214ZM14.9537 12.4999C14.9537 12.606 14.9115 12.7077 14.8365 12.7828L12.8365 14.7828C12.6803 14.939 12.4271 14.939 12.2708 14.7828C12.1146 14.6265 12.1146 14.3733 12.2708 14.2171L13.588 12.8999H1.51937L2.83653 14.2171C2.99274 14.3733 2.99274 14.6265 2.83653 14.7828C2.68032 14.939 2.42705 14.939 2.27084 14.7828L0.270843 12.7828C0.195828 12.7077 0.153687 12.606 0.153687 12.4999C0.153687 12.3938 0.195828 12.2921 0.270843 12.2171L2.27084 10.2171C2.42705 10.0609 2.68032 10.0609 2.83653 10.2171C2.99274 10.3733 2.99274 10.6265 2.83653 10.7828L1.51937 12.0999L13.588 12.0999L12.2708 10.7828C12.1146 10.6265 12.1146 10.3733 12.2708 10.2171C12.4271 10.0609 12.6803 10.0609 12.8365 10.2171L14.8365 12.2171C14.9115 12.2921 14.9537 12.3938 14.9537 12.4999Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/lib.rs b/packages/icons/yew/src/lib.rs index fbcc619b..e0658827 100644 --- a/packages/icons/yew/src/lib.rs +++ b/packages/icons/yew/src/lib.rs @@ -1,4 +1,10 @@ -#![allow(ambiguous_glob_reexports, non_snake_case)] +//! Yew port of [Radix Icons](https://www.radix-ui.com/icons). +//! +//! Radix Icons is a crisp set of 15x15 icons. +//! +//! See [the Rust Radix book](https://radix.rustforweb.org/icons/index.html) for more documenation. + +#![allow(ambiguous_glob_reexports)] mod accessibility_icon; mod activity_log_icon; diff --git a/packages/icons/yew/src/lightning_bolt_icon.rs b/packages/icons/yew/src/lightning_bolt_icon.rs index 830028d2..ba722c0c 100644 --- a/packages/icons/yew/src/lightning_bolt_icon.rs +++ b/packages/icons/yew/src/lightning_bolt_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LightningBoltIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LightningBoltIcon(props: &LightningBoltIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.69667 0.0403541C8.90859 0.131038 9.03106 0.354857 8.99316 0.582235L8.0902 6.00001H12.5C12.6893 6.00001 12.8625 6.10701 12.9472 6.27641C13.0319 6.4458 13.0136 6.6485 12.8999 6.80001L6.89997 14.8C6.76167 14.9844 6.51521 15.0503 6.30328 14.9597C6.09135 14.869 5.96888 14.6452 6.00678 14.4178L6.90974 9H2.49999C2.31061 9 2.13748 8.893 2.05278 8.72361C1.96809 8.55422 1.98636 8.35151 2.09999 8.2L8.09997 0.200038C8.23828 0.0156255 8.48474 -0.0503301 8.69667 0.0403541ZM3.49999 8.00001H7.49997C7.64695 8.00001 7.78648 8.06467 7.88148 8.17682C7.97648 8.28896 8.01733 8.43723 7.99317 8.5822L7.33027 12.5596L11.5 7.00001H7.49997C7.353 7.00001 7.21347 6.93534 7.11846 6.8232C7.02346 6.71105 6.98261 6.56279 7.00678 6.41781L7.66968 2.44042L3.49999 8.00001Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/line_height_icon.rs b/packages/icons/yew/src/line_height_icon.rs index d7994562..335052aa 100644 --- a/packages/icons/yew/src/line_height_icon.rs +++ b/packages/icons/yew/src/line_height_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LineHeightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LineHeightIcon(props: &LineHeightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.78233 2.21713C3.70732 2.14212 3.60557 2.09998 3.49949 2.09998C3.3934 2.09998 3.29166 2.14212 3.21664 2.21713L1.21664 4.21713C1.06044 4.37334 1.06044 4.62661 1.21664 4.78282C1.37285 4.93903 1.62612 4.93903 1.78233 4.78282L3.09949 3.46566L3.09949 11.5343L1.78233 10.2171C1.62612 10.0609 1.37285 10.0609 1.21664 10.2171C1.06043 10.3733 1.06043 10.6266 1.21664 10.7828L3.21664 12.7828C3.29166 12.8578 3.3934 12.9 3.49949 12.9C3.60557 12.9 3.70731 12.8578 3.78233 12.7828L5.78233 10.7828C5.93854 10.6266 5.93854 10.3733 5.78233 10.2171C5.62612 10.0609 5.37285 10.0609 5.21664 10.2171L3.89949 11.5343L3.89949 3.46566L5.21664 4.78282C5.37285 4.93903 5.62612 4.93903 5.78233 4.78282C5.93854 4.62661 5.93854 4.37334 5.78233 4.21713L3.78233 2.21713ZM8.49998 3.99997C8.22383 3.99997 7.99998 4.22382 7.99998 4.49997C7.99998 4.77611 8.22383 4.99997 8.49998 4.99997H14.5C14.7761 4.99997 15 4.77611 15 4.49997C15 4.22382 14.7761 3.99997 14.5 3.99997H8.49998ZM7.99998 7.49997C7.99998 7.22382 8.22383 6.99997 8.49998 6.99997H14.5C14.7761 6.99997 15 7.22382 15 7.49997C15 7.77611 14.7761 7.99997 14.5 7.99997H8.49998C8.22383 7.99997 7.99998 7.77611 7.99998 7.49997ZM8.49998 9.99997C8.22383 9.99997 7.99998 10.2238 7.99998 10.5C7.99998 10.7761 8.22383 11 8.49998 11H14.5C14.7761 11 15 10.7761 15 10.5C15 10.2238 14.7761 9.99997 14.5 9.99997H8.49998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/link_1_icon.rs b/packages/icons/yew/src/link_1_icon.rs index ffab2104..79ac4e36 100644 --- a/packages/icons/yew/src/link_1_icon.rs +++ b/packages/icons/yew/src/link_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Link1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Link1Icon(props: &Link1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.62471 4.00001L4.56402 4.00001C4.04134 3.99993 3.70687 3.99988 3.4182 4.055C2.2379 4.28039 1.29846 5.17053 1.05815 6.33035C0.999538 6.61321 0.999604 6.93998 0.999703 7.43689L0.999711 7.50001L0.999703 7.56313C0.999604 8.06004 0.999538 8.38681 1.05815 8.66967C1.29846 9.8295 2.2379 10.7196 3.4182 10.945C3.70688 11.0001 4.04135 11.0001 4.56403 11L4.62471 11H5.49971C5.77585 11 5.99971 10.7762 5.99971 10.5C5.99971 10.2239 5.77585 10 5.49971 10H4.62471C4.02084 10 3.78907 9.99777 3.60577 9.96277C2.80262 9.8094 2.19157 9.21108 2.03735 8.46678C2.00233 8.29778 1.99971 8.08251 1.99971 7.50001C1.99971 6.91752 2.00233 6.70225 2.03735 6.53324C2.19157 5.78895 2.80262 5.19062 3.60577 5.03725C3.78907 5.00225 4.02084 5.00001 4.62471 5.00001H5.49971C5.77585 5.00001 5.99971 4.77615 5.99971 4.50001C5.99971 4.22387 5.77585 4.00001 5.49971 4.00001H4.62471ZM10.3747 5.00001C10.9786 5.00001 11.2104 5.00225 11.3937 5.03725C12.1968 5.19062 12.8079 5.78895 12.9621 6.53324C12.9971 6.70225 12.9997 6.91752 12.9997 7.50001C12.9997 8.08251 12.9971 8.29778 12.9621 8.46678C12.8079 9.21108 12.1968 9.8094 11.3937 9.96277C11.2104 9.99777 10.9786 10 10.3747 10H9.49971C9.22357 10 8.99971 10.2239 8.99971 10.5C8.99971 10.7762 9.22357 11 9.49971 11H10.3747L10.4354 11C10.9581 11.0001 11.2925 11.0001 11.5812 10.945C12.7615 10.7196 13.701 9.8295 13.9413 8.66967C13.9999 8.38681 13.9998 8.06005 13.9997 7.56314L13.9997 7.50001L13.9997 7.43688C13.9998 6.93998 13.9999 6.61321 13.9413 6.33035C13.701 5.17053 12.7615 4.28039 11.5812 4.055C11.2925 3.99988 10.9581 3.99993 10.4354 4.00001L10.3747 4.00001H9.49971C9.22357 4.00001 8.99971 4.22387 8.99971 4.50001C8.99971 4.77615 9.22357 5.00001 9.49971 5.00001H10.3747ZM5.00038 7C4.72424 7 4.50038 7.22386 4.50038 7.5C4.50038 7.77614 4.72424 8 5.00038 8H10.0004C10.2765 8 10.5004 7.77614 10.5004 7.5C10.5004 7.22386 10.2765 7 10.0004 7H5.00038Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/link_2_icon.rs b/packages/icons/yew/src/link_2_icon.rs index c2b12d6f..adb428f9 100644 --- a/packages/icons/yew/src/link_2_icon.rs +++ b/packages/icons/yew/src/link_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Link2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Link2Icon(props: &Link2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8.51194 3.00541C9.18829 2.54594 10.0435 2.53694 10.6788 2.95419C10.8231 3.04893 10.9771 3.1993 11.389 3.61119C11.8009 4.02307 11.9513 4.17714 12.046 4.32141C12.4633 4.95675 12.4543 5.81192 11.9948 6.48827C11.8899 6.64264 11.7276 6.80811 11.3006 7.23511L10.6819 7.85383C10.4867 8.04909 10.4867 8.36567 10.6819 8.56093C10.8772 8.7562 11.1938 8.7562 11.389 8.56093L12.0077 7.94221L12.0507 7.89929C12.4203 7.52976 12.6568 7.2933 12.822 7.0502C13.4972 6.05623 13.5321 4.76252 12.8819 3.77248C12.7233 3.53102 12.4922 3.30001 12.1408 2.94871L12.0961 2.90408L12.0515 2.85942C11.7002 2.508 11.4692 2.27689 11.2277 2.11832C10.2377 1.46813 8.94398 1.50299 7.95001 2.17822C7.70691 2.34336 7.47044 2.57991 7.1009 2.94955L7.058 2.99247L6.43928 3.61119C6.24401 3.80645 6.24401 4.12303 6.43928 4.31829C6.63454 4.51355 6.95112 4.51355 7.14638 4.31829L7.7651 3.69957C8.1921 3.27257 8.35757 3.11027 8.51194 3.00541ZM4.31796 7.14672C4.51322 6.95146 4.51322 6.63487 4.31796 6.43961C4.12269 6.24435 3.80611 6.24435 3.61085 6.43961L2.99213 7.05833L2.94922 7.10124C2.57957 7.47077 2.34303 7.70724 2.17788 7.95035C1.50265 8.94432 1.4678 10.238 2.11799 11.2281C2.27656 11.4695 2.50766 11.7005 2.8591 12.0518L2.90374 12.0965L2.94837 12.1411C3.29967 12.4925 3.53068 12.7237 3.77214 12.8822C4.76219 13.5324 6.05589 13.4976 7.04986 12.8223C7.29296 12.6572 7.52943 12.4206 7.89896 12.051L7.89897 12.051L7.94188 12.0081L8.5606 11.3894C8.75586 11.1941 8.75586 10.8775 8.5606 10.6823C8.36533 10.487 8.04875 10.487 7.85349 10.6823L7.23477 11.301C6.80777 11.728 6.6423 11.8903 6.48794 11.9951C5.81158 12.4546 4.95642 12.4636 4.32107 12.0464C4.17681 11.9516 4.02274 11.8012 3.61085 11.3894C3.19896 10.9775 3.0486 10.8234 2.95385 10.6791C2.53661 10.0438 2.54561 9.18863 3.00507 8.51227C3.10993 8.35791 3.27224 8.19244 3.69924 7.76544L4.31796 7.14672ZM9.62172 6.08558C9.81698 5.89032 9.81698 5.57373 9.62172 5.37847C9.42646 5.18321 9.10988 5.18321 8.91461 5.37847L5.37908 8.91401C5.18382 9.10927 5.18382 9.42585 5.37908 9.62111C5.57434 9.81637 5.89092 9.81637 6.08619 9.62111L9.62172 6.08558Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/link_break_1_icon.rs b/packages/icons/yew/src/link_break_1_icon.rs index 324ab85d..9afbfc46 100644 --- a/packages/icons/yew/src/link_break_1_icon.rs +++ b/packages/icons/yew/src/link_break_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LinkBreak1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LinkBreak1Icon(props: &LinkBreak1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L13.3536 2.35355ZM2.03735 8.46678C2.17398 9.12619 2.66918 9.67103 3.33886 9.89338L2.57833 10.6539C1.80843 10.2534 1.23784 9.53693 1.05815 8.66967C0.999538 8.38681 0.999604 8.06004 0.999703 7.56313L0.999711 7.50001L0.999703 7.43689C0.999604 6.93998 0.999538 6.61321 1.05815 6.33035C1.29846 5.17053 2.2379 4.28039 3.4182 4.055C3.70687 3.99988 4.04134 3.99993 4.56402 4.00001L4.62471 4.00001H5.49971C5.77585 4.00001 5.99971 4.22387 5.99971 4.50001C5.99971 4.77615 5.77585 5.00001 5.49971 5.00001H4.62471C4.02084 5.00001 3.78907 5.00225 3.60577 5.03725C2.80262 5.19062 2.19157 5.78895 2.03735 6.53324C2.00233 6.70225 1.99971 6.91752 1.99971 7.50001C1.99971 8.08251 2.00233 8.29778 2.03735 8.46678ZM12.9621 6.53324C12.8255 5.87397 12.3304 5.32922 11.661 5.10679L12.4215 4.34631C13.1912 4.74686 13.7616 5.46323 13.9413 6.33035C13.9999 6.61321 13.9998 6.93998 13.9997 7.43688L13.9997 7.50001L13.9997 7.56314C13.9998 8.06005 13.9999 8.38681 13.9413 8.66967C13.701 9.8295 12.7615 10.7196 11.5812 10.945C11.2925 11.0001 10.9581 11.0001 10.4354 11L10.3747 11H9.49971C9.22357 11 8.99971 10.7762 8.99971 10.5C8.99971 10.2239 9.22357 10 9.49971 10H10.3747C10.9786 10 11.2104 9.99777 11.3937 9.96277C12.1968 9.8094 12.8079 9.21108 12.9621 8.46678C12.9971 8.29778 12.9997 8.08251 12.9997 7.50001C12.9997 6.91752 12.9971 6.70225 12.9621 6.53324Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/link_break_2_icon.rs b/packages/icons/yew/src/link_break_2_icon.rs index 4b61d7a3..aac64509 100644 --- a/packages/icons/yew/src/link_break_2_icon.rs +++ b/packages/icons/yew/src/link_break_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LinkBreak2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LinkBreak2Icon(props: &LinkBreak2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.50021 0C4.77635 0 5.0002 0.223853 5.0002 0.49999V2.49995C5.0002 2.77609 4.77635 2.99994 4.50021 2.99994C4.22408 2.99994 4.00022 2.77609 4.00022 2.49995V0.49999C4.00022 0.223853 4.22408 0 4.50021 0ZM0.646451 0.64647C0.84171 0.451212 1.15829 0.451212 1.35354 0.64647L2.85351 2.14644C3.04877 2.3417 3.04877 2.65827 2.85351 2.85353C2.65826 3.04879 2.34168 3.04879 2.14642 2.85353L0.646452 1.35356C0.451193 1.1583 0.451193 0.841728 0.646451 0.64647ZM0.00030517 4.49991C0.00030517 4.22377 0.224158 3.99992 0.500295 3.99992H2.50025C2.77639 3.99992 3.00024 4.22377 3.00024 4.49991C3.00024 4.77605 2.77639 4.9999 2.50025 4.9999H0.500295C0.224158 4.9999 0.00030517 4.77605 0.00030517 4.49991ZM12.0001 10.4998C12.0001 10.2236 12.2239 9.9998 12.5001 9.9998H14.5C14.7761 9.9998 15 10.2236 15 10.4998C15 10.7759 14.7761 10.9998 14.5 10.9998H12.5001C12.2239 10.9998 12.0001 10.7759 12.0001 10.4998ZM10.5001 11.9998C10.7762 11.9998 11.0001 12.2236 11.0001 12.4997V14.4997C11.0001 14.7758 10.7762 14.9997 10.5001 14.9997C10.224 14.9997 10.0001 14.7758 10.0001 14.4997V12.4997C10.0001 12.2236 10.224 11.9998 10.5001 11.9998ZM12.1462 12.1462C12.3415 11.951 12.658 11.951 12.8533 12.1462L14.3533 13.6462C14.5485 13.8415 14.5485 14.158 14.3533 14.3533C14.158 14.5485 13.8414 14.5485 13.6462 14.3533L12.1462 12.8533C11.951 12.6581 11.951 12.3415 12.1462 12.1462ZM7.76478 3.69938C8.19177 3.27238 8.35724 3.11008 8.5116 3.00522C9.18794 2.54577 10.0431 2.53677 10.6784 2.95401C10.8227 3.04875 10.9767 3.19911 11.3886 3.61099C11.8005 4.02287 11.9509 4.17694 12.0456 4.3212C12.4628 4.95653 12.4539 5.81168 11.9944 6.48802C11.8895 6.64238 11.7272 6.80785 11.3002 7.23484L10.6815 7.85354C10.4863 8.0488 10.4863 8.36538 10.6815 8.56064C10.8768 8.75589 11.1934 8.75589 11.3886 8.56064L12.0073 7.94193L12.0502 7.89903C12.4199 7.5295 12.6564 7.29303 12.8216 7.04993C13.4968 6.05598 13.5316 4.7623 12.8815 3.77228C12.7229 3.53083 12.4918 3.29982 12.1404 2.94853L12.0957 2.9039L12.0511 2.85925C11.6998 2.50782 11.4688 2.27672 11.2273 2.11816C10.2373 1.46798 8.94364 1.50284 7.94968 2.17805C7.70659 2.34319 7.47012 2.57973 7.1006 2.94936L7.1006 2.94937L7.05769 2.99228L6.43898 3.61099C6.24372 3.80625 6.24372 4.12282 6.43898 4.31808C6.63424 4.51334 6.95081 4.51334 7.14607 4.31808L7.76478 3.69938ZM2.99191 7.05807L2.94899 7.10097C2.57935 7.4705 2.34282 7.70697 2.17767 7.95006C1.50246 8.94401 1.4676 10.2377 2.11778 11.2277C2.27634 11.4692 2.50744 11.7002 2.85886 12.0515L2.85888 12.0515L2.90352 12.0961L2.94815 12.1407L2.94815 12.1407L2.94817 12.1408C3.29945 12.4922 3.53045 12.7233 3.7719 12.8818C4.76193 13.532 6.0556 13.4972 7.04956 12.8219C7.29265 12.6568 7.52912 12.4203 7.89865 12.0506L7.94155 12.0077L8.56026 11.389C8.75552 11.1937 8.75552 10.8772 8.56026 10.6819C8.365 10.4867 8.04842 10.4867 7.85317 10.6819L7.23446 11.3006C6.80747 11.7276 6.642 11.8899 6.48764 11.9948C5.8113 12.4542 4.95615 12.4632 4.32082 12.046C4.17656 11.9512 4.02249 11.8009 3.61061 11.389C3.19873 10.9771 3.04837 10.8231 2.95363 10.6788C2.53639 10.0435 2.54539 9.18832 3.00484 8.51198C3.10971 8.35761 3.27201 8.19215 3.699 7.76516L4.3177 7.14645C4.51296 6.95119 4.51296 6.63462 4.3177 6.43936C4.12245 6.2441 3.80587 6.2441 3.61061 6.43936L2.99191 7.05807Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/link_none_1_icon.rs b/packages/icons/yew/src/link_none_1_icon.rs index 82863f11..e0bd6d94 100644 --- a/packages/icons/yew/src/link_none_1_icon.rs +++ b/packages/icons/yew/src/link_none_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LinkNone1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LinkNone1Icon(props: &LinkNone1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.56427 3.99988C4.58422 3.99989 4.60445 3.99989 4.62496 3.99989H5.49996C5.7761 3.99989 5.99996 4.22375 5.99996 4.49989C5.99996 4.77603 5.7761 4.99989 5.49996 4.99989H4.62496C4.02108 4.99989 3.78932 5.00213 3.60601 5.03713C2.80287 5.1905 2.19181 5.78883 2.03759 6.53312C2.00257 6.70212 1.99996 6.91739 1.99996 7.49989C1.99996 8.08239 2.00257 8.29766 2.03759 8.46666C2.19181 9.21095 2.80287 9.80928 3.60601 9.96265C3.78932 9.99765 4.02108 9.99989 4.62496 9.99989H5.49996C5.7761 9.99989 5.99996 10.2237 5.99996 10.4999C5.99996 10.776 5.7761 10.9999 5.49996 10.9999H4.62496C4.60445 10.9999 4.58422 10.9999 4.56427 10.9999C4.04159 11 3.70712 11 3.41845 10.9449C2.23814 10.7195 1.29871 9.82937 1.05839 8.66955C0.999782 8.38669 0.999848 8.05992 0.999947 7.56301C0.999951 7.54227 0.999955 7.52123 0.999955 7.49989C0.999955 7.47855 0.999951 7.45751 0.999947 7.43677C0.999848 6.93986 0.999782 6.61309 1.05839 6.33023C1.29871 5.17041 2.23814 4.28027 3.41845 4.05488C3.70712 3.99976 4.04159 3.99981 4.56427 3.99988ZM11.3939 5.03713C11.2106 5.00213 10.9788 4.99989 10.375 4.99989H9.49996C9.22381 4.99989 8.99996 4.77603 8.99996 4.49989C8.99996 4.22375 9.22381 3.99989 9.49996 3.99989H10.375C10.3955 3.99989 10.4157 3.99989 10.4356 3.99988C10.9583 3.99981 11.2928 3.99976 11.5815 4.05488C12.7618 4.28027 13.7012 5.17041 13.9415 6.33023C14.0001 6.61309 14.0001 6.93985 14 7.43676C14 7.4575 14 7.47854 14 7.49989C14 7.52124 14 7.54228 14 7.56302C14.0001 8.05992 14.0001 8.38669 13.9415 8.66955C13.7012 9.82937 12.7618 10.7195 11.5815 10.9449C11.2928 11 10.9583 11 10.4356 10.9999C10.4157 10.9999 10.3955 10.9999 10.375 10.9999H9.49996C9.22381 10.9999 8.99996 10.776 8.99996 10.4999C8.99996 10.2237 9.22381 9.99989 9.49996 9.99989H10.375C10.9788 9.99989 11.2106 9.99765 11.3939 9.96265C12.197 9.80928 12.8081 9.21095 12.9623 8.46666C12.9973 8.29766 13 8.08239 13 7.49989C13 6.91739 12.9973 6.70212 12.9623 6.53312C12.8081 5.78883 12.197 5.1905 11.3939 5.03713Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/link_none_2_icon.rs b/packages/icons/yew/src/link_none_2_icon.rs index f39b4a58..1ff7a7a0 100644 --- a/packages/icons/yew/src/link_none_2_icon.rs +++ b/packages/icons/yew/src/link_none_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LinkNone2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LinkNone2Icon(props: &LinkNone2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M10.6788 2.95419C10.0435 2.53694 9.18829 2.54594 8.51194 3.00541C8.35757 3.11027 8.1921 3.27257 7.7651 3.69957L7.14638 4.31829C6.95112 4.51355 6.63454 4.51355 6.43928 4.31829C6.24401 4.12303 6.24401 3.80645 6.43928 3.61119L7.058 2.99247C7.0725 2.97797 7.08679 2.96366 7.1009 2.94955C7.47044 2.57991 7.70691 2.34336 7.95001 2.17822C8.94398 1.50299 10.2377 1.46813 11.2277 2.11832C11.4692 2.27689 11.7002 2.508 12.0515 2.85942C12.0662 2.8741 12.081 2.88898 12.0961 2.90408C12.1112 2.91917 12.1261 2.93405 12.1408 2.94871C12.4922 3.30001 12.7233 3.53102 12.8819 3.77248C13.5321 4.76252 13.4972 6.05623 12.822 7.0502C12.6568 7.2933 12.4203 7.52976 12.0507 7.89929C12.0366 7.9134 12.0222 7.92771 12.0077 7.94221L11.389 8.56093C11.1938 8.7562 10.8772 8.7562 10.6819 8.56093C10.4867 8.36567 10.4867 8.04909 10.6819 7.85383L11.3006 7.23511C11.7276 6.80811 11.8899 6.64264 11.9948 6.48827C12.4543 5.81192 12.4633 4.95675 12.046 4.32141C11.9513 4.17714 11.8009 4.02307 11.389 3.61119C10.9771 3.1993 10.8231 3.04893 10.6788 2.95419ZM4.31796 6.43961C4.51322 6.63487 4.51322 6.95146 4.31796 7.14672L3.69924 7.76544C3.27224 8.19244 3.10993 8.35791 3.00507 8.51227C2.54561 9.18863 2.53661 10.0438 2.95385 10.6791C3.0486 10.8234 3.19896 10.9775 3.61085 11.3894C4.02274 11.8012 4.17681 11.9516 4.32107 12.0464C4.95642 12.4636 5.81158 12.4546 6.48794 11.9951C6.6423 11.8903 6.80777 11.728 7.23477 11.301L7.85349 10.6823C8.04875 10.487 8.36533 10.487 8.5606 10.6823C8.75586 10.8775 8.75586 11.1941 8.5606 11.3894L7.94188 12.0081C7.92738 12.0226 7.91307 12.0369 7.89897 12.051C7.52943 12.4206 7.29296 12.6572 7.04986 12.8223C6.05589 13.4976 4.76219 13.5324 3.77214 12.8822C3.53068 12.7237 3.29967 12.4925 2.94837 12.1411C2.93371 12.1264 2.91883 12.1116 2.90374 12.0965C2.88865 12.0814 2.87377 12.0665 2.8591 12.0518C2.50766 11.7005 2.27656 11.4695 2.11799 11.2281C1.4678 10.238 1.50265 8.94432 2.17788 7.95035C2.34303 7.70724 2.57957 7.47077 2.94922 7.10124C2.96333 7.08713 2.97763 7.07283 2.99213 7.05833L3.61085 6.43961C3.80611 6.24435 4.12269 6.24435 4.31796 6.43961Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/linkedin_logo_icon.rs b/packages/icons/yew/src/linkedin_logo_icon.rs index f183723e..5656da66 100644 --- a/packages/icons/yew/src/linkedin_logo_icon.rs +++ b/packages/icons/yew/src/linkedin_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LinkedinLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LinkedinLogoIcon(props: &LinkedinLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 1C1.44772 1 1 1.44772 1 2V13C1 13.5523 1.44772 14 2 14H13C13.5523 14 14 13.5523 14 13V2C14 1.44772 13.5523 1 13 1H2ZM3.05 6H4.95V12H3.05V6ZM5.075 4.005C5.075 4.59871 4.59371 5.08 4 5.08C3.4063 5.08 2.925 4.59871 2.925 4.005C2.925 3.41129 3.4063 2.93 4 2.93C4.59371 2.93 5.075 3.41129 5.075 4.005ZM12 8.35713C12 6.55208 10.8334 5.85033 9.67449 5.85033C9.29502 5.83163 8.91721 5.91119 8.57874 6.08107C8.32172 6.21007 8.05265 6.50523 7.84516 7.01853H7.79179V6.00044H6V12.0047H7.90616V8.8112C7.8786 8.48413 7.98327 8.06142 8.19741 7.80987C8.41156 7.55832 8.71789 7.49825 8.95015 7.46774H9.02258C9.62874 7.46774 10.0786 7.84301 10.0786 8.78868V12.0047H11.9847L12 8.35713Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/list_bullet_icon.rs b/packages/icons/yew/src/list_bullet_icon.rs index 7b015539..8cd7932e 100644 --- a/packages/icons/yew/src/list_bullet_icon.rs +++ b/packages/icons/yew/src/list_bullet_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ListBulletIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ListBulletIcon(props: &ListBulletIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.5 5.25C1.91421 5.25 2.25 4.91421 2.25 4.5C2.25 4.08579 1.91421 3.75 1.5 3.75C1.08579 3.75 0.75 4.08579 0.75 4.5C0.75 4.91421 1.08579 5.25 1.5 5.25ZM4 4.5C4 4.22386 4.22386 4 4.5 4H13.5C13.7761 4 14 4.22386 14 4.5C14 4.77614 13.7761 5 13.5 5H4.5C4.22386 5 4 4.77614 4 4.5ZM4.5 7C4.22386 7 4 7.22386 4 7.5C4 7.77614 4.22386 8 4.5 8H13.5C13.7761 8 14 7.77614 14 7.5C14 7.22386 13.7761 7 13.5 7H4.5ZM4.5 10C4.22386 10 4 10.2239 4 10.5C4 10.7761 4.22386 11 4.5 11H13.5C13.7761 11 14 10.7761 14 10.5C14 10.2239 13.7761 10 13.5 10H4.5ZM2.25 7.5C2.25 7.91421 1.91421 8.25 1.5 8.25C1.08579 8.25 0.75 7.91421 0.75 7.5C0.75 7.08579 1.08579 6.75 1.5 6.75C1.91421 6.75 2.25 7.08579 2.25 7.5ZM1.5 11.25C1.91421 11.25 2.25 10.9142 2.25 10.5C2.25 10.0858 1.91421 9.75 1.5 9.75C1.08579 9.75 0.75 10.0858 0.75 10.5C0.75 10.9142 1.08579 11.25 1.5 11.25Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/lock_closed_icon.rs b/packages/icons/yew/src/lock_closed_icon.rs index d68ddba4..99ff88bc 100644 --- a/packages/icons/yew/src/lock_closed_icon.rs +++ b/packages/icons/yew/src/lock_closed_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LockClosedIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LockClosedIcon(props: &LockClosedIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5 4.63601C5 3.76031 5.24219 3.1054 5.64323 2.67357C6.03934 2.24705 6.64582 1.9783 7.5014 1.9783C8.35745 1.9783 8.96306 2.24652 9.35823 2.67208C9.75838 3.10299 10 3.75708 10 4.63325V5.99999H5V4.63601ZM4 5.99999V4.63601C4 3.58148 4.29339 2.65754 4.91049 1.99307C5.53252 1.32329 6.42675 0.978302 7.5014 0.978302C8.57583 0.978302 9.46952 1.32233 10.091 1.99162C10.7076 2.65557 11 3.57896 11 4.63325V5.99999H12C12.5523 5.99999 13 6.44771 13 6.99999V13C13 13.5523 12.5523 14 12 14H3C2.44772 14 2 13.5523 2 13V6.99999C2 6.44771 2.44772 5.99999 3 5.99999H4ZM3 6.99999H12V13H3V6.99999Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/lock_open_1_icon.rs b/packages/icons/yew/src/lock_open_1_icon.rs index 04b4e436..c4ca8c2b 100644 --- a/packages/icons/yew/src/lock_open_1_icon.rs +++ b/packages/icons/yew/src/lock_open_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LockOpen1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LockOpen1Icon(props: &LockOpen1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.4986 0C6.3257 0 5.36107 0.38943 4.73753 1.19361C4.23745 1.83856 4 2.68242 4 3.63325H5C5 2.84313 5.19691 2.23312 5.5278 1.80636C5.91615 1.30552 6.55152 1 7.4986 1C8.35683 1 8.96336 1.26502 9.35846 1.68623C9.75793 2.11211 10 2.76044 10 3.63601V6H3C2.44772 6 2 6.44772 2 7V13C2 13.5523 2.44772 14 3 14H12C12.5523 14 13 13.5523 13 13V7C13 6.44771 12.5523 6 12 6H11V3.63601C11 2.58135 10.7065 1.66167 10.0878 1.0021C9.46477 0.337871 8.57061 0 7.4986 0ZM3 7H12V13H3V7Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/lock_open_2_icon.rs b/packages/icons/yew/src/lock_open_2_icon.rs index 3cd645cf..9c978714 100644 --- a/packages/icons/yew/src/lock_open_2_icon.rs +++ b/packages/icons/yew/src/lock_open_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LockOpen2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LockOpen2Icon(props: &LockOpen2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9 3.63601C9 2.76044 9.24207 2.11211 9.64154 1.68623C10.0366 1.26502 10.6432 1 11.5014 1C12.4485 1 13.0839 1.30552 13.4722 1.80636C13.8031 2.23312 14 2.84313 14 3.63325H15C15 2.68242 14.7626 1.83856 14.2625 1.19361C13.6389 0.38943 12.6743 0 11.5014 0C10.4294 0 9.53523 0.337871 8.91218 1.0021C8.29351 1.66167 8 2.58135 8 3.63601V6H1C0.447715 6 0 6.44772 0 7V13C0 13.5523 0.447715 14 1 14H10C10.5523 14 11 13.5523 11 13V7C11 6.44772 10.5523 6 10 6H9V3.63601ZM1 7H10V13H1V7Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/loop_icon.rs b/packages/icons/yew/src/loop_icon.rs index 5e83e043..3d70cb64 100644 --- a/packages/icons/yew/src/loop_icon.rs +++ b/packages/icons/yew/src/loop_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct LoopIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn LoopIcon(props: &LoopIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.35355 1.85355C3.54882 1.65829 3.54882 1.34171 3.35355 1.14645C3.15829 0.951184 2.84171 0.951184 2.64645 1.14645L0.646447 3.14645C0.451184 3.34171 0.451184 3.65829 0.646447 3.85355L2.64645 5.85355C2.84171 6.04882 3.15829 6.04882 3.35355 5.85355C3.54882 5.65829 3.54882 5.34171 3.35355 5.14645L2.20711 4H9.5C11.433 4 13 5.567 13 7.5C13 7.77614 13.2239 8 13.5 8C13.7761 8 14 7.77614 14 7.5C14 5.01472 11.9853 3 9.5 3H2.20711L3.35355 1.85355ZM2 7.5C2 7.22386 1.77614 7 1.5 7C1.22386 7 1 7.22386 1 7.5C1 9.98528 3.01472 12 5.5 12H12.7929L11.6464 13.1464C11.4512 13.3417 11.4512 13.6583 11.6464 13.8536C11.8417 14.0488 12.1583 14.0488 12.3536 13.8536L14.3536 11.8536C14.5488 11.6583 14.5488 11.3417 14.3536 11.1464L12.3536 9.14645C12.1583 8.95118 11.8417 8.95118 11.6464 9.14645C11.4512 9.34171 11.4512 9.65829 11.6464 9.85355L12.7929 11H5.5C3.567 11 2 9.433 2 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/magic_wand_icon.rs b/packages/icons/yew/src/magic_wand_icon.rs index 7fbd5ff4..6b36001d 100644 --- a/packages/icons/yew/src/magic_wand_icon.rs +++ b/packages/icons/yew/src/magic_wand_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MagicWandIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MagicWandIcon(props: &MagicWandIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.9 0.499976C13.9 0.279062 13.7209 0.0999756 13.5 0.0999756C13.2791 0.0999756 13.1 0.279062 13.1 0.499976V1.09998H12.5C12.2791 1.09998 12.1 1.27906 12.1 1.49998C12.1 1.72089 12.2791 1.89998 12.5 1.89998H13.1V2.49998C13.1 2.72089 13.2791 2.89998 13.5 2.89998C13.7209 2.89998 13.9 2.72089 13.9 2.49998V1.89998H14.5C14.7209 1.89998 14.9 1.72089 14.9 1.49998C14.9 1.27906 14.7209 1.09998 14.5 1.09998H13.9V0.499976ZM11.8536 3.14642C12.0488 3.34168 12.0488 3.65826 11.8536 3.85353L10.8536 4.85353C10.6583 5.04879 10.3417 5.04879 10.1465 4.85353C9.9512 4.65827 9.9512 4.34169 10.1465 4.14642L11.1464 3.14643C11.3417 2.95116 11.6583 2.95116 11.8536 3.14642ZM9.85357 5.14642C10.0488 5.34168 10.0488 5.65827 9.85357 5.85353L2.85355 12.8535C2.65829 13.0488 2.34171 13.0488 2.14645 12.8535C1.95118 12.6583 1.95118 12.3417 2.14645 12.1464L9.14646 5.14642C9.34172 4.95116 9.65831 4.95116 9.85357 5.14642ZM13.5 5.09998C13.7209 5.09998 13.9 5.27906 13.9 5.49998V6.09998H14.5C14.7209 6.09998 14.9 6.27906 14.9 6.49998C14.9 6.72089 14.7209 6.89998 14.5 6.89998H13.9V7.49998C13.9 7.72089 13.7209 7.89998 13.5 7.89998C13.2791 7.89998 13.1 7.72089 13.1 7.49998V6.89998H12.5C12.2791 6.89998 12.1 6.72089 12.1 6.49998C12.1 6.27906 12.2791 6.09998 12.5 6.09998H13.1V5.49998C13.1 5.27906 13.2791 5.09998 13.5 5.09998ZM8.90002 0.499976C8.90002 0.279062 8.72093 0.0999756 8.50002 0.0999756C8.2791 0.0999756 8.10002 0.279062 8.10002 0.499976V1.09998H7.50002C7.2791 1.09998 7.10002 1.27906 7.10002 1.49998C7.10002 1.72089 7.2791 1.89998 7.50002 1.89998H8.10002V2.49998C8.10002 2.72089 8.2791 2.89998 8.50002 2.89998C8.72093 2.89998 8.90002 2.72089 8.90002 2.49998V1.89998H9.50002C9.72093 1.89998 9.90002 1.72089 9.90002 1.49998C9.90002 1.27906 9.72093 1.09998 9.50002 1.09998H8.90002V0.499976Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/magnifying_glass_icon.rs b/packages/icons/yew/src/magnifying_glass_icon.rs index 43dda76e..847d96d1 100644 --- a/packages/icons/yew/src/magnifying_glass_icon.rs +++ b/packages/icons/yew/src/magnifying_glass_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MagnifyingGlassIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MagnifyingGlassIcon(props: &MagnifyingGlassIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/margin_icon.rs b/packages/icons/yew/src/margin_icon.rs index 22059e39..e57a9529 100644 --- a/packages/icons/yew/src/margin_icon.rs +++ b/packages/icons/yew/src/margin_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MarginIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MarginIcon(props: &MarginIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.49988 2.00012C1.77602 2.00012 1.99988 1.77626 1.99988 1.50012C1.99988 1.22398 1.77602 1.00012 1.49988 1.00012C1.22374 1.00012 0.999878 1.22398 0.999878 1.50012C0.999878 1.77626 1.22374 2.00012 1.49988 2.00012ZM4.49988 2.00012C4.77602 2.00012 4.99988 1.77626 4.99988 1.50012C4.99988 1.22398 4.77602 1.00012 4.49988 1.00012C4.22374 1.00012 3.99988 1.22398 3.99988 1.50012C3.99988 1.77626 4.22374 2.00012 4.49988 2.00012ZM7.99988 1.50012C7.99988 1.77626 7.77602 2.00012 7.49988 2.00012C7.22374 2.00012 6.99988 1.77626 6.99988 1.50012C6.99988 1.22398 7.22374 1.00012 7.49988 1.00012C7.77602 1.00012 7.99988 1.22398 7.99988 1.50012ZM10.4999 2.00012C10.776 2.00012 10.9999 1.77626 10.9999 1.50012C10.9999 1.22398 10.776 1.00012 10.4999 1.00012C10.2237 1.00012 9.99988 1.22398 9.99988 1.50012C9.99988 1.77626 10.2237 2.00012 10.4999 2.00012ZM13.9999 1.50012C13.9999 1.77626 13.776 2.00012 13.4999 2.00012C13.2237 2.00012 12.9999 1.77626 12.9999 1.50012C12.9999 1.22398 13.2237 1.00012 13.4999 1.00012C13.776 1.00012 13.9999 1.22398 13.9999 1.50012ZM1.49988 14.0001C1.77602 14.0001 1.99988 13.7763 1.99988 13.5001C1.99988 13.224 1.77602 13.0001 1.49988 13.0001C1.22374 13.0001 0.999878 13.224 0.999878 13.5001C0.999878 13.7763 1.22374 14.0001 1.49988 14.0001ZM1.99988 10.5001C1.99988 10.7763 1.77602 11.0001 1.49988 11.0001C1.22374 11.0001 0.999878 10.7763 0.999878 10.5001C0.999878 10.224 1.22374 10.0001 1.49988 10.0001C1.77602 10.0001 1.99988 10.224 1.99988 10.5001ZM1.49988 8.00012C1.77602 8.00012 1.99988 7.77626 1.99988 7.50012C1.99988 7.22398 1.77602 7.00012 1.49988 7.00012C1.22374 7.00012 0.999878 7.22398 0.999878 7.50012C0.999878 7.77626 1.22374 8.00012 1.49988 8.00012ZM1.99988 4.50012C1.99988 4.77626 1.77602 5.00012 1.49988 5.00012C1.22374 5.00012 0.999878 4.77626 0.999878 4.50012C0.999878 4.22398 1.22374 4.00012 1.49988 4.00012C1.77602 4.00012 1.99988 4.22398 1.99988 4.50012ZM13.4999 11.0001C13.776 11.0001 13.9999 10.7763 13.9999 10.5001C13.9999 10.224 13.776 10.0001 13.4999 10.0001C13.2237 10.0001 12.9999 10.224 12.9999 10.5001C12.9999 10.7763 13.2237 11.0001 13.4999 11.0001ZM13.9999 7.50012C13.9999 7.77626 13.776 8.00012 13.4999 8.00012C13.2237 8.00012 12.9999 7.77626 12.9999 7.50012C12.9999 7.22398 13.2237 7.00012 13.4999 7.00012C13.776 7.00012 13.9999 7.22398 13.9999 7.50012ZM13.4999 5.00012C13.776 5.00012 13.9999 4.77626 13.9999 4.50012C13.9999 4.22398 13.776 4.00012 13.4999 4.00012C13.2237 4.00012 12.9999 4.22398 12.9999 4.50012C12.9999 4.77626 13.2237 5.00012 13.4999 5.00012ZM4.99988 13.5001C4.99988 13.7763 4.77602 14.0001 4.49988 14.0001C4.22374 14.0001 3.99988 13.7763 3.99988 13.5001C3.99988 13.224 4.22374 13.0001 4.49988 13.0001C4.77602 13.0001 4.99988 13.224 4.99988 13.5001ZM7.49988 14.0001C7.77602 14.0001 7.99988 13.7763 7.99988 13.5001C7.99988 13.224 7.77602 13.0001 7.49988 13.0001C7.22374 13.0001 6.99988 13.224 6.99988 13.5001C6.99988 13.7763 7.22374 14.0001 7.49988 14.0001ZM10.9999 13.5001C10.9999 13.7763 10.776 14.0001 10.4999 14.0001C10.2237 14.0001 9.99988 13.7763 9.99988 13.5001C9.99988 13.224 10.2237 13.0001 10.4999 13.0001C10.776 13.0001 10.9999 13.224 10.9999 13.5001ZM13.4999 14.0001C13.776 14.0001 13.9999 13.7763 13.9999 13.5001C13.9999 13.224 13.776 13.0001 13.4999 13.0001C13.2237 13.0001 12.9999 13.224 12.9999 13.5001C12.9999 13.7763 13.2237 14.0001 13.4999 14.0001ZM3.99988 5.00012C3.99988 4.44784 4.44759 4.00012 4.99988 4.00012H9.99988C10.5522 4.00012 10.9999 4.44784 10.9999 5.00012V10.0001C10.9999 10.5524 10.5522 11.0001 9.99988 11.0001H4.99988C4.44759 11.0001 3.99988 10.5524 3.99988 10.0001V5.00012ZM4.99988 5.00012H9.99988V10.0001H4.99988V5.00012Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/mask_off_icon.rs b/packages/icons/yew/src/mask_off_icon.rs index dc28680d..5965bdf6 100644 --- a/packages/icons/yew/src/mask_off_icon.rs +++ b/packages/icons/yew/src/mask_off_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MaskOffIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MaskOffIcon(props: &MaskOffIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1 2H14V13H1L1 2ZM0 2C0 1.44772 0.447715 1 1 1H14C14.5523 1 15 1.44772 15 2V13C15 13.5523 14.5523 14 14 14H1C0.447715 14 0 13.5523 0 13V2ZM4.875 7.5C4.875 6.05025 6.05025 4.875 7.5 4.875C8.94975 4.875 10.125 6.05025 10.125 7.5C10.125 8.94975 8.94975 10.125 7.5 10.125C6.05025 10.125 4.875 8.94975 4.875 7.5ZM7.5 3.875C5.49797 3.875 3.875 5.49797 3.875 7.5C3.875 9.50203 5.49797 11.125 7.5 11.125C9.50203 11.125 11.125 9.50203 11.125 7.5C11.125 5.49797 9.50203 3.875 7.5 3.875Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/mask_on_icon.rs b/packages/icons/yew/src/mask_on_icon.rs index e04725a8..c0a53fa3 100644 --- a/packages/icons/yew/src/mask_on_icon.rs +++ b/packages/icons/yew/src/mask_on_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MaskOnIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MaskOnIcon(props: &MaskOnIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1 1C0.447715 1 0 1.44772 0 2V13C0 13.5523 0.447715 14 1 14H14C14.5523 14 15 13.5523 15 13V2C15 1.44772 14.5523 1 14 1H1ZM7.5 10.625C9.22589 10.625 10.625 9.22589 10.625 7.5C10.625 5.77411 9.22589 4.375 7.5 4.375C5.77411 4.375 4.375 5.77411 4.375 7.5C4.375 9.22589 5.77411 10.625 7.5 10.625Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/minus_circled_icon.rs b/packages/icons/yew/src/minus_circled_icon.rs index 947ade3b..18054004 100644 --- a/packages/icons/yew/src/minus_circled_icon.rs +++ b/packages/icons/yew/src/minus_circled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MinusCircledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MinusCircledIcon(props: &MinusCircledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM4.50003 7C4.22389 7 4.00003 7.22386 4.00003 7.5C4.00003 7.77614 4.22389 8 4.50003 8H10.5C10.7762 8 11 7.77614 11 7.5C11 7.22386 10.7762 7 10.5 7H4.50003Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/minus_icon.rs b/packages/icons/yew/src/minus_icon.rs index 5b45bea8..26b30676 100644 --- a/packages/icons/yew/src/minus_icon.rs +++ b/packages/icons/yew/src/minus_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MinusIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MinusIcon(props: &MinusIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.25 7.5C2.25 7.22386 2.47386 7 2.75 7H12.25C12.5261 7 12.75 7.22386 12.75 7.5C12.75 7.77614 12.5261 8 12.25 8H2.75C2.47386 8 2.25 7.77614 2.25 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/mix_icon.rs b/packages/icons/yew/src/mix_icon.rs index 9e95f1b6..3a2aa5c4 100644 --- a/packages/icons/yew/src/mix_icon.rs +++ b/packages/icons/yew/src/mix_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MixIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MixIcon(props: &MixIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.14921 3.99996C2.14921 2.97778 2.97784 2.14915 4.00002 2.14915C5.02219 2.14915 5.85083 2.97778 5.85083 3.99996C5.85083 5.02213 5.02219 5.85077 4.00002 5.85077C2.97784 5.85077 2.14921 5.02213 2.14921 3.99996ZM4.00002 1.24915C2.48079 1.24915 1.24921 2.48073 1.24921 3.99996C1.24921 5.51919 2.48079 6.75077 4.00002 6.75077C5.51925 6.75077 6.75083 5.51919 6.75083 3.99996C6.75083 2.48073 5.51925 1.24915 4.00002 1.24915ZM5.82034 11.0001L2.49998 12.8369V9.16331L5.82034 11.0001ZM2.63883 8.21159C2.17228 7.9535 1.59998 8.29093 1.59998 8.82411V13.1761C1.59998 13.7093 2.17228 14.0467 2.63883 13.7886L6.57235 11.6126C7.05389 11.3462 7.05389 10.654 6.57235 10.3876L2.63883 8.21159ZM8.30001 9.00003C8.30001 8.61343 8.61341 8.30003 9.00001 8.30003H13C13.3866 8.30003 13.7 8.61343 13.7 9.00003V13C13.7 13.3866 13.3866 13.7 13 13.7H9.00001C8.61341 13.7 8.30001 13.3866 8.30001 13V9.00003ZM9.20001 9.20003V12.8H12.8V9.20003H9.20001ZM13.4432 2.19311C13.6189 2.01737 13.6189 1.73245 13.4432 1.55671C13.2675 1.38098 12.9826 1.38098 12.8068 1.55671L11 3.36353L9.19321 1.55674C9.01748 1.381 8.73255 1.381 8.55682 1.55674C8.38108 1.73247 8.38108 2.0174 8.55682 2.19313L10.3636 3.99992L8.55682 5.80671C8.38108 5.98245 8.38108 6.26737 8.55682 6.44311C8.73255 6.61885 9.01748 6.61885 9.19321 6.44311L11 4.63632L12.8068 6.44314C12.9826 6.61887 13.2675 6.61887 13.4432 6.44314C13.6189 6.2674 13.6189 5.98247 13.4432 5.80674L11.6364 3.99992L13.4432 2.19311Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/mixer_horizontal_icon.rs b/packages/icons/yew/src/mixer_horizontal_icon.rs index f3068b26..e0e529e2 100644 --- a/packages/icons/yew/src/mixer_horizontal_icon.rs +++ b/packages/icons/yew/src/mixer_horizontal_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MixerHorizontalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MixerHorizontalIcon(props: &MixerHorizontalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.5 3C4.67157 3 4 3.67157 4 4.5C4 5.32843 4.67157 6 5.5 6C6.32843 6 7 5.32843 7 4.5C7 3.67157 6.32843 3 5.5 3ZM3 5C3.01671 5 3.03323 4.99918 3.04952 4.99758C3.28022 6.1399 4.28967 7 5.5 7C6.71033 7 7.71978 6.1399 7.95048 4.99758C7.96677 4.99918 7.98329 5 8 5H13.5C13.7761 5 14 4.77614 14 4.5C14 4.22386 13.7761 4 13.5 4H8C7.98329 4 7.96677 4.00082 7.95048 4.00242C7.71978 2.86009 6.71033 2 5.5 2C4.28967 2 3.28022 2.86009 3.04952 4.00242C3.03323 4.00082 3.01671 4 3 4H1.5C1.22386 4 1 4.22386 1 4.5C1 4.77614 1.22386 5 1.5 5H3ZM11.9505 10.9976C11.7198 12.1399 10.7103 13 9.5 13C8.28967 13 7.28022 12.1399 7.04952 10.9976C7.03323 10.9992 7.01671 11 7 11H1.5C1.22386 11 1 10.7761 1 10.5C1 10.2239 1.22386 10 1.5 10H7C7.01671 10 7.03323 10.0008 7.04952 10.0024C7.28022 8.8601 8.28967 8 9.5 8C10.7103 8 11.7198 8.8601 11.9505 10.0024C11.9668 10.0008 11.9833 10 12 10H13.5C13.7761 10 14 10.2239 14 10.5C14 10.7761 13.7761 11 13.5 11H12C11.9833 11 11.9668 10.9992 11.9505 10.9976ZM8 10.5C8 9.67157 8.67157 9 9.5 9C10.3284 9 11 9.67157 11 10.5C11 11.3284 10.3284 12 9.5 12C8.67157 12 8 11.3284 8 10.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/mixer_vertical_icon.rs b/packages/icons/yew/src/mixer_vertical_icon.rs index 671f2f18..7936ed34 100644 --- a/packages/icons/yew/src/mixer_vertical_icon.rs +++ b/packages/icons/yew/src/mixer_vertical_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MixerVerticalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MixerVerticalIcon(props: &MixerVerticalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5 1.5C5 1.22386 4.77614 1 4.5 1C4.22386 1 4 1.22386 4 1.5L4 7C4 7.01671 4.00082 7.03323 4.00242 7.04952C2.86009 7.28022 2 8.28967 2 9.5C2 10.7103 2.86009 11.7198 4.00242 11.9505C4.00082 11.9668 4 11.9833 4 12V13.5C4 13.7761 4.22386 14 4.5 14C4.77614 14 5 13.7761 5 13.5V12C5 11.9833 4.99918 11.9668 4.99758 11.9505C6.1399 11.7198 7 10.7103 7 9.5C7 8.28967 6.1399 7.28022 4.99758 7.04952C4.99918 7.03323 5 7.01671 5 7L5 1.5ZM11 1.5C11 1.22386 10.7761 1 10.5 1C10.2239 1 10 1.22386 10 1.5V3C10 3.01671 10.0008 3.03323 10.0024 3.04952C8.8601 3.28022 8 4.28967 8 5.5C8 6.71033 8.8601 7.71978 10.0024 7.95048C10.0008 7.96677 10 7.98329 10 8V13.5C10 13.7761 10.2239 14 10.5 14C10.7761 14 11 13.7761 11 13.5V8C11 7.98329 10.9992 7.96677 10.9976 7.95048C12.1399 7.71978 13 6.71033 13 5.5C13 4.28967 12.1399 3.28022 10.9976 3.04952C10.9992 3.03323 11 3.01671 11 3V1.5ZM4.5 8C3.67157 8 3 8.67157 3 9.5C3 10.3284 3.67157 11 4.5 11C5.32843 11 6 10.3284 6 9.5C6 8.67157 5.32843 8 4.5 8ZM9 5.5C9 4.67157 9.67157 4 10.5 4C11.3284 4 12 4.67157 12 5.5C12 6.32843 11.3284 7 10.5 7C9.67157 7 9 6.32843 9 5.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/mobile_icon.rs b/packages/icons/yew/src/mobile_icon.rs index 1e8c2796..83e5909e 100644 --- a/packages/icons/yew/src/mobile_icon.rs +++ b/packages/icons/yew/src/mobile_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MobileIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MobileIcon(props: &MobileIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4 2.5C4 2.22386 4.22386 2 4.5 2H10.5C10.7761 2 11 2.22386 11 2.5V12.5C11 12.7761 10.7761 13 10.5 13H4.5C4.22386 13 4 12.7761 4 12.5V2.5ZM4.5 1C3.67157 1 3 1.67157 3 2.5V12.5C3 13.3284 3.67157 14 4.5 14H10.5C11.3284 14 12 13.3284 12 12.5V2.5C12 1.67157 11.3284 1 10.5 1H4.5ZM6 11.65C5.8067 11.65 5.65 11.8067 5.65 12C5.65 12.1933 5.8067 12.35 6 12.35H9C9.1933 12.35 9.35 12.1933 9.35 12C9.35 11.8067 9.1933 11.65 9 11.65H6Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/modulz_logo_icon.rs b/packages/icons/yew/src/modulz_logo_icon.rs index a3d1a3b0..bc0605d2 100644 --- a/packages/icons/yew/src/modulz_logo_icon.rs +++ b/packages/icons/yew/src/modulz_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ModulzLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ModulzLogoIcon(props: &ModulzLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.25925 3.16667L4.37036 5.33333V1L7.25925 3.16667ZM1 8.22222L3.88889 6.05555L1 3.88889V8.22222ZM1 14L3.88889 11.8333L1 9.66666V14ZM7.74072 8.22222L10.6296 6.05555L7.74072 3.88889V8.22222ZM14 3.16667L11.1111 5.33333V1L14 3.16667ZM11.1111 11.1111L14 8.94444L11.1111 6.77777V11.1111ZM3.88889 11.1111L1 8.94444L3.88889 6.77777V11.1111ZM4.37036 6.05555L7.25925 8.22222V3.88889L4.37036 6.05555ZM3.88889 5.33333L1 3.16667L3.88889 1V5.33333ZM7.74072 3.16667L10.6296 5.33333V1L7.74072 3.16667ZM14 8.22222L11.1111 6.05555L14 3.88889V8.22222ZM11.1111 11.8333L14 14V9.66666L11.1111 11.8333Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/moon_icon.rs b/packages/icons/yew/src/moon_icon.rs index 63e149ab..d1a2f390 100644 --- a/packages/icons/yew/src/moon_icon.rs +++ b/packages/icons/yew/src/moon_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MoonIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MoonIcon(props: &MoonIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.89998 0.499976C2.89998 0.279062 2.72089 0.0999756 2.49998 0.0999756C2.27906 0.0999756 2.09998 0.279062 2.09998 0.499976V1.09998H1.49998C1.27906 1.09998 1.09998 1.27906 1.09998 1.49998C1.09998 1.72089 1.27906 1.89998 1.49998 1.89998H2.09998V2.49998C2.09998 2.72089 2.27906 2.89998 2.49998 2.89998C2.72089 2.89998 2.89998 2.72089 2.89998 2.49998V1.89998H3.49998C3.72089 1.89998 3.89998 1.72089 3.89998 1.49998C3.89998 1.27906 3.72089 1.09998 3.49998 1.09998H2.89998V0.499976ZM5.89998 3.49998C5.89998 3.27906 5.72089 3.09998 5.49998 3.09998C5.27906 3.09998 5.09998 3.27906 5.09998 3.49998V4.09998H4.49998C4.27906 4.09998 4.09998 4.27906 4.09998 4.49998C4.09998 4.72089 4.27906 4.89998 4.49998 4.89998H5.09998V5.49998C5.09998 5.72089 5.27906 5.89998 5.49998 5.89998C5.72089 5.89998 5.89998 5.72089 5.89998 5.49998V4.89998H6.49998C6.72089 4.89998 6.89998 4.72089 6.89998 4.49998C6.89998 4.27906 6.72089 4.09998 6.49998 4.09998H5.89998V3.49998ZM1.89998 6.49998C1.89998 6.27906 1.72089 6.09998 1.49998 6.09998C1.27906 6.09998 1.09998 6.27906 1.09998 6.49998V7.09998H0.499976C0.279062 7.09998 0.0999756 7.27906 0.0999756 7.49998C0.0999756 7.72089 0.279062 7.89998 0.499976 7.89998H1.09998V8.49998C1.09998 8.72089 1.27906 8.89997 1.49998 8.89997C1.72089 8.89997 1.89998 8.72089 1.89998 8.49998V7.89998H2.49998C2.72089 7.89998 2.89998 7.72089 2.89998 7.49998C2.89998 7.27906 2.72089 7.09998 2.49998 7.09998H1.89998V6.49998ZM8.54406 0.98184L8.24618 0.941586C8.03275 0.917676 7.90692 1.1655 8.02936 1.34194C8.17013 1.54479 8.29981 1.75592 8.41754 1.97445C8.91878 2.90485 9.20322 3.96932 9.20322 5.10022C9.20322 8.37201 6.82247 11.0878 3.69887 11.6097C3.45736 11.65 3.20988 11.6772 2.96008 11.6906C2.74563 11.702 2.62729 11.9535 2.77721 12.1072C2.84551 12.1773 2.91535 12.2458 2.98667 12.3128L3.05883 12.3795L3.31883 12.6045L3.50684 12.7532L3.62796 12.8433L3.81491 12.9742L3.99079 13.089C4.11175 13.1651 4.23536 13.2375 4.36157 13.3059L4.62496 13.4412L4.88553 13.5607L5.18837 13.6828L5.43169 13.7686C5.56564 13.8128 5.70149 13.8529 5.83857 13.8885C5.94262 13.9155 6.04767 13.9401 6.15405 13.9622C6.27993 13.9883 6.40713 14.0109 6.53544 14.0298L6.85241 14.0685L7.11934 14.0892C7.24637 14.0965 7.37436 14.1002 7.50322 14.1002C11.1483 14.1002 14.1032 11.1453 14.1032 7.50023C14.1032 7.25044 14.0893 7.00389 14.0623 6.76131L14.0255 6.48407C13.991 6.26083 13.9453 6.04129 13.8891 5.82642C13.8213 5.56709 13.7382 5.31398 13.6409 5.06881L13.5279 4.80132L13.4507 4.63542L13.3766 4.48666C13.2178 4.17773 13.0353 3.88295 12.8312 3.60423L12.6782 3.40352L12.4793 3.16432L12.3157 2.98361L12.1961 2.85951L12.0355 2.70246L11.8134 2.50184L11.4925 2.24191L11.2483 2.06498L10.9562 1.87446L10.6346 1.68894L10.3073 1.52378L10.1938 1.47176L9.95488 1.3706L9.67791 1.2669L9.42566 1.1846L9.10075 1.09489L8.83599 1.03486L8.54406 0.98184ZM10.4032 5.30023C10.4032 4.27588 10.2002 3.29829 9.83244 2.40604C11.7623 3.28995 13.1032 5.23862 13.1032 7.50023C13.1032 10.593 10.596 13.1002 7.50322 13.1002C6.63646 13.1002 5.81597 12.9036 5.08355 12.5522C6.5419 12.0941 7.81081 11.2082 8.74322 10.0416C8.87963 10.2284 9.10028 10.3497 9.34928 10.3497C9.76349 10.3497 10.0993 10.0139 10.0993 9.59971C10.0993 9.24256 9.84965 8.94373 9.51535 8.86816C9.57741 8.75165 9.63653 8.63334 9.6926 8.51332C9.88358 8.63163 10.1088 8.69993 10.35 8.69993C11.0403 8.69993 11.6 8.14028 11.6 7.44993C11.6 6.75976 11.0406 6.20024 10.3505 6.19993C10.3853 5.90487 10.4032 5.60464 10.4032 5.30023Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/move_icon.rs b/packages/icons/yew/src/move_icon.rs index 62dccfa0..36f6cda2 100644 --- a/packages/icons/yew/src/move_icon.rs +++ b/packages/icons/yew/src/move_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct MoveIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn MoveIcon(props: &MoveIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.81819 0.93179C7.64245 0.756054 7.35753 0.756054 7.18179 0.93179L5.43179 2.68179C5.25605 2.85753 5.25605 3.14245 5.43179 3.31819C5.60753 3.49392 5.89245 3.49392 6.06819 3.31819L6.99999 2.38638V5.49999C6.99999 5.77613 7.22385 5.99999 7.49999 5.99999C7.77613 5.99999 7.99999 5.77613 7.99999 5.49999V2.38638L8.93179 3.31819C9.10753 3.49392 9.39245 3.49392 9.56819 3.31819C9.74392 3.14245 9.74392 2.85753 9.56819 2.68179L7.81819 0.93179ZM7.99999 9.49999C7.99999 9.22385 7.77613 8.99999 7.49999 8.99999C7.22385 8.99999 6.99999 9.22385 6.99999 9.49999V12.6136L6.06819 11.6818C5.89245 11.5061 5.60753 11.5061 5.43179 11.6818C5.25605 11.8575 5.25605 12.1424 5.43179 12.3182L7.18179 14.0682C7.35753 14.2439 7.64245 14.2439 7.81819 14.0682L9.56819 12.3182C9.74392 12.1424 9.74392 11.8575 9.56819 11.6818C9.39245 11.5061 9.10753 11.5061 8.93179 11.6818L7.99999 12.6136V9.49999ZM8.99999 7.49999C8.99999 7.22385 9.22385 6.99999 9.49999 6.99999H12.6136L11.6818 6.06819C11.5061 5.89245 11.5061 5.60753 11.6818 5.43179C11.8575 5.25605 12.1424 5.25605 12.3182 5.43179L14.0682 7.18179C14.2439 7.35753 14.2439 7.64245 14.0682 7.81819L12.3182 9.56819C12.1424 9.74392 11.8575 9.74392 11.6818 9.56819C11.5061 9.39245 11.5061 9.10753 11.6818 8.93179L12.6136 7.99999H9.49999C9.22385 7.99999 8.99999 7.77613 8.99999 7.49999ZM3.31819 6.06819L2.38638 6.99999H5.49999C5.77613 6.99999 5.99999 7.22385 5.99999 7.49999C5.99999 7.77613 5.77613 7.99999 5.49999 7.99999H2.38638L3.31819 8.93179C3.49392 9.10753 3.49392 9.39245 3.31819 9.56819C3.14245 9.74392 2.85753 9.74392 2.68179 9.56819L0.93179 7.81819C0.756054 7.64245 0.756054 7.35753 0.93179 7.18179L2.68179 5.43179C2.85753 5.25605 3.14245 5.25605 3.31819 5.43179C3.49392 5.60753 3.49392 5.89245 3.31819 6.06819Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/notion_logo_icon.rs b/packages/icons/yew/src/notion_logo_icon.rs index 2d75bf46..0bfc3a15 100644 --- a/packages/icons/yew/src/notion_logo_icon.rs +++ b/packages/icons/yew/src/notion_logo_icon.rs @@ -1,31 +1,32 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct NotionLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn NotionLogoIcon(props: &NotionLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { } diff --git a/packages/icons/yew/src/opacity_icon.rs b/packages/icons/yew/src/opacity_icon.rs index 9bda20d6..788da210 100644 --- a/packages/icons/yew/src/opacity_icon.rs +++ b/packages/icons/yew/src/opacity_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct OpacityIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn OpacityIcon(props: &OpacityIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 1.5C4.5 4.25 3 6.5 3 9C3 11.4853 5.01472 13.5 7.5 13.5C9.98528 13.5 12 11.4853 12 9C12 6.5 10.5 4.25 7.5 1.5ZM11 9C11 7.11203 9.97315 5.27195 7.5 2.87357C5.02686 5.27195 4 7.11203 4 9C4 10.933 5.567 12.5 7.5 12.5C9.433 12.5 11 10.933 11 9Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/open_in_new_window_icon.rs b/packages/icons/yew/src/open_in_new_window_icon.rs index 0c3033db..03583078 100644 --- a/packages/icons/yew/src/open_in_new_window_icon.rs +++ b/packages/icons/yew/src/open_in_new_window_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct OpenInNewWindowIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn OpenInNewWindowIcon(props: &OpenInNewWindowIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12 13C12.5523 13 13 12.5523 13 12V3C13 2.44771 12.5523 2 12 2H3C2.44771 2 2 2.44771 2 3V6.5C2 6.77614 2.22386 7 2.5 7C2.77614 7 3 6.77614 3 6.5V3H12V12H8.5C8.22386 12 8 12.2239 8 12.5C8 12.7761 8.22386 13 8.5 13H12ZM9 6.5C9 6.5001 9 6.50021 9 6.50031V6.50035V9.5C9 9.77614 8.77614 10 8.5 10C8.22386 10 8 9.77614 8 9.5V7.70711L2.85355 12.8536C2.65829 13.0488 2.34171 13.0488 2.14645 12.8536C1.95118 12.6583 1.95118 12.3417 2.14645 12.1464L7.29289 7H5.5C5.22386 7 5 6.77614 5 6.5C5 6.22386 5.22386 6 5.5 6H8.5C8.56779 6 8.63244 6.01349 8.69139 6.03794C8.74949 6.06198 8.80398 6.09744 8.85143 6.14433C8.94251 6.23434 8.9992 6.35909 8.99999 6.49708L8.99999 6.49738" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/overline_icon.rs b/packages/icons/yew/src/overline_icon.rs index 24b6e5f2..c68fe127 100644 --- a/packages/icons/yew/src/overline_icon.rs +++ b/packages/icons/yew/src/overline_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct OverlineIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn OverlineIcon(props: &OverlineIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.49985 1.10001C3.27894 1.10001 3.09985 1.27909 3.09985 1.50001C3.09985 1.72092 3.27894 1.90001 3.49985 1.90001H11.4999C11.7208 1.90001 11.8999 1.72092 11.8999 1.50001C11.8999 1.27909 11.7208 1.10001 11.4999 1.10001H3.49985ZM4.99995 4.25001C4.99995 3.97387 4.77609 3.75001 4.49995 3.75001C4.22381 3.75001 3.99995 3.97387 3.99995 4.25001V9.55001C3.99995 11.483 5.56695 13.05 7.49995 13.05C9.43295 13.05 11 11.483 11 9.55001V4.25001C11 3.97387 10.7761 3.75001 10.5 3.75001C10.2238 3.75001 9.99995 3.97387 9.99995 4.25001V9.55001C9.99995 10.9307 8.88066 12.05 7.49995 12.05C6.11924 12.05 4.99995 10.9307 4.99995 9.55001V4.25001Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/padding_icon.rs b/packages/icons/yew/src/padding_icon.rs index 3e73ab42..fc970208 100644 --- a/packages/icons/yew/src/padding_icon.rs +++ b/packages/icons/yew/src/padding_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PaddingIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PaddingIcon(props: &PaddingIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.85714 2H12.1429C12.6162 2 13 2.38376 13 2.85714V12.1429C13 12.6162 12.6162 13 12.1429 13H2.85714C2.38376 13 2 12.6162 2 12.1429V2.85714C2 2.38376 2.38376 2 2.85714 2ZM1 2.85714C1 1.83147 1.83147 1 2.85714 1H12.1429C13.1685 1 14 1.83147 14 2.85714V12.1429C14 13.1685 13.1685 14 12.1429 14H2.85714C1.83147 14 1 13.1685 1 12.1429V2.85714ZM7.49988 5.00012C7.77602 5.00012 7.99988 4.77626 7.99988 4.50012C7.99988 4.22398 7.77602 4.00012 7.49988 4.00012C7.22374 4.00012 6.99988 4.22398 6.99988 4.50012C6.99988 4.77626 7.22374 5.00012 7.49988 5.00012ZM4.49988 11.0001C4.77602 11.0001 4.99988 10.7763 4.99988 10.5001C4.99988 10.224 4.77602 10.0001 4.49988 10.0001C4.22374 10.0001 3.99988 10.224 3.99988 10.5001C3.99988 10.7763 4.22374 11.0001 4.49988 11.0001ZM4.99988 7.50012C4.99988 7.77626 4.77602 8.00012 4.49988 8.00012C4.22374 8.00012 3.99988 7.77626 3.99988 7.50012C3.99988 7.22398 4.22374 7.00012 4.49988 7.00012C4.77602 7.00012 4.99988 7.22398 4.99988 7.50012ZM4.49988 5.00012C4.77602 5.00012 4.99988 4.77626 4.99988 4.50012C4.99988 4.22398 4.77602 4.00012 4.49988 4.00012C4.22374 4.00012 3.99988 4.22398 3.99988 4.50012C3.99988 4.77626 4.22374 5.00012 4.49988 5.00012ZM10.9999 10.5001C10.9999 10.7763 10.776 11.0001 10.4999 11.0001C10.2237 11.0001 9.99988 10.7763 9.99988 10.5001C9.99988 10.224 10.2237 10.0001 10.4999 10.0001C10.776 10.0001 10.9999 10.224 10.9999 10.5001ZM10.4999 8.00012C10.776 8.00012 10.9999 7.77626 10.9999 7.50012C10.9999 7.22398 10.776 7.00012 10.4999 7.00012C10.2237 7.00012 9.99988 7.22398 9.99988 7.50012C9.99988 7.77626 10.2237 8.00012 10.4999 8.00012ZM10.9999 4.50012C10.9999 4.77626 10.776 5.00012 10.4999 5.00012C10.2237 5.00012 9.99988 4.77626 9.99988 4.50012C9.99988 4.22398 10.2237 4.00012 10.4999 4.00012C10.776 4.00012 10.9999 4.22398 10.9999 4.50012ZM7.49988 11.0001C7.77602 11.0001 7.99988 10.7763 7.99988 10.5001C7.99988 10.224 7.77602 10.0001 7.49988 10.0001C7.22374 10.0001 6.99988 10.224 6.99988 10.5001C6.99988 10.7763 7.22374 11.0001 7.49988 11.0001Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/paper_plane_icon.rs b/packages/icons/yew/src/paper_plane_icon.rs index c68647cf..acb60261 100644 --- a/packages/icons/yew/src/paper_plane_icon.rs +++ b/packages/icons/yew/src/paper_plane_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PaperPlaneIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PaperPlaneIcon(props: &PaperPlaneIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.20308 1.04312C1.00481 0.954998 0.772341 1.0048 0.627577 1.16641C0.482813 1.32802 0.458794 1.56455 0.568117 1.75196L3.92115 7.50002L0.568117 13.2481C0.458794 13.4355 0.482813 13.672 0.627577 13.8336C0.772341 13.9952 1.00481 14.045 1.20308 13.9569L14.7031 7.95693C14.8836 7.87668 15 7.69762 15 7.50002C15 7.30243 14.8836 7.12337 14.7031 7.04312L1.20308 1.04312ZM4.84553 7.10002L2.21234 2.586L13.2689 7.50002L2.21234 12.414L4.84552 7.90002H9C9.22092 7.90002 9.4 7.72094 9.4 7.50002C9.4 7.27911 9.22092 7.10002 9 7.10002H4.84553Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pause_icon.rs b/packages/icons/yew/src/pause_icon.rs index f42bea8d..3a10fb10 100644 --- a/packages/icons/yew/src/pause_icon.rs +++ b/packages/icons/yew/src/pause_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PauseIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PauseIcon(props: &PauseIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.04995 2.74998C6.04995 2.44623 5.80371 2.19998 5.49995 2.19998C5.19619 2.19998 4.94995 2.44623 4.94995 2.74998V12.25C4.94995 12.5537 5.19619 12.8 5.49995 12.8C5.80371 12.8 6.04995 12.5537 6.04995 12.25V2.74998ZM10.05 2.74998C10.05 2.44623 9.80371 2.19998 9.49995 2.19998C9.19619 2.19998 8.94995 2.44623 8.94995 2.74998V12.25C8.94995 12.5537 9.19619 12.8 9.49995 12.8C9.80371 12.8 10.05 12.5537 10.05 12.25V2.74998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pencil_1_icon.rs b/packages/icons/yew/src/pencil_1_icon.rs index c3fff085..2f407d1c 100644 --- a/packages/icons/yew/src/pencil_1_icon.rs +++ b/packages/icons/yew/src/pencil_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Pencil1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Pencil1Icon(props: &Pencil1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.8536 1.14645C11.6583 0.951184 11.3417 0.951184 11.1465 1.14645L3.71455 8.57836C3.62459 8.66832 3.55263 8.77461 3.50251 8.89155L2.04044 12.303C1.9599 12.491 2.00189 12.709 2.14646 12.8536C2.29103 12.9981 2.50905 13.0401 2.69697 12.9596L6.10847 11.4975C6.2254 11.4474 6.3317 11.3754 6.42166 11.2855L13.8536 3.85355C14.0488 3.65829 14.0488 3.34171 13.8536 3.14645L11.8536 1.14645ZM4.42166 9.28547L11.5 2.20711L12.7929 3.5L5.71455 10.5784L4.21924 11.2192L3.78081 10.7808L4.42166 9.28547Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pencil_2_icon.rs b/packages/icons/yew/src/pencil_2_icon.rs index 2c96419e..ab6a1c7f 100644 --- a/packages/icons/yew/src/pencil_2_icon.rs +++ b/packages/icons/yew/src/pencil_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Pencil2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Pencil2Icon(props: &Pencil2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.1464 1.14645C12.3417 0.951184 12.6583 0.951184 12.8535 1.14645L14.8535 3.14645C15.0488 3.34171 15.0488 3.65829 14.8535 3.85355L10.9109 7.79618C10.8349 7.87218 10.7471 7.93543 10.651 7.9835L6.72359 9.94721C6.53109 10.0435 6.29861 10.0057 6.14643 9.85355C5.99425 9.70137 5.95652 9.46889 6.05277 9.27639L8.01648 5.34897C8.06455 5.25283 8.1278 5.16507 8.2038 5.08907L12.1464 1.14645ZM12.5 2.20711L8.91091 5.79618L7.87266 7.87267L8.12731 8.12732L10.2038 7.08907L13.7929 3.5L12.5 2.20711ZM9.99998 2L8.99998 3H4.9C4.47171 3 4.18056 3.00039 3.95552 3.01877C3.73631 3.03668 3.62421 3.06915 3.54601 3.10899C3.35785 3.20487 3.20487 3.35785 3.10899 3.54601C3.06915 3.62421 3.03669 3.73631 3.01878 3.95552C3.00039 4.18056 3 4.47171 3 4.9V11.1C3 11.5283 3.00039 11.8194 3.01878 12.0445C3.03669 12.2637 3.06915 12.3758 3.10899 12.454C3.20487 12.6422 3.35785 12.7951 3.54601 12.891C3.62421 12.9309 3.73631 12.9633 3.95552 12.9812C4.18056 12.9996 4.47171 13 4.9 13H11.1C11.5283 13 11.8194 12.9996 12.0445 12.9812C12.2637 12.9633 12.3758 12.9309 12.454 12.891C12.6422 12.7951 12.7951 12.6422 12.891 12.454C12.9309 12.3758 12.9633 12.2637 12.9812 12.0445C12.9996 11.8194 13 11.5283 13 11.1V6.99998L14 5.99998V11.1V11.1207C14 11.5231 14 11.8553 13.9779 12.1259C13.9549 12.407 13.9057 12.6653 13.782 12.908C13.5903 13.2843 13.2843 13.5903 12.908 13.782C12.6653 13.9057 12.407 13.9549 12.1259 13.9779C11.8553 14 11.5231 14 11.1207 14H11.1H4.9H4.87934C4.47686 14 4.14468 14 3.87409 13.9779C3.59304 13.9549 3.33469 13.9057 3.09202 13.782C2.7157 13.5903 2.40973 13.2843 2.21799 12.908C2.09434 12.6653 2.04506 12.407 2.0221 12.1259C1.99999 11.8553 1.99999 11.5231 2 11.1207V11.1206V11.1V4.9V4.87935V4.87932V4.87931C1.99999 4.47685 1.99999 4.14468 2.0221 3.87409C2.04506 3.59304 2.09434 3.33469 2.21799 3.09202C2.40973 2.71569 2.7157 2.40973 3.09202 2.21799C3.33469 2.09434 3.59304 2.04506 3.87409 2.0221C4.14468 1.99999 4.47685 1.99999 4.87932 2H4.87935H4.9H9.99998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/person_icon.rs b/packages/icons/yew/src/person_icon.rs index 127198af..7b9fbc30 100644 --- a/packages/icons/yew/src/person_icon.rs +++ b/packages/icons/yew/src/person_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PersonIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PersonIcon(props: &PersonIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 0.875C5.49797 0.875 3.875 2.49797 3.875 4.5C3.875 6.15288 4.98124 7.54738 6.49373 7.98351C5.2997 8.12901 4.27557 8.55134 3.50407 9.31167C2.52216 10.2794 2.02502 11.72 2.02502 13.5999C2.02502 13.8623 2.23769 14.0749 2.50002 14.0749C2.76236 14.0749 2.97502 13.8623 2.97502 13.5999C2.97502 11.8799 3.42786 10.7206 4.17091 9.9883C4.91536 9.25463 6.02674 8.87499 7.49995 8.87499C8.97317 8.87499 10.0846 9.25463 10.8291 9.98831C11.5721 10.7206 12.025 11.8799 12.025 13.5999C12.025 13.8623 12.2376 14.0749 12.5 14.0749C12.7623 14.075 12.975 13.8623 12.975 13.6C12.975 11.72 12.4778 10.2794 11.4959 9.31166C10.7244 8.55135 9.70025 8.12903 8.50625 7.98352C10.0187 7.5474 11.125 6.15289 11.125 4.5C11.125 2.49797 9.50203 0.875 7.5 0.875ZM4.825 4.5C4.825 3.02264 6.02264 1.825 7.5 1.825C8.97736 1.825 10.175 3.02264 10.175 4.5C10.175 5.97736 8.97736 7.175 7.5 7.175C6.02264 7.175 4.825 5.97736 4.825 4.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pie_chart_icon.rs b/packages/icons/yew/src/pie_chart_icon.rs index cf4a8134..f4a81299 100644 --- a/packages/icons/yew/src/pie_chart_icon.rs +++ b/packages/icons/yew/src/pie_chart_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PieChartIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PieChartIcon(props: &PieChartIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.85001 7.50043C1.85001 4.37975 4.37963 1.85001 7.50001 1.85001C10.6204 1.85001 13.15 4.37975 13.15 7.50043C13.15 10.6211 10.6204 13.1509 7.50001 13.1509C4.37963 13.1509 1.85001 10.6211 1.85001 7.50043ZM7.50001 0.850006C3.82728 0.850006 0.850006 3.82753 0.850006 7.50043C0.850006 11.1733 3.82728 14.1509 7.50001 14.1509C11.1727 14.1509 14.15 11.1733 14.15 7.50043C14.15 3.82753 11.1727 0.850006 7.50001 0.850006ZM7.00001 8.00001V3.12811C7.16411 3.10954 7.33094 3.10001 7.50001 3.10001C9.93006 3.10001 11.9 5.07014 11.9 7.50043C11.9 7.66935 11.8905 7.83604 11.872 8.00001H7.00001Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pilcrow_icon.rs b/packages/icons/yew/src/pilcrow_icon.rs index 0433698e..0ebd69f7 100644 --- a/packages/icons/yew/src/pilcrow_icon.rs +++ b/packages/icons/yew/src/pilcrow_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PilcrowIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PilcrowIcon(props: &PilcrowIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3 5.5C3 7.983 4.99169 9 7 9V12.5C7 12.7761 7.22386 13 7.5 13C7.77614 13 8 12.7761 8 12.5V9V3.1H9V12.5C9 12.7761 9.22386 13 9.5 13C9.77614 13 10 12.7761 10 12.5V3.1H11.5C11.8038 3.1 12.05 2.85376 12.05 2.55C12.05 2.24624 11.8038 2 11.5 2H9.5H8H7.5H7C4.99169 2 3 3.017 3 5.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pin_bottom_icon.rs b/packages/icons/yew/src/pin_bottom_icon.rs index 3626460b..095cb15a 100644 --- a/packages/icons/yew/src/pin_bottom_icon.rs +++ b/packages/icons/yew/src/pin_bottom_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PinBottomIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PinBottomIcon(props: &PinBottomIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.5 13.95C13.7485 13.95 13.95 13.7485 13.95 13.5C13.95 13.2514 13.7485 13.05 13.5 13.05L1.49995 13.05C1.25142 13.05 1.04995 13.2514 1.04995 13.5C1.04995 13.7485 1.25142 13.95 1.49995 13.95L13.5 13.95ZM11.0681 7.5683C11.2439 7.39257 11.2439 7.10764 11.0681 6.93191C10.8924 6.75617 10.6075 6.75617 10.4317 6.93191L7.94993 9.41371L7.94993 1.49998C7.94993 1.25146 7.74846 1.04998 7.49993 1.04998C7.2514 1.04998 7.04993 1.25146 7.04993 1.49998L7.04993 9.41371L4.56813 6.93191C4.39239 6.75617 4.10746 6.75617 3.93173 6.93191C3.75599 7.10764 3.75599 7.39257 3.93173 7.5683L7.18173 10.8183C7.35746 10.994 7.64239 10.994 7.81812 10.8183L11.0681 7.5683Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pin_left_icon.rs b/packages/icons/yew/src/pin_left_icon.rs index 7221ff7d..46cc5c8d 100644 --- a/packages/icons/yew/src/pin_left_icon.rs +++ b/packages/icons/yew/src/pin_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PinLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PinLeftIcon(props: &PinLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.05005 13.5C2.05005 13.7485 2.25152 13.95 2.50005 13.95C2.74858 13.95 2.95005 13.7485 2.95005 13.5L2.95005 1.49995C2.95005 1.25142 2.74858 1.04995 2.50005 1.04995C2.25152 1.04995 2.05005 1.25142 2.05005 1.49995L2.05005 13.5ZM8.4317 11.0681C8.60743 11.2439 8.89236 11.2439 9.06809 11.0681C9.24383 10.8924 9.24383 10.6075 9.06809 10.4317L6.58629 7.94993L14.5 7.94993C14.7485 7.94993 14.95 7.74846 14.95 7.49993C14.95 7.2514 14.7485 7.04993 14.5 7.04993L6.58629 7.04993L9.06809 4.56813C9.24383 4.39239 9.24383 4.10746 9.06809 3.93173C8.89236 3.75599 8.60743 3.75599 8.4317 3.93173L5.1817 7.18173C5.00596 7.35746 5.00596 7.64239 5.1817 7.81812L8.4317 11.0681Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pin_right_icon.rs b/packages/icons/yew/src/pin_right_icon.rs index 7b461445..90400aeb 100644 --- a/packages/icons/yew/src/pin_right_icon.rs +++ b/packages/icons/yew/src/pin_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PinRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PinRightIcon(props: &PinRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.95 1.50005C12.95 1.25152 12.7485 1.05005 12.5 1.05005C12.2514 1.05005 12.05 1.25152 12.05 1.50005L12.05 13.5C12.05 13.7486 12.2514 13.95 12.5 13.95C12.7485 13.95 12.95 13.7486 12.95 13.5L12.95 1.50005ZM6.5683 3.93188C6.39257 3.75614 6.10764 3.75614 5.93191 3.93188C5.75617 4.10761 5.75617 4.39254 5.93191 4.56827L8.41371 7.05007L0.499984 7.05007C0.251456 7.05007 0.0499847 7.25155 0.0499847 7.50007C0.0499846 7.7486 0.251457 7.95007 0.499984 7.95007L8.41371 7.95007L5.93191 10.4319C5.75617 10.6076 5.75617 10.8925 5.93191 11.0683C6.10764 11.244 6.39257 11.244 6.56831 11.0683L9.8183 7.81827C9.99404 7.64254 9.99404 7.35761 9.8183 7.18188L6.5683 3.93188Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/pin_top_icon.rs b/packages/icons/yew/src/pin_top_icon.rs index 0733d7d0..0be74970 100644 --- a/packages/icons/yew/src/pin_top_icon.rs +++ b/packages/icons/yew/src/pin_top_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PinTopIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PinTopIcon(props: &PinTopIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.50005 1.05005C1.25152 1.05005 1.05005 1.25152 1.05005 1.50005C1.05005 1.74858 1.25152 1.95005 1.50005 1.95005L13.5 1.95005C13.7486 1.95005 13.95 1.74858 13.95 1.50005C13.95 1.25152 13.7486 1.05005 13.5 1.05005H1.50005ZM3.93188 7.43169C3.75614 7.60743 3.75614 7.89236 3.93188 8.06809C4.10761 8.24383 4.39254 8.24383 4.56827 8.06809L7.05007 5.58629V13.5C7.05007 13.7485 7.25155 13.95 7.50007 13.95C7.7486 13.95 7.95007 13.7485 7.95007 13.5L7.95007 5.58629L10.4319 8.06809C10.6076 8.24383 10.8925 8.24383 11.0683 8.06809C11.244 7.89235 11.244 7.60743 11.0683 7.43169L7.81827 4.18169C7.64254 4.00596 7.35761 4.00596 7.18188 4.18169L3.93188 7.43169Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/play_icon.rs b/packages/icons/yew/src/play_icon.rs index 3c9f8eea..d068c8b6 100644 --- a/packages/icons/yew/src/play_icon.rs +++ b/packages/icons/yew/src/play_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PlayIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PlayIcon(props: &PlayIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.24182 2.32181C3.3919 2.23132 3.5784 2.22601 3.73338 2.30781L12.7334 7.05781C12.8974 7.14436 13 7.31457 13 7.5C13 7.68543 12.8974 7.85564 12.7334 7.94219L3.73338 12.6922C3.5784 12.774 3.3919 12.7687 3.24182 12.6782C3.09175 12.5877 3 12.4252 3 12.25V2.75C3 2.57476 3.09175 2.4123 3.24182 2.32181ZM4 3.57925V11.4207L11.4288 7.5L4 3.57925Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/plus_circled_icon.rs b/packages/icons/yew/src/plus_circled_icon.rs index ca63d052..ec296248 100644 --- a/packages/icons/yew/src/plus_circled_icon.rs +++ b/packages/icons/yew/src/plus_circled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PlusCircledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PlusCircledIcon(props: &PlusCircledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49991 0.876892C3.84222 0.876892 0.877075 3.84204 0.877075 7.49972C0.877075 11.1574 3.84222 14.1226 7.49991 14.1226C11.1576 14.1226 14.1227 11.1574 14.1227 7.49972C14.1227 3.84204 11.1576 0.876892 7.49991 0.876892ZM1.82707 7.49972C1.82707 4.36671 4.36689 1.82689 7.49991 1.82689C10.6329 1.82689 13.1727 4.36671 13.1727 7.49972C13.1727 10.6327 10.6329 13.1726 7.49991 13.1726C4.36689 13.1726 1.82707 10.6327 1.82707 7.49972ZM7.50003 4C7.77617 4 8.00003 4.22386 8.00003 4.5V7H10.5C10.7762 7 11 7.22386 11 7.5C11 7.77614 10.7762 8 10.5 8H8.00003V10.5C8.00003 10.7761 7.77617 11 7.50003 11C7.22389 11 7.00003 10.7761 7.00003 10.5V8H4.50003C4.22389 8 4.00003 7.77614 4.00003 7.5C4.00003 7.22386 4.22389 7 4.50003 7H7.00003V4.5C7.00003 4.22386 7.22389 4 7.50003 4Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/plus_icon.rs b/packages/icons/yew/src/plus_icon.rs index 5b4544e4..a00ed5b9 100644 --- a/packages/icons/yew/src/plus_icon.rs +++ b/packages/icons/yew/src/plus_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct PlusIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn PlusIcon(props: &PlusIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8 2.75C8 2.47386 7.77614 2.25 7.5 2.25C7.22386 2.25 7 2.47386 7 2.75V7H2.75C2.47386 7 2.25 7.22386 2.25 7.5C2.25 7.77614 2.47386 8 2.75 8H7V12.25C7 12.5261 7.22386 12.75 7.5 12.75C7.77614 12.75 8 12.5261 8 12.25V8H12.25C12.5261 8 12.75 7.77614 12.75 7.5C12.75 7.22386 12.5261 7 12.25 7H8V2.75Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/question_mark_circled_icon.rs b/packages/icons/yew/src/question_mark_circled_icon.rs index 442d09c5..4a620b11 100644 --- a/packages/icons/yew/src/question_mark_circled_icon.rs +++ b/packages/icons/yew/src/question_mark_circled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct QuestionMarkCircledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn QuestionMarkCircledIcon(props: &QuestionMarkCircledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.877075 7.49972C0.877075 3.84204 3.84222 0.876892 7.49991 0.876892C11.1576 0.876892 14.1227 3.84204 14.1227 7.49972C14.1227 11.1574 11.1576 14.1226 7.49991 14.1226C3.84222 14.1226 0.877075 11.1574 0.877075 7.49972ZM7.49991 1.82689C4.36689 1.82689 1.82708 4.36671 1.82708 7.49972C1.82708 10.6327 4.36689 13.1726 7.49991 13.1726C10.6329 13.1726 13.1727 10.6327 13.1727 7.49972C13.1727 4.36671 10.6329 1.82689 7.49991 1.82689ZM8.24993 10.5C8.24993 10.9142 7.91414 11.25 7.49993 11.25C7.08571 11.25 6.74993 10.9142 6.74993 10.5C6.74993 10.0858 7.08571 9.75 7.49993 9.75C7.91414 9.75 8.24993 10.0858 8.24993 10.5ZM6.05003 6.25C6.05003 5.57211 6.63511 4.925 7.50003 4.925C8.36496 4.925 8.95003 5.57211 8.95003 6.25C8.95003 6.74118 8.68002 6.99212 8.21447 7.27494C8.16251 7.30651 8.10258 7.34131 8.03847 7.37854L8.03841 7.37858C7.85521 7.48497 7.63788 7.61119 7.47449 7.73849C7.23214 7.92732 6.95003 8.23198 6.95003 8.7C6.95004 9.00376 7.19628 9.25 7.50004 9.25C7.8024 9.25 8.04778 9.00601 8.05002 8.70417L8.05056 8.7033C8.05924 8.6896 8.08493 8.65735 8.15058 8.6062C8.25207 8.52712 8.36508 8.46163 8.51567 8.37436L8.51571 8.37433C8.59422 8.32883 8.68296 8.27741 8.78559 8.21506C9.32004 7.89038 10.05 7.35382 10.05 6.25C10.05 4.92789 8.93511 3.825 7.50003 3.825C6.06496 3.825 4.95003 4.92789 4.95003 6.25C4.95003 6.55376 5.19628 6.8 5.50003 6.8C5.80379 6.8 6.05003 6.55376 6.05003 6.25Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/question_mark_icon.rs b/packages/icons/yew/src/question_mark_icon.rs index f5216762..e248ee2b 100644 --- a/packages/icons/yew/src/question_mark_icon.rs +++ b/packages/icons/yew/src/question_mark_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct QuestionMarkIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn QuestionMarkIcon(props: &QuestionMarkIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.07505 4.10001C5.07505 2.91103 6.25727 1.92502 7.50005 1.92502C8.74283 1.92502 9.92505 2.91103 9.92505 4.10001C9.92505 5.19861 9.36782 5.71436 8.61854 6.37884L8.58757 6.4063C7.84481 7.06467 6.92505 7.87995 6.92505 9.5C6.92505 9.81757 7.18248 10.075 7.50005 10.075C7.81761 10.075 8.07505 9.81757 8.07505 9.5C8.07505 8.41517 8.62945 7.90623 9.38156 7.23925L9.40238 7.22079C10.1496 6.55829 11.075 5.73775 11.075 4.10001C11.075 2.12757 9.21869 0.775024 7.50005 0.775024C5.7814 0.775024 3.92505 2.12757 3.92505 4.10001C3.92505 4.41758 4.18249 4.67501 4.50005 4.67501C4.81761 4.67501 5.07505 4.41758 5.07505 4.10001ZM7.50005 13.3575C7.9833 13.3575 8.37505 12.9657 8.37505 12.4825C8.37505 11.9992 7.9833 11.6075 7.50005 11.6075C7.0168 11.6075 6.62505 11.9992 6.62505 12.4825C6.62505 12.9657 7.0168 13.3575 7.50005 13.3575Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/quote_icon.rs b/packages/icons/yew/src/quote_icon.rs index f5b37ca7..cbbbb21e 100644 --- a/packages/icons/yew/src/quote_icon.rs +++ b/packages/icons/yew/src/quote_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct QuoteIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn QuoteIcon(props: &QuoteIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M9.42503 3.44136C10.0561 3.23654 10.7837 3.2402 11.3792 3.54623C12.7532 4.25224 13.3477 6.07191 12.7946 8C12.5465 8.8649 12.1102 9.70472 11.1861 10.5524C10.262 11.4 8.98034 11.9 8.38571 11.9C8.17269 11.9 8 11.7321 8 11.525C8 11.3179 8.17644 11.15 8.38571 11.15C9.06497 11.15 9.67189 10.7804 10.3906 10.236C10.9406 9.8193 11.3701 9.28633 11.608 8.82191C12.0628 7.93367 12.0782 6.68174 11.3433 6.34901C10.9904 6.73455 10.5295 6.95946 9.97725 6.95946C8.7773 6.95946 8.0701 5.99412 8.10051 5.12009C8.12957 4.28474 8.66032 3.68954 9.42503 3.44136ZM3.42503 3.44136C4.05614 3.23654 4.78366 3.2402 5.37923 3.54623C6.7532 4.25224 7.34766 6.07191 6.79462 8C6.54654 8.8649 6.11019 9.70472 5.1861 10.5524C4.26201 11.4 2.98034 11.9 2.38571 11.9C2.17269 11.9 2 11.7321 2 11.525C2 11.3179 2.17644 11.15 2.38571 11.15C3.06497 11.15 3.67189 10.7804 4.39058 10.236C4.94065 9.8193 5.37014 9.28633 5.60797 8.82191C6.06282 7.93367 6.07821 6.68174 5.3433 6.34901C4.99037 6.73455 4.52948 6.95946 3.97725 6.95946C2.7773 6.95946 2.0701 5.99412 2.10051 5.12009C2.12957 4.28474 2.66032 3.68954 3.42503 3.44136Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/radiobutton_icon.rs b/packages/icons/yew/src/radiobutton_icon.rs index 9b612d2a..89d4916d 100644 --- a/packages/icons/yew/src/radiobutton_icon.rs +++ b/packages/icons/yew/src/radiobutton_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct RadiobuttonIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn RadiobuttonIcon(props: &RadiobuttonIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49985 0.877045C3.84216 0.877045 0.877014 3.84219 0.877014 7.49988C0.877014 11.1575 3.84216 14.1227 7.49985 14.1227C11.1575 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 3.84219 11.1575 0.877045 7.49985 0.877045ZM1.82701 7.49988C1.82701 4.36686 4.36683 1.82704 7.49985 1.82704C10.6328 1.82704 13.1727 4.36686 13.1727 7.49988C13.1727 10.6329 10.6328 13.1727 7.49985 13.1727C4.36683 13.1727 1.82701 10.6329 1.82701 7.49988ZM7.49999 9.49999C8.60456 9.49999 9.49999 8.60456 9.49999 7.49999C9.49999 6.39542 8.60456 5.49999 7.49999 5.49999C6.39542 5.49999 5.49999 6.39542 5.49999 7.49999C5.49999 8.60456 6.39542 9.49999 7.49999 9.49999Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/reader_icon.rs b/packages/icons/yew/src/reader_icon.rs index 6b7a57f6..55364b76 100644 --- a/packages/icons/yew/src/reader_icon.rs +++ b/packages/icons/yew/src/reader_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ReaderIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ReaderIcon(props: &ReaderIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.2 1H4.17741H4.1774C3.86936 0.999988 3.60368 0.999978 3.38609 1.02067C3.15576 1.04257 2.92825 1.09113 2.71625 1.22104C2.51442 1.34472 2.34473 1.51442 2.22104 1.71625C2.09113 1.92825 2.04257 2.15576 2.02067 2.38609C1.99998 2.60367 1.99999 2.86935 2 3.17738V3.1774V3.2V11.8V11.8226V11.8226C1.99999 12.1307 1.99998 12.3963 2.02067 12.6139C2.04257 12.8442 2.09113 13.0717 2.22104 13.2837C2.34473 13.4856 2.51442 13.6553 2.71625 13.779C2.92825 13.9089 3.15576 13.9574 3.38609 13.9793C3.60368 14 3.86937 14 4.17741 14H4.2H10.8H10.8226C11.1306 14 11.3963 14 11.6139 13.9793C11.8442 13.9574 12.0717 13.9089 12.2837 13.779C12.4856 13.6553 12.6553 13.4856 12.779 13.2837C12.9089 13.0717 12.9574 12.8442 12.9793 12.6139C13 12.3963 13 12.1306 13 11.8226V11.8V3.2V3.17741C13 2.86936 13 2.60368 12.9793 2.38609C12.9574 2.15576 12.9089 1.92825 12.779 1.71625C12.6553 1.51442 12.4856 1.34472 12.2837 1.22104C12.0717 1.09113 11.8442 1.04257 11.6139 1.02067C11.3963 0.999978 11.1306 0.999988 10.8226 1H10.8H4.2ZM3.23875 2.07368C3.26722 2.05623 3.32362 2.03112 3.48075 2.01618C3.64532 2.00053 3.86298 2 4.2 2H10.8C11.137 2 11.3547 2.00053 11.5193 2.01618C11.6764 2.03112 11.7328 2.05623 11.7613 2.07368C11.8285 2.11491 11.8851 2.17147 11.9263 2.23875C11.9438 2.26722 11.9689 2.32362 11.9838 2.48075C11.9995 2.64532 12 2.86298 12 3.2V11.8C12 12.137 11.9995 12.3547 11.9838 12.5193C11.9689 12.6764 11.9438 12.7328 11.9263 12.7613C11.8851 12.8285 11.8285 12.8851 11.7613 12.9263C11.7328 12.9438 11.6764 12.9689 11.5193 12.9838C11.3547 12.9995 11.137 13 10.8 13H4.2C3.86298 13 3.64532 12.9995 3.48075 12.9838C3.32362 12.9689 3.26722 12.9438 3.23875 12.9263C3.17147 12.8851 3.11491 12.8285 3.07368 12.7613C3.05624 12.7328 3.03112 12.6764 3.01618 12.5193C3.00053 12.3547 3 12.137 3 11.8V3.2C3 2.86298 3.00053 2.64532 3.01618 2.48075C3.03112 2.32362 3.05624 2.26722 3.07368 2.23875C3.11491 2.17147 3.17147 2.11491 3.23875 2.07368ZM5 10C4.72386 10 4.5 10.2239 4.5 10.5C4.5 10.7761 4.72386 11 5 11H8C8.27614 11 8.5 10.7761 8.5 10.5C8.5 10.2239 8.27614 10 8 10H5ZM4.5 7.5C4.5 7.22386 4.72386 7 5 7H10C10.2761 7 10.5 7.22386 10.5 7.5C10.5 7.77614 10.2761 8 10 8H5C4.72386 8 4.5 7.77614 4.5 7.5ZM5 4C4.72386 4 4.5 4.22386 4.5 4.5C4.5 4.77614 4.72386 5 5 5H10C10.2761 5 10.5 4.77614 10.5 4.5C10.5 4.22386 10.2761 4 10 4H5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/reload_icon.rs b/packages/icons/yew/src/reload_icon.rs index 14cfede2..d052c641 100644 --- a/packages/icons/yew/src/reload_icon.rs +++ b/packages/icons/yew/src/reload_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ReloadIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ReloadIcon(props: &ReloadIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.84998 7.49998C1.84998 4.66458 4.05979 1.84998 7.49998 1.84998C10.2783 1.84998 11.6515 3.9064 12.2367 5H10.5C10.2239 5 10 5.22386 10 5.5C10 5.77614 10.2239 6 10.5 6H13.5C13.7761 6 14 5.77614 14 5.5V2.5C14 2.22386 13.7761 2 13.5 2C13.2239 2 13 2.22386 13 2.5V4.31318C12.2955 3.07126 10.6659 0.849976 7.49998 0.849976C3.43716 0.849976 0.849976 4.18537 0.849976 7.49998C0.849976 10.8146 3.43716 14.15 7.49998 14.15C9.44382 14.15 11.0622 13.3808 12.2145 12.2084C12.8315 11.5806 13.3133 10.839 13.6418 10.0407C13.7469 9.78536 13.6251 9.49315 13.3698 9.38806C13.1144 9.28296 12.8222 9.40478 12.7171 9.66014C12.4363 10.3425 12.0251 10.9745 11.5013 11.5074C10.5295 12.4963 9.16504 13.15 7.49998 13.15C4.05979 13.15 1.84998 10.3354 1.84998 7.49998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/reset_icon.rs b/packages/icons/yew/src/reset_icon.rs index 4f47e127..35093c22 100644 --- a/packages/icons/yew/src/reset_icon.rs +++ b/packages/icons/yew/src/reset_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ResetIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ResetIcon(props: &ResetIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.85355 2.14645C5.04882 2.34171 5.04882 2.65829 4.85355 2.85355L3.70711 4H9C11.4853 4 13.5 6.01472 13.5 8.5C13.5 10.9853 11.4853 13 9 13H5C4.72386 13 4.5 12.7761 4.5 12.5C4.5 12.2239 4.72386 12 5 12H9C10.933 12 12.5 10.433 12.5 8.5C12.5 6.567 10.933 5 9 5H3.70711L4.85355 6.14645C5.04882 6.34171 5.04882 6.65829 4.85355 6.85355C4.65829 7.04882 4.34171 7.04882 4.14645 6.85355L2.14645 4.85355C1.95118 4.65829 1.95118 4.34171 2.14645 4.14645L4.14645 2.14645C4.34171 1.95118 4.65829 1.95118 4.85355 2.14645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/resume_icon.rs b/packages/icons/yew/src/resume_icon.rs index fb3ecb78..731e71ee 100644 --- a/packages/icons/yew/src/resume_icon.rs +++ b/packages/icons/yew/src/resume_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ResumeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ResumeIcon(props: &ResumeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.04995 2.74995C3.04995 2.44619 2.80371 2.19995 2.49995 2.19995C2.19619 2.19995 1.94995 2.44619 1.94995 2.74995V12.25C1.94995 12.5537 2.19619 12.8 2.49995 12.8C2.80371 12.8 3.04995 12.5537 3.04995 12.25V2.74995ZM5.73333 2.30776C5.57835 2.22596 5.39185 2.23127 5.24177 2.32176C5.0917 2.41225 4.99995 2.57471 4.99995 2.74995V12.25C4.99995 12.4252 5.0917 12.5877 5.24177 12.6781C5.39185 12.7686 5.57835 12.7739 5.73333 12.6921L14.7333 7.94214C14.8973 7.85559 15 7.68539 15 7.49995C15 7.31452 14.8973 7.14431 14.7333 7.05776L5.73333 2.30776ZM5.99995 11.4207V3.5792L13.4287 7.49995L5.99995 11.4207Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/rocket_icon.rs b/packages/icons/yew/src/rocket_icon.rs index 01c11e8b..80ba527e 100644 --- a/packages/icons/yew/src/rocket_icon.rs +++ b/packages/icons/yew/src/rocket_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct RocketIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn RocketIcon(props: &RocketIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.85357 3.85355L7.65355 3.05353C8.2981 2.40901 9.42858 1.96172 10.552 1.80125C11.1056 1.72217 11.6291 1.71725 12.0564 1.78124C12.4987 1.84748 12.7698 1.97696 12.8965 2.10357C13.0231 2.23018 13.1526 2.50125 13.2188 2.94357C13.2828 3.37086 13.2779 3.89439 13.1988 4.44801C13.0383 5.57139 12.591 6.70188 11.9464 7.34645L7.49999 11.7929L6.35354 10.6465C6.15827 10.4512 5.84169 10.4512 5.64643 10.6465C5.45117 10.8417 5.45117 11.1583 5.64643 11.3536L7.14644 12.8536C7.34171 13.0488 7.65829 13.0488 7.85355 12.8536L8.40073 12.3064L9.57124 14.2572C9.65046 14.3893 9.78608 14.4774 9.9389 14.4963C10.0917 14.5151 10.2447 14.4624 10.3535 14.3536L12.3535 12.3536C12.4648 12.2423 12.5172 12.0851 12.495 11.9293L12.0303 8.67679L12.6536 8.05355C13.509 7.19808 14.0117 5.82855 14.1887 4.58943C14.2784 3.9618 14.2891 3.33847 14.2078 2.79546C14.1287 2.26748 13.9519 1.74482 13.6035 1.39645C13.2552 1.04809 12.7325 0.871332 12.2045 0.792264C11.6615 0.710945 11.0382 0.721644 10.4105 0.8113C9.17143 0.988306 7.80189 1.491 6.94644 2.34642L6.32322 2.96968L3.07071 2.50504C2.91492 2.48278 2.75773 2.53517 2.64645 2.64646L0.646451 4.64645C0.537579 4.75533 0.484938 4.90829 0.50375 5.0611C0.522563 5.21391 0.61073 5.34954 0.742757 5.42876L2.69364 6.59928L2.14646 7.14645C2.0527 7.24022 2.00002 7.3674 2.00002 7.50001C2.00002 7.63261 2.0527 7.75979 2.14646 7.85356L3.64647 9.35356C3.84173 9.54883 4.15831 9.54883 4.35357 9.35356C4.54884 9.1583 4.54884 8.84172 4.35357 8.64646L3.20712 7.50001L3.85357 6.85356L6.85357 3.85355ZM10.0993 13.1936L9.12959 11.5775L11.1464 9.56067L11.4697 11.8232L10.0993 13.1936ZM3.42251 5.87041L5.43935 3.85356L3.17678 3.53034L1.80638 4.90074L3.42251 5.87041ZM2.35356 10.3535C2.54882 10.1583 2.54882 9.8417 2.35356 9.64644C2.1583 9.45118 1.84171 9.45118 1.64645 9.64644L0.646451 10.6464C0.451188 10.8417 0.451188 11.1583 0.646451 11.3535C0.841713 11.5488 1.1583 11.5488 1.35356 11.3535L2.35356 10.3535ZM3.85358 11.8536C4.04884 11.6583 4.04885 11.3417 3.85359 11.1465C3.65833 10.9512 3.34175 10.9512 3.14648 11.1465L1.14645 13.1464C0.95119 13.3417 0.951187 13.6583 1.14645 13.8535C1.34171 14.0488 1.65829 14.0488 1.85355 13.8536L3.85358 11.8536ZM5.35356 13.3535C5.54882 13.1583 5.54882 12.8417 5.35356 12.6464C5.1583 12.4512 4.84171 12.4512 4.64645 12.6464L3.64645 13.6464C3.45119 13.8417 3.45119 14.1583 3.64645 14.3535C3.84171 14.5488 4.1583 14.5488 4.35356 14.3535L5.35356 13.3535ZM9.49997 6.74881C10.1897 6.74881 10.7488 6.1897 10.7488 5.5C10.7488 4.8103 10.1897 4.25118 9.49997 4.25118C8.81026 4.25118 8.25115 4.8103 8.25115 5.5C8.25115 6.1897 8.81026 6.74881 9.49997 6.74881Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/rotate_counter_clockwise_icon.rs b/packages/icons/yew/src/rotate_counter_clockwise_icon.rs index 99c3c853..1c23a947 100644 --- a/packages/icons/yew/src/rotate_counter_clockwise_icon.rs +++ b/packages/icons/yew/src/rotate_counter_clockwise_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct RotateCounterClockwiseIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn RotateCounterClockwiseIcon(props: &RotateCounterClockwiseIconProps) -> Html { - let node_ref = use_node_ref(); html! { Ht fill-rule="evenodd" clip-rule="evenodd" d="M7.59664 2.93628C7.76085 3.06401 8.00012 2.94698 8.00012 2.73895V1.99998C9.98143 2 11.1848 2.3637 11.9105 3.08945C12.6363 3.81522 13 5.0186 13 6.99998C13 7.27613 13.2239 7.49998 13.5 7.49998C13.7761 7.49998 14 7.27613 14 6.99998C14 4.9438 13.6325 3.39719 12.6176 2.38234C11.6028 1.36752 10.0562 0.999999 8.00012 0.999984V0.261266C8.00012 0.0532293 7.76085 -0.0637944 7.59664 0.063928L6.00384 1.30277C5.87516 1.40286 5.87516 1.59735 6.00384 1.69744L7.59664 2.93628ZM9.5 5H2.5C2.22386 5 2 5.22386 2 5.5V12.5C2 12.7761 2.22386 13 2.5 13H9.5C9.77614 13 10 12.7761 10 12.5V5.5C10 5.22386 9.77614 5 9.5 5ZM2.5 4C1.67157 4 1 4.67157 1 5.5V12.5C1 13.3284 1.67157 14 2.5 14H9.5C10.3284 14 11 13.3284 11 12.5V5.5C11 4.67157 10.3284 4 9.5 4H2.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/row_spacing_icon.rs b/packages/icons/yew/src/row_spacing_icon.rs index b8936271..004a6c84 100644 --- a/packages/icons/yew/src/row_spacing_icon.rs +++ b/packages/icons/yew/src/row_spacing_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct RowSpacingIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn RowSpacingIcon(props: &RowSpacingIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.81832 0.68179C7.64258 0.506054 7.35766 0.506054 7.18192 0.68179L5.18192 2.68179C5.00619 2.85753 5.00619 3.14245 5.18192 3.31819C5.35766 3.49392 5.64258 3.49392 5.81832 3.31819L7.05012 2.08638L7.05012 5.50023C7.05012 5.74876 7.25159 5.95023 7.50012 5.95023C7.74865 5.95023 7.95012 5.74876 7.95012 5.50023L7.95012 2.08638L9.18192 3.31819C9.35766 3.49392 9.64258 3.49392 9.81832 3.31819C9.99406 3.14245 9.99406 2.85753 9.81832 2.68179L7.81832 0.68179ZM7.95012 12.9136V9.50023C7.95012 9.2517 7.74865 9.05023 7.50012 9.05023C7.25159 9.05023 7.05012 9.2517 7.05012 9.50023V12.9136L5.81832 11.6818C5.64258 11.5061 5.35766 11.5061 5.18192 11.6818C5.00619 11.8575 5.00619 12.1424 5.18192 12.3182L7.18192 14.3182C7.26632 14.4026 7.38077 14.45 7.50012 14.45C7.61947 14.45 7.73393 14.4026 7.81832 14.3182L9.81832 12.3182C9.99406 12.1424 9.99406 11.8575 9.81832 11.6818C9.64258 11.5061 9.35766 11.5061 9.18192 11.6818L7.95012 12.9136ZM1.49994 7.00017C1.2238 7.00017 0.999939 7.22403 0.999939 7.50017C0.999939 7.77631 1.2238 8.00017 1.49994 8.00017L13.4999 8.00017C13.7761 8.00017 13.9999 7.77631 13.9999 7.50017C13.9999 7.22403 13.7761 7.00017 13.4999 7.00017L1.49994 7.00017Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/rows_icon.rs b/packages/icons/yew/src/rows_icon.rs index 0a7589ba..f61ba25d 100644 --- a/packages/icons/yew/src/rows_icon.rs +++ b/packages/icons/yew/src/rows_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct RowsIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn RowsIcon(props: &RowsIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M14 12.85L1 12.85L1 14.15L14 14.15L14 12.85ZM14 8.85002L1 8.85002L1 10.15L14 10.15L14 8.85002ZM1 4.85003L14 4.85003L14 6.15003L1 6.15002L1 4.85003ZM14 0.850025L1 0.850025L1 2.15002L14 2.15002L14 0.850025Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/ruler_horizontal_icon.rs b/packages/icons/yew/src/ruler_horizontal_icon.rs index 4587b078..d3dbfb30 100644 --- a/packages/icons/yew/src/ruler_horizontal_icon.rs +++ b/packages/icons/yew/src/ruler_horizontal_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct RulerHorizontalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn RulerHorizontalIcon(props: &RulerHorizontalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.5 4C0.223858 4 0 4.22386 0 4.5V10.5C0 10.7761 0.223858 11 0.5 11H14.5C14.7761 11 15 10.7761 15 10.5V4.5C15 4.22386 14.7761 4 14.5 4H0.5ZM1 10V5H2.075V7.5C2.075 7.73472 2.26528 7.925 2.5 7.925C2.73472 7.925 2.925 7.73472 2.925 7.5V5H4.075V6.5C4.075 6.73472 4.26528 6.925 4.5 6.925C4.73472 6.925 4.925 6.73472 4.925 6.5V5H6.075V6.5C6.075 6.73472 6.26528 6.925 6.5 6.925C6.73472 6.925 6.925 6.73472 6.925 6.5V5H8.075V7.5C8.075 7.73472 8.26528 7.925 8.5 7.925C8.73472 7.925 8.925 7.73472 8.925 7.5V5H10.075V6.5C10.075 6.73472 10.2653 6.925 10.5 6.925C10.7347 6.925 10.925 6.73472 10.925 6.5V5H12.075V6.5C12.075 6.73472 12.2653 6.925 12.5 6.925C12.7347 6.925 12.925 6.73472 12.925 6.5V5H14V10H1Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/ruler_square_icon.rs b/packages/icons/yew/src/ruler_square_icon.rs index cdd922d1..68f65699 100644 --- a/packages/icons/yew/src/ruler_square_icon.rs +++ b/packages/icons/yew/src/ruler_square_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct RulerSquareIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn RulerSquareIcon(props: &RulerSquareIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.5 0C0.223858 0 0 0.223858 0 0.5V14.5C0 14.7761 0.223858 15 0.5 15H4.5C4.77614 15 5 14.7761 5 14.5V5H14.5C14.7761 5 15 4.77614 15 4.5V0.5C15 0.223858 14.7761 0 14.5 0H0.5ZM1 4.07505L1 1H4.07502C4.07502 1 4.07502 1 4.07502 1L4.07505 4.07507L1 4.07505ZM0.999997 4.92505L1 14H4V12.925H2.75002C2.5153 12.925 2.32502 12.7348 2.32502 12.5C2.32502 12.2653 2.5153 12.075 2.75002 12.075H4V10.925H2.25002C2.0153 10.925 1.82502 10.7347 1.82502 10.5C1.82502 10.2653 2.0153 10.075 2.25002 10.075H4V8.92504L2.75002 8.92502C2.5153 8.92502 2.32502 8.73474 2.32502 8.50002C2.32503 8.26529 2.51531 8.07502 2.75003 8.07502L4 8.07504V6.92502L2.74999 6.925C2.51527 6.925 2.325 6.73472 2.325 6.5C2.325 6.26528 2.51529 6.075 2.75001 6.075L4 6.07502V4.92507L0.999997 4.92505ZM4.92505 4H6.075V2.75006C6.075 2.51534 6.26528 2.32506 6.5 2.32506C6.73472 2.32506 6.925 2.51534 6.925 2.75006V4H8.07502V2.75005C8.07502 2.51533 8.2653 2.32505 8.50002 2.32505C8.73474 2.32505 8.92502 2.51533 8.92502 2.75005V4H10.0751V2.25005C10.0751 2.01533 10.2653 1.82505 10.5001 1.82505C10.7348 1.82505 10.9251 2.01533 10.9251 2.25005V4H12.0751V2.75005C12.0751 2.51533 12.2654 2.32505 12.5001 2.32505C12.7348 2.32505 12.9251 2.51533 12.9251 2.75005V4H14V1H4.92502L4.92505 4Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/scissors_icon.rs b/packages/icons/yew/src/scissors_icon.rs index 71f63b97..1b6ea608 100644 --- a/packages/icons/yew/src/scissors_icon.rs +++ b/packages/icons/yew/src/scissors_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ScissorsIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ScissorsIcon(props: &ScissorsIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.949988 4.48455C0.949988 5.34059 1.64395 6.03455 2.49999 6.03455C3.35603 6.03455 4.04999 5.34059 4.04999 4.48455C4.04999 3.6285 3.35603 2.93455 2.49999 2.93455C1.64395 2.93455 0.949988 3.6285 0.949988 4.48455ZM2.49999 6.93455C1.14689 6.93455 0.0499878 5.83764 0.0499878 4.48455C0.0499878 3.13145 1.14689 2.03455 2.49999 2.03455C3.85309 2.03455 4.94999 3.13145 4.94999 4.48455C4.94999 4.80813 4.88726 5.11707 4.77329 5.39985L5.73655 6.04413C5.72943 6.06656 5.72269 6.08914 5.71635 6.11188L5.56288 6.66186L5.21005 6.89773L4.21554 6.23366C3.77357 6.6672 3.168 6.93455 2.49999 6.93455ZM0.949991 10.5C0.949991 9.64394 1.64395 8.94998 2.49999 8.94998C3.35603 8.94998 4.04999 9.64394 4.04999 10.5C4.04999 11.356 3.35603 12.05 2.49999 12.05C1.64395 12.05 0.949991 11.356 0.949991 10.5ZM2.49999 8.04998C1.14689 8.04998 0.0499908 9.14688 0.0499908 10.5C0.0499908 11.8531 1.14689 12.95 2.49999 12.95C3.85309 12.95 4.94999 11.8531 4.94999 10.5C4.94999 10.1803 4.88877 9.87497 4.77743 9.595L15 2.75737L14.0486 2.85737C12.7077 2.9983 11.4091 3.40895 10.231 4.06461L7.15646 5.77564C6.92307 5.90553 6.75134 6.12339 6.67955 6.38066L6.42653 7.28737L4.22437 8.75957C3.78166 8.32091 3.17246 8.04998 2.49999 8.04998ZM7.14435 9.2149L7.15646 9.22176L10.231 10.9328C11.4091 11.5884 12.7077 11.9991 14.0486 12.14L15 12.24L8.81072 8.1003L7.14435 9.2149Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/section_icon.rs b/packages/icons/yew/src/section_icon.rs index 763b6995..a6f66c06 100644 --- a/packages/icons/yew/src/section_icon.rs +++ b/packages/icons/yew/src/section_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SectionIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SectionIcon(props: &SectionIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 1.5C2 1.77614 1.77614 2 1.5 2C1.22386 2 1 1.77614 1 1.5C1 1.22386 1.22386 1 1.5 1C1.77614 1 2 1.22386 2 1.5ZM2 5L2 10H13V5H2ZM2 4C1.44772 4 1 4.44772 1 5V10C1 10.5523 1.44772 11 2 11H13C13.5523 11 14 10.5523 14 10V5C14 4.44772 13.5523 4 13 4H2ZM1.5 14C1.77614 14 2 13.7761 2 13.5C2 13.2239 1.77614 13 1.5 13C1.22386 13 1 13.2239 1 13.5C1 13.7761 1.22386 14 1.5 14ZM4 1.5C4 1.77614 3.77614 2 3.5 2C3.22386 2 3 1.77614 3 1.5C3 1.22386 3.22386 1 3.5 1C3.77614 1 4 1.22386 4 1.5ZM3.5 14C3.77614 14 4 13.7761 4 13.5C4 13.2239 3.77614 13 3.5 13C3.22386 13 3 13.2239 3 13.5C3 13.7761 3.22386 14 3.5 14ZM6 1.5C6 1.77614 5.77614 2 5.5 2C5.22386 2 5 1.77614 5 1.5C5 1.22386 5.22386 1 5.5 1C5.77614 1 6 1.22386 6 1.5ZM5.5 14C5.77614 14 6 13.7761 6 13.5C6 13.2239 5.77614 13 5.5 13C5.22386 13 5 13.2239 5 13.5C5 13.7761 5.22386 14 5.5 14ZM8 1.5C8 1.77614 7.77614 2 7.5 2C7.22386 2 7 1.77614 7 1.5C7 1.22386 7.22386 1 7.5 1C7.77614 1 8 1.22386 8 1.5ZM7.5 14C7.77614 14 8 13.7761 8 13.5C8 13.2239 7.77614 13 7.5 13C7.22386 13 7 13.2239 7 13.5C7 13.7761 7.22386 14 7.5 14ZM10 1.5C10 1.77614 9.77614 2 9.5 2C9.22386 2 9 1.77614 9 1.5C9 1.22386 9.22386 1 9.5 1C9.77614 1 10 1.22386 10 1.5ZM9.5 14C9.77614 14 10 13.7761 10 13.5C10 13.2239 9.77614 13 9.5 13C9.22386 13 9 13.2239 9 13.5C9 13.7761 9.22386 14 9.5 14ZM12 1.5C12 1.77614 11.7761 2 11.5 2C11.2239 2 11 1.77614 11 1.5C11 1.22386 11.2239 1 11.5 1C11.7761 1 12 1.22386 12 1.5ZM11.5 14C11.7761 14 12 13.7761 12 13.5C12 13.2239 11.7761 13 11.5 13C11.2239 13 11 13.2239 11 13.5C11 13.7761 11.2239 14 11.5 14ZM14 1.5C14 1.77614 13.7761 2 13.5 2C13.2239 2 13 1.77614 13 1.5C13 1.22386 13.2239 1 13.5 1C13.7761 1 14 1.22386 14 1.5ZM13.5 14C13.7761 14 14 13.7761 14 13.5C14 13.2239 13.7761 13 13.5 13C13.2239 13 13 13.2239 13 13.5C13 13.7761 13.2239 14 13.5 14Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/sewing_pin_filled_icon.rs b/packages/icons/yew/src/sewing_pin_filled_icon.rs index 662c31f1..61ce22dd 100644 --- a/packages/icons/yew/src/sewing_pin_filled_icon.rs +++ b/packages/icons/yew/src/sewing_pin_filled_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SewingPinFilledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SewingPinFilledIcon(props: &SewingPinFilledIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M10 3.5C10 4.70948 9.14112 5.71836 8 5.94999V13.5C8 13.7761 7.77614 14 7.5 14C7.22386 14 7 13.7761 7 13.5V5.94999C5.85888 5.71836 5 4.70948 5 3.5C5 2.11929 6.11929 1 7.5 1C8.88071 1 10 2.11929 10 3.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/sewing_pin_icon.rs b/packages/icons/yew/src/sewing_pin_icon.rs index dcb8d743..597bfee4 100644 --- a/packages/icons/yew/src/sewing_pin_icon.rs +++ b/packages/icons/yew/src/sewing_pin_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SewingPinIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SewingPinIcon(props: &SewingPinIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6 3.5C6 2.67157 6.67157 2 7.5 2C8.32843 2 9 2.67157 9 3.5C9 4.32843 8.32843 5 7.5 5C6.67157 5 6 4.32843 6 3.5ZM8 5.94999C9.14112 5.71836 10 4.70948 10 3.5C10 2.11929 8.88071 1 7.5 1C6.11929 1 5 2.11929 5 3.5C5 4.70948 5.85888 5.71836 7 5.94999V13.5C7 13.7761 7.22386 14 7.5 14C7.77614 14 8 13.7761 8 13.5V5.94999Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/shadow_icon.rs b/packages/icons/yew/src/shadow_icon.rs index 16b5bdb8..1777e5fd 100644 --- a/packages/icons/yew/src/shadow_icon.rs +++ b/packages/icons/yew/src/shadow_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ShadowIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ShadowIcon(props: &ShadowIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.78296 13.376C8.73904 9.95284 8.73904 5.04719 6.78296 1.62405L7.21708 1.37598C9.261 4.95283 9.261 10.0472 7.21708 13.624L6.78296 13.376Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/shadow_inner_icon.rs b/packages/icons/yew/src/shadow_inner_icon.rs index bec9a563..7bce178f 100644 --- a/packages/icons/yew/src/shadow_inner_icon.rs +++ b/packages/icons/yew/src/shadow_inner_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ShadowInnerIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ShadowInnerIcon(props: &ShadowInnerIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.1619 3.85182C8.35817 4.88918 4.88936 8.358 3.85199 12.1617L3.3696 12.0301C4.45356 8.05564 8.05581 4.45339 12.0303 3.36943L12.1619 3.85182Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/shadow_none_icon.rs b/packages/icons/yew/src/shadow_none_icon.rs index a52419f7..904c12dd 100644 --- a/packages/icons/yew/src/shadow_none_icon.rs +++ b/packages/icons/yew/src/shadow_none_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ShadowNoneIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ShadowNoneIcon(props: &ShadowNoneIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.78296 13.376C8.73904 9.95284 8.73904 5.04719 6.78296 1.62405L7.21708 1.37598C9.261 4.95283 9.261 10.0472 7.21708 13.624L6.78296 13.376Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/shadow_outer_icon.rs b/packages/icons/yew/src/shadow_outer_icon.rs index a733c362..6c308a79 100644 --- a/packages/icons/yew/src/shadow_outer_icon.rs +++ b/packages/icons/yew/src/shadow_outer_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ShadowOuterIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ShadowOuterIcon(props: &ShadowOuterIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.1398 3.88617C13.8553 4.94159 15 6.83701 15 9.00001C15 12.3137 12.3137 15 9.00002 15C6.84351 15 4.95296 13.8621 3.89569 12.1552L4.32076 11.8919C5.29069 13.4578 7.02376 14.5 9.00002 14.5C12.0376 14.5 14.5 12.0375 14.5 9.00001C14.5 7.01781 13.4516 5.28027 11.8778 4.31203L12.1398 3.88617Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/share_1_icon.rs b/packages/icons/yew/src/share_1_icon.rs index f1460cf5..61a8f213 100644 --- a/packages/icons/yew/src/share_1_icon.rs +++ b/packages/icons/yew/src/share_1_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Share1IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Share1Icon(props: &Share1IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5 7.50003C5 8.32845 4.32843 9.00003 3.5 9.00003C2.67157 9.00003 2 8.32845 2 7.50003C2 6.6716 2.67157 6.00003 3.5 6.00003C4.32843 6.00003 5 6.6716 5 7.50003ZM5.71313 8.66388C5.29445 9.45838 4.46048 10 3.5 10C2.11929 10 1 8.88074 1 7.50003C1 6.11931 2.11929 5.00003 3.5 5.00003C4.46048 5.00003 5.29445 5.54167 5.71313 6.33616L9.10424 4.21671C9.03643 3.98968 9 3.74911 9 3.50003C9 2.11932 10.1193 1.00003 11.5 1.00003C12.8807 1.00003 14 2.11932 14 3.50003C14 4.88074 12.8807 6.00003 11.5 6.00003C10.6915 6.00003 9.97264 5.61624 9.51566 5.0209L5.9853 7.22738C5.99502 7.31692 6 7.40789 6 7.50003C6 7.59216 5.99502 7.68312 5.9853 7.77267L9.51567 9.97915C9.97265 9.38382 10.6915 9.00003 11.5 9.00003C12.8807 9.00003 14 10.1193 14 11.5C14 12.8807 12.8807 14 11.5 14C10.1193 14 9 12.8807 9 11.5C9 11.2509 9.03643 11.0104 9.10425 10.7833L5.71313 8.66388ZM11.5 5.00003C12.3284 5.00003 13 4.32846 13 3.50003C13 2.6716 12.3284 2.00003 11.5 2.00003C10.6716 2.00003 10 2.6716 10 3.50003C10 4.32846 10.6716 5.00003 11.5 5.00003ZM13 11.5C13 12.3285 12.3284 13 11.5 13C10.6716 13 10 12.3285 10 11.5C10 10.6716 10.6716 10 11.5 10C12.3284 10 13 10.6716 13 11.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/share_2_icon.rs b/packages/icons/yew/src/share_2_icon.rs index ef8dc9cf..6bf989a4 100644 --- a/packages/icons/yew/src/share_2_icon.rs +++ b/packages/icons/yew/src/share_2_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct Share2IconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn Share2Icon(props: &Share2IconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.5 5.00006C3.22386 5.00006 3 5.22392 3 5.50006L3 11.5001C3 11.7762 3.22386 12.0001 3.5 12.0001L11.5 12.0001C11.7761 12.0001 12 11.7762 12 11.5001L12 5.50006C12 5.22392 11.7761 5.00006 11.5 5.00006L10.25 5.00006C9.97386 5.00006 9.75 4.7762 9.75 4.50006C9.75 4.22392 9.97386 4.00006 10.25 4.00006L11.5 4.00006C12.3284 4.00006 13 4.67163 13 5.50006L13 11.5001C13 12.3285 12.3284 13.0001 11.5 13.0001L3.5 13.0001C2.67157 13.0001 2 12.3285 2 11.5001L2 5.50006C2 4.67163 2.67157 4.00006 3.5 4.00006L4.75 4.00006C5.02614 4.00006 5.25 4.22392 5.25 4.50006C5.25 4.7762 5.02614 5.00006 4.75 5.00006L3.5 5.00006ZM7 1.6364L5.5682 3.0682C5.39246 3.24393 5.10754 3.24393 4.9318 3.0682C4.75607 2.89246 4.75607 2.60754 4.9318 2.4318L7.1818 0.181802C7.26619 0.09741 7.38065 0.049999 7.5 0.049999C7.61935 0.049999 7.73381 0.09741 7.8182 0.181802L10.0682 2.4318C10.2439 2.60754 10.2439 2.89246 10.0682 3.0682C9.89246 3.24393 9.60754 3.24393 9.4318 3.0682L8 1.6364L8 8.5C8 8.77614 7.77614 9 7.5 9C7.22386 9 7 8.77614 7 8.5L7 1.6364Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/shuffle_icon.rs b/packages/icons/yew/src/shuffle_icon.rs index 17954cc8..02a95e1e 100644 --- a/packages/icons/yew/src/shuffle_icon.rs +++ b/packages/icons/yew/src/shuffle_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ShuffleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ShuffleIcon(props: &ShuffleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M12.3536 1.14645C12.1583 0.951184 11.8417 0.951184 11.6464 1.14645C11.4512 1.34171 11.4512 1.65829 11.6464 1.85355L12.7929 3H12C10.7037 3 9.71111 3.58423 8.87248 4.38931C8.20065 5.03427 7.59349 5.85684 6.99461 6.6682C6.86287 6.84668 6.73154 7.02462 6.6 7.2C5.10874 9.18835 3.49037 11 0.5 11C0.223858 11 0 11.2239 0 11.5C0 11.7761 0.223858 12 0.5 12C4.00963 12 5.89126 9.81165 7.4 7.8C7.54367 7.60845 7.6832 7.41962 7.81996 7.23454L7.82005 7.23443L7.82006 7.23441C8.41674 6.42695 8.96069 5.69085 9.56502 5.11069C10.2889 4.41577 11.0463 4 12 4H12.7929L11.6464 5.14645C11.4512 5.34171 11.4512 5.65829 11.6464 5.85355C11.8417 6.04882 12.1583 6.04882 12.3536 5.85355L14.3536 3.85355C14.5488 3.65829 14.5488 3.34171 14.3536 3.14645L12.3536 1.14645ZM0.5 3C3.35278 3 5.12992 4.44588 6.50548 6.06746L6.3762 6.24266C6.2483 6.4161 6.12293 6.58609 6 6.75C5.96397 6.79804 5.92798 6.84581 5.892 6.89331C4.57348 5.29306 3.02637 4 0.5 4C0.223858 4 0 3.77614 0 3.5C0 3.22386 0.223858 3 0.5 3ZM8.87248 10.6107C8.37284 10.131 7.90897 9.55314 7.45767 8.95468C7.64688 8.71693 7.82704 8.48061 8 8.25L8.08987 8.12987C8.58412 8.79402 9.05288 9.39766 9.56502 9.88931C10.2889 10.5842 11.0463 11 12 11H12.7929L11.6464 9.85355C11.4512 9.65829 11.4512 9.34171 11.6464 9.14645C11.8417 8.95118 12.1583 8.95118 12.3536 9.14645L14.3536 11.1464C14.5488 11.3417 14.5488 11.6583 14.3536 11.8536L12.3536 13.8536C12.1583 14.0488 11.8417 14.0488 11.6464 13.8536C11.4512 13.6583 11.4512 13.3417 11.6464 13.1464L12.7929 12H12C10.7037 12 9.71111 11.4158 8.87248 10.6107Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/size_icon.rs b/packages/icons/yew/src/size_icon.rs index bee8229c..c98a1827 100644 --- a/packages/icons/yew/src/size_icon.rs +++ b/packages/icons/yew/src/size_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SizeIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SizeIcon(props: &SizeIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M11.5 3.04999C11.7485 3.04999 11.95 3.25146 11.95 3.49999V7.49999C11.95 7.74852 11.7485 7.94999 11.5 7.94999C11.2515 7.94999 11.05 7.74852 11.05 7.49999V4.58639L4.58638 11.05H7.49999C7.74852 11.05 7.94999 11.2515 7.94999 11.5C7.94999 11.7485 7.74852 11.95 7.49999 11.95L3.49999 11.95C3.38064 11.95 3.26618 11.9026 3.18179 11.8182C3.0974 11.7338 3.04999 11.6193 3.04999 11.5L3.04999 7.49999C3.04999 7.25146 3.25146 7.04999 3.49999 7.04999C3.74852 7.04999 3.94999 7.25146 3.94999 7.49999L3.94999 10.4136L10.4136 3.94999L7.49999 3.94999C7.25146 3.94999 7.04999 3.74852 7.04999 3.49999C7.04999 3.25146 7.25146 3.04999 7.49999 3.04999L11.5 3.04999Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/sketch_logo_icon.rs b/packages/icons/yew/src/sketch_logo_icon.rs index 15acc8c6..bdc3aafc 100644 --- a/packages/icons/yew/src/sketch_logo_icon.rs +++ b/packages/icons/yew/src/sketch_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SketchLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SketchLogoIcon(props: &SketchLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.53731 0.826873C7.5125 0.824392 7.4875 0.824392 7.46269 0.826873L3.96269 1.17687C3.85672 1.18747 3.76025 1.24262 3.69736 1.32857L0.699771 5.42528C0.654046 5.48627 0.62647 5.56165 0.625057 5.6434C0.625019 5.6456 0.625 5.64781 0.625 5.65001C0.625 5.65052 0.625001 5.65103 0.625003 5.65153C0.625363 5.74237 0.658021 5.82559 0.712087 5.8903L7.21042 13.7883C7.28165 13.8749 7.38789 13.925 7.5 13.925C7.61211 13.925 7.71835 13.8749 7.78958 13.7883L14.2879 5.89031C14.342 5.8256 14.3746 5.74237 14.375 5.65153C14.375 5.65103 14.375 5.65052 14.375 5.65001C14.375 5.64849 14.375 5.64697 14.375 5.64545C14.3749 5.63963 14.3747 5.63382 14.3744 5.62801C14.37 5.55219 14.3431 5.48242 14.3002 5.42527L11.3026 1.32857C11.2397 1.24262 11.1433 1.18747 11.0373 1.17687L7.53731 0.826873ZM10.925 5.27501V5.25236L10.9223 5.27501H10.925ZM10.9342 5.17498H13.1877L11.2495 2.5261L10.9342 5.17498ZM10.5707 1.88395L8.04432 1.63131L10.1747 5.21034L10.5707 1.88395ZM6.95568 1.63131L4.42931 1.88395L4.82531 5.21034L6.95568 1.63131ZM3.75046 2.5261L1.81226 5.17498H4.0658L3.75046 2.5261ZM1.79416 6.02501L6.75861 12.0587L4.22371 6.0669C4.21787 6.0531 4.21314 6.0391 4.20949 6.02501H1.79416ZM5.15055 6.02501L7.49999 12.1085L9.84943 6.02501H9.78681H5.21319H5.15055ZM10.7905 6.02501C10.7869 6.0391 10.7821 6.0531 10.7763 6.0669L8.24139 12.0587L13.2058 6.02501H10.7905ZM7.5 2.18317L9.34038 5.27501H5.65962L7.5 2.18317Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/slash_icon.rs b/packages/icons/yew/src/slash_icon.rs index bfb1247d..dc47b070 100644 --- a/packages/icons/yew/src/slash_icon.rs +++ b/packages/icons/yew/src/slash_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SlashIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SlashIcon(props: &SlashIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.10876 14L9.46582 1H10.8178L5.46074 14H4.10876Z" - fill={& - props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/slider_icon.rs b/packages/icons/yew/src/slider_icon.rs index 54b2464b..f85d6b4f 100644 --- a/packages/icons/yew/src/slider_icon.rs +++ b/packages/icons/yew/src/slider_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SliderIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SliderIcon(props: &SliderIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M10.3004 7.49991C10.3004 8.4943 9.49426 9.30041 8.49988 9.30041C7.50549 9.30041 6.69938 8.4943 6.69938 7.49991C6.69938 6.50553 7.50549 5.69942 8.49988 5.69942C9.49426 5.69942 10.3004 6.50553 10.3004 7.49991ZM11.205 8C10.9699 9.28029 9.84816 10.2504 8.49988 10.2504C7.1516 10.2504 6.0299 9.28029 5.79473 8H0.5C0.223858 8 0 7.77614 0 7.5C0 7.22386 0.223858 7 0.5 7H5.7947C6.0298 5.71962 7.15154 4.74942 8.49988 4.74942C9.84822 4.74942 10.97 5.71962 11.2051 7H14.5C14.7761 7 15 7.22386 15 7.5C15 7.77614 14.7761 8 14.5 8H11.205Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/space_between_horizontally_icon.rs b/packages/icons/yew/src/space_between_horizontally_icon.rs index 5006143e..453723a6 100644 --- a/packages/icons/yew/src/space_between_horizontally_icon.rs +++ b/packages/icons/yew/src/space_between_horizontally_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SpaceBetweenHorizontallyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SpaceBetweenHorizontallyIcon(props: &SpaceBetweenHorizontallyIconProps) -> Html { - let node_ref = use_node_ref(); html! { } diff --git a/packages/icons/yew/src/space_between_vertically_icon.rs b/packages/icons/yew/src/space_between_vertically_icon.rs index e00e2755..56f86a2d 100644 --- a/packages/icons/yew/src/space_between_vertically_icon.rs +++ b/packages/icons/yew/src/space_between_vertically_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SpaceBetweenVerticallyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SpaceBetweenVerticallyIcon(props: &SpaceBetweenVerticallyIconProps) -> Html { - let node_ref = use_node_ref(); html! { Ht fill-rule="evenodd" clip-rule="evenodd" d="M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1L9 1V5C9 5.55228 8.55228 6 8 6H7C6.44772 6 6 5.55228 6 5V1H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM7 9C6.44772 9 6 9.44771 6 10V14H1.49988C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H9V10C9 9.44772 8.55228 9 8 9H7Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/space_evenly_horizontally_icon.rs b/packages/icons/yew/src/space_evenly_horizontally_icon.rs index f23d3dca..70f1bb48 100644 --- a/packages/icons/yew/src/space_evenly_horizontally_icon.rs +++ b/packages/icons/yew/src/space_evenly_horizontally_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SpaceEvenlyHorizontallyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SpaceEvenlyHorizontallyIcon(props: &SpaceEvenlyHorizontallyIconProps) -> Html { - let node_ref = use_node_ref(); html! { fill-rule="evenodd" clip-rule="evenodd" d="M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992ZM0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992ZM1.99998 6.99994C1.99998 6.44766 2.44769 5.99995 2.99998 5.99995L5.99995 5.99995C6.55223 5.99995 6.99994 6.44766 6.99994 6.99994L6.99994 7.99993C6.99994 8.55221 6.55223 8.99992 5.99995 8.99992L2.99998 8.99992C2.4477 8.99992 1.99998 8.55221 1.99998 7.99993L1.99998 6.99994ZM8.99993 5.99995C8.44765 5.99995 7.99993 6.44766 7.99993 6.99994L7.99993 7.99993C7.99993 8.55221 8.44765 8.99992 8.99993 8.99992L11.9999 8.99992C12.5522 8.99992 12.9999 8.55221 12.9999 7.99993L12.9999 6.99994C12.9999 6.44766 12.5522 5.99995 11.9999 5.99995L8.99993 5.99995Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/space_evenly_vertically_icon.rs b/packages/icons/yew/src/space_evenly_vertically_icon.rs index 3fa82ee0..c9ba0f10 100644 --- a/packages/icons/yew/src/space_evenly_vertically_icon.rs +++ b/packages/icons/yew/src/space_evenly_vertically_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SpaceEvenlyVerticallyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SpaceEvenlyVerticallyIcon(props: &SpaceEvenlyVerticallyIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html fill-rule="evenodd" clip-rule="evenodd" d="M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM7 2C6.44772 2 6 2.44772 6 3V6C6 6.55228 6.44772 7 7 7H8C8.55228 7 9 6.55228 9 6V3C9 2.44772 8.55228 2 8 2H7ZM7 8C6.44772 8 6 8.44771 6 9V12C6 12.5523 6.44772 13 7 13H8C8.55228 13 9 12.5523 9 12V9C9 8.44772 8.55228 8 8 8H7ZM1.49988 14C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H1.49988Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/speaker_loud_icon.rs b/packages/icons/yew/src/speaker_loud_icon.rs index 71bd6a7e..d83578c1 100644 --- a/packages/icons/yew/src/speaker_loud_icon.rs +++ b/packages/icons/yew/src/speaker_loud_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SpeakerLoudIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SpeakerLoudIcon(props: &SpeakerLoudIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.46968 1.05085C7.64122 1.13475 7.75 1.30904 7.75 1.5V13.5C7.75 13.691 7.64122 13.8653 7.46968 13.9492C7.29813 14.0331 7.09377 14.0119 6.94303 13.8947L3.2213 11H1.5C0.671571 11 0 10.3284 0 9.5V5.5C0 4.67158 0.671573 4 1.5 4H3.2213L6.94303 1.10533C7.09377 0.988085 7.29813 0.966945 7.46968 1.05085ZM6.75 2.52232L3.69983 4.89468C3.61206 4.96294 3.50405 5 3.39286 5H1.5C1.22386 5 1 5.22386 1 5.5V9.5C1 9.77615 1.22386 10 1.5 10H3.39286C3.50405 10 3.61206 10.0371 3.69983 10.1053L6.75 12.4777V2.52232ZM10.2784 3.84804C10.4623 3.72567 10.7106 3.77557 10.833 3.95949C12.2558 6.09798 12.2558 8.90199 10.833 11.0405C10.7106 11.2244 10.4623 11.2743 10.2784 11.1519C10.0944 11.0296 10.0445 10.7813 10.1669 10.5973C11.4111 8.72728 11.4111 6.27269 10.1669 4.40264C10.0445 4.21871 10.0944 3.97041 10.2784 3.84804ZM12.6785 1.43044C12.5356 1.2619 12.2832 1.24104 12.1147 1.38386C11.9462 1.52667 11.9253 1.77908 12.0681 1.94762C14.7773 5.14488 14.7773 9.85513 12.0681 13.0524C11.9253 13.2209 11.9462 13.4733 12.1147 13.6161C12.2832 13.759 12.5356 13.7381 12.6785 13.5696C15.6406 10.0739 15.6406 4.92612 12.6785 1.43044Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/speaker_moderate_icon.rs b/packages/icons/yew/src/speaker_moderate_icon.rs index 37fd89f1..8e9b89f6 100644 --- a/packages/icons/yew/src/speaker_moderate_icon.rs +++ b/packages/icons/yew/src/speaker_moderate_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SpeakerModerateIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SpeakerModerateIcon(props: &SpeakerModerateIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8 1.5C8 1.31062 7.893 1.13749 7.72361 1.05279C7.55421 0.968093 7.35151 0.986371 7.2 1.1L3.33333 4H1.5C0.671573 4 0 4.67158 0 5.5V9.5C0 10.3284 0.671573 11 1.5 11H3.33333L7.2 13.9C7.35151 14.0136 7.55421 14.0319 7.72361 13.9472C7.893 13.8625 8 13.6894 8 13.5V1.5ZM3.8 4.9L7 2.5V12.5L3.8 10.1C3.71345 10.0351 3.60819 10 3.5 10H1.5C1.22386 10 1 9.77614 1 9.5V5.5C1 5.22386 1.22386 5 1.5 5H3.5C3.60819 5 3.71345 4.96491 3.8 4.9ZM10.833 3.95949C10.7106 3.77557 10.4623 3.72567 10.2784 3.84804C10.0944 3.97041 10.0445 4.21871 10.1669 4.40264C11.4111 6.27268 11.4111 8.72728 10.1669 10.5973C10.0445 10.7813 10.0944 11.0296 10.2784 11.1519C10.4623 11.2743 10.7106 11.2244 10.833 11.0405C12.2558 8.90199 12.2558 6.09798 10.833 3.95949Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/speaker_off_icon.rs b/packages/icons/yew/src/speaker_off_icon.rs index 63fb6416..bedf991e 100644 --- a/packages/icons/yew/src/speaker_off_icon.rs +++ b/packages/icons/yew/src/speaker_off_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SpeakerOffIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SpeakerOffIcon(props: &SpeakerOffIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.72361 1.05279C7.893 1.13749 8 1.31062 8 1.5V13.5C8 13.6894 7.893 13.8625 7.72361 13.9472C7.55421 14.0319 7.35151 14.0136 7.2 13.9L3.33333 11H1.5C0.671573 11 0 10.3284 0 9.5V5.5C0 4.67158 0.671573 4 1.5 4H3.33333L7.2 1.1C7.35151 0.986371 7.55421 0.968093 7.72361 1.05279ZM7 2.5L3.8 4.9C3.71345 4.96491 3.60819 5 3.5 5H1.5C1.22386 5 1 5.22386 1 5.5V9.5C1 9.77614 1.22386 10 1.5 10H3.5C3.60819 10 3.71345 10.0351 3.8 10.1L7 12.5V2.5ZM14.8536 5.14645C15.0488 5.34171 15.0488 5.65829 14.8536 5.85355L13.2071 7.5L14.8536 9.14645C15.0488 9.34171 15.0488 9.65829 14.8536 9.85355C14.6583 10.0488 14.3417 10.0488 14.1464 9.85355L12.5 8.20711L10.8536 9.85355C10.6583 10.0488 10.3417 10.0488 10.1464 9.85355C9.95118 9.65829 9.95118 9.34171 10.1464 9.14645L11.7929 7.5L10.1464 5.85355C9.95118 5.65829 9.95118 5.34171 10.1464 5.14645C10.3417 4.95118 10.6583 4.95118 10.8536 5.14645L12.5 6.79289L14.1464 5.14645C14.3417 4.95118 14.6583 4.95118 14.8536 5.14645Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/speaker_quiet_icon.rs b/packages/icons/yew/src/speaker_quiet_icon.rs index a2d0e5a0..7013a217 100644 --- a/packages/icons/yew/src/speaker_quiet_icon.rs +++ b/packages/icons/yew/src/speaker_quiet_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SpeakerQuietIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SpeakerQuietIcon(props: &SpeakerQuietIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8 1.5C8 1.31062 7.893 1.13749 7.72361 1.05279C7.55421 0.968093 7.35151 0.986371 7.2 1.1L3.33333 4H1.5C0.671573 4 0 4.67158 0 5.5V9.5C0 10.3284 0.671573 11 1.5 11H3.33333L7.2 13.9C7.35151 14.0136 7.55421 14.0319 7.72361 13.9472C7.893 13.8625 8 13.6894 8 13.5V1.5ZM3.8 4.9L7 2.5V12.5L3.8 10.1C3.71345 10.0351 3.60819 10 3.5 10H1.5C1.22386 10 1 9.77614 1 9.5V5.5C1 5.22386 1.22386 5 1.5 5H3.5C3.60819 5 3.71345 4.96491 3.8 4.9ZM10.083 5.05577C9.96066 4.87185 9.71235 4.82195 9.52843 4.94432C9.3445 5.06669 9.2946 5.31499 9.41697 5.49892C10.2207 6.70693 10.2207 8.29303 9.41697 9.50104C9.2946 9.68496 9.3445 9.93326 9.52843 10.0556C9.71235 10.178 9.96066 10.1281 10.083 9.94418C11.0653 8.46773 11.0653 6.53222 10.083 5.05577Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/square_icon.rs b/packages/icons/yew/src/square_icon.rs index e8e6b975..7df0231f 100644 --- a/packages/icons/yew/src/square_icon.rs +++ b/packages/icons/yew/src/square_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SquareIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SquareIcon(props: &SquareIconProps) -> Html { - let node_ref = use_node_ref(); html! { , + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StackIcon(props: &StackIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.75432 1.81954C7.59742 1.72682 7.4025 1.72682 7.24559 1.81954L1.74559 5.06954C1.59336 5.15949 1.49996 5.32317 1.49996 5.5C1.49996 5.67683 1.59336 5.84051 1.74559 5.93046L7.24559 9.18046C7.4025 9.27318 7.59742 9.27318 7.75432 9.18046L13.2543 5.93046C13.4066 5.84051 13.5 5.67683 13.5 5.5C13.5 5.32317 13.4066 5.15949 13.2543 5.06954L7.75432 1.81954ZM7.49996 8.16923L2.9828 5.5L7.49996 2.83077L12.0171 5.5L7.49996 8.16923ZM2.25432 8.31954C2.01658 8.17906 1.70998 8.2579 1.56949 8.49564C1.42901 8.73337 1.50785 9.03998 1.74559 9.18046L7.24559 12.4305C7.4025 12.5232 7.59742 12.5232 7.75432 12.4305L13.2543 9.18046C13.4921 9.03998 13.5709 8.73337 13.4304 8.49564C13.2899 8.2579 12.9833 8.17906 12.7456 8.31954L7.49996 11.4192L2.25432 8.31954Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/star_filled_icon.rs b/packages/icons/yew/src/star_filled_icon.rs index dc5bd09d..7b19b831 100644 --- a/packages/icons/yew/src/star_filled_icon.rs +++ b/packages/icons/yew/src/star_filled_icon.rs @@ -1,31 +1,32 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct StarFilledIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StarFilledIcon(props: &StarFilledIconProps) -> Html { - let node_ref = use_node_ref(); html! { } diff --git a/packages/icons/yew/src/star_icon.rs b/packages/icons/yew/src/star_icon.rs index 3309ddb2..1fd39842 100644 --- a/packages/icons/yew/src/star_icon.rs +++ b/packages/icons/yew/src/star_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct StarIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StarIcon(props: &StarIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.97942 1.25171L6.9585 1.30199L5.58662 4.60039C5.54342 4.70426 5.44573 4.77523 5.3336 4.78422L1.7727 5.0697L1.71841 5.07405L1.38687 5.10063L1.08608 5.12475C0.820085 5.14607 0.712228 5.47802 0.914889 5.65162L1.14406 5.84793L1.39666 6.06431L1.43802 6.09974L4.15105 8.42374C4.23648 8.49692 4.2738 8.61176 4.24769 8.72118L3.41882 12.196L3.40618 12.249L3.32901 12.5725L3.25899 12.866C3.19708 13.1256 3.47945 13.3308 3.70718 13.1917L3.9647 13.0344L4.24854 12.861L4.29502 12.8326L7.34365 10.9705C7.43965 10.9119 7.5604 10.9119 7.6564 10.9705L10.705 12.8326L10.7515 12.861L11.0354 13.0344L11.2929 13.1917C11.5206 13.3308 11.803 13.1256 11.7411 12.866L11.671 12.5725L11.5939 12.249L11.5812 12.196L10.7524 8.72118C10.7263 8.61176 10.7636 8.49692 10.849 8.42374L13.562 6.09974L13.6034 6.06431L13.856 5.84793L14.0852 5.65162C14.2878 5.47802 14.18 5.14607 13.914 5.12475L13.6132 5.10063L13.2816 5.07405L13.2274 5.0697L9.66645 4.78422C9.55432 4.77523 9.45663 4.70426 9.41343 4.60039L8.04155 1.30199L8.02064 1.25171L7.89291 0.944609L7.77702 0.665992C7.67454 0.419604 7.32551 0.419604 7.22303 0.665992L7.10715 0.944609L6.97942 1.25171ZM7.50003 2.60397L6.50994 4.98442C6.32273 5.43453 5.89944 5.74207 5.41351 5.78103L2.84361 5.98705L4.8016 7.66428C5.17183 7.98142 5.33351 8.47903 5.2204 8.95321L4.62221 11.461L6.8224 10.1171C7.23842 9.86302 7.76164 9.86302 8.17766 10.1171L10.3778 11.461L9.77965 8.95321C9.66654 8.47903 9.82822 7.98142 10.1984 7.66428L12.1564 5.98705L9.58654 5.78103C9.10061 5.74207 8.67732 5.43453 8.49011 4.98442L7.50003 2.60397Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/stitches_logo_icon.rs b/packages/icons/yew/src/stitches_logo_icon.rs index 293af39c..f043e1de 100644 --- a/packages/icons/yew/src/stitches_logo_icon.rs +++ b/packages/icons/yew/src/stitches_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct StitchesLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StitchesLogoIcon(props: &StitchesLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.84998 7.49998C1.84998 7.21321 1.87134 6.93143 1.91256 6.65615L9.56374 2.23875C9.86311 2.35627 10.15 2.49861 10.4219 2.66322L3.77065 6.50332C3.73669 6.52183 3.70482 6.5449 3.67602 6.57238C3.5911 6.65308 3.54245 6.76286 3.53682 6.87658C3.53359 6.9418 3.54451 7.00831 3.57086 7.07137C3.58927 7.1157 3.6149 7.15742 3.64744 7.19458C3.67306 7.22396 3.702 7.24941 3.73337 7.27069L7.32533 9.83813L3.87232 11.8317C2.63604 10.7953 1.84998 9.23944 1.84998 7.49998ZM8.36843 10.2751C8.37682 10.2706 8.38509 10.2659 8.39322 10.2608L9.84091 9.42499C9.84706 9.42163 9.85314 9.41812 9.85915 9.41446L11.3101 8.57677C11.3655 8.54649 11.4154 8.504 11.4554 8.44995C11.6034 8.25031 11.5616 7.96848 11.362 7.82046L7.82779 5.20017L11.2161 3.24393C12.4013 4.27963 13.15 5.80237 13.15 7.49998C13.15 7.83546 13.1207 8.16411 13.0647 8.48353L5.56875 12.8113C5.26138 12.6995 4.96646 12.5618 4.68662 12.4008L8.36843 10.2751ZM8.18149 9.34383L4.81659 6.93868L5.50918 6.53881L8.80604 8.98324L8.18149 9.34383ZM6.35875 6.04832L6.97822 5.69067L10.2751 8.13506L9.6556 8.49275L6.35875 6.04832ZM8.3318 1.91078L2.24263 5.42636C3.06941 3.33188 5.11164 1.84998 7.49998 1.84998C7.78258 1.84998 8.06033 1.87072 8.3318 1.91078ZM6.84684 13.1126C7.06114 13.1373 7.27908 13.15 7.49998 13.15C9.8246 13.15 11.8213 11.7461 12.6886 9.7399L6.84684 13.1126ZM7.49998 0.849976C3.82728 0.849976 0.849976 3.82728 0.849976 7.49998C0.849976 11.1727 3.82728 14.15 7.49998 14.15C11.1727 14.15 14.15 11.1727 14.15 7.49998C14.15 3.82728 11.1727 0.849976 7.49998 0.849976Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/stop_icon.rs b/packages/icons/yew/src/stop_icon.rs index 987ce946..04d412c2 100644 --- a/packages/icons/yew/src/stop_icon.rs +++ b/packages/icons/yew/src/stop_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct StopIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StopIcon(props: &StopIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 3C2 2.44772 2.44772 2 3 2H12C12.5523 2 13 2.44772 13 3V12C13 12.5523 12.5523 13 12 13H3C2.44772 13 2 12.5523 2 12V3ZM12 3H3V12H12V3Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/stopwatch_icon.rs b/packages/icons/yew/src/stopwatch_icon.rs index 800225be..fbdb22a5 100644 --- a/packages/icons/yew/src/stopwatch_icon.rs +++ b/packages/icons/yew/src/stopwatch_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct StopwatchIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StopwatchIcon(props: &StopwatchIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.49998 0.5C5.49998 0.223858 5.72383 0 5.99998 0H7.49998H8.99998C9.27612 0 9.49998 0.223858 9.49998 0.5C9.49998 0.776142 9.27612 1 8.99998 1H7.99998V2.11922C9.09832 2.20409 10.119 2.56622 10.992 3.13572C11.0116 3.10851 11.0336 3.08252 11.058 3.05806L11.858 2.25806C12.1021 2.01398 12.4978 2.01398 12.7419 2.25806C12.986 2.50214 12.986 2.89786 12.7419 3.14194L11.967 3.91682C13.1595 5.07925 13.9 6.70314 13.9 8.49998C13.9 12.0346 11.0346 14.9 7.49998 14.9C3.96535 14.9 1.09998 12.0346 1.09998 8.49998C1.09998 5.13362 3.69904 2.3743 6.99998 2.11922V1H5.99998C5.72383 1 5.49998 0.776142 5.49998 0.5ZM2.09998 8.49998C2.09998 5.51764 4.51764 3.09998 7.49998 3.09998C10.4823 3.09998 12.9 5.51764 12.9 8.49998C12.9 11.4823 10.4823 13.9 7.49998 13.9C4.51764 13.9 2.09998 11.4823 2.09998 8.49998ZM7.99998 4.5C7.99998 4.22386 7.77612 4 7.49998 4C7.22383 4 6.99998 4.22386 6.99998 4.5V9.5C6.99998 9.77614 7.22383 10 7.49998 10C7.77612 10 7.99998 9.77614 7.99998 9.5V4.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/stretch_horizontally_icon.rs b/packages/icons/yew/src/stretch_horizontally_icon.rs index ce16b8f8..616626b2 100644 --- a/packages/icons/yew/src/stretch_horizontally_icon.rs +++ b/packages/icons/yew/src/stretch_horizontally_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct StretchHorizontallyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StretchHorizontallyIcon(props: &StretchHorizontallyIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M14.4999 0.999992C14.2237 0.999992 13.9999 1.22385 13.9999 1.49999L13.9999 5.99995L0.999992 5.99995L0.999992 1.49999C0.999992 1.22385 0.776136 0.999992 0.499996 0.999992C0.223856 0.999992 -9.78509e-09 1.22385 -2.18556e-08 1.49999L4.07279e-07 13.4999C3.95208e-07 13.776 0.223855 13.9999 0.499996 13.9999C0.776136 13.9999 0.999992 13.776 0.999992 13.4999L0.999992 8.99992L13.9999 8.99992L13.9999 13.4999C13.9999 13.776 14.2237 13.9999 14.4999 13.9999C14.776 13.9999 14.9999 13.776 14.9999 13.4999L14.9999 1.49999C14.9999 1.22385 14.776 0.999992 14.4999 0.999992Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/stretch_vertically_icon.rs b/packages/icons/yew/src/stretch_vertically_icon.rs index 00e6f009..4d5f77f9 100644 --- a/packages/icons/yew/src/stretch_vertically_icon.rs +++ b/packages/icons/yew/src/stretch_vertically_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct StretchVerticallyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StretchVerticallyIcon(props: &StretchVerticallyIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.999878 0.5C0.999878 0.223858 1.22374 0 1.49988 0H13.4999C13.776 0 13.9999 0.223858 13.9999 0.5C13.9999 0.776142 13.776 1 13.4999 1H6H1.49988C1.22374 1 0.999878 0.776142 0.999878 0.5ZM9 14V1L6 1V14H1.49988C1.22374 14 0.999878 14.2239 0.999878 14.5C0.999878 14.7761 1.22374 15 1.49988 15H13.4999C13.776 15 13.9999 14.7761 13.9999 14.5C13.9999 14.2239 13.776 14 13.4999 14H9Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/strikethrough_icon.rs b/packages/icons/yew/src/strikethrough_icon.rs index 80800506..86ea90f1 100644 --- a/packages/icons/yew/src/strikethrough_icon.rs +++ b/packages/icons/yew/src/strikethrough_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct StrikethroughIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn StrikethroughIcon(props: &StrikethroughIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.00003 3.25C5.00003 2.97386 4.77617 2.75 4.50003 2.75C4.22389 2.75 4.00003 2.97386 4.00003 3.25V7.10003H2.49998C2.27906 7.10003 2.09998 7.27912 2.09998 7.50003C2.09998 7.72094 2.27906 7.90003 2.49998 7.90003H4.00003V8.55C4.00003 10.483 5.56703 12.05 7.50003 12.05C9.43303 12.05 11 10.483 11 8.55V7.90003H12.5C12.7209 7.90003 12.9 7.72094 12.9 7.50003C12.9 7.27912 12.7209 7.10003 12.5 7.10003H11V3.25C11 2.97386 10.7762 2.75 10.5 2.75C10.2239 2.75 10 2.97386 10 3.25V7.10003H5.00003V3.25ZM5.00003 7.90003V8.55C5.00003 9.93071 6.11932 11.05 7.50003 11.05C8.88074 11.05 10 9.93071 10 8.55V7.90003H5.00003Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/sun_icon.rs b/packages/icons/yew/src/sun_icon.rs index 10c3d306..6e40c615 100644 --- a/packages/icons/yew/src/sun_icon.rs +++ b/packages/icons/yew/src/sun_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SunIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SunIcon(props: &SunIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 0C7.77614 0 8 0.223858 8 0.5V2.5C8 2.77614 7.77614 3 7.5 3C7.22386 3 7 2.77614 7 2.5V0.5C7 0.223858 7.22386 0 7.5 0ZM2.1967 2.1967C2.39196 2.00144 2.70854 2.00144 2.90381 2.1967L4.31802 3.61091C4.51328 3.80617 4.51328 4.12276 4.31802 4.31802C4.12276 4.51328 3.80617 4.51328 3.61091 4.31802L2.1967 2.90381C2.00144 2.70854 2.00144 2.39196 2.1967 2.1967ZM0.5 7C0.223858 7 0 7.22386 0 7.5C0 7.77614 0.223858 8 0.5 8H2.5C2.77614 8 3 7.77614 3 7.5C3 7.22386 2.77614 7 2.5 7H0.5ZM2.1967 12.8033C2.00144 12.608 2.00144 12.2915 2.1967 12.0962L3.61091 10.682C3.80617 10.4867 4.12276 10.4867 4.31802 10.682C4.51328 10.8772 4.51328 11.1938 4.31802 11.3891L2.90381 12.8033C2.70854 12.9986 2.39196 12.9986 2.1967 12.8033ZM12.5 7C12.2239 7 12 7.22386 12 7.5C12 7.77614 12.2239 8 12.5 8H14.5C14.7761 8 15 7.77614 15 7.5C15 7.22386 14.7761 7 14.5 7H12.5ZM10.682 4.31802C10.4867 4.12276 10.4867 3.80617 10.682 3.61091L12.0962 2.1967C12.2915 2.00144 12.608 2.00144 12.8033 2.1967C12.9986 2.39196 12.9986 2.70854 12.8033 2.90381L11.3891 4.31802C11.1938 4.51328 10.8772 4.51328 10.682 4.31802ZM8 12.5C8 12.2239 7.77614 12 7.5 12C7.22386 12 7 12.2239 7 12.5V14.5C7 14.7761 7.22386 15 7.5 15C7.77614 15 8 14.7761 8 14.5V12.5ZM10.682 10.682C10.8772 10.4867 11.1938 10.4867 11.3891 10.682L12.8033 12.0962C12.9986 12.2915 12.9986 12.608 12.8033 12.8033C12.608 12.9986 12.2915 12.9986 12.0962 12.8033L10.682 11.3891C10.4867 11.1938 10.4867 10.8772 10.682 10.682ZM5.5 7.5C5.5 6.39543 6.39543 5.5 7.5 5.5C8.60457 5.5 9.5 6.39543 9.5 7.5C9.5 8.60457 8.60457 9.5 7.5 9.5C6.39543 9.5 5.5 8.60457 5.5 7.5ZM7.5 4.5C5.84315 4.5 4.5 5.84315 4.5 7.5C4.5 9.15685 5.84315 10.5 7.5 10.5C9.15685 10.5 10.5 9.15685 10.5 7.5C10.5 5.84315 9.15685 4.5 7.5 4.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/switch_icon.rs b/packages/icons/yew/src/switch_icon.rs index acf99a9d..a955816f 100644 --- a/packages/icons/yew/src/switch_icon.rs +++ b/packages/icons/yew/src/switch_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SwitchIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SwitchIcon(props: &SwitchIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M10.5 4C8.567 4 7 5.567 7 7.5C7 9.433 8.567 11 10.5 11C12.433 11 14 9.433 14 7.5C14 5.567 12.433 4 10.5 4ZM7.67133 11C6.65183 10.175 6 8.91363 6 7.5C6 6.08637 6.65183 4.82498 7.67133 4H4.5C2.567 4 1 5.567 1 7.5C1 9.433 2.567 11 4.5 11H7.67133ZM0 7.5C0 5.01472 2.01472 3 4.5 3H10.5C12.9853 3 15 5.01472 15 7.5C15 9.98528 12.9853 12 10.5 12H4.5C2.01472 12 0 9.98528 0 7.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/symbol_icon.rs b/packages/icons/yew/src/symbol_icon.rs index 64269831..a0dc8f55 100644 --- a/packages/icons/yew/src/symbol_icon.rs +++ b/packages/icons/yew/src/symbol_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct SymbolIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn SymbolIcon(props: &SymbolIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.90321 7.29677C1.90321 10.341 4.11041 12.4147 6.58893 12.8439C6.87255 12.893 7.06266 13.1627 7.01355 13.4464C6.96444 13.73 6.69471 13.9201 6.41109 13.871C3.49942 13.3668 0.86084 10.9127 0.86084 7.29677C0.860839 5.76009 1.55996 4.55245 2.37639 3.63377C2.96124 2.97568 3.63034 2.44135 4.16846 2.03202L2.53205 2.03202C2.25591 2.03202 2.03205 1.80816 2.03205 1.53202C2.03205 1.25588 2.25591 1.03202 2.53205 1.03202L5.53205 1.03202C5.80819 1.03202 6.03205 1.25588 6.03205 1.53202L6.03205 4.53202C6.03205 4.80816 5.80819 5.03202 5.53205 5.03202C5.25591 5.03202 5.03205 4.80816 5.03205 4.53202L5.03205 2.68645L5.03054 2.68759L5.03045 2.68766L5.03044 2.68767L5.03043 2.68767C4.45896 3.11868 3.76059 3.64538 3.15554 4.3262C2.44102 5.13021 1.90321 6.10154 1.90321 7.29677ZM13.0109 7.70321C13.0109 4.69115 10.8505 2.6296 8.40384 2.17029C8.12093 2.11718 7.93465 1.84479 7.98776 1.56188C8.04087 1.27898 8.31326 1.0927 8.59616 1.14581C11.4704 1.68541 14.0532 4.12605 14.0532 7.70321C14.0532 9.23988 13.3541 10.4475 12.5377 11.3662C11.9528 12.0243 11.2837 12.5586 10.7456 12.968L12.3821 12.968C12.6582 12.968 12.8821 13.1918 12.8821 13.468C12.8821 13.7441 12.6582 13.968 12.3821 13.968L9.38205 13.968C9.10591 13.968 8.88205 13.7441 8.88205 13.468L8.88205 10.468C8.88205 10.1918 9.10591 9.96796 9.38205 9.96796C9.65819 9.96796 9.88205 10.1918 9.88205 10.468L9.88205 12.3135L9.88362 12.3123C10.4551 11.8813 11.1535 11.3546 11.7585 10.6738C12.4731 9.86976 13.0109 8.89844 13.0109 7.70321Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/table_icon.rs b/packages/icons/yew/src/table_icon.rs index 85e541a0..6c73afbb 100644 --- a/packages/icons/yew/src/table_icon.rs +++ b/packages/icons/yew/src/table_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TableIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TableIcon(props: &TableIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8 2H12.5C12.7761 2 13 2.22386 13 2.5V5H8V2ZM7 5V2H2.5C2.22386 2 2 2.22386 2 2.5V5H7ZM2 6V9H7V6H2ZM8 6H13V9H8V6ZM8 10H13V12.5C13 12.7761 12.7761 13 12.5 13H8V10ZM2 12.5V10H7V13H2.5C2.22386 13 2 12.7761 2 12.5ZM1 2.5C1 1.67157 1.67157 1 2.5 1H12.5C13.3284 1 14 1.67157 14 2.5V12.5C14 13.3284 13.3284 14 12.5 14H2.5C1.67157 14 1 13.3284 1 12.5V2.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/target_icon.rs b/packages/icons/yew/src/target_icon.rs index 1f4311a9..baa3a983 100644 --- a/packages/icons/yew/src/target_icon.rs +++ b/packages/icons/yew/src/target_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TargetIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TargetIcon(props: &TargetIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.900024 7.50002C0.900024 3.85495 3.85495 0.900024 7.50002 0.900024C11.1451 0.900024 14.1 3.85495 14.1 7.50002C14.1 11.1451 11.1451 14.1 7.50002 14.1C3.85495 14.1 0.900024 11.1451 0.900024 7.50002ZM7.50002 1.80002C4.35201 1.80002 1.80002 4.35201 1.80002 7.50002C1.80002 10.648 4.35201 13.2 7.50002 13.2C10.648 13.2 13.2 10.648 13.2 7.50002C13.2 4.35201 10.648 1.80002 7.50002 1.80002ZM3.07504 7.50002C3.07504 5.05617 5.05618 3.07502 7.50004 3.07502C9.94388 3.07502 11.925 5.05617 11.925 7.50002C11.925 9.94386 9.94388 11.925 7.50004 11.925C5.05618 11.925 3.07504 9.94386 3.07504 7.50002ZM7.50004 3.92502C5.52562 3.92502 3.92504 5.52561 3.92504 7.50002C3.92504 9.47442 5.52563 11.075 7.50004 11.075C9.47444 11.075 11.075 9.47442 11.075 7.50002C11.075 5.52561 9.47444 3.92502 7.50004 3.92502ZM7.50004 5.25002C6.2574 5.25002 5.25004 6.25739 5.25004 7.50002C5.25004 8.74266 6.2574 9.75002 7.50004 9.75002C8.74267 9.75002 9.75004 8.74266 9.75004 7.50002C9.75004 6.25738 8.74267 5.25002 7.50004 5.25002ZM6.05004 7.50002C6.05004 6.69921 6.69923 6.05002 7.50004 6.05002C8.30084 6.05002 8.95004 6.69921 8.95004 7.50002C8.95004 8.30083 8.30084 8.95002 7.50004 8.95002C6.69923 8.95002 6.05004 8.30083 6.05004 7.50002Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_align_bottom_icon.rs b/packages/icons/yew/src/text_align_bottom_icon.rs index 352924e7..c89a5569 100644 --- a/packages/icons/yew/src/text_align_bottom_icon.rs +++ b/packages/icons/yew/src/text_align_bottom_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextAlignBottomIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextAlignBottomIcon(props: &TextAlignBottomIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.89949 5.50002C3.89949 5.27911 3.7204 5.10003 3.49949 5.10003C3.27857 5.10003 3.09949 5.27911 3.09949 5.50002L3.09949 12.5343L1.78233 11.2172C1.62612 11.061 1.37285 11.061 1.21664 11.2172C1.06043 11.3734 1.06043 11.6267 1.21664 11.7829L3.21664 13.7829C3.29166 13.8579 3.3934 13.9 3.49949 13.9C3.60557 13.9 3.70732 13.8579 3.78233 13.7829L5.78233 11.7829C5.93854 11.6267 5.93854 11.3734 5.78233 11.2172C5.62612 11.061 5.37285 11.061 5.21664 11.2172L3.89949 12.5343L3.89949 5.50002ZM8.49998 13C8.22383 13 7.99998 12.7762 7.99998 12.5C7.99998 12.2239 8.22383 12 8.49998 12H14.5C14.7761 12 15 12.2239 15 12.5C15 12.7762 14.7761 13 14.5 13H8.49998ZM8.49998 10C8.22383 10 7.99998 9.77617 7.99998 9.50002C7.99998 9.22388 8.22383 9.00002 8.49998 9.00002H14.5C14.7761 9.00002 15 9.22388 15 9.50002C15 9.77617 14.7761 10 14.5 10H8.49998ZM7.99998 6.50002C7.99998 6.77617 8.22383 7.00002 8.49998 7.00002H14.5C14.7761 7.00002 15 6.77617 15 6.50002C15 6.22388 14.7761 6.00002 14.5 6.00002H8.49998C8.22383 6.00002 7.99998 6.22388 7.99998 6.50002Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_align_center_icon.rs b/packages/icons/yew/src/text_align_center_icon.rs index 8e7d42d3..e382daa0 100644 --- a/packages/icons/yew/src/text_align_center_icon.rs +++ b/packages/icons/yew/src/text_align_center_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextAlignCenterIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextAlignCenterIcon(props: &TextAlignCenterIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM4 7.5C4 7.22386 4.22386 7 4.5 7H10.5C10.7761 7 11 7.22386 11 7.5C11 7.77614 10.7761 8 10.5 8H4.5C4.22386 8 4 7.77614 4 7.5ZM3 10.5C3 10.2239 3.22386 10 3.5 10H11.5C11.7761 10 12 10.2239 12 10.5C12 10.7761 11.7761 11 11.5 11H3.5C3.22386 11 3 10.7761 3 10.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_align_justify_icon.rs b/packages/icons/yew/src/text_align_justify_icon.rs index 7b8fc3e7..7c09b576 100644 --- a/packages/icons/yew/src/text_align_justify_icon.rs +++ b/packages/icons/yew/src/text_align_justify_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextAlignJustifyIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextAlignJustifyIcon(props: &TextAlignJustifyIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2.5 4C2.22386 4 2 4.22386 2 4.5C2 4.77614 2.22386 5 2.5 5H12.5C12.7761 5 13 4.77614 13 4.5C13 4.22386 12.7761 4 12.5 4H2.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_align_left_icon.rs b/packages/icons/yew/src/text_align_left_icon.rs index 8ff7c32e..39644169 100644 --- a/packages/icons/yew/src/text_align_left_icon.rs +++ b/packages/icons/yew/src/text_align_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextAlignLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextAlignLeftIcon(props: &TextAlignLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM2 7.5C2 7.22386 2.22386 7 2.5 7H7.5C7.77614 7 8 7.22386 8 7.5C8 7.77614 7.77614 8 7.5 8H2.5C2.22386 8 2 7.77614 2 7.5ZM2 10.5C2 10.2239 2.22386 10 2.5 10H10.5C10.7761 10 11 10.2239 11 10.5C11 10.7761 10.7761 11 10.5 11H2.5C2.22386 11 2 10.7761 2 10.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_align_middle_icon.rs b/packages/icons/yew/src/text_align_middle_icon.rs index 02d65a6f..633235c6 100644 --- a/packages/icons/yew/src/text_align_middle_icon.rs +++ b/packages/icons/yew/src/text_align_middle_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextAlignMiddleIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextAlignMiddleIcon(props: &TextAlignMiddleIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.49949 14.9C3.7204 14.9 3.89949 14.7209 3.89949 14.5L3.89949 10.4657L5.21664 11.7829C5.37285 11.9391 5.62612 11.9391 5.78233 11.7829C5.93854 11.6267 5.93854 11.3734 5.78233 11.2172L3.78233 9.21718C3.70732 9.14217 3.60557 9.10002 3.49949 9.10002C3.3934 9.10002 3.29166 9.14217 3.21664 9.21718L1.21664 11.2172C1.06043 11.3734 1.06043 11.6267 1.21664 11.7829C1.37285 11.9391 1.62612 11.9391 1.78233 11.7829L3.09949 10.4657L3.09949 14.5C3.09949 14.7209 3.27857 14.9 3.49949 14.9ZM7.99998 10.5C7.99998 10.7762 8.22383 11 8.49998 11H14.5C14.7761 11 15 10.7762 15 10.5C15 10.2239 14.7761 10 14.5 10H8.49998C8.22383 10 7.99998 10.2239 7.99998 10.5ZM7.99998 7.50002C7.99998 7.77617 8.22383 8.00002 8.49998 8.00002H14.5C14.7761 8.00002 15 7.77617 15 7.50002C15 7.22388 14.7761 7.00002 14.5 7.00002H8.49998C8.22383 7.00002 7.99998 7.22388 7.99998 7.50002ZM8.49998 5.00002C8.22383 5.00002 7.99998 4.77617 7.99998 4.50002C7.99998 4.22388 8.22383 4.00002 8.49998 4.00002H14.5C14.7761 4.00002 15 4.22388 15 4.50002C15 4.77617 14.7761 5.00002 14.5 5.00002H8.49998ZM3.89949 0.500025C3.89949 0.279111 3.7204 0.100025 3.49949 0.100025C3.27857 0.100025 3.09949 0.279111 3.09949 0.500025L3.09949 4.53434L1.78233 3.21718C1.62612 3.06097 1.37285 3.06097 1.21664 3.21718C1.06043 3.37339 1.06043 3.62666 1.21664 3.78287L3.21664 5.78287C3.29166 5.85788 3.3934 5.90002 3.49949 5.90002C3.60557 5.90002 3.70732 5.85788 3.78233 5.78287L5.78233 3.78287C5.93854 3.62666 5.93854 3.37339 5.78233 3.21718C5.62612 3.06097 5.37285 3.06097 5.21664 3.21718L3.89949 4.53434L3.89949 0.500025Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_align_right_icon.rs b/packages/icons/yew/src/text_align_right_icon.rs index 5f7e70f2..73206837 100644 --- a/packages/icons/yew/src/text_align_right_icon.rs +++ b/packages/icons/yew/src/text_align_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextAlignRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextAlignRightIcon(props: &TextAlignRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M2 4.5C2 4.22386 2.22386 4 2.5 4H12.5C12.7761 4 13 4.22386 13 4.5C13 4.77614 12.7761 5 12.5 5H2.5C2.22386 5 2 4.77614 2 4.5ZM7 7.5C7 7.22386 7.22386 7 7.5 7H12.5C12.7761 7 13 7.22386 13 7.5C13 7.77614 12.7761 8 12.5 8H7.5C7.22386 8 7 7.77614 7 7.5ZM4 10.5C4 10.2239 4.22386 10 4.5 10H12.5C12.7761 10 13 10.2239 13 10.5C13 10.7761 12.7761 11 12.5 11H4.5C4.22386 11 4 10.7761 4 10.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_align_top_icon.rs b/packages/icons/yew/src/text_align_top_icon.rs index 37ec399d..d8f0f397 100644 --- a/packages/icons/yew/src/text_align_top_icon.rs +++ b/packages/icons/yew/src/text_align_top_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextAlignTopIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextAlignTopIcon(props: &TextAlignTopIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.89949 9.49998C3.89949 9.72089 3.7204 9.89997 3.49949 9.89997C3.27857 9.89997 3.09949 9.72089 3.09949 9.49998L3.09949 2.46566L1.78233 3.78282C1.62612 3.93903 1.37285 3.93903 1.21664 3.78282C1.06043 3.62661 1.06043 3.37334 1.21664 3.21713L3.21664 1.21713C3.29166 1.14212 3.3934 1.09998 3.49949 1.09998C3.60557 1.09998 3.70732 1.14212 3.78233 1.21713L5.78233 3.21713C5.93854 3.37334 5.93854 3.62661 5.78233 3.78282C5.62612 3.93903 5.37285 3.93903 5.21664 3.78282L3.89949 2.46566L3.89949 9.49998ZM8.49998 1.99998C8.22383 1.99998 7.99998 2.22383 7.99998 2.49998C7.99998 2.77612 8.22383 2.99998 8.49998 2.99998H14.5C14.7761 2.99998 15 2.77612 15 2.49998C15 2.22383 14.7761 1.99998 14.5 1.99998H8.49998ZM8.49998 4.99998C8.22383 4.99998 7.99998 5.22383 7.99998 5.49998C7.99998 5.77612 8.22383 5.99998 8.49998 5.99998H14.5C14.7761 5.99998 15 5.77612 15 5.49998C15 5.22383 14.7761 4.99998 14.5 4.99998H8.49998ZM7.99998 8.49998C7.99998 8.22383 8.22383 7.99998 8.49998 7.99998H14.5C14.7761 7.99998 15 8.22383 15 8.49998C15 8.77612 14.7761 8.99998 14.5 8.99998H8.49998C8.22383 8.99998 7.99998 8.77612 7.99998 8.49998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_icon.rs b/packages/icons/yew/src/text_icon.rs index 29324a1c..933a380f 100644 --- a/packages/icons/yew/src/text_icon.rs +++ b/packages/icons/yew/src/text_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextIcon(props: &TextIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M3.94993 2.95002L3.94993 4.49998C3.94993 4.74851 3.74845 4.94998 3.49993 4.94998C3.2514 4.94998 3.04993 4.74851 3.04993 4.49998V2.50004C3.04993 2.45246 3.05731 2.40661 3.07099 2.36357C3.12878 2.18175 3.29897 2.05002 3.49993 2.05002H11.4999C11.6553 2.05002 11.7922 2.12872 11.8731 2.24842C11.9216 2.32024 11.9499 2.40682 11.9499 2.50002L11.9499 2.50004V4.49998C11.9499 4.74851 11.7485 4.94998 11.4999 4.94998C11.2514 4.94998 11.0499 4.74851 11.0499 4.49998V2.95002H8.04993V12.05H9.25428C9.50281 12.05 9.70428 12.2515 9.70428 12.5C9.70428 12.7486 9.50281 12.95 9.25428 12.95H5.75428C5.50575 12.95 5.30428 12.7486 5.30428 12.5C5.30428 12.2515 5.50575 12.05 5.75428 12.05H6.94993V2.95002H3.94993Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/text_none_icon.rs b/packages/icons/yew/src/text_none_icon.rs index 1c4b2f08..aeb9c3f4 100644 --- a/packages/icons/yew/src/text_none_icon.rs +++ b/packages/icons/yew/src/text_none_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TextNoneIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TextNoneIcon(props: &TextNoneIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.3536 2.35355C13.5488 2.15829 13.5488 1.84171 13.3536 1.64645C13.1583 1.45118 12.8417 1.45118 12.6464 1.64645L11.9291 2.36383C11.9159 2.32246 11.897 2.28368 11.8732 2.24845C11.7923 2.12875 11.6554 2.05005 11.5001 2.05005H3.50005C3.29909 2.05005 3.1289 2.18178 3.07111 2.3636C3.05743 2.40665 3.05005 2.45249 3.05005 2.50007V4.50001C3.05005 4.74854 3.25152 4.95001 3.50005 4.95001C3.74858 4.95001 3.95005 4.74854 3.95005 4.50001V2.95005H6.95006V7.34284L1.64645 12.6464C1.45118 12.8417 1.45118 13.1583 1.64645 13.3536C1.84171 13.5488 2.15829 13.5488 2.35355 13.3536L6.95006 8.75705V12.0501H5.7544C5.50587 12.0501 5.3044 12.2515 5.3044 12.5001C5.3044 12.7486 5.50587 12.9501 5.7544 12.9501H9.2544C9.50293 12.9501 9.7044 12.7486 9.7044 12.5001C9.7044 12.2515 9.50293 12.0501 9.2544 12.0501H8.05006V7.65705L13.3536 2.35355ZM8.05006 6.24284L11.0501 3.24283V2.95005H8.05006V6.24284Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/thick_arrow_down_icon.rs b/packages/icons/yew/src/thick_arrow_down_icon.rs index 6b77e834..88415018 100644 --- a/packages/icons/yew/src/thick_arrow_down_icon.rs +++ b/packages/icons/yew/src/thick_arrow_down_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ThickArrowDownIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ThickArrowDownIcon(props: &ThickArrowDownIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5 3.5C5 3.22386 5.22386 3 5.5 3H9.5C9.77614 3 10 3.22386 10 3.5V6H12.5C12.6873 6 12.8589 6.10467 12.9446 6.27121C13.0303 6.43774 13.0157 6.63821 12.9069 6.79062L7.90687 13.7906C7.81301 13.922 7.66148 14 7.5 14C7.33853 14 7.18699 13.922 7.09314 13.7906L2.09314 6.79062C1.98427 6.63821 1.96972 6.43774 2.05542 6.27121C2.14112 6.10467 2.31271 6 2.5 6H5V3.5ZM6 4V6.5C6 6.77614 5.77614 7 5.5 7H3.4716L7.5 12.6398L11.5284 7H9.5C9.22386 7 9 6.77614 9 6.5V4H6Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/thick_arrow_left_icon.rs b/packages/icons/yew/src/thick_arrow_left_icon.rs index e7736eb5..2e6bbed1 100644 --- a/packages/icons/yew/src/thick_arrow_left_icon.rs +++ b/packages/icons/yew/src/thick_arrow_left_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ThickArrowLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ThickArrowLeftIcon(props: &ThickArrowLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1 7.5C1 7.66148 1.07798 7.81301 1.20938 7.90687L8.20938 12.9069C8.36179 13.0157 8.56226 13.0303 8.72879 12.9446C8.89533 12.8589 9 12.6873 9 12.5L9 10L11.5 10C11.7761 10 12 9.77614 12 9.5L12 5.5C12 5.22386 11.7761 5 11.5 5L9 5L9 2.5C9 2.31271 8.89533 2.14112 8.72879 2.05542C8.56226 1.96972 8.36179 1.98427 8.20938 2.09313L1.20938 7.09314C1.07798 7.18699 1 7.33853 1 7.5ZM8 3.4716L8 5.5C8 5.77614 8.22386 6 8.5 6L11 6L11 9L8.5 9C8.22386 9 8 9.22386 8 9.5L8 11.5284L2.36023 7.5L8 3.4716Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/thick_arrow_right_icon.rs b/packages/icons/yew/src/thick_arrow_right_icon.rs index a33c1d12..abe5a415 100644 --- a/packages/icons/yew/src/thick_arrow_right_icon.rs +++ b/packages/icons/yew/src/thick_arrow_right_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ThickArrowRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ThickArrowRightIcon(props: &ThickArrowRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M14 7.5C14 7.66148 13.922 7.81301 13.7906 7.90687L6.79062 12.9069C6.63821 13.0157 6.43774 13.0303 6.27121 12.9446C6.10467 12.8589 6 12.6873 6 12.5L6 10L3.5 10C3.22386 10 3 9.77614 3 9.5L3 5.5C3 5.22386 3.22386 5 3.5 5L6 5L6 2.5C6 2.31271 6.10467 2.14112 6.27121 2.05542C6.43774 1.96972 6.63821 1.98427 6.79062 2.09313L13.7906 7.09314C13.922 7.18699 14 7.33853 14 7.5ZM7 3.4716L7 5.5C7 5.77614 6.77614 6 6.5 6L4 6L4 9L6.5 9C6.77614 9 7 9.22386 7 9.5L7 11.5284L12.6398 7.5L7 3.4716Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/thick_arrow_up_icon.rs b/packages/icons/yew/src/thick_arrow_up_icon.rs index d391e513..d8bcdeca 100644 --- a/packages/icons/yew/src/thick_arrow_up_icon.rs +++ b/packages/icons/yew/src/thick_arrow_up_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ThickArrowUpIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ThickArrowUpIcon(props: &ThickArrowUpIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.5 1C7.66148 1 7.81301 1.07798 7.90687 1.20938L12.9069 8.20938C13.0157 8.36179 13.0303 8.56226 12.9446 8.72879C12.8589 8.89533 12.6873 9 12.5 9H10V11.5C10 11.7761 9.77614 12 9.5 12H5.5C5.22386 12 5 11.7761 5 11.5V9H2.5C2.31271 9 2.14112 8.89533 2.05542 8.72879C1.96972 8.56226 1.98427 8.36179 2.09314 8.20938L7.09314 1.20938C7.18699 1.07798 7.33853 1 7.5 1ZM3.4716 8H5.5C5.77614 8 6 8.22386 6 8.5V11H9V8.5C9 8.22386 9.22386 8 9.5 8H11.5284L7.5 2.36023L3.4716 8Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/timer_icon.rs b/packages/icons/yew/src/timer_icon.rs index 4f80ede7..b3d13445 100644 --- a/packages/icons/yew/src/timer_icon.rs +++ b/packages/icons/yew/src/timer_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TimerIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TimerIcon(props: &TimerIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49998 0.849976C7.22383 0.849976 6.99998 1.07383 6.99998 1.34998V3.52234C6.99998 3.79848 7.22383 4.02234 7.49998 4.02234C7.77612 4.02234 7.99998 3.79848 7.99998 3.52234V1.8718C10.8862 2.12488 13.15 4.54806 13.15 7.49998C13.15 10.6204 10.6204 13.15 7.49998 13.15C4.37957 13.15 1.84998 10.6204 1.84998 7.49998C1.84998 6.10612 2.35407 4.83128 3.19049 3.8459C3.36919 3.63538 3.34339 3.31985 3.13286 3.14115C2.92234 2.96245 2.60681 2.98825 2.42811 3.19877C1.44405 4.35808 0.849976 5.86029 0.849976 7.49998C0.849976 11.1727 3.82728 14.15 7.49998 14.15C11.1727 14.15 14.15 11.1727 14.15 7.49998C14.15 3.82728 11.1727 0.849976 7.49998 0.849976ZM6.74049 8.08072L4.22363 4.57237C4.15231 4.47295 4.16346 4.33652 4.24998 4.25C4.33649 4.16348 4.47293 4.15233 4.57234 4.22365L8.08069 6.74051C8.56227 7.08599 8.61906 7.78091 8.19998 8.2C7.78089 8.61909 7.08597 8.56229 6.74049 8.08072Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/tokens_icon.rs b/packages/icons/yew/src/tokens_icon.rs index 072adeec..e58a89e0 100644 --- a/packages/icons/yew/src/tokens_icon.rs +++ b/packages/icons/yew/src/tokens_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TokensIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TokensIcon(props: &TokensIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.5 2C3.11929 2 2 3.11929 2 4.5C2 5.88072 3.11929 7 4.5 7C5.88072 7 7 5.88072 7 4.5C7 3.11929 5.88072 2 4.5 2ZM3 4.5C3 3.67157 3.67157 3 4.5 3C5.32843 3 6 3.67157 6 4.5C6 5.32843 5.32843 6 4.5 6C3.67157 6 3 5.32843 3 4.5ZM10.5 2C9.11929 2 8 3.11929 8 4.5C8 5.88072 9.11929 7 10.5 7C11.8807 7 13 5.88072 13 4.5C13 3.11929 11.8807 2 10.5 2ZM9 4.5C9 3.67157 9.67157 3 10.5 3C11.3284 3 12 3.67157 12 4.5C12 5.32843 11.3284 6 10.5 6C9.67157 6 9 5.32843 9 4.5ZM2 10.5C2 9.11929 3.11929 8 4.5 8C5.88072 8 7 9.11929 7 10.5C7 11.8807 5.88072 13 4.5 13C3.11929 13 2 11.8807 2 10.5ZM4.5 9C3.67157 9 3 9.67157 3 10.5C3 11.3284 3.67157 12 4.5 12C5.32843 12 6 11.3284 6 10.5C6 9.67157 5.32843 9 4.5 9ZM10.5 8C9.11929 8 8 9.11929 8 10.5C8 11.8807 9.11929 13 10.5 13C11.8807 13 13 11.8807 13 10.5C13 9.11929 11.8807 8 10.5 8ZM9 10.5C9 9.67157 9.67157 9 10.5 9C11.3284 9 12 9.67157 12 10.5C12 11.3284 11.3284 12 10.5 12C9.67157 12 9 11.3284 9 10.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/track_next_icon.rs b/packages/icons/yew/src/track_next_icon.rs index 9bee7f26..481cbde5 100644 --- a/packages/icons/yew/src/track_next_icon.rs +++ b/packages/icons/yew/src/track_next_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TrackNextIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TrackNextIcon(props: &TrackNextIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M13.0502 2.74989C13.0502 2.44613 12.804 2.19989 12.5002 2.19989C12.1965 2.19989 11.9502 2.44613 11.9502 2.74989V7.2825C11.9046 7.18802 11.8295 7.10851 11.7334 7.05776L2.73338 2.30776C2.5784 2.22596 2.3919 2.23127 2.24182 2.32176C2.09175 2.41225 2 2.57471 2 2.74995V12.25C2 12.4252 2.09175 12.5877 2.24182 12.6781C2.3919 12.7686 2.5784 12.7739 2.73338 12.6921L11.7334 7.94214C11.8295 7.89139 11.9046 7.81188 11.9502 7.7174V12.2499C11.9502 12.5536 12.1965 12.7999 12.5002 12.7999C12.804 12.7999 13.0502 12.5536 13.0502 12.2499V2.74989ZM3 11.4207V3.5792L10.4288 7.49995L3 11.4207Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/track_previous_icon.rs b/packages/icons/yew/src/track_previous_icon.rs index 1200d814..7e82843e 100644 --- a/packages/icons/yew/src/track_previous_icon.rs +++ b/packages/icons/yew/src/track_previous_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TrackPreviousIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TrackPreviousIcon(props: &TrackPreviousIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.94976 2.74989C1.94976 2.44613 2.196 2.19989 2.49976 2.19989C2.80351 2.19989 3.04976 2.44613 3.04976 2.74989V7.2825C3.0954 7.18802 3.17046 7.10851 3.26662 7.05776L12.2666 2.30776C12.4216 2.22596 12.6081 2.23127 12.7582 2.32176C12.9083 2.41225 13 2.57471 13 2.74995V12.25C13 12.4252 12.9083 12.5877 12.7582 12.6781C12.6081 12.7686 12.4216 12.7739 12.2666 12.6921L3.26662 7.94214C3.17046 7.89139 3.0954 7.81188 3.04976 7.7174V12.2499C3.04976 12.5536 2.80351 12.7999 2.49976 12.7999C2.196 12.7999 1.94976 12.5536 1.94976 12.2499V2.74989ZM4.57122 7.49995L12 11.4207V3.5792L4.57122 7.49995Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/transform_icon.rs b/packages/icons/yew/src/transform_icon.rs index 3b1733c9..2983c1e2 100644 --- a/packages/icons/yew/src/transform_icon.rs +++ b/packages/icons/yew/src/transform_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TransformIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TransformIcon(props: &TransformIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.849976 1.74998C0.849976 1.25292 1.25292 0.849976 1.74998 0.849976H3.24998C3.74703 0.849976 4.14998 1.25292 4.14998 1.74998V2.04998H10.85V1.74998C10.85 1.25292 11.2529 0.849976 11.75 0.849976H13.25C13.747 0.849976 14.15 1.25292 14.15 1.74998V3.24998C14.15 3.74703 13.747 4.14998 13.25 4.14998H12.95V10.85H13.25C13.747 10.85 14.15 11.2529 14.15 11.75V13.25C14.15 13.747 13.747 14.15 13.25 14.15H11.75C11.2529 14.15 10.85 13.747 10.85 13.25V12.95H4.14998V13.25C4.14998 13.747 3.74703 14.15 3.24998 14.15H1.74998C1.25292 14.15 0.849976 13.747 0.849976 13.25V11.75C0.849976 11.2529 1.25292 10.85 1.74998 10.85H2.04998V4.14998H1.74998C1.25292 4.14998 0.849976 3.74703 0.849976 3.24998V1.74998ZM2.94998 4.14998V10.85H3.24998C3.74703 10.85 4.14998 11.2529 4.14998 11.75V12.05H10.85V11.75C10.85 11.2529 11.2529 10.85 11.75 10.85H12.05V4.14998H11.75C11.2529 4.14998 10.85 3.74703 10.85 3.24998V2.94998H4.14998V3.24998C4.14998 3.74703 3.74703 4.14998 3.24998 4.14998H2.94998ZM2.34998 1.74998H1.74998V2.34998V2.64998V3.24998H2.34998H2.64998H3.24998V2.64998V2.34998V1.74998H2.64998H2.34998ZM5.09998 5.99998C5.09998 5.50292 5.50292 5.09998 5.99998 5.09998H6.99998C7.49703 5.09998 7.89998 5.50292 7.89998 5.99998V6.99998C7.89998 7.03591 7.89787 7.07134 7.89378 7.10618C7.92861 7.10208 7.96405 7.09998 7.99998 7.09998H8.99998C9.49703 7.09998 9.89998 7.50292 9.89998 7.99998V8.99998C9.89998 9.49703 9.49703 9.89998 8.99998 9.89998H7.99998C7.50292 9.89998 7.09998 9.49703 7.09998 8.99998V7.99998C7.09998 7.96405 7.10208 7.92861 7.10618 7.89378C7.07134 7.89787 7.03591 7.89998 6.99998 7.89998H5.99998C5.50292 7.89998 5.09998 7.49703 5.09998 6.99998V5.99998ZM6.09998 5.99998H5.99998V6.09998V6.89998V6.99998H6.09998H6.89998H6.99998V6.89998V6.09998V5.99998H6.89998H6.09998ZM7.99998 7.99998H8.09998H8.89998H8.99998V8.09998V8.89998V8.99998H8.89998H8.09998H7.99998V8.89998V8.09998V7.99998ZM2.64998 11.75H2.34998H1.74998V12.35V12.65V13.25H2.34998H2.64998H3.24998V12.65V12.35V11.75H2.64998ZM11.75 1.74998H12.35H12.65H13.25V2.34998V2.64998V3.24998H12.65H12.35H11.75V2.64998V2.34998V1.74998ZM12.65 11.75H12.35H11.75V12.35V12.65V13.25H12.35H12.65H13.25V12.65V12.35V11.75H12.65Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/transparency_grid_icon.rs b/packages/icons/yew/src/transparency_grid_icon.rs index 9c284ca7..99262880 100644 --- a/packages/icons/yew/src/transparency_grid_icon.rs +++ b/packages/icons/yew/src/transparency_grid_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TransparencyGridIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TransparencyGridIcon(props: &TransparencyGridIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0 0H3V3H0V0ZM6 3H3V6H0V9H3V12H0V15H3V12H6V15H9V12H12V15H15V12H12V9H15V6H12V3H15V0H12V3H9V0H6V3ZM6 6V3H9V6H6ZM6 9H3V6H6V9ZM9 9V6H12V9H9ZM9 9H6V12H9V9Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/trash_icon.rs b/packages/icons/yew/src/trash_icon.rs index b3e32d6d..4401f039 100644 --- a/packages/icons/yew/src/trash_icon.rs +++ b/packages/icons/yew/src/trash_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TrashIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TrashIcon(props: &TrashIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.5 1C5.22386 1 5 1.22386 5 1.5C5 1.77614 5.22386 2 5.5 2H9.5C9.77614 2 10 1.77614 10 1.5C10 1.22386 9.77614 1 9.5 1H5.5ZM3 3.5C3 3.22386 3.22386 3 3.5 3H5H10H11.5C11.7761 3 12 3.22386 12 3.5C12 3.77614 11.7761 4 11.5 4H11V12C11 12.5523 10.5523 13 10 13H5C4.44772 13 4 12.5523 4 12V4L3.5 4C3.22386 4 3 3.77614 3 3.5ZM5 4H10V12H5V4Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/triangle_down_icon.rs b/packages/icons/yew/src/triangle_down_icon.rs index 2f67d0f5..398e4620 100644 --- a/packages/icons/yew/src/triangle_down_icon.rs +++ b/packages/icons/yew/src/triangle_down_icon.rs @@ -1,33 +1,30 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TriangleDownIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TriangleDownIcon(props: &TriangleDownIconProps) -> Html { - let node_ref = use_node_ref(); html! { - + } } diff --git a/packages/icons/yew/src/triangle_left_icon.rs b/packages/icons/yew/src/triangle_left_icon.rs index 56c1e5b7..72352197 100644 --- a/packages/icons/yew/src/triangle_left_icon.rs +++ b/packages/icons/yew/src/triangle_left_icon.rs @@ -1,33 +1,30 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TriangleLeftIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TriangleLeftIcon(props: &TriangleLeftIconProps) -> Html { - let node_ref = use_node_ref(); html! { - + } } diff --git a/packages/icons/yew/src/triangle_right_icon.rs b/packages/icons/yew/src/triangle_right_icon.rs index 46418e0b..aabfa6a5 100644 --- a/packages/icons/yew/src/triangle_right_icon.rs +++ b/packages/icons/yew/src/triangle_right_icon.rs @@ -1,33 +1,30 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TriangleRightIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TriangleRightIcon(props: &TriangleRightIconProps) -> Html { - let node_ref = use_node_ref(); html! { - + } } diff --git a/packages/icons/yew/src/triangle_up_icon.rs b/packages/icons/yew/src/triangle_up_icon.rs index b6f44f0d..7f97922d 100644 --- a/packages/icons/yew/src/triangle_up_icon.rs +++ b/packages/icons/yew/src/triangle_up_icon.rs @@ -1,33 +1,30 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TriangleUpIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TriangleUpIcon(props: &TriangleUpIconProps) -> Html { - let node_ref = use_node_ref(); html! { - + } } diff --git a/packages/icons/yew/src/twitter_logo_icon.rs b/packages/icons/yew/src/twitter_logo_icon.rs index c673d7e9..6fc3e89d 100644 --- a/packages/icons/yew/src/twitter_logo_icon.rs +++ b/packages/icons/yew/src/twitter_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct TwitterLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn TwitterLogoIcon(props: &TwitterLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.23336 4.69629C7.23336 2.96884 8.63335 1.56857 10.36 1.56857C11.3736 1.56857 12.183 2.04804 12.7254 2.74385C13.3079 2.62467 13.8557 2.40913 14.3513 2.11508C14.1559 2.72598 13.7424 3.2396 13.2033 3.56463C13.2038 3.56568 13.2042 3.56674 13.2047 3.56779C13.7334 3.50361 14.2364 3.36302 14.7048 3.15546L14.7037 3.15715C14.3667 3.66183 13.9431 4.10736 13.4561 4.47034C13.4823 4.64672 13.4956 4.82427 13.4956 5.00079C13.4956 8.6871 10.6873 12.9746 5.52122 12.9746C3.93906 12.9746 2.46544 12.511 1.22505 11.7152C0.992632 11.5661 0.925108 11.2568 1.07423 11.0244C1.0874 11.0038 1.10183 10.9846 1.11734 10.9666C1.20582 10.8202 1.37438 10.7309 1.5554 10.7522C2.47066 10.8601 3.38568 10.7485 4.19219 10.3962C3.39226 10.0434 2.77129 9.35975 2.50204 8.51974C2.45359 8.3686 2.48835 8.20311 2.59351 8.08422C2.59716 8.0801 2.60087 8.07606 2.60464 8.0721C1.96391 7.50819 1.55973 6.68208 1.55973 5.76143V5.72759C1.55973 5.56814 1.64411 5.42059 1.78155 5.33974C1.82671 5.31317 1.87537 5.29511 1.92532 5.28558C1.70549 4.86154 1.58116 4.37984 1.58116 3.86958C1.58116 3.40165 1.58384 2.81192 1.91332 2.28081C1.98718 2.16175 2.10758 2.08915 2.2364 2.07195C2.42588 2.01237 2.64087 2.06969 2.77406 2.23302C3.86536 3.57126 5.44066 4.49583 7.23366 4.73961L7.23336 4.69629ZM5.52122 11.9746C4.73387 11.9746 3.97781 11.8435 3.27248 11.6023C4.13012 11.4538 4.95307 11.1159 5.66218 10.5602C5.81211 10.4427 5.87182 10.2435 5.81126 10.0629C5.7507 9.88234 5.583 9.75943 5.39255 9.75607C4.68968 9.74366 4.06712 9.39716 3.67793 8.86845C3.86828 8.85306 4.05428 8.82039 4.23445 8.77167C4.43603 8.71716 4.57363 8.53114 4.56674 8.32243C4.55985 8.11372 4.41029 7.93718 4.20555 7.89607C3.42694 7.73977 2.79883 7.16764 2.56169 6.42174C2.76255 6.47025 2.97102 6.4991 3.18482 6.5061C3.38563 6.51267 3.56646 6.38533 3.62795 6.19405C3.68943 6.00277 3.61666 5.79391 3.44963 5.68224C2.86523 5.29155 2.48116 4.62464 2.48116 3.86958C2.48116 3.70213 2.48352 3.55268 2.49355 3.41719C3.85115 4.79913 5.70873 5.68931 7.77588 5.79338C7.93225 5.80126 8.08328 5.73543 8.18395 5.61553C8.28463 5.49562 8.32332 5.33548 8.28851 5.18284C8.25255 5.02517 8.23336 4.86284 8.23336 4.69629C8.23336 3.52085 9.18591 2.56857 10.36 2.56857C11.5943 2.56857 12.4956 3.71208 12.4956 5.00079C12.4956 8.25709 10.0202 11.9746 5.52122 11.9746Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/underline_icon.rs b/packages/icons/yew/src/underline_icon.rs index f7711d5f..9e9b7d30 100644 --- a/packages/icons/yew/src/underline_icon.rs +++ b/packages/icons/yew/src/underline_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct UnderlineIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn UnderlineIcon(props: &UnderlineIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M5.00001 2.75C5.00001 2.47386 4.77615 2.25 4.50001 2.25C4.22387 2.25 4.00001 2.47386 4.00001 2.75V8.05C4.00001 9.983 5.56702 11.55 7.50001 11.55C9.43301 11.55 11 9.983 11 8.05V2.75C11 2.47386 10.7762 2.25 10.5 2.25C10.2239 2.25 10 2.47386 10 2.75V8.05C10 9.43071 8.88072 10.55 7.50001 10.55C6.1193 10.55 5.00001 9.43071 5.00001 8.05V2.75ZM3.49998 13.1001C3.27906 13.1001 3.09998 13.2791 3.09998 13.5001C3.09998 13.721 3.27906 13.9001 3.49998 13.9001H11.5C11.7209 13.9001 11.9 13.721 11.9 13.5001C11.9 13.2791 11.7209 13.1001 11.5 13.1001H3.49998Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/update_icon.rs b/packages/icons/yew/src/update_icon.rs index e452c61f..2c6df480 100644 --- a/packages/icons/yew/src/update_icon.rs +++ b/packages/icons/yew/src/update_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct UpdateIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn UpdateIcon(props: &UpdateIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.90321 7.29677C1.90321 10.341 4.11041 12.4147 6.58893 12.8439C6.87255 12.893 7.06266 13.1627 7.01355 13.4464C6.96444 13.73 6.69471 13.9201 6.41109 13.871C3.49942 13.3668 0.86084 10.9127 0.86084 7.29677C0.860839 5.76009 1.55996 4.55245 2.37639 3.63377C2.96124 2.97568 3.63034 2.44135 4.16846 2.03202L2.53205 2.03202C2.25591 2.03202 2.03205 1.80816 2.03205 1.53202C2.03205 1.25588 2.25591 1.03202 2.53205 1.03202L5.53205 1.03202C5.80819 1.03202 6.03205 1.25588 6.03205 1.53202L6.03205 4.53202C6.03205 4.80816 5.80819 5.03202 5.53205 5.03202C5.25591 5.03202 5.03205 4.80816 5.03205 4.53202L5.03205 2.68645L5.03054 2.68759L5.03045 2.68766L5.03044 2.68767L5.03043 2.68767C4.45896 3.11868 3.76059 3.64538 3.15554 4.3262C2.44102 5.13021 1.90321 6.10154 1.90321 7.29677ZM13.0109 7.70321C13.0109 4.69115 10.8505 2.6296 8.40384 2.17029C8.12093 2.11718 7.93465 1.84479 7.98776 1.56188C8.04087 1.27898 8.31326 1.0927 8.59616 1.14581C11.4704 1.68541 14.0532 4.12605 14.0532 7.70321C14.0532 9.23988 13.3541 10.4475 12.5377 11.3662C11.9528 12.0243 11.2837 12.5586 10.7456 12.968L12.3821 12.968C12.6582 12.968 12.8821 13.1918 12.8821 13.468C12.8821 13.7441 12.6582 13.968 12.3821 13.968L9.38205 13.968C9.10591 13.968 8.88205 13.7441 8.88205 13.468L8.88205 10.468C8.88205 10.1918 9.10591 9.96796 9.38205 9.96796C9.65819 9.96796 9.88205 10.1918 9.88205 10.468L9.88205 12.3135L9.88362 12.3123C10.4551 11.8813 11.1535 11.3546 11.7585 10.6738C12.4731 9.86976 13.0109 8.89844 13.0109 7.70321Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/upload_icon.rs b/packages/icons/yew/src/upload_icon.rs index 53de8cfe..009b3f26 100644 --- a/packages/icons/yew/src/upload_icon.rs +++ b/packages/icons/yew/src/upload_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct UploadIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn UploadIcon(props: &UploadIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.81825 1.18188C7.64251 1.00615 7.35759 1.00615 7.18185 1.18188L4.18185 4.18188C4.00611 4.35762 4.00611 4.64254 4.18185 4.81828C4.35759 4.99401 4.64251 4.99401 4.81825 4.81828L7.05005 2.58648V9.49996C7.05005 9.74849 7.25152 9.94996 7.50005 9.94996C7.74858 9.94996 7.95005 9.74849 7.95005 9.49996V2.58648L10.1819 4.81828C10.3576 4.99401 10.6425 4.99401 10.8182 4.81828C10.994 4.64254 10.994 4.35762 10.8182 4.18188L7.81825 1.18188ZM2.5 9.99997C2.77614 9.99997 3 10.2238 3 10.5V12C3 12.5538 3.44565 13 3.99635 13H11.0012C11.5529 13 12 12.5528 12 12V10.5C12 10.2238 12.2239 9.99997 12.5 9.99997C12.7761 9.99997 13 10.2238 13 10.5V12C13 13.104 12.1062 14 11.0012 14H3.99635C2.89019 14 2 13.103 2 12V10.5C2 10.2238 2.22386 9.99997 2.5 9.99997Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/value_icon.rs b/packages/icons/yew/src/value_icon.rs index 0ed6fde8..4d98198a 100644 --- a/packages/icons/yew/src/value_icon.rs +++ b/packages/icons/yew/src/value_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ValueIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ValueIcon(props: &ValueIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M0.877075 7.49988C0.877075 3.84219 3.84222 0.877045 7.49991 0.877045C11.1576 0.877045 14.1227 3.84219 14.1227 7.49988C14.1227 11.1575 11.1576 14.1227 7.49991 14.1227C3.84222 14.1227 0.877075 11.1575 0.877075 7.49988ZM7.49991 1.82704C4.36689 1.82704 1.82708 4.36686 1.82708 7.49988C1.82708 10.6329 4.36689 13.1727 7.49991 13.1727C10.6329 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 4.36686 10.6329 1.82704 7.49991 1.82704Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/value_none_icon.rs b/packages/icons/yew/src/value_none_icon.rs index 9ccdaa36..bae73a6e 100644 --- a/packages/icons/yew/src/value_none_icon.rs +++ b/packages/icons/yew/src/value_none_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ValueNoneIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ValueNoneIcon(props: &ValueNoneIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49985 0.877045C3.84216 0.877045 0.877014 3.84219 0.877014 7.49988C0.877014 9.1488 1.47963 10.657 2.47665 11.8162L1.64643 12.6464C1.45117 12.8417 1.45117 13.1583 1.64643 13.3535C1.8417 13.5488 2.15828 13.5488 2.35354 13.3535L3.18377 12.5233C4.34296 13.5202 5.85104 14.1227 7.49985 14.1227C11.1575 14.1227 14.1227 11.1575 14.1227 7.49988C14.1227 5.85107 13.5202 4.34299 12.5233 3.1838L13.3535 2.35354C13.5488 2.15827 13.5488 1.84169 13.3535 1.64643C13.1583 1.45117 12.8417 1.45117 12.6464 1.64643L11.8162 2.47668C10.657 1.47966 9.14877 0.877045 7.49985 0.877045ZM11.1422 3.15066C10.1567 2.32449 8.88639 1.82704 7.49985 1.82704C4.36683 1.82704 1.82701 4.36686 1.82701 7.49988C1.82701 8.88642 2.32446 10.1568 3.15063 11.1422L11.1422 3.15066ZM3.85776 11.8493C4.84317 12.6753 6.11343 13.1727 7.49985 13.1727C10.6328 13.1727 13.1727 10.6329 13.1727 7.49988C13.1727 6.11346 12.6753 4.8432 11.8493 3.85779L3.85776 11.8493Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/vercel_logo_icon.rs b/packages/icons/yew/src/vercel_logo_icon.rs index a96cb32c..2f837713 100644 --- a/packages/icons/yew/src/vercel_logo_icon.rs +++ b/packages/icons/yew/src/vercel_logo_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct VercelLogoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn VercelLogoIcon(props: &VercelLogoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7.49998 1L6.92321 2.00307L1.17498 12L0.599976 13H1.7535H13.2464H14.4L13.825 12L8.07674 2.00307L7.49998 1ZM7.49998 3.00613L2.3285 12H12.6714L7.49998 3.00613Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/video_icon.rs b/packages/icons/yew/src/video_icon.rs index a0c0845f..811075b7 100644 --- a/packages/icons/yew/src/video_icon.rs +++ b/packages/icons/yew/src/video_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct VideoIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn VideoIcon(props: &VideoIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.76447 3.12199C5.63151 3.04859 6.56082 3 7.5 3C8.43918 3 9.36849 3.04859 10.2355 3.12199C11.2796 3.21037 11.9553 3.27008 12.472 3.39203C12.9425 3.50304 13.2048 3.64976 13.4306 3.88086C13.4553 3.90618 13.4902 3.94414 13.5133 3.97092C13.7126 4.20149 13.8435 4.4887 13.918 5.03283C13.9978 5.6156 14 6.37644 14 7.52493C14 8.66026 13.9978 9.41019 13.9181 9.98538C13.8439 10.5206 13.7137 10.8061 13.5125 11.0387C13.4896 11.0651 13.4541 11.1038 13.4296 11.1287C13.2009 11.3625 12.9406 11.5076 12.4818 11.6164C11.9752 11.7365 11.3143 11.7942 10.2878 11.8797C9.41948 11.9521 8.47566 12 7.5 12C6.52434 12 5.58052 11.9521 4.7122 11.8797C3.68572 11.7942 3.02477 11.7365 2.51816 11.6164C2.05936 11.5076 1.7991 11.3625 1.57037 11.1287C1.54593 11.1038 1.51035 11.0651 1.48748 11.0387C1.28628 10.8061 1.15612 10.5206 1.08193 9.98538C1.00221 9.41019 1 8.66026 1 7.52493C1 6.37644 1.00216 5.6156 1.082 5.03283C1.15654 4.4887 1.28744 4.20149 1.48666 3.97092C1.5098 3.94414 1.54468 3.90618 1.56942 3.88086C1.7952 3.64976 2.05752 3.50304 2.52796 3.39203C3.04473 3.27008 3.7204 3.21037 4.76447 3.12199ZM0 7.52493C0 5.28296 0 4.16198 0.729985 3.31713C0.766457 3.27491 0.815139 3.22194 0.854123 3.18204C1.63439 2.38339 2.64963 2.29744 4.68012 2.12555C5.56923 2.05028 6.52724 2 7.5 2C8.47276 2 9.43077 2.05028 10.3199 2.12555C12.3504 2.29744 13.3656 2.38339 14.1459 3.18204C14.1849 3.22194 14.2335 3.27491 14.27 3.31713C15 4.16198 15 5.28296 15 7.52493C15 9.74012 15 10.8477 14.2688 11.6929C14.2326 11.7348 14.1832 11.7885 14.1444 11.8281C13.3629 12.6269 12.3655 12.71 10.3709 12.8763C9.47971 12.9505 8.50782 13 7.5 13C6.49218 13 5.52028 12.9505 4.62915 12.8763C2.63446 12.71 1.63712 12.6269 0.855558 11.8281C0.816844 11.7885 0.767442 11.7348 0.731221 11.6929C0 10.8477 0 9.74012 0 7.52493ZM5.25 5.38264C5.25 5.20225 5.43522 5.08124 5.60041 5.15369L10.428 7.27105C10.6274 7.35853 10.6274 7.64147 10.428 7.72895L5.60041 9.84631C5.43522 9.91876 5.25 9.79775 5.25 9.61736V5.38264Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/view_grid_icon.rs b/packages/icons/yew/src/view_grid_icon.rs index a5cfe9f2..3f357f23 100644 --- a/packages/icons/yew/src/view_grid_icon.rs +++ b/packages/icons/yew/src/view_grid_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ViewGridIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ViewGridIcon(props: &ViewGridIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M7 2H1.5C1.22386 2 1 2.22386 1 2.5V7H7V2ZM8 2V7H14V2.5C14 2.22386 13.7761 2 13.5 2H8ZM7 8H1V12.5C1 12.7761 1.22386 13 1.5 13H7V8ZM8 13V8H14V12.5C14 12.7761 13.7761 13 13.5 13H8ZM1.5 1C0.671573 1 0 1.67157 0 2.5V12.5C0 13.3284 0.671573 14 1.5 14H13.5C14.3284 14 15 13.3284 15 12.5V2.5C15 1.67157 14.3284 1 13.5 1H1.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/view_horizontal_icon.rs b/packages/icons/yew/src/view_horizontal_icon.rs index c90d811e..b820151c 100644 --- a/packages/icons/yew/src/view_horizontal_icon.rs +++ b/packages/icons/yew/src/view_horizontal_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ViewHorizontalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ViewHorizontalIcon(props: &ViewHorizontalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M1.5 2H13.5C13.7761 2 14 2.22386 14 2.5V7H1V2.5C1 2.22386 1.22386 2 1.5 2ZM1 8V12.5C1 12.7761 1.22386 13 1.5 13H13.5C13.7761 13 14 12.7761 14 12.5V8H1ZM0 2.5C0 1.67157 0.671573 1 1.5 1H13.5C14.3284 1 15 1.67157 15 2.5V12.5C15 13.3284 14.3284 14 13.5 14H1.5C0.671573 14 0 13.3284 0 12.5V2.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/view_none_icon.rs b/packages/icons/yew/src/view_none_icon.rs index 15a75c49..8d7d1be3 100644 --- a/packages/icons/yew/src/view_none_icon.rs +++ b/packages/icons/yew/src/view_none_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ViewNoneIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ViewNoneIcon(props: &ViewNoneIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M14 2.58711L1.85163 13H13.5C13.7761 13 14 12.7761 14 12.5V2.58711ZM0.762879 13.8067L0.825396 13.8796L0.854717 13.8545C1.05017 13.9478 1.26899 14 1.5 14H13.5C14.3284 14 15 13.3284 15 12.5V2.5C15 1.93949 14.6926 1.45078 14.2371 1.19331L14.1746 1.12037L14.1453 1.1455C13.9498 1.05222 13.731 1 13.5 1H1.5C0.671573 1 0 1.67157 0 2.5V12.5C0 13.0605 0.307435 13.5492 0.762879 13.8067ZM1 12.4129L13.1484 2H1.5C1.22386 2 1 2.22386 1 2.5V12.4129Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/view_vertical_icon.rs b/packages/icons/yew/src/view_vertical_icon.rs index 780bfdbb..942941f5 100644 --- a/packages/icons/yew/src/view_vertical_icon.rs +++ b/packages/icons/yew/src/view_vertical_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ViewVerticalIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ViewVerticalIcon(props: &ViewVerticalIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M8 2H13.5C13.7761 2 14 2.22386 14 2.5V12.5C14 12.7761 13.7761 13 13.5 13H8V2ZM7 2H1.5C1.22386 2 1 2.22386 1 2.5V12.5C1 12.7761 1.22386 13 1.5 13H7V2ZM0 2.5C0 1.67157 0.671573 1 1.5 1H13.5C14.3284 1 15 1.67157 15 2.5V12.5C15 13.3284 14.3284 14 13.5 14H1.5C0.671573 14 0 13.3284 0 12.5V2.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/width_icon.rs b/packages/icons/yew/src/width_icon.rs index 47b3193d..f92cd949 100644 --- a/packages/icons/yew/src/width_icon.rs +++ b/packages/icons/yew/src/width_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct WidthIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn WidthIcon(props: &WidthIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M4.81812 4.68161C4.99386 4.85734 4.99386 5.14227 4.81812 5.318L3.08632 7.0498H11.9135L10.1817 5.318C10.006 5.14227 10.006 4.85734 10.1817 4.68161C10.3575 4.50587 10.6424 4.50587 10.8181 4.68161L13.3181 7.18161C13.4939 7.35734 13.4939 7.64227 13.3181 7.818L10.8181 10.318C10.6424 10.4937 10.3575 10.4937 10.1817 10.318C10.006 10.1423 10.006 9.85734 10.1817 9.68161L11.9135 7.9498H3.08632L4.81812 9.68161C4.99386 9.85734 4.99386 10.1423 4.81812 10.318C4.64239 10.4937 4.35746 10.4937 4.18173 10.318L1.68173 7.818C1.50599 7.64227 1.50599 7.35734 1.68173 7.18161L4.18173 4.68161C4.35746 4.50587 4.64239 4.50587 4.81812 4.68161Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/zoom_in_icon.rs b/packages/icons/yew/src/zoom_in_icon.rs index 6a654f11..86e8575a 100644 --- a/packages/icons/yew/src/zoom_in_icon.rs +++ b/packages/icons/yew/src/zoom_in_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ZoomInIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ZoomInIcon(props: &ZoomInIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M10 6.5C10 8.433 8.433 10 6.5 10C4.567 10 3 8.433 3 6.5C3 4.567 4.567 3 6.5 3C8.433 3 10 4.567 10 6.5ZM9.30884 10.0159C8.53901 10.6318 7.56251 11 6.5 11C4.01472 11 2 8.98528 2 6.5C2 4.01472 4.01472 2 6.5 2C8.98528 2 11 4.01472 11 6.5C11 7.56251 10.6318 8.53901 10.0159 9.30884L12.8536 12.1464C13.0488 12.3417 13.0488 12.6583 12.8536 12.8536C12.6583 13.0488 12.3417 13.0488 12.1464 12.8536L9.30884 10.0159ZM4.25 6.5C4.25 6.22386 4.47386 6 4.75 6H6V4.75C6 4.47386 6.22386 4.25 6.5 4.25C6.77614 4.25 7 4.47386 7 4.75V6H8.25C8.52614 6 8.75 6.22386 8.75 6.5C8.75 6.77614 8.52614 7 8.25 7H7V8.25C7 8.52614 6.77614 8.75 6.5 8.75C6.22386 8.75 6 8.52614 6 8.25V7H4.75C4.47386 7 4.25 6.77614 4.25 6.5Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/packages/icons/yew/src/zoom_out_icon.rs b/packages/icons/yew/src/zoom_out_icon.rs index a507b10e..fc5a1504 100644 --- a/packages/icons/yew/src/zoom_out_icon.rs +++ b/packages/icons/yew/src/zoom_out_icon.rs @@ -1,24 +1,25 @@ use yew::prelude::*; #[derive(PartialEq, Properties)] pub struct ZoomOutIconProps { - #[prop_or_default] - pub class: Option, + #[prop_or(15)] + pub width: usize, + #[prop_or(15)] + pub height: usize, #[prop_or(AttrValue::from("currentColor"))] pub color: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub width: AttrValue, - #[prop_or(AttrValue::from("15"))] - pub height: AttrValue, + #[prop_or_default] + pub class: Classes, + #[prop_or_default] + pub node_ref: NodeRef, } #[function_component] pub fn ZoomOutIcon(props: &ZoomOutIconProps) -> Html { - let node_ref = use_node_ref(); html! { Html { fill-rule="evenodd" clip-rule="evenodd" d="M6.5 10C8.433 10 10 8.433 10 6.5C10 4.567 8.433 3 6.5 3C4.567 3 3 4.567 3 6.5C3 8.433 4.567 10 6.5 10ZM6.5 11C7.56251 11 8.53901 10.6318 9.30884 10.0159L12.1464 12.8536C12.3417 13.0488 12.6583 13.0488 12.8536 12.8536C13.0488 12.6583 13.0488 12.3417 12.8536 12.1464L10.0159 9.30884C10.6318 8.53901 11 7.56251 11 6.5C11 4.01472 8.98528 2 6.5 2C4.01472 2 2 4.01472 2 6.5C2 8.98528 4.01472 11 6.5 11ZM4.75 6C4.47386 6 4.25 6.22386 4.25 6.5C4.25 6.77614 4.47386 7 4.75 7H8.25C8.52614 7 8.75 6.77614 8.75 6.5C8.75 6.22386 8.52614 6 8.25 6H4.75Z" - fill={&props.color} + fill={& props.color} /> } diff --git a/scripts/Cargo.toml b/scripts/Cargo.toml index 7182123c..1a480d7b 100644 --- a/scripts/Cargo.toml +++ b/scripts/Cargo.toml @@ -12,11 +12,14 @@ version.workspace = true [dependencies] convert_case = "0.6.0" env_logger = "0.11.3" +git2 = "0.20.0" http-body-util = "0.1.1" log.workspace = true octocrab = "0.42.0" prettyplease = "0.2.20" proc-macro2 = "1.0.86" quote = "1.0.36" +roxmltree = "0.20.0" syn = "2.0.72" +tempfile = "3.14.0" tokio = { version = "1.37.0", features = ["full"] } diff --git a/scripts/src/bin/icons.rs b/scripts/src/bin/icons.rs index ee37e475..a9fd040b 100644 --- a/scripts/src/bin/icons.rs +++ b/scripts/src/bin/icons.rs @@ -1,313 +1,76 @@ -#![feature(exit_status_error)] - -use std::path::{Path, PathBuf}; -use std::{env, fs, str}; -use std::{error::Error, process::Command}; +use std::{error::Error, fs, path::Path}; use convert_case::{Case, Casing}; -use http_body_util::BodyExt; -use proc_macro2::{Span, TokenStream}; -use quote::{quote, ToTokens}; -use syn::{token, Block, Expr, ExprLit, Lit, LitStr, Stmt}; - -const GITHUB_OWNER: &str = "radix-ui"; -const GITHUB_REPO: &str = "icons"; -const GITHUB_REF: &str = "master"; - -trait Framework { - fn name(&self) -> &'static str; - - fn lib_header(&self) -> Option; - - fn generate(&self, component_name: String, svg: String) -> Result>; - - fn generate_example(&self, component_names: &[String]) -> Result>; - - fn format(&self, package: String, path: PathBuf) -> Result<(), Box>; -} - -#[allow(dead_code)] -struct Dioxus; - -impl Framework for Dioxus { - fn name(&self) -> &'static str { - "dioxus" - } - - fn lib_header(&self) -> Option { - None - } - - fn generate( - &self, - _component_name: String, - _svg: String, - ) -> Result> { - // TODO - todo!() - } - - fn generate_example(&self, _component_names: &[String]) -> Result> { - // TODO - todo!() - } - - fn format(&self, _package: String, _path: PathBuf) -> Result<(), Box> { - Ok(()) - } -} - -struct Leptos; - -impl Framework for Leptos { - fn name(&self) -> &'static str { - "leptos" - } - - fn lib_header(&self) -> Option { - None - } - - fn generate(&self, component_name: String, svg: String) -> Result> { - let component_name: TokenStream = component_name.parse()?; - let svg: TokenStream = svg - .replace(" "fill=color", - _ => "fill=color.clone()", - }, - ) - .parse()?; - - Ok(quote! { - use leptos::{svg::Svg, *}; - - #[component] - pub fn #component_name( - #[prop(default = "currentColor".into(), into)] color: MaybeSignal, - #[prop(optional)] node_ref: NodeRef, - #[prop(attrs)] attrs: Vec<(&'static str, Attribute)>, - ) -> impl IntoView { - view! { - #svg - } - } - }) - } - - fn generate_example(&self, component_names: &[String]) -> Result> { - let mut component_name: Vec = vec![]; - let mut human_name: Vec = vec![]; +use git2::Repository; +use log::info; +use scripts::{ + framework::Framework, + frameworks::{dioxus::Dioxus, leptos::Leptos, yew::Yew}, +}; +use tempfile::tempdir; + +const GIT_URL: &str = "https://github.com/radix-ui/icons.git"; +const GIT_REF: &str = "@radix-ui/react-icons@1.3.2"; + +fn main() -> Result<(), Box> { + env_logger::init(); - for name in component_names { - component_name.push(name.parse()?); - human_name.push(name.trim_end_matches("Icon").to_case(Case::Title).parse()?); - } + let frameworks: [Box; 3] = [Box::new(Dioxus), Box::new(Leptos), Box::new(Yew)]; - Ok(quote! { - use leptos::*; - use radix_leptos_icons::*; - - #[component] - pub fn IconsDemo() -> impl IntoView { - view! { -
- #(
- <#component_name />#human_name -
)* -
- } - } - }) - } + let repository_path = tempdir()?; + let repository_icons_path = repository_path.path().join("packages/radix-icons/icons"); - fn format(&self, package: String, path: PathBuf) -> Result<(), Box> { - Command::new("cargo") - .arg("fmt") - .arg("-p") - .arg(package) - .status()? - .exit_ok()?; - - Command::new("leptosfmt") - .arg("--quiet") - .arg(path) - .status()? - .exit_ok()?; - - Ok(()) - } -} - -struct Yew; + info!( + "Cloning \"{}\" ref \"{}\" into \"{}\".", + GIT_URL, + GIT_REF, + repository_path.path().display() + ); -impl Framework for Yew { - fn name(&self) -> &'static str { - "yew" - } + git_checkout(&repository_path)?; - fn lib_header(&self) -> Option { - Some("#![allow(ambiguous_glob_reexports, non_snake_case)]".into()) - } + info!("Generating icons."); - fn generate(&self, component_name: String, svg: String) -> Result> { - // TODO: dynamic attributes? - - let component_name: TokenStream = component_name.parse()?; - let props_name: TokenStream = format!("{}Props", component_name).parse()?; - let svg: TokenStream = svg - .replace( - ", - #[prop_or_default] - pub node_ref: NodeRef, - } - - #[function_component] - pub fn #component_name(props: &#props_name) -> Html { - html! { - #svg - } - } - }) - } + let mut paths = vec![]; + for entry in fs::read_dir(repository_icons_path)? { + let path = entry?.path(); - fn generate_example(&self, component_names: &[String]) -> Result> { - let mut component_name: Vec = vec![]; - let mut human_name: Vec = vec![]; - - for name in component_names { - component_name.push(name.parse()?); - human_name.push( - Block { - brace_token: token::Brace(Span::call_site()), - stmts: vec![Stmt::Expr( - Expr::Lit(ExprLit { - attrs: vec![], - lit: Lit::Str(LitStr::new( - name.trim_end_matches("Icon").to_case(Case::Title).as_str(), - Span::call_site(), - )), - }), - None, - )], - } - .to_token_stream(), - ); + if !path.is_file() || path.extension().is_none_or(|extension| extension != "svg") { + continue; } - Ok(quote! { - use radix_yew_icons::*; - use yew::prelude::*; - - #[function_component] - pub fn IconsDemo() -> Html { - let icons = [ - #((html! { <#component_name /> }, #human_name),)* - ]; - - html! { -
- {icons.into_iter().map(|(icon, name)| html! { -
- {icon} - {name} -
- }).collect::()} -
- } - } - }) - } + let file_path = path.clone(); + let file_stem = file_path + .file_stem() + .expect("File stem should exist.") + .to_string_lossy() + .to_string(); - fn format(&self, package: String, _path: PathBuf) -> Result<(), Box> { - Command::new("cargo") - .arg("fmt") - .arg("-p") - .arg(package) - .env("RUSTFMT", "yew-fmt") - .status()? - .exit_ok()?; - - Ok(()) + paths.push((file_path, file_stem)); } -} - -#[tokio::main] -async fn main() -> Result<(), Box> { - env_logger::init(); - - let frameworks: [Box; 2] = [Box::new(Leptos), Box::new(Yew)]; - - octocrab::initialise( - octocrab::OctocrabBuilder::new() - .personal_token(env::var("GITHUB_TOKEN")?) - .build()?, - ); - let octocrab = octocrab::instance(); - let content_items = octocrab - .repos(GITHUB_OWNER, GITHUB_REPO) - .get_content() - .path("packages/radix-icons/icons") - .r#ref(GITHUB_REF) - .send() - .await?; + paths.sort_by_key(|(_, file_stem)| file_stem.clone()); let mut modules = vec![]; let mut component_names = vec![]; - #[allow(clippy::never_loop)] - for content in content_items.items { - let response = octocrab - .repos(GITHUB_OWNER, GITHUB_REPO) - .raw_file(GITHUB_REF.to_string(), &content.path) - .await?; - let (_, body) = response.into_parts(); - let body = body.collect().await?.to_bytes(); - let input = str::from_utf8(&body)?.to_string(); - - let file_name = &content.path[(content - .path - .rfind('/') - .expect("Path should contain a slash.") - + 1)..]; - - let module = file_name.replace(".svg", "-icon").to_case(Case::Snake); + for (path, file_stem) in paths { + let file_contents = fs::read_to_string(path)?; + + let module = format!("{file_stem}-icon").to_case(Case::Snake); modules.push(module.clone()); - let component_name = file_name.replace(".svg", "-icon").to_case(Case::Pascal); + let component_name = format!("{file_stem}-icon").to_case(Case::Pascal); component_names.push(component_name.clone()); - log::info!("{} - {}", module, component_name); + info!("{} - {}", module, component_name); for framework in &frameworks { generate_icon( &**framework, module.clone(), component_name.clone(), - input.clone(), + file_contents.clone(), )?; } } @@ -318,7 +81,8 @@ async fn main() -> Result<(), Box> { framework.format( format!("radix-{}-icons", framework.name()), - Path::new("packages/icons") + Path::new("packages") + .join("icons") .join(framework.name()) .join("src"), )?; @@ -335,13 +99,30 @@ async fn main() -> Result<(), Box> { Ok(()) } +fn git_checkout>(path: P) -> Result<(), Box> { + let repository = Repository::clone(GIT_URL, path)?; + let (object, reference) = repository.revparse_ext(GIT_REF)?; + + repository.checkout_tree(&object, None)?; + + match reference { + Some(reference) => { + repository.set_head(reference.name().expect("Reference name should exist."))? + } + None => repository.set_head_detached(object.id())?, + } + + Ok(()) +} + fn generate_icon( framework: &dyn Framework, module: String, component_name: String, input: String, ) -> Result<(), Box> { - let output_path = Path::new("packages/icons") + let output_path = Path::new("packages") + .join("icons") .join(framework.name()) .join("src") .join(format!("{}.rs", module)); @@ -373,20 +154,21 @@ fn generate_example( } fn generate_lib(framework: &dyn Framework, modules: &[String]) -> Result<(), Box> { - let output_path = Path::new("packages/icons") + let output_path = Path::new("packages") + .join("icons") .join(framework.name()) .join("src") .join("lib.rs"); let output_modules = modules .iter() - .map(|module| format!("mod {};", module)) + .map(|module| format!("mod {};", sanitize_identifier(module.as_str()))) .collect::>() .join("\n"); let output_uses = modules .iter() - .map(|module| format!("pub use {}::*;", module)) + .map(|module| format!("pub use {}::*;", sanitize_identifier(module.as_str()))) .collect::>() .join("\n"); @@ -404,3 +186,12 @@ fn generate_lib(framework: &dyn Framework, modules: &[String]) -> Result<(), Box Ok(()) } + +fn sanitize_identifier(identifier: &str) -> &str { + match identifier { + "box" => "r#box", + "move" => "r#move", + "type" => "r#type", + identifier => identifier, + } +} diff --git a/scripts/src/framework.rs b/scripts/src/framework.rs new file mode 100644 index 00000000..d62846bc --- /dev/null +++ b/scripts/src/framework.rs @@ -0,0 +1,15 @@ +use std::{error::Error, path::PathBuf}; + +use proc_macro2::TokenStream; + +pub trait Framework { + fn name(&self) -> &'static str; + + fn lib_header(&self) -> Option; + + fn generate(&self, component_name: String, svg: String) -> Result>; + + fn generate_example(&self, component_names: &[String]) -> Result>; + + fn format(&self, package: String, path: PathBuf) -> Result<(), Box>; +} diff --git a/scripts/src/frameworks.rs b/scripts/src/frameworks.rs new file mode 100644 index 00000000..ead39b62 --- /dev/null +++ b/scripts/src/frameworks.rs @@ -0,0 +1,3 @@ +pub mod dioxus; +pub mod leptos; +pub mod yew; diff --git a/scripts/src/frameworks/dioxus.rs b/scripts/src/frameworks/dioxus.rs new file mode 100644 index 00000000..712da183 --- /dev/null +++ b/scripts/src/frameworks/dioxus.rs @@ -0,0 +1,216 @@ +use std::{error::Error, path::PathBuf, process::Command}; + +use convert_case::{Case, Casing}; +use proc_macro2::TokenStream; +use quote::{quote, ToTokens}; +use roxmltree::{Attribute, Children, Document, Node, NodeType}; + +use crate::framework::Framework; + +pub struct Dioxus; + +impl Framework for Dioxus { + fn name(&self) -> &'static str { + "dioxus" + } + + fn lib_header(&self) -> Option { + Some( + "\ + //! Dioxus port of [Radix Icons](https://www.radix-ui.com/icons).\n\ + //!\n\ + //! Radix Icons is a crisp set of 15x15 icons.\n\ + //!\n\ + //! See [the Rust Radix book](https://radix.rustforweb.org/icons/index.html) for more documenation.\n\ + " + .to_owned() + ) + } + + fn generate(&self, component_name: String, svg: String) -> Result> { + let document = Document::parse(&svg)?; + let svg = convert_children(document.root().children(), None); + + let component_name: TokenStream = component_name.parse()?; + let props_name: TokenStream = format!("{}Props", component_name).parse()?; + + Ok(quote! { + use dioxus::prelude::*; + + #[derive(Clone, PartialEq, Props)] + pub struct #props_name { + #[props(default = 15)] + pub width: usize, + #[props(default = 15)] + pub height: usize, + #[props(default = "currentColor".to_owned())] + pub color: String, + pub class: Option, + } + + #[component] + pub fn #component_name(props: #props_name) -> Element { + rsx! { + #svg + } + } + }) + } + + fn generate_example(&self, component_names: &[String]) -> Result> { + let mut letter_component_name: Vec = vec![]; + let mut letter_component: Vec = vec![]; + + for letter in 'A'..='Z' { + let mut component_name: Vec = vec![]; + let mut human_name: Vec = vec![]; + + for name in component_names { + if !name.starts_with(letter) { + continue; + } + + component_name.push(name.parse()?); + human_name.push( + name.trim_end_matches("Icon") + .to_case(Case::Title) + .to_token_stream(), + ); + } + + if component_name.is_empty() { + continue; + } + + let name: TokenStream = format!("Icons{letter}").parse()?; + letter_component_name.push(quote! { + #name {} + }); + letter_component.push(quote! { + #[component] + pub fn #name() -> Element { + let icons = [ + #((rsx! { #component_name {} }, #human_name),)* + ]; + + rsx! { + for (icon, name) in icons { + div { + key: "{name}", + class: "flex flex-wrap items-center gap-4 text-sm text-white", + {icon} + span { + {name} + } + } + } + } + } + }); + } + + Ok(quote! { + use dioxus::prelude::*; + use radix_dioxus_icons::*; + + #[component] + pub fn Icons() -> Element { + rsx! { + div { + class: "w-full max-w-80 py-4" + #(#letter_component_name)* + } + } + } + + #(#letter_component)* + }) + } + + fn format(&self, package: String, path: PathBuf) -> Result<(), Box> { + Command::new("dx") + .arg("fmt") + .current_dir(path) + .status()? + .exit_ok()?; + + Command::new("cargo") + .arg("fmt") + .arg("-p") + .arg(&package) + .status()? + .exit_ok()?; + + Ok(()) + } +} + +fn convert_children(children: Children, parent_namespace: Option<&str>) -> TokenStream { + children + .into_iter() + .filter_map(|node| convert_node(node, parent_namespace)) + .collect() +} + +fn convert_node(node: Node, parent_namespace: Option<&str>) -> Option { + match node.node_type() { + NodeType::Element => { + let name = node + .tag_name() + .name() + .parse::() + .expect("Node name should be parsed."); + let namespace = node.tag_name().namespace().and_then(|namespace| { + (Some(namespace) != parent_namespace).then(|| { + quote! { + "xmlns": #namespace, + } + }) + }); + let class = (node.tag_name().name() == "svg").then(|| { + quote! { + "class": if let Some(class) = props.class { "{class}" }, + } + }); + let attributes = node + .attributes() + .map(|attribute| convert_attribute(attribute, node.tag_name().name())) + .collect::>(); + let children = convert_children( + node.children(), + node.tag_name().namespace().or(parent_namespace), + ); + + Some(quote! { + #name { + #namespace + #class + #(#attributes,)* + #children + } + }) + } + _ => None, + } +} + +fn convert_attribute(attribute: Attribute, node_name: &str) -> TokenStream { + let name = attribute.name(); + let value = if node_name == "svg" { + match name { + "width" => "{props.width}", + "height" => "{props.height}", + "fill" if attribute.value() == "currentColor" => "{props.color}", + _ => attribute.value(), + } + } else { + match name { + "fill" if attribute.value() == "currentColor" => "{props.color}", + _ => attribute.value(), + } + }; + + quote! { + #name: #value + } +} diff --git a/scripts/src/frameworks/leptos.rs b/scripts/src/frameworks/leptos.rs new file mode 100644 index 00000000..4d4fdadd --- /dev/null +++ b/scripts/src/frameworks/leptos.rs @@ -0,0 +1,141 @@ +use std::{error::Error, path::PathBuf, process::Command}; + +use convert_case::{Case, Casing}; +use proc_macro2::TokenStream; +use quote::{quote, ToTokens}; + +use crate::framework::Framework; + +pub struct Leptos; + +impl Framework for Leptos { + fn name(&self) -> &'static str { + "leptos" + } + + fn lib_header(&self) -> Option { + Some( + "\ + //! Leptos port of [Radix Icons](https://www.radix-ui.com/icons).\n\ + //!\n\ + //! Radix Icons is a crisp set of 15x15 icons.\n\ + //!\n\ + //! See [the Rust Radix book](https://radix.rustforweb.org/icons/index.html) for more documenation.\n\ + " + .to_owned() + ) + } + + fn generate(&self, component_name: String, svg: String) -> Result> { + let component_name: TokenStream = component_name.parse()?; + let svg: TokenStream = svg + .replacen(", + #[prop(default = 15.into(), into)] height: Signal, + #[prop(default = "currentColor".into(), into)] color: Signal, + #[prop(optional)] node_ref: NodeRef, + ) -> impl IntoView { + view! { + #svg + } + } + }) + } + + fn generate_example(&self, component_names: &[String]) -> Result> { + let mut letter_component_name: Vec = vec![]; + let mut letter_component: Vec = vec![]; + + for letter in 'A'..='Z' { + let mut component_name: Vec = vec![]; + let mut human_name: Vec = vec![]; + + for name in component_names { + if !name.starts_with(letter) { + continue; + } + + component_name.push(name.parse()?); + human_name.push( + name.trim_end_matches("Icon") + .to_case(Case::Title) + .to_token_stream(), + ); + } + + if component_name.is_empty() { + continue; + } + + let name: TokenStream = format!("Icons{letter}").parse()?; + letter_component_name.push(quote! { + <#name /> + }); + + letter_component.push(quote! { + #[component] + pub fn #name() -> impl IntoView { + view! { + }.into_any(), #human_name),)* + ] + key=|icon| icon.1 + children=move |(icon, name)| { + view! { +
+ {icon} + {name} +
+ } + } + /> + } + } + }); + } + + Ok(quote! { + use leptos::prelude::*; + use radix_leptos_icons::*; + + #[component] + pub fn Icons() -> impl IntoView { + view! { +
+ #(#letter_component_name)* +
+ } + } + + #(#letter_component)* + }) + } + + fn format(&self, package: String, path: PathBuf) -> Result<(), Box> { + Command::new("cargo") + .arg("fmt") + .arg("-p") + .arg(&package) + .status()? + .exit_ok()?; + + Command::new("leptosfmt") + .arg("--quiet") + .arg(path) + .status()? + .exit_ok()?; + + Ok(()) + } +} diff --git a/scripts/src/frameworks/yew.rs b/scripts/src/frameworks/yew.rs new file mode 100644 index 00000000..8ce3ec30 --- /dev/null +++ b/scripts/src/frameworks/yew.rs @@ -0,0 +1,155 @@ +use std::{error::Error, path::PathBuf, process::Command}; + +use convert_case::{Case, Casing}; +use proc_macro2::TokenStream; +use quote::{quote, ToTokens}; + +use crate::framework::Framework; + +pub struct Yew; + +impl Framework for Yew { + fn name(&self) -> &'static str { + "yew" + } + + fn lib_header(&self) -> Option { + Some( + "\ + //! Yew port of [Radix Icons](https://www.radix-ui.com/icons).\n\ + //!\n\ + //! Radix Icons is a crisp set of 15x15 icons.\n\ + //!\n\ + //! See [the Rust Radix book](https://radix.rustforweb.org/icons/index.html) for more documenation.\n\ + \n\ + #![allow(ambiguous_glob_reexports)] + ".to_owned() + ) + } + + fn generate(&self, component_name: String, svg: String) -> Result> { + let component_name: TokenStream = component_name.parse()?; + let props_name: TokenStream = format!("{}Props", component_name).parse()?; + let svg: TokenStream = svg + .replacen( + " Html { + html! { + #svg + } + } + }) + } + + fn generate_example(&self, component_names: &[String]) -> Result> { + let mut letter_component_name: Vec = vec![]; + let mut letter_component: Vec = vec![]; + + for letter in 'A'..='Z' { + let mut component_name: Vec = vec![]; + let mut human_name: Vec = vec![]; + + for name in component_names { + if !name.starts_with(letter) { + continue; + } + + component_name.push(name.parse()?); + human_name.push( + name.trim_end_matches("Icon") + .to_case(Case::Title) + .to_token_stream(), + ); + } + + if component_name.is_empty() { + continue; + } + + let name: TokenStream = format!("Icons{letter}").parse()?; + letter_component_name.push(quote! { + <#name /> + }); + + letter_component.push(quote! { + #[function_component] + pub fn #name() -> Html { + let icons = [ + #((html! { <#component_name /> }, #human_name),)* + ]; + + icons + .into_iter() + .map(|(icon, name)| html! { +
+ {icon} + {name} +
+ }) + .collect::() + } + }); + } + + Ok(quote! { + use radix_yew_icons::*; + use yew::prelude::*; + + #[function_component] + pub fn Icons() -> Html { + html! { +
+ #(#letter_component_name)* +
+ } + } + + #(#letter_component)* + }) + } + + fn format(&self, package: String, _path: PathBuf) -> Result<(), Box> { + Command::new("cargo") + .arg("fmt") + .arg("-p") + .arg(&package) + .env("RUSTFMT", "yew-fmt") + .status()? + .exit_ok()?; + + Command::new("cargo") + .arg("fmt") + .arg("-p") + .arg(&package) + .status()? + .exit_ok()?; + + Ok(()) + } +} diff --git a/scripts/src/lib.rs b/scripts/src/lib.rs index 8b137891..1e6476b3 100644 --- a/scripts/src/lib.rs +++ b/scripts/src/lib.rs @@ -1 +1,4 @@ +#![feature(exit_status_error)] +pub mod framework; +pub mod frameworks;