Skip to content

Commit

Permalink
Fix some icons (#799)
Browse files Browse the repository at this point in the history
  • Loading branch information
RobbieTheWagner authored Jul 16, 2022
1 parent 76fadcf commit d188f48
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 7 deletions.
4 changes: 1 addition & 3 deletions config/icons.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
module.exports = function () {
return {
'free-brands-svg-icons': ['facebook', 'github', 'twitter'],
'free-regular-svg-icons': ['check-square', 'square', 'trash-alt'],
'free-solid-svg-icons': [
'bell',
'caret-down',
'check-square',
'chevron-down',
'chevron-left',
'chevron-right',
Expand All @@ -14,8 +14,6 @@ module.exports = function () {
'sort',
'sort-down',
'sort-up',
'square',
'trash',
],
};
};
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"dependencies": {
"@fortawesome/ember-fontawesome": "^0.2.2",
"@fortawesome/free-brands-svg-icons": "^5.15.2",
"@fortawesome/free-regular-svg-icons": "^5.15.2",
"@fortawesome/free-solid-svg-icons": "^5.15.2",
"@html-next/vertical-collection": "^3.0.0",
"ember-cli-babel": "^7.26.6",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,15 @@
role="button"
{{on "click" this.deselectAll}}
>
<FaIcon @icon="check-square" />
<FaIcon @icon="check-square" @prefix="far" />
</div>
<div
class="table-action delete"
title="Delete selected"
role="button"
{{on "click" this.deleteAll}}
>
<FaIcon @icon="trash" />
<FaIcon @icon="trash-alt" @prefix="far" />
</div>
{{else}}
<div
Expand All @@ -24,7 +24,7 @@
role="button"
{{on "click" this.selectAll}}
>
<FaIcon @icon="square" />
<FaIcon @icon="square" @prefix="far" />
</div>
{{/if}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion tests/dummy/app/templates/components/user-actions.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
class="btn btn-sm btn-danger"
{{on "click" (fn @tableActions.deleteUser @row bubbles=false)}}
>
<FaIcon @icon="trash" />
<FaIcon @icon="trash-alt" @prefix="far" />
</button>
{{! END-SNIPPET }}
7 changes: 7 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1343,6 +1343,13 @@
dependencies:
"@fortawesome/fontawesome-common-types" "^0.2.36"

"@fortawesome/free-regular-svg-icons@^5.15.2":
version "5.15.4"
resolved "https://registry.yarnpkg.com/@fortawesome/free-regular-svg-icons/-/free-regular-svg-icons-5.15.4.tgz#b97edab436954333bbeac09cfc40c6a951081a02"
integrity sha512-9VNNnU3CXHy9XednJ3wzQp6SwNwT3XaM26oS4Rp391GsxVYA+0oDR2J194YCIWf7jNRCYKjUCOduxdceLrx+xw==
dependencies:
"@fortawesome/fontawesome-common-types" "^0.2.36"

"@fortawesome/free-solid-svg-icons@^5.15.2":
version "5.15.4"
resolved "https://registry.yarnpkg.com/@fortawesome/free-solid-svg-icons/-/free-solid-svg-icons-5.15.4.tgz#2a68f3fc3ddda12e52645654142b9e4e8fbb6cc5"
Expand Down

0 comments on commit d188f48

Please sign in to comment.