@saasquatch/mint-components 2.1.8-22 → 2.1.8-23
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-643b83e2.js → ShadowViewAddon-00d53485.js} +2 -29
- package/dist/cjs/sqm-big-stat_45.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +588 -1144
- package/dist/collection/components/sqm-share-link/sqm-share-link-view.js +1 -2
- package/dist/esm/{ShadowViewAddon-fcb6446a.js → ShadowViewAddon-6bf9d141.js} +2 -29
- package/dist/esm/sqm-big-stat_45.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +2771 -3327
- package/dist/esm-es5/{ShadowViewAddon-fcb6446a.js → ShadowViewAddon-6bf9d141.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-31757712.entry.js → p-01962a11.entry.js} +1 -1
- package/dist/mint-components/{p-8d7548fb.system.entry.js → p-1cc59885.system.entry.js} +1 -1
- package/dist/mint-components/{p-04502b80.entry.js → p-2065e74e.entry.js} +1 -1
- package/dist/mint-components/p-4b365f1f.system.js +1 -1
- package/dist/mint-components/{p-5284bb02.system.js → p-6fcc0439.system.js} +1 -1
- package/dist/mint-components/{p-0eeb5438.js → p-a5bbe968.js} +6 -6
- package/dist/mint-components/{p-3692c0da.system.entry.js → p-d8e5c04c.system.entry.js} +1 -1
- package/docs/docs.docx +0 -0
- package/package.json +1 -1
- package/dist/cjs/sqm-share-link.cjs.entry.js +0 -271
- package/dist/cjs/useShareLink-1282123e.js +0 -422
- package/dist/cjs/useShareLink-3c22b1b9.js +0 -448
- package/dist/cjs/useShareLink-54e24928.js +0 -448
- package/dist/cjs/useShareLink-b664fbc7.js +0 -450
- package/dist/cjs/useShareLink-bf04b25c.js +0 -450
- package/dist/cjs/useShareLink-e8e2ae6d.js +0 -448
- package/dist/esm/sqm-share-link.entry.js +0 -267
- package/dist/esm/useShareLink-023284f3.js +0 -445
- package/dist/esm/useShareLink-436e9cad.js +0 -445
- package/dist/esm/useShareLink-4ba01373.js +0 -447
- package/dist/esm/useShareLink-79056582.js +0 -445
- package/dist/esm/useShareLink-a3329e33.js +0 -419
- package/dist/esm/useShareLink-bc20ec4c.js +0 -447
- package/dist/esm-es5/sqm-share-link.entry.js +0 -1
- package/dist/esm-es5/useShareLink-023284f3.js +0 -1
- package/dist/esm-es5/useShareLink-436e9cad.js +0 -1
- package/dist/esm-es5/useShareLink-4ba01373.js +0 -1
- package/dist/esm-es5/useShareLink-79056582.js +0 -1
- package/dist/esm-es5/useShareLink-a3329e33.js +0 -1
- package/dist/esm-es5/useShareLink-bc20ec4c.js +0 -1
- package/dist/mint-components/sqm-share-link.entry.js +0 -267
- package/dist/mint-components/sqm-share-link.system.entry.js +0 -1
- package/dist/mint-components/sqm-stencilbook.entry.js +0 -22106
- package/dist/mint-components/sqm-stencilbook.system.entry.js +0 -1
- package/dist/mint-components/useShareLink-023284f3.js +0 -445
- package/dist/mint-components/useShareLink-1d7c9fd8.system.js +0 -1
- package/dist/mint-components/useShareLink-211e061c.system.js +0 -1
- package/dist/mint-components/useShareLink-2de7ffce.system.js +0 -1
- package/dist/mint-components/useShareLink-436e9cad.js +0 -445
- package/dist/mint-components/useShareLink-454939f5.system.js +0 -1
- package/dist/mint-components/useShareLink-4ba01373.js +0 -447
- package/dist/mint-components/useShareLink-79056582.js +0 -445
- package/dist/mint-components/useShareLink-a3329e33.js +0 -419
- package/dist/mint-components/useShareLink-bc20ec4c.js +0 -447
- package/dist/mint-components/useShareLink-c05fe151.system.js +0 -1
- package/dist/mint-components/useShareLink-cb5abd96.system.js +0 -1
|
@@ -107,7 +107,6 @@ export function ShareLinkView(props) {
|
|
|
107
107
|
const styleString = sheet.toString();
|
|
108
108
|
const errorMessageType = (validationError === null || validationError === void 0 ? void 0 : validationError.code) === "EXISTING_CODE_CONFLICT" ? "info" : "warning";
|
|
109
109
|
const showCharactersRemaining = charactersRemaining <= 14;
|
|
110
|
-
console.log(customizeUrl, limitReached, customizeDisabled, validationError, "customize URL state");
|
|
111
110
|
// Editing state
|
|
112
111
|
if (isEditing) {
|
|
113
112
|
return (h("div", { class: sheet.classes.Container },
|
|
@@ -135,7 +134,7 @@ export function ShareLinkView(props) {
|
|
|
135
134
|
!!validationError ||
|
|
136
135
|
!editValue ||
|
|
137
136
|
editValue.length < minCharacters }, isSaving ? "Saving..." : saveLabelText),
|
|
138
|
-
h("sl-button", { type: "
|
|
137
|
+
h("sl-button", { type: "text", onClick: onCancel, disabled: isSaving }, cancelLabelText))));
|
|
139
138
|
}
|
|
140
139
|
// Default / Customized / Limit reached states
|
|
141
140
|
return (h("div", { class: sheet.classes.Container },
|
|
@@ -4322,32 +4322,6 @@ function ShareLinkView(props) {
|
|
|
4322
4322
|
gap: "var(--sl-spacing-medium)",
|
|
4323
4323
|
alignItems: "center",
|
|
4324
4324
|
},
|
|
4325
|
-
SaveButton: {
|
|
4326
|
-
cursor: "pointer",
|
|
4327
|
-
fontFamily: "var(--sl-font-sans)",
|
|
4328
|
-
fontSize: "var(--sl-font-size-small)",
|
|
4329
|
-
fontWeight: "600",
|
|
4330
|
-
padding: "var(--sl-spacing-x-small) var(--sl-spacing-medium)",
|
|
4331
|
-
borderRadius: "var(--sqm-border-radius-normal, 4px)",
|
|
4332
|
-
border: "1px solid var(--sl-color-neutral-900)",
|
|
4333
|
-
background: "var(--sl-color-neutral-900)",
|
|
4334
|
-
color: "#fff",
|
|
4335
|
-
"&:disabled": {
|
|
4336
|
-
opacity: "0.5",
|
|
4337
|
-
cursor: "default",
|
|
4338
|
-
},
|
|
4339
|
-
},
|
|
4340
|
-
CancelButton: {
|
|
4341
|
-
margin: "0",
|
|
4342
|
-
fontSize: "var(--sl-font-size-small)",
|
|
4343
|
-
fontWeight: "600",
|
|
4344
|
-
cursor: "pointer",
|
|
4345
|
-
background: "none",
|
|
4346
|
-
border: "none",
|
|
4347
|
-
padding: "0",
|
|
4348
|
-
fontFamily: "var(--sl-font-sans)",
|
|
4349
|
-
color: "var(--sl-color-neutral-500)",
|
|
4350
|
-
},
|
|
4351
4325
|
LimitReachedContainer: {
|
|
4352
4326
|
display: "flex",
|
|
4353
4327
|
alignItems: "center",
|
|
@@ -4358,7 +4332,6 @@ function ShareLinkView(props) {
|
|
|
4358
4332
|
const styleString = sheet.toString();
|
|
4359
4333
|
const errorMessageType = (validationError === null || validationError === void 0 ? void 0 : validationError.code) === "EXISTING_CODE_CONFLICT" ? "info" : "warning";
|
|
4360
4334
|
const showCharactersRemaining = charactersRemaining <= 14;
|
|
4361
|
-
console.log(customizeUrl, limitReached, customizeDisabled, validationError, "customize URL state");
|
|
4362
4335
|
// Editing state
|
|
4363
4336
|
if (isEditing) {
|
|
4364
4337
|
return (h("div", { class: sheet.classes.Container },
|
|
@@ -4381,12 +4354,12 @@ function ShareLinkView(props) {
|
|
|
4381
4354
|
validationError.description)),
|
|
4382
4355
|
isValidating && h("p", { class: sheet.classes.HelperText }, "Validating..."),
|
|
4383
4356
|
h("div", { class: sheet.classes.ActionRow },
|
|
4384
|
-
h("button", {
|
|
4357
|
+
h("sl-button", { type: "primary", onClick: onSave, disabled: isSaving ||
|
|
4385
4358
|
isValidating ||
|
|
4386
4359
|
!!validationError ||
|
|
4387
4360
|
!editValue ||
|
|
4388
4361
|
editValue.length < minCharacters }, isSaving ? "Saving..." : saveLabelText),
|
|
4389
|
-
h("button", {
|
|
4362
|
+
h("sl-button", { type: "text", onClick: onCancel, disabled: isSaving }, cancelLabelText))));
|
|
4390
4363
|
}
|
|
4391
4364
|
// Default / Customized / Limit reached states
|
|
4392
4365
|
return (h("div", { class: sheet.classes.Container },
|
|
@@ -23,7 +23,7 @@ import { u as useInstantAccessRegistration } from './useInstantAccessRegistratio
|
|
|
23
23
|
import { R as RequiredPropsError, L as LEAD_FORM_STATE_CONTEXT, u as useLeadFormState } from './useLeadFormState-cec544ea.js';
|
|
24
24
|
import { i as isEmpty } from './utilities-f05633da.js';
|
|
25
25
|
import { E as ErrorView } from './ErrorView-74cb3af8.js';
|
|
26
|
-
import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
26
|
+
import { u as useDemoBigStat, W as useBigStat, B as BigStatView, C as CardFeedView, d as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as LeadDropdownFieldView, Q as LeadFormView, X as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, c as BaseRegistrationFormView, R as ReferralIframeView, i as RewardExchangeView, Y as demoRewardExchange, G as useShareButton, a as ShareButtonView, K as useShareLink, J as ShareLinkView, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-6bf9d141.js';
|
|
27
27
|
import './sqm-portal-container-view-a8c708cd.js';
|
|
28
28
|
import { T as TAX_CONTEXT_NAMESPACE, a as TAX_FORM_CONTEXT_NAMESPACE, U as USER_FORM_CONTEXT_NAMESPACE, C as CURRENCIES_NAMESPACE, b as COUNTRIES_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, g as getCountryObj, c as USER_QUERY_NAMESPACE, G as GET_USER$2, d as COUNTRIES_QUERY_NAMESPACE, e as GET_COUNTRIES, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, i as GET_FINANCE_NETWORK_SETTINGS, j as CURRENCIES_QUERY_NAMESPACE, k as GET_CURRENCIES, L as LoadingView } from './data-a6752028.js';
|
|
29
29
|
import { p as parseStates, e as extractProps } from './extractProps-54064fb0.js';
|