@saasquatch/mint-components 1.15.0-65 → 1.15.0-67
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-invoice-table/sqm-invoice-table.js +2 -0
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +1 -1
- package/dist/collection/components/sqm-link-button/sqm-link-button.js +1 -0
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -0
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +0 -5
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +1 -1
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +1 -0
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js +1 -0
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +1 -0
- package/dist/types/components/sqm-invoice-table/sqm-invoice-table.d.ts +2 -0
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +1 -1
- package/dist/types/components/sqm-link-button/sqm-link-button.d.ts +1 -0
- package/dist/types/components/sqm-logout-current-user/sqm-logout-current-user.d.ts +1 -0
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +0 -5
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +1 -1
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +1 -0
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +0 -1
- package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts +1 -0
- package/dist/types/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.d.ts +1 -0
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
|
@@ -12,6 +12,8 @@ import { tryMethod, useInvoiceTable } from "./useInvoiceTable";
|
|
|
12
12
|
/**
|
|
13
13
|
* @uiName Invoice Table
|
|
14
14
|
* @exampleGroup Invoices
|
|
15
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
16
|
+
* @validChildren ["p","div","h1","h2","h3","h4","h5","span"]
|
|
15
17
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
16
18
|
* @example Invoice Table - <sqm-invoice-table per-page="4" hidden-columns="2" more-label="Next" prev-label="Prev" sm-breakpoint="599" md-breakpoint="799" ><sqm-invoice-table-download-column></sqm-invoice-table-download-column><sqm-invoice-table-date-column column-title="Date"></sqm-invoice-table-date-column><sqm-invoice-table-data-column column-title="Invoice" property="invoiceId"></sqm-invoice-table-data-column><sqm-invoice-table-data-column column-title="Earnings" property="earnings"></sqm-invoice-table-data-column><sqm-invoice-table-data-column column-title="Indirect tax" property="indirectTax"></sqm-invoice-table-data-column><sqm-invoice-table-data-column column-title="Earnings after tax" property="netEarnings"></sqm-invoice-table-data-column><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1710363322/squatch-assets/invoice-table-empty.png" empty-state-header="View your invoice details" empty-state-text="Refer a friend to view the status of your invoices and rewards earned" slot="empty" ></sqm-empty ></sqm-invoice-table> */
|
|
17
19
|
export class InvoiceTable {
|
|
@@ -7,7 +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","
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section"]
|
|
11
11
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
12
12
|
* @requiredFeatures ["LEADERBOARDS"]
|
|
13
13
|
* @exampleGroup Leaderboard
|
|
@@ -3,6 +3,7 @@ import { getProps } from "../../utils/utils";
|
|
|
3
3
|
import { LinkButtonView } from "./sqm-link-button-view";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Link Button
|
|
6
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
6
7
|
* @exampleGroup Common Components
|
|
7
8
|
* @example Link Button - <sqm-link-button link="https://www.example.com" open-in-new-tab="true">Click here</sqm-link-button>
|
|
8
9
|
*/
|
|
@@ -9,6 +9,7 @@ import { getProps } from "../../utils/utils";
|
|
|
9
9
|
* @uiName Sign out current user
|
|
10
10
|
* @exampleGroup Instant Access
|
|
11
11
|
* @compatibility Built for instant access
|
|
12
|
+
* @validParents ["sqm-portal-container","template", "sqm-referred-registration", "sqb-auth-template-switch", "div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
12
13
|
* @example Sign out current user - <sqm-logout-current-user user-identification-text="{email}" switch-user-link="#" switch-user-text="not you?"></sqm-logout-current-user>
|
|
13
14
|
*/
|
|
14
15
|
export class LogoutCurrentUser {
|
|
@@ -7,11 +7,6 @@ import { intl } from "../../global/global";
|
|
|
7
7
|
import { getProps } from "../../utils/utils";
|
|
8
8
|
import { PaginationView } from "./sqm-pagination-view";
|
|
9
9
|
import { usePagination } from "./usePagination";
|
|
10
|
-
/**
|
|
11
|
-
* @uiName Pagination
|
|
12
|
-
* @exampleGroup Common Components
|
|
13
|
-
* @example Promo Code Pagination - <sqm-pagination></sqm-pagination>
|
|
14
|
-
*/
|
|
15
10
|
export class Pagination {
|
|
16
11
|
constructor() {
|
|
17
12
|
this.ignored = true;
|
|
@@ -10,7 +10,7 @@ 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","
|
|
13
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
14
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"]
|
|
15
15
|
* @exampleGroup Referrals
|
|
16
16
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
@@ -8,6 +8,7 @@ import { useShareLink } from "./useShareLink";
|
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Share Link
|
|
10
10
|
* @exampleGroup Sharing
|
|
11
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-referral-card","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section"]
|
|
11
12
|
* @example Share Link - <sqm-share-link tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-link>
|
|
12
13
|
*/
|
|
13
14
|
export class ShareLink {
|
|
@@ -11,7 +11,6 @@ import { useTaskCard } from "./useTaskCard";
|
|
|
11
11
|
* @uiName Task Card
|
|
12
12
|
* @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", "*"]
|
|
13
13
|
* @validParents ["sqm-card-feed"]
|
|
14
|
-
* @exampleGroup Rewards
|
|
15
14
|
* @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>
|
|
16
15
|
* @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>
|
|
17
16
|
* @example Event Sending 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>
|
package/dist/collection/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.js
CHANGED
|
@@ -7,6 +7,7 @@ import { usePayoutStatus } from "./usePayoutStatus";
|
|
|
7
7
|
import { isDemo } from "@saasquatch/component-boilerplate";
|
|
8
8
|
/**
|
|
9
9
|
* @uiName Payout Status Alert
|
|
10
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqm-brand","sqb-program-section","sqb-conditional-section"]
|
|
10
11
|
* @exampleGroup Tax and Cash
|
|
11
12
|
* @example Payout Status Alert - <sqm-payout-status-alert></sqm-payout-status-alert>
|
|
12
13
|
*/
|
|
@@ -11,6 +11,7 @@ import { useTaxAndCash } from "./useTaxAndCash";
|
|
|
11
11
|
/**
|
|
12
12
|
* @uiName Tax and Cash
|
|
13
13
|
* @exampleGroup Tax and Cash
|
|
14
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section"]
|
|
14
15
|
* @example Tax and Cash Multi Step Form - <sqm-tax-and-cash></sqm-tax-and-cash>
|
|
15
16
|
*/
|
|
16
17
|
export class TaxAndCashMonolith {
|
|
@@ -4,6 +4,8 @@ import { GenericTableViewProps } from "../../tables/GenericTableView";
|
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Invoice Table
|
|
6
6
|
* @exampleGroup Invoices
|
|
7
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
8
|
+
* @validChildren ["p","div","h1","h2","h3","h4","h5","span"]
|
|
7
9
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
8
10
|
* @example Invoice Table - <sqm-invoice-table per-page="4" hidden-columns="2" more-label="Next" prev-label="Prev" sm-breakpoint="599" md-breakpoint="799" ><sqm-invoice-table-download-column></sqm-invoice-table-download-column><sqm-invoice-table-date-column column-title="Date"></sqm-invoice-table-date-column><sqm-invoice-table-data-column column-title="Invoice" property="invoiceId"></sqm-invoice-table-data-column><sqm-invoice-table-data-column column-title="Earnings" property="earnings"></sqm-invoice-table-data-column><sqm-invoice-table-data-column column-title="Indirect tax" property="indirectTax"></sqm-invoice-table-data-column><sqm-invoice-table-data-column column-title="Earnings after tax" property="netEarnings"></sqm-invoice-table-data-column><sqm-empty empty-state-image="https://res.cloudinary.com/saasquatch/image/upload/v1710363322/squatch-assets/invoice-table-empty.png" empty-state-header="View your invoice details" empty-state-text="Refer a friend to view the status of your invoices and rewards earned" slot="empty" ></sqm-empty ></sqm-invoice-table> */
|
|
9
11
|
export declare class InvoiceTable {
|
|
@@ -2,7 +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","
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section"]
|
|
6
6
|
* @slots [{"name":"empty", "title":"Empty State"}]
|
|
7
7
|
* @requiredFeatures ["LEADERBOARDS"]
|
|
8
8
|
* @exampleGroup Leaderboard
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @uiName Link Button
|
|
3
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
3
4
|
* @exampleGroup Common Components
|
|
4
5
|
* @example Link Button - <sqm-link-button link="https://www.example.com" open-in-new-tab="true">Click here</sqm-link-button>
|
|
5
6
|
*/
|
|
@@ -4,6 +4,7 @@ import { CopyTextViewProps } from "../views/copy-text-view";
|
|
|
4
4
|
* @uiName Sign out current user
|
|
5
5
|
* @exampleGroup Instant Access
|
|
6
6
|
* @compatibility Built for instant access
|
|
7
|
+
* @validParents ["sqm-portal-container","template", "sqm-referred-registration", "sqb-auth-template-switch", "div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
7
8
|
* @example Sign out current user - <sqm-logout-current-user user-identification-text="{email}" switch-user-link="#" switch-user-text="not you?"></sqm-logout-current-user>
|
|
8
9
|
*/
|
|
9
10
|
export declare class LogoutCurrentUser {
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { DemoData } from "../../global/demo";
|
|
2
2
|
import { UsePagination } from "./usePagination";
|
|
3
|
-
/**
|
|
4
|
-
* @uiName Pagination
|
|
5
|
-
* @exampleGroup Common Components
|
|
6
|
-
* @example Promo Code Pagination - <sqm-pagination></sqm-pagination>
|
|
7
|
-
*/
|
|
8
3
|
export declare class Pagination {
|
|
9
4
|
ignored: boolean;
|
|
10
5
|
/**
|
|
@@ -3,7 +3,7 @@ import { Referral } from "../../saasquatch";
|
|
|
3
3
|
import { GenericTableViewProps } from "../../tables/GenericTableView";
|
|
4
4
|
/**
|
|
5
5
|
* @uiName Referral Table
|
|
6
|
-
* @validParents ["sqm-portal-container","div","sqm-divided-layout","
|
|
6
|
+
* @validParents ["sqm-portal-container","div","sqm-divided-layout","template","sqm-tab","sqb-program-section","sqb-conditional-section"]
|
|
7
7
|
* @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"]
|
|
8
8
|
* @exampleGroup Referrals
|
|
9
9
|
* @slots [{"name":"", "title":"Table Row"},{"name":"empty", "title":"Empty"},{"name":"loading","title":"Loading"}]
|
|
@@ -3,6 +3,7 @@ import { CopyTextViewProps } from "../views/copy-text-view";
|
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Share Link
|
|
5
5
|
* @exampleGroup Sharing
|
|
6
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-referral-card","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section"]
|
|
6
7
|
* @example Share Link - <sqm-share-link tooltip-text="Copied to Clipboard" tooltip-lifespan="1000"></sqm-share-link>
|
|
7
8
|
*/
|
|
8
9
|
export declare class ShareLink {
|
|
@@ -5,7 +5,6 @@ import { TaskCardViewProps } from "./sqm-task-card-view";
|
|
|
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
7
|
* @validParents ["sqm-card-feed"]
|
|
8
|
-
* @exampleGroup Rewards
|
|
9
8
|
* @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>
|
|
10
9
|
* @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>
|
|
11
10
|
* @example Event Sending 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>
|
package/dist/types/components/tax-and-cash/sqm-payout-status-alert/sqm-payout-status-alert.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../../global/demo";
|
|
|
2
2
|
import { PayoutStatusAlertViewProps } from "./sqm-payout-status-alert-view";
|
|
3
3
|
/**
|
|
4
4
|
* @uiName Payout Status Alert
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqm-brand","sqb-program-section","sqb-conditional-section"]
|
|
5
6
|
* @exampleGroup Tax and Cash
|
|
6
7
|
* @example Payout Status Alert - <sqm-payout-status-alert></sqm-payout-status-alert>
|
|
7
8
|
*/
|
|
@@ -2,6 +2,7 @@ import { DemoData } from "../../../global/demo";
|
|
|
2
2
|
/**
|
|
3
3
|
* @uiName Tax and Cash
|
|
4
4
|
* @exampleGroup Tax and Cash
|
|
5
|
+
* @validParents ["sqm-portal-container","div","sqm-hero","sqm-instant-access-registration","sqb-program-section","sqb-conditional-section"]
|
|
5
6
|
* @example Tax and Cash Multi Step Form - <sqm-tax-and-cash></sqm-tax-and-cash>
|
|
6
7
|
*/
|
|
7
8
|
export declare class TaxAndCashMonolith {
|
package/docs/docs.docx
CHANGED
|
Binary file
|