-
Notifications
You must be signed in to change notification settings - Fork 2
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BREAKING] Utiliser les composants MS au lieu de FontAwesome (PIX-14433) #731
Merged
pix-service-auto-merge
merged 15 commits into
dev
from
pix-14433/use-pix-icon-on-components
Oct 11, 2024
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
c9405ca
tech(pix-icon): enhance naming / fix path
xav-car 4aec321
tech(pix-banner): update icon
xav-car f35de1b
tech(pix-tooltip): update icon
xav-car 4b4e5ca
tech(pix-*-button): update icon
xav-car e091f21
feat(pix-modal) update icon delcaration
xav-car 3677b31
feat(pix-pagination): update icon declaration
xav-car 8d06522
tech(pix-toggle) update icon
xav-car c23e22b
tech(pix-collapsible): update icon
xav-car 95de3fd
tech(pix-indicator-card): update icon
xav-car 1e53eb0
tech(inputs): update icons
xav-car 55ab4d9
tech(pix-*-select): update icon
xav-car 6e9ae53
tech(pix-label-wrapped): update icons
xav-car a766457
tech(pix-message): update icon
xav-car 09f0ae8
tech(pix-return-to): update icon
xav-car 794b26b
fix(icons): remove unused icons
xav-car File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,15 @@ | ||
<button | ||
type="button" | ||
aria-label={{this.ariaLabel}} | ||
class="pix-icon-button pix-icon-button--{{this.size}} | ||
pix-icon-button--{{this.color}} | ||
{{if @withBackground ' pix-icon-button--background'}}" | ||
{{on "click" this.triggerAction}} | ||
...attributes | ||
> | ||
<FaIcon @icon={{this.icon}} @prefix={{@iconPrefix}} /> | ||
<span class="screen-reader-only">{{this.ariaLabel}}</span> | ||
<PixIcon | ||
class="pix-icon-button__icon pix-icon-button__icon--{{this.size}}" | ||
@ariaHidden={{true}} | ||
@name={{@iconName}} | ||
@plainIcon={{@plainIcon}} | ||
/> | ||
</button> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thought : une liste à plat des icônes et de leur variantes permettrait de simplifier l'api du composant PixIcon en n'ayant plus qu'a spécifier le nom de l’icône (
my_icon
oumy_icon_variant
)(ce qui simplifierai aussi l'api du PixButton en supprimant les 2 params
@plainIconBefore
et@plainIconAfter
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
On pourrait aussi utiliser des
named yield
plutôt que 250 parameter pour afficher 2 icons à droite ou à gauche 😅 .