@saasquatch/mint-components 1.10.2-12 → 1.10.2-14
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-f46aba53.js → ShadowViewAddon-36267ebd.js} +27 -20
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-banking-info-form_16.cjs.entry.js +57 -33
- package/dist/cjs/sqm-big-stat_38.cjs.entry.js +2 -14
- package/dist/cjs/sqm-empty_4.cjs.entry.js +8 -1
- package/dist/cjs/{sqm-portal-container-view-5fb2ad49.js → sqm-portal-container-view-990a85a3.js} +1 -1
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +15 -8
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +0 -6
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +26 -19
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +7 -22
- package/dist/collection/components/sqm-leaderboard/useLeaderboard.js +0 -1
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +12 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +37 -0
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +2 -1
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +55 -32
- package/dist/esm/{ShadowViewAddon-5895edd5.js → ShadowViewAddon-b311a206.js} +27 -20
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-banking-info-form_16.entry.js +57 -33
- package/dist/esm/sqm-big-stat_38.entry.js +2 -14
- package/dist/esm/sqm-empty_4.entry.js +8 -1
- package/dist/esm/{sqm-portal-container-view-ab89c6cc.js → sqm-portal-container-view-6c582684.js} +1 -1
- package/dist/esm/sqm-stencilbook.entry.js +15 -8
- package/dist/esm-es5/ShadowViewAddon-b311a206.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-banking-info-form_16.entry.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-portal-container-view-6c582684.js +1 -0
- 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-226245c7.system.entry.js +1 -0
- package/dist/mint-components/{p-b45ba369.entry.js → p-31e810e9.entry.js} +2 -2
- package/dist/mint-components/p-5de21018.system.entry.js +1 -0
- package/dist/mint-components/{p-1cc0f6ce.js → p-7b001086.js} +20 -20
- package/dist/mint-components/p-9f0629ba.system.entry.js +1 -0
- package/dist/mint-components/{p-7b1b45e9.entry.js → p-a9e7872a.entry.js} +9 -9
- package/dist/mint-components/{p-e704842c.js → p-c7fd9e16.js} +1 -1
- package/dist/mint-components/p-c8bbb9ca.system.entry.js +1 -0
- package/dist/mint-components/p-d70348d8.system.js +1 -0
- package/dist/mint-components/p-d8d2de11.entry.js +1 -0
- package/dist/mint-components/p-ed17e637.system.js +1 -1
- package/dist/mint-components/p-ed6ebd60.system.js +1 -0
- package/dist/mint-components/{p-c8af8c3b.entry.js → p-f1e256b6.entry.js} +2 -2
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard-view.d.ts +0 -1
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +6 -4
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +0 -1
- package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +7 -0
- package/dist/types/components.d.ts +16 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-5895edd5.js +0 -1
- package/dist/esm-es5/sqm-portal-container-view-ab89c6cc.js +0 -1
- package/dist/mint-components/p-1fe65a36.entry.js +0 -1
- package/dist/mint-components/p-34fd1229.system.entry.js +0 -1
- package/dist/mint-components/p-60b76175.system.js +0 -1
- package/dist/mint-components/p-922578e4.system.js +0 -1
- package/dist/mint-components/p-c12e0887.system.entry.js +0 -1
- package/dist/mint-components/p-c34a507e.system.entry.js +0 -1
- package/dist/mint-components/p-fc352a1b.system.entry.js +0 -1
- package/docs/picklesdoc--2024-01-15--11-20-00.xlsx +0 -0
- package/docs/picklesdoc--2024-01-15--11-24-04.xlsx +0 -0
|
@@ -5,10 +5,10 @@ import { LeaderboardViewProps } from "./sqm-leaderboard-view";
|
|
|
5
5
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
6
6
|
* @requiredFeatures ["LEADERBOARDS"]
|
|
7
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
|
-
* @example Anonymous Leaderboard - <div style="display: flex; align-items: flex-start; justify-content: center; width: 100%; gap: 50px;"><div style="display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; max-width: 30%;"><sqm-image width="70%" alignment="center" image-url="https://res.cloudinary.com/saasquatch-staging/image/upload/v1729728469/Leaderboard_image_z87lsm.png"></sqm-image><h2 style="margin: auto;">Top Performers</h2><p style="margin: 0;">The leaderboard highlights the top performers in real-time. Stay motivated, stay competitive!</p></div><sqm-leaderboard width="300px" usersheading="Referrer" statsheading="Referrals" rank-type="rank" leaderboard-type="topStartedReferrers" rankheading="Rank" show-rank="true" hide-names="true" hide-viewer="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></div>
|
|
8
|
+
* @example Referral Started Leaderboard - <sqm-leaderboard usersheading="Referrer" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" 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" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" 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" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" 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
|
+
* @example Anonymous Leaderboard - <div style="display: flex; align-items: flex-start; justify-content: center; width: 100%; gap: 50px;"><div style="display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; max-width: 30%;"><sqm-image width="70%" alignment="center" image-url="https://res.cloudinary.com/saasquatch-staging/image/upload/v1729728469/Leaderboard_image_z87lsm.png"></sqm-image><h2 style="margin: auto;">Top Performers</h2><p style="margin: 0; text-align: center;">The leaderboard highlights the top performers in real-time. Stay motivated, stay competitive!</p></div><sqm-leaderboard width="300px" usersheading="Referrer" rank-suffix="{rank, selectordinal, one {#st} two {#nd} few {#rd} other {#th}}" statsheading="Referrals" rank-type="rank" leaderboard-type="topStartedReferrers" rankheading="Rank" show-rank="true" hide-names="true" hide-viewer="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></div>
|
|
12
12
|
* @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>
|
|
13
13
|
*/
|
|
14
14
|
export declare class Leaderboard {
|
|
@@ -43,6 +43,8 @@ export declare class Leaderboard {
|
|
|
43
43
|
*/
|
|
44
44
|
width: string;
|
|
45
45
|
/**
|
|
46
|
+
* A JSONata string that formats the rank with the appropriate ordinal suffix (e.g., "st" for 1st, "nd" for 2nd, "rd" for 3rd, and "th" for all others).
|
|
47
|
+
*
|
|
46
48
|
* @uiName Rank Suffix
|
|
47
49
|
*/
|
|
48
50
|
rankSuffix: string;
|
|
@@ -16,6 +16,7 @@ export declare const FullWidth: () => any;
|
|
|
16
16
|
export declare const SpaceBetween: () => any;
|
|
17
17
|
export declare const SpaceAround: () => any;
|
|
18
18
|
export declare const SpaceEvenly: () => any;
|
|
19
|
+
export declare const ResponsiveBox: () => any;
|
|
19
20
|
export declare const Start: () => any;
|
|
20
21
|
export declare const Center: () => any;
|
|
21
22
|
export declare const End: () => any;
|
|
@@ -51,6 +51,13 @@ export declare class PortalContainer {
|
|
|
51
51
|
* @uiName Maximum width
|
|
52
52
|
*/
|
|
53
53
|
maxWidth?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @uiName Flex wrap behavior
|
|
56
|
+
* @uiType string
|
|
57
|
+
* @uiEnum ["wrap", "nowrap"]
|
|
58
|
+
* @uiEnumNames ["Wrap", "No Wrap"]
|
|
59
|
+
*/
|
|
60
|
+
flexWrap?: string;
|
|
54
61
|
/**
|
|
55
62
|
* @uiName Center content
|
|
56
63
|
*/
|
|
@@ -1368,6 +1368,7 @@ export namespace Components {
|
|
|
1368
1368
|
*/
|
|
1369
1369
|
"programId"?: string;
|
|
1370
1370
|
/**
|
|
1371
|
+
* A JSONata string that formats the rank with the appropriate ordinal suffix (e.g., "st" for 1st, "nd" for 2nd, "rd" for 3rd, and "th" for all others).
|
|
1371
1372
|
* @uiName Rank Suffix
|
|
1372
1373
|
*/
|
|
1373
1374
|
"rankSuffix": string;
|
|
@@ -1759,6 +1760,13 @@ export namespace Components {
|
|
|
1759
1760
|
* @uiEnumNames ["Grid", "Flex"]
|
|
1760
1761
|
*/
|
|
1761
1762
|
"display": "grid" | "flex";
|
|
1763
|
+
/**
|
|
1764
|
+
* @uiName Flex wrap behavior
|
|
1765
|
+
* @uiType string
|
|
1766
|
+
* @uiEnum ["wrap", "nowrap"]
|
|
1767
|
+
* @uiEnumNames ["Wrap", "No Wrap"]
|
|
1768
|
+
*/
|
|
1769
|
+
"flexWrap"?: string;
|
|
1762
1770
|
/**
|
|
1763
1771
|
* @uiName Gap
|
|
1764
1772
|
* @uiType string
|
|
@@ -7192,6 +7200,7 @@ declare namespace LocalJSX {
|
|
|
7192
7200
|
*/
|
|
7193
7201
|
"programId"?: string;
|
|
7194
7202
|
/**
|
|
7203
|
+
* A JSONata string that formats the rank with the appropriate ordinal suffix (e.g., "st" for 1st, "nd" for 2nd, "rd" for 3rd, and "th" for all others).
|
|
7195
7204
|
* @uiName Rank Suffix
|
|
7196
7205
|
*/
|
|
7197
7206
|
"rankSuffix"?: string;
|
|
@@ -7583,6 +7592,13 @@ declare namespace LocalJSX {
|
|
|
7583
7592
|
* @uiEnumNames ["Grid", "Flex"]
|
|
7584
7593
|
*/
|
|
7585
7594
|
"display"?: "grid" | "flex";
|
|
7595
|
+
/**
|
|
7596
|
+
* @uiName Flex wrap behavior
|
|
7597
|
+
* @uiType string
|
|
7598
|
+
* @uiEnum ["wrap", "nowrap"]
|
|
7599
|
+
* @uiEnumNames ["Wrap", "No Wrap"]
|
|
7600
|
+
*/
|
|
7601
|
+
"flexWrap"?: string;
|
|
7586
7602
|
/**
|
|
7587
7603
|
* @uiName Gap
|
|
7588
7604
|
* @uiType string
|
package/docs/docs.docx
CHANGED
|
Binary file
|