Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
42 commits
Select commit Hold shift + click to select a range
3466d93
Add processing status to rewards cell
zachharrison Jan 22, 2026
a50cd0f
Add processing to referral table rewards cell
zachharrison Jan 22, 2026
c479b69
Version bump
zachharrison Jan 22, 2026
fa67392
Update stories
zachharrison Jan 23, 2026
be97424
Seperate tax and cash rewards cells
zachharrison Jan 23, 2026
39098b3
Finish rewards table stories
zachharrison Jan 24, 2026
64cbeea
Delete comment
zachharrison Jan 24, 2026
c085324
Delete console log
zachharrison Jan 24, 2026
aec2932
Add new Tax and Cash stories
zachharrison Jan 27, 2026
0772137
update status logic
zachharrison Jan 27, 2026
3765ee2
Add cases to tax and cash rewards cases
zachharrison Jan 27, 2026
98338e6
Finish referral rewards cell stories
zachharrison Jan 28, 2026
2335c9f
Add stories for tax and cash referral table
zachharrison Jan 28, 2026
3849d11
Merge branch 'master' into cash-payouts-auto-funding
zachharrison Jan 30, 2026
1246624
Update packages/mint-components/src/components/sqm-rewards-table/cell…
zachharrison Jan 30, 2026
f313a11
Update packages/mint-components/src/components/sqm-rewards-table/cell…
zachharrison Jan 30, 2026
7624350
Update packages/mint-components/src/components/sqm-referral-table/cel…
zachharrison Jan 30, 2026
543e866
Update packages/mint-components/src/components/sqm-referral-table/cel…
zachharrison Jan 30, 2026
5a8c460
Update copy
zachharrison Feb 6, 2026
5f3a505
Update stories
zachharrison Feb 6, 2026
07a2aed
Update status column specs
zachharrison Feb 6, 2026
e0843f0
Add PFT specific specs
zachharrison Feb 11, 2026
c000b47
Publish pre release
zachharrison Feb 11, 2026
316902d
fix queries, tax and cash form issue
00salmon Feb 13, 2026
326d2aa
Apply suggestion from @Copilot
00salmon Feb 13, 2026
d0f0b99
code review, changelog update
00salmon Feb 13, 2026
9e2ef12
more cleanup
00salmon Feb 13, 2026
ea3935c
Merge branch 'cash-payouts-auto-funding' of https://github.com/saasqu…
00salmon Feb 13, 2026
efa89b8
fix typo in copy, share logic from other cell
00salmon Feb 13, 2026
5125178
Apply suggestion from @Copilot
noahwc Feb 18, 2026
bd18eee
Apply suggestion from @Copilot
noahwc Feb 18, 2026
80b8bbd
Apply suggestion from @Copilot
noahwc Feb 18, 2026
415da27
Change to minor release
noahwc Feb 18, 2026
ec79d6a
Copy updates
noahwc Feb 18, 2026
09398cf
Merge branch 'cash-payouts-auto-funding' of https://github.com/saasqu…
noahwc Feb 18, 2026
a183e5d
Add missing payout processing prop
noahwc Feb 18, 2026
0070425
bump date
00salmon Feb 18, 2026
2ddb31c
Merge branch 'cash-payouts-auto-funding' of https://github.com/saasqu…
00salmon Feb 18, 2026
1d101af
fix default status props
00salmon Feb 19, 2026
fa8e3b4
update default text
00salmon Feb 19, 2026
9b59c95
update reward status defaults
00salmon Feb 19, 2026
260f224
Update packages/mint-components/src/components/tax-and-cash/sqm-payou…
00salmon Feb 19, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion packages/mint-components/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

## [Unreleased]

## [2.1.0] - 2026-02-19

### Updated

- \<sqm-rewards-table>
- \<sqm-referral-table>
- Added new reward status based on state of payouts
- Payment Processing

## [2.0.10] - 2026-01-27

### Fixed
Expand Down Expand Up @@ -1446,7 +1455,8 @@ This major release represents a significant advancement in the theming capabilit
- \<sqm-popup-container>
- \<sqm-stencilbook>

[unreleased]: https://github.com/saasquatch/program-tools/compare/[email protected]
[unreleased]: https://github.com/saasquatch/program-tools/compare/[email protected]
[2.1.0]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%402.1.0
[2.0.10]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%402.0.10
[2.0.9]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%402.0.9
[2.0.8]: https://github.com/saasquatch/program-tools/releases/tag/%40saasquatch%2Fmint-components%402.0.8
Expand Down
4 changes: 2 additions & 2 deletions packages/mint-components/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions packages/mint-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@saasquatch/mint-components",
"title": "Mint Components",
"version": "2.0.10",
"version": "2.1.0",
"description": "A minimal design library with components for referral and loyalty experiences. Built with Shoelace components by Saasquatch.",
"icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Mint.svg",
"raisins": "docs/raisins.json",
Expand Down Expand Up @@ -107,4 +107,4 @@
},
"homepage": "https://github.com/saasquatch/program-tools",
"license": "MIT"
}
}
12 changes: 12 additions & 0 deletions packages/mint-components/src/components.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4487,6 +4487,7 @@ export namespace Components {
"payoutApproved": string;
"payoutCancelled": string;
"payoutFailed": string;
"payoutProcessing": string;
"pendingNewTaxForm": string;
"pendingPartnerCreation": string;
"pendingReviewText": string;
Expand Down Expand Up @@ -4529,6 +4530,11 @@ export namespace Components {
* @uiName Payout failed text
*/
"payoutFailed": string;
/**
* Displayed when a reward payout is processing.
* @uiName Payout processing text
*/
"payoutProcessing": string;
/**
* Displayed when pending due to requiring a new tax document
* @uiName Pending new tax form text
Expand Down Expand Up @@ -12339,6 +12345,7 @@ declare namespace LocalJSX {
"payoutApproved"?: string;
"payoutCancelled"?: string;
"payoutFailed"?: string;
"payoutProcessing"?: string;
"pendingNewTaxForm"?: string;
"pendingPartnerCreation"?: string;
"pendingReviewText"?: string;
Expand Down Expand Up @@ -12381,6 +12388,11 @@ declare namespace LocalJSX {
* @uiName Payout failed text
*/
"payoutFailed"?: string;
/**
* Displayed when a reward payout is processing.
* @uiName Payout processing text
*/
"payoutProcessing"?: string;
/**
* Displayed when pending due to requiring a new tax document
* @uiName Pending new tax form text
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,118 @@
import { h } from "@stencil/core";
import { GenericTableView } from "../../tables/GenericTableView";
import {
Converted as ConvertedStatus,
DateCell,
} from "./ReferralTableCell.stories";
import {
PayoutApproved,
PayoutProcessing,
PayoutFailed,
PayoutCancelled,
PendingTaxReview,
PendingNewTaxForm,
PendingTaxSubmission,
PendingPartnerCreation,
PendingW9,
CashReward,
} from "./TaxAndCashReferralTableRewardsCell.stories";

export default {
title: "Components/Tax And Cash Referral Table",
};

const taxAndCashTableProps = {
states: {
hasPrev: false,
hasNext: true,
show: "rows" as const,
namespace: "sqm-referral-table",
},
data: {
textOverrides: {
showLabels: true,
prevLabel: "Prev",
moreLabel: "View More",
},
hiddenColumns: "",
mdBreakpoint: 799,
smBreakpoint: 599,
},
callbacks: {
prevPage: () => console.log("Prev"),
nextPage: () => console.log("Next"),
},

elements: {
columns: ["Customer", "Status", "Date converted", "Rewards"],
rows: [
[
<sqm-referral-table-user-cell name="Payout Approved User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PayoutApproved />,
],

[
<sqm-referral-table-user-cell name="Payout Failed User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PayoutFailed />,
],
[
<sqm-referral-table-user-cell name="Payout Cancelled User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PayoutCancelled />,
],

[
<sqm-referral-table-user-cell name="Tax Review User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PendingTaxReview />,
],
[
<sqm-referral-table-user-cell name="Payout Processing User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PayoutProcessing />,
],
[
<sqm-referral-table-user-cell name="New Tax Form User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PendingNewTaxForm />,
],
[
<sqm-referral-table-user-cell name="Tax Submission User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PendingTaxSubmission />,
],
[
<sqm-referral-table-user-cell name="Partner Creation User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PendingPartnerCreation />,
],
[
<sqm-referral-table-user-cell name="Missing W9 User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<PendingW9 />,
],

[
<sqm-referral-table-user-cell name="Standard Cash User"></sqm-referral-table-user-cell>,
<ConvertedStatus />,
<DateCell />,
<CashReward />,
],
],
},
};

export const TaxAndCashReferralTable = () => {
return <GenericTableView {...taxAndCashTableProps}></GenericTableView>;
};
Loading
Loading