Skip to content

Commit

Permalink
chore: Update button labels from 'Reset' to 'Cancel'
Browse files Browse the repository at this point in the history
  • Loading branch information
yosvelquintero committed Apr 16, 2024
1 parent d7a00f1 commit 4641cf9
Show file tree
Hide file tree
Showing 14 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const buildEmailSchema = ({
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'resetEmailForm',
class: 'transparent',
},
Expand Down Expand Up @@ -198,7 +198,7 @@ export const buildPasswordSchema = (): VCLFormFieldSchemaRoot => {
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'resetPasswordForm',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ export const buildConfirmEmailSchema = ({
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'reset',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const buildLocalizationDataSchema = ({
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'reset',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ export const buildPersonalDataSchema = ({
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'reset',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const buildFulfillmentSchema = (
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'reset',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const buildInvoiceSchema = (
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'reset',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export const buildCountrySchema = (
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'reset',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ export const buildOrderSchema = (
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'reset',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ export const buildProductSchema = (
buttons: [
{
type: 'button',
label: 'Reset',
label: 'Cancel',
action: 'reset',
class: 'transparent',
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ import { FormGroup } from '@angular/forms';
export class RcSubmitButtonComponent {
@Input() buttonClass = '';
@Input() resetForm?: FormGroup;
@Input() resetText? = 'Reset';
@Input() resetText? = 'Cancel';

isMobile = window.innerWidth <= 600;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
<div class="flex align-right">
<rc-submit-button
[resetForm]="form"
[resetText]="'Reset'"
[resetText]="'Cancel'"
>Confirm password</rc-submit-button
>
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<div class="flex align-right">
<rc-submit-button
[resetForm]="form"
[resetText]="'Reset'"
[resetText]="'Cancel'"
>
Reset Password
</rc-submit-button>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
<div class="flex align-right">
<rc-submit-button
[resetForm]="form"
[resetText]="'Reset'"
[resetText]="'Cancel'"
>
Sign In</rc-submit-button
>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@
<div class="flex align-right">
<rc-submit-button
[resetForm]="form"
[resetText]="'Reset'"
[resetText]="'Cancel'"
>Sign Up</rc-submit-button
>
</div>
Expand Down

0 comments on commit 4641cf9

Please sign in to comment.