Skip to content

Commit

Permalink
fix(mon-pix): update PixButton iconBefore / iconAfter signature
Browse files Browse the repository at this point in the history
  • Loading branch information
xav-car committed Nov 4, 2024
1 parent a534259 commit 584e5c1
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion mon-pix/app/components/challenge-actions.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@
@isDisabled={{this.areActionButtonsDisabled}}
@triggerAction={{@validateAnswer}}
@variant="success"
@iconAfter="arrow-right"
@iconAfter="arrowRight"
class="challenge-actions__action-validate"
aria-label={{t "pages.challenge.actions.validate-go-to-next"}}
>
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/app/components/module/element/embed.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ export default class ModulixEmbed extends ModuleElement {
{{#if this.isSimulatorLaunched}}
<div class="element-embed__reset">
<PixButton
@iconBefore="rotate-right"
@iconBefore="refresh"
@variant="tertiary"
@triggerAction={{this.resetEmbed}}
aria-label="{{t 'pages.modulix.buttons.embed.reset.ariaLabel'}}"
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/app/components/module/element/qcm.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ export default class ModuleQcm extends ModuleElement {
@size="small"
@type="button"
@triggerAction={{this.retry}}
@iconAfter="rotate-right"
@iconAfter="refresh"
>
{{t "pages.modulix.buttons.activity.retry"}}
</PixButton>
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/app/components/module/element/qcu.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ export default class ModuleQcu extends ModuleElement {
@size="small"
@type="button"
@triggerAction={{this.retry}}
@iconAfter="rotate-right"
@iconAfter="refresh"
>
{{t "pages.modulix.buttons.activity.retry"}}
</PixButton>
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/app/components/module/element/qrocm.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -166,7 +166,7 @@ export default class ModuleQrocm extends ModuleElement {
@size="small"
@type="button"
@triggerAction={{this.retry}}
@iconAfter="rotate-right"
@iconAfter="refresh"
>
{{t "pages.modulix.buttons.activity.retry"}}
</PixButton>
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/app/components/module/stepper.gjs
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export default class ModulixStepper extends Component {
<PixButton
aria-label="{{t 'pages.modulix.buttons.stepper.next.ariaLabel'}}"
@variant="primary"
@iconAfter="arrow-down"
@iconAfter="arrowBottom"
@triggerAction={{this.displayNextStep}}
class="stepper-next__button"
>{{t "pages.modulix.buttons.stepper.next.name"}}</PixButton>
Expand Down
2 changes: 1 addition & 1 deletion mon-pix/app/templates/authentication/sso-selection.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<AuthenticationLayout class="sso-selection-page">
<:header>
<PixButton @variant="secondary" @triggerAction={{this.goBack}} @iconBefore="arrow-left">
<PixButton @variant="secondary" @triggerAction={{this.goBack}} @iconBefore="arrowLeft">
{{t "common.actions.back"}}
</PixButton>
</:header>
Expand Down

0 comments on commit 584e5c1

Please sign in to comment.