@saasquatch/mint-components 2.1.10-57 → 2.1.10-59

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 (148) 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 +264 -26
  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 +173 -25
  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/components/sqm-portal-container/sqm-portal-container-view.js +6 -7
  24. package/dist/collection/components/sqm-portal-google-login/sqm-portal-google-login.js +1 -1
  25. package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -1
  26. package/dist/collection/components/sqm-share-code/sqm-share-code.js +0 -1
  27. package/dist/collection/components/sqm-share-link/ShareLink.stories.js +136 -11
  28. package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +14 -5
  29. package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +192 -0
  30. package/dist/collection/components/sqm-share-link/sqm-share-link.js +935 -48
  31. package/dist/collection/components/sqm-share-link/useShareLink.js +227 -14
  32. package/dist/collection/components/sqm-text-span/sqm-text-span-view.js +1 -1
  33. package/dist/collection/components/sqm-user-attribute/UserAttribute.stories.js +4 -0
  34. package/dist/collection/components/sqm-user-attribute/sqm-user-attribute.js +1 -1
  35. package/dist/esm/{ShadowViewAddon-47f1e579.js → ShadowViewAddon-33f1a8f7.js} +424 -22
  36. package/dist/esm/loader.js +1 -1
  37. package/dist/esm/mint-components.js +1 -1
  38. package/dist/esm/sqm-big-stat_46.entry.js +264 -26
  39. package/dist/esm/sqm-code-verification.entry.js +1 -1
  40. package/dist/esm/sqm-email-verification.entry.js +1 -1
  41. package/dist/esm/sqm-empty_4.entry.js +1 -1
  42. package/dist/esm/{sqm-portal-container-view-a8c708cd.js → sqm-portal-container-view-200c9df8.js} +6 -7
  43. package/dist/esm/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  44. package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
  45. package/dist/esm/sqm-portal-forgot-password_6.entry.js +5 -5
  46. package/dist/esm/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  47. package/dist/esm/sqm-portal-profile.entry.js +2 -2
  48. package/dist/esm/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  49. package/dist/esm/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  50. package/dist/esm/sqm-portal-reset-password.entry.js +2 -2
  51. package/dist/esm/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  52. package/dist/esm/sqm-referral-table_11.entry.js +1 -1
  53. package/dist/esm/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  54. package/dist/esm/sqm-stencilbook.entry.js +173 -25
  55. package/dist/esm/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  56. package/dist/esm/sqm-text-span.entry.js +1 -1
  57. package/dist/esm-es5/ShadowViewAddon-33f1a8f7.js +1 -0
  58. package/dist/esm-es5/loader.js +1 -1
  59. package/dist/esm-es5/mint-components.js +1 -1
  60. package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
  61. package/dist/esm-es5/sqm-code-verification.entry.js +1 -1
  62. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  63. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  64. package/dist/esm-es5/sqm-portal-container-view-200c9df8.js +1 -0
  65. package/dist/esm-es5/{sqm-portal-email-verification-view-426370f1.js → sqm-portal-email-verification-view-04528277.js} +1 -1
  66. package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
  67. package/dist/esm-es5/sqm-portal-forgot-password_6.entry.js +1 -1
  68. package/dist/esm-es5/{sqm-portal-profile-view-f015fd6a.js → sqm-portal-profile-view-b5ea620f.js} +1 -1
  69. package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
  70. package/dist/esm-es5/{sqm-portal-registration-form-view-2f4936ef.js → sqm-portal-registration-form-view-79265df5.js} +1 -1
  71. package/dist/esm-es5/{sqm-portal-reset-password-view-cfbc0eb0.js → sqm-portal-reset-password-view-f84c04cf.js} +1 -1
  72. package/dist/esm-es5/sqm-portal-reset-password.entry.js +1 -1
  73. package/dist/esm-es5/{sqm-portal-verify-email-view-1a638fae.js → sqm-portal-verify-email-view-c61536b7.js} +1 -1
  74. package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
  75. package/dist/esm-es5/sqm-rewards-table-customer-note-cell.entry.js +1 -1
  76. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  77. package/dist/esm-es5/{sqm-text-span-view-738acfb3.js → sqm-text-span-view-72f43dff.js} +1 -1
  78. package/dist/esm-es5/sqm-text-span.entry.js +1 -1
  79. package/dist/mint-components/mint-components.esm.js +1 -1
  80. package/dist/mint-components/{p-ab0ea688.system.entry.js → p-00b235c5.system.entry.js} +1 -1
  81. package/dist/mint-components/p-08930b83.js +499 -0
  82. package/dist/mint-components/p-0b1e90fe.system.js +1 -0
  83. package/dist/mint-components/p-1021a49f.system.entry.js +1 -0
  84. package/dist/mint-components/{p-25558a33.entry.js → p-13292317.entry.js} +1 -1
  85. package/dist/mint-components/{p-d65991d0.entry.js → p-13d1b10d.entry.js} +1 -1
  86. package/dist/mint-components/{p-d4570314.entry.js → p-1d92c169.entry.js} +1 -1
  87. package/dist/mint-components/{p-7161e1a6.js → p-2668335b.js} +1 -1
  88. package/dist/mint-components/{p-6e512063.entry.js → p-3af3e2c1.entry.js} +1 -1
  89. package/dist/mint-components/{p-5ff7b000.entry.js → p-40bad95a.entry.js} +1 -1
  90. package/dist/mint-components/{p-f35d856a.system.js → p-43c31fd5.system.js} +1 -1
  91. package/dist/mint-components/p-5bc5c61e.entry.js +1 -0
  92. package/dist/mint-components/{p-dac20392.system.js → p-686dd5eb.system.js} +1 -1
  93. package/dist/mint-components/p-69d390db.system.entry.js +1 -0
  94. package/dist/mint-components/{p-7b909aa5.system.js → p-7562cd98.system.js} +1 -1
  95. package/dist/mint-components/p-78b40f71.system.js +1 -0
  96. package/dist/mint-components/{p-cb0a5990.entry.js → p-7939e4af.entry.js} +1 -1
  97. package/dist/mint-components/{p-e6ace3ab.js → p-832aea99.js} +1 -1
  98. package/dist/mint-components/{p-b9f57e84.system.entry.js → p-8899ff38.system.entry.js} +1 -1
  99. package/dist/mint-components/{p-fbe00c97.system.entry.js → p-892797eb.system.entry.js} +1 -1
  100. package/dist/mint-components/{p-d997001a.js → p-8962e023.js} +1 -1
  101. package/dist/mint-components/{p-dd368927.system.entry.js → p-9390586b.system.entry.js} +1 -1
  102. package/dist/mint-components/{p-3c46b4dd.system.js → p-a4825ec2.system.js} +1 -1
  103. package/dist/mint-components/{p-058aefe1.entry.js → p-af407cce.entry.js} +1 -1
  104. package/dist/mint-components/{p-56ca7e3c.js → p-b3ad957c.js} +1 -1
  105. package/dist/mint-components/{p-70570e4d.system.entry.js → p-b96e90a2.system.entry.js} +1 -1
  106. package/dist/mint-components/{p-c67f8558.system.entry.js → p-bba16a46.system.entry.js} +1 -1
  107. package/dist/mint-components/{p-669d52c4.js → p-bee4af5d.js} +1 -1
  108. package/dist/mint-components/p-c592f273.system.entry.js +1 -0
  109. package/dist/mint-components/{p-cabf6326.js → p-c813ec64.js} +1 -1
  110. package/dist/mint-components/p-ca098be1.system.js +1 -1
  111. package/dist/mint-components/{p-18133026.system.entry.js → p-d3b1ab20.system.entry.js} +1 -1
  112. package/dist/mint-components/{p-692e14c5.system.js → p-d55c50af.system.js} +1 -1
  113. package/dist/mint-components/p-d91075a5.entry.js +9 -0
  114. package/dist/mint-components/p-e30abc44.js +1 -0
  115. package/dist/mint-components/{p-fb5c9802.entry.js → p-e506bf7f.entry.js} +1 -1
  116. package/dist/mint-components/{p-aefc6c4f.system.entry.js → p-e9485160.system.entry.js} +1 -1
  117. package/dist/mint-components/{p-746500b2.entry.js → p-eb0b2b55.entry.js} +22 -22
  118. package/dist/mint-components/{p-f0baeed0.entry.js → p-f6528f8a.entry.js} +1 -1
  119. package/dist/mint-components/{p-5141769d.system.entry.js → p-f7ca4cc4.system.entry.js} +1 -1
  120. package/dist/mint-components/{p-e4f17c21.system.js → p-f8026ed6.system.js} +1 -1
  121. package/dist/types/components/sqm-share-link/ShareLink.stories.d.ts +9 -0
  122. package/dist/types/components/sqm-share-link/UseShareLink.stories.d.ts +6 -0
  123. package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +41 -0
  124. package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +195 -2
  125. package/dist/types/components/sqm-share-link/useShareLink.d.ts +33 -4
  126. package/dist/types/components/sqm-user-attribute/UserAttribute.stories.d.ts +3 -0
  127. package/dist/types/components/sqm-user-attribute/sqm-user-attribute.d.ts +1 -1
  128. package/dist/types/components.d.ts +349 -2
  129. package/dist/types/global/android.d.ts +7 -0
  130. package/dist/types/global/demo.d.ts +2 -0
  131. package/dist/types/stories/features.d.ts +4 -0
  132. package/dist/types/stories/templates.d.ts +4 -0
  133. package/docs/docs.docx +0 -0
  134. package/docs/raisins.json +1 -1
  135. package/grapesjs/grapesjs.js +1 -1
  136. package/package.json +15 -3
  137. package/readme.md +60 -1
  138. package/dist/esm-es5/ShadowViewAddon-47f1e579.js +0 -1
  139. package/dist/esm-es5/sqm-portal-container-view-a8c708cd.js +0 -1
  140. package/dist/mint-components/p-217dedde.js +0 -463
  141. package/dist/mint-components/p-4007afba.system.entry.js +0 -1
  142. package/dist/mint-components/p-445f50cc.entry.js +0 -9
  143. package/dist/mint-components/p-55676213.entry.js +0 -1
  144. package/dist/mint-components/p-89a20547.system.entry.js +0 -1
  145. package/dist/mint-components/p-b699f76e.system.js +0 -1
  146. package/dist/mint-components/p-b6a1e2ac.js +0 -1
  147. package/dist/mint-components/p-ce050888.system.js +0 -1
  148. package/dist/mint-components/p-e3497e0e.system.entry.js +0 -1
@@ -54,6 +54,7 @@ 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
60
  import { UserAttributeViewProps } from "./components/sqm-user-attribute/sqm-user-attribute-view";
@@ -4894,6 +4895,15 @@ export namespace Components {
4894
4895
  "tooltiptext": string;
4895
4896
  }
4896
4897
  interface SqmShareLink {
4898
+ /**
4899
+ * Let advocates customize their share links up to 5 times.
4900
+ * @uiName Allow customization
4901
+ * @uiType boolean
4902
+ * @uiGroup Customizable Vanity Link
4903
+ * @uiWidget CustomLinkSwitch
4904
+ * @requiredFlavor impact
4905
+ */
4906
+ "allowCustomization"?: boolean;
4897
4907
  /**
4898
4908
  * Background color of share link container
4899
4909
  * @uiName Background color
@@ -4935,21 +4945,177 @@ export namespace Components {
4935
4945
  * @uiGroup Style
4936
4946
  */
4937
4947
  "buttonType"?: "primary" | "secondary";
4948
+ /**
4949
+ * Text for the cancel button in editing mode
4950
+ * @uiName Cancel button label
4951
+ * @uiType string
4952
+ * @uiGroup Customizable Vanity Link
4953
+ * @requiredFlavor impact
4954
+ */
4955
+ "cancelLabelText"?: string;
4956
+ /**
4957
+ * Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
4958
+ * @uiName Characters remaining text
4959
+ * @uiType string
4960
+ * @uiGroup Customizable Vanity Link
4961
+ * @requiredFlavor impact
4962
+ */
4963
+ "charactersRemainingText"?: string;
4938
4964
  /**
4939
4965
  * @uiName Copy button label
4940
4966
  */
4941
4967
  "copyButtonLabel": string;
4968
+ /**
4969
+ * Tooltip text shown when link customization is disabled
4970
+ * @uiName Customize disabled tooltip
4971
+ * @uiType string
4972
+ * @uiGroup Customizable Vanity Link
4973
+ * @requiredFlavor impact
4974
+ */
4975
+ "customizeDisabledTooltip"?: string;
4976
+ /**
4977
+ * Displayed below the share link.
4978
+ * @uiName Customize link button label
4979
+ * @uiType string
4980
+ * @uiGroup Customizable Vanity Link
4981
+ * @requiredFlavor impact
4982
+ */
4983
+ "customizeLinkButtonLabel"?: string;
4942
4984
  /**
4943
4985
  * @undocumented
4944
4986
  * @uiType object
4945
4987
  */
4946
- "demoData"?: DemoData<CopyTextViewProps>;
4988
+ "demoData"?: DemoData<ShareLinkViewProps>;
4989
+ /**
4990
+ * Label shown above the link input while editing
4991
+ * @uiName Edit input label
4992
+ * @uiType string
4993
+ * @uiGroup Customizable Vanity Link
4994
+ * @requiredFlavor impact
4995
+ */
4996
+ "editLabelText"?: string;
4997
+ /**
4998
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
4999
+ * @uiName Edit limit reached text
5000
+ * @uiType string
5001
+ * @uiWidget textarea
5002
+ * @uiGroup Customizable Vanity Link
5003
+ * @requiredFlavor impact
5004
+ */
5005
+ "editLimitReachedText"?: string;
5006
+ /**
5007
+ * Subtext shown while the user is customizing their URL.
5008
+ * @uiName Edit limit text
5009
+ * @uiType string
5010
+ * @uiGroup Customizable Vanity Link
5011
+ * @requiredFlavor impact
5012
+ */
5013
+ "editLimitText"?: string;
5014
+ /**
5015
+ * Description text shown when the link contains invalid special characters.
5016
+ * @uiName Invalid characters error description
5017
+ * @uiType string
5018
+ * @uiWidget textarea
5019
+ * @uiGroup Customizable Vanity Link
5020
+ * @requiredFlavor impact
5021
+ */
5022
+ "invalidCharactersErrorDescription"?: string;
5023
+ /**
5024
+ * Title of the error message shown when the link contains invalid special characters.
5025
+ * @uiName Invalid characters error title
5026
+ * @uiType string
5027
+ * @uiGroup Customizable Vanity Link
5028
+ * @requiredFlavor impact
5029
+ */
5030
+ "invalidCharactersErrorTitle"?: string;
5031
+ /**
5032
+ * Description text shown when the link has already been taken
5033
+ * @uiName Link taken error message
5034
+ * @uiType string
5035
+ * @uiWidget textarea
5036
+ * @uiGroup Customizable Vanity Link
5037
+ * @requiredFlavor impact
5038
+ */
5039
+ "linkTakenErrorDescription"?: string;
5040
+ /**
5041
+ * Title of the error message shown when the link has already been taken
5042
+ * @uiName Link taken error title
5043
+ * @uiType string
5044
+ * @uiGroup Customizable Vanity Link
5045
+ * @requiredFlavor impact
5046
+ */
5047
+ "linkTakenErrorTitle"?: string;
5048
+ /**
5049
+ * @uiName Min characters text
5050
+ * @uiType string
5051
+ * @uiGroup Customizable Vanity Link
5052
+ * @requiredFlavor impact
5053
+ */
5054
+ "minCharactersText"?: string;
4947
5055
  /**
4948
5056
  * The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded.
4949
5057
  * @uiName Program ID
4950
5058
  * @uiWidget programSelector
4951
5059
  */
4952
5060
  "programId"?: string;
5061
+ /**
5062
+ * Description text shown when the link contains profanity or brand names.
5063
+ * @uiName Restricted words error description
5064
+ * @uiType string
5065
+ * @uiWidget textarea
5066
+ * @uiGroup Customizable Vanity Link
5067
+ * @requiredFlavor impact
5068
+ */
5069
+ "restrictedWordsErrorDescription"?: string;
5070
+ /**
5071
+ * Title of the error message shown when the link contains profanity or brand names.
5072
+ * @uiName Restricted words error title
5073
+ * @uiType string
5074
+ * @uiGroup Customizable Vanity Link
5075
+ * @requiredFlavor impact
5076
+ */
5077
+ "restrictedWordsErrorTitle"?: string;
5078
+ /**
5079
+ * Description shown when saving fails with an unknown error
5080
+ * @uiName Save error description
5081
+ * @uiType string
5082
+ * @uiWidget textarea
5083
+ * @uiGroup Customizable Vanity Link
5084
+ * @requiredFlavor impact
5085
+ */
5086
+ "saveErrorDescription"?: string;
5087
+ /**
5088
+ * Title shown when saving fails with an unknown error
5089
+ * @uiName Save error title
5090
+ * @uiType string
5091
+ * @uiGroup Customizable Vanity Link
5092
+ * @requiredFlavor impact
5093
+ */
5094
+ "saveErrorTitle"?: string;
5095
+ /**
5096
+ * Text for the save button in editing mode
5097
+ * @uiName Save button label
5098
+ * @uiType string
5099
+ * @uiGroup Customizable Vanity Link
5100
+ * @requiredFlavor impact
5101
+ */
5102
+ "saveLabelText"?: string;
5103
+ /**
5104
+ * Text for the save button while saving is in progress
5105
+ * @uiName Saving button label
5106
+ * @uiType string
5107
+ * @uiGroup Customizable Vanity Link
5108
+ * @requiredFlavor impact
5109
+ */
5110
+ "savingLabelText"?: string;
5111
+ /**
5112
+ * Display text for the support link in the edit limit reached message
5113
+ * @uiName Support link text
5114
+ * @uiType string
5115
+ * @uiGroup Customizable Vanity Link
5116
+ * @requiredFlavor impact
5117
+ */
5118
+ "supportLinkText"?: string;
4953
5119
  /**
4954
5120
  * Change the text alignment
4955
5121
  * @uiName Share link alignment
@@ -4977,6 +5143,14 @@ export namespace Components {
4977
5143
  * @uiName Tooltip text
4978
5144
  */
4979
5145
  "tooltiptext": string;
5146
+ /**
5147
+ * Text shown while the link is being validated
5148
+ * @uiName Validating label
5149
+ * @uiType string
5150
+ * @uiGroup Customizable Vanity Link
5151
+ * @requiredFlavor impact
5152
+ */
5153
+ "validatingLabelText"?: string;
4980
5154
  }
4981
5155
  interface SqmSkeleton {
4982
5156
  /**
@@ -12833,6 +13007,15 @@ declare namespace LocalJSX {
12833
13007
  "tooltiptext"?: string;
12834
13008
  }
12835
13009
  interface SqmShareLink {
13010
+ /**
13011
+ * Let advocates customize their share links up to 5 times.
13012
+ * @uiName Allow customization
13013
+ * @uiType boolean
13014
+ * @uiGroup Customizable Vanity Link
13015
+ * @uiWidget CustomLinkSwitch
13016
+ * @requiredFlavor impact
13017
+ */
13018
+ "allowCustomization"?: boolean;
12836
13019
  /**
12837
13020
  * Background color of share link container
12838
13021
  * @uiName Background color
@@ -12874,21 +13057,177 @@ declare namespace LocalJSX {
12874
13057
  * @uiGroup Style
12875
13058
  */
12876
13059
  "buttonType"?: "primary" | "secondary";
13060
+ /**
13061
+ * Text for the cancel button in editing mode
13062
+ * @uiName Cancel button label
13063
+ * @uiType string
13064
+ * @uiGroup Customizable Vanity Link
13065
+ * @requiredFlavor impact
13066
+ */
13067
+ "cancelLabelText"?: string;
13068
+ /**
13069
+ * Text shown when nearing the character limit. Use {charactersRemaining} as a placeholder for the count.
13070
+ * @uiName Characters remaining text
13071
+ * @uiType string
13072
+ * @uiGroup Customizable Vanity Link
13073
+ * @requiredFlavor impact
13074
+ */
13075
+ "charactersRemainingText"?: string;
12877
13076
  /**
12878
13077
  * @uiName Copy button label
12879
13078
  */
12880
13079
  "copyButtonLabel"?: string;
13080
+ /**
13081
+ * Tooltip text shown when link customization is disabled
13082
+ * @uiName Customize disabled tooltip
13083
+ * @uiType string
13084
+ * @uiGroup Customizable Vanity Link
13085
+ * @requiredFlavor impact
13086
+ */
13087
+ "customizeDisabledTooltip"?: string;
13088
+ /**
13089
+ * Displayed below the share link.
13090
+ * @uiName Customize link button label
13091
+ * @uiType string
13092
+ * @uiGroup Customizable Vanity Link
13093
+ * @requiredFlavor impact
13094
+ */
13095
+ "customizeLinkButtonLabel"?: string;
12881
13096
  /**
12882
13097
  * @undocumented
12883
13098
  * @uiType object
12884
13099
  */
12885
- "demoData"?: DemoData<CopyTextViewProps>;
13100
+ "demoData"?: DemoData<ShareLinkViewProps>;
13101
+ /**
13102
+ * Label shown above the link input while editing
13103
+ * @uiName Edit input label
13104
+ * @uiType string
13105
+ * @uiGroup Customizable Vanity Link
13106
+ * @requiredFlavor impact
13107
+ */
13108
+ "editLabelText"?: string;
13109
+ /**
13110
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
13111
+ * @uiName Edit limit reached text
13112
+ * @uiType string
13113
+ * @uiWidget textarea
13114
+ * @uiGroup Customizable Vanity Link
13115
+ * @requiredFlavor impact
13116
+ */
13117
+ "editLimitReachedText"?: string;
13118
+ /**
13119
+ * Subtext shown while the user is customizing their URL.
13120
+ * @uiName Edit limit text
13121
+ * @uiType string
13122
+ * @uiGroup Customizable Vanity Link
13123
+ * @requiredFlavor impact
13124
+ */
13125
+ "editLimitText"?: string;
13126
+ /**
13127
+ * Description text shown when the link contains invalid special characters.
13128
+ * @uiName Invalid characters error description
13129
+ * @uiType string
13130
+ * @uiWidget textarea
13131
+ * @uiGroup Customizable Vanity Link
13132
+ * @requiredFlavor impact
13133
+ */
13134
+ "invalidCharactersErrorDescription"?: string;
13135
+ /**
13136
+ * Title of the error message shown when the link contains invalid special characters.
13137
+ * @uiName Invalid characters error title
13138
+ * @uiType string
13139
+ * @uiGroup Customizable Vanity Link
13140
+ * @requiredFlavor impact
13141
+ */
13142
+ "invalidCharactersErrorTitle"?: string;
13143
+ /**
13144
+ * Description text shown when the link has already been taken
13145
+ * @uiName Link taken error message
13146
+ * @uiType string
13147
+ * @uiWidget textarea
13148
+ * @uiGroup Customizable Vanity Link
13149
+ * @requiredFlavor impact
13150
+ */
13151
+ "linkTakenErrorDescription"?: string;
13152
+ /**
13153
+ * Title of the error message shown when the link has already been taken
13154
+ * @uiName Link taken error title
13155
+ * @uiType string
13156
+ * @uiGroup Customizable Vanity Link
13157
+ * @requiredFlavor impact
13158
+ */
13159
+ "linkTakenErrorTitle"?: string;
13160
+ /**
13161
+ * @uiName Min characters text
13162
+ * @uiType string
13163
+ * @uiGroup Customizable Vanity Link
13164
+ * @requiredFlavor impact
13165
+ */
13166
+ "minCharactersText"?: string;
12886
13167
  /**
12887
13168
  * The ID of the program that should generate the link. Defaults to the program ID in context where this widget is loaded.
12888
13169
  * @uiName Program ID
12889
13170
  * @uiWidget programSelector
12890
13171
  */
12891
13172
  "programId"?: string;
13173
+ /**
13174
+ * Description text shown when the link contains profanity or brand names.
13175
+ * @uiName Restricted words error description
13176
+ * @uiType string
13177
+ * @uiWidget textarea
13178
+ * @uiGroup Customizable Vanity Link
13179
+ * @requiredFlavor impact
13180
+ */
13181
+ "restrictedWordsErrorDescription"?: string;
13182
+ /**
13183
+ * Title of the error message shown when the link contains profanity or brand names.
13184
+ * @uiName Restricted words error title
13185
+ * @uiType string
13186
+ * @uiGroup Customizable Vanity Link
13187
+ * @requiredFlavor impact
13188
+ */
13189
+ "restrictedWordsErrorTitle"?: string;
13190
+ /**
13191
+ * Description shown when saving fails with an unknown error
13192
+ * @uiName Save error description
13193
+ * @uiType string
13194
+ * @uiWidget textarea
13195
+ * @uiGroup Customizable Vanity Link
13196
+ * @requiredFlavor impact
13197
+ */
13198
+ "saveErrorDescription"?: string;
13199
+ /**
13200
+ * Title shown when saving fails with an unknown error
13201
+ * @uiName Save error title
13202
+ * @uiType string
13203
+ * @uiGroup Customizable Vanity Link
13204
+ * @requiredFlavor impact
13205
+ */
13206
+ "saveErrorTitle"?: string;
13207
+ /**
13208
+ * Text for the save button in editing mode
13209
+ * @uiName Save button label
13210
+ * @uiType string
13211
+ * @uiGroup Customizable Vanity Link
13212
+ * @requiredFlavor impact
13213
+ */
13214
+ "saveLabelText"?: string;
13215
+ /**
13216
+ * Text for the save button while saving is in progress
13217
+ * @uiName Saving button label
13218
+ * @uiType string
13219
+ * @uiGroup Customizable Vanity Link
13220
+ * @requiredFlavor impact
13221
+ */
13222
+ "savingLabelText"?: string;
13223
+ /**
13224
+ * Display text for the support link in the edit limit reached message
13225
+ * @uiName Support link text
13226
+ * @uiType string
13227
+ * @uiGroup Customizable Vanity Link
13228
+ * @requiredFlavor impact
13229
+ */
13230
+ "supportLinkText"?: string;
12892
13231
  /**
12893
13232
  * Change the text alignment
12894
13233
  * @uiName Share link alignment
@@ -12916,6 +13255,14 @@ declare namespace LocalJSX {
12916
13255
  * @uiName Tooltip text
12917
13256
  */
12918
13257
  "tooltiptext"?: string;
13258
+ /**
13259
+ * Text shown while the link is being validated
13260
+ * @uiName Validating label
13261
+ * @uiType string
13262
+ * @uiGroup Customizable Vanity Link
13263
+ * @requiredFlavor impact
13264
+ */
13265
+ "validatingLabelText"?: string;
12919
13266
  }
12920
13267
  interface SqmSkeleton {
12921
13268
  /**
@@ -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