diff --git a/packages/mint-components/CHANGELOG.md b/packages/mint-components/CHANGELOG.md index 89699da6b..d85163740 100644 --- a/packages/mint-components/CHANGELOG.md +++ b/packages/mint-components/CHANGELOG.md @@ -7,6 +7,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [1.8.2] - 2024-04-12 + +- \ + - Changed direction of tooltip popover to prevent it from getting cut off + +## [1.8.1] - 2024-04-10 + +### Fixed + +- \ + - Fix issue where a non-US user in a non-US brand would skip step 4 of the Tax and Cash form. + ## [1.8.0] - 2024-04-10 ### Changed @@ -899,7 +911,9 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - \ - \ -[unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@1.8.0...HEAD +[unreleased]: https://github.com/saasquatch/program-tools/compare/mint-components@1.8.2...HEAD +[1.8.2]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.8.2 +[1.8.1]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.8.1 [1.8.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.8.0 [1.7.6]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.7.6 [1.7.5]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%401.7.5 diff --git a/packages/mint-components/package-lock.json b/packages/mint-components/package-lock.json index 92dc3f575..862a13120 100644 --- a/packages/mint-components/package-lock.json +++ b/packages/mint-components/package-lock.json @@ -1,12 +1,12 @@ { "name": "@saasquatch/mint-components", - "version": "1.8.0", + "version": "1.8.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "@saasquatch/mint-components", - "version": "1.8.0", + "version": "1.8.1", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/packages/mint-components/package.json b/packages/mint-components/package.json index 6f9fce05c..ff08ffecd 100644 --- a/packages/mint-components/package.json +++ b/packages/mint-components/package.json @@ -1,7 +1,7 @@ { "name": "@saasquatch/mint-components", "title": "Mint Components", - "version": "1.8.0", + "version": "1.8.2", "description": "A minimal design library with components for referral and loyalty experiences. Built with Shoelace components by Saasquatch.", "icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Mint.svg", "raisins": "docs/raisins.json", diff --git a/packages/mint-components/src/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.tsx b/packages/mint-components/src/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.tsx index 783f7212b..817d4965d 100644 --- a/packages/mint-components/src/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.tsx +++ b/packages/mint-components/src/components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm.tsx @@ -42,6 +42,7 @@ type ConnectPartnerResult = { impactConnection: { connected: boolean; publisher: { + brandedSignup: boolean; requiredTaxDocumentType: TaxDocumentType | null; currentTaxDocument: null | CurrentTaxDocument; }; @@ -72,6 +73,7 @@ const CONNECT_PARTNER = gql` impactConnection { connected publisher { + brandedSignup requiredTaxDocumentType currentTaxDocument { type @@ -264,7 +266,7 @@ export function useIndirectTaxForm(props: IndirectTaxForm) { // Go to docusign form setStep("/3"); } else { - if (publisher?.brandedSignup) { + if (resultPublisher?.brandedSignup) { // Go to banking information form setStep("/4"); } else { diff --git a/packages/mint-components/src/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.tsx b/packages/mint-components/src/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.tsx index 2f82ef906..54cbe2918 100644 --- a/packages/mint-components/src/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.tsx +++ b/packages/mint-components/src/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.tsx @@ -531,7 +531,7 @@ export const TaxAndCashDashboardView = (props: TaxAndCashDashboardProps) => { {text.indirectTaxInfoSectionHeader} diff --git a/packages/mint-components/src/stories/PortalTemplates.stories.tsx b/packages/mint-components/src/stories/PortalTemplates.stories.tsx index 54c9a8f7e..71743e246 100644 --- a/packages/mint-components/src/stories/PortalTemplates.stories.tsx +++ b/packages/mint-components/src/stories/PortalTemplates.stories.tsx @@ -14,7 +14,7 @@ import editProfileTemplate from "../templates/EditProfile.html"; import activityTemplate from "../templates/Activity.html"; import resetPasswordEmailTemplate from "../templates/ResetPasswordEmail.html"; import verifyEmailTemplate from "../templates/VerifyEmail.html"; -import taxPayoutReminderEmailTemplate from "../templates/taxPayoutReminderEmail.html"; +import taxPayoutReminderEmailTemplate from "../templates/TaxPayoutReminderEmail.html"; import loginTemplate from "../templates/Login.html"; import registerTemplate from "../templates/Register.html"; import forgotPasswordTemplate from "../templates/ForgotPassword.html";