@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.
- package/dist/cjs/{ShadowViewAddon-00d53485.js → ShadowViewAddon-247ccfa4.js} +45 -14
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +44 -40
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +3 -3
- package/dist/collection/components/sqm-share-link/ShareLink.stories.js +1 -1
- package/dist/collection/components/sqm-share-link/UseShareLink.stories.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +37 -6
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +116 -83
- package/dist/collection/components/sqm-share-link/useShareLink.js +8 -8
- package/dist/esm/{ShadowViewAddon-6bf9d141.js → ShadowViewAddon-e7e73e36.js} +45 -14
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_45.entry.js +44 -40
- package/dist/esm/sqm-stencilbook.entry.js +3 -3
- package/dist/esm-es5/{ShadowViewAddon-6bf9d141.js → ShadowViewAddon-e7e73e36.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_45.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-6fcc0439.system.js → p-0a02a7a5.system.js} +1 -1
- package/dist/mint-components/{p-2065e74e.entry.js → p-365363b5.entry.js} +2 -2
- package/dist/mint-components/{p-a5bbe968.js → p-3be90659.js} +2 -2
- package/dist/mint-components/{p-1cc59885.system.entry.js → p-4aede05c.system.entry.js} +1 -1
- package/dist/mint-components/p-4b365f1f.system.js +1 -1
- package/dist/mint-components/{p-01962a11.entry.js → p-c7f4a587.entry.js} +2 -2
- package/dist/mint-components/{p-d8e5c04c.system.entry.js → p-f62812ff.system.entry.js} +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link-view.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +41 -36
- package/dist/types/components/sqm-share-link/useShareLink.d.ts +6 -6
- package/dist/types/components.d.ts +106 -314
- package/dist/types/global/android.d.ts +7 -0
- package/dist/types/global/demo.d.ts +2 -0
- package/dist/types/stories/features.d.ts +4 -0
- package/dist/types/stories/templates.d.ts +4 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
|
@@ -7,7 +7,7 @@ export interface ValidationErrorInfo {
|
|
|
7
7
|
}
|
|
8
8
|
export interface ShareLinkViewProps {
|
|
9
9
|
copyTextViewProps: CopyTextViewProps;
|
|
10
|
-
|
|
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
|
-
*
|
|
94
|
+
* Let advocates customize their share links up to 5 times.
|
|
95
95
|
*
|
|
96
|
-
* @uiName
|
|
96
|
+
* @uiName Allow customization
|
|
97
97
|
* @uiType boolean
|
|
98
|
-
* @uiGroup
|
|
98
|
+
* @uiGroup Customizable Vanity Link
|
|
99
99
|
* @requiredFlavor impact
|
|
100
100
|
*/
|
|
101
|
-
|
|
101
|
+
allowCustomization?: boolean;
|
|
102
102
|
/**
|
|
103
|
-
*
|
|
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
|
|
107
|
+
* @uiGroup Customizable Vanity Link
|
|
108
108
|
* @requiredFlavor impact
|
|
109
109
|
*/
|
|
110
|
-
|
|
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
|
|
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
|
|
125
|
+
* @uiGroup Customizable Vanity Link
|
|
126
126
|
* @requiredFlavor impact
|
|
127
127
|
*/
|
|
128
128
|
cancelLabelText?: string;
|
|
129
129
|
/**
|
|
130
|
-
* Title
|
|
130
|
+
* Title of the error message shown when the link has already been taken
|
|
131
131
|
*
|
|
132
|
-
* @uiName
|
|
132
|
+
* @uiName Link taken error title
|
|
133
133
|
* @uiType string
|
|
134
|
-
* @uiGroup
|
|
134
|
+
* @uiGroup Customizable Vanity Link
|
|
135
135
|
* @requiredFlavor impact
|
|
136
136
|
*/
|
|
137
|
-
|
|
137
|
+
linkTakenErrorTitle?: string;
|
|
138
138
|
/**
|
|
139
|
-
* Description text shown when the
|
|
139
|
+
* Description text shown when the link has already been taken
|
|
140
140
|
*
|
|
141
|
-
* @uiName
|
|
141
|
+
* @uiName Link taken error message
|
|
142
142
|
* @uiType string
|
|
143
|
-
* @
|
|
143
|
+
* @uiWidget textarea
|
|
144
|
+
* @uiGroup Customizable Vanity Link
|
|
144
145
|
* @requiredFlavor impact
|
|
145
146
|
*/
|
|
146
|
-
|
|
147
|
+
linkTakenErrorDescription?: string;
|
|
147
148
|
/**
|
|
148
|
-
* Title
|
|
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
|
|
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
|
-
* @
|
|
162
|
+
* @uiWidget textarea
|
|
163
|
+
* @uiGroup Customizable Vanity Link
|
|
162
164
|
* @requiredFlavor impact
|
|
163
165
|
*/
|
|
164
166
|
invalidCharactersErrorDescription?: string;
|
|
165
167
|
/**
|
|
166
|
-
* Title
|
|
168
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
167
169
|
*
|
|
168
|
-
* @uiName
|
|
170
|
+
* @uiName Restricted words error title
|
|
169
171
|
* @uiType string
|
|
170
|
-
* @uiGroup
|
|
172
|
+
* @uiGroup Customizable Vanity Link
|
|
171
173
|
* @requiredFlavor impact
|
|
172
174
|
*/
|
|
173
|
-
|
|
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
|
|
179
|
+
* @uiName Restricted words error description
|
|
178
180
|
* @uiType string
|
|
179
|
-
* @
|
|
181
|
+
* @uiWidget textarea
|
|
182
|
+
* @uiGroup Customizable Vanity Link
|
|
180
183
|
* @requiredFlavor impact
|
|
181
184
|
*/
|
|
182
|
-
|
|
185
|
+
restrictedWordsErrorDescription?: string;
|
|
183
186
|
/**
|
|
184
|
-
*
|
|
187
|
+
* Subtext shown while the user is customizing their URL.
|
|
185
188
|
*
|
|
186
189
|
* @uiName Edit limit text
|
|
187
190
|
* @uiType string
|
|
188
|
-
* @uiGroup
|
|
191
|
+
* @uiGroup Customizable Vanity Link
|
|
189
192
|
* @requiredFlavor impact
|
|
190
193
|
*/
|
|
191
194
|
editLimitText?: string;
|
|
192
195
|
/**
|
|
193
|
-
* Message shown when the
|
|
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
|
-
* @
|
|
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
|
|
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
|
|
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
|
-
|
|
7
|
+
allowCustomization?: boolean;
|
|
8
8
|
customizeUrlText?: string;
|
|
9
|
-
|
|
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
|
-
|
|
21
|
-
|
|
20
|
+
linkTakenErrorTitle?: string;
|
|
21
|
+
linkTakenErrorDescription?: string;
|
|
22
22
|
invalidCharactersErrorTitle?: string;
|
|
23
23
|
invalidCharactersErrorDescription?: string;
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
restrictedWordsErrorTitle?: string;
|
|
25
|
+
restrictedWordsErrorDescription?: string;
|
|
26
26
|
editLimitText?: string;
|
|
27
27
|
editLimitReachedText?: string;
|
|
28
28
|
supportLinkText?: string;
|