Skip to content

Commit e9f86ff

Browse files
authored
Merge pull request #39 from goncalotomas/main
Update to HeroIcons v2.1.5
2 parents 3d202f3 + bfae84c commit e9f86ff

File tree

118 files changed

+1681
-57
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

118 files changed

+1681
-57
lines changed

β€ŽCHANGELOG.mdβ€Ž

Lines changed: 28 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,66 @@
11
# Changelog
2+
3+
## 0.5.6
4+
5+
### Enhancements
6+
7+
- Update heroicons to 2.1.5
8+
29
## 0.5.5
10+
311
### Enhancements
4-
- Update heroicons to 2.1.1
5-
- Add support for `micro` icons
12+
13+
- Update heroicons to 2.1.1
14+
- Add support for `micro` icons
615

716
## 0.5.4
17+
818
**RETIRED** due to https://github.com/mveytsman/heroicons_elixir/issues/35
919

1020
## 0.5.3
21+
1122
### Enhancements
12-
- Added support for LiveView 0.19
23+
24+
- Added support for LiveView 0.19
1325

1426
## 0.5.2
27+
1528
### Enhancements
16-
- Update heroicons to 2.0.13
29+
30+
- Update heroicons to 2.0.13
1731

1832
## 0.5.1
33+
1934
### Enhancements
35+
2036
- Add a `:outline` attribute to specify outline explicitly
2137
- Allow `fill`, `stroke`, and `stroke-width` to be user specified.
2238

2339
## 0.5.0
2440

2541
### Backwards incompatible changes
42+
2643
- Render icons outside HEEx function components has been dropped. Use the function component syntax instead: `<Heroicons.cake />`
2744
- The separate modules `Heroicons.Outline|Solid|Mini` have been dropped in favor of a single `Heroicons` module.
2845
By default, this module renders the outline style, but a `solid` or `mini` attribute can be provided to
2946
select styling.
3047

3148
### Enhancements
49+
3250
- Provide unified interface with `solid`, and `mini` attributes for styling.
3351
- Optimize svg generation for LiveView diffing.
3452
- Update to Heroicons 2.11
3553

3654
## 0.4.1
3755

3856
### Enhancements
57+
3958
- Further optimize the JIT Phoenix Component compiler
4059

4160
## 0.4.0
61+
4262
### Enhancements
63+
4364
- Update to Heroicons 2 (https://github.com/mveytsman/heroicons_elixir/pull/12)
4465
- Add update task and generate optimized version of icons (https://github.com/mveytsman/heroicons_elixir/pull/13)
4566
- Optimize compile times by no longer reading every icon during compliation.
@@ -48,10 +69,11 @@
4869
## 0.3.2 (2022-02-21)
4970

5071
### Enhancements
51-
- Update heroicons to 1.0.5 (https://github.com/mveytsman/heroicons_elixir/pull/8)
5272

73+
- Update heroicons to 1.0.5 (https://github.com/mveytsman/heroicons_elixir/pull/8)
5374

5475
## 0.3.1 (2022-02-15)
5576

5677
### Bug fixes
57-
- No longer issue warnings for using the components as functions (https://github.com/mveytsman/heroicons_elixir/issues/7)
78+
79+
- No longer issue warnings for using the components as functions (https://github.com/mveytsman/heroicons_elixir/issues/7)

β€ŽREADME.mdβ€Ž

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ This library provides optimized svgs for each Heroicon packaged as a Phoenix Com
66

77
Heroicons are designed by [Steve Schoger](https://twitter.com/steveschoger)
88

9-
Current Heroicons Version: **2.1.1**.
9+
Current Heroicons Version: **2.1.5**.
1010

1111
## Installation
1212

@@ -26,7 +26,7 @@ After that, run `mix deps.get`.
2626

2727
The components are provided by the `Heroicons` module. Each icon is a Phoenix Component you can use in your HEEx templates.
2828

29-
By default, the icon components will use the outline style, but the `solid`,
29+
By default, the icon components will use the outline style, but the `solid`,
3030
`mini` or `micro` attributes may be passed to select styling, for example:
3131

3232
```eex
@@ -38,7 +38,7 @@ By default, the icon components will use the outline style, but the `solid`,
3838

3939
You can also pass arbitrary HTML attributes to the components, such as classes:
4040

41-
```eex
41+
```eex
4242
<Heroicons.cake class="w-2 h-2" />
4343
<Heroicons.cake solid class="w-2 h-2 text-gray-500" />
4444
```

β€Žassets/heroicons.exsβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ defmodule Heroicons do
112112
"""
113113
end
114114

115-
<%= for {func, [outline, solid, mini, micro]} = icon when not is_nil(micro) <- @icons do %>
115+
<%= for {func, [outline, solid, mini, micro]} = _icon when not is_nil(micro) <- @icons do %>
116116
@doc """
117117
Renders the `<%= func %>` icon.
118118
@@ -143,7 +143,7 @@ defmodule Heroicons do
143143
end
144144
<% end %>
145145

146-
<%= for {func, [outline, solid, mini]} = icon <- @icons do %>
146+
<%= for {func, [outline, solid, mini]} = _icon <- @icons do %>
147147
@doc """
148148
Renders the `<%= func %>` icon.
149149
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading
Lines changed: 3 additions & 0 deletions
Loading

0 commit comments

Comments
Β (0)