@saasquatch/mint-components 1.15.0-2 → 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-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-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
|
@@ -5,7 +5,7 @@ import { CardFeedView } from "./sqm-card-feed-view";
|
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Card Feed
|
|
7
7
|
* @slots [{"name":"","title":"Cards"}]
|
|
8
|
-
* @validParents ["sqm-brand","sqm-portal-container", "sqm-popup-container
|
|
8
|
+
* @validParents ["sqm-brand","sqm-portal-container", "sqm-popup-container", "sqm-titled-section", "div", "sqm-divided-layout", "template", "sqb-program-section", "sqb-conditional-section"]
|
|
9
9
|
* @validChildren ["sqm-task-card"]
|
|
10
10
|
* @exampleGroup Rewards
|
|
11
11
|
* @example Task Card Feed - <sqm-card-feed gap="24" width="347"> <sqm-task-card reward-amount="20" goal="1" card-title="Complete a Survey" description="Fill out our NPS survey and get 20 points for giving us honest feedback." button-text="Take survey" reward-unit="Points" 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}" finite="0" starts-on-message="Starts {startDate}" > </sqm-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" reward-unit="Points" starts-on-message="Starts {startDate}" > </sqm-task-card> <sqm-task-card goal="1" reward-amount="50" card-title="Follow Us on X" description="Earn 50 points when you Follow Us on X!" button-text="Follow" button-link="https://twitter.com/" open-new-tab="true" event-key="socialFollow" 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}" finite="0" reward-unit="Points" starts-on-message="Starts {startDate}" > </sqm-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> </sqm-card-feed>
|
|
@@ -7,6 +7,7 @@ import { CouponCodeView } from "./sqm-coupon-code-view";
|
|
|
7
7
|
import { useCouponCode } from "./useCouponCode";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Coupon Code
|
|
10
|
+
* @validParents ["sqm-brand","sqm-portal-container","div","sqm-popup-container","sqm-hero","sqm-referral-card","sqm-titled-section", "sqb-program-section", "sqb-conditional-section"]
|
|
10
11
|
* @compatibility Built for instant access
|
|
11
12
|
* @exampleGroup Instant Access
|
|
12
13
|
* @example Coupon Code - <sqm-coupon-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-coupon-code>
|
|
@@ -7,6 +7,8 @@ import { getProps } from "../../utils/utils";
|
|
|
7
7
|
* Spacing is left up to the child
|
|
8
8
|
*
|
|
9
9
|
* @uiName Divided Layout
|
|
10
|
+
* @validParents ["sqm-brand","sqm-portal-container","div","sqm-popup-container","sqm-hero","sqm-referral-card","sqm-titled-section","sqb-program-section","sqb-conditional-section"]
|
|
11
|
+
* @exampleGroup Layout
|
|
10
12
|
* @slots [{"name":"", "title":"Layout Content"}]
|
|
11
13
|
*/
|
|
12
14
|
export class DividedLayout {
|
|
@@ -4,6 +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
8
|
* @slots [{"name":"","title":"Primary Column Content"},{"name":"secondary-column","title":"Secondary Column Content"}]
|
|
8
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>
|
|
9
10
|
* @exampleGroup Layout
|
|
@@ -4,6 +4,7 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { HeroImageView } from "./sqm-hero-image-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Hero Image
|
|
7
|
+
* @validParents ["sqm-portal-container","sqm-brand", "div"]
|
|
7
8
|
* @exampleGroup Common Components
|
|
8
9
|
* @example Two Column Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="columns" image-pos="right" background-color="#F9F9F9"></sqm-hero-image>
|
|
9
10
|
* @example Overlay Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="overlay" image-pos="center" background-color="#F9F9F9" button-link="https://www.example.com" button-new-tab button-text="Earn!" image-percentage="45" overlay-opacity=".5" padding-image="small" padding-text="xxxx-large"></sqm-hero-image>
|
|
@@ -3,6 +3,7 @@ import { getProps } from "../../utils/utils";
|
|
|
3
3
|
import { ImageView } from "./sqm-image-view";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Image
|
|
6
|
+
* @validParents ["sqm-brand","div","sqm-portal-container","sqm-divided-layout","sqm-titled-section", "sqb-program-section", "sqb-conditional-section"]
|
|
6
7
|
* @exampleGroup Common Components
|
|
7
8
|
* @example Image - <sqm-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png" alignment="center"></sqm-image>
|
|
8
9
|
*/
|
|
@@ -6,6 +6,7 @@ import { EmailRegistrationView, } from "../views/email-registration-view";
|
|
|
6
6
|
import { useInstantAccessRegistration } from "./useInstantAccessRegistration";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Instant Access Registration
|
|
9
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","template", "sqb-program-section", "sqb-conditional-section"]
|
|
9
10
|
* @compatibility Built for instant access
|
|
10
11
|
* @exampleGroup Instant Access
|
|
11
12
|
* @example Instant Access Registration - <sqm-instant-access-registration></sqm-instant-access-registration>
|
|
@@ -7,6 +7,7 @@ import { LeaderboardView } from "./sqm-leaderboard-view";
|
|
|
7
7
|
import { useLeaderboard } from "./useLeaderboard";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Leaderboard
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqm-brand","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
11
12
|
* @requiredFeatures ["LEADERBOARDS"]
|
|
12
13
|
* @exampleGroup Leaderboard
|
|
@@ -5,6 +5,8 @@ import { Component, h, State } from "@stencil/core";
|
|
|
5
5
|
import { NavigationSidebarView } from "./sqm-navigation-sidebar-view";
|
|
6
6
|
/**
|
|
7
7
|
* @uiName Microsite Sidebar
|
|
8
|
+
* @validParents ["div","sqm-divided-layout","template","sqm-portal-container","sqm-brand"]
|
|
9
|
+
* @validChildren ["sqm-navigation-sidebar-item"]
|
|
8
10
|
* @slots [{"name":"", "title":"Sidebar Content"}]
|
|
9
11
|
*/
|
|
10
12
|
export class NavigationSidebar {
|
|
@@ -7,6 +7,7 @@ import deepmerge from "deepmerge";
|
|
|
7
7
|
import { useState } from "@saasquatch/universal-hooks";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Password Change
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand"]
|
|
10
11
|
*/
|
|
11
12
|
export class PortalChangePassword {
|
|
12
13
|
constructor() {
|
|
@@ -7,6 +7,7 @@ import { usePortalLogin } from "./usePortalLogin";
|
|
|
7
7
|
import { createStyleSheet } from "../../styling/JSS";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Login
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand", "template"]
|
|
10
11
|
*/
|
|
11
12
|
export class PortalLogin {
|
|
12
13
|
constructor() {
|
|
@@ -4,6 +4,7 @@ import { Component, Prop, State } from "@stencil/core";
|
|
|
4
4
|
import { usePortalLogout } from "./usePortalLogout";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Microsite Logout
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template"]
|
|
7
8
|
* @compatibility Built for instant access
|
|
8
9
|
*/
|
|
9
10
|
export class PortalLogout {
|
|
@@ -7,6 +7,7 @@ import { isDemo } from "@saasquatch/component-boilerplate";
|
|
|
7
7
|
import deepmerge from "deepmerge";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Microsite Participant Profile
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template"]
|
|
10
11
|
*/
|
|
11
12
|
export class PortalProfile {
|
|
12
13
|
constructor() {
|
|
@@ -4,6 +4,7 @@ import { h, Component, Prop, State, Host } from "@stencil/core";
|
|
|
4
4
|
import { usePortalProtectedRoute } from "./usePortalProtectedRoute";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Microsite Protected Route
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template", "sqb-program-section", "sqb-conditional-section"]
|
|
7
8
|
* @slots [{"name":"","title":"Route Content"}]
|
|
8
9
|
*/
|
|
9
10
|
export class PortalProtectedRoute {
|
|
@@ -4,6 +4,8 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { ProgramExplainerView } from "./sqm-program-explainer-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Program Explainer
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
8
|
+
* @validChildren ["sqm-program-explainer-step"]
|
|
7
9
|
* @exampleGroup Common Components
|
|
8
10
|
* @slots [{"name":"", "title":"Explainer", "validChildren":["sqm-program-explainer-step"]}]
|
|
9
11
|
* @example Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Explore and use our product while earning points in the process!" 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,6 +4,7 @@ import { useProgramMenu } from "./useProgramMenu";
|
|
|
4
4
|
import { getProps } from "../../utils/utils";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Microsite Program Menu
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template"]
|
|
7
8
|
* @slots [{"name":"","title":"Menu Content"}]
|
|
8
9
|
* @canvasRenderer always-replace
|
|
9
10
|
*/
|
|
@@ -7,6 +7,7 @@ import { QrCodeView } from "./sqm-qr-code-view";
|
|
|
7
7
|
import { useQRCode } from "./useQRCode";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName QR Code
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand", "sqb-program-section", "sqb-conditional-section"]
|
|
10
11
|
* @exampleGroup Sharing
|
|
11
12
|
* @example QR Code - <sqm-qr-code></sqm-qr-code>
|
|
12
13
|
*/
|
|
@@ -5,10 +5,12 @@ 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
10
|
* @exampleGroup Referrals
|
|
9
11
|
* @slots [{"name":"left", "title":"Left Content"},{"name":"right", "title":"Right Content"},{"name":"header", "title":"Header Content"},{"name":"footer", "title":"Footer Content"}]
|
|
10
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>
|
|
11
|
-
*/
|
|
13
|
+
* */
|
|
12
14
|
export class ReferralCard {
|
|
13
15
|
constructor() {
|
|
14
16
|
this.ignored = true;
|
|
@@ -7,6 +7,7 @@ import { CopyTextView } from "../views/copy-text-view";
|
|
|
7
7
|
import { useReferralCode } from "./useReferralCode";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Referral Code
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span"]
|
|
10
11
|
* @exampleGroup Sharing
|
|
11
12
|
* @example Referral Code - <sqm-referral-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000" show-notification-text="true"></sqm-referral-code>
|
|
12
13
|
*/
|
|
@@ -7,6 +7,7 @@ import { ReferralCodesView, } from "./sqm-referral-codes-view";
|
|
|
7
7
|
import { useReferralCodes } from "./useReferralCodes";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Promo Codes
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @slots [{"name":"", "title":"Promo Codes Content"}]
|
|
11
12
|
* @exampleGroup Sharing
|
|
12
13
|
* @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>
|
|
@@ -10,6 +10,8 @@ import mockReferralData from "./mockReferralData";
|
|
|
10
10
|
import { tryMethod, useReferralTable } from "./useReferralTable";
|
|
11
11
|
/**
|
|
12
12
|
* @uiName Referral Table
|
|
13
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-referral-card","span","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
14
|
+
* @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"]
|
|
13
15
|
* @exampleGroup Referrals
|
|
14
16
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
15
17
|
* @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>
|
|
@@ -6,6 +6,7 @@ import { useInstantAccessRegistration } from "../sqm-instant-access-registration
|
|
|
6
6
|
import { EmailRegistrationView, } from "../views/email-registration-view";
|
|
7
7
|
/**
|
|
8
8
|
* @uiName Instant Access Friend Registration
|
|
9
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqb-program-section","sqb-conditional-section"]
|
|
9
10
|
* @compatibility Built for instant access
|
|
10
11
|
* @exampleGroup Instant Access
|
|
11
12
|
* @example Instant Access Friend Registration - <sqm-referred-registration></sqm-referred-registration>
|
|
@@ -8,6 +8,8 @@ import { getProps } from "../../utils/utils";
|
|
|
8
8
|
import { demoRewardExchange } from "./RewardExchangeListData";
|
|
9
9
|
/**
|
|
10
10
|
* @uiName Reward Exchange
|
|
11
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
12
|
+
* @validChildren ["sqm-empty"]
|
|
11
13
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
12
14
|
* @exampleGroup Rewards
|
|
13
15
|
* @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>
|
|
@@ -10,6 +10,7 @@ import mockRewardData from "./mockRewardData";
|
|
|
10
10
|
import { tryMethod, useRewardsTable } from "./useRewardsTable";
|
|
11
11
|
/**
|
|
12
12
|
* @uiName Reward Table
|
|
13
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
13
14
|
* @exampleGroup Rewards
|
|
14
15
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
15
16
|
* @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,6 +1,7 @@
|
|
|
1
1
|
import { h, Component, State, Prop, Host } from "@stencil/core";
|
|
2
2
|
/**
|
|
3
3
|
* @uiName Route
|
|
4
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab"]
|
|
4
5
|
* @slots [{"name":"","title":"Content"}]
|
|
5
6
|
*/
|
|
6
7
|
export class SqmRoute {
|
|
@@ -3,6 +3,8 @@ import { withHooks } from "@saasquatch/stencil-hooks";
|
|
|
3
3
|
import { useRouter } from "./useRouter";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Router
|
|
6
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab", "sqb-program-section", "sqb-conditional-section"]
|
|
7
|
+
* @validChildren ["sqm-route"]
|
|
6
8
|
* @slots [{"name":"","title":"Routes"}]
|
|
7
9
|
*/
|
|
8
10
|
export class SqmRouter {
|
|
@@ -4,6 +4,7 @@ import { useScroll } from "./useScroll";
|
|
|
4
4
|
import { createStyleSheet } from "../../styling/JSS";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Scroll Button
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
7
8
|
* @slots [{"name":"", "title":"Button Content"}]
|
|
8
9
|
* @slotEditor richText
|
|
9
10
|
*/
|
|
@@ -7,6 +7,7 @@ import { getProps } from "../../utils/utils";
|
|
|
7
7
|
import deepmerge from "deepmerge";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Share Button
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @slots [{"name":"", "title":"Button Content"}]
|
|
11
12
|
* @slotEditor richText
|
|
12
13
|
* @uiOrder ["medium", "program-id", "*", "pill", "disabled", "hideicon"]
|
|
@@ -7,6 +7,7 @@ import { CopyTextView } from "../views/copy-text-view";
|
|
|
7
7
|
import { useShareCode } from "./useShareCode";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Share Code
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @exampleGroup Sharing
|
|
11
12
|
* @example Share Code - <sqm-share-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-code>
|
|
12
13
|
*/
|
|
@@ -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
|
-
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero"]
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero", "sqb-program-section", "sqb-conditional-section"]
|
|
8
8
|
* @validChildren ["sqm-big-stat"]
|
|
9
9
|
* @slots [{"name":"", "title":"Stats"}]
|
|
10
10
|
* @exampleGroup Statistics
|
|
@@ -5,6 +5,8 @@ import { TabsView } from "./sqm-tabs-view";
|
|
|
5
5
|
import { useTabs } from "./useTabs";
|
|
6
6
|
/**
|
|
7
7
|
* @uiName Tab Group
|
|
8
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
9
|
+
* @validChildren ["sqm-tab"]
|
|
8
10
|
* @slots [{"name":"", "title":"Tabs","validChildren":["sqm-tab"]}]
|
|
9
11
|
* @exampleGroup Layout
|
|
10
12
|
* @canvasRenderer always-replace
|
|
@@ -49,6 +49,7 @@ const vanillaStyle = `
|
|
|
49
49
|
`;
|
|
50
50
|
/**
|
|
51
51
|
* @uiName Text
|
|
52
|
+
* @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"]
|
|
52
53
|
* @slots [{"name":"", "title":"Text"}]
|
|
53
54
|
* @slotEditor richText
|
|
54
55
|
* @canvasRenderer always-replace
|
|
@@ -3,6 +3,7 @@ import { withHooks } from "@saasquatch/stencil-hooks";
|
|
|
3
3
|
import { TextSpanView } from "./sqm-text-span-view";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Text Span
|
|
6
|
+
* @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"]
|
|
6
7
|
* @canvasRenderer always-replace
|
|
7
8
|
*/
|
|
8
9
|
export class Text {
|
|
@@ -3,10 +3,12 @@ import { Component, h, Prop, State } from "@stencil/core";
|
|
|
3
3
|
import { useChildElements } from "../../tables/useChildElements";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Program Timeline
|
|
6
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
7
|
+
* @validChildren ["sqm-timeline-entry"]
|
|
6
8
|
* @slots [{"name":"","title":"Timeline","validChildren":["sqm-timeline-entry"]}]
|
|
7
9
|
* @exampleGroup Common Components
|
|
8
10
|
* @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
|
-
*/
|
|
11
|
+
*/
|
|
10
12
|
export class Timeline {
|
|
11
13
|
constructor() {
|
|
12
14
|
this.ignored = true;
|
|
@@ -4,6 +4,8 @@ import { getProps } from "../../utils/utils";
|
|
|
4
4
|
import { PortalSectionView } from "./sqm-portal-section-view";
|
|
5
5
|
/**
|
|
6
6
|
* @uiName Titled Section
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqm-hero","sqm-tab"]
|
|
8
|
+
* @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"]
|
|
7
9
|
* @slots [{"name":"label", "title":"Label"},{"name":"content", "title":"Content"}]
|
|
8
10
|
* @exampleGroup Layout
|
|
9
11
|
* @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>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Card Feed
|
|
3
3
|
* @slots [{"name":"","title":"Cards"}]
|
|
4
|
-
* @validParents ["sqm-brand","sqm-portal-container", "sqm-popup-container
|
|
4
|
+
* @validParents ["sqm-brand","sqm-portal-container", "sqm-popup-container", "sqm-titled-section", "div", "sqm-divided-layout", "template", "sqb-program-section", "sqb-conditional-section"]
|
|
5
5
|
* @validChildren ["sqm-task-card"]
|
|
6
6
|
* @exampleGroup Rewards
|
|
7
7
|
* @example Task Card Feed - <sqm-card-feed gap="24" width="347"> <sqm-task-card reward-amount="20" goal="1" card-title="Complete a Survey" description="Fill out our NPS survey and get 20 points for giving us honest feedback." button-text="Take survey" reward-unit="Points" 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}" finite="0" starts-on-message="Starts {startDate}" > </sqm-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" reward-unit="Points" starts-on-message="Starts {startDate}" > </sqm-task-card> <sqm-task-card goal="1" reward-amount="50" card-title="Follow Us on X" description="Earn 50 points when you Follow Us on X!" button-text="Follow" button-link="https://twitter.com/" open-new-tab="true" event-key="socialFollow" 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}" finite="0" reward-unit="Points" starts-on-message="Starts {startDate}" > </sqm-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> </sqm-card-feed>
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { CouponCodeViewProps } from "./sqm-coupon-code-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Coupon Code
|
|
5
|
+
* @validParents ["sqm-brand","sqm-portal-container","div","sqm-popup-container","sqm-hero","sqm-referral-card","sqm-titled-section", "sqb-program-section", "sqb-conditional-section"]
|
|
5
6
|
* @compatibility Built for instant access
|
|
6
7
|
* @exampleGroup Instant Access
|
|
7
8
|
* @example Coupon Code - <sqm-coupon-code tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-coupon-code>
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
* Spacing is left up to the child
|
|
4
4
|
*
|
|
5
5
|
* @uiName Divided Layout
|
|
6
|
+
* @validParents ["sqm-brand","sqm-portal-container","div","sqm-popup-container","sqm-hero","sqm-referral-card","sqm-titled-section","sqb-program-section","sqb-conditional-section"]
|
|
7
|
+
* @exampleGroup Layout
|
|
6
8
|
* @slots [{"name":"", "title":"Layout Content"}]
|
|
7
9
|
*/
|
|
8
10
|
export declare class DividedLayout {
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Hero Layout
|
|
3
|
+
* @validParents ["sqm-portal-container","sqm-brand","div"]
|
|
3
4
|
* @slots [{"name":"","title":"Primary Column Content"},{"name":"secondary-column","title":"Secondary Column Content"}]
|
|
4
5
|
* @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>
|
|
5
6
|
* @exampleGroup Layout
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Spacing } from "../../global/mixins";
|
|
2
2
|
/**
|
|
3
3
|
* @uiName Hero Image
|
|
4
|
+
* @validParents ["sqm-portal-container","sqm-brand", "div"]
|
|
4
5
|
* @exampleGroup Common Components
|
|
5
6
|
* @example Two Column Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="columns" image-pos="right" background-color="#F9F9F9"></sqm-hero-image>
|
|
6
7
|
* @example Overlay Hero Image - <sqm-hero-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png" header="MyCompany Rewards" description="Refer a friend and earn up to $1200 in rewards" layout="overlay" image-pos="center" background-color="#F9F9F9" button-link="https://www.example.com" button-new-tab button-text="Earn!" image-percentage="45" overlay-opacity=".5" padding-image="small" padding-text="xxxx-large"></sqm-hero-image>
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Image
|
|
3
|
+
* @validParents ["sqm-brand","div","sqm-portal-container","sqm-divided-layout","sqm-titled-section", "sqb-program-section", "sqb-conditional-section"]
|
|
3
4
|
* @exampleGroup Common Components
|
|
4
5
|
* @example Image - <sqm-image image-url="https://res.cloudinary.com/saasquatch/image/upload/v1644000259/squatch-assets/tn47wOj.png" alignment="center"></sqm-image>
|
|
5
6
|
*/
|
package/dist/types/components/sqm-instant-access-registration/sqm-instant-access-registration.d.ts
CHANGED
|
@@ -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 Registration
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","template", "sqb-program-section", "sqb-conditional-section"]
|
|
5
6
|
* @compatibility Built for instant access
|
|
6
7
|
* @exampleGroup Instant Access
|
|
7
8
|
* @example Instant Access Registration - <sqm-instant-access-registration></sqm-instant-access-registration>
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { LeaderboardViewProps } from "./sqm-leaderboard-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Leaderboard
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqm-brand","sqb-program-section","sqb-conditional-section"]
|
|
5
6
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
6
7
|
* @requiredFeatures ["LEADERBOARDS"]
|
|
7
8
|
* @exampleGroup Leaderboard
|
|
@@ -2,6 +2,7 @@ import { NavigationMenuViewProps } from "./sqm-navigation-menu-view";
|
|
|
2
2
|
import { DemoData } from "../../global/demo";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Navigation Menu
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-brand","sqm-divided-layout"]
|
|
5
6
|
*/
|
|
6
7
|
export declare class NavigationMenu {
|
|
7
8
|
ignored: boolean;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Microsite Sidebar
|
|
3
|
+
* @validParents ["div","sqm-divided-layout","template","sqm-portal-container","sqm-brand"]
|
|
4
|
+
* @validChildren ["sqm-navigation-sidebar-item"]
|
|
3
5
|
* @slots [{"name":"", "title":"Sidebar Content"}]
|
|
4
6
|
*/
|
|
5
7
|
export declare class NavigationSidebar {
|
|
@@ -2,6 +2,7 @@ import { PortalChangePasswordViewProps } from "./sqm-portal-change-password-view
|
|
|
2
2
|
import { DemoData } from "../../global/demo";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Microsite Password Change
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand"]
|
|
5
6
|
*/
|
|
6
7
|
export declare class PortalChangePassword {
|
|
7
8
|
ignored: boolean;
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../global/demo";
|
|
|
2
2
|
import { PortalLoginViewProps } from "./sqm-portal-login-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Microsite Login
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand", "template"]
|
|
5
6
|
*/
|
|
6
7
|
export declare class PortalLogin {
|
|
7
8
|
ignored: boolean;
|
|
@@ -2,6 +2,7 @@ import { PortalProfileViewProps } from "./sqm-portal-profile-view";
|
|
|
2
2
|
import { DemoData } from "../../global/demo";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Microsite Participant Profile
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template"]
|
|
5
6
|
*/
|
|
6
7
|
export declare class PortalProfile {
|
|
7
8
|
ignored: boolean;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Microsite Protected Route
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template", "sqb-program-section", "sqb-conditional-section"]
|
|
3
4
|
* @slots [{"name":"","title":"Route Content"}]
|
|
4
5
|
*/
|
|
5
6
|
export declare class PortalProtectedRoute {
|
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Program Explainer
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","sqm-brand","template","sqb-program-section","sqb-conditional-section"]
|
|
4
|
+
* @validChildren ["sqm-program-explainer-step"]
|
|
3
5
|
* @exampleGroup Common Components
|
|
4
6
|
* @slots [{"name":"", "title":"Explainer", "validChildren":["sqm-program-explainer-step"]}]
|
|
5
7
|
* @example Program Explainer - <sqm-program-explainer header="How it works"><sqm-program-explainer-step description="Explore and use our product while earning points in the process!" 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>
|