@saasquatch/mint-components 2.1.10-57 → 2.1.10

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 (156) hide show
  1. package/dist/cjs/{ShadowViewAddon-a26deae6.js → ShadowViewAddon-c97e80de.js} +422 -19
  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_46.cjs.entry.js → sqm-big-stat_45.cjs.entry.js} +264 -92
  5. package/dist/cjs/sqm-code-verification.cjs.entry.js +1 -1
  6. package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
  7. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  8. package/dist/cjs/{sqm-portal-container-view-70a47420.js → sqm-portal-container-view-757f921b.js} +5 -6
  9. package/dist/cjs/{sqm-portal-email-verification-view-c81fe7f1.js → sqm-portal-email-verification-view-abb773a7.js} +1 -1
  10. package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
  11. package/dist/cjs/sqm-portal-forgot-password_6.cjs.entry.js +5 -5
  12. package/dist/cjs/{sqm-portal-profile-view-639337e3.js → sqm-portal-profile-view-3515e1e5.js} +1 -1
  13. package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
  14. package/dist/cjs/{sqm-portal-registration-form-view-020f661c.js → sqm-portal-registration-form-view-a45f7a52.js} +1 -1
  15. package/dist/cjs/{sqm-portal-reset-password-view-6b1acd90.js → sqm-portal-reset-password-view-a767b044.js} +1 -1
  16. package/dist/cjs/sqm-portal-reset-password.cjs.entry.js +2 -2
  17. package/dist/cjs/{sqm-portal-verify-email-view-424e406a.js → sqm-portal-verify-email-view-717d0633.js} +1 -1
  18. package/dist/cjs/sqm-referral-table_11.cjs.entry.js +1 -1
  19. package/dist/cjs/sqm-rewards-table-customer-note-cell.cjs.entry.js +1 -1
  20. package/dist/cjs/sqm-stencilbook.cjs.entry.js +168 -59
  21. package/dist/cjs/{sqm-text-span-view-f274fdf2.js → sqm-text-span-view-b9e10f5d.js} +1 -1
  22. package/dist/cjs/sqm-text-span.cjs.entry.js +1 -1
  23. package/dist/collection/collection-manifest.json +0 -1
  24. package/dist/collection/components/sqm-password-field/sqm-password-field.js +1 -0
  25. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
  26. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
  27. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  28. package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
  29. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +136 -11
  30. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
  31. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
  32. package/dist/collection/components/sqm-share-link/sqm-share-link.js +935 -48
  33. package/dist/collection/components/sqm-share-link/useShareLink.js +227 -14
  34. package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +0 -2
  35. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
  36. package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-33f1a8f7.js} +424 -22
  37. package/dist/esm/loader.js +1 -1
  38. package/dist/esm/mint-components.js +1 -1
  39. package/dist/esm/{sqm-big-stat_46.entry.js → sqm-big-stat_45.entry.js} +265 -92
  40. package/dist/esm/sqm-code-verification.entry.js +1 -1
  41. package/dist/esm/sqm-email-verification.entry.js +1 -1
  42. package/dist/esm/sqm-empty_4.entry.js +1 -1
  43. package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js} +6 -7
  44. package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  45. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  46. package/dist/esm/sqm-portal-forgot-password_6.entry.js +5 -5
  47. package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  48. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  49. package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  50. package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  51. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  52. package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  53. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  54. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  55. package/dist/esm/sqm-stencilbook.entry.js +168 -59
  56. package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  57. package/dist/esm/sqm-text-span.entry.js +1 -1
  58. package/dist/esm-es5/ShadowViewAddon-33f1a8f7.js +1 -0
  59. package/dist/esm-es5/loader.js +1 -1
  60. package/dist/esm-es5/mint-components.js +1 -1
  61. package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -0
  62. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  63. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  64. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  65. package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +1 -0
  66. package/dist/esm-es5/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  67. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  68. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  69. package/dist/esm-es5/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  70. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  71. package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  72. package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  73. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  74. package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  75. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  76. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  77. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  78. package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  79. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  80. package/dist/mint-components/mint-components.esm.js +1 -1
  81. package/dist/mint-components/{p-ab0ea688.system.entry.js → p-00b235c5.system.entry.js} +1 -1
  82. package/dist/mint-components/p-08930b83.js +499 -0
  83. package/dist/mint-components/p-0b1e90fe.system.js +1 -0
  84. package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
  85. package/dist/mint-components/{p-25558a33.entry.js → p-13292317.entry.js} +1 -1
  86. package/dist/mint-components/{p-d65991d0.entry.js → p-13d1b10d.entry.js} +1 -1
  87. package/dist/mint-components/{p-d4570314.entry.js → p-1d92c169.entry.js} +1 -1
  88. package/dist/mint-components/{p-7161e1a6.js → p-2668335b.js} +1 -1
  89. package/dist/mint-components/{p-6e512063.entry.js → p-3af3e2c1.entry.js} +1 -1
  90. package/dist/mint-components/{p-5ff7b000.entry.js → p-40bad95a.entry.js} +1 -1
  91. package/dist/mint-components/{p-f35d856a.system.js → p-43c31fd5.system.js} +1 -1
  92. package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
  93. package/dist/mint-components/{p-dac20392.system.js → p-686dd5eb.system.js} +1 -1
  94. package/dist/mint-components/{p-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
  95. package/dist/mint-components/p-76271ec4.entry.js +9 -0
  96. package/dist/mint-components/p-78b40f71.system.js +1 -0
  97. package/dist/mint-components/{p-cb0a5990.entry.js → p-7939e4af.entry.js} +1 -1
  98. package/dist/mint-components/{p-e6ace3ab.js → p-832aea99.js} +1 -1
  99. package/dist/mint-components/{p-746500b2.entry.js → p-8784539d.entry.js} +21 -29
  100. package/dist/mint-components/{p-b9f57e84.system.entry.js → p-8899ff38.system.entry.js} +1 -1
  101. package/dist/mint-components/{p-fbe00c97.system.entry.js → p-892797eb.system.entry.js} +1 -1
  102. package/dist/mint-components/{p-d997001a.js → p-8962e023.js} +1 -1
  103. package/dist/mint-components/{p-dd368927.system.entry.js → p-9390586b.system.entry.js} +1 -1
  104. package/dist/mint-components/{p-3c46b4dd.system.js → p-a4825ec2.system.js} +1 -1
  105. package/dist/mint-components/{p-058aefe1.entry.js → p-af407cce.entry.js} +1 -1
  106. package/dist/mint-components/{p-56ca7e3c.js → p-b3ad957c.js} +1 -1
  107. package/dist/mint-components/{p-70570e4d.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
  108. package/dist/mint-components/{p-c67f8558.system.entry.js → p-bba16a46.system.entry.js} +1 -1
  109. package/dist/mint-components/{p-669d52c4.js → p-bee4af5d.js} +1 -1
  110. package/dist/mint-components/p-c3c8d4ee.system.entry.js +1 -0
  111. package/dist/mint-components/{p-cabf6326.js → p-c813ec64.js} +1 -1
  112. package/dist/mint-components/p-ca098be1.system.js +1 -1
  113. package/dist/mint-components/{p-18133026.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
  114. package/dist/mint-components/{p-692e14c5.system.js → p-d55c50af.system.js} +1 -1
  115. package/dist/mint-components/p-dd12c32a.system.entry.js +1 -0
  116. package/dist/mint-components/p-e30abc44.js +1 -0
  117. package/dist/mint-components/{p-fb5c9802.entry.js → p-e506bf7f.entry.js} +1 -1
  118. package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-e9485160.system.entry.js} +1 -1
  119. package/dist/mint-components/{p-f0baeed0.entry.js → p-f6528f8a.entry.js} +1 -1
  120. package/dist/mint-components/{p-5141769d.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
  121. package/dist/mint-components/{p-e4f17c21.system.js → p-f8026ed6.system.js} +1 -1
  122. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
  123. package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
  124. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +41 -0
  125. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +195 -2
  126. package/dist/types/components/sqm-share-link/useShareLink.d.ts +33 -4
  127. package/dist/types/components.d.ts +349 -80
  128. package/dist/types/global/android.d.ts +7 -0
  129. package/dist/types/global/demo.d.ts +2 -0
  130. package/dist/types/stories/features.d.ts +4 -0
  131. package/dist/types/stories/templates.d.ts +4 -0
  132. package/docs/docs.docx +0 -0
  133. package/docs/raisins.json +1 -1
  134. package/docs/stats.json +122783 -0
  135. package/grapesjs/grapesjs.js +1 -1
  136. package/package.json +2 -2
  137. package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +0 -25
  138. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute-view.js +0 -19
  139. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +0 -172
  140. package/dist/collection/components/sqm-user-attribute/useUserAttribute.js +0 -26
  141. package/dist/esm-es5/ShadowViewAddon-47f1e579.js +0 -1
  142. package/dist/esm-es5/sqm-big-stat_46.entry.js +0 -1
  143. package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
  144. package/dist/mint-components/p-217dedde.js +0 -463
  145. package/dist/mint-components/p-4007afba.system.entry.js +0 -1
  146. package/dist/mint-components/p-445f50cc.entry.js +0 -9
  147. package/dist/mint-components/p-55676213.entry.js +0 -1
  148. package/dist/mint-components/p-89a20547.system.entry.js +0 -1
  149. package/dist/mint-components/p-b699f76e.system.js +0 -1
  150. package/dist/mint-components/p-b6a1e2ac.js +0 -1
  151. package/dist/mint-components/p-ce050888.system.js +0 -1
  152. package/dist/mint-components/p-e3497e0e.system.entry.js +0 -1
  153. package/dist/types/components/sqm-user-attribute/UserAttribute.stories.d.ts +0 -7
  154. package/dist/types/components/sqm-user-attribute/sqm-user-attribute-view.d.ts +0 -8
  155. package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +0 -45
  156. package/dist/types/components/sqm-user-attribute/useUserAttribute.d.ts +0 -3
@@ -54,9 +54,9 @@ import { ReferralIframeViewProps } from "./components/sqm-referral-iframe/sqm-re
54
54
  import { ReferralDates } from "./components/sqm-referral-table/useReferralTable";
55
55
  import { RewardExchangeViewProps } from "./components/sqm-reward-exchange-list/sqm-reward-exchange-list-view";
56
56
  import { ShareButtonViewProps } from "./components/sqm-share-button/sqm-share-button-view";
57
+ import { ShareLinkViewProps } from "./components/sqm-share-link/sqm-share-link-view";
57
58
  import { TaskCardViewProps } from "./components/sqm-task-card/sqm-task-card-view";
58
59
  import { UseTaxAndCashDashboardResult } from "./components/tax-and-cash/sqm-tax-and-cash-dashboard/useTaxAndCashDashboard";
59
- import { UserAttributeViewProps } from "./components/sqm-user-attribute/sqm-user-attribute-view";
60
60
  import { UseUserInfoFormResult } from "./components/tax-and-cash/sqm-user-info-form/useUserInfoForm";
61
61
  import { UserNameViewProps } from "./components/sqm-user-name/sqm-user-name-view";
62
62
  export namespace Components {
@@ -4894,6 +4894,15 @@ export namespace Components {
4894
4894
  "tooltiptext": string;
4895
4895
  }
4896
4896
  interface SqmShareLink {
4897
+ /**
4898
+ * Let advocates customize their share links up to 5 times.
4899
+ * @uiName Allow customization
4900
+ * @uiType boolean
4901
+ * @uiGroup Customizable Vanity Link
4902
+ * @uiWidget CustomLinkSwitch
4903
+ * @requiredFlavor impact
4904
+ */
4905
+ "allowCustomization"?: boolean;
4897
4906
  /**
4898
4907
  * Background color of share link container
4899
4908
  * @uiName Background color
@@ -4935,21 +4944,177 @@ export namespace Components {
4935
4944
  * @uiGroup Style
4936
4945
  */
4937
4946
  "buttonType"?: "primary" | "secondary";
4947
+ /**
4948
+ * Text for the cancel button in editing mode
4949
+ * @uiName Cancel button label
4950
+ * @uiType string
4951
+ * @uiGroup Customizable Vanity Link
4952
+ * @requiredFlavor impact
4953
+ */
4954
+ "cancelLabelText"?: string;
4955
+ /**
4956
+ * Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
4957
+ * @uiName Characters remaining text
4958
+ * @uiType string
4959
+ * @uiGroup Customizable Vanity Link
4960
+ * @requiredFlavor impact
4961
+ */
4962
+ "charactersRemainingText"?: string;
4938
4963
  /**
4939
4964
  * @uiName Copy button label
4940
4965
  */
4941
4966
  "copyButtonLabel": string;
4967
+ /**
4968
+ * Tooltip text shown when link customization is disabled
4969
+ * @uiName Customize disabled tooltip
4970
+ * @uiType string
4971
+ * @uiGroup Customizable Vanity Link
4972
+ * @requiredFlavor impact
4973
+ */
4974
+ "customizeDisabledTooltip"?: string;
4975
+ /**
4976
+ * Displayed below the share link.
4977
+ * @uiName Customize link button label
4978
+ * @uiType string
4979
+ * @uiGroup Customizable Vanity Link
4980
+ * @requiredFlavor impact
4981
+ */
4982
+ "customizeLinkButtonLabel"?: string;
4942
4983
  /**
4943
4984
  * @undocumented
4944
4985
  * @uiType object
4945
4986
  */
4946
- "demoData"?: DemoData<CopyTextViewProps>;
4987
+ "demoData"?: DemoData<ShareLinkViewProps>;
4988
+ /**
4989
+ * Label shown above the link input while editing
4990
+ * @uiName Edit input label
4991
+ * @uiType string
4992
+ * @uiGroup Customizable Vanity Link
4993
+ * @requiredFlavor impact
4994
+ */
4995
+ "editLabelText"?: string;
4996
+ /**
4997
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
4998
+ * @uiName Edit limit reached text
4999
+ * @uiType string
5000
+ * @uiWidget textarea
5001
+ * @uiGroup Customizable Vanity Link
5002
+ * @requiredFlavor impact
5003
+ */
5004
+ "editLimitReachedText"?: string;
5005
+ /**
5006
+ * Subtext shown while the user is customizing their URL.
5007
+ * @uiName Edit limit text
5008
+ * @uiType string
5009
+ * @uiGroup Customizable Vanity Link
5010
+ * @requiredFlavor impact
5011
+ */
5012
+ "editLimitText"?: string;
5013
+ /**
5014
+ * Description text shown when the link contains invalid special characters.
5015
+ * @uiName Invalid characters error description
5016
+ * @uiType string
5017
+ * @uiWidget textarea
5018
+ * @uiGroup Customizable Vanity Link
5019
+ * @requiredFlavor impact
5020
+ */
5021
+ "invalidCharactersErrorDescription"?: string;
5022
+ /**
5023
+ * Title of the error message shown when the link contains invalid special characters.
5024
+ * @uiName Invalid characters error title
5025
+ * @uiType string
5026
+ * @uiGroup Customizable Vanity Link
5027
+ * @requiredFlavor impact
5028
+ */
5029
+ "invalidCharactersErrorTitle"?: string;
5030
+ /**
5031
+ * Description text shown when the link has already been taken
5032
+ * @uiName Link taken error message
5033
+ * @uiType string
5034
+ * @uiWidget textarea
5035
+ * @uiGroup Customizable Vanity Link
5036
+ * @requiredFlavor impact
5037
+ */
5038
+ "linkTakenErrorDescription"?: string;
5039
+ /**
5040
+ * Title of the error message shown when the link has already been taken
5041
+ * @uiName Link taken error title
5042
+ * @uiType string
5043
+ * @uiGroup Customizable Vanity Link
5044
+ * @requiredFlavor impact
5045
+ */
5046
+ "linkTakenErrorTitle"?: string;
5047
+ /**
5048
+ * @uiName Min characters text
5049
+ * @uiType string
5050
+ * @uiGroup Customizable Vanity Link
5051
+ * @requiredFlavor impact
5052
+ */
5053
+ "minCharactersText"?: string;
4947
5054
  /**
4948
5055
  * The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded.
4949
5056
  * @uiName Program ID
4950
5057
  * @uiWidget programSelector
4951
5058
  */
4952
5059
  "programId"?: string;
5060
+ /**
5061
+ * Description text shown when the link contains profanity or brand names.
5062
+ * @uiName Restricted words error description
5063
+ * @uiType string
5064
+ * @uiWidget textarea
5065
+ * @uiGroup Customizable Vanity Link
5066
+ * @requiredFlavor impact
5067
+ */
5068
+ "restrictedWordsErrorDescription"?: string;
5069
+ /**
5070
+ * Title of the error message shown when the link contains profanity or brand names.
5071
+ * @uiName Restricted words error title
5072
+ * @uiType string
5073
+ * @uiGroup Customizable Vanity Link
5074
+ * @requiredFlavor impact
5075
+ */
5076
+ "restrictedWordsErrorTitle"?: string;
5077
+ /**
5078
+ * Description shown when saving fails with an unknown error
5079
+ * @uiName Save error description
5080
+ * @uiType string
5081
+ * @uiWidget textarea
5082
+ * @uiGroup Customizable Vanity Link
5083
+ * @requiredFlavor impact
5084
+ */
5085
+ "saveErrorDescription"?: string;
5086
+ /**
5087
+ * Title shown when saving fails with an unknown error
5088
+ * @uiName Save error title
5089
+ * @uiType string
5090
+ * @uiGroup Customizable Vanity Link
5091
+ * @requiredFlavor impact
5092
+ */
5093
+ "saveErrorTitle"?: string;
5094
+ /**
5095
+ * Text for the save button in editing mode
5096
+ * @uiName Save button label
5097
+ * @uiType string
5098
+ * @uiGroup Customizable Vanity Link
5099
+ * @requiredFlavor impact
5100
+ */
5101
+ "saveLabelText"?: string;
5102
+ /**
5103
+ * Text for the save button while saving is in progress
5104
+ * @uiName Saving button label
5105
+ * @uiType string
5106
+ * @uiGroup Customizable Vanity Link
5107
+ * @requiredFlavor impact
5108
+ */
5109
+ "savingLabelText"?: string;
5110
+ /**
5111
+ * Display text for the support link in the edit limit reached message
5112
+ * @uiName Support link text
5113
+ * @uiType string
5114
+ * @uiGroup Customizable Vanity Link
5115
+ * @requiredFlavor impact
5116
+ */
5117
+ "supportLinkText"?: string;
4953
5118
  /**
4954
5119
  * Change the text alignment
4955
5120
  * @uiName Share link alignment
@@ -4977,6 +5142,14 @@ export namespace Components {
4977
5142
  * @uiName Tooltip text
4978
5143
  */
4979
5144
  "tooltiptext": string;
5145
+ /**
5146
+ * Text shown while the link is being validated
5147
+ * @uiName Validating label
5148
+ * @uiType string
5149
+ * @uiGroup Customizable Vanity Link
5150
+ * @requiredFlavor impact
5151
+ */
5152
+ "validatingLabelText"?: string;
4980
5153
  }
4981
5154
  interface SqmSkeleton {
4982
5155
  /**
@@ -6813,40 +6986,6 @@ export namespace Components {
6813
6986
  */
6814
6987
  "textAlign": "left" | "center" | "right";
6815
6988
  }
6816
- interface SqmUserAttribute {
6817
- /**
6818
- * @uiName Color
6819
- * @uiWidget color
6820
- * @format color
6821
- * @uiGroup Style
6822
- */
6823
- "color"?: string;
6824
- /**
6825
- * @undocumented
6826
- * @uiType object
6827
- */
6828
- "demoData"?: DemoData<UserAttributeViewProps>;
6829
- /**
6830
- * Number in pixels.
6831
- * @uiName Font size
6832
- * @uiGroup Style
6833
- */
6834
- "fontSize"?: number;
6835
- /**
6836
- * Font weight
6837
- * @uiName Font weight
6838
- * @uiGroup Style
6839
- * @uiEnum [100, 200, 300, 400, 500, 600, 700, 800, 900]
6840
- * @uiEnumNames ["Thin", "Extra Light", "Light", "Normal", "Medium", "Semi Bold", "Bold", "Extra Bold", "Heavy"]
6841
- */
6842
- "fontWeight"?: number;
6843
- /**
6844
- * The custom field key to display.
6845
- * @uiName Custom field key
6846
- * @uiWidget customFieldSelector
6847
- */
6848
- "value": string;
6849
- }
6850
6989
  interface SqmUserInfoForm {
6851
6990
  /**
6852
6991
  * @uiName Address field label
@@ -7867,12 +8006,6 @@ declare global {
7867
8006
  prototype: HTMLSqmTitledSectionElement;
7868
8007
  new (): HTMLSqmTitledSectionElement;
7869
8008
  };
7870
- interface HTMLSqmUserAttributeElement extends Components.SqmUserAttribute, HTMLStencilElement {
7871
- }
7872
- var HTMLSqmUserAttributeElement: {
7873
- prototype: HTMLSqmUserAttributeElement;
7874
- new (): HTMLSqmUserAttributeElement;
7875
- };
7876
8009
  interface HTMLSqmUserInfoFormElement extends Components.SqmUserInfoForm, HTMLStencilElement {
7877
8010
  }
7878
8011
  var HTMLSqmUserInfoFormElement: {
@@ -8022,7 +8155,6 @@ declare global {
8022
8155
  "sqm-timeline": HTMLSqmTimelineElement;
8023
8156
  "sqm-timeline-entry": HTMLSqmTimelineEntryElement;
8024
8157
  "sqm-titled-section": HTMLSqmTitledSectionElement;
8025
- "sqm-user-attribute": HTMLSqmUserAttributeElement;
8026
8158
  "sqm-user-info-form": HTMLSqmUserInfoFormElement;
8027
8159
  "sqm-user-name": HTMLSqmUserNameElement;
8028
8160
  "sqm-widget-verification": HTMLSqmWidgetVerificationElement;
@@ -12833,6 +12965,15 @@ declare namespace LocalJSX {
12833
12965
  "tooltiptext"?: string;
12834
12966
  }
12835
12967
  interface SqmShareLink {
12968
+ /**
12969
+ * Let advocates customize their share links up to 5 times.
12970
+ * @uiName Allow customization
12971
+ * @uiType boolean
12972
+ * @uiGroup Customizable Vanity Link
12973
+ * @uiWidget CustomLinkSwitch
12974
+ * @requiredFlavor impact
12975
+ */
12976
+ "allowCustomization"?: boolean;
12836
12977
  /**
12837
12978
  * Background color of share link container
12838
12979
  * @uiName Background color
@@ -12874,21 +13015,177 @@ declare namespace LocalJSX {
12874
13015
  * @uiGroup Style
12875
13016
  */
12876
13017
  "buttonType"?: "primary" | "secondary";
13018
+ /**
13019
+ * Text for the cancel button in editing mode
13020
+ * @uiName Cancel button label
13021
+ * @uiType string
13022
+ * @uiGroup Customizable Vanity Link
13023
+ * @requiredFlavor impact
13024
+ */
13025
+ "cancelLabelText"?: string;
13026
+ /**
13027
+ * Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
13028
+ * @uiName Characters remaining text
13029
+ * @uiType string
13030
+ * @uiGroup Customizable Vanity Link
13031
+ * @requiredFlavor impact
13032
+ */
13033
+ "charactersRemainingText"?: string;
12877
13034
  /**
12878
13035
  * @uiName Copy button label
12879
13036
  */
12880
13037
  "copyButtonLabel"?: string;
13038
+ /**
13039
+ * Tooltip text shown when link customization is disabled
13040
+ * @uiName Customize disabled tooltip
13041
+ * @uiType string
13042
+ * @uiGroup Customizable Vanity Link
13043
+ * @requiredFlavor impact
13044
+ */
13045
+ "customizeDisabledTooltip"?: string;
13046
+ /**
13047
+ * Displayed below the share link.
13048
+ * @uiName Customize link button label
13049
+ * @uiType string
13050
+ * @uiGroup Customizable Vanity Link
13051
+ * @requiredFlavor impact
13052
+ */
13053
+ "customizeLinkButtonLabel"?: string;
12881
13054
  /**
12882
13055
  * @undocumented
12883
13056
  * @uiType object
12884
13057
  */
12885
- "demoData"?: DemoData<CopyTextViewProps>;
13058
+ "demoData"?: DemoData<ShareLinkViewProps>;
13059
+ /**
13060
+ * Label shown above the link input while editing
13061
+ * @uiName Edit input label
13062
+ * @uiType string
13063
+ * @uiGroup Customizable Vanity Link
13064
+ * @requiredFlavor impact
13065
+ */
13066
+ "editLabelText"?: string;
13067
+ /**
13068
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
13069
+ * @uiName Edit limit reached text
13070
+ * @uiType string
13071
+ * @uiWidget textarea
13072
+ * @uiGroup Customizable Vanity Link
13073
+ * @requiredFlavor impact
13074
+ */
13075
+ "editLimitReachedText"?: string;
13076
+ /**
13077
+ * Subtext shown while the user is customizing their URL.
13078
+ * @uiName Edit limit text
13079
+ * @uiType string
13080
+ * @uiGroup Customizable Vanity Link
13081
+ * @requiredFlavor impact
13082
+ */
13083
+ "editLimitText"?: string;
13084
+ /**
13085
+ * Description text shown when the link contains invalid special characters.
13086
+ * @uiName Invalid characters error description
13087
+ * @uiType string
13088
+ * @uiWidget textarea
13089
+ * @uiGroup Customizable Vanity Link
13090
+ * @requiredFlavor impact
13091
+ */
13092
+ "invalidCharactersErrorDescription"?: string;
13093
+ /**
13094
+ * Title of the error message shown when the link contains invalid special characters.
13095
+ * @uiName Invalid characters error title
13096
+ * @uiType string
13097
+ * @uiGroup Customizable Vanity Link
13098
+ * @requiredFlavor impact
13099
+ */
13100
+ "invalidCharactersErrorTitle"?: string;
13101
+ /**
13102
+ * Description text shown when the link has already been taken
13103
+ * @uiName Link taken error message
13104
+ * @uiType string
13105
+ * @uiWidget textarea
13106
+ * @uiGroup Customizable Vanity Link
13107
+ * @requiredFlavor impact
13108
+ */
13109
+ "linkTakenErrorDescription"?: string;
13110
+ /**
13111
+ * Title of the error message shown when the link has already been taken
13112
+ * @uiName Link taken error title
13113
+ * @uiType string
13114
+ * @uiGroup Customizable Vanity Link
13115
+ * @requiredFlavor impact
13116
+ */
13117
+ "linkTakenErrorTitle"?: string;
13118
+ /**
13119
+ * @uiName Min characters text
13120
+ * @uiType string
13121
+ * @uiGroup Customizable Vanity Link
13122
+ * @requiredFlavor impact
13123
+ */
13124
+ "minCharactersText"?: string;
12886
13125
  /**
12887
13126
  * The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded.
12888
13127
  * @uiName Program ID
12889
13128
  * @uiWidget programSelector
12890
13129
  */
12891
13130
  "programId"?: string;
13131
+ /**
13132
+ * Description text shown when the link contains profanity or brand names.
13133
+ * @uiName Restricted words error description
13134
+ * @uiType string
13135
+ * @uiWidget textarea
13136
+ * @uiGroup Customizable Vanity Link
13137
+ * @requiredFlavor impact
13138
+ */
13139
+ "restrictedWordsErrorDescription"?: string;
13140
+ /**
13141
+ * Title of the error message shown when the link contains profanity or brand names.
13142
+ * @uiName Restricted words error title
13143
+ * @uiType string
13144
+ * @uiGroup Customizable Vanity Link
13145
+ * @requiredFlavor impact
13146
+ */
13147
+ "restrictedWordsErrorTitle"?: string;
13148
+ /**
13149
+ * Description shown when saving fails with an unknown error
13150
+ * @uiName Save error description
13151
+ * @uiType string
13152
+ * @uiWidget textarea
13153
+ * @uiGroup Customizable Vanity Link
13154
+ * @requiredFlavor impact
13155
+ */
13156
+ "saveErrorDescription"?: string;
13157
+ /**
13158
+ * Title shown when saving fails with an unknown error
13159
+ * @uiName Save error title
13160
+ * @uiType string
13161
+ * @uiGroup Customizable Vanity Link
13162
+ * @requiredFlavor impact
13163
+ */
13164
+ "saveErrorTitle"?: string;
13165
+ /**
13166
+ * Text for the save button in editing mode
13167
+ * @uiName Save button label
13168
+ * @uiType string
13169
+ * @uiGroup Customizable Vanity Link
13170
+ * @requiredFlavor impact
13171
+ */
13172
+ "saveLabelText"?: string;
13173
+ /**
13174
+ * Text for the save button while saving is in progress
13175
+ * @uiName Saving button label
13176
+ * @uiType string
13177
+ * @uiGroup Customizable Vanity Link
13178
+ * @requiredFlavor impact
13179
+ */
13180
+ "savingLabelText"?: string;
13181
+ /**
13182
+ * Display text for the support link in the edit limit reached message
13183
+ * @uiName Support link text
13184
+ * @uiType string
13185
+ * @uiGroup Customizable Vanity Link
13186
+ * @requiredFlavor impact
13187
+ */
13188
+ "supportLinkText"?: string;
12892
13189
  /**
12893
13190
  * Change the text alignment
12894
13191
  * @uiName Share link alignment
@@ -12916,6 +13213,14 @@ declare namespace LocalJSX {
12916
13213
  * @uiName Tooltip text
12917
13214
  */
12918
13215
  "tooltiptext"?: string;
13216
+ /**
13217
+ * Text shown while the link is being validated
13218
+ * @uiName Validating label
13219
+ * @uiType string
13220
+ * @uiGroup Customizable Vanity Link
13221
+ * @requiredFlavor impact
13222
+ */
13223
+ "validatingLabelText"?: string;
12919
13224
  }
12920
13225
  interface SqmSkeleton {
12921
13226
  /**
@@ -14751,40 +15056,6 @@ declare namespace LocalJSX {
14751
15056
  */
14752
15057
  "textAlign"?: "left" | "center" | "right";
14753
15058
  }
14754
- interface SqmUserAttribute {
14755
- /**
14756
- * @uiName Color
14757
- * @uiWidget color
14758
- * @format color
14759
- * @uiGroup Style
14760
- */
14761
- "color"?: string;
14762
- /**
14763
- * @undocumented
14764
- * @uiType object
14765
- */
14766
- "demoData"?: DemoData<UserAttributeViewProps>;
14767
- /**
14768
- * Number in pixels.
14769
- * @uiName Font size
14770
- * @uiGroup Style
14771
- */
14772
- "fontSize"?: number;
14773
- /**
14774
- * Font weight
14775
- * @uiName Font weight
14776
- * @uiGroup Style
14777
- * @uiEnum [100, 200, 300, 400, 500, 600, 700, 800, 900]
14778
- * @uiEnumNames ["Thin", "Extra Light", "Light", "Normal", "Medium", "Semi Bold", "Bold", "Extra Bold", "Heavy"]
14779
- */
14780
- "fontWeight"?: number;
14781
- /**
14782
- * The custom field key to display.
14783
- * @uiName Custom field key
14784
- * @uiWidget customFieldSelector
14785
- */
14786
- "value"?: string;
14787
- }
14788
15059
  interface SqmUserInfoForm {
14789
15060
  /**
14790
15061
  * @uiName Address field label
@@ -15184,7 +15455,6 @@ declare namespace LocalJSX {
15184
15455
  "sqm-timeline": SqmTimeline;
15185
15456
  "sqm-timeline-entry": SqmTimelineEntry;
15186
15457
  "sqm-titled-section": SqmTitledSection;
15187
- "sqm-user-attribute": SqmUserAttribute;
15188
15458
  "sqm-user-info-form": SqmUserInfoForm;
15189
15459
  "sqm-user-name": SqmUserName;
15190
15460
  "sqm-widget-verification": SqmWidgetVerification;
@@ -15319,7 +15589,6 @@ declare module "@stencil/core" {
15319
15589
  "sqm-timeline": LocalJSX.SqmTimeline & JSXBase.HTMLAttributes<HTMLSqmTimelineElement>;
15320
15590
  "sqm-timeline-entry": LocalJSX.SqmTimelineEntry & JSXBase.HTMLAttributes<HTMLSqmTimelineEntryElement>;
15321
15591
  "sqm-titled-section": LocalJSX.SqmTitledSection & JSXBase.HTMLAttributes<HTMLSqmTitledSectionElement>;
15322
- "sqm-user-attribute": LocalJSX.SqmUserAttribute & JSXBase.HTMLAttributes<HTMLSqmUserAttributeElement>;
15323
15592
  "sqm-user-info-form": LocalJSX.SqmUserInfoForm & JSXBase.HTMLAttributes<HTMLSqmUserInfoFormElement>;
15324
15593
  "sqm-user-name": LocalJSX.SqmUserName & JSXBase.HTMLAttributes<HTMLSqmUserNameElement>;
15325
15594
  "sqm-widget-verification": LocalJSX.SqmWidgetVerification & JSXBase.HTMLAttributes<HTMLSqmWidgetVerificationElement>;
@@ -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