@saasquatch/mint-components 2.1.8-25 → 2.1.8-26
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-247ccfa4.js → ShadowViewAddon-1bc48666.js} +6 -5
- 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 +38 -38
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +6 -5
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +114 -114
- package/dist/esm/{ShadowViewAddon-e7e73e36.js → ShadowViewAddon-10db3e11.js} +6 -5
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_45.entry.js +38 -38
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{ShadowViewAddon-e7e73e36.js → ShadowViewAddon-10db3e11.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-0a02a7a5.system.js → p-0b5dd21b.system.js} +1 -1
- package/dist/mint-components/p-4b365f1f.system.js +1 -1
- package/dist/mint-components/{p-f62812ff.system.entry.js → p-4df9c93e.system.entry.js} +1 -1
- package/dist/mint-components/{p-4aede05c.system.entry.js → p-6d10c03c.system.entry.js} +1 -1
- package/dist/mint-components/{p-3be90659.js → p-72055e41.js} +1 -1
- package/dist/mint-components/{p-365363b5.entry.js → p-840157bd.entry.js} +2 -2
- package/dist/mint-components/{p-c7f4a587.entry.js → p-a4f44c57.entry.js} +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +37 -37
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ const useInstantAccessRegistration = require('./useInstantAccessRegistration-651
|
|
|
27
27
|
const useLeadFormState = require('./useLeadFormState-76d3b511.js');
|
|
28
28
|
const utilities = require('./utilities-096934ea.js');
|
|
29
29
|
const ErrorView = require('./ErrorView-ee7b0f36.js');
|
|
30
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
30
|
+
const ShadowViewAddon = require('./ShadowViewAddon-1bc48666.js');
|
|
31
31
|
require('./sqm-portal-container-view-70a47420.js');
|
|
32
32
|
const data = require('./data-e83f8a41.js');
|
|
33
33
|
const extractProps = require('./extractProps-e9c55ba8.js');
|
|
@@ -6123,51 +6123,61 @@ const ShareLink = class {
|
|
|
6123
6123
|
*/
|
|
6124
6124
|
this.allowCustomization = false;
|
|
6125
6125
|
/**
|
|
6126
|
-
*
|
|
6126
|
+
* Text for the cancel button in editing mode
|
|
6127
6127
|
*
|
|
6128
|
-
* @uiName
|
|
6128
|
+
* @uiName Cancel button label
|
|
6129
6129
|
* @uiType string
|
|
6130
6130
|
* @uiGroup Customizable Vanity Link
|
|
6131
6131
|
* @requiredFlavor impact
|
|
6132
6132
|
*/
|
|
6133
|
-
this.
|
|
6133
|
+
this.cancelLabelText = "Cancel";
|
|
6134
6134
|
/**
|
|
6135
|
-
*
|
|
6135
|
+
* Tooltip text shown when link customization is disabled
|
|
6136
6136
|
*
|
|
6137
|
-
* @uiName
|
|
6137
|
+
* @uiName Customize disabled tooltip
|
|
6138
6138
|
* @uiType string
|
|
6139
6139
|
* @uiGroup Customizable Vanity Link
|
|
6140
6140
|
* @requiredFlavor impact
|
|
6141
6141
|
*/
|
|
6142
|
-
this.
|
|
6142
|
+
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
6143
6143
|
/**
|
|
6144
|
-
*
|
|
6144
|
+
* Displayed below the share link.
|
|
6145
6145
|
*
|
|
6146
|
-
* @uiName
|
|
6146
|
+
* @uiName Customize link button label
|
|
6147
6147
|
* @uiType string
|
|
6148
6148
|
* @uiGroup Customizable Vanity Link
|
|
6149
6149
|
* @requiredFlavor impact
|
|
6150
6150
|
*/
|
|
6151
|
-
this.
|
|
6151
|
+
this.customizeLinkButtonLabel = "Customize Link";
|
|
6152
6152
|
/**
|
|
6153
|
-
*
|
|
6153
|
+
* Message shown when the URL has been edited 5 times. To display a clickable link, use {supportLink} as a placeholder.
|
|
6154
6154
|
*
|
|
6155
|
-
* @uiName
|
|
6155
|
+
* @uiName Edit limit reached text
|
|
6156
6156
|
* @uiType string
|
|
6157
|
+
* @uiWidget textarea
|
|
6157
6158
|
* @uiGroup Customizable Vanity Link
|
|
6158
6159
|
* @requiredFlavor impact
|
|
6159
6160
|
*/
|
|
6160
|
-
this.
|
|
6161
|
+
this.editLimitReachedText = "5 edit limit reached. To make more changes, please contact {supportLink}.";
|
|
6161
6162
|
/**
|
|
6162
|
-
*
|
|
6163
|
+
* Subtext shown while the user is customizing their URL.
|
|
6163
6164
|
*
|
|
6164
|
-
* @uiName
|
|
6165
|
+
* @uiName Edit limit text
|
|
6166
|
+
* @uiType string
|
|
6167
|
+
* @uiGroup Customizable Vanity Link
|
|
6168
|
+
* @requiredFlavor impact
|
|
6169
|
+
*/
|
|
6170
|
+
this.editLimitText = "You can edit your link up to {editsRemaining} more times.";
|
|
6171
|
+
/**
|
|
6172
|
+
* Description text shown when the link contains invalid special characters.
|
|
6173
|
+
*
|
|
6174
|
+
* @uiName Invalid characters error description
|
|
6165
6175
|
* @uiType string
|
|
6166
6176
|
* @uiWidget textarea
|
|
6167
6177
|
* @uiGroup Customizable Vanity Link
|
|
6168
6178
|
* @requiredFlavor impact
|
|
6169
6179
|
*/
|
|
6170
|
-
this.
|
|
6180
|
+
this.invalidCharactersErrorDescription = "Special characters can break the link when sharing.";
|
|
6171
6181
|
/**
|
|
6172
6182
|
* Title of the error message shown when the link contains invalid special characters.
|
|
6173
6183
|
*
|
|
@@ -6178,24 +6188,24 @@ const ShareLink = class {
|
|
|
6178
6188
|
*/
|
|
6179
6189
|
this.invalidCharactersErrorTitle = "Please use only letters, numbers, dashes and underscores";
|
|
6180
6190
|
/**
|
|
6181
|
-
* Description text shown when the link
|
|
6191
|
+
* Description text shown when the link has already been taken
|
|
6182
6192
|
*
|
|
6183
|
-
* @uiName
|
|
6193
|
+
* @uiName Link taken error message
|
|
6184
6194
|
* @uiType string
|
|
6185
6195
|
* @uiWidget textarea
|
|
6186
6196
|
* @uiGroup Customizable Vanity Link
|
|
6187
6197
|
* @requiredFlavor impact
|
|
6188
6198
|
*/
|
|
6189
|
-
this.
|
|
6199
|
+
this.linkTakenErrorDescription = "Try adding numbers, a dash or underscore to create a unique link.";
|
|
6190
6200
|
/**
|
|
6191
|
-
* Title of the error message shown when the link
|
|
6201
|
+
* Title of the error message shown when the link has already been taken
|
|
6192
6202
|
*
|
|
6193
|
-
* @uiName
|
|
6203
|
+
* @uiName Link taken error title
|
|
6194
6204
|
* @uiType string
|
|
6195
6205
|
* @uiGroup Customizable Vanity Link
|
|
6196
6206
|
* @requiredFlavor impact
|
|
6197
6207
|
*/
|
|
6198
|
-
this.
|
|
6208
|
+
this.linkTakenErrorTitle = "This link is already taken";
|
|
6199
6209
|
/**
|
|
6200
6210
|
* Description text shown when the link contains profanity or brand names.
|
|
6201
6211
|
*
|
|
@@ -6207,24 +6217,23 @@ const ShareLink = class {
|
|
|
6207
6217
|
*/
|
|
6208
6218
|
this.restrictedWordsErrorDescription = "This link contains a restricted word.";
|
|
6209
6219
|
/**
|
|
6210
|
-
*
|
|
6220
|
+
* Title of the error message shown when the link contains profanity or brand names.
|
|
6211
6221
|
*
|
|
6212
|
-
* @uiName
|
|
6222
|
+
* @uiName Restricted words error title
|
|
6213
6223
|
* @uiType string
|
|
6214
6224
|
* @uiGroup Customizable Vanity Link
|
|
6215
6225
|
* @requiredFlavor impact
|
|
6216
6226
|
*/
|
|
6217
|
-
this.
|
|
6227
|
+
this.restrictedWordsErrorTitle = "Please try a different link";
|
|
6218
6228
|
/**
|
|
6219
|
-
*
|
|
6229
|
+
* Text for the save button in editing mode
|
|
6220
6230
|
*
|
|
6221
|
-
* @uiName
|
|
6231
|
+
* @uiName Save button label
|
|
6222
6232
|
* @uiType string
|
|
6223
|
-
* @uiWidget textarea
|
|
6224
6233
|
* @uiGroup Customizable Vanity Link
|
|
6225
6234
|
* @requiredFlavor impact
|
|
6226
6235
|
*/
|
|
6227
|
-
this.
|
|
6236
|
+
this.saveLabelText = "Save";
|
|
6228
6237
|
/**
|
|
6229
6238
|
* Display text for the support link in the edit limit reached message
|
|
6230
6239
|
*
|
|
@@ -6234,15 +6243,6 @@ const ShareLink = class {
|
|
|
6234
6243
|
* @requiredFlavor impact
|
|
6235
6244
|
*/
|
|
6236
6245
|
this.supportLinkText = "Support";
|
|
6237
|
-
/**
|
|
6238
|
-
* Tooltip text shown when link customization is disabled
|
|
6239
|
-
*
|
|
6240
|
-
* @uiName Customize disabled tooltip
|
|
6241
|
-
* @uiType string
|
|
6242
|
-
* @uiGroup Customizable Vanity Link
|
|
6243
|
-
* @requiredFlavor impact
|
|
6244
|
-
*/
|
|
6245
|
-
this.customizeDisabledTooltip = "Link customization is not available.";
|
|
6246
6246
|
domContextHooks_module.h$1(this);
|
|
6247
6247
|
}
|
|
6248
6248
|
disconnectedCallback() { }
|
|
@@ -33,7 +33,7 @@ require('./utilities-096934ea.js');
|
|
|
33
33
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-6b1acd90.js');
|
|
34
34
|
require('./ErrorView-ee7b0f36.js');
|
|
35
35
|
const sqmQrCodeView = require('./sqm-qr-code-view-1f2daa76.js');
|
|
36
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
36
|
+
const ShadowViewAddon = require('./ShadowViewAddon-1bc48666.js');
|
|
37
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-70a47420.js');
|
|
38
38
|
const sqmUserInfoFormView = require('./sqm-user-info-form-view-93e996d6.js');
|
|
39
39
|
const data = require('./data-e83f8a41.js');
|
|
@@ -24,7 +24,6 @@ export function ShareLinkView(props) {
|
|
|
24
24
|
cursor: "pointer",
|
|
25
25
|
color: "var(--sl-color-neutral-900)",
|
|
26
26
|
textAlign: "left",
|
|
27
|
-
padding: "var(--sl-spacing-small)",
|
|
28
27
|
"&:hover": {
|
|
29
28
|
textDecoration: "underline",
|
|
30
29
|
},
|
|
@@ -36,7 +35,6 @@ export function ShareLinkView(props) {
|
|
|
36
35
|
color: "var(--sl-color-neutral-400)",
|
|
37
36
|
cursor: "default",
|
|
38
37
|
textAlign: "left",
|
|
39
|
-
padding: "var(--sl-spacing-small)",
|
|
40
38
|
},
|
|
41
39
|
EditContainer: {
|
|
42
40
|
display: "flex",
|
|
@@ -119,9 +117,11 @@ export function ShareLinkView(props) {
|
|
|
119
117
|
cursor: "pointer",
|
|
120
118
|
background: "none",
|
|
121
119
|
border: "none",
|
|
122
|
-
padding: "0",
|
|
123
120
|
fontFamily: "var(--sl-font-sans)",
|
|
124
121
|
color: "var(--sl-color-neutral-500)",
|
|
122
|
+
"&::part(label)": {
|
|
123
|
+
padding: "0",
|
|
124
|
+
},
|
|
125
125
|
},
|
|
126
126
|
LimitReachedContainer: {
|
|
127
127
|
display: "flex",
|
|
@@ -165,7 +165,7 @@ export function ShareLinkView(props) {
|
|
|
165
165
|
!!validationError ||
|
|
166
166
|
!editValue ||
|
|
167
167
|
editValue.length < minCharacters }, isSaving ? "Saving..." : saveLabelText),
|
|
168
|
-
h("button", { class: sheet.classes.CancelButton, onClick: onCancel, disabled: isSaving }, cancelLabelText))));
|
|
168
|
+
h("sl-button", { type: "text", class: sheet.classes.CancelButton, onClick: onCancel, disabled: isSaving }, cancelLabelText))));
|
|
169
169
|
}
|
|
170
170
|
// Default / Customized / Limit reached states
|
|
171
171
|
return (h("div", { class: sheet.classes.Container },
|
|
@@ -183,6 +183,7 @@ export function ShareLinkView(props) {
|
|
|
183
183
|
id: "editLimitReached",
|
|
184
184
|
defaultMessage: editLimitReachedText,
|
|
185
185
|
}, {
|
|
186
|
-
supportLink: (h("a", { target: "_blank", href: "https://help.impact.com/other/readme/get-help-and-support" },
|
|
186
|
+
supportLink: (h("a", { target: "_blank", href: "https://help.impact.com/other/readme/get-help-and-support" },
|
|
187
|
+
h("p", null, supportLinkText))),
|
|
187
188
|
}))))))));
|
|
188
189
|
}
|