Skip to content

Commit c3e2189

Browse files
committed
Release 3.0.1
1 parent 022a4a4 commit c3e2189

File tree

4 files changed

+75
-30
lines changed

4 files changed

+75
-30
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,15 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p
66

77
---
88

9+
## [3.0.1](https://github.com/FortAwesome/ember-fontawesome/releases/tag/3.0.1) - 2025-05-13
10+
11+
### Added
12+
* Note for tree-shaking issue in docs with ember classic
13+
14+
### Fixed
15+
* Remove `ember-source` as peerDependency
16+
17+
918
## [3.0.0](https://github.com/FortAwesome/ember-fontawesome/releases/tag/3.0.0) - 2025-02-11
1019

1120
### Changed

ember-fontawesome/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@fortawesome/ember-fontawesome",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Official Ember component for Font Awesome",
55
"keywords": [
66
"ember-addon",
Lines changed: 64 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,73 +1,111 @@
11
<h3>Basic Usage</h3>
2-
<FaIcon @icon="coffee" class="foo" /> (explictly using icon attribute, and with additional class name)
2+
<FaIcon @icon="coffee" class="foo" />
3+
(explictly using icon attribute, and with additional class name)
34
<h3>Mask with Transform</h3>
45
<p>(expected: black square with white dot inside, pushed to the right side)</p>
56
<FaIcon @icon="circle" @transform="shrink-9 right-4" @mask="square" />
6-
<h3>Default fas prefix versus specifying a different prefix for the same icon name</h3>
7+
<h3>Default fas prefix versus specifying a different prefix for the same icon
8+
name</h3>
79
<FaIcon @icon="square" />
810
<FaIcon @prefix="far" @icon="calendar-xmark" />
911
<h3>Missing Icon</h3>
10-
<p>Expecting no icon between these bars |<FaIcon @icon="unfindable-icon" />| (and a warning log in the console)</p>
12+
<p>Expecting no icon between these bars |<FaIcon @icon="unfindable-icon" />|
13+
(and a warning log in the console)</p>
1114
<h3>Dynamic with Bound Attribute</h3>
1215
<div>
1316
<label for="magic-slider">Drag the slider to spin the magic.</label>
14-
<input id="magic-slider" type="range" value={{this.magic}} {{on "input" this.onRangeChange}} />
17+
<input
18+
id="magic-slider"
19+
type="range"
20+
value={{this.magic}}
21+
{{on "input" this.onRangeChange}}
22+
/>
1523
{{! template-lint-disable no-inline-styles}}
1624
<div style="padding:2em;">
1725
<FaIcon @icon="magic" @transform={{concat "rotate-" this.magic}} />
1826
</div>
1927
</div>
2028
<h3>Pro Icon</h3>
21-
<p>(If you have pro-light-svg-icons installed, this should show the "starshp" &amp; "face-awesome" icons in the light style)</p>
29+
<p>(If you have pro-light-svg-icons installed, this should show the "starshp"
30+
&amp; "face-awesome" icons in the light style)</p>
2231
<FaIcon @prefix="fal" @icon="starship" @size="2x" />
2332
<FaIcon @prefix="fal" @icon="face-awesome" @size="2x" />
24-
<p>(If you have pro-thin-svg-icons installed, this should show the "starshp" &amp; "face-awesome" icons in the thin style)</p>
33+
<p>(If you have pro-thin-svg-icons installed, this should show the "starshp"
34+
&amp; "face-awesome" icons in the thin style)</p>
2535
<FaIcon @prefix="fat" @icon="starship" @size="2x" />
2636
<FaIcon @prefix="fat" @icon="face-awesome" @size="2x" />
27-
<p>(If you have pro-duotone-svg-icons installed, this should show the "starshp" &amp; "face-awesome" icons in the duotone style)</p>
37+
<p>(If you have pro-duotone-svg-icons installed, this should show the "starshp"
38+
&amp; "face-awesome" icons in the duotone style)</p>
2839
<FaIcon @prefix="fad" @icon="starship" @size="2x" />
2940
<FaIcon @prefix="fad" @icon="face-awesome" @size="2x" />
30-
<p>(If you have sharp-solid-svg-icons installed, this should show the starshp" &amp; "face-awesome"" icons in the solids style for the sharp family)</p>
41+
<p>(If you have sharp-solid-svg-icons installed, this should show the starshp"
42+
&amp; "face-awesome"" icons in the solids style for the sharp family)</p>
3143
<FaIcon @prefix="fass" @icon="starship" @size="2x" />
3244
<FaIcon @prefix="fass" @icon="face-awesome" @size="2x" />
3345
<h3>Fixed Width</h3>
3446

3547
<div><FaIcon @icon="home" @fixedWidth={{true}} class="MistyRose" /> Home</div>
3648
<div><FaIcon @icon="info" @fixedWidth={{true}} class="MistyRose" /> Info</div>
37-
<div><FaIcon @icon="book" @fixedWidth={{true}} class="MistyRose" /> Library</div>
38-
<div><FaIcon @icon="pencil-alt" @fixedWidth={{true}} class="MistyRose" /> Applications</div>
39-
<div><FaIcon @icon="cog" @fixedWidth={{true}} class="MistyRose" /> Settings</div>
49+
<div><FaIcon @icon="book" @fixedWidth={{true}} class="MistyRose" />
50+
Library</div>
51+
<div><FaIcon @icon="pencil-alt" @fixedWidth={{true}} class="MistyRose" />
52+
Applications</div>
53+
<div><FaIcon @icon="cog" @fixedWidth={{true}} class="MistyRose" />
54+
Settings</div>
4055
<div><FaIcon @icon="fax" @fixedWidth={{true}} class="MistyRose" /> Contact</div>
4156

4257
<h3>List Icons</h3>
4358
<ul class="fa-ul">
4459
<li><span class="fa-li"><FaIcon @icon="check-square" /></span>List icons can</li>
4560
<li><span class="fa-li"><FaIcon @icon="check-square" /></span>be used to</li>
46-
<li><span class="fa-li"><FaIcon @icon="spinner" @pulse={{true}} /></span>replace bullets</li>
61+
<li><span class="fa-li"><FaIcon
62+
@icon="spinner"
63+
@pulse={{true}}
64+
/></span>replace bullets</li>
4765
<li><span class="fa-li"><FaIcon @icon="square" /></span>in lists</li>
4866
</ul>
4967

5068
<h3>Animation (Spin)</h3>
51-
<FaIcon @icon="sync" @spin={{true}} /><br>
69+
<FaIcon @icon="sync" @spin={{true}} /><br />
5270
<FaIcon @icon="sync" @spin={{this.isSpinning}} />
53-
<input id="spin-it" type="checkbox" checked={{this.isSpinning}} {{on "click" this.toggleSpinning}} > <label for="spin-it">Spin it</label>
71+
<input
72+
id="spin-it"
73+
type="checkbox"
74+
checked={{this.isSpinning}}
75+
{{on "click" this.toggleSpinning}}
76+
/>
77+
<label for="spin-it">Spin it</label>
5478

5579
<h3>Animation (Pulse)</h3>
56-
<FaIcon @icon="cog" @pulse={{true}} /><br>
80+
<FaIcon @icon="cog" @pulse={{true}} /><br />
5781
<FaIcon @icon="cog" @pulse={{this.isPulsing}} />
58-
<input id="pulse-it" type="checkbox" checked={{this.isPulsing}} {{on "click" this.togglePulsing}} > <label for="pulse-it">Pulse it</label>
82+
<input
83+
id="pulse-it"
84+
type="checkbox"
85+
checked={{this.isPulsing}}
86+
{{on "click" this.togglePulsing}}
87+
/>
88+
<label for="pulse-it">Pulse it</label>
5989

6090
<h3>Sizes</h3>
61-
1x <FaIcon @icon="coffee" /><br>
62-
2x <FaIcon @icon="coffee" @size="2x" /><br>
63-
4x <FaIcon @icon="coffee" @size="4x" /><br>
64-
8x <FaIcon @icon="coffee" @size="8x" /><br>
91+
1x
92+
<FaIcon @icon="coffee" /><br />
93+
2x
94+
<FaIcon @icon="coffee" @size="2x" /><br />
95+
4x
96+
<FaIcon @icon="coffee" @size="4x" /><br />
97+
8x
98+
<FaIcon @icon="coffee" @size="8x" /><br />
6599

66100
<h3>Rotation</h3>
67-
0 <FaIcon @icon="coffee" /><br>
68-
90 <FaIcon @icon="coffee" @rotation="90" /><br>
69-
180 <FaIcon @icon="coffee" @rotation="180" /><br>
70-
270 <FaIcon @icon="coffee" @rotation="270" /><br>
101+
0
102+
<FaIcon @icon="coffee" /><br />
103+
90
104+
<FaIcon @icon="coffee" @rotation="90" /><br />
105+
180
106+
<FaIcon @icon="coffee" @rotation="180" /><br />
107+
270
108+
<FaIcon @icon="coffee" @rotation="270" /><br />
71109

72110
<h3>Flip</h3>
73111
<FaIcon @icon="coffee" @flip="horizontal" />
@@ -81,7 +119,7 @@
81119
<FaIcon @icon="coffee" @transform="shrink-6 rotate-30" />
82120

83121
<h3>Masking</h3>
84-
<FaIcon @icon="coffee" @transform="shrink-6" @mask="circle" />
122+
<FaIcon @icon="coffee" @transform="shrink-6" @mask="circle" />
85123

86124
<h3>Layers</h3>
87125
<span class="fa-layers fa-lg">
@@ -92,4 +130,4 @@
92130
<h3>Alias</h3>
93131
<FaIcon @icon="trash-alt" />
94132

95-
{{outlet}}
133+
{{outlet}}

test-app/tsconfig.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,6 @@
1818
"test-app/*": ["app/*"],
1919
"*": ["types/*"]
2020
},
21-
"types": [
22-
"ember-source/types",
23-
]
21+
"types": ["ember-source/types"]
2422
}
2523
}

0 commit comments

Comments
 (0)