)}
+ {content.emailOptIn}
{content.terms}
),
terms: ,
+ emailOptIn: ,
emailLabel: this.emailLabel,
passwordLabel: this.passwordLabel,
submitLabel: this.submitLabel,
diff --git a/packages/mint-components/src/components/sqm-portal-registration-form/usePortalRegistrationForm.tsx b/packages/mint-components/src/components/sqm-portal-registration-form/usePortalRegistrationForm.tsx
index 756535d688..4f9f7eaed2 100644
--- a/packages/mint-components/src/components/sqm-portal-registration-form/usePortalRegistrationForm.tsx
+++ b/packages/mint-components/src/components/sqm-portal-registration-form/usePortalRegistrationForm.tsx
@@ -88,7 +88,6 @@ export function usePortalRegistrationForm(props: PortalRegistrationForm) {
const submit = async (event: any) => {
let formControls = event.target.getFormControls();
-
let formData: Record = {};
let validationErrors: Record = {};
diff --git a/packages/mint-components/src/components/sqm-portal-reset-password/readme.md b/packages/mint-components/src/components/sqm-portal-reset-password/readme.md
index 741336d8c3..87754a376f 100644
--- a/packages/mint-components/src/components/sqm-portal-reset-password/readme.md
+++ b/packages/mint-components/src/components/sqm-portal-reset-password/readme.md
@@ -7,28 +7,28 @@
## Properties
-| Property | Attribute | Description | Type | Default |
-| ----------------------------- | --------------------------------- | -------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
-| `codeInvalidText` | `code-invalid-text` | | `string` | `"The password reset code is invalid or has expired, please try again."` |
-| `confirmPassword` | `confirm-password` | | `boolean` | `false` |
-| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `"Confirm Password"` |
-| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `"Continue"` |
-| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; resetSuccessText?: string; passwordMismatchText?: string; codeInvalidText?: string; }; }; }` | `undefined` |
-| `doesNotMeetRequirementsText` | `does-not-meet-requirements-text` | | `string` | `"Password must meet the following requirements:"` |
-| `failedPage` | `failed-page` | Redirect participants to this page if password reset fails due to an outdated reset attempt. | `string` | `"/"` |
-| `hasErrorText` | `has-error-text` | | `string` | `"contain at least 1 number or symbol"` |
-| `lowercaseErrorText` | `lowercase-error-text` | | `string` | `"contain at least 1 lowercase character"` |
-| `meetsRequirementsText` | `meets-requirements-text` | | `string` | `"Password has met all requirements"` |
-| `minErrorText` | `min-error-text` | | `string` | `"be a minimum of 8 characters"` |
-| `networkErrorMessage` | `network-error-message` | | `string` | `"An error occurred while resetting your password. Please refresh the page and try again."` |
-| `nextPage` | `next-page` | Redirect participants to this page when they successfully reset their password. | `string` | `"/"` |
-| `passwordFieldLabel` | `password-field-label` | | `string` | `"New Password"` |
-| `passwordMismatchText` | `password-mismatch-text` | | `string` | `"Passwords do not match."` |
-| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `"Password reset"` |
-| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `"Reset Password"` |
-| `resetPasswordHeader` | `reset-password-header` | | `string` | `"Reset your password"` |
-| `resetSuccessText` | `reset-success-text` | | `string` | `"Your password has been reset and you are being redirected. If you are not redirected, please click Continue."` |
-| `uppercaseErrorText` | `uppercase-error-text` | | `string` | `"contain at least 1 uppercase character"` |
+| Property | Attribute | Description | Type | Default |
+| ----------------------------- | --------------------------------- | ------------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
+| `codeInvalidText` | `code-invalid-text` | | `string` | `"The password reset code is invalid or has expired, please try again."` |
+| `confirmPassword` | `confirm-password` | | `boolean` | `false` |
+| `confirmPasswordFieldLabel` | `confirm-password-field-label` | | `string` | `"Confirm Password"` |
+| `continueButtonText` | `continue-button-text` | Button text displayed after a successful password reset. | `string` | `"Continue"` |
+| `demoData` | -- | | `{ states?: { error: string; loading: boolean; reset: boolean; confirmPassword: boolean; oobCodeValidating: boolean; oobCodeValid: boolean; passwordDemoData?: PasswordFieldViewDemoProps; content: { passwordResetHeader: string; resetPasswordHeader: string; continueButtonText: string; resetPasswordButtonText: string; confirmPasswordFieldLabel: string; passwordFieldLabel: string; meetsRequirementsText?: string; doesNotMeetRequirementsText?: string; minErrorText?: string; uppercaseErrorText?: string; lowercaseErrorText?: string; hasErrorText?: string; resetSuccessText?: string; passwordMismatchText?: string; codeInvalidText?: string; }; }; }` | `undefined` |
+| `doesNotMeetRequirementsText` | `does-not-meet-requirements-text` | | `string` | `"Password must meet the following requirements:"` |
+| `failedPage` | `failed-page` | Redirect participants to this page if password reset fails due to an outdated reset attempt. | `string` | `"/"` |
+| `hasErrorText` | `has-error-text` | | `string` | `"contain at least 1 number or symbol"` |
+| `lowercaseErrorText` | `lowercase-error-text` | | `string` | `"contain at least 1 lowercase character"` |
+| `meetsRequirementsText` | `meets-requirements-text` | | `string` | `"Password has met all requirements"` |
+| `minErrorText` | `min-error-text` | | `string` | `"be a minimum of 8 characters"` |
+| `networkErrorMessage` | `network-error-message` | Displayed when the password reset fails due to a network error. The participant can try refreshing the page. | `string` | `"An error occurred while resetting your password. Please refresh the page and try again."` |
+| `nextPage` | `next-page` | Redirect participants to this page when they successfully reset their password. | `string` | `"/"` |
+| `passwordFieldLabel` | `password-field-label` | | `string` | `"New Password"` |
+| `passwordMismatchText` | `password-mismatch-text` | | `string` | `"Passwords do not match."` |
+| `passwordResetHeader` | `password-reset-header` | Displayed after a successful password reset. | `string` | `"Password reset"` |
+| `resetPasswordButtonText` | `reset-password-button-text` | | `string` | `"Reset Password"` |
+| `resetPasswordHeader` | `reset-password-header` | | `string` | `"Reset your password"` |
+| `resetSuccessText` | `reset-success-text` | | `string` | `"Your password has been reset and you are being redirected. If you are not redirected, please click Continue."` |
+| `uppercaseErrorText` | `uppercase-error-text` | | `string` | `"contain at least 1 uppercase character"` |
## Dependencies
diff --git a/packages/mint-components/src/components/sqm-portal-reset-password/sqm-portal-reset-password.tsx b/packages/mint-components/src/components/sqm-portal-reset-password/sqm-portal-reset-password.tsx
index 42d00038c5..864ddcde79 100644
--- a/packages/mint-components/src/components/sqm-portal-reset-password/sqm-portal-reset-password.tsx
+++ b/packages/mint-components/src/components/sqm-portal-reset-password/sqm-portal-reset-password.tsx
@@ -129,8 +129,8 @@ export class PortalResetPassword {
"Your password has been reset and you are being redirected. If you are not redirected, please click Continue.";
/**
- * @uiName Network error message
* Displayed when the password reset fails due to a network error. The participant can try refreshing the page.
+ * @uiName Network error message
*/
@Prop() networkErrorMessage: string =
"An error occurred while resetting your password. Please refresh the page and try again.";
diff --git a/packages/mint-components/src/components/sqm-portal-verify-email/readme.md b/packages/mint-components/src/components/sqm-portal-verify-email/readme.md
index 22350d6488..de05c6f176 100644
--- a/packages/mint-components/src/components/sqm-portal-verify-email/readme.md
+++ b/packages/mint-components/src/components/sqm-portal-verify-email/readme.md
@@ -7,16 +7,16 @@
## Properties
-| Property | Attribute | Description | Type | Default |
-| --------------------- | ----------------------- | ------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
-| `continueText` | `continue-text` | | `string` | `"Continue"` |
-| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; data?: { oobCode: string; }; content?: { verifySuccessText?: string; verifyEmailText?: string; verifyInvalidText?: string; continueText?: string; }; }` | `undefined` |
-| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `"/"` |
-| `networkErrorMessage` | `network-error-message` | | `string` | `"An error occurred while verifying your email. Please refresh the page and try again."` |
-| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `"/"` |
-| `verifyEmailText` | `verify-email-text` | | `string` | `"Verify your email"` |
-| `verifyInvalidText` | `verify-invalid-text` | | `string` | `"The email verification code is invalid or has expired, please try again."` |
-| `verifySuccessText` | `verify-success-text` | | `string` | `"Your email has been verified and you are being redirected. If you are not redirected, please click Continue."` |
+| Property | Attribute | Description | Type | Default |
+| --------------------- | ----------------------- | ---------------------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------- |
+| `continueText` | `continue-text` | | `string` | `"Continue"` |
+| `demoData` | -- | | `{ states?: { error: string; loading: boolean; success: boolean; }; data?: { oobCode: string; }; content?: { verifySuccessText?: string; verifyEmailText?: string; verifyInvalidText?: string; continueText?: string; }; }` | `undefined` |
+| `failedPage` | `failed-page` | Redirect participants to this page if verification fails due to an outdated verification attempt. | `string` | `"/"` |
+| `networkErrorMessage` | `network-error-message` | Displayed when the email verification fails due to a network error. The participant can try refreshing the page. | `string` | `"An error occurred while verifying your email. Please refresh the page and try again."` |
+| `nextPage` | `next-page` | Redirect participants to this page when they successfully verify their email. | `string` | `"/"` |
+| `verifyEmailText` | `verify-email-text` | | `string` | `"Verify your email"` |
+| `verifyInvalidText` | `verify-invalid-text` | | `string` | `"The email verification code is invalid or has expired, please try again."` |
+| `verifySuccessText` | `verify-success-text` | | `string` | `"Your email has been verified and you are being redirected. If you are not redirected, please click Continue."` |
## Dependencies
diff --git a/packages/mint-components/src/components/sqm-portal-verify-email/sqm-portal-verify-email.tsx b/packages/mint-components/src/components/sqm-portal-verify-email/sqm-portal-verify-email.tsx
index 8c560e5e31..269e735c27 100644
--- a/packages/mint-components/src/components/sqm-portal-verify-email/sqm-portal-verify-email.tsx
+++ b/packages/mint-components/src/components/sqm-portal-verify-email/sqm-portal-verify-email.tsx
@@ -67,8 +67,8 @@ export class PortalVerifyEmail {
@Prop() continueText: string = "Continue";
/**
- * @uiName Network error message
* Displayed when the email verification fails due to a network error. The participant can try refreshing the page.
+ * @uiName Network error message
*/
@Prop() networkErrorMessage: string =
"An error occurred while verifying your email. Please refresh the page and try again.";
diff --git a/packages/mint-components/src/components/sqm-stencilbook/readme.md b/packages/mint-components/src/components/sqm-stencilbook/readme.md
index c01beeaa2c..739f10e3ee 100644
--- a/packages/mint-components/src/components/sqm-stencilbook/readme.md
+++ b/packages/mint-components/src/components/sqm-stencilbook/readme.md
@@ -36,6 +36,8 @@
- [sqm-password-field](../sqm-password-field)
- [sqm-portal-login](../sqm-portal-login)
- [sqm-portal-register](../sqm-portal-register)
+- [sqm-checkbox-field](../sqm-checkbox-field)
+- [sqm-portal-change-marketing](../sqm-portal-change-marketing)
- [sqm-table-row](../sqm-table-row)
- [sqm-table-cell](../sqm-table-cell)
- [sqm-referral-table-user-cell](../sqm-referral-table/cells)
@@ -49,7 +51,7 @@
- [sqm-hero](../sqm-hero)
- [sqm-portal-change-password](../sqm-portal-change-password)
- [sqm-referral-iframe](../sqm-referral-iframe)
-- [sqm-checkbox-field](../sqm-checkbox-field)
+- [sqm-marketing-emails-checkbox](../sqm-marketing-emails-checkbox)
- [sqm-name-fields](../sqm-name-fields)
- [sqm-dropdown-field](../sqm-dropdown-field)
- [sqm-input-field](../sqm-input-field)
@@ -126,6 +128,8 @@ graph TD;
sqm-stencilbook --> sqm-password-field
sqm-stencilbook --> sqm-portal-login
sqm-stencilbook --> sqm-portal-register
+ sqm-stencilbook --> sqm-checkbox-field
+ sqm-stencilbook --> sqm-portal-change-marketing
sqm-stencilbook --> sqm-table-row
sqm-stencilbook --> sqm-table-cell
sqm-stencilbook --> sqm-referral-table-user-cell
@@ -139,7 +143,7 @@ graph TD;
sqm-stencilbook --> sqm-hero
sqm-stencilbook --> sqm-portal-change-password
sqm-stencilbook --> sqm-referral-iframe
- sqm-stencilbook --> sqm-checkbox-field
+ sqm-stencilbook --> sqm-marketing-emails-checkbox
sqm-stencilbook --> sqm-name-fields
sqm-stencilbook --> sqm-dropdown-field
sqm-stencilbook --> sqm-input-field
@@ -201,6 +205,7 @@ graph TD;
sqm-portal-login --> sqm-form-message
sqm-portal-register --> sqm-form-message
sqm-portal-register --> sqm-password-field
+ sqm-portal-change-marketing --> sqm-form-message
sqm-referral-table --> sqm-empty
sqm-referral-table --> sqm-table-row
sqm-referral-table --> sqm-table-cell
diff --git a/packages/mint-components/src/components/sqm-stencilbook/sqm-stencilbook.tsx b/packages/mint-components/src/components/sqm-stencilbook/sqm-stencilbook.tsx
index e9dfd584cd..1b39b4e2cc 100644
--- a/packages/mint-components/src/components/sqm-stencilbook/sqm-stencilbook.tsx
+++ b/packages/mint-components/src/components/sqm-stencilbook/sqm-stencilbook.tsx
@@ -27,6 +27,7 @@ import * as SidebarItem from "../sqm-navigation-sidebar-item/SidebarItem.stories
import * as NavigationSidebar from "../sqm-navigation-sidebar/NavigationSidebar.stories";
import * as PortalLogin from "../sqm-portal-login/PortalLogin.stories";
import * as PortalRegister from "../sqm-portal-register/PortalRegister.stories";
+import * as NewPortalRegistrationForm from "../sqm-portal-registration-form/PortalRegistrationForm.stories";
import * as PortalForgotPassword from "../sqm-portal-forgot-password/PortalForgotPassword.stories";
import * as PortalEmailVerification from "../sqm-portal-email-verification/PortalEmailVerification.stories";
import * as PortalResetPassword from "../sqm-portal-reset-password/PortalResetPassword.stories";
@@ -34,6 +35,7 @@ import * as PortalVerifyEmail from "../sqm-portal-verify-email/PortalVerifyEmail
import * as AssetCard from "../sqm-asset-card/AssetCard.stories";
import * as DividedLayout from "../sqm-divided-layout/DividedLayout.stories";
import * as ChangePassword from "../sqm-portal-change-password/ChangePassword.stories";
+import * as ChangeMarketing from "../sqm-portal-change-marketing/ChangeMarketing.stories";
import * as PortalProfile from "../sqm-portal-profile/PortalProfile.stories";
import * as ReferralTable from "../sqm-referral-table/ReferralTable.stories";
import * as ReferralTableCell from "../sqm-referral-table/ReferralTableCell.stories";
@@ -49,6 +51,7 @@ import * as Hero from "../sqm-hero/Hero.stories";
import * as ReferralIframe from "../sqm-referral-iframe/ReferralIframe.stories";
import * as NameFields from "../sqm-name-fields/NameFields.stories";
import * as CheckboxField from "../sqm-checkbox-field/CheckboxField.stories";
+import * as MarketingEmailsCheckbox from "../sqm-marketing-emails-checkbox/MarketingEmailsCheckbox.stories";
import * as UseCheckboxField from "../sqm-checkbox-field/UseCheckboxField.stories";
import * as DropdownField from "../sqm-dropdown-field/DropdownField.stories";
import * as UseDropdownField from "../sqm-dropdown-field/UseDropdownField.stories";
@@ -152,6 +155,7 @@ const stories = [
ReferralIframe,
NameFields,
CheckboxField,
+ MarketingEmailsCheckbox,
DropdownField,
InputField,
RewardExchangeList,
@@ -187,6 +191,8 @@ const stories = [
TaxFormSlots,
PayoutDetailsCard,
BankingInfoForm,
+ NewPortalRegistrationForm,
+ ChangeMarketing,
BaseRegistrationForm,
PortalRegistrationForm,
PortalGoogleRegistrationFormStories,
diff --git a/packages/mint-components/src/templates/EditProfile.html b/packages/mint-components/src/templates/EditProfile.html
index 47ed535521..10f57150f8 100644
--- a/packages/mint-components/src/templates/EditProfile.html
+++ b/packages/mint-components/src/templates/EditProfile.html
@@ -8,3 +8,6 @@
>
+
+
+