diff --git a/README.md b/README.md index 5870b0d..981dd47 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ This library provides optimized svgs for each Heroicon packaged as a Phoenix Com Heroicons are designed by [Steve Schoger](https://twitter.com/steveschoger) -Current Heroicons Version: **2.0.10**. +Current Heroicons Version: **2.0.11**. ## Installation diff --git a/assets/icons/mini/bug-ant.svg b/assets/icons/mini/bug-ant.svg new file mode 100644 index 0000000..bc86615 --- /dev/null +++ b/assets/icons/mini/bug-ant.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/mini/eye-dropper.svg b/assets/icons/mini/eye-dropper.svg new file mode 100644 index 0000000..cce0833 --- /dev/null +++ b/assets/icons/mini/eye-dropper.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/mini/pause-circle.svg b/assets/icons/mini/pause-circle.svg new file mode 100644 index 0000000..732530a --- /dev/null +++ b/assets/icons/mini/pause-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/mini/play-circle.svg b/assets/icons/mini/play-circle.svg new file mode 100644 index 0000000..d1587b7 --- /dev/null +++ b/assets/icons/mini/play-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/mini/power.svg b/assets/icons/mini/power.svg new file mode 100644 index 0000000..1603820 --- /dev/null +++ b/assets/icons/mini/power.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/mini/rocket-launch.svg b/assets/icons/mini/rocket-launch.svg new file mode 100644 index 0000000..b97e89e --- /dev/null +++ b/assets/icons/mini/rocket-launch.svg @@ -0,0 +1,4 @@ + diff --git a/assets/icons/mini/square-3-stack-3d.svg b/assets/icons/mini/square-3-stack-3d.svg new file mode 100644 index 0000000..7d6b44f --- /dev/null +++ b/assets/icons/mini/square-3-stack-3d.svg @@ -0,0 +1,5 @@ + diff --git a/assets/icons/mini/stop-circle.svg b/assets/icons/mini/stop-circle.svg new file mode 100644 index 0000000..9167a64 --- /dev/null +++ b/assets/icons/mini/stop-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/mini/trophy.svg b/assets/icons/mini/trophy.svg new file mode 100644 index 0000000..e2ebdaf --- /dev/null +++ b/assets/icons/mini/trophy.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/mini/tv.svg b/assets/icons/mini/tv.svg new file mode 100644 index 0000000..b0c7209 --- /dev/null +++ b/assets/icons/mini/tv.svg @@ -0,0 +1,4 @@ + diff --git a/assets/icons/mini/viewfinder-circle.svg b/assets/icons/mini/viewfinder-circle.svg new file mode 100644 index 0000000..5cfe9fb --- /dev/null +++ b/assets/icons/mini/viewfinder-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/mini/window.svg b/assets/icons/mini/window.svg new file mode 100644 index 0000000..9110a2b --- /dev/null +++ b/assets/icons/mini/window.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/bug-ant.svg b/assets/icons/outline/bug-ant.svg new file mode 100644 index 0000000..ac04fad --- /dev/null +++ b/assets/icons/outline/bug-ant.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/eye-dropper.svg b/assets/icons/outline/eye-dropper.svg new file mode 100644 index 0000000..c7263e1 --- /dev/null +++ b/assets/icons/outline/eye-dropper.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/pause-circle.svg b/assets/icons/outline/pause-circle.svg new file mode 100644 index 0000000..a9a9e93 --- /dev/null +++ b/assets/icons/outline/pause-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/play-circle.svg b/assets/icons/outline/play-circle.svg new file mode 100644 index 0000000..3a2fa63 --- /dev/null +++ b/assets/icons/outline/play-circle.svg @@ -0,0 +1,4 @@ + diff --git a/assets/icons/outline/power.svg b/assets/icons/outline/power.svg new file mode 100644 index 0000000..c4b2706 --- /dev/null +++ b/assets/icons/outline/power.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/rocket-launch.svg b/assets/icons/outline/rocket-launch.svg new file mode 100644 index 0000000..6400ee8 --- /dev/null +++ b/assets/icons/outline/rocket-launch.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/square-3-stack-3d.svg b/assets/icons/outline/square-3-stack-3d.svg new file mode 100644 index 0000000..8af2704 --- /dev/null +++ b/assets/icons/outline/square-3-stack-3d.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/stop-circle.svg b/assets/icons/outline/stop-circle.svg new file mode 100644 index 0000000..b570e8e --- /dev/null +++ b/assets/icons/outline/stop-circle.svg @@ -0,0 +1,4 @@ + diff --git a/assets/icons/outline/trophy.svg b/assets/icons/outline/trophy.svg new file mode 100644 index 0000000..f846e52 --- /dev/null +++ b/assets/icons/outline/trophy.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/tv.svg b/assets/icons/outline/tv.svg new file mode 100644 index 0000000..7b8a706 --- /dev/null +++ b/assets/icons/outline/tv.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/viewfinder-circle.svg b/assets/icons/outline/viewfinder-circle.svg new file mode 100644 index 0000000..0583eef --- /dev/null +++ b/assets/icons/outline/viewfinder-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/outline/window.svg b/assets/icons/outline/window.svg new file mode 100644 index 0000000..4ffea71 --- /dev/null +++ b/assets/icons/outline/window.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/bug-ant.svg b/assets/icons/solid/bug-ant.svg new file mode 100644 index 0000000..3c16cbc --- /dev/null +++ b/assets/icons/solid/bug-ant.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/eye-dropper.svg b/assets/icons/solid/eye-dropper.svg new file mode 100644 index 0000000..15b16d0 --- /dev/null +++ b/assets/icons/solid/eye-dropper.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/pause-circle.svg b/assets/icons/solid/pause-circle.svg new file mode 100644 index 0000000..4fe4f2b --- /dev/null +++ b/assets/icons/solid/pause-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/play-circle.svg b/assets/icons/solid/play-circle.svg new file mode 100644 index 0000000..752273a --- /dev/null +++ b/assets/icons/solid/play-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/power.svg b/assets/icons/solid/power.svg new file mode 100644 index 0000000..2bf830f --- /dev/null +++ b/assets/icons/solid/power.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/rocket-launch.svg b/assets/icons/solid/rocket-launch.svg new file mode 100644 index 0000000..522fc64 --- /dev/null +++ b/assets/icons/solid/rocket-launch.svg @@ -0,0 +1,4 @@ + diff --git a/assets/icons/solid/square-3-stack-3d.svg b/assets/icons/solid/square-3-stack-3d.svg new file mode 100644 index 0000000..8ed638d --- /dev/null +++ b/assets/icons/solid/square-3-stack-3d.svg @@ -0,0 +1,5 @@ + diff --git a/assets/icons/solid/stop-circle.svg b/assets/icons/solid/stop-circle.svg new file mode 100644 index 0000000..8e57a2c --- /dev/null +++ b/assets/icons/solid/stop-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/trophy.svg b/assets/icons/solid/trophy.svg new file mode 100644 index 0000000..ed7ee15 --- /dev/null +++ b/assets/icons/solid/trophy.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/tv.svg b/assets/icons/solid/tv.svg new file mode 100644 index 0000000..8f27026 --- /dev/null +++ b/assets/icons/solid/tv.svg @@ -0,0 +1,4 @@ + diff --git a/assets/icons/solid/viewfinder-circle.svg b/assets/icons/solid/viewfinder-circle.svg new file mode 100644 index 0000000..e04b727 --- /dev/null +++ b/assets/icons/solid/viewfinder-circle.svg @@ -0,0 +1,3 @@ + diff --git a/assets/icons/solid/window.svg b/assets/icons/solid/window.svg new file mode 100644 index 0000000..4de83b3 --- /dev/null +++ b/assets/icons/solid/window.svg @@ -0,0 +1,3 @@ + diff --git a/lib/heroicons.ex b/lib/heroicons.ex index 7a951d3..a787aae 100644 --- a/lib/heroicons.ex +++ b/lib/heroicons.ex @@ -1,6 +1,6 @@ defmodule Heroicons do @moduledoc """ - Provides precompiled icon compiles from [heroicons.com v2.0.10](heroicons.com). + Provides precompiled icon compiles from [heroicons.com v2.0.11](heroicons.com). Heroicons are designed by [Steve Schoger](https://twitter.com/steveschoger) @@ -1363,6 +1363,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `trophy` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def trophy(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `user_group` icon. @@ -1843,6 +1873,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `tv` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def tv(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `adjustments_horizontal` icon. @@ -1933,6 +1993,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `power` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def power(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `building_storefront` icon. @@ -2563,6 +2653,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `eye_dropper` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def eye_dropper(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `hand_thumb_down` icon. @@ -3133,6 +3253,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `pause_circle` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def pause_circle(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `globe_asia_australia` icon. @@ -3403,6 +3553,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `rocket_launch` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def rocket_launch(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `camera` icon. @@ -3583,6 +3763,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `bug_ant` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def bug_ant(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `chevron_double_left` icon. @@ -4873,6 +5083,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `play_circle` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def play_circle(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `document_arrow_down` icon. @@ -5383,6 +5623,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `square_3_stack_3d` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def square_3_stack_3d(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `squares_2x2` icon. @@ -6433,6 +6703,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `window` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def window(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `bolt_slash` icon. @@ -7663,6 +7963,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `stop_circle` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def stop_circle(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `cursor_arrow_rays` icon. @@ -7783,6 +8113,36 @@ defmodule Heroicons do ) end + @doc """ + Renders the `viewfinder_circle` icon. + + By default, the outlined (24x24) component is used, but the `solid` or `mini` + attributes can be provided for alternative styles. + + You may also pass arbitrary HTML attributes to be applied to the svg tag. + + ## Examples + + ```heex + + + + + ``` + """ + attr :rest, :global, doc: "the arbitrary HTML attributes for the svg container" + attr :solid, :boolean, default: false + attr :mini, :boolean, default: false + + def viewfinder_circle(assigns) do + svg( + assigns, + ~S||, + ~S||, + ~S|| + ) + end + @doc """ Renders the `arrow_uturn_right` icon. diff --git a/lib/mix/tasks/heroicons/update.ex b/lib/mix/tasks/heroicons/update.ex index 60704ab..6c9107e 100644 --- a/lib/mix/tasks/heroicons/update.ex +++ b/lib/mix/tasks/heroicons/update.ex @@ -3,7 +3,7 @@ defmodule Mix.Tasks.Heroicons.Update do @moduledoc false @shortdoc false - @vsn "2.0.10" + @vsn "2.0.11" @tmp_dir_name "heroicons-elixir" # Updates the icons in the assets/icons directory