@saasquatch/mint-components 1.9.2 → 1.9.4-1
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-1d7d274f.js → ShadowViewAddon-5fe15ad2.js} +6 -3
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +25 -2
- package/dist/cjs/sqm-empty_4.cjs.entry.js +17 -3
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +4 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +57 -3
- package/dist/collection/components/sqm-empty/EmptyState.stories.js +2 -0
- package/dist/collection/components/sqm-empty/sqm-empty-view.js +15 -2
- package/dist/collection/components/sqm-empty/sqm-empty.js +24 -1
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +31 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +6 -3
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +46 -1
- package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +9 -1
- package/dist/collection/components/sqm-popup-container/sqm-popup-container.js +6 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +8 -0
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +8 -1
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +13 -0
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +21 -2
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +8 -3
- package/dist/esm/{ShadowViewAddon-b04465af.js → ShadowViewAddon-b2de2d8f.js} +6 -3
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-big-stat_38.entry.js +26 -3
- package/dist/esm/sqm-empty_4.entry.js +17 -3
- package/dist/esm/sqm-rewards-table_9.entry.js +4 -2
- package/dist/esm/sqm-stencilbook.entry.js +57 -3
- package/dist/esm-es5/ShadowViewAddon-b2de2d8f.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-big-stat_38.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.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-0bdfc00e.system.entry.js +1 -0
- package/dist/mint-components/p-6ffed27b.system.js +1 -1
- package/dist/mint-components/{p-a8c90696.system.entry.js → p-7fda77ac.system.entry.js} +1 -1
- package/dist/mint-components/p-84d32133.entry.js +187 -0
- package/dist/mint-components/p-855eeedd.system.entry.js +1 -0
- package/dist/mint-components/p-90a0a1bf.system.entry.js +1 -0
- package/dist/mint-components/p-be00e478.entry.js +1 -0
- package/dist/mint-components/{p-3ba7f54e.entry.js → p-c0500993.entry.js} +2 -2
- package/dist/mint-components/{p-4869e1d6.js → p-de2aa147.js} +1 -1
- package/dist/mint-components/p-e98fe050.system.js +1 -0
- package/dist/mint-components/{p-0a0ec6a8.entry.js → p-eac38c5e.entry.js} +2 -2
- package/dist/types/components/sqm-empty/sqm-empty-view.d.ts +2 -0
- package/dist/types/components/sqm-empty/sqm-empty.d.ts +5 -0
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +2 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +13 -0
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +1 -0
- package/dist/types/components/sqm-popup-container/sqm-popup-container.d.ts +2 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +2 -0
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.d.ts +1 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -1
- package/dist/types/components.d.ts +35 -3
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +3 -2
- package/dist/esm-es5/ShadowViewAddon-b04465af.js +0 -1
- package/dist/mint-components/p-2574a651.system.entry.js +0 -1
- package/dist/mint-components/p-59bc9a2d.entry.js +0 -187
- package/dist/mint-components/p-6cddd2fc.system.entry.js +0 -1
- package/dist/mint-components/p-6d2a23e7.system.entry.js +0 -1
- package/dist/mint-components/p-c53a801b.system.js +0 -1
- package/dist/mint-components/p-ce72e90a.entry.js +0 -1
|
@@ -6,6 +6,7 @@ declare const _default: {
|
|
|
6
6
|
};
|
|
7
7
|
export default _default;
|
|
8
8
|
export declare const Empty: () => any;
|
|
9
|
+
export declare const Essentials: () => any;
|
|
9
10
|
export declare const Loading: () => any;
|
|
10
11
|
export declare const One: () => any;
|
|
11
12
|
export declare const Five: () => any;
|
|
@@ -3,6 +3,7 @@ export interface LeaderboardViewProps {
|
|
|
3
3
|
states: {
|
|
4
4
|
loading: boolean;
|
|
5
5
|
hasLeaders: boolean;
|
|
6
|
+
isEssentials?: boolean;
|
|
6
7
|
styles: {
|
|
7
8
|
usersheading: string;
|
|
8
9
|
statsheading: string;
|
|
@@ -31,6 +32,7 @@ export interface LeaderboardViewProps {
|
|
|
31
32
|
};
|
|
32
33
|
elements: {
|
|
33
34
|
empty: VNode;
|
|
35
|
+
essentials: VNode;
|
|
34
36
|
loadingstate: VNode;
|
|
35
37
|
};
|
|
36
38
|
}
|
|
@@ -3,6 +3,12 @@ import { LeaderboardViewProps } from "./sqm-leaderboard-view";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Leaderboard
|
|
5
5
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
6
|
+
* @requiredFeatures ["LEADERBOARDS"]
|
|
7
|
+
* @exampleGroup Leaderboard
|
|
8
|
+
* @example Referral Started Leaderboard - <sqm-leaderboard usersheading="Referrer" statsheading="Referrals" rank-type="rank" leaderboard-type="topStartedReferrers" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
9
|
+
* @example Referral Converted Leaderboard - <sqm-leaderboard usersheading="Referrer" statsheading="Referrals" rank-type="rank" leaderboard-type="topConvertedReferrers" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
10
|
+
* @example Points Earned Leaderboard - <sqm-leaderboard usersheading="Name" statsheading="Points" rank-type="rank" leaderboard-type="topPointEarners" rankheading="Rank" show-rank="true"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_leaderboard2.png" empty-state-header="View your rank in the leaderboard" empty-state-text="Be the first to refer a friend and reach the top of the leaderboard" ></sqm-empty></sqm-leaderboard>
|
|
11
|
+
* @featureTooltip <div>Motivate your participants by gamifying your program. Contact <a href="mailto:saasquatch-support%40impact.com?subject=Next steps for Leaderboards feature&body=Hi Support Team, %0D%0A%0D%0A I am interested in learning more about how Leaderboards can support the growth of our referral program. Please connect me with a program strategy manager to discuss this feature further, and determine the next steps.%0D%0A%0D%0A%0D%0AThank you,%0D%0A[Add your name here]">Support</a> to upgrade your plan and add a leaderboard.</div>
|
|
6
12
|
*/
|
|
7
13
|
export declare class Leaderboard {
|
|
8
14
|
/**
|
|
@@ -36,6 +42,13 @@ export declare class Leaderboard {
|
|
|
36
42
|
* @default
|
|
37
43
|
*/
|
|
38
44
|
hideViewer: boolean;
|
|
45
|
+
/**
|
|
46
|
+
* Hides the leaderboard if user is on Essentials plan
|
|
47
|
+
*
|
|
48
|
+
* @uiName Hide viewing user
|
|
49
|
+
* @default
|
|
50
|
+
*/
|
|
51
|
+
isEssentials?: boolean;
|
|
39
52
|
/**
|
|
40
53
|
* @uiName Rank type
|
|
41
54
|
* @uiType string
|
|
@@ -8,6 +8,8 @@ export declare class PopupContainer {
|
|
|
8
8
|
* Show Powered by Impact.com link
|
|
9
9
|
*
|
|
10
10
|
* @uiName Show powered by
|
|
11
|
+
* @requiredFeatures ["CUSTOM_BRANDING"]
|
|
12
|
+
* @featureTooltip <div>Integrate your brand identity further by removing impact.com’s branding from your widget. Contact <a href="mailto:saasquatch-support%40impact.com?subject=Next steps for Custom Branding feature&body=Hi Support Team, %0D%0A%0D%0A I am interested in learning more about how Custom Branding can support the growth of our referral program. Please connect me with a program strategy manager to discuss this feature further, and determine the next steps.%0D%0A%0D%0A%0D%0AThank you,%0D%0A[Add your name here]">Support</a> to upgrade your plan</div>
|
|
11
13
|
*/
|
|
12
14
|
poweredBy: boolean;
|
|
13
15
|
/**
|
|
@@ -34,6 +34,8 @@ export declare class PortalFooter {
|
|
|
34
34
|
faqText?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @uiName Hide powered by Impact.com
|
|
37
|
+
* @requiredFeatures ["CUSTOM_BRANDING"]
|
|
38
|
+
* @featureTooltip <div>Integrate your brand identity further by removing impact.com’s branding from your widget. Contact <a href="mailto:saasquatch-support%40impact.com?subject=Next steps for Custom Branding feature&body=Hi Support Team, %0D%0A%0D%0A I am interested in learning more about how Custom Branding can support the growth of our referral program. Please connect me with a program strategy manager to discuss this feature further, and determine the next steps.%0D%0A%0D%0A%0D%0AThank you,%0D%0A[Add your name here]">Support</a> to upgrade your plan</div>
|
|
37
39
|
*/
|
|
38
40
|
hidePoweredBy: boolean;
|
|
39
41
|
/**
|
|
@@ -24,6 +24,7 @@ export declare const SourceCellWithLongText: () => any;
|
|
|
24
24
|
export declare const SourceCellReferred: () => any;
|
|
25
25
|
export declare const SourceCellAnonymousUser: () => any;
|
|
26
26
|
export declare const SourceCellDeletedUser: () => any;
|
|
27
|
+
export declare const SourceCellDeletedReferral: () => any;
|
|
27
28
|
export declare const StatusCellAvailable: () => any;
|
|
28
29
|
export declare const StatusCellAvailableExpiry: () => any;
|
|
29
30
|
export declare const StatusCellRedeemed: () => any;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { VNode } from "../../stencil-public-runtime";
|
|
1
2
|
import { Spacing } from "../../global/mixins";
|
|
2
3
|
/**
|
|
3
4
|
* @uiName Titled Section
|
|
@@ -11,7 +12,7 @@ export declare class TitledSection {
|
|
|
11
12
|
*
|
|
12
13
|
* @uiName Label
|
|
13
14
|
*/
|
|
14
|
-
label: string;
|
|
15
|
+
label: string | VNode;
|
|
15
16
|
/**
|
|
16
17
|
* @uiName Text alignment
|
|
17
18
|
* @uiType string
|
|
@@ -15,7 +15,7 @@ import { UseDocusignFormResult } from "./components/tax-and-cash/sqm-docusign-fo
|
|
|
15
15
|
import { DropdownFieldViewProps } from "./components/sqm-dropdown-field/sqm-dropdown-field-view";
|
|
16
16
|
import { EditProfileViewProps } from "./components/sqm-edit-profile/sqm-edit-profile-view";
|
|
17
17
|
import { Spacing } from "./global/mixins";
|
|
18
|
-
import { FunctionalComponent } from "./stencil-public-runtime";
|
|
18
|
+
import { FunctionalComponent, VNode } from "./stencil-public-runtime";
|
|
19
19
|
import { UseIndirectTaxFormResult } from "./components/tax-and-cash/sqm-indirect-tax-form/useIndirectTaxForm";
|
|
20
20
|
import { InputFieldViewProps } from "./components/sqm-input-field/sqm-input-field-view";
|
|
21
21
|
import { EmailRegistrationViewProps } from "./components/views/email-registration-view";
|
|
@@ -731,6 +731,11 @@ export namespace Components {
|
|
|
731
731
|
* @uiWidget textArea
|
|
732
732
|
*/
|
|
733
733
|
"emptyStateText": string;
|
|
734
|
+
/**
|
|
735
|
+
* @uiName Description
|
|
736
|
+
* @uiWidget textArea
|
|
737
|
+
*/
|
|
738
|
+
"supportText"?: string;
|
|
734
739
|
}
|
|
735
740
|
interface SqmFormMessage {
|
|
736
741
|
/**
|
|
@@ -1324,6 +1329,12 @@ export namespace Components {
|
|
|
1324
1329
|
* @uiWidgetOptions {"allowPastDates":true, "months": 1}
|
|
1325
1330
|
*/
|
|
1326
1331
|
"interval": string;
|
|
1332
|
+
/**
|
|
1333
|
+
* Hides the leaderboard if user is on Essentials plan
|
|
1334
|
+
* @uiName Hide viewing user
|
|
1335
|
+
* @default
|
|
1336
|
+
*/
|
|
1337
|
+
"isEssentials"?: boolean;
|
|
1327
1338
|
/**
|
|
1328
1339
|
* @uiName Leaderboard type
|
|
1329
1340
|
* @uiType string
|
|
@@ -1614,6 +1625,8 @@ export namespace Components {
|
|
|
1614
1625
|
/**
|
|
1615
1626
|
* Show Powered by Impact.com link
|
|
1616
1627
|
* @uiName Show powered by
|
|
1628
|
+
* @requiredFeatures ["CUSTOM_BRANDING"]
|
|
1629
|
+
* @featureTooltip <div>Integrate your brand identity further by removing impact.com’s branding from your widget. Contact <a href="mailto:saasquatch-support%40impact.com?subject=Next steps for Custom Branding feature&body=Hi Support Team, %0D%0A%0D%0A I am interested in learning more about how Custom Branding can support the growth of our referral program. Please connect me with a program strategy manager to discuss this feature further, and determine the next steps.%0D%0A%0D%0A%0D%0AThank you,%0D%0A[Add your name here]">Support</a> to upgrade your plan</div>
|
|
1617
1630
|
*/
|
|
1618
1631
|
"poweredBy": boolean;
|
|
1619
1632
|
/**
|
|
@@ -1818,6 +1831,8 @@ export namespace Components {
|
|
|
1818
1831
|
"faqText"?: string;
|
|
1819
1832
|
/**
|
|
1820
1833
|
* @uiName Hide powered by Impact.com
|
|
1834
|
+
* @requiredFeatures ["CUSTOM_BRANDING"]
|
|
1835
|
+
* @featureTooltip <div>Integrate your brand identity further by removing impact.com’s branding from your widget. Contact <a href="mailto:saasquatch-support%40impact.com?subject=Next steps for Custom Branding feature&body=Hi Support Team, %0D%0A%0D%0A I am interested in learning more about how Custom Branding can support the growth of our referral program. Please connect me with a program strategy manager to discuss this feature further, and determine the next steps.%0D%0A%0D%0A%0D%0AThank you,%0D%0A[Add your name here]">Support</a> to upgrade your plan</div>
|
|
1821
1836
|
*/
|
|
1822
1837
|
"hidePoweredBy": boolean;
|
|
1823
1838
|
/**
|
|
@@ -3101,6 +3116,7 @@ export namespace Components {
|
|
|
3101
3116
|
}
|
|
3102
3117
|
interface SqmRewardsTableSourceCell {
|
|
3103
3118
|
"anonymousUserText": string;
|
|
3119
|
+
"deletedReferralText": string;
|
|
3104
3120
|
"deletedUserText": string;
|
|
3105
3121
|
"locale": string;
|
|
3106
3122
|
"referralText": string;
|
|
@@ -4887,7 +4903,7 @@ export namespace Components {
|
|
|
4887
4903
|
* Text value shown when there is no label slot declared.
|
|
4888
4904
|
* @uiName Label
|
|
4889
4905
|
*/
|
|
4890
|
-
"label": string;
|
|
4906
|
+
"label": string | VNode;
|
|
4891
4907
|
/**
|
|
4892
4908
|
* Margin applied to the bottom of the label slot
|
|
4893
4909
|
* @uiName Label bottom margin
|
|
@@ -6525,6 +6541,11 @@ declare namespace LocalJSX {
|
|
|
6525
6541
|
* @uiWidget textArea
|
|
6526
6542
|
*/
|
|
6527
6543
|
"emptyStateText"?: string;
|
|
6544
|
+
/**
|
|
6545
|
+
* @uiName Description
|
|
6546
|
+
* @uiWidget textArea
|
|
6547
|
+
*/
|
|
6548
|
+
"supportText"?: string;
|
|
6528
6549
|
}
|
|
6529
6550
|
interface SqmFormMessage {
|
|
6530
6551
|
/**
|
|
@@ -7112,6 +7133,12 @@ declare namespace LocalJSX {
|
|
|
7112
7133
|
* @uiWidgetOptions {"allowPastDates":true, "months": 1}
|
|
7113
7134
|
*/
|
|
7114
7135
|
"interval"?: string;
|
|
7136
|
+
/**
|
|
7137
|
+
* Hides the leaderboard if user is on Essentials plan
|
|
7138
|
+
* @uiName Hide viewing user
|
|
7139
|
+
* @default
|
|
7140
|
+
*/
|
|
7141
|
+
"isEssentials"?: boolean;
|
|
7115
7142
|
/**
|
|
7116
7143
|
* @uiName Leaderboard type
|
|
7117
7144
|
* @uiType string
|
|
@@ -7402,6 +7429,8 @@ declare namespace LocalJSX {
|
|
|
7402
7429
|
/**
|
|
7403
7430
|
* Show Powered by Impact.com link
|
|
7404
7431
|
* @uiName Show powered by
|
|
7432
|
+
* @requiredFeatures ["CUSTOM_BRANDING"]
|
|
7433
|
+
* @featureTooltip <div>Integrate your brand identity further by removing impact.com’s branding from your widget. Contact <a href="mailto:saasquatch-support%40impact.com?subject=Next steps for Custom Branding feature&body=Hi Support Team, %0D%0A%0D%0A I am interested in learning more about how Custom Branding can support the growth of our referral program. Please connect me with a program strategy manager to discuss this feature further, and determine the next steps.%0D%0A%0D%0A%0D%0AThank you,%0D%0A[Add your name here]">Support</a> to upgrade your plan</div>
|
|
7405
7434
|
*/
|
|
7406
7435
|
"poweredBy"?: boolean;
|
|
7407
7436
|
/**
|
|
@@ -7606,6 +7635,8 @@ declare namespace LocalJSX {
|
|
|
7606
7635
|
"faqText"?: string;
|
|
7607
7636
|
/**
|
|
7608
7637
|
* @uiName Hide powered by Impact.com
|
|
7638
|
+
* @requiredFeatures ["CUSTOM_BRANDING"]
|
|
7639
|
+
* @featureTooltip <div>Integrate your brand identity further by removing impact.com’s branding from your widget. Contact <a href="mailto:saasquatch-support%40impact.com?subject=Next steps for Custom Branding feature&body=Hi Support Team, %0D%0A%0D%0A I am interested in learning more about how Custom Branding can support the growth of our referral program. Please connect me with a program strategy manager to discuss this feature further, and determine the next steps.%0D%0A%0D%0A%0D%0AThank you,%0D%0A[Add your name here]">Support</a> to upgrade your plan</div>
|
|
7609
7640
|
*/
|
|
7610
7641
|
"hidePoweredBy"?: boolean;
|
|
7611
7642
|
/**
|
|
@@ -8869,6 +8900,7 @@ declare namespace LocalJSX {
|
|
|
8869
8900
|
}
|
|
8870
8901
|
interface SqmRewardsTableSourceCell {
|
|
8871
8902
|
"anonymousUserText"?: string;
|
|
8903
|
+
"deletedReferralText"?: string;
|
|
8872
8904
|
"deletedUserText"?: string;
|
|
8873
8905
|
"locale"?: string;
|
|
8874
8906
|
"referralText"?: string;
|
|
@@ -10650,7 +10682,7 @@ declare namespace LocalJSX {
|
|
|
10650
10682
|
* Text value shown when there is no label slot declared.
|
|
10651
10683
|
* @uiName Label
|
|
10652
10684
|
*/
|
|
10653
|
-
"label"?: string;
|
|
10685
|
+
"label"?: string | VNode;
|
|
10654
10686
|
/**
|
|
10655
10687
|
* Margin applied to the bottom of the label slot
|
|
10656
10688
|
* @uiName Label bottom margin
|
package/docs/docs.docx
CHANGED
|
Binary file
|