@saasquatch/mint-components 2.1.8-24 → 2.1.8-25

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.
Files changed (32) hide show
  1. package/dist/cjs/{ShadowViewAddon-1ed8faf9.js → ShadowViewAddon-247ccfa4.js} +5 -5
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-big-stat_45.cjs.entry.js +41 -37
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  6. package/dist/collection/components/sqm-share-link/sqm-share-link.js +92 -76
  7. package/dist/collection/components/sqm-share-link/useShareLink.js +5 -5
  8. package/dist/esm/{ShadowViewAddon-395ab799.js → ShadowViewAddon-e7e73e36.js} +5 -5
  9. package/dist/esm/loader.js +1 -1
  10. package/dist/esm/mint-components.js +1 -1
  11. package/dist/esm/sqm-big-stat_45.entry.js +41 -37
  12. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  13. package/dist/esm-es5/{ShadowViewAddon-395ab799.js → ShadowViewAddon-e7e73e36.js} +1 -1
  14. package/dist/esm-es5/loader.js +1 -1
  15. package/dist/esm-es5/mint-components.js +1 -1
  16. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
  17. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  18. package/dist/mint-components/mint-components.esm.js +1 -1
  19. package/dist/mint-components/{p-d7adb7f3.system.js → p-0a02a7a5.system.js} +1 -1
  20. package/dist/mint-components/{p-ba640335.entry.js → p-365363b5.entry.js} +2 -2
  21. package/dist/mint-components/{p-cd79864c.js → p-3be90659.js} +1 -1
  22. package/dist/mint-components/{p-8e5a6491.system.entry.js → p-4aede05c.system.entry.js} +1 -1
  23. package/dist/mint-components/p-4b365f1f.system.js +1 -1
  24. package/dist/mint-components/{p-e6cf9daa.entry.js → p-c7f4a587.entry.js} +1 -1
  25. package/dist/mint-components/{p-2b108f39.system.entry.js → p-f62812ff.system.entry.js} +1 -1
  26. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +39 -35
  27. package/dist/types/components/sqm-share-link/useShareLink.d.ts +5 -5
  28. package/dist/types/components.d.ts +94 -86
  29. package/docs/docs.docx +0 -0
  30. package/docs/raisins.json +1 -1
  31. package/grapesjs/grapesjs.js +1 -1
  32. package/package.json +1 -1
@@ -23,7 +23,7 @@ import { u as useInstantAccessRegistration } from './useInstantAccessRegistratio
23
23
  import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-cec544ea.js';
24
24
  import { i as isEmpty } from './utilities-f05633da.js';
25
25
  import { E as ErrorView } from './ErrorView-74cb3af8.js';
26
- import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-395ab799.js';
26
+ import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-e7e73e36.js';
27
27
  import './sqm-portal-container-view-a8c708cd.js';
28
28
  import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, g as getCountryObj, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, i as GET_FINANCE_NETWORK_SETTINGS, j as CURRENCIES_QUERY_NAMESPACE, k as GET_CURRENCIES, L as LoadingView } from './data-a6752028.js';
29
29
  import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
@@ -6110,29 +6110,29 @@ const ShareLink = class {
6110
6110
  */
6111
6111
  this.buttonStyle = "icon";
6112
6112
  /**
6113
- * Enable users to customize their referral link
6113
+ * Let advocates customize their share links up to 5 times.
6114
6114
  *
6115
- * @uiName Customize URL
6115
+ * @uiName Allow customization
6116
6116
  * @uiType boolean
6117
- * @uiGroup Customize Vanity Link
6117
+ * @uiGroup Customizable Vanity Link
6118
6118
  * @requiredFlavor impact
6119
6119
  */
6120
6120
  this.allowCustomization = false;
6121
6121
  /**
6122
- * Text shown below the share link input to trigger customization
6122
+ * Displayed below the share link.
6123
6123
  *
6124
- * @uiName Customize link label
6124
+ * @uiName Customize link button label
6125
6125
  * @uiType string
6126
- * @uiGroup Customize Vanity Link
6126
+ * @uiGroup Customizable Vanity Link
6127
6127
  * @requiredFlavor impact
6128
6128
  */
6129
- this.customizeLinkLabel = "Customize Link";
6129
+ this.customizeLinkButtonLabel = "Customize Link";
6130
6130
  /**
6131
6131
  * Text for the save button in editing mode
6132
6132
  *
6133
6133
  * @uiName Save button label
6134
6134
  * @uiType string
6135
- * @uiGroup Customize Vanity Link
6135
+ * @uiGroup Customizable Vanity Link
6136
6136
  * @requiredFlavor impact
6137
6137
  */
6138
6138
  this.saveLabelText = "Save";
@@ -6141,79 +6141,83 @@ const ShareLink = class {
6141
6141
  *
6142
6142
  * @uiName Cancel button label
6143
6143
  * @uiType string
6144
- * @uiGroup Customize Vanity Link
6144
+ * @uiGroup Customizable Vanity Link
6145
6145
  * @requiredFlavor impact
6146
6146
  */
6147
6147
  this.cancelLabelText = "Cancel";
6148
6148
  /**
6149
- * Title text shown when the custom link is already taken
6149
+ * Title of the error message shown when the link has already been taken
6150
6150
  *
6151
- * @uiName Existing code conflict error title
6151
+ * @uiName Link taken error title
6152
6152
  * @uiType string
6153
- * @uiGroup Customize Vanity Link
6153
+ * @uiGroup Customizable Vanity Link
6154
6154
  * @requiredFlavor impact
6155
6155
  */
6156
- this.existingCodeConflictErrorTitle = "This link is already taken";
6156
+ this.linkTakenErrorTitle = "This link is already taken";
6157
6157
  /**
6158
- * Description text shown when the custom link is already taken
6158
+ * Description text shown when the link has already been taken
6159
6159
  *
6160
- * @uiName Existing code conflict error description
6160
+ * @uiName Link taken error message
6161
6161
  * @uiType string
6162
- * @uiGroup Customize Vanity Link
6162
+ * @uiWidget textarea
6163
+ * @uiGroup Customizable Vanity Link
6163
6164
  * @requiredFlavor impact
6164
6165
  */
6165
- this.existingCodeConflictErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
6166
+ this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
6166
6167
  /**
6167
- * Title text shown when the link contains invalid characters
6168
+ * Title of the error message shown when the link contains invalid special characters.
6168
6169
  *
6169
6170
  * @uiName Invalid characters error title
6170
6171
  * @uiType string
6171
- * @uiGroup Customize Vanity Link
6172
+ * @uiGroup Customizable Vanity Link
6172
6173
  * @requiredFlavor impact
6173
6174
  */
6174
6175
  this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
6175
6176
  /**
6176
- * Description text shown when the link contains invalid characters
6177
+ * Description text shown when the link contains invalid special characters.
6177
6178
  *
6178
6179
  * @uiName Invalid characters error description
6179
6180
  * @uiType string
6180
- * @uiGroup Customize Vanity Link
6181
+ * @uiWidget textarea
6182
+ * @uiGroup Customizable Vanity Link
6181
6183
  * @requiredFlavor impact
6182
6184
  */
6183
6185
  this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
6184
6186
  /**
6185
- * Title text shown when the link contains profanity
6187
+ * Title of the error message shown when the link contains profanity or brand names.
6186
6188
  *
6187
- * @uiName Profanity error title
6189
+ * @uiName Restricted words error title
6188
6190
  * @uiType string
6189
- * @uiGroup Customize Vanity Link
6191
+ * @uiGroup Customizable Vanity Link
6190
6192
  * @requiredFlavor impact
6191
6193
  */
6192
- this.profanityErrorTitle = "Please try a different link";
6194
+ this.restrictedWordsErrorTitle = "Please try a different link";
6193
6195
  /**
6194
- * Description text shown when the link contains profanity
6196
+ * Description text shown when the link contains profanity or brand names.
6195
6197
  *
6196
- * @uiName Profanity error description
6198
+ * @uiName Restricted words error description
6197
6199
  * @uiType string
6198
- * @uiGroup Customize Vanity Link
6200
+ * @uiWidget textarea
6201
+ * @uiGroup Customizable Vanity Link
6199
6202
  * @requiredFlavor impact
6200
6203
  */
6201
- this.profanityErrorDescription = "This link contains a restricted word.";
6204
+ this.restrictedWordsErrorDescription = "This link contains a restricted word.";
6202
6205
  /**
6203
- * Text describing the edit limit
6206
+ * Subtext shown while the user is customizing their URL.
6204
6207
  *
6205
6208
  * @uiName Edit limit text
6206
6209
  * @uiType string
6207
- * @uiGroup Customize Vanity Link
6210
+ * @uiGroup Customizable Vanity Link
6208
6211
  * @requiredFlavor impact
6209
6212
  */
6210
6213
  this.editLimitText = "You can edit your link up to {editsRemaining} more times.";
6211
6214
  /**
6212
- * Message shown when the edit limit has been reached. Use {supportLink} as a placeholder for the support link.
6215
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
6213
6216
  *
6214
6217
  * @uiName Edit limit reached text
6215
6218
  * @uiType string
6216
- * @uiGroup Customize Vanity Link
6219
+ * @uiWidget textarea
6220
+ * @uiGroup Customizable Vanity Link
6217
6221
  * @requiredFlavor impact
6218
6222
  */
6219
6223
  this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
@@ -6222,7 +6226,7 @@ const ShareLink = class {
6222
6226
  *
6223
6227
  * @uiName Support link text
6224
6228
  * @uiType string
6225
- * @uiGroup Customize Vanity Link
6229
+ * @uiGroup Customizable Vanity Link
6226
6230
  * @requiredFlavor impact
6227
6231
  */
6228
6232
  this.supportLinkText = "Support";
@@ -6231,7 +6235,7 @@ const ShareLink = class {
6231
6235
  *
6232
6236
  * @uiName Customize disabled tooltip
6233
6237
  * @uiType string
6234
- * @uiGroup Customize Vanity Link
6238
+ * @uiGroup Customizable Vanity Link
6235
6239
  * @requiredFlavor impact
6236
6240
  */
6237
6241
  this.customizeDisabledTooltip = "Link customization is not available.";
@@ -6273,7 +6277,7 @@ function useDemoShareLink(props) {
6273
6277
  },
6274
6278
  },
6275
6279
  allowCustomization: props.allowCustomization,
6276
- customizeLinkLabel: props.customizeLinkLabel,
6280
+ customizeLinkLabel: props.customizeLinkButtonLabel,
6277
6281
  saveLabelText: props.saveLabelText,
6278
6282
  cancelLabelText: props.cancelLabelText,
6279
6283
  isEditing,
@@ -29,7 +29,7 @@ import './utilities-f05633da.js';
29
29
  import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-cfbc0eb0.js';
30
30
  import './ErrorView-74cb3af8.js';
31
31
  import { Q as QrCodeView } from './sqm-qr-code-view-ce476721.js';
32
- 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-395ab799.js';
32
+ 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-e7e73e36.js';
33
33
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-a8c708cd.js';
34
34
  import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-0ef6a58f.js';
35
35
  import { t as taxTypeToName, L as LoadingView } from './data-a6752028.js';