diff --git a/js-deps-get.sh b/js-deps-get.sh index ab855154f5..3f9d8936a9 100644 --- a/js-deps-get.sh +++ b/js-deps-get.sh @@ -3,24 +3,28 @@ # It cycles through a list of extensions (provided in args) and installs their JS deps, if any DEPS=${1} +# TOOL="npm install" +TOOL=yarn -yarn -v || npm -g install yarn || echo "Yarn is required to install JS deps" +command -v $TOOL || (command -v npm && npm -g install $TOOL) || echo "$TOOL is required to install JS deps!" for dep in $DEPS ; do - echo "Install JS deps from extension '$dep' with args '$2'" if cd "extensions/$dep/assets" 2>/dev/null ; then - yarn $2 + echo "Install JS deps from extension 'extensions/$dep' with args '$2'" + $TOOL $2 cd ../../../ fi if cd "forks/$dep/assets" 2>/dev/null ; then - yarn $2 + echo "Install JS deps from extension 'forks/$dep' with args '$2'" + $TOOL $2 cd ../../../ fi if cd "deps/$dep/assets" 2>/dev/null ; then - yarn $2 + echo "Install JS deps from extension 'deps/$dep' with args '$2'" + $TOOL $2 cd ../../../ else echo "The extension '$dep' is not available\n" diff --git a/lib/web/icons/ic/baseline-remove-red-eye.ex b/lib/web/icons/ic/baseline-remove-red-eye.ex index a80a54b369..1f6c84ad49 100644 --- a/lib/web/icons/ic/baseline-remove-red-eye.ex +++ b/lib/web/icons/ic/baseline-remove-red-eye.ex @@ -1,8 +1,21 @@ defmodule Iconify.Ic.BaselineRemoveRedEye do use Phoenix.Component + def render(assigns) do ~H""" - + """ end end diff --git a/lib/web/icons/material-symbols/settings.ex b/lib/web/icons/material-symbols/settings.ex index e051e728ba..fb6efdf5e7 100644 --- a/lib/web/icons/material-symbols/settings.ex +++ b/lib/web/icons/material-symbols/settings.ex @@ -1,8 +1,21 @@ defmodule Iconify.MaterialSymbols.Settings do use Phoenix.Component + def render(assigns) do ~H""" - + """ end end diff --git a/lib/web/icons/material-symbols/vpn-key-rounded.ex b/lib/web/icons/material-symbols/vpn-key-rounded.ex index 7cbda4050d..a77d58785a 100644 --- a/lib/web/icons/material-symbols/vpn-key-rounded.ex +++ b/lib/web/icons/material-symbols/vpn-key-rounded.ex @@ -1,8 +1,21 @@ defmodule Iconify.MaterialSymbols.VpnKeyRounded do use Phoenix.Component + def render(assigns) do ~H""" - + """ end end diff --git a/lib/web/icons/mdi/arrow-left.ex b/lib/web/icons/mdi/arrow-left.ex index 7cda2b0e5d..a0a325422e 100644 --- a/lib/web/icons/mdi/arrow-left.ex +++ b/lib/web/icons/mdi/arrow-left.ex @@ -1,8 +1,18 @@ defmodule Iconify.Mdi.ArrowLeft do use Phoenix.Component + def render(assigns) do ~H""" - + """ end end diff --git a/mix.lock b/mix.lock index eeaa590859..2e9877079e 100644 --- a/mix.lock +++ b/mix.lock @@ -14,7 +14,7 @@ "benchee": {:hex, :benchee, "1.1.0", "f3a43817209a92a1fade36ef36b86e1052627fd8934a8b937ac9ab3a76c43062", [:mix], [{:deep_merge, "~> 1.0", [hex: :deep_merge, repo: "hexpm", optional: false]}, {:statistex, "~> 1.0", [hex: :statistex, repo: "hexpm", optional: false]}], "hexpm", "7da57d545003165a012b587077f6ba90b89210fd88074ce3c60ce239eb5e6d93"}, "benchee_html": {:hex, :benchee_html, "1.0.0", "5b4d24effebd060f466fb460ec06576e7b34a00fc26b234fe4f12c4f05c95947", [:mix], [{:benchee, ">= 0.99.0 and < 2.0.0", [hex: :benchee, repo: "hexpm", optional: false]}, {:benchee_json, "~> 1.0", [hex: :benchee_json, repo: "hexpm", optional: false]}], "hexpm", "5280af9aac432ff5ca4216d03e8a93f32209510e925b60e7f27c33796f69e699"}, "benchee_json": {:hex, :benchee_json, "1.0.0", "cc661f4454d5995c08fe10dd1f2f72f229c8f0fb1c96f6b327a8c8fc96a91fe5", [:mix], [{:benchee, ">= 0.99.0 and < 2.0.0", [hex: :benchee, repo: "hexpm", optional: false]}, {:jason, "~> 1.0", [hex: :jason, repo: "hexpm", optional: false]}], "hexpm", "da05d813f9123505f870344d68fb7c86a4f0f9074df7d7b7e2bb011a63ec231c"}, - "bonfire": {:git, "https://github.com/bonfire-networks/bonfire_spark", "9609c0e5d8d035af4f4d9b3819e238575dbef9f8", [branch: "main"]}, + "bonfire": {:git, "https://github.com/bonfire-networks/bonfire_spark", "e82e1ca1d524c053ec5d28338506ffc2ee338105", [branch: "main"]}, "bonfire_api_graphql": {:git, "https://github.com/bonfire-networks/bonfire_api_graphql", "4bd0bc7297ceda80704b72eaeb1d682bd6ef865a", [branch: "main"]}, "bonfire_boundaries": {:git, "https://github.com/bonfire-networks/bonfire_boundaries", "3e4b04f831173fee4187c822b1236be15bdd1d2f", [branch: "main"]}, "bonfire_breadpub": {:git, "https://github.com/bonfire-networks/bonfire_breadpub", "521cec8dbe51aac67085415dfc0557f1e93a6028", [branch: "main"]}, @@ -41,13 +41,13 @@ "bonfire_me": {:git, "https://github.com/bonfire-networks/bonfire_me", "9adfaeffe69fe4585523f39cc57ab10beca7c478", [branch: "main"]}, "bonfire_pages": {:git, "https://github.com/bonfire-networks/bonfire_pages", "cae6f848cc0d1110f7e42b4a3ffe212f07653637", [branch: "main"]}, "bonfire_quantify": {:git, "https://github.com/bonfire-networks/bonfire_quantify", "2598795d4f7339bb759184c251a4d49e173fcba5", [branch: "main"]}, - "bonfire_search": {:git, "https://github.com/bonfire-networks/bonfire_search", "0842fd154dc97f74eb6d535baba843cfeed7da61", [branch: "main"]}, + "bonfire_search": {:git, "https://github.com/bonfire-networks/bonfire_search", "56a011c737f2354674bc3864d052a3a38a700356", [branch: "main"]}, "bonfire_social": {:git, "https://github.com/bonfire-networks/bonfire_social", "a08ad9a8b127aee1df7fdf1fd5d427a791a79505", [branch: "main"]}, "bonfire_tag": {:git, "https://github.com/bonfire-networks/bonfire_tag", "51082cbcb11121f23c556d3fcb4bae1078257892", [branch: "main"]}, - "bonfire_ui_common": {:git, "https://github.com/bonfire-networks/bonfire_ui_common", "b607800595083576edecddaafe0f8d2678596cf0", [branch: "main"]}, + "bonfire_ui_common": {:git, "https://github.com/bonfire-networks/bonfire_ui_common", "8920a77d31ce5572fc76bb5cd71d58699c7009ff", [branch: "main"]}, "bonfire_ui_coordination": {:git, "https://github.com/bonfire-networks/bonfire_ui_coordination", "2fd412764bfa82aebede8e0b97e8715a834a8db1", [branch: "main"]}, "bonfire_ui_kanban": {:git, "https://github.com/bonfire-networks/bonfire_ui_kanban", "22b3378bb7d57105743e7541b777078663636a75", [branch: "main"]}, - "bonfire_ui_me": {:git, "https://github.com/bonfire-networks/bonfire_ui_me", "4649049a05360a441ba40ea7f5077916094f43cb", [branch: "main"]}, + "bonfire_ui_me": {:git, "https://github.com/bonfire-networks/bonfire_ui_me", "54c8ae2d02f9300de313366b5be4bddf6eb16b68", [branch: "main"]}, "bonfire_ui_social": {:git, "https://github.com/bonfire-networks/bonfire_ui_social", "7e16a8a09bf9076ae104ccd4acb66605d21e82a0", [branch: "main"]}, "bonfire_ui_valueflows": {:git, "https://github.com/bonfire-networks/bonfire_ui_valueflows", "c709e2baf0009e315f8e224c8320595808c4f9bc", [branch: "main"]}, "bonfire_upcycle": {:git, "https://gitlab.com/bonfire-networks/bonfire_upcycle", "d769fc800728e105e637d2644ef2e28a1fb8ff58", [branch: "main"]},