@saasquatch/mint-components 2.1.8-23 → 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 (40) hide show
  1. package/dist/cjs/{ShadowViewAddon-00d53485.js → ShadowViewAddon-247ccfa4.js} +45 -14
  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 +44 -40
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +3 -3
  6. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -1
  7. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +1 -1
  8. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +37 -6
  9. package/dist/collection/components/sqm-share-link/sqm-share-link.js +116 -83
  10. package/dist/collection/components/sqm-share-link/useShareLink.js +8 -8
  11. package/dist/esm/{ShadowViewAddon-6bf9d141.js → ShadowViewAddon-e7e73e36.js} +45 -14
  12. package/dist/esm/loader.js +1 -1
  13. package/dist/esm/mint-components.js +1 -1
  14. package/dist/esm/sqm-big-stat_45.entry.js +44 -40
  15. package/dist/esm/sqm-stencilbook.entry.js +3 -3
  16. package/dist/esm-es5/{ShadowViewAddon-6bf9d141.js → ShadowViewAddon-e7e73e36.js} +1 -1
  17. package/dist/esm-es5/loader.js +1 -1
  18. package/dist/esm-es5/mint-components.js +1 -1
  19. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
  20. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  21. package/dist/mint-components/mint-components.esm.js +1 -1
  22. package/dist/mint-components/{p-6fcc0439.system.js → p-0a02a7a5.system.js} +1 -1
  23. package/dist/mint-components/{p-2065e74e.entry.js → p-365363b5.entry.js} +2 -2
  24. package/dist/mint-components/{p-a5bbe968.js → p-3be90659.js} +2 -2
  25. package/dist/mint-components/{p-1cc59885.system.entry.js → p-4aede05c.system.entry.js} +1 -1
  26. package/dist/mint-components/p-4b365f1f.system.js +1 -1
  27. package/dist/mint-components/{p-01962a11.entry.js → p-c7f4a587.entry.js} +2 -2
  28. package/dist/mint-components/{p-d8e5c04c.system.entry.js → p-f62812ff.system.entry.js} +1 -1
  29. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
  30. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +41 -36
  31. package/dist/types/components/sqm-share-link/useShareLink.d.ts +6 -6
  32. package/dist/types/components.d.ts +106 -314
  33. package/dist/types/global/android.d.ts +7 -0
  34. package/dist/types/global/demo.d.ts +2 -0
  35. package/dist/types/stories/features.d.ts +4 -0
  36. package/dist/types/stories/templates.d.ts +4 -0
  37. package/docs/docs.docx +0 -0
  38. package/docs/raisins.json +1 -1
  39. package/grapesjs/grapesjs.js +1 -1
  40. package/package.json +1 -1
@@ -34,7 +34,6 @@ import { NavigationMenuViewProps } from "./components/sqm-navigation-menu/sqm-na
34
34
  import { NavigationSidebarViewProps } from "./components/sqm-navigation-sidebar/sqm-navigation-sidebar-view";
35
35
  import { NavigationSidebarItemViewProps } from "./components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item-view";
36
36
  import { UsePagination } from "./components/sqm-pagination/usePagination";
37
- import { PartnerInfoModalResult } from "./components/sqm-partner-info-modal/usePartnerInfoModal";
38
37
  import { PasswordFieldViewDemoProps } from "./components/sqm-password-field/usePasswordField";
39
38
  import { PayoutButtonScrollViewProps } from "./components/sqm-payout-button-scroll/sqm-payout-button-scroll-view";
40
39
  import { PayoutStatusAlertViewProps } from "./components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert-view";
@@ -2192,110 +2191,6 @@ export namespace Components {
2192
2191
  */
2193
2192
  "paginationText": string;
2194
2193
  }
2195
- interface SqmPartnerInfoModal {
2196
- /**
2197
- * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
2198
- * @uiName Terms and conditions checkbox
2199
- */
2200
- "allowBankingCollection": string;
2201
- /**
2202
- * Brand name shown in the modal header
2203
- * @uiName Brand name
2204
- */
2205
- "brandName": string;
2206
- /**
2207
- * @uiName Confirm button label
2208
- */
2209
- "confirmButtonLabel": string;
2210
- /**
2211
- * @uiName Country label
2212
- */
2213
- "countryLabel": string;
2214
- /**
2215
- * @uiName Currency label
2216
- */
2217
- "currencyLabel": string;
2218
- /**
2219
- * @undocumented
2220
- * @uiType object
2221
- */
2222
- "demoData"?: DemoData<PartnerInfoModalResult>;
2223
- /**
2224
- * Description for existing partner confirmation
2225
- * @uiName Existing partner description
2226
- * @uiWidget textArea
2227
- */
2228
- "descriptionExistingPartner": string;
2229
- /**
2230
- * Description for new partner setup
2231
- * @uiName New partner description
2232
- * @uiWidget textArea
2233
- */
2234
- "descriptionNewPartner": string;
2235
- /**
2236
- * Used to render in another modal.
2237
- * @undocumented
2238
- */
2239
- "inModal": boolean;
2240
- /**
2241
- * @uiName Missing fields error text
2242
- * @uiWidget textArea
2243
- */
2244
- "missingFieldsErrorText": string;
2245
- /**
2246
- * Header text when user has no existing partner
2247
- * @uiName New partner header
2248
- * @uiWidget textArea
2249
- */
2250
- "modalHeader": string;
2251
- /**
2252
- * Header text when user has an existing partner
2253
- * @uiName Existing partner header
2254
- * @uiWidget textArea
2255
- */
2256
- "modalHeaderExistingPartner": string;
2257
- /**
2258
- * @uiName Network error text
2259
- * @uiWidget textArea
2260
- */
2261
- "networkErrorText": string;
2262
- /**
2263
- * @uiName Search country placeholder
2264
- */
2265
- "searchCountryPlaceholder": string;
2266
- /**
2267
- * @uiName Search currency placeholder
2268
- */
2269
- "searchCurrencyPlaceholder": string;
2270
- /**
2271
- * @undocumented
2272
- * @componentState { "title": "New partner", "props": { "states": { "open": true, "isExistingPartner": false } } }
2273
- * @componentState { "title": "Existing partner", "props": { "states": { "open": true, "isExistingPartner": true, "countryCode": "US", "currency": "USD" } } }
2274
- * @componentState { "title": "Connected (hidden)", "props": { "states": { "open": false } } }
2275
- */
2276
- "stateController": string;
2277
- /**
2278
- * @uiName Submit button label
2279
- */
2280
- "submitButtonLabel": string;
2281
- /**
2282
- * Support description for existing partner confirmation
2283
- * @uiName Existing partner support description
2284
- * @uiWidget textArea
2285
- */
2286
- "supportDescriptionExistingPartner": string;
2287
- /**
2288
- * The link text that appears in the terms and conditions checkbox
2289
- * @uiName Terms and conditions text
2290
- * @uiWidget textArea
2291
- */
2292
- "termsAndConditionsLabel": string;
2293
- /**
2294
- * The link that appears in the terms and conditions checkbox
2295
- * @uiName Terms and conditions link
2296
- */
2297
- "termsAndConditionsLink": string;
2298
- }
2299
2194
  interface SqmPasswordField {
2300
2195
  /**
2301
2196
  * @undocumented
@@ -4994,6 +4889,14 @@ export namespace Components {
4994
4889
  "tooltiptext": string;
4995
4890
  }
4996
4891
  interface SqmShareLink {
4892
+ /**
4893
+ * Let advocates customize their share links up to 5 times.
4894
+ * @uiName Allow customization
4895
+ * @uiType boolean
4896
+ * @uiGroup Customizable Vanity Link
4897
+ * @requiredFlavor impact
4898
+ */
4899
+ "allowCustomization"?: boolean;
4997
4900
  /**
4998
4901
  * Background color of share link container
4999
4902
  * @uiName Background color
@@ -5039,7 +4942,7 @@ export namespace Components {
5039
4942
  * Text for the cancel button in editing mode
5040
4943
  * @uiName Cancel button label
5041
4944
  * @uiType string
5042
- * @uiGroup Customize Vanity Link
4945
+ * @uiGroup Customizable Vanity Link
5043
4946
  * @requiredFlavor impact
5044
4947
  */
5045
4948
  "cancelLabelText"?: string;
@@ -5051,106 +4954,103 @@ export namespace Components {
5051
4954
  * Tooltip text shown when link customization is disabled
5052
4955
  * @uiName Customize disabled tooltip
5053
4956
  * @uiType string
5054
- * @uiGroup Customize Vanity Link
4957
+ * @uiGroup Customizable Vanity Link
5055
4958
  * @requiredFlavor impact
5056
4959
  */
5057
4960
  "customizeDisabledTooltip"?: string;
5058
4961
  /**
5059
- * Text shown below the share link input to trigger customization
5060
- * @uiName Customize link label
4962
+ * Displayed below the share link.
4963
+ * @uiName Customize link button label
5061
4964
  * @uiType string
5062
- * @uiGroup Customize Vanity Link
5063
- * @requiredFlavor impact
5064
- */
5065
- "customizeLinkLabel"?: string;
5066
- /**
5067
- * Enable users to customize their referral link
5068
- * @uiName Customize URL
5069
- * @uiType boolean
5070
- * @uiGroup Customize Vanity Link
4965
+ * @uiGroup Customizable Vanity Link
5071
4966
  * @requiredFlavor impact
5072
4967
  */
5073
- "customizeUrl"?: boolean;
4968
+ "customizeLinkButtonLabel"?: string;
5074
4969
  /**
5075
4970
  * @undocumented
5076
4971
  * @uiType object
5077
4972
  */
5078
4973
  "demoData"?: DemoData<ShareLinkViewProps>;
5079
4974
  /**
5080
- * Message shown when the edit limit has been reached. Use {supportLink} as a placeholder for the support link.
4975
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
5081
4976
  * @uiName Edit limit reached text
5082
4977
  * @uiType string
5083
- * @uiGroup Customize Vanity Link
4978
+ * @uiWidget textarea
4979
+ * @uiGroup Customizable Vanity Link
5084
4980
  * @requiredFlavor impact
5085
4981
  */
5086
4982
  "editLimitReachedText"?: string;
5087
4983
  /**
5088
- * Text describing the edit limit
4984
+ * Subtext shown while the user is customizing their URL.
5089
4985
  * @uiName Edit limit text
5090
4986
  * @uiType string
5091
- * @uiGroup Customize Vanity Link
4987
+ * @uiGroup Customizable Vanity Link
5092
4988
  * @requiredFlavor impact
5093
4989
  */
5094
4990
  "editLimitText"?: string;
4991
+ "editsRemaining"?: number;
5095
4992
  /**
5096
- * Description text shown when the custom link is already taken
5097
- * @uiName Existing code conflict error description
5098
- * @uiType string
5099
- * @uiGroup Customize Vanity Link
5100
- * @requiredFlavor impact
5101
- */
5102
- "existingCodeConflictErrorDescription"?: string;
5103
- /**
5104
- * Title text shown when the custom link is already taken
5105
- * @uiName Existing code conflict error title
5106
- * @uiType string
5107
- * @uiGroup Customize Vanity Link
5108
- * @requiredFlavor impact
5109
- */
5110
- "existingCodeConflictErrorTitle"?: string;
5111
- /**
5112
- * Description text shown when the link contains invalid characters
4993
+ * Description text shown when the link contains invalid special characters.
5113
4994
  * @uiName Invalid characters error description
5114
4995
  * @uiType string
5115
- * @uiGroup Customize Vanity Link
4996
+ * @uiWidget textarea
4997
+ * @uiGroup Customizable Vanity Link
5116
4998
  * @requiredFlavor impact
5117
4999
  */
5118
5000
  "invalidCharactersErrorDescription"?: string;
5119
5001
  /**
5120
- * Title text shown when the link contains invalid characters
5002
+ * Title of the error message shown when the link contains invalid special characters.
5121
5003
  * @uiName Invalid characters error title
5122
5004
  * @uiType string
5123
- * @uiGroup Customize Vanity Link
5005
+ * @uiGroup Customizable Vanity Link
5124
5006
  * @requiredFlavor impact
5125
5007
  */
5126
5008
  "invalidCharactersErrorTitle"?: string;
5127
5009
  /**
5128
- * Description text shown when the link contains profanity
5129
- * @uiName Profanity error description
5010
+ * Description text shown when the link has already been taken
5011
+ * @uiName Link taken error message
5130
5012
  * @uiType string
5131
- * @uiGroup Customize Vanity Link
5013
+ * @uiWidget textarea
5014
+ * @uiGroup Customizable Vanity Link
5132
5015
  * @requiredFlavor impact
5133
5016
  */
5134
- "profanityErrorDescription"?: string;
5017
+ "linkTakenErrorDescription"?: string;
5135
5018
  /**
5136
- * Title text shown when the link contains profanity
5137
- * @uiName Profanity error title
5019
+ * Title of the error message shown when the link has already been taken
5020
+ * @uiName Link taken error title
5138
5021
  * @uiType string
5139
- * @uiGroup Customize Vanity Link
5022
+ * @uiGroup Customizable Vanity Link
5140
5023
  * @requiredFlavor impact
5141
5024
  */
5142
- "profanityErrorTitle"?: string;
5025
+ "linkTakenErrorTitle"?: string;
5143
5026
  /**
5144
5027
  * The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded.
5145
5028
  * @uiName Program ID
5146
5029
  * @uiWidget programSelector
5147
5030
  */
5148
5031
  "programId"?: string;
5032
+ /**
5033
+ * Description text shown when the link contains profanity or brand names.
5034
+ * @uiName Restricted words error description
5035
+ * @uiType string
5036
+ * @uiWidget textarea
5037
+ * @uiGroup Customizable Vanity Link
5038
+ * @requiredFlavor impact
5039
+ */
5040
+ "restrictedWordsErrorDescription"?: string;
5041
+ /**
5042
+ * Title of the error message shown when the link contains profanity or brand names.
5043
+ * @uiName Restricted words error title
5044
+ * @uiType string
5045
+ * @uiGroup Customizable Vanity Link
5046
+ * @requiredFlavor impact
5047
+ */
5048
+ "restrictedWordsErrorTitle"?: string;
5149
5049
  /**
5150
5050
  * Text for the save button in editing mode
5151
5051
  * @uiName Save button label
5152
5052
  * @uiType string
5153
- * @uiGroup Customize Vanity Link
5053
+ * @uiGroup Customizable Vanity Link
5154
5054
  * @requiredFlavor impact
5155
5055
  */
5156
5056
  "saveLabelText"?: string;
@@ -5158,7 +5058,7 @@ export namespace Components {
5158
5058
  * Display text for the support link in the edit limit reached message
5159
5059
  * @uiName Support link text
5160
5060
  * @uiType string
5161
- * @uiGroup Customize Vanity Link
5061
+ * @uiGroup Customizable Vanity Link
5162
5062
  * @requiredFlavor impact
5163
5063
  */
5164
5064
  "supportLinkText"?: string;
@@ -7595,12 +7495,6 @@ declare global {
7595
7495
  prototype: HTMLSqmPaginationElement;
7596
7496
  new (): HTMLSqmPaginationElement;
7597
7497
  };
7598
- interface HTMLSqmPartnerInfoModalElement extends Components.SqmPartnerInfoModal, HTMLStencilElement {
7599
- }
7600
- var HTMLSqmPartnerInfoModalElement: {
7601
- prototype: HTMLSqmPartnerInfoModalElement;
7602
- new (): HTMLSqmPartnerInfoModalElement;
7603
- };
7604
7498
  interface HTMLSqmPasswordFieldElement extends Components.SqmPasswordField, HTMLStencilElement {
7605
7499
  }
7606
7500
  var HTMLSqmPasswordFieldElement: {
@@ -8125,7 +8019,6 @@ declare global {
8125
8019
  "sqm-navigation-sidebar": HTMLSqmNavigationSidebarElement;
8126
8020
  "sqm-navigation-sidebar-item": HTMLSqmNavigationSidebarItemElement;
8127
8021
  "sqm-pagination": HTMLSqmPaginationElement;
8128
- "sqm-partner-info-modal": HTMLSqmPartnerInfoModalElement;
8129
8022
  "sqm-password-field": HTMLSqmPasswordFieldElement;
8130
8023
  "sqm-payout-button-scroll": HTMLSqmPayoutButtonScrollElement;
8131
8024
  "sqm-payout-details-card": HTMLSqmPayoutDetailsCardElement;
@@ -10332,110 +10225,6 @@ declare namespace LocalJSX {
10332
10225
  */
10333
10226
  "paginationText"?: string;
10334
10227
  }
10335
- interface SqmPartnerInfoModal {
10336
- /**
10337
- * Edit the property called terms and conditions text to change what's displayed for {termsAndConditionsLink}.
10338
- * @uiName Terms and conditions checkbox
10339
- */
10340
- "allowBankingCollection"?: string;
10341
- /**
10342
- * Brand name shown in the modal header
10343
- * @uiName Brand name
10344
- */
10345
- "brandName"?: string;
10346
- /**
10347
- * @uiName Confirm button label
10348
- */
10349
- "confirmButtonLabel"?: string;
10350
- /**
10351
- * @uiName Country label
10352
- */
10353
- "countryLabel"?: string;
10354
- /**
10355
- * @uiName Currency label
10356
- */
10357
- "currencyLabel"?: string;
10358
- /**
10359
- * @undocumented
10360
- * @uiType object
10361
- */
10362
- "demoData"?: DemoData<PartnerInfoModalResult>;
10363
- /**
10364
- * Description for existing partner confirmation
10365
- * @uiName Existing partner description
10366
- * @uiWidget textArea
10367
- */
10368
- "descriptionExistingPartner"?: string;
10369
- /**
10370
- * Description for new partner setup
10371
- * @uiName New partner description
10372
- * @uiWidget textArea
10373
- */
10374
- "descriptionNewPartner"?: string;
10375
- /**
10376
- * Used to render in another modal.
10377
- * @undocumented
10378
- */
10379
- "inModal"?: boolean;
10380
- /**
10381
- * @uiName Missing fields error text
10382
- * @uiWidget textArea
10383
- */
10384
- "missingFieldsErrorText"?: string;
10385
- /**
10386
- * Header text when user has no existing partner
10387
- * @uiName New partner header
10388
- * @uiWidget textArea
10389
- */
10390
- "modalHeader"?: string;
10391
- /**
10392
- * Header text when user has an existing partner
10393
- * @uiName Existing partner header
10394
- * @uiWidget textArea
10395
- */
10396
- "modalHeaderExistingPartner"?: string;
10397
- /**
10398
- * @uiName Network error text
10399
- * @uiWidget textArea
10400
- */
10401
- "networkErrorText"?: string;
10402
- /**
10403
- * @uiName Search country placeholder
10404
- */
10405
- "searchCountryPlaceholder"?: string;
10406
- /**
10407
- * @uiName Search currency placeholder
10408
- */
10409
- "searchCurrencyPlaceholder"?: string;
10410
- /**
10411
- * @undocumented
10412
- * @componentState { "title": "New partner", "props": { "states": { "open": true, "isExistingPartner": false } } }
10413
- * @componentState { "title": "Existing partner", "props": { "states": { "open": true, "isExistingPartner": true, "countryCode": "US", "currency": "USD" } } }
10414
- * @componentState { "title": "Connected (hidden)", "props": { "states": { "open": false } } }
10415
- */
10416
- "stateController"?: string;
10417
- /**
10418
- * @uiName Submit button label
10419
- */
10420
- "submitButtonLabel"?: string;
10421
- /**
10422
- * Support description for existing partner confirmation
10423
- * @uiName Existing partner support description
10424
- * @uiWidget textArea
10425
- */
10426
- "supportDescriptionExistingPartner"?: string;
10427
- /**
10428
- * The link text that appears in the terms and conditions checkbox
10429
- * @uiName Terms and conditions text
10430
- * @uiWidget textArea
10431
- */
10432
- "termsAndConditionsLabel"?: string;
10433
- /**
10434
- * The link that appears in the terms and conditions checkbox
10435
- * @uiName Terms and conditions link
10436
- */
10437
- "termsAndConditionsLink"?: string;
10438
- }
10439
10228
  interface SqmPasswordField {
10440
10229
  /**
10441
10230
  * @undocumented
@@ -13110,6 +12899,14 @@ declare namespace LocalJSX {
13110
12899
  "tooltiptext"?: string;
13111
12900
  }
13112
12901
  interface SqmShareLink {
12902
+ /**
12903
+ * Let advocates customize their share links up to 5 times.
12904
+ * @uiName Allow customization
12905
+ * @uiType boolean
12906
+ * @uiGroup Customizable Vanity Link
12907
+ * @requiredFlavor impact
12908
+ */
12909
+ "allowCustomization"?: boolean;
13113
12910
  /**
13114
12911
  * Background color of share link container
13115
12912
  * @uiName Background color
@@ -13155,7 +12952,7 @@ declare namespace LocalJSX {
13155
12952
  * Text for the cancel button in editing mode
13156
12953
  * @uiName Cancel button label
13157
12954
  * @uiType string
13158
- * @uiGroup Customize Vanity Link
12955
+ * @uiGroup Customizable Vanity Link
13159
12956
  * @requiredFlavor impact
13160
12957
  */
13161
12958
  "cancelLabelText"?: string;
@@ -13167,106 +12964,103 @@ declare namespace LocalJSX {
13167
12964
  * Tooltip text shown when link customization is disabled
13168
12965
  * @uiName Customize disabled tooltip
13169
12966
  * @uiType string
13170
- * @uiGroup Customize Vanity Link
12967
+ * @uiGroup Customizable Vanity Link
13171
12968
  * @requiredFlavor impact
13172
12969
  */
13173
12970
  "customizeDisabledTooltip"?: string;
13174
12971
  /**
13175
- * Text shown below the share link input to trigger customization
13176
- * @uiName Customize link label
12972
+ * Displayed below the share link.
12973
+ * @uiName Customize link button label
13177
12974
  * @uiType string
13178
- * @uiGroup Customize Vanity Link
13179
- * @requiredFlavor impact
13180
- */
13181
- "customizeLinkLabel"?: string;
13182
- /**
13183
- * Enable users to customize their referral link
13184
- * @uiName Customize URL
13185
- * @uiType boolean
13186
- * @uiGroup Customize Vanity Link
12975
+ * @uiGroup Customizable Vanity Link
13187
12976
  * @requiredFlavor impact
13188
12977
  */
13189
- "customizeUrl"?: boolean;
12978
+ "customizeLinkButtonLabel"?: string;
13190
12979
  /**
13191
12980
  * @undocumented
13192
12981
  * @uiType object
13193
12982
  */
13194
12983
  "demoData"?: DemoData<ShareLinkViewProps>;
13195
12984
  /**
13196
- * Message shown when the edit limit has been reached. Use {supportLink} as a placeholder for the support link.
12985
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
13197
12986
  * @uiName Edit limit reached text
13198
12987
  * @uiType string
13199
- * @uiGroup Customize Vanity Link
12988
+ * @uiWidget textarea
12989
+ * @uiGroup Customizable Vanity Link
13200
12990
  * @requiredFlavor impact
13201
12991
  */
13202
12992
  "editLimitReachedText"?: string;
13203
12993
  /**
13204
- * Text describing the edit limit
12994
+ * Subtext shown while the user is customizing their URL.
13205
12995
  * @uiName Edit limit text
13206
12996
  * @uiType string
13207
- * @uiGroup Customize Vanity Link
12997
+ * @uiGroup Customizable Vanity Link
13208
12998
  * @requiredFlavor impact
13209
12999
  */
13210
13000
  "editLimitText"?: string;
13001
+ "editsRemaining"?: number;
13211
13002
  /**
13212
- * Description text shown when the custom link is already taken
13213
- * @uiName Existing code conflict error description
13214
- * @uiType string
13215
- * @uiGroup Customize Vanity Link
13216
- * @requiredFlavor impact
13217
- */
13218
- "existingCodeConflictErrorDescription"?: string;
13219
- /**
13220
- * Title text shown when the custom link is already taken
13221
- * @uiName Existing code conflict error title
13222
- * @uiType string
13223
- * @uiGroup Customize Vanity Link
13224
- * @requiredFlavor impact
13225
- */
13226
- "existingCodeConflictErrorTitle"?: string;
13227
- /**
13228
- * Description text shown when the link contains invalid characters
13003
+ * Description text shown when the link contains invalid special characters.
13229
13004
  * @uiName Invalid characters error description
13230
13005
  * @uiType string
13231
- * @uiGroup Customize Vanity Link
13006
+ * @uiWidget textarea
13007
+ * @uiGroup Customizable Vanity Link
13232
13008
  * @requiredFlavor impact
13233
13009
  */
13234
13010
  "invalidCharactersErrorDescription"?: string;
13235
13011
  /**
13236
- * Title text shown when the link contains invalid characters
13012
+ * Title of the error message shown when the link contains invalid special characters.
13237
13013
  * @uiName Invalid characters error title
13238
13014
  * @uiType string
13239
- * @uiGroup Customize Vanity Link
13015
+ * @uiGroup Customizable Vanity Link
13240
13016
  * @requiredFlavor impact
13241
13017
  */
13242
13018
  "invalidCharactersErrorTitle"?: string;
13243
13019
  /**
13244
- * Description text shown when the link contains profanity
13245
- * @uiName Profanity error description
13020
+ * Description text shown when the link has already been taken
13021
+ * @uiName Link taken error message
13246
13022
  * @uiType string
13247
- * @uiGroup Customize Vanity Link
13023
+ * @uiWidget textarea
13024
+ * @uiGroup Customizable Vanity Link
13248
13025
  * @requiredFlavor impact
13249
13026
  */
13250
- "profanityErrorDescription"?: string;
13027
+ "linkTakenErrorDescription"?: string;
13251
13028
  /**
13252
- * Title text shown when the link contains profanity
13253
- * @uiName Profanity error title
13029
+ * Title of the error message shown when the link has already been taken
13030
+ * @uiName Link taken error title
13254
13031
  * @uiType string
13255
- * @uiGroup Customize Vanity Link
13032
+ * @uiGroup Customizable Vanity Link
13256
13033
  * @requiredFlavor impact
13257
13034
  */
13258
- "profanityErrorTitle"?: string;
13035
+ "linkTakenErrorTitle"?: string;
13259
13036
  /**
13260
13037
  * The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded.
13261
13038
  * @uiName Program ID
13262
13039
  * @uiWidget programSelector
13263
13040
  */
13264
13041
  "programId"?: string;
13042
+ /**
13043
+ * Description text shown when the link contains profanity or brand names.
13044
+ * @uiName Restricted words error description
13045
+ * @uiType string
13046
+ * @uiWidget textarea
13047
+ * @uiGroup Customizable Vanity Link
13048
+ * @requiredFlavor impact
13049
+ */
13050
+ "restrictedWordsErrorDescription"?: string;
13051
+ /**
13052
+ * Title of the error message shown when the link contains profanity or brand names.
13053
+ * @uiName Restricted words error title
13054
+ * @uiType string
13055
+ * @uiGroup Customizable Vanity Link
13056
+ * @requiredFlavor impact
13057
+ */
13058
+ "restrictedWordsErrorTitle"?: string;
13265
13059
  /**
13266
13060
  * Text for the save button in editing mode
13267
13061
  * @uiName Save button label
13268
13062
  * @uiType string
13269
- * @uiGroup Customize Vanity Link
13063
+ * @uiGroup Customizable Vanity Link
13270
13064
  * @requiredFlavor impact
13271
13065
  */
13272
13066
  "saveLabelText"?: string;
@@ -13274,7 +13068,7 @@ declare namespace LocalJSX {
13274
13068
  * Display text for the support link in the edit limit reached message
13275
13069
  * @uiName Support link text
13276
13070
  * @uiType string
13277
- * @uiGroup Customize Vanity Link
13071
+ * @uiGroup Customizable Vanity Link
13278
13072
  * @requiredFlavor impact
13279
13073
  */
13280
13074
  "supportLinkText"?: string;
@@ -15464,7 +15258,6 @@ declare namespace LocalJSX {
15464
15258
  "sqm-navigation-sidebar": SqmNavigationSidebar;
15465
15259
  "sqm-navigation-sidebar-item": SqmNavigationSidebarItem;
15466
15260
  "sqm-pagination": SqmPagination;
15467
- "sqm-partner-info-modal": SqmPartnerInfoModal;
15468
15261
  "sqm-password-field": SqmPasswordField;
15469
15262
  "sqm-payout-button-scroll": SqmPayoutButtonScroll;
15470
15263
  "sqm-payout-details-card": SqmPayoutDetailsCard;
@@ -15599,7 +15392,6 @@ declare module "@stencil/core" {
15599
15392
  "sqm-navigation-sidebar": LocalJSX.SqmNavigationSidebar & JSXBase.HTMLAttributes<HTMLSqmNavigationSidebarElement>;
15600
15393
  "sqm-navigation-sidebar-item": LocalJSX.SqmNavigationSidebarItem & JSXBase.HTMLAttributes<HTMLSqmNavigationSidebarItemElement>;
15601
15394
  "sqm-pagination": LocalJSX.SqmPagination & JSXBase.HTMLAttributes<HTMLSqmPaginationElement>;
15602
- "sqm-partner-info-modal": LocalJSX.SqmPartnerInfoModal & JSXBase.HTMLAttributes<HTMLSqmPartnerInfoModalElement>;
15603
15395
  "sqm-password-field": LocalJSX.SqmPasswordField & JSXBase.HTMLAttributes<HTMLSqmPasswordFieldElement>;
15604
15396
  "sqm-payout-button-scroll": LocalJSX.SqmPayoutButtonScroll & JSXBase.HTMLAttributes<HTMLSqmPayoutButtonScrollElement>;
15605
15397
  "sqm-payout-details-card": LocalJSX.SqmPayoutDetailsCard & JSXBase.HTMLAttributes<HTMLSqmPayoutDetailsCardElement>;
@@ -0,0 +1,7 @@
1
+ interface AndroidInterface {
2
+ platform: 'android';
3
+ shareOnFacebook(shareUrl: string, fallbackUrl: string): void;
4
+ showToast(toast: string): void;
5
+ }
6
+
7
+ export type PlatformNativeActions = AndroidInterface | undefined;
@@ -0,0 +1,2 @@
1
+ export type DemoData<T extends {}> = Partial<Omit<T, "callbacks" | "text">>;
2
+ export type StoryDemoData<T extends {}> = Partial<Omit<T, "text">>;
@@ -0,0 +1,4 @@
1
+ declare module "*.feature" {
2
+ const content: string;
3
+ export default content;
4
+ }
@@ -0,0 +1,4 @@
1
+ declare module "*.html" {
2
+ const content: string;
3
+ export default content;
4
+ }
package/docs/docs.docx CHANGED
Binary file