@saasquatch/mint-components 1.5.6-6 → 1.5.6-7

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.
Files changed (22) hide show
  1. package/dist/collection/components/sqm-empty/sqm-empty.js +1 -1
  2. package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -1
  3. package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +2 -2
  4. package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +1 -1
  5. package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -0
  6. package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -0
  7. package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -1
  8. package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
  9. package/dist/collection/components/sqm-timeline/sqm-timeline.js +1 -1
  10. package/dist/types/components/sqm-empty/sqm-empty.d.ts +1 -1
  11. package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +1 -1
  12. package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +2 -2
  13. package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +1 -1
  14. package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -0
  15. package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
  16. package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -1
  17. package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
  18. package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +1 -1
  19. package/docs/docs.docx +0 -0
  20. package/docs/raisins.json +1 -1
  21. package/grapesjs/grapesjs.js +1 -1
  22. package/package.json +1 -1
@@ -2,7 +2,7 @@ import { Component, h, Host, Prop } from "@stencil/core";
2
2
  import { EmptyStateView } from "./sqm-empty-view";
3
3
  /**
4
4
  * @uiName Empty State Content
5
- * @validParents ["sqm-referral-table","sqm-rewards-table","sqm-leaderboard", "sqm-reward-exchange-list"]
5
+ * @validParents ["sqm-referral-table","sqm-rewards-table","sqm-leaderboard","sqm-reward-exchange-list"]
6
6
  */
7
7
  export class HeroImage {
8
8
  render() {
@@ -7,7 +7,7 @@ import { LeaderboardView } from "./sqm-leaderboard-view";
7
7
  import { useLeaderboard } from "./useLeaderboard";
8
8
  /**
9
9
  * @uiName Leaderboard
10
- * @slot [{"name":"empty", "title":"Empty State"}]
10
+ * @slots [{"name":"empty", "title":"Empty State"}]
11
11
  * @exampleGroup Leaderboards
12
12
  * @example Referral Converted Leaderboard - <sqm-leaderboard usersheading="Referrer" statsheading="Referrals" rankheading="Rank" rank-type="rowNumber" leaderboard-type="topConvertedReferrers" show-rank anonymous-user="Anonymous User"> <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/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>
13
13
  * @example Referral Started Leaderboard - <sqm-leaderboard usersheading="Referrer" statsheading="Referrals" rankheading="Rank" rank-type="rowNumber" leaderboard-type="topStartedReferrers" show-rank anonymous-user="Anonymous User"> <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/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>
@@ -5,8 +5,8 @@ import { ProgramExplainerView } from "./sqm-program-explainer-view";
5
5
  /**
6
6
  * @uiName Program Explainer
7
7
  * @exampleGroup Common Components
8
- * @slot [{"name":"", "title":"Explainer", "validChildren":["sqm-program-explainer-step"]}]
9
- * @examples Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Complete tasks like uploading your first video or sharing videos with friends" header="Earn points" icon="cash-stack" text-color="#000000"></sqm-program-explainer-step><sqm-program-explainer-step description="Use your points and redeem rewards like one free month of Enterprise or a visa giftcard" header="Redeem rewards" icon="people" text-color="#000000"></sqm-program-explainer-step></sqm-program-explainer>
8
+ * @slots [{"name":"", "title":"Explainer", "validChildren":["sqm-program-explainer-step"]}]
9
+ * @example Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Complete tasks like uploading your first video or sharing videos with friends" header="Earn points" icon="cash-stack" text-color="#000000"></sqm-program-explainer-step><sqm-program-explainer-step description="Use your points and redeem rewards like one free month of Enterprise or a visa giftcard" header="Redeem rewards" icon="people" text-color="#000000"></sqm-program-explainer-step></sqm-program-explainer>
10
10
  */
11
11
  export class ProgramExplainer {
12
12
  constructor() {
@@ -5,7 +5,7 @@ import { ReferralCardView } from "./sqm-referral-card-view";
5
5
  /**
6
6
  * @uiName Referral Card
7
7
  * @exampleGroup Referrals
8
- * @slots [{"name":"left","title":"Left Content"},{"name":"right","title":"Right Content"}]
8
+ * @slots [{"name":"left", "title":"Left Content"},{"name":"right", "title":"Right Content"}]
9
9
  * @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>
10
10
  */
11
11
  export class ReferralCard {
@@ -11,6 +11,7 @@ import { tryMethod, useReferralTable } from "./useReferralTable";
11
11
  /**
12
12
  * @uiName Referral Table
13
13
  * @exampleGroup Referrals
14
+ * Dont forget about loading and empty slots
14
15
  * @slots [{"name":"", "title":"Table Row"}]
15
16
  */
16
17
  export class ReferralTable {
@@ -11,6 +11,7 @@ import { tryMethod, useRewardsTable } from "./useRewardsTable";
11
11
  /**
12
12
  * @uiName Reward Table
13
13
  * @exampleGroup Rewards
14
+ * Dont forget about loading and empty slots
14
15
  * @slots [{"name":"", "title":"Table Row"}]
15
16
  */
16
17
  export class RewardsTable {
@@ -3,7 +3,7 @@ import { Component, h, Prop, State } from "@stencil/core";
3
3
  import { useScroll } from "./useScroll";
4
4
  import { createStyleSheet } from "../../styling/JSS";
5
5
  /**
6
- * @uiName Scroll
6
+ * @uiName Scroll Button
7
7
  * @exampleGroup Common Components
8
8
  * @slots [{"name":"", "title":"Button Content"}]
9
9
  * @slotEditor richText
@@ -4,7 +4,7 @@ import { StatContainerView } from "./sqm-stat-container-view";
4
4
  import { getProps } from "../../utils/utils";
5
5
  /**
6
6
  * @uiName Stat Container
7
- * @slots [{"name":"","title":"Stats"}]
7
+ * @slots [{"name":"", "title":"Stats"}]
8
8
  * @exampleGroup Statistics
9
9
  * @example Container with Three Stats - <sqm-stat-container space="xxx-large" display="flex"><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global">Points Balance</sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global">Giftcards Earned</sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount">Referrals</sqm-big-stat></sqm-stat-container>
10
10
  */
@@ -5,7 +5,7 @@ import { useChildElements } from "../../tables/useChildElements";
5
5
  * @uiName Program Timeline
6
6
  * @slots [{"name":"","title":"Timeline","validChildren":["sqm-timeline-entry"]}]
7
7
  * @exampleGroup Common Components
8
- * @examples Program Timeline - <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" 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>
8
+ * @example Program Timeline - <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" 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>
9
9
  */
10
10
  export class Timeline {
11
11
  constructor() {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * @uiName Empty State Content
3
- * @validParents ["sqm-referral-table","sqm-rewards-table","sqm-leaderboard", "sqm-reward-exchange-list"]
3
+ * @validParents ["sqm-referral-table","sqm-rewards-table","sqm-leaderboard","sqm-reward-exchange-list"]
4
4
  */
5
5
  export declare class HeroImage {
6
6
  /**
@@ -2,7 +2,7 @@ import { DemoData } from "../../global/demo";
2
2
  import { LeaderboardViewProps } from "./sqm-leaderboard-view";
3
3
  /**
4
4
  * @uiName Leaderboard
5
- * @slot [{"name":"empty", "title":"Empty State"}]
5
+ * @slots [{"name":"empty", "title":"Empty State"}]
6
6
  * @exampleGroup Leaderboards
7
7
  * @example Referral Converted Leaderboard - <sqm-leaderboard usersheading="Referrer" statsheading="Referrals" rankheading="Rank" rank-type="rowNumber" leaderboard-type="topConvertedReferrers" show-rank anonymous-user="Anonymous User"> <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/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>
8
8
  * @example Referral Started Leaderboard - <sqm-leaderboard usersheading="Referrer" statsheading="Referrals" rankheading="Rank" rank-type="rowNumber" leaderboard-type="topStartedReferrers" show-rank anonymous-user="Anonymous User"> <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/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>
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * @uiName Program Explainer
3
3
  * @exampleGroup Common Components
4
- * @slot [{"name":"", "title":"Explainer", "validChildren":["sqm-program-explainer-step"]}]
5
- * @examples Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Complete tasks like uploading your first video or sharing videos with friends" header="Earn points" icon="cash-stack" text-color="#000000"></sqm-program-explainer-step><sqm-program-explainer-step description="Use your points and redeem rewards like one free month of Enterprise or a visa giftcard" header="Redeem rewards" icon="people" text-color="#000000"></sqm-program-explainer-step></sqm-program-explainer>
4
+ * @slots [{"name":"", "title":"Explainer", "validChildren":["sqm-program-explainer-step"]}]
5
+ * @example Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Complete tasks like uploading your first video or sharing videos with friends" header="Earn points" icon="cash-stack" text-color="#000000"></sqm-program-explainer-step><sqm-program-explainer-step description="Use your points and redeem rewards like one free month of Enterprise or a visa giftcard" header="Redeem rewards" icon="people" text-color="#000000"></sqm-program-explainer-step></sqm-program-explainer>
6
6
  */
7
7
  export declare class ProgramExplainer {
8
8
  ignored: boolean;
@@ -1,7 +1,7 @@
1
1
  /**
2
2
  * @uiName Referral Card
3
3
  * @exampleGroup Referrals
4
- * @slots [{"name":"left","title":"Left Content"},{"name":"right","title":"Right Content"}]
4
+ * @slots [{"name":"left", "title":"Left Content"},{"name":"right", "title":"Right Content"}]
5
5
  * @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>
6
6
  */
7
7
  export declare class ReferralCard {
@@ -3,6 +3,7 @@ import { GenericTableViewProps } from "../../tables/GenericTableView";
3
3
  /**
4
4
  * @uiName Referral Table
5
5
  * @exampleGroup Referrals
6
+ * Dont forget about loading and empty slots
6
7
  * @slots [{"name":"", "title":"Table Row"}]
7
8
  */
8
9
  export declare class ReferralTable {
@@ -3,6 +3,7 @@ import { GenericTableViewProps } from "../../tables/GenericTableView";
3
3
  /**
4
4
  * @uiName Reward Table
5
5
  * @exampleGroup Rewards
6
+ * Dont forget about loading and empty slots
6
7
  * @slots [{"name":"", "title":"Table Row"}]
7
8
  */
8
9
  export declare class RewardsTable {
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @uiName Scroll
2
+ * @uiName Scroll Button
3
3
  * @exampleGroup Common Components
4
4
  * @slots [{"name":"", "title":"Button Content"}]
5
5
  * @slotEditor richText
@@ -1,7 +1,7 @@
1
1
  import { Spacing } from "../../global/mixins";
2
2
  /**
3
3
  * @uiName Stat Container
4
- * @slots [{"name":"","title":"Stats"}]
4
+ * @slots [{"name":"", "title":"Stats"}]
5
5
  * @exampleGroup Statistics
6
6
  * @example Container with Three Stats - <sqm-stat-container space="xxx-large" display="flex"><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/rewardBalance/CREDIT/POINT/value/global">Points Balance</sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/integrationRewardsCountFiltered/AVAILABLE/global">Giftcards Earned</sqm-big-stat><sqm-big-stat flex-reverse="true" alignment="left" stat-type="/referralsCount">Referrals</sqm-big-stat></sqm-stat-container>
7
7
  */
@@ -2,7 +2,7 @@
2
2
  * @uiName Program Timeline
3
3
  * @slots [{"name":"","title":"Timeline","validChildren":["sqm-timeline-entry"]}]
4
4
  * @exampleGroup Common Components
5
- * @examples Program Timeline - <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" 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>
5
+ * @example Program Timeline - <sqm-timeline icon="circle"> <sqm-timeline-entry reward="$50" unit="visa giftcard" desc="You refer a friend" 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>
6
6
  */
7
7
  export declare class Timeline {
8
8
  ignored: boolean;
package/docs/docs.docx CHANGED
Binary file