changed
README.md
|
@@ -35,7 +35,7 @@ For development purposes (e.g running bin/icons-importer.ts)
|
35
35
|
|
36
36
|
Now, for icons importing (from /svg folder)
|
37
37
|
|
38
|
- ## Importing icons from moom-react
|
38
|
+ ## Importing icons from moon-react
|
39
39
|
```bash
|
40
40
|
rm priv/static/svgs/icons_new/*.svg
|
41
41
|
cp ../moon-icons-react/svg/*.svg priv/static/svgs/icons_new/
|
changed
VERSION
|
@@ -1 +1 @@
|
1
|
- 0.3.2
|
1
|
+ 0.3.3
|
changed
hex_metadata.config
|
@@ -1,6 +1,6 @@
|
1
1
|
{<<"links">>,[{<<"GitHub">>,<<"https://github.com/coingaming/moon-icons">>}]}.
|
2
2
|
{<<"name">>,<<"moon_icons">>}.
|
3
|
- {<<"version">>,<<"0.3.2">>}.
|
3
|
+ {<<"version">>,<<"0.3.3">>}.
|
4
4
|
{<<"description">>,
|
5
5
|
<<"Icons used in Moon Design system - both aka-components and svg files">>}.
|
6
6
|
{<<"elixir">>,<<"~> 1.14">>}.
|
|
@@ -30,7 +30,6 @@
|
30
30
|
<<"lib_ex/moon/icons/controls_diagonals_insight.ex">>,
|
31
31
|
<<"lib_ex/moon/icons/files_file.ex">>,
|
32
32
|
<<"lib_ex/moon/icons/text_numbers_list.ex">>,
|
33
|
- <<"lib_ex/moon/icons/sport_e_soccer.ex">>,
|
34
33
|
<<"lib_ex/moon/icons/files_clipboard_text.ex">>,
|
35
34
|
<<"lib_ex/moon/icons/maps_pin.ex">>,<<"lib_ex/moon/icons/travel_yacht.ex">>,
|
36
35
|
<<"lib_ex/moon/icons/files_table.ex">>,
|
|
@@ -130,7 +129,6 @@
|
130
129
|
<<"lib_ex/moon/icons/sport_bombay.ex">>,
|
131
130
|
<<"lib_ex/moon/icons/sport_speedway.ex">>,
|
132
131
|
<<"lib_ex/moon/icons/generic_loyalty.ex">>,
|
133
|
- <<"lib_ex/moon/icons/sport_m_m_a.ex">>,
|
134
132
|
<<"lib_ex/moon/icons/mail_filter.ex">>,
|
135
133
|
<<"lib_ex/moon/icons/sport_sportsbet.ex">>,
|
136
134
|
<<"lib_ex/moon/icons/files_export.ex">>,
|
|
@@ -282,7 +280,6 @@
|
282
280
|
<<"lib_ex/moon/icons/other_wind.ex">>,
|
283
281
|
<<"lib_ex/moon/icons/generic_bookmark.ex">>,
|
284
282
|
<<"lib_ex/moon/icons/other66_free.ex">>,
|
285
|
- <<"lib_ex/moon/icons/sport_lo_l.ex">>,
|
286
283
|
<<"lib_ex/moon/icons/media_gif_alternative.ex">>,
|
287
284
|
<<"lib_ex/moon/icons/other_sad.ex">>,<<"lib_ex/moon/icons/mail_link.ex">>,
|
288
285
|
<<"lib_ex/moon/icons/sport_archery.ex">>,
|
|
@@ -312,7 +309,6 @@
|
312
309
|
<<"lib_ex/moon/icons/media_headphones.ex">>,
|
313
310
|
<<"lib_ex/moon/icons/maps_compass.ex">>,
|
314
311
|
<<"lib_ex/moon/icons/arrows_boost.ex">>,
|
315
|
- <<"lib_ex/moon/icons/shop_cash_back.ex">>,
|
316
312
|
<<"lib_ex/moon/icons/other_rocket.ex">>,
|
317
313
|
<<"lib_ex/moon/icons/shop_cash_in.ex">>,
|
318
314
|
<<"lib_ex/moon/icons/security_bet_insurance.ex">>,
|
|
@@ -329,9 +325,7 @@
|
329
325
|
<<"lib_ex/moon/icons/generic_alarm.ex">>,
|
330
326
|
<<"lib_ex/moon/icons/sport_ski_jumping.ex">>,
|
331
327
|
<<"lib_ex/moon/icons/chat_comment_bubble_question_mark.ex">>,
|
332
|
- <<"lib_ex/moon/icons/age_limit.ex">>,
|
333
|
- <<"lib_ex/moon/icons/sport_c_s_g_o.ex">>,
|
334
|
- <<"lib_ex/moon/icons/media_html.ex">>,
|
328
|
+ <<"lib_ex/moon/icons/age_limit.ex">>,<<"lib_ex/moon/icons/media_html.ex">>,
|
335
329
|
<<"lib_ex/moon/icons/other_smile.ex">>,
|
336
330
|
<<"lib_ex/moon/icons/software_nut.ex">>,
|
337
331
|
<<"lib_ex/moon/icons/sport_rowing.ex">>,
|
|
@@ -390,7 +384,6 @@
|
390
384
|
<<"lib_ex/moon/icons/arrows_chevron_up_double.ex">>,
|
391
385
|
<<"lib_ex/moon/icons/generic_users.ex">>,
|
392
386
|
<<"lib_ex/moon/icons/generic_share_android.ex">>,
|
393
|
- <<"lib_ex/moon/icons/sport_e_n_b_a.ex">>,
|
394
387
|
<<"lib_ex/moon/icons/travel_room.ex">>,
|
395
388
|
<<"lib_ex/moon/icons/other_lifebuoy.ex">>,
|
396
389
|
<<"lib_ex/moon/icons/sport_baseball.ex">>,
|
removed
lib_ex/moon/icons/shop_cash_back.ex
|
@@ -1,32 +0,0 @@
|
1
|
- defmodule Moon.Icons.ShopCashBack do
|
2
|
- @moduledoc false
|
3
|
- use MoonIcons.StatelessComponent
|
4
|
-
|
5
|
- prop(click, :event)
|
6
|
- prop(class, :css_class)
|
7
|
-
|
8
|
- # All the other props below are deprecated!
|
9
|
- # Please use only tailwind classes and the class prop
|
10
|
- prop(font_size, :string)
|
11
|
- prop(color, :string, values: colors())
|
12
|
- prop(background_color, :string, values: colors())
|
13
|
-
|
14
|
- def render(assigns) do
|
15
|
- ~F"""
|
16
|
- <svg
|
17
|
- class={
|
18
|
- "moon-icon fill-none",
|
19
|
- @class,
|
20
|
- "text-#{@color}": @color,
|
21
|
- "bg-#{@background_color}": @background_color,
|
22
|
- "text-#{@font_size}": @font_size,
|
23
|
- "cursor-pointer": @click
|
24
|
- }
|
25
|
- :on-click={@click}
|
26
|
- style={get_style(color: @color, background_color: @background_color, font_size: @font_size)}
|
27
|
- >
|
28
|
- <use href="/moon_icons/svgs/icons_new/shop-cash-back.svg#item" />
|
29
|
- </svg>
|
30
|
- """
|
31
|
- end
|
32
|
- end
|
removed
lib_ex/moon/icons/sport_c_s_g_o.ex
|
@@ -1,32 +0,0 @@
|
1
|
- defmodule Moon.Icons.SportCSGO do
|
2
|
- @moduledoc false
|
3
|
- use MoonIcons.StatelessComponent
|
4
|
-
|
5
|
- prop(click, :event)
|
6
|
- prop(class, :css_class)
|
7
|
-
|
8
|
- # All the other props below are deprecated!
|
9
|
- # Please use only tailwind classes and the class prop
|
10
|
- prop(font_size, :string)
|
11
|
- prop(color, :string, values: colors())
|
12
|
- prop(background_color, :string, values: colors())
|
13
|
-
|
14
|
- def render(assigns) do
|
15
|
- ~F"""
|
16
|
- <svg
|
17
|
- class={
|
18
|
- "moon-icon fill-none",
|
19
|
- @class,
|
20
|
- "text-#{@color}": @color,
|
21
|
- "bg-#{@background_color}": @background_color,
|
22
|
- "text-#{@font_size}": @font_size,
|
23
|
- "cursor-pointer": @click
|
24
|
- }
|
25
|
- :on-click={@click}
|
26
|
- style={get_style(color: @color, background_color: @background_color, font_size: @font_size)}
|
27
|
- >
|
28
|
- <use href="/moon_icons/svgs/icons_new/sport-c-s-g-o.svg#item" />
|
29
|
- </svg>
|
30
|
- """
|
31
|
- end
|
32
|
- end
|
removed
lib_ex/moon/icons/sport_e_n_b_a.ex
|
@@ -1,32 +0,0 @@
|
1
|
- defmodule Moon.Icons.SportENBA do
|
2
|
- @moduledoc false
|
3
|
- use MoonIcons.StatelessComponent
|
4
|
-
|
5
|
- prop(click, :event)
|
6
|
- prop(class, :css_class)
|
7
|
-
|
8
|
- # All the other props below are deprecated!
|
9
|
- # Please use only tailwind classes and the class prop
|
10
|
- prop(font_size, :string)
|
11
|
- prop(color, :string, values: colors())
|
12
|
- prop(background_color, :string, values: colors())
|
13
|
-
|
14
|
- def render(assigns) do
|
15
|
- ~F"""
|
16
|
- <svg
|
17
|
- class={
|
18
|
- "moon-icon fill-none",
|
19
|
- @class,
|
20
|
- "text-#{@color}": @color,
|
21
|
- "bg-#{@background_color}": @background_color,
|
22
|
- "text-#{@font_size}": @font_size,
|
23
|
- "cursor-pointer": @click
|
24
|
- }
|
25
|
- :on-click={@click}
|
26
|
- style={get_style(color: @color, background_color: @background_color, font_size: @font_size)}
|
27
|
- >
|
28
|
- <use href="/moon_icons/svgs/icons_new/sport-e-n-b-a.svg#item" />
|
29
|
- </svg>
|
30
|
- """
|
31
|
- end
|
32
|
- end
|
removed
lib_ex/moon/icons/sport_e_soccer.ex
|
@@ -1,32 +0,0 @@
|
1
|
- defmodule Moon.Icons.SportESoccer do
|
2
|
- @moduledoc false
|
3
|
- use MoonIcons.StatelessComponent
|
4
|
-
|
5
|
- prop(click, :event)
|
6
|
- prop(class, :css_class)
|
7
|
-
|
8
|
- # All the other props below are deprecated!
|
9
|
- # Please use only tailwind classes and the class prop
|
10
|
- prop(font_size, :string)
|
11
|
- prop(color, :string, values: colors())
|
12
|
- prop(background_color, :string, values: colors())
|
13
|
-
|
14
|
- def render(assigns) do
|
15
|
- ~F"""
|
16
|
- <svg
|
17
|
- class={
|
18
|
- "moon-icon fill-none",
|
19
|
- @class,
|
20
|
- "text-#{@color}": @color,
|
21
|
- "bg-#{@background_color}": @background_color,
|
22
|
- "text-#{@font_size}": @font_size,
|
23
|
- "cursor-pointer": @click
|
24
|
- }
|
25
|
- :on-click={@click}
|
26
|
- style={get_style(color: @color, background_color: @background_color, font_size: @font_size)}
|
27
|
- >
|
28
|
- <use href="/moon_icons/svgs/icons_new/sport-e-soccer.svg#item" />
|
29
|
- </svg>
|
30
|
- """
|
31
|
- end
|
32
|
- end
|
removed
lib_ex/moon/icons/sport_lo_l.ex
|
@@ -1,32 +0,0 @@
|
1
|
- defmodule Moon.Icons.SportLoL do
|
2
|
- @moduledoc false
|
3
|
- use MoonIcons.StatelessComponent
|
4
|
-
|
5
|
- prop(click, :event)
|
6
|
- prop(class, :css_class)
|
7
|
-
|
8
|
- # All the other props below are deprecated!
|
9
|
- # Please use only tailwind classes and the class prop
|
10
|
- prop(font_size, :string)
|
11
|
- prop(color, :string, values: colors())
|
12
|
- prop(background_color, :string, values: colors())
|
13
|
-
|
14
|
- def render(assigns) do
|
15
|
- ~F"""
|
16
|
- <svg
|
17
|
- class={
|
18
|
- "moon-icon fill-none",
|
19
|
- @class,
|
20
|
- "text-#{@color}": @color,
|
21
|
- "bg-#{@background_color}": @background_color,
|
22
|
- "text-#{@font_size}": @font_size,
|
23
|
- "cursor-pointer": @click
|
24
|
- }
|
25
|
- :on-click={@click}
|
26
|
- style={get_style(color: @color, background_color: @background_color, font_size: @font_size)}
|
27
|
- >
|
28
|
- <use href="/moon_icons/svgs/icons_new/sport-lo-l.svg#item" />
|
29
|
- </svg>
|
30
|
- """
|
31
|
- end
|
32
|
- end
|
removed
lib_ex/moon/icons/sport_m_m_a.ex
|
@@ -1,32 +0,0 @@
|
1
|
- defmodule Moon.Icons.SportMMA do
|
2
|
- @moduledoc false
|
3
|
- use MoonIcons.StatelessComponent
|
4
|
-
|
5
|
- prop(click, :event)
|
6
|
- prop(class, :css_class)
|
7
|
-
|
8
|
- # All the other props below are deprecated!
|
9
|
- # Please use only tailwind classes and the class prop
|
10
|
- prop(font_size, :string)
|
11
|
- prop(color, :string, values: colors())
|
12
|
- prop(background_color, :string, values: colors())
|
13
|
-
|
14
|
- def render(assigns) do
|
15
|
- ~F"""
|
16
|
- <svg
|
17
|
- class={
|
18
|
- "moon-icon fill-none",
|
19
|
- @class,
|
20
|
- "text-#{@color}": @color,
|
21
|
- "bg-#{@background_color}": @background_color,
|
22
|
- "text-#{@font_size}": @font_size,
|
23
|
- "cursor-pointer": @click
|
24
|
- }
|
25
|
- :on-click={@click}
|
26
|
- style={get_style(color: @color, background_color: @background_color, font_size: @font_size)}
|
27
|
- >
|
28
|
- <use href="/moon_icons/svgs/icons_new/sport-m-m-a.svg#item" />
|
29
|
- </svg>
|
30
|
- """
|
31
|
- end
|
32
|
- end
|