Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
126 commits
Select commit Hold shift + click to select a range
0c09059
card feed component annotations
zachharrison Jun 2, 2025
728c77c
Start adding component annotations
zachharrison Jun 3, 2025
6d5d59d
Fix typo
zachharrison Jun 3, 2025
90e41d0
Finish most of the component annotations
zachharrison Jun 4, 2025
527a9d1
Finish first pass on component annotations
zachharrison Jun 4, 2025
881a16f
version bump
zachharrison Jun 4, 2025
19b163b
Update text colors
zachharrison Jun 4, 2025
47f1fb5
new pre release
zachharrison Jun 5, 2025
0786a89
Update buttons and text color
zachharrison Jun 5, 2025
d366e32
update leaderboard props and publish new pre release
zachharrison Jun 5, 2025
d6f0750
Add new style props to task cards
zachharrison Jun 7, 2025
4cbb56f
Finish dynamic styling updates in task card
zachharrison Jun 7, 2025
4e8df54
Delete unused function
zachharrison Jun 7, 2025
a1fa160
Add border radius to program explainer step
zachharrison Jun 7, 2025
6e14337
Fix icon misalignment bugs
zachharrison Jun 7, 2025
8b63d83
Add style props program explainer step
zachharrison Jun 7, 2025
2a18a66
Add style props to share link
zachharrison Jun 8, 2025
caf34ad
add style uiGroup
zachharrison Jun 8, 2025
2a0cfc7
fix jsDocs and add style props to share code as well
zachharrison Jun 8, 2025
372537c
jsDoc
zachharrison Jun 8, 2025
ecb0d9d
Update text colors
zachharrison Jun 9, 2025
bd653ed
Add new button style to hero image
zachharrison Jun 9, 2025
2c5524f
New pre release
zachharrison Jun 9, 2025
18d227e
Coupon code & referral card style props
zachharrison Jun 9, 2025
2bbdae8
Deploy pre release
zachharrison Jun 9, 2025
e25ec7c
Add color props to timeline component
zachharrison Jun 10, 2025
4f82f04
Cleanup + version bump
zachharrison Jun 10, 2025
9c1b92f
Add leaderboard props
zachharrison Jun 10, 2025
6c42f1b
Fix demo data
zachharrison Jun 11, 2025
fbcd057
Version bump
zachharrison Jun 11, 2025
3d85c12
Update styles for coupon code, share button, and tabs
zachharrison Jun 11, 2025
6c8714b
Fix tab color style
zachharrison Jun 11, 2025
61b8217
Update stat styles
zachharrison Jun 11, 2025
b870cd7
Fix stat container
zachharrison Jun 11, 2025
fea9923
New pre release
zachharrison Jun 12, 2025
38881ca
Fix typo
zachharrison Jun 12, 2025
5fc5f37
Styling updates for nav container and nav items
zachharrison Jun 12, 2025
b89cf1b
Add demo hook and new prop
zachharrison Jun 12, 2025
9528911
Add default color value
zachharrison Jun 12, 2025
ea847b8
Fix sidebar item focused color
zachharrison Jun 12, 2025
c41bda7
Create variables for alert/badge parts
AndiLuo Jun 12, 2025
340c654
Merge branch 'content-editor' of https://github.com/saasquatch/progra…
AndiLuo Jun 12, 2025
9e42c8f
Deploy new pre release
zachharrison Jun 13, 2025
d5cc94e
update portal frame background color
zachharrison Jun 13, 2025
d941cf0
Update border and width
zachharrison Jun 13, 2025
ce97231
Update border and background colors of microsite containers
zachharrison Jun 14, 2025
aff88c7
version bump
zachharrison Jun 14, 2025
32caf91
Redeclare shoelace input css variables
zachharrison Jun 15, 2025
8f0f56b
Version bump
zachharrison Jun 16, 2025
b8bace6
Update change password view
zachharrison Jun 16, 2025
4ade1b1
Styling updates
zachharrison Jun 16, 2025
3641b35
version bump and fix input style
zachharrison Jun 17, 2025
08c2ab0
Update form component styles
zachharrison Jun 17, 2025
2f756a2
Version bump
zachharrison Jun 17, 2025
2d13d7f
Fix styles being overwritten by mixin
zachharrison Jun 17, 2025
d946ce1
Version bump
zachharrison Jun 17, 2025
0e006f6
Update mixin style and bump verison
zachharrison Jun 17, 2025
5d9bdd3
Fix input style
zachharrison Jun 17, 2025
a6666c6
Fix name field input style
zachharrison Jun 18, 2025
100e39a
Update link color
zachharrison Jun 18, 2025
53c3f74
fix link color
zachharrison Jun 18, 2025
83b53d1
Add new css variables and partially fix shoelace selects
zachharrison Jun 19, 2025
ef77007
Partially fix menu
zachharrison Jun 20, 2025
362f461
Update link style
zachharrison Jun 20, 2025
f4106b1
Cleanup
zachharrison Jun 20, 2025
6b4e9ea
Add new css variables for color palette
zachharrison Jun 20, 2025
f041218
info form view to use new css vars
zachharrison Jun 20, 2025
16d6a3b
Cleanup variables and wrap up user info form
zachharrison Jun 20, 2025
051efdb
Wrap up indirect tax form
zachharrison Jun 20, 2025
a8256c6
Finish tax and cash styles
zachharrison Jun 22, 2025
6768135
Update details view styles
zachharrison Jun 22, 2025
5c614ad
Wrap up task cards
zachharrison Jun 22, 2025
9eda96a
Fix footer, cleanup styles.ts and update timeline entry default color
zachharrison Jun 22, 2025
f23dff6
Update button type props to include tertiary variant
zachharrison Jun 22, 2025
b2c14a3
Version bump
zachharrison Jun 22, 2025
518d9ad
Button type update
zachharrison Jun 22, 2025
56c5c52
More background and text color updates
zachharrison Jun 23, 2025
d419ebc
Cleanup text and border colors
zachharrison Jun 23, 2025
4ea62a6
cleanup button width and update leaderboard highlight color
zachharrison Jun 23, 2025
3678d95
Spinner color
zachharrison Jun 23, 2025
118c107
Fix tabs style
zachharrison Jun 24, 2025
96cd691
Refactor referral table rewards cell
zachharrison Jun 24, 2025
1cc7aa2
Refacor referral table status badges
zachharrison Jun 24, 2025
b06f723
Refactor rewards table cells
zachharrison Jun 24, 2025
4b8dba9
Version bump
zachharrison Jun 24, 2025
75ae102
Update program explainer default values
zachharrison Jun 24, 2025
b0ad8bf
Update more defaults
zachharrison Jun 24, 2025
1e3c604
Add new brand selector
zachharrison Jun 24, 2025
b6bf0a1
Fix brand selector and update styles
zachharrison Jun 25, 2025
6b4ad64
Theme updates
zachharrison Jun 25, 2025
a28ec5f
Start adding types for branding config
zachharrison Jun 25, 2025
a3a0d08
Fix types
zachharrison Jun 25, 2025
e6c0ba0
Get branding config working in stencilbook
zachharrison Jun 25, 2025
287bfa7
Add brand hash to url
zachharrison Jun 25, 2025
80a89b5
Keep exising url hash and tack on new brand hash to keep story url in…
zachharrison Jun 25, 2025
aaae9b0
Comment console.log
zachharrison Jun 26, 2025
1810d75
Refactor to store brand name in local storage instead of url hash
zachharrison Jun 26, 2025
c43accf
Try adding helper function to get theme from local storage
zachharrison Jun 26, 2025
f6d161c
Get brand config switching working with local storage
zachharrison Jun 26, 2025
bbafee6
Add accent color variables
zachharrison Jun 26, 2025
7266aab
More theme styling updates
zachharrison Jun 26, 2025
2f38d63
Add input variables
zachharrison Jun 26, 2025
6f2ef42
Add more button and border styles
zachharrison Jun 27, 2025
9f82308
Add more theming updates
zachharrison Jun 27, 2025
ec015ea
Update demo button style
zachharrison Jun 27, 2025
375196d
More polish
zachharrison Jun 27, 2025
65e0d2c
More bug fixes and variable updates
zachharrison Jun 27, 2025
0a2c042
Leaderboard styling
zachharrison Jun 27, 2025
a233bf1
More styling updates
zachharrison Jun 27, 2025
8c83881
update primary button css selector
zachharrison Jul 2, 2025
666a373
Remove unused asset card component
zachharrison Jul 2, 2025
290eb75
Fix error border color
zachharrison Jul 3, 2025
27e9e2e
Update brand selector styles
zachharrison Jul 3, 2025
bd39f4c
Add type secondary to secondary buttons
zachharrison Jul 3, 2025
f45febd
Update portal login stories
zachharrison Jul 3, 2025
bdc3298
Version bump
zachharrison Jul 3, 2025
1a10eae
More styling updates
zachharrison Jul 3, 2025
f9a0b2b
Fix broken stories
zachharrison Jul 4, 2025
61eef3c
Code cleanup
zachharrison Jul 4, 2025
bbd208c
Update badge styles to use new css vars
zachharrison Jul 4, 2025
f7dee29
Fix navigation sidebar stories
zachharrison Jul 6, 2025
bc3f5a5
Fix radio background color by overwriting primary color variables.
zachharrison Jul 6, 2025
00599ee
Fix border hover css variable
zachharrison Jul 7, 2025
89765d9
share link and coupon code background
zachharrison Jul 7, 2025
20aa98a
Update example (ui display names) in mint-components and bedrock-comp…
AndiLuo Jul 7, 2025
7ee8580
Update more @example names, new bedrock/mint pre-releases
AndiLuo Jul 7, 2025
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
4 changes: 2 additions & 2 deletions packages/bedrock-components/package-lock.json

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

2 changes: 1 addition & 1 deletion packages/bedrock-components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@saasquatch/bedrock-components",
"title": "Bedrock Components",
"version": "1.4.10",
"version": "1.4.11-1",
"description": "Component library that adds advanced logic to your widgets and pages. Built and maintained by Saasquatch.",
"icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Bedrock.svg",
"main": "dist/index.cjs.js",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@ import { useConditionalSection, UseConditionalSection } from './useConditonalSec
* @uiName Conditional Section
* @exampleGroup Advanced
* @slots [{"name":"","title":"Section Content"}]
* @example Conditional Section On Segment - <sqb-conditional-section condition="'vip' in user.segments"><p>Add your conditional content here!</p></sqb-conditional-section>
* @example Conditional Section On Custom Field - <sqb-conditional-section condition="user.customFields.foo = true"><p>Add your conditional content here!</p></sqb-conditional-section>
* @example Conditional Area / Segment - <sqb-conditional-section condition="'vip' in user.segments"><p>Add your conditional content here!</p></sqb-conditional-section>
* @example Conditional Area / Field - <sqb-conditional-section condition="user.customFields.foo = true"><p>Add your conditional content here!</p></sqb-conditional-section>
*/
@Component({
tag: 'sqb-conditional-section',
Expand Down
179 changes: 9 additions & 170 deletions packages/end-user-testing/src/widgetTemplate.html
Original file line number Diff line number Diff line change
@@ -1,170 +1,9 @@
<sqm-brand brand-color="#4225c4" brand-font="Nunito Sans">
<sqm-portal-container
direction="column"
padding="small"
gap="xxx-large"
display="grid"
max-width="100%"
background-color="#ffffff"
>
<sqm-portal-container
direction="column"
padding="none"
gap="xxx-large"
display="grid"
max-width="100%"
>
<sqm-hero-image
header="Refer a Friend"
description="Give $20.00, Get $10.00 giftcard"
layout="columns"
image-pos="right"
background-color="rgba(245, 245, 245, 1)"
image-percentage="50"
padding-text="xxxx-large"
image-url="https://res.cloudinary.com/saasquatch/image/upload/v1745331824/tenant_test_a3jnwnbwg2v2d/moxflqk5kgdhdmhfjwcg.png"
></sqm-hero-image>
</sqm-portal-container>
<sqm-qr-code></sqm-qr-code>

<sqm-portal-container> </sqm-portal-container>
<sqm-portal-container
direction="column"
padding="none"
gap="xxx-large"
max-width="770px"
center
display="grid"
>
<sqm-titled-section
text-align="center"
label-margin="small"
padding="none"
>
<div slot="label">
<h2>How it works</h2>
</div>
<div slot="content">
<p>
<span
>Give your friends $20.00 off their first order when they purchase
using your link. You'll receive a $10.00
giftcard&#x2014;it&#x2019;s a win-win.</span
>
</p>
</div> </sqm-titled-section
><sqm-stat-container space="xxx-large" display="flex">
<sqm-big-stat alignment="center" stat-type="/referralsCount">
<p>Referrals</p>
</sqm-big-stat>
<sqm-big-stat alignment="center" stat-type="/rewardsCount">
<p>Rewards Earned</p>
</sqm-big-stat>
</sqm-stat-container>

<sqm-portal-container
gap="x-small"
direction="column"
display="grid"
max-width="100%"
padding="none"
>
<p><sub>Your share link</sub></p>
<sqm-share-link
tooltip-text="Copied to Clipboard"
tooltip-lifespan="1000"
>
</sqm-share-link>
<sqm-portal-container
gap="x-small"
direction="row"
display="flex"
max-width="100%"
padding="none"
flex-wrap="nowrap"
>
<sqm-share-button medium="direct" slot hidetext
>Share</sqm-share-button
><sqm-share-button medium="linkedin" hidetext>
Share on LinkedIn</sqm-share-button
><sqm-share-button medium="fbmessenger" hidetext
>Share via Messenger</sqm-share-button
><sqm-share-button medium="email" hidetext>
Share via Email
</sqm-share-button>
</sqm-portal-container>
</sqm-portal-container>
<sqm-portal-container
gap="large"
direction="column"
display="grid"
max-width="100%"
padding="none"
>
<sqm-titled-section
padding="none"
text-align="center"
label-margin="xx-small"
>
<h3 slot="label">Referral History</h3>
</sqm-titled-section>
<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="User"
anonymous-user="Anonymous User"
deleted-user="Deleted User"
>
</sqm-referral-table-user-column>
<sqm-referral-table-status-column
column-title="Referral 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-referral-table-rewards-column
column-title="Rewards"
expiring-text="Expiring in"
fuel-tank-text="Your code is"
pending-for-text="{status} for {date}"
reward-received-text="Reward received on"
denied-help-text="Contact support if you think this is a mistake."
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} }"
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} }"
>
</sqm-referral-table-rewards-column>
<sqm-referral-table-date-column
column-title="Date referred"
date-shown="dateReferralStarted"
>
</sqm-referral-table-date-column>
<sqm-empty
slot="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"
></sqm-empty>
</sqm-referral-table>
</sqm-portal-container>
<sqm-portal-footer
support-email="[email protected]"
show-powered-by="true"
padding-bottom="none"
padding-left="none"
padding-right="none"
padding-top="none"
hide-support-text
></sqm-portal-footer>
</sqm-portal-container>
</sqm-portal-container>
</sqm-brand>
<sqm-portal-registration-form form-key="microsite-registration">
<sqm-marketing-emails-checkbox
slot="terms"
name="marketingEmails"
checkbox-label="I would like to receive marketing and promotional emails for this referral program"
required="false"
></sqm-marketing-emails-checkbox
><sqm-name-fields slot="formData"></sqm-name-fields>
</sqm-portal-registration-form>
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.

2 changes: 1 addition & 1 deletion 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": "1.14.0",
"version": "1.15.0-46",
"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
Loading