@saasquatch/mint-components 1.15.0-69 → 1.15.0-70
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-f04e82d2.js → ShadowViewAddon-ce81415d.js} +5 -5
- package/dist/cjs/sqm-big-stat_43.cjs.entry.js +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
- package/dist/collection/components/sqm-hero/sqm-hero-view.js +5 -5
- package/dist/collection/components/sqm-hero/sqm-hero.js +1 -1
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -2
- package/dist/esm/{ShadowViewAddon-6ca0b821.js → ShadowViewAddon-6a3f1594.js} +5 -5
- package/dist/esm/sqm-big-stat_43.entry.js +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/{ShadowViewAddon-6ca0b821.js → ShadowViewAddon-6a3f1594.js} +1 -1
- package/dist/esm-es5/sqm-big-stat_43.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-c7dadaf5.system.entry.js → p-4f2ac3e6.system.entry.js} +1 -1
- package/dist/mint-components/{p-4932fd6f.js → p-af484582.js} +1 -1
- package/dist/mint-components/{p-c0cefb52.system.entry.js → p-c8ae3367.system.entry.js} +1 -1
- package/dist/mint-components/{p-589d5605.system.js → p-d1f626e0.system.js} +1 -1
- package/dist/mint-components/{p-01dc4d20.entry.js → p-d31b9da5.entry.js} +1 -1
- package/dist/mint-components/p-d7f1b1c9.system.js +1 -1
- package/dist/mint-components/{p-12be33e8.entry.js → p-ea2891f7.entry.js} +1 -1
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -1
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +2 -2
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
|
@@ -2486,10 +2486,10 @@ function HeroView(props) {
|
|
|
2486
2486
|
large: 9,
|
|
2487
2487
|
};
|
|
2488
2488
|
var index = sizes[size];
|
|
2489
|
-
if (utilities.isMobile(
|
|
2489
|
+
if (utilities.isMobile(650)) {
|
|
2490
2490
|
index = index - 2;
|
|
2491
2491
|
}
|
|
2492
|
-
else if (utilities.isMobile(
|
|
2492
|
+
else if (utilities.isMobile(767)) {
|
|
2493
2493
|
index = index - 1;
|
|
2494
2494
|
}
|
|
2495
2495
|
return half ? paddingList[index - 2] : paddingList[index];
|
|
@@ -2509,7 +2509,7 @@ function HeroView(props) {
|
|
|
2509
2509
|
const style = {
|
|
2510
2510
|
TwoColumnContainer: {
|
|
2511
2511
|
display: "flex",
|
|
2512
|
-
"@media screen and (max-width:
|
|
2512
|
+
"@media screen and (max-width: 650px)": {
|
|
2513
2513
|
flexDirection: states.wrapDirection == "wrap-reverse" ? "column-reverse" : "column",
|
|
2514
2514
|
justfiyContent: "center",
|
|
2515
2515
|
},
|
|
@@ -2535,12 +2535,12 @@ function HeroView(props) {
|
|
|
2535
2535
|
"&:last-of-type": {
|
|
2536
2536
|
background: `no-repeat center/cover ${parseBackground(states.secondaryBackground)}`,
|
|
2537
2537
|
},
|
|
2538
|
-
"@media screen and (min-width:
|
|
2538
|
+
"@media screen and (min-width: 650px)": { flex: "1 1 0" },
|
|
2539
2539
|
minHeight: `${states.minHeight}px`,
|
|
2540
2540
|
display: "block",
|
|
2541
2541
|
},
|
|
2542
2542
|
HideColumn: {
|
|
2543
|
-
"@media screen and (max-width:
|
|
2543
|
+
"@media screen and (max-width: 650px)": { display: "none" },
|
|
2544
2544
|
},
|
|
2545
2545
|
SingleColumnContainer: {
|
|
2546
2546
|
background: `no-repeat center/cover ${parseBackground(states.background)}`,
|
|
@@ -25,7 +25,7 @@ const sqmPortalLoginView = require('./sqm-portal-login-view-bb50304c.js');
|
|
|
25
25
|
const usePortalLogin = require('./usePortalLogin-6aa864ef.js');
|
|
26
26
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
27
27
|
const utilities = require('./utilities-9a0c5e91.js');
|
|
28
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
28
|
+
const ShadowViewAddon = require('./ShadowViewAddon-ce81415d.js');
|
|
29
29
|
require('./sqm-portal-container-view-07e4343f.js');
|
|
30
30
|
const usePayoutStatus = require('./usePayoutStatus-3b34dab1.js');
|
|
31
31
|
|
|
@@ -33,7 +33,7 @@ require('./utilities-9a0c5e91.js');
|
|
|
33
33
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-25eb2099.js');
|
|
34
34
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-1c4e781f.js');
|
|
35
35
|
const sqmQrCodeView = require('./sqm-qr-code-view-0c3b2f48.js');
|
|
36
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
36
|
+
const ShadowViewAddon = require('./ShadowViewAddon-ce81415d.js');
|
|
37
37
|
const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
|
|
38
38
|
const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-eb18813f.js');
|
|
39
39
|
const utils = require('./utils-7bcbf319.js');
|
|
@@ -35,10 +35,10 @@ export function HeroView(props) {
|
|
|
35
35
|
large: 9,
|
|
36
36
|
};
|
|
37
37
|
var index = sizes[size];
|
|
38
|
-
if (isMobile(
|
|
38
|
+
if (isMobile(650)) {
|
|
39
39
|
index = index - 2;
|
|
40
40
|
}
|
|
41
|
-
else if (isMobile(
|
|
41
|
+
else if (isMobile(767)) {
|
|
42
42
|
index = index - 1;
|
|
43
43
|
}
|
|
44
44
|
return half ? paddingList[index - 2] : paddingList[index];
|
|
@@ -58,7 +58,7 @@ export function HeroView(props) {
|
|
|
58
58
|
const style = {
|
|
59
59
|
TwoColumnContainer: {
|
|
60
60
|
display: "flex",
|
|
61
|
-
"@media screen and (max-width:
|
|
61
|
+
"@media screen and (max-width: 650px)": {
|
|
62
62
|
flexDirection: states.wrapDirection == "wrap-reverse" ? "column-reverse" : "column",
|
|
63
63
|
justfiyContent: "center",
|
|
64
64
|
},
|
|
@@ -84,12 +84,12 @@ export function HeroView(props) {
|
|
|
84
84
|
"&:last-of-type": {
|
|
85
85
|
background: `no-repeat center/cover ${parseBackground(states.secondaryBackground)}`,
|
|
86
86
|
},
|
|
87
|
-
"@media screen and (min-width:
|
|
87
|
+
"@media screen and (min-width: 650px)": { flex: "1 1 0" },
|
|
88
88
|
minHeight: `${states.minHeight}px`,
|
|
89
89
|
display: "block",
|
|
90
90
|
},
|
|
91
91
|
HideColumn: {
|
|
92
|
-
"@media screen and (max-width:
|
|
92
|
+
"@media screen and (max-width: 650px)": { display: "none" },
|
|
93
93
|
},
|
|
94
94
|
SingleColumnContainer: {
|
|
95
95
|
background: `no-repeat center/cover ${parseBackground(states.background)}`,
|
|
@@ -4,7 +4,7 @@ import { HeroView } from "./sqm-hero-view";
|
|
|
4
4
|
import { getProps } from "../../utils/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Hero Layout
|
|
7
|
-
* @validParents ["sqm-portal-container","sqm-brand","div"]
|
|
7
|
+
* @validParents ["sqm-portal-container","sqm-brand","div", "template", "sqb-auth-template-switch", "div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
8
8
|
* @slots [{"name":"","title":"Primary Column Content"},{"name":"secondary-column","title":"Secondary Column Content"}]
|
|
9
9
|
* @example Two Column Hero Layout - <sqm-hero background="https://images.unsplash.com/photo-1599676821464-3555954838dc?ixid=MnwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8&ixlib=rb-1.2.1&auto=format&fit=crop&w=1939&q=80" min-height="0" columns="2" padding-size="large" wrap-direction="wrap" secondary-background="lightgrey"><h1>Primary Column Content</h1><h1 slot="secondary-column">Secondary Column Content</h1></sqm-hero>
|
|
10
10
|
* @exampleGroup Layout
|
|
@@ -5,8 +5,8 @@ import { ReferralCardView } from "./sqm-referral-card-view";
|
|
|
5
5
|
import { useChildElements } from "../../tables/useChildElements";
|
|
6
6
|
/**
|
|
7
7
|
* @uiName Referral Card
|
|
8
|
-
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
9
|
-
* @validChildren ["div","sqm-portal-container","p","sqm-timeline","h1","h2","h3","h5","h4","sqm-pagination","sqm-qr-code","sqm-referral-code","sqm-referral-codes","sqm-share-code","sqm-share-link","sqm-text","span"]
|
|
8
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section", "sqm-hero"]
|
|
9
|
+
* @validChildren ["div","sqm-portal-container","p","sqm-timeline","h1","h2","h3","h5","h4","sqm-pagination","sqm-qr-code","sqm-referral-code","sqm-referral-codes","sqm-share-code","sqm-share-link","sqm-text","span", "sqm-portal-footer"]
|
|
10
10
|
* @exampleGroup Referrals
|
|
11
11
|
* @slots [{"name":"left", "title":"Left Content"},{"name":"right", "title":"Right Content"},{"name":"header", "title":"Header Content"},{"name":"footer", "title":"Footer Content"}]
|
|
12
12
|
* @example Referral Card - <sqm-referral-card vertical-alignment="start"> <sqm-portal-container gap="large" slot="left" direction="column" display="grid" max-width="100%" padding="none" > <sqm-text >They’ll get a $50 credit towards a new account and you’ll get: </sqm-text> <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="Your friend purchases a Business plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$200" unit="visa giftcard" desc="Our sales team qualifies your friend as a good fit for our Enterprise plan" icon="circle" > </sqm-timeline-entry> <sqm-timeline-entry reward="$1000" unit="visa giftcard" desc="Your friend purchases an Enterprise plan" icon="circle" > </sqm-timeline-entry> </sqm-timeline> </sqm-portal-container> <sqm-portal-container gap="large" slot="right" direction="column" display="grid" max-width="100%" padding="none" > <sqm-text>Choose how you want to share: </sqm-text> <sqm-text> <sub>Your unique referral link:</sub> <sqm-share-link tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" > </sqm-share-link> </sqm-text> <sqm-portal-container gap="x-small" direction="column" display="grid" max-width="100%" padding="none" > <sqm-share-button medium="email" icon-slot="prefix" size="medium" type="default" > Share via email </sqm-share-button> <sqm-share-button medium="linkedin" icon-slot="prefix" size="medium" type="default" > Share on LinkedIn </sqm-share-button> <sqm-share-button medium="twitter" icon-slot="prefix" size="medium" type="default" > Share on Twitter </sqm-share-button> </sqm-portal-container> </sqm-portal-container> </sqm-referral-card>
|
|
@@ -2484,10 +2484,10 @@ function HeroView(props) {
|
|
|
2484
2484
|
large: 9,
|
|
2485
2485
|
};
|
|
2486
2486
|
var index = sizes[size];
|
|
2487
|
-
if (isMobile(
|
|
2487
|
+
if (isMobile(650)) {
|
|
2488
2488
|
index = index - 2;
|
|
2489
2489
|
}
|
|
2490
|
-
else if (isMobile(
|
|
2490
|
+
else if (isMobile(767)) {
|
|
2491
2491
|
index = index - 1;
|
|
2492
2492
|
}
|
|
2493
2493
|
return half ? paddingList[index - 2] : paddingList[index];
|
|
@@ -2507,7 +2507,7 @@ function HeroView(props) {
|
|
|
2507
2507
|
const style = {
|
|
2508
2508
|
TwoColumnContainer: {
|
|
2509
2509
|
display: "flex",
|
|
2510
|
-
"@media screen and (max-width:
|
|
2510
|
+
"@media screen and (max-width: 650px)": {
|
|
2511
2511
|
flexDirection: states.wrapDirection == "wrap-reverse" ? "column-reverse" : "column",
|
|
2512
2512
|
justfiyContent: "center",
|
|
2513
2513
|
},
|
|
@@ -2533,12 +2533,12 @@ function HeroView(props) {
|
|
|
2533
2533
|
"&:last-of-type": {
|
|
2534
2534
|
background: `no-repeat center/cover ${parseBackground(states.secondaryBackground)}`,
|
|
2535
2535
|
},
|
|
2536
|
-
"@media screen and (min-width:
|
|
2536
|
+
"@media screen and (min-width: 650px)": { flex: "1 1 0" },
|
|
2537
2537
|
minHeight: `${states.minHeight}px`,
|
|
2538
2538
|
display: "block",
|
|
2539
2539
|
},
|
|
2540
2540
|
HideColumn: {
|
|
2541
|
-
"@media screen and (max-width:
|
|
2541
|
+
"@media screen and (max-width: 650px)": { display: "none" },
|
|
2542
2542
|
},
|
|
2543
2543
|
SingleColumnContainer: {
|
|
2544
2544
|
background: `no-repeat center/cover ${parseBackground(states.background)}`,
|
|
@@ -21,7 +21,7 @@ import { P as PortalLoginView } from './sqm-portal-login-view-7670cd86.js';
|
|
|
21
21
|
import { u as usePortalLogin } from './usePortalLogin-d0720c81.js';
|
|
22
22
|
import { A as AsYouType } from './AsYouType-46f67d0d.js';
|
|
23
23
|
import { i as isEmpty } from './utilities-ad9c2893.js';
|
|
24
|
-
import { u as useDemoBigStat, Q as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, i as RewardExchangeView, V as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-
|
|
24
|
+
import { u as useDemoBigStat, Q as useBigStat, B as BigStatView, C as CardFeedView, c as CheckboxFieldView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, H as HeroView, I as InputFieldView, U as withShadowView, L as LeaderboardView, N as NameFieldsView, f as ChangeMarktingView, P as PortalChangePasswordView, g as PortalFooterView, h as PortalFrameView, d as PortalRegisterView, R as ReferralIframeView, i as RewardExchangeView, V as demoRewardExchange, G as useShareButton, a as ShareButtonView, J as useShareLink, S as StatContainerView, T as TaskCardView } from './ShadowViewAddon-6a3f1594.js';
|
|
25
25
|
import './sqm-portal-container-view-176e92e3.js';
|
|
26
26
|
import { u as usePayoutStatus } from './usePayoutStatus-7eeec61b.js';
|
|
27
27
|
|
|
@@ -29,7 +29,7 @@ import './utilities-ad9c2893.js';
|
|
|
29
29
|
import { P as PortalResetPasswordView } from './sqm-portal-reset-password-view-abef7286.js';
|
|
30
30
|
import { P as PortalVerifyEmailView } from './sqm-portal-verify-email-view-33805220.js';
|
|
31
31
|
import { Q as QrCodeView } from './sqm-qr-code-view-97124a66.js';
|
|
32
|
-
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as useShareLink, K as ProgressBarView, M as ProgressBar$2, O as ShadowViewAddon } from './ShadowViewAddon-
|
|
32
|
+
import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalFrameView, R as ReferralIframeView, i as RewardExchangeView, r as rewardExchangeCustomErrorMsg, j as rewardExchangeLongText, k as rewardExchangeSelected, l as chooseAmountFixed, m as chooseAmountFixedNoDescription, n as chooseAmountVariable, o as chooseAmountVariableNoDescription, p as chooseAmountVariableDisabled, q as chooseAmountVariableUnavailable, s as confirmFixed, t as confirmVariable, v as redemptionError, w as queryError, x as success, y as successVariable, z as loading, A as empty$1, F as rewardExchange, G as useShareButton, J as useShareLink, K as ProgressBarView, M as ProgressBar$2, O as ShadowViewAddon } from './ShadowViewAddon-6a3f1594.js';
|
|
33
33
|
import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-176e92e3.js';
|
|
34
34
|
import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView } from './IndirectTaxDetailsView-10504666.js';
|
|
35
35
|
import { t as taxTypeToName, L as LoadingView } from './utils-088048b2.js';
|