@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
@@ -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;
@@ -91,29 +91,29 @@ export declare class ShareLink {
91
91
  */
92
92
  buttonStyle?: "icon" | "button-outside" | "button-below";
93
93
  /**
94
- * Enable users to customize their referral link
94
+ * Let advocates customize their share links up to 5 times.
95
95
  *
96
- * @uiName Customize URL
96
+ * @uiName Allow customization
97
97
  * @uiType boolean
98
- * @uiGroup Customize Vanity Link
98
+ * @uiGroup Customizable Vanity Link
99
99
  * @requiredFlavor impact
100
100
  */
101
- customizeUrl?: boolean;
101
+ allowCustomization?: boolean;
102
102
  /**
103
- * Text shown below the share link input to trigger customization
103
+ * Displayed below the share link.
104
104
  *
105
- * @uiName Customize link label
105
+ * @uiName Customize link button label
106
106
  * @uiType string
107
- * @uiGroup Customize Vanity Link
107
+ * @uiGroup Customizable Vanity Link
108
108
  * @requiredFlavor impact
109
109
  */
110
- customizeLinkLabel?: string;
110
+ customizeLinkButtonLabel?: string;
111
111
  /**
112
112
  * Text for the save button in editing mode
113
113
  *
114
114
  * @uiName Save button label
115
115
  * @uiType string
116
- * @uiGroup Customize Vanity Link
116
+ * @uiGroup Customizable Vanity Link
117
117
  * @requiredFlavor impact
118
118
  */
119
119
  saveLabelText?: string;
@@ -122,79 +122,83 @@ export declare class ShareLink {
122
122
  *
123
123
  * @uiName Cancel button label
124
124
  * @uiType string
125
- * @uiGroup Customize Vanity Link
125
+ * @uiGroup Customizable Vanity Link
126
126
  * @requiredFlavor impact
127
127
  */
128
128
  cancelLabelText?: string;
129
129
  /**
130
- * Title text shown when the custom link is already taken
130
+ * Title of the error message shown when the link has already been taken
131
131
  *
132
- * @uiName Existing code conflict error title
132
+ * @uiName Link taken error title
133
133
  * @uiType string
134
- * @uiGroup Customize Vanity Link
134
+ * @uiGroup Customizable Vanity Link
135
135
  * @requiredFlavor impact
136
136
  */
137
- existingCodeConflictErrorTitle?: string;
137
+ linkTakenErrorTitle?: string;
138
138
  /**
139
- * Description text shown when the custom link is already taken
139
+ * Description text shown when the link has already been taken
140
140
  *
141
- * @uiName Existing code conflict error description
141
+ * @uiName Link taken error message
142
142
  * @uiType string
143
- * @uiGroup Customize Vanity Link
143
+ * @uiWidget textarea
144
+ * @uiGroup Customizable Vanity Link
144
145
  * @requiredFlavor impact
145
146
  */
146
- existingCodeConflictErrorDescription?: string;
147
+ linkTakenErrorDescription?: string;
147
148
  /**
148
- * Title text shown when the link contains invalid characters
149
+ * Title of the error message shown when the link contains invalid special characters.
149
150
  *
150
151
  * @uiName Invalid characters error title
151
152
  * @uiType string
152
- * @uiGroup Customize Vanity Link
153
+ * @uiGroup Customizable Vanity Link
153
154
  * @requiredFlavor impact
154
155
  */
155
156
  invalidCharactersErrorTitle?: string;
156
157
  /**
157
- * Description text shown when the link contains invalid characters
158
+ * Description text shown when the link contains invalid special characters.
158
159
  *
159
160
  * @uiName Invalid characters error description
160
161
  * @uiType string
161
- * @uiGroup Customize Vanity Link
162
+ * @uiWidget textarea
163
+ * @uiGroup Customizable Vanity Link
162
164
  * @requiredFlavor impact
163
165
  */
164
166
  invalidCharactersErrorDescription?: string;
165
167
  /**
166
- * Title text shown when the link contains profanity
168
+ * Title of the error message shown when the link contains profanity or brand names.
167
169
  *
168
- * @uiName Profanity error title
170
+ * @uiName Restricted words error title
169
171
  * @uiType string
170
- * @uiGroup Customize Vanity Link
172
+ * @uiGroup Customizable Vanity Link
171
173
  * @requiredFlavor impact
172
174
  */
173
- profanityErrorTitle?: string;
175
+ restrictedWordsErrorTitle?: string;
174
176
  /**
175
- * Description text shown when the link contains profanity
177
+ * Description text shown when the link contains profanity or brand names.
176
178
  *
177
- * @uiName Profanity error description
179
+ * @uiName Restricted words error description
178
180
  * @uiType string
179
- * @uiGroup Customize Vanity Link
181
+ * @uiWidget textarea
182
+ * @uiGroup Customizable Vanity Link
180
183
  * @requiredFlavor impact
181
184
  */
182
- profanityErrorDescription?: string;
185
+ restrictedWordsErrorDescription?: string;
183
186
  /**
184
- * Text describing the edit limit
187
+ * Subtext shown while the user is customizing their URL.
185
188
  *
186
189
  * @uiName Edit limit text
187
190
  * @uiType string
188
- * @uiGroup Customize Vanity Link
191
+ * @uiGroup Customizable Vanity Link
189
192
  * @requiredFlavor impact
190
193
  */
191
194
  editLimitText?: string;
192
195
  /**
193
- * Message shown when the edit limit has been reached. Use {supportLink} as a placeholder for the support link.
196
+ * Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
194
197
  *
195
198
  * @uiName Edit limit reached text
196
199
  * @uiType string
197
- * @uiGroup Customize Vanity Link
200
+ * @uiWidget textarea
201
+ * @uiGroup Customizable Vanity Link
198
202
  * @requiredFlavor impact
199
203
  */
200
204
  editLimitReachedText?: string;
@@ -203,7 +207,7 @@ export declare class ShareLink {
203
207
  *
204
208
  * @uiName Support link text
205
209
  * @uiType string
206
- * @uiGroup Customize Vanity Link
210
+ * @uiGroup Customizable Vanity Link
207
211
  * @requiredFlavor impact
208
212
  */
209
213
  supportLinkText?: string;
@@ -212,7 +216,7 @@ export declare class ShareLink {
212
216
  *
213
217
  * @uiName Customize disabled tooltip
214
218
  * @uiType string
215
- * @uiGroup Customize Vanity Link
219
+ * @uiGroup Customizable Vanity Link
216
220
  * @requiredFlavor impact
217
221
  */
218
222
  customizeDisabledTooltip?: string;
@@ -221,6 +225,7 @@ export declare class ShareLink {
221
225
  * @uiType object
222
226
  */
223
227
  demoData?: DemoData<ShareLinkViewProps>;
228
+ editsRemaining?: number;
224
229
  constructor();
225
230
  disconnectedCallback(): void;
226
231
  render(): any;
@@ -4,9 +4,9 @@ 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
- customizeLinkLabel?: string;
9
+ customizeLinkButtonLabel?: string;
10
10
  saveLabelText?: string;
11
11
  cancelLabelText?: string;
12
12
  textAlign?: "left" | "center" | "right";
@@ -17,12 +17,12 @@ export interface ShareLinkProps {
17
17
  buttonType?: "primary" | "secondary";
18
18
  copyButtonLabel?: string;
19
19
  borderColor?: string;
20
- existingCodeConflictErrorTitle?: string;
21
- existingCodeConflictErrorDescription?: string;
20
+ linkTakenErrorTitle?: string;
21
+ linkTakenErrorDescription?: string;
22
22
  invalidCharactersErrorTitle?: string;
23
23
  invalidCharactersErrorDescription?: string;
24
- profanityErrorTitle?: string;
25
- profanityErrorDescription?: string;
24
+ restrictedWordsErrorTitle?: string;
25
+ restrictedWordsErrorDescription?: string;
26
26
  editLimitText?: string;
27
27
  editLimitReachedText?: string;
28
28
  supportLinkText?: string;