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

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 (77) hide show
  1. package/dist/cjs/{ShadowViewAddon-643b83e2.js → ShadowViewAddon-1ed8faf9.js} +12 -8
  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 +4 -4
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +590 -1146
  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 -7
  9. package/dist/collection/components/sqm-share-link/sqm-share-link.js +24 -7
  10. package/dist/collection/components/sqm-share-link/useShareLink.js +3 -3
  11. package/dist/esm/{ShadowViewAddon-fcb6446a.js → ShadowViewAddon-395ab799.js} +12 -8
  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 +4 -4
  15. package/dist/esm/sqm-stencilbook.entry.js +2773 -3329
  16. package/dist/esm-es5/{ShadowViewAddon-fcb6446a.js → ShadowViewAddon-395ab799.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-3692c0da.system.entry.js → p-2b108f39.system.entry.js} +1 -1
  23. package/dist/mint-components/p-4b365f1f.system.js +1 -1
  24. package/dist/mint-components/{p-8d7548fb.system.entry.js → p-8e5a6491.system.entry.js} +1 -1
  25. package/dist/mint-components/{p-04502b80.entry.js → p-ba640335.entry.js} +2 -2
  26. package/dist/mint-components/{p-0eeb5438.js → p-cd79864c.js} +6 -6
  27. package/dist/mint-components/{p-5284bb02.system.js → p-d7adb7f3.system.js} +1 -1
  28. package/dist/mint-components/{p-31757712.entry.js → p-e6cf9daa.entry.js} +2 -2
  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 +2 -1
  31. package/dist/types/components/sqm-share-link/useShareLink.d.ts +1 -1
  32. package/dist/types/components.d.ts +18 -234
  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
  41. package/dist/cjs/sqm-share-link.cjs.entry.js +0 -271
  42. package/dist/cjs/useShareLink-1282123e.js +0 -422
  43. package/dist/cjs/useShareLink-3c22b1b9.js +0 -448
  44. package/dist/cjs/useShareLink-54e24928.js +0 -448
  45. package/dist/cjs/useShareLink-b664fbc7.js +0 -450
  46. package/dist/cjs/useShareLink-bf04b25c.js +0 -450
  47. package/dist/cjs/useShareLink-e8e2ae6d.js +0 -448
  48. package/dist/esm/sqm-share-link.entry.js +0 -267
  49. package/dist/esm/useShareLink-023284f3.js +0 -445
  50. package/dist/esm/useShareLink-436e9cad.js +0 -445
  51. package/dist/esm/useShareLink-4ba01373.js +0 -447
  52. package/dist/esm/useShareLink-79056582.js +0 -445
  53. package/dist/esm/useShareLink-a3329e33.js +0 -419
  54. package/dist/esm/useShareLink-bc20ec4c.js +0 -447
  55. package/dist/esm-es5/sqm-share-link.entry.js +0 -1
  56. package/dist/esm-es5/useShareLink-023284f3.js +0 -1
  57. package/dist/esm-es5/useShareLink-436e9cad.js +0 -1
  58. package/dist/esm-es5/useShareLink-4ba01373.js +0 -1
  59. package/dist/esm-es5/useShareLink-79056582.js +0 -1
  60. package/dist/esm-es5/useShareLink-a3329e33.js +0 -1
  61. package/dist/esm-es5/useShareLink-bc20ec4c.js +0 -1
  62. package/dist/mint-components/sqm-share-link.entry.js +0 -267
  63. package/dist/mint-components/sqm-share-link.system.entry.js +0 -1
  64. package/dist/mint-components/sqm-stencilbook.entry.js +0 -22106
  65. package/dist/mint-components/sqm-stencilbook.system.entry.js +0 -1
  66. package/dist/mint-components/useShareLink-023284f3.js +0 -445
  67. package/dist/mint-components/useShareLink-1d7c9fd8.system.js +0 -1
  68. package/dist/mint-components/useShareLink-211e061c.system.js +0 -1
  69. package/dist/mint-components/useShareLink-2de7ffce.system.js +0 -1
  70. package/dist/mint-components/useShareLink-436e9cad.js +0 -445
  71. package/dist/mint-components/useShareLink-454939f5.system.js +0 -1
  72. package/dist/mint-components/useShareLink-4ba01373.js +0 -447
  73. package/dist/mint-components/useShareLink-79056582.js +0 -445
  74. package/dist/mint-components/useShareLink-a3329e33.js +0 -419
  75. package/dist/mint-components/useShareLink-bc20ec4c.js +0 -447
  76. package/dist/mint-components/useShareLink-c05fe151.system.js +0 -1
  77. package/dist/mint-components/useShareLink-cb5abd96.system.js +0 -1
@@ -7,7 +7,7 @@ export interface ValidationErrorInfo {
7
7
  }
8
8
  export interface ShareLinkViewProps {
9
9
  copyTextViewProps: CopyTextViewProps;
10
- customizeUrl: boolean;
10
+ allowCustomization: boolean;
11
11
  customizeLinkLabel: string;
12
12
  saveLabelText: string;
13
13
  cancelLabelText: string;
@@ -98,7 +98,7 @@ export declare class ShareLink {
98
98
  * @uiGroup Customize Vanity Link
99
99
  * @requiredFlavor impact
100
100
  */
101
- customizeUrl?: boolean;
101
+ allowCustomization?: boolean;
102
102
  /**
103
103
  * Text shown below the share link input to trigger customization
104
104
  *
@@ -221,6 +221,7 @@ export declare class ShareLink {
221
221
  * @uiType object
222
222
  */
223
223
  demoData?: DemoData<ShareLinkViewProps>;
224
+ editsRemaining?: number;
224
225
  constructor();
225
226
  disconnectedCallback(): void;
226
227
  render(): any;
@@ -4,7 +4,7 @@ export interface ShareLinkProps {
4
4
  tooltiptext: string;
5
5
  tooltiplifespan: number;
6
6
  linkOverride?: string;
7
- customizeUrl?: boolean;
7
+ allowCustomization?: boolean;
8
8
  customizeUrlText?: string;
9
9
  customizeLinkLabel?: string;
10
10
  saveLabelText?: string;
@@ -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
+ * Enable users to customize their referral link
4894
+ * @uiName Customize URL
4895
+ * @uiType boolean
4896
+ * @uiGroup Customize Vanity Link
4897
+ * @requiredFlavor impact
4898
+ */
4899
+ "allowCustomization"?: boolean;
4997
4900
  /**
4998
4901
  * Background color of share link container
4999
4902
  * @uiName Background color
@@ -5063,14 +4966,6 @@ export namespace Components {
5063
4966
  * @requiredFlavor impact
5064
4967
  */
5065
4968
  "customizeLinkLabel"?: string;
5066
- /**
5067
- * Enable users to customize their referral link
5068
- * @uiName Customize URL
5069
- * @uiType boolean
5070
- * @uiGroup Customize Vanity Link
5071
- * @requiredFlavor impact
5072
- */
5073
- "customizeUrl"?: boolean;
5074
4969
  /**
5075
4970
  * @undocumented
5076
4971
  * @uiType object
@@ -5092,6 +4987,7 @@ export namespace Components {
5092
4987
  * @requiredFlavor impact
5093
4988
  */
5094
4989
  "editLimitText"?: string;
4990
+ "editsRemaining"?: number;
5095
4991
  /**
5096
4992
  * Description text shown when the custom link is already taken
5097
4993
  * @uiName Existing code conflict error description
@@ -7595,12 +7491,6 @@ declare global {
7595
7491
  prototype: HTMLSqmPaginationElement;
7596
7492
  new (): HTMLSqmPaginationElement;
7597
7493
  };
7598
- interface HTMLSqmPartnerInfoModalElement extends Components.SqmPartnerInfoModal, HTMLStencilElement {
7599
- }
7600
- var HTMLSqmPartnerInfoModalElement: {
7601
- prototype: HTMLSqmPartnerInfoModalElement;
7602
- new (): HTMLSqmPartnerInfoModalElement;
7603
- };
7604
7494
  interface HTMLSqmPasswordFieldElement extends Components.SqmPasswordField, HTMLStencilElement {
7605
7495
  }
7606
7496
  var HTMLSqmPasswordFieldElement: {
@@ -8125,7 +8015,6 @@ declare global {
8125
8015
  "sqm-navigation-sidebar": HTMLSqmNavigationSidebarElement;
8126
8016
  "sqm-navigation-sidebar-item": HTMLSqmNavigationSidebarItemElement;
8127
8017
  "sqm-pagination": HTMLSqmPaginationElement;
8128
- "sqm-partner-info-modal": HTMLSqmPartnerInfoModalElement;
8129
8018
  "sqm-password-field": HTMLSqmPasswordFieldElement;
8130
8019
  "sqm-payout-button-scroll": HTMLSqmPayoutButtonScrollElement;
8131
8020
  "sqm-payout-details-card": HTMLSqmPayoutDetailsCardElement;
@@ -10332,110 +10221,6 @@ declare namespace LocalJSX {
10332
10221
  */
10333
10222
  "paginationText"?: string;
10334
10223
  }
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
10224
  interface SqmPasswordField {
10440
10225
  /**
10441
10226
  * @undocumented
@@ -13110,6 +12895,14 @@ declare namespace LocalJSX {
13110
12895
  "tooltiptext"?: string;
13111
12896
  }
13112
12897
  interface SqmShareLink {
12898
+ /**
12899
+ * Enable users to customize their referral link
12900
+ * @uiName Customize URL
12901
+ * @uiType boolean
12902
+ * @uiGroup Customize Vanity Link
12903
+ * @requiredFlavor impact
12904
+ */
12905
+ "allowCustomization"?: boolean;
13113
12906
  /**
13114
12907
  * Background color of share link container
13115
12908
  * @uiName Background color
@@ -13179,14 +12972,6 @@ declare namespace LocalJSX {
13179
12972
  * @requiredFlavor impact
13180
12973
  */
13181
12974
  "customizeLinkLabel"?: string;
13182
- /**
13183
- * Enable users to customize their referral link
13184
- * @uiName Customize URL
13185
- * @uiType boolean
13186
- * @uiGroup Customize Vanity Link
13187
- * @requiredFlavor impact
13188
- */
13189
- "customizeUrl"?: boolean;
13190
12975
  /**
13191
12976
  * @undocumented
13192
12977
  * @uiType object
@@ -13208,6 +12993,7 @@ declare namespace LocalJSX {
13208
12993
  * @requiredFlavor impact
13209
12994
  */
13210
12995
  "editLimitText"?: string;
12996
+ "editsRemaining"?: number;
13211
12997
  /**
13212
12998
  * Description text shown when the custom link is already taken
13213
12999
  * @uiName Existing code conflict error description
@@ -15464,7 +15250,6 @@ declare namespace LocalJSX {
15464
15250
  "sqm-navigation-sidebar": SqmNavigationSidebar;
15465
15251
  "sqm-navigation-sidebar-item": SqmNavigationSidebarItem;
15466
15252
  "sqm-pagination": SqmPagination;
15467
- "sqm-partner-info-modal": SqmPartnerInfoModal;
15468
15253
  "sqm-password-field": SqmPasswordField;
15469
15254
  "sqm-payout-button-scroll": SqmPayoutButtonScroll;
15470
15255
  "sqm-payout-details-card": SqmPayoutDetailsCard;
@@ -15599,7 +15384,6 @@ declare module "@stencil/core" {
15599
15384
  "sqm-navigation-sidebar": LocalJSX.SqmNavigationSidebar & JSXBase.HTMLAttributes<HTMLSqmNavigationSidebarElement>;
15600
15385
  "sqm-navigation-sidebar-item": LocalJSX.SqmNavigationSidebarItem & JSXBase.HTMLAttributes<HTMLSqmNavigationSidebarItemElement>;
15601
15386
  "sqm-pagination": LocalJSX.SqmPagination & JSXBase.HTMLAttributes<HTMLSqmPaginationElement>;
15602
- "sqm-partner-info-modal": LocalJSX.SqmPartnerInfoModal & JSXBase.HTMLAttributes<HTMLSqmPartnerInfoModalElement>;
15603
15387
  "sqm-password-field": LocalJSX.SqmPasswordField & JSXBase.HTMLAttributes<HTMLSqmPasswordFieldElement>;
15604
15388
  "sqm-payout-button-scroll": LocalJSX.SqmPayoutButtonScroll & JSXBase.HTMLAttributes<HTMLSqmPayoutButtonScrollElement>;
15605
15389
  "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