This commit is contained in:
Mayel de Borniol 2022-12-23 18:25:18 +13:00
parent 94ca9369c9
commit d19c50c779
6 changed files with 66 additions and 13 deletions

View File

@ -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"

View File

@ -1,8 +1,21 @@
defmodule Iconify.Ic.BaselineRemoveRedEye do
use Phoenix.Component
def render(assigns) do
~H"""
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class={@class} viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3s3-1.34 3-3s-1.34-3-3-3z"/></svg>
<svg
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
role="img"
class={@class}
viewBox="0 0 24 24"
aria-hidden="true"
>
<path
fill="currentColor"
d="M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5s5 2.24 5 5s-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3s3-1.34 3-3s-1.34-3-3-3z"
/>
</svg>
"""
end
end

View File

@ -1,8 +1,21 @@
defmodule Iconify.MaterialSymbols.Settings do
use Phoenix.Component
def render(assigns) do
~H"""
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class={@class} viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="m9.25 22l-.4-3.2q-.325-.125-.612-.3q-.288-.175-.563-.375L4.7 19.375l-2.75-4.75l2.575-1.95Q4.5 12.5 4.5 12.337v-.675q0-.162.025-.337L1.95 9.375l2.75-4.75l2.975 1.25q.275-.2.575-.375q.3-.175.6-.3l.4-3.2h5.5l.4 3.2q.325.125.613.3q.287.175.562.375l2.975-1.25l2.75 4.75l-2.575 1.95q.025.175.025.337v.675q0 .163-.05.338l2.575 1.95l-2.75 4.75l-2.95-1.25q-.275.2-.575.375q-.3.175-.6.3l-.4 3.2Zm2.8-6.5q1.45 0 2.475-1.025Q15.55 13.45 15.55 12q0-1.45-1.025-2.475Q13.5 8.5 12.05 8.5q-1.475 0-2.488 1.025Q8.55 10.55 8.55 12q0 1.45 1.012 2.475Q10.575 15.5 12.05 15.5Z"/></svg>
<svg
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
role="img"
class={@class}
viewBox="0 0 24 24"
aria-hidden="true"
>
<path
fill="currentColor"
d="m9.25 22l-.4-3.2q-.325-.125-.612-.3q-.288-.175-.563-.375L4.7 19.375l-2.75-4.75l2.575-1.95Q4.5 12.5 4.5 12.337v-.675q0-.162.025-.337L1.95 9.375l2.75-4.75l2.975 1.25q.275-.2.575-.375q.3-.175.6-.3l.4-3.2h5.5l.4 3.2q.325.125.613.3q.287.175.562.375l2.975-1.25l2.75 4.75l-2.575 1.95q.025.175.025.337v.675q0 .163-.05.338l2.575 1.95l-2.75 4.75l-2.95-1.25q-.275.2-.575.375q-.3.175-.6.3l-.4 3.2Zm2.8-6.5q1.45 0 2.475-1.025Q15.55 13.45 15.55 12q0-1.45-1.025-2.475Q13.5 8.5 12.05 8.5q-1.475 0-2.488 1.025Q8.55 10.55 8.55 12q0 1.45 1.012 2.475Q10.575 15.5 12.05 15.5Z"
/>
</svg>
"""
end
end

View File

@ -1,8 +1,21 @@
defmodule Iconify.MaterialSymbols.VpnKeyRounded do
use Phoenix.Component
def render(assigns) do
~H"""
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class={@class} viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M7 18q-2.5 0-4.25-1.75T1 12q0-2.5 1.75-4.25T7 6q2.025 0 3.538 1.137Q12.05 8.275 12.65 10H21q.825 0 1.413.587Q23 11.175 23 12q0 .9-.625 1.45Q21.75 14 21 14v2q0 .825-.587 1.413Q19.825 18 19 18q-.825 0-1.413-.587Q17 16.825 17 16v-2h-4.35q-.6 1.725-2.112 2.863Q9.025 18 7 18Zm0-4q.825 0 1.412-.588Q9 12.825 9 12t-.588-1.413Q7.825 10 7 10t-1.412.587Q5 11.175 5 12q0 .825.588 1.412Q6.175 14 7 14Z"/></svg>
<svg
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
role="img"
class={@class}
viewBox="0 0 24 24"
aria-hidden="true"
>
<path
fill="currentColor"
d="M7 18q-2.5 0-4.25-1.75T1 12q0-2.5 1.75-4.25T7 6q2.025 0 3.538 1.137Q12.05 8.275 12.65 10H21q.825 0 1.413.587Q23 11.175 23 12q0 .9-.625 1.45Q21.75 14 21 14v2q0 .825-.587 1.413Q19.825 18 19 18q-.825 0-1.413-.587Q17 16.825 17 16v-2h-4.35q-.6 1.725-2.112 2.863Q9.025 18 7 18Zm0-4q.825 0 1.412-.588Q9 12.825 9 12t-.588-1.413Q7.825 10 7 10t-1.412.587Q5 11.175 5 12q0 .825.588 1.412Q6.175 14 7 14Z"
/>
</svg>
"""
end
end

View File

@ -1,8 +1,18 @@
defmodule Iconify.Mdi.ArrowLeft do
use Phoenix.Component
def render(assigns) do
~H"""
<svg xmlns="http://www.w3.org/2000/svg" aria-hidden="true" role="img" class={@class} viewBox="0 0 24 24" aria-hidden="true"><path fill="currentColor" d="M20 11v2H8l5.5 5.5l-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5L8 11h12Z"/></svg>
<svg
xmlns="http://www.w3.org/2000/svg"
aria-hidden="true"
role="img"
class={@class}
viewBox="0 0 24 24"
aria-hidden="true"
>
<path fill="currentColor" d="M20 11v2H8l5.5 5.5l-1.42 1.42L4.16 12l7.92-7.92L13.5 5.5L8 11h12Z" />
</svg>
"""
end
end

View File

@ -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"]},