@saasquatch/mint-components 2.3.0 → 2.3.1-3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/{ShadowViewAddon-05c6968d.js → ShadowViewAddon-331ac9e4.js} +5 -3
- package/dist/cjs/sqm-big-stat_47.cjs.entry.js +3 -3
- package/dist/cjs/sqm-email-verification_2.cjs.entry.js +19 -6
- package/dist/cjs/{sqm-partner-info-modal-view-243aad7b.js → sqm-partner-info-modal-view-46e07ba0.js} +10 -3
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +33 -5
- package/dist/collection/components/sqm-partner-info-modal/PartnerInfoModal.stories.js +26 -0
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal-view.js +11 -4
- package/dist/collection/components/sqm-partner-info-modal/sqm-partner-info-modal.js +1 -1
- package/dist/collection/components/sqm-partner-info-modal/usePartnerInfoModal.js +18 -5
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +2 -2
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +4 -2
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +2 -2
- package/dist/collection/components/sqm-share-link/useShareLink.js +1 -1
- package/dist/esm/{ShadowViewAddon-543f0fef.js → ShadowViewAddon-ae0cd8b9.js} +5 -3
- package/dist/esm/sqm-big-stat_47.entry.js +3 -3
- package/dist/esm/sqm-email-verification_2.entry.js +19 -6
- package/dist/esm/{sqm-partner-info-modal-view-8f141a4f.js → sqm-partner-info-modal-view-8a5ab2d0.js} +11 -4
- package/dist/esm/sqm-stencilbook.entry.js +33 -5
- package/dist/esm-es5/{ShadowViewAddon-543f0fef.js → ShadowViewAddon-ae0cd8b9.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_47.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification_2.entry.js +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-8a5ab2d0.js +1 -0
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-55847fc2.system.entry.js → p-1c739233.system.entry.js} +1 -1
- package/dist/mint-components/{p-92e81c72.js → p-3d2fe16b.js} +2 -2
- package/dist/mint-components/{p-3e7fb8a7.system.js → p-87f119f0.system.js} +1 -1
- package/dist/mint-components/{p-fa477f5f.system.entry.js → p-88893099.system.entry.js} +1 -1
- package/dist/mint-components/{p-61f7bf8a.entry.js → p-8e89c429.entry.js} +4 -4
- package/dist/mint-components/{p-b1536972.entry.js → p-b1dcabb0.entry.js} +2 -2
- package/dist/mint-components/p-bfb00685.system.js +1 -1
- package/dist/mint-components/p-c4da3ac1.system.js +1 -0
- package/dist/mint-components/{p-76ad156b.entry.js → p-caa173f4.entry.js} +2 -2
- package/dist/mint-components/p-e636975c.js +1 -0
- package/dist/mint-components/{p-b0d49a64.system.entry.js → p-ede41e5e.system.entry.js} +1 -1
- package/dist/types/components/sqm-partner-info-modal/PartnerInfoModal.stories.d.ts +2 -0
- package/dist/types/components/sqm-partner-info-modal/sqm-partner-info-modal-view.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/esm-es5/sqm-partner-info-modal-view-8f141a4f.js +0 -1
- package/dist/mint-components/p-a094da68.js +0 -1
- package/dist/mint-components/p-e7f45f18.system.js +0 -1
|
@@ -31,12 +31,12 @@ import './utilities-cbd8f2eb.js';
|
|
|
31
31
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-f84c04cf.js';
|
|
32
32
|
import './ErrorView-74cb3af8.js';
|
|
33
33
|
import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
|
|
34
|
-
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as ShareLinkView, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-
|
|
34
|
+
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, c as BaseRegistrationFormView, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as ShareLinkView, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-ae0cd8b9.js';
|
|
35
35
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-200c9df8.js';
|
|
36
36
|
import { I as InvoiceTableView, T as TaxAndCashDashboardView$1, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-ceb3917a.js';
|
|
37
37
|
import { L as LeadInputFieldView } from './sqm-lead-input-field-view-671ff96f.js';
|
|
38
38
|
import './data-8698cbc6.js';
|
|
39
|
-
import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-
|
|
39
|
+
import { P as PartnerInfoModalView } from './sqm-partner-info-modal-view-8a5ab2d0.js';
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
42
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -14287,9 +14287,9 @@ const defaultCustomizeProps = {
|
|
|
14287
14287
|
validationError: null,
|
|
14288
14288
|
isValidating: false,
|
|
14289
14289
|
isSaving: false,
|
|
14290
|
-
characterLimit:
|
|
14290
|
+
characterLimit: 30,
|
|
14291
14291
|
minCharacters: 3,
|
|
14292
|
-
charactersRemaining:
|
|
14292
|
+
charactersRemaining: 30,
|
|
14293
14293
|
editLimitText: "You can edit your link up to 5 times.",
|
|
14294
14294
|
editLimitReachedText: "5 edit limit reached. To make more changes, please contact {supportLink}.",
|
|
14295
14295
|
supportLinkText: "Support",
|
|
@@ -19286,6 +19286,8 @@ const demoCurrencies = [
|
|
|
19286
19286
|
{ currencyCode: "AUD", displayName: "Australian Dollar" },
|
|
19287
19287
|
];
|
|
19288
19288
|
const noopCallbacks = {
|
|
19289
|
+
onFirstNameChange: (e) => console.log("First name changed:", e),
|
|
19290
|
+
onLastNameChange: (e) => console.log("Last name changed:", e),
|
|
19289
19291
|
onCountryChange: (e) => console.log("Country changed:", e),
|
|
19290
19292
|
onCurrencyChange: (e) => console.log("Currency changed:", e),
|
|
19291
19293
|
onCheckboxChange: (e) => console.log("Checkbox changed:", e),
|
|
@@ -19318,6 +19320,8 @@ const defaultProps$y = {
|
|
|
19318
19320
|
loading: false,
|
|
19319
19321
|
submitting: false,
|
|
19320
19322
|
isExistingPartner: false,
|
|
19323
|
+
firstName: "",
|
|
19324
|
+
lastName: "",
|
|
19321
19325
|
countryCode: "",
|
|
19322
19326
|
currency: "",
|
|
19323
19327
|
error: "",
|
|
@@ -19435,6 +19439,28 @@ const SQMComponentNewPartner = () => {
|
|
|
19435
19439
|
states: { open: true, isExistingPartner: false },
|
|
19436
19440
|
} }));
|
|
19437
19441
|
};
|
|
19442
|
+
const PartnerHasFirstAndLastName = () => {
|
|
19443
|
+
const props = {
|
|
19444
|
+
...defaultProps$y,
|
|
19445
|
+
states: {
|
|
19446
|
+
...defaultProps$y.states,
|
|
19447
|
+
firstName: "John",
|
|
19448
|
+
lastName: "Doe",
|
|
19449
|
+
},
|
|
19450
|
+
};
|
|
19451
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
19452
|
+
};
|
|
19453
|
+
const PartnerHasFirstNameOnly = () => {
|
|
19454
|
+
const props = {
|
|
19455
|
+
...defaultProps$y,
|
|
19456
|
+
states: {
|
|
19457
|
+
...defaultProps$y.states,
|
|
19458
|
+
firstName: "John",
|
|
19459
|
+
lastName: "",
|
|
19460
|
+
},
|
|
19461
|
+
};
|
|
19462
|
+
return h(PartnerInfoModalView, Object.assign({}, props));
|
|
19463
|
+
};
|
|
19438
19464
|
|
|
19439
19465
|
const PartnerInfoModal = /*#__PURE__*/Object.freeze({
|
|
19440
19466
|
__proto__: null,
|
|
@@ -19449,7 +19475,9 @@ const PartnerInfoModal = /*#__PURE__*/Object.freeze({
|
|
|
19449
19475
|
ValidationError: ValidationError$1,
|
|
19450
19476
|
Closed: Closed,
|
|
19451
19477
|
SQMComponentExistingPartner: SQMComponentExistingPartner,
|
|
19452
|
-
SQMComponentNewPartner: SQMComponentNewPartner
|
|
19478
|
+
SQMComponentNewPartner: SQMComponentNewPartner,
|
|
19479
|
+
PartnerHasFirstAndLastName: PartnerHasFirstAndLastName,
|
|
19480
|
+
PartnerHasFirstNameOnly: PartnerHasFirstNameOnly
|
|
19453
19481
|
});
|
|
19454
19482
|
|
|
19455
19483
|
const WidgetVerification_stories = {
|