@saasquatch/mint-components 1.15.0-1 → 1.15.0-3
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/collection/components/sqm-card-feed/sqm-card-feed.js +1 -1
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +1 -0
- package/dist/collection/components/sqm-divided-layout/sqm-divided-layout.js +2 -0
- package/dist/collection/components/sqm-header-logo/sqm-header-logo.js +1 -0
- package/dist/collection/components/sqm-hero/sqm-hero.js +1 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +1 -0
- package/dist/collection/components/sqm-image/sqm-image.js +1 -0
- package/dist/collection/components/sqm-instant-access-registration/sqm-instant-access-registration.js +1 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -0
- package/dist/collection/components/sqm-navigation-menu/sqm-navigation-menu.js +1 -0
- package/dist/collection/components/sqm-navigation-sidebar/sqm-navigation-sidebar.js +2 -0
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -0
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer.js +1 -0
- package/dist/collection/components/sqm-portal-login/sqm-portal-login.js +1 -0
- package/dist/collection/components/sqm-portal-logout/sqm-portal-logout.js +1 -0
- package/dist/collection/components/sqm-portal-profile/sqm-portal-profile.js +1 -0
- package/dist/collection/components/sqm-portal-protected-route/sqm-portal-protected-route.js +1 -0
- package/dist/collection/components/sqm-program-explainer/sqm-program-explainer.js +2 -0
- package/dist/collection/components/sqm-program-menu/sqm-program-menu.js +1 -0
- package/dist/collection/components/sqm-qr-code/sqm-qr-code.js +1 -0
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +3 -1
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +1 -0
- package/dist/collection/components/sqm-referral-codes/sqm-referral-codes.js +1 -0
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +2 -0
- package/dist/collection/components/sqm-referred-registration/sqm-referred-registration.js +1 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list.js +2 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +1 -0
- package/dist/collection/components/sqm-route/sqm-route.js +1 -0
- package/dist/collection/components/sqm-router/sqm-router.js +2 -0
- package/dist/collection/components/sqm-scroll/sqm-scroll.js +1 -0
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +1 -0
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +1 -0
- package/dist/collection/components/sqm-stat-container/sqm-stat-container.js +1 -1
- package/dist/collection/components/sqm-tabs/sqm-tabs.js +2 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +1 -0
- package/dist/collection/components/sqm-text/sqm-text.js +1 -0
- package/dist/collection/components/sqm-text-span/sqm-text-span.js +1 -0
- package/dist/collection/components/sqm-timeline/sqm-timeline.js +3 -1
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +2 -0
- package/dist/types/components/sqm-card-feed/sqm-card-feed.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +1 -0
- package/dist/types/components/sqm-divided-layout/sqm-divided-layout.d.ts +2 -0
- package/dist/types/components/sqm-header-logo/sqm-header-logo.d.ts +1 -0
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -0
- package/dist/types/components/sqm-image/sqm-image.d.ts +1 -0
- package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts +1 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +1 -0
- package/dist/types/components/sqm-navigation-menu/sqm-navigation-menu.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar/sqm-navigation-sidebar.d.ts +2 -0
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password.d.ts +1 -0
- package/dist/types/components/sqm-portal-footer/sqm-portal-footer.d.ts +1 -0
- package/dist/types/components/sqm-portal-login/sqm-portal-login.d.ts +1 -0
- package/dist/types/components/sqm-portal-logout/sqm-portal-logout.d.ts +1 -0
- package/dist/types/components/sqm-portal-profile/sqm-portal-profile.d.ts +1 -0
- package/dist/types/components/sqm-portal-protected-route/sqm-portal-protected-route.d.ts +1 -0
- package/dist/types/components/sqm-program-explainer/sqm-program-explainer.d.ts +2 -0
- package/dist/types/components/sqm-program-menu/sqm-program-menu.d.ts +1 -0
- package/dist/types/components/sqm-qr-code/sqm-qr-code.d.ts +1 -0
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +3 -1
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +1 -0
- package/dist/types/components/sqm-referral-codes/sqm-referral-codes.d.ts +1 -0
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -0
- package/dist/types/components/sqm-referred-registration/sqm-referred-registration.d.ts +1 -0
- package/dist/types/components/sqm-reward-exchange-list/sqm-reward-exchange-list.d.ts +2 -0
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +1 -0
- package/dist/types/components/sqm-route/sqm-route.d.ts +1 -0
- package/dist/types/components/sqm-router/sqm-router.d.ts +2 -0
- package/dist/types/components/sqm-scroll/sqm-scroll.d.ts +1 -0
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +1 -0
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +1 -0
- package/dist/types/components/sqm-stat-container/sqm-stat-container.d.ts +1 -1
- package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +2 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +1 -0
- package/dist/types/components/sqm-text/sqm-text.d.ts +1 -0
- package/dist/types/components/sqm-text-span/sqm-text-span.d.ts +1 -0
- package/dist/types/components/sqm-timeline/sqm-timeline.d.ts +3 -1
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +2 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/package.json +1 -1
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { QRCodeViewProps } from "./sqm-qr-code-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName QR Code
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand", "sqb-program-section", "sqb-conditional-section"]
|
|
5
6
|
* @exampleGroup Sharing
|
|
6
7
|
* @example QR Code - <sqm-qr-code></sqm-qr-code>
|
|
7
8
|
*/
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Referral Card
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
4
|
+
* @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"]
|
|
3
5
|
* @exampleGroup Referrals
|
|
4
6
|
* @slots [{"name":"left", "title":"Left Content"},{"name":"right", "title":"Right Content"},{"name":"header", "title":"Header Content"},{"name":"footer", "title":"Footer Content"}]
|
|
5
7
|
* @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
|
-
*/
|
|
8
|
+
* */
|
|
7
9
|
export declare class ReferralCard {
|
|
8
10
|
ignored: boolean;
|
|
9
11
|
/**
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { CopyTextViewProps } from "../views/copy-text-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Referral Code
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span"]
|
|
5
6
|
* @exampleGroup Sharing
|
|
6
7
|
* @example Referral Code - <sqm-referral-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" show-notification-text="true"></sqm-referral-code>
|
|
7
8
|
*/
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { ReferralCodesViewProps } from "./sqm-referral-codes-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Promo Codes
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span","sqb-program-section","sqb-conditional-section"]
|
|
5
6
|
* @slots [{"name":"", "title":"Promo Codes Content"}]
|
|
6
7
|
* @exampleGroup Sharing
|
|
7
8
|
* @example Promo Codes - <sqm-referral-codes><sqm-pagination slot="pagination"></sqm-pagination><sqm-referral-code slot="shareCodes" show-notification-text="true"></sqm-referral-code><sqm-portal-container gap="small" slot="shareButtons"><sqm-share-button medium="email">Share via email</sqm-share-button><sqm-share-button medium="fbmessenger">Share on Facebook</sqm-share-button><sqm-share-button medium="whatsapp">Share on WhatsApp</sqm-share-button></sqm-portal-container></sqm-referral-codes>
|
|
@@ -2,6 +2,8 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { GenericTableViewProps } from "../../tables/GenericTableView";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Referral Table
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
6
|
+
* @validChildren ["sqm-referral-table-column","sqm-referral-table-date-column","sqm-referral-table-rewards-column","sqm-referral-table-status-column","sqm-referral-table-user-column","sqm-empty"]
|
|
5
7
|
* @exampleGroup Referrals
|
|
6
8
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
7
9
|
* @example Referral Table - <sqm-referral-table per-page="4" hidden-columns="2" more-label="Next" prev-label="Prev" sm-breakpoint="599" md-breakpoint="799" > <sqm-referral-table-user-column column-title="Customer" anonymous-user="Anonymous User" deleted-user="Deleted User" ></sqm-referral-table-user-column> <sqm-referral-table-rewards-column column-title="Rewards" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_FAILED {Payout Failed} PAYOUT_CANCELLED {Payout Cancelled} PENDING_TAX_REVIEW {Pending} PENDING_NEW_TAX_FORM {Pending} PENDING_TAX_SUBMISSION {Pending} PENDING_PARTNER_CREATION {Pending} DENIED {Denied} EXPIRED {Expired} REDEEMED {Redeemed} other {Not available} }" status-long-text="{status, select, AVAILABLE {Reward expiring on} CANCELLED {Reward cancelled on} PENDING {Available on} PENDING_REVIEW {Pending since} PAYOUT_APPROVED {Reward approved for payout and was scheduled for payment based on your settings.} PAYOUT_FAILED {Payout failed due to a fulfillment issue and is currently being retried.} PAYOUT_CANCELLED {If you think this is a mistake, contact our Support team.} PENDING_TAX_REVIEW {Awaiting tax form review} PENDING_NEW_TAX_FORM {Invalid tax form. Submit a new form to receive your rewards.} PENDING_TAX_SUBMISSION {Submit your tax documents to receive your rewards} PENDING_PARTNER_CREATION {Complete your tax and cash payout setup to receive your rewards} DENIED {Denied on} EXPIRED {Reward expired on} other {Not available} }" fuel-tank-text="Your code is" reward-received-text="Reward received on" expiring-text="Expiring in" pending-for-text="{status} for {date}" denied-help-text="Contact support if you think this is a mistake." ></sqm-referral-table-rewards-column> <sqm-referral-table-date-column column-title="Date converted" date-shown="dateConverted" ></sqm-referral-table-date-column> <sqm-referral-table-status-column column-title="Status" converted-status-text="Converted" in-progress-status-text="In Progress" pending-review-status-text="Pending" denied-status-text="Denied" pending-review-status-sub-text="Awaiting review" denied-status-sub-text="Detected self-referral" ></sqm-referral-table-status-column> <sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644000223/squatch-assets/empty_referral2.png" empty-state-header="View your referral details" empty-state-text="Refer a friend to view the status of your referrals and rewards earned" slot="empty" ></sqm-empty> </sqm-referral-table>
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { EmailRegistrationViewProps } from "../views/email-registration-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Instant Access Friend Registration
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqb-program-section","sqb-conditional-section"]
|
|
5
6
|
* @compatibility Built for instant access
|
|
6
7
|
* @exampleGroup Instant Access
|
|
7
8
|
* @example Instant Access Friend Registration - <sqm-referred-registration></sqm-referred-registration>
|
|
@@ -2,6 +2,8 @@ import { RewardExchangeViewProps } from "./sqm-reward-exchange-list-view";
|
|
|
2
2
|
import { DemoData } from "../../global/demo";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Reward Exchange
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
6
|
+
* @validChildren ["sqm-empty"]
|
|
5
7
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
6
8
|
* @exampleGroup Rewards
|
|
7
9
|
* @example Reward Exchange - <sqm-reward-exchange-list not-available-error="{unavailableReasonCode, select, US_TAX {US Tax limit} INSUFFICIENT_REDEEMABLE_CREDIT {{sourceValue} required} AVAILABILITY_PREDICATE {Not available} other {{unavailableReasonCode}} }" choose-reward-title="Rewards" choose-amount-title="Select" confirmation-title="Confirm" reward-title="Choose a reward" cancel-text="Cancel" back-text="Back" continue-text="Continue" continue-to-confirmation-text="Continue to confirmation" redeem-text="Redeem" redeem-title="Confirm and redeem" redemption-success-text="Redeemed {sourceValue} for {destinationValue}" source-amount-message="{ruleType, select, FIXED_GLOBAL_REWARD {{sourceValue}} other {{sourceMinValue} to {sourceMaxValue}}}" tooltip-text="Copied" done-text="Done" select-text="Select amount to receive" query-error="Unable to load reward exchange list. Please try again" redemption-error="An error occured trying to redeem this reward. Please try again" not-enough-error="Not enough {sourceUnit} to redeem for this reward" reward-redeemed-text="Reward redeemed" promo-code="Promo Code" skeleton-card-num=8 reward-name-title="Reward" reward-amount-title="Reward Amount" cost-title="Cost to Redeem"><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_exchange2.png" empty-state-header="Redeem rewards" empty-state-text="Use your points to redeem rewards once they become available" slot="empty"></sqm-empty></sqm-reward-exchange-list>
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { GenericTableViewProps } from "../../tables/GenericTableView";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Reward Table
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
5
6
|
* @exampleGroup Rewards
|
|
6
7
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
7
8
|
* @example Reward Table - <sqm-rewards-table per-page="4" prev-label="Prev" more-label="Next" hidden-columns="0" sm-breakpoint="599" md-breakpoint="799" ><sqm-rewards-table-status-column column-title="Status" status-text="{status, select, AVAILABLE {Available} CANCELLED {Cancelled} PENDING {Pending} PENDING_REVIEW {Pending} PAYOUT_APPROVED {Payout Approved} PAYOUT_CANCELLED {Payout Cancelled} PAYOUT_FAILED {Payout Failed} EXPIRED {Expired} REDEEMED {Redeemed} DENIED {Denied} other {Not available} }" expiry-text="Expires on " pending-us-tax="W-9 required" pending-scheduled="Until" pending-unhandled="Fulfillment error" pending-review-text="Awaiting review" denied-text="Detected self-referral" pending-tax-review="Awaiting tax form review." pending-new-tax-form="Invalid tax form. Submit a new form to receive your rewards." pending-tax-submission="Submit your tax documents to receive your rewards." pending-partner-creation="Complete your tax and cash payout setup to receive your rewards." payout-failed="Payout failed due to a fulfillment issue and is current being retried." payout-cancelled="If you think this is a mistake, contact our Support team." payout-approved="Reward approved for payout and was scheduled for payment based on your settings." ></sqm-rewards-table-status-column> <sqm-rewards-table-source-column column-title="Source" anonymous-user="Anonymous User" deleted-user="Deleted User" reward-exchange-text="Reward Exchange" referral-rext="{rewardSource, select, FRIEND_SIGNUP {Referral to} REFERRED {Referred by} other {}}" reward-source-text="{rewardSource, select, MANUAL {Manual} AUTOMATED {{programName}} other {}}" ></sqm-rewards-table-source-column ><sqm-rewards-table-reward-column column-title="Reward" redeemed-text="{redeemedAmount} redeemed" available-text="{availableAmount} remaining" copy-text="Copied!" ></sqm-rewards-table-reward-column ><sqm-rewards-table-date-column column-title="Date received" date-shown="dateGiven" ></sqm-rewards-table-date-column ><sqm-rewards-table-customer-note-column column-title="Note" ></sqm-rewards-table-customer-note-column ><sqm-empty slot="empty" empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1644360953/squatch-assets/empty_reward2.png" empty-state-header="View your rewards" empty-state-text="Complete program tasks to view the details of your rewards" ></sqm-empty ></sqm-rewards-table>
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Router
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab", "sqb-program-section", "sqb-conditional-section"]
|
|
4
|
+
* @validChildren ["sqm-route"]
|
|
3
5
|
* @slots [{"name":"","title":"Routes"}]
|
|
4
6
|
*/
|
|
5
7
|
export declare class SqmRouter {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Scroll Button
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
3
4
|
* @slots [{"name":"", "title":"Button Content"}]
|
|
4
5
|
* @slotEditor richText
|
|
5
6
|
*/
|
|
@@ -2,6 +2,7 @@ import { ShareButtonViewProps } from "./sqm-share-button-view";
|
|
|
2
2
|
import { DemoData } from "../../global/demo";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Share Button
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqb-program-section","sqb-conditional-section"]
|
|
5
6
|
* @slots [{"name":"", "title":"Button Content"}]
|
|
6
7
|
* @slotEditor richText
|
|
7
8
|
* @uiOrder ["medium", "program-id", "*", "pill", "disabled", "hideicon"]
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { CopyTextViewProps } from "../views/copy-text-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Share Code
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
5
6
|
* @exampleGroup Sharing
|
|
6
7
|
* @example Share Code - <sqm-share-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-code>
|
|
7
8
|
*/
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Spacing } from "../../global/mixins";
|
|
2
2
|
/**
|
|
3
3
|
* @uiName Stat Container
|
|
4
|
-
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero"]
|
|
4
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero", "sqb-program-section", "sqb-conditional-section"]
|
|
5
5
|
* @validChildren ["sqm-big-stat"]
|
|
6
6
|
* @slots [{"name":"", "title":"Stats"}]
|
|
7
7
|
* @exampleGroup Statistics
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Tab Group
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
4
|
+
* @validChildren ["sqm-tab"]
|
|
3
5
|
* @slots [{"name":"", "title":"Tabs","validChildren":["sqm-tab"]}]
|
|
4
6
|
* @exampleGroup Layout
|
|
5
7
|
* @canvasRenderer always-replace
|
|
@@ -4,6 +4,7 @@ import { TaskCardViewProps } from "./sqm-task-card-view";
|
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Task Card
|
|
6
6
|
* @uiOrder ["reward-amount", "reward-unit", "card-title", "description", "repeatable", "finite", "show-progress-bar", "stat-type", "progress-source", "goal", "steps", "progress-bar-unit", "show-expiry", "reward-duration", "button-text", "button-link", "open-new-tab", "ended-message", "expiry-message", "starts-on-message", "event-key", "*"]
|
|
7
|
+
* @validParents ["sqm-card-feed"]
|
|
7
8
|
* @exampleGroup Rewards
|
|
8
9
|
* @example One Time Task Card - <sqm-task-card reward-amount="1" reward-unit="Free Month" goal="1" card-title="Upgrade Your Plan" description="Receive one free month for being a committed customer when you upgrade your plan." button-text="Upgrade" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" open-new-tab="false" finite="0" starts-on-message="Starts {startDate}"></sqm-task-card>
|
|
9
10
|
* @example Repeatable Task Card - <sqm-task-card reward-amount="250" goal="500" show-progress-bar card-title="Spend $500" description="Earn 250 points when you spend $500 or more." button-text="See plans" completed-text="Completed {finite, select, 0 {{count, plural, =1 {{count} time} other {{count} times}}} other {{count}/{finite} times}}" ended-message="Ended {endDate}" expiry-message="Ends {endDate}" progress-bar-unit="$" finite="0" repeatable="" reward-unit="Points" starts-on-message="Starts {startDate}"></sqm-task-card>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Text
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-big-stat","span","sqm-text-span","sqb-program-section","sqb-conditional-section"]
|
|
3
4
|
* @slots [{"name":"", "title":"Text"}]
|
|
4
5
|
* @slotEditor richText
|
|
5
6
|
* @canvasRenderer always-replace
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Text Span
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-big-stat","span","sqm-text-span","sqb-program-section","sqb-conditional-section"]
|
|
3
4
|
* @canvasRenderer always-replace
|
|
4
5
|
*/
|
|
5
6
|
export declare class Text {
|
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Program Timeline
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
4
|
+
* @validChildren ["sqm-timeline-entry"]
|
|
3
5
|
* @slots [{"name":"","title":"Timeline","validChildren":["sqm-timeline-entry"]}]
|
|
4
6
|
* @exampleGroup Common Components
|
|
5
7
|
* @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
|
-
*/
|
|
8
|
+
*/
|
|
7
9
|
export declare class Timeline {
|
|
8
10
|
ignored: boolean;
|
|
9
11
|
/**
|
|
@@ -2,6 +2,8 @@ import { VNode } from "../../stencil-public-runtime";
|
|
|
2
2
|
import { Spacing } from "../../global/mixins";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Titled Section
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab"]
|
|
6
|
+
* @validChildren ["div","sqm-portal-container","p","sqm-timeline","h1","h2","h3","h5","h4","sqm-qr-code","sqm-referral-code","sqm-referral-codes","sqm-share-code","sqm-share-link","sqm-text","span"]
|
|
5
7
|
* @slots [{"name":"label", "title":"Label"},{"name":"content", "title":"Content"}]
|
|
6
8
|
* @exampleGroup Layout
|
|
7
9
|
* @example Titled Section - <sqm-titled-section text-align="center" label-margin="small" padding="none"><div slot="label"><h2>Section Label</h2></div><div slot="content"><p>Add your section content here!</p></div></sqm-titled-section>
|
package/docs/docs.docx
CHANGED
|
Binary file
|