@saasquatch/mint-components 1.5.0-69 → 1.5.0-72
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/cjs/{GenericTableView-65598160.js → GenericTableView-2cdb4c5d.js} +5 -8
- package/dist/cjs/{ShadowViewAddon-25f524e4.js → ShadowViewAddon-fbbacd12.js} +25 -50
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/mint-components.cjs.js +1 -1
- package/dist/cjs/sqm-brand_28.cjs.entry.js +24 -20
- package/dist/cjs/sqm-image_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-portal-container-view-3bc23603.js → sqm-portal-container-view-fdfb3656.js} +1 -1
- package/dist/cjs/{sqm-portal-profile-view-25537e0b.js → sqm-portal-profile-view-637d2fe7.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +10 -351
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +45 -28
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +198 -105
- package/dist/cjs/sqm-tab-group.cjs.entry.js +20 -0
- package/dist/cjs/sqm-tab-panel.cjs.entry.js +20 -0
- package/dist/cjs/sqm-tab.cjs.entry.js +20 -0
- package/dist/cjs/useReferralTable-e473585e.js +348 -0
- package/dist/collection/collection-manifest.json +5 -2
- package/dist/collection/components/sqm-brand/sqm-brand.js +3 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +2 -2
- package/dist/collection/components/sqm-leaderboard/Leaderboard.stories.js +0 -3
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard-view.js +0 -1
- package/dist/collection/components/sqm-leaderboard/sqm-leaderboard.js +23 -10
- package/dist/collection/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.js +1 -1
- package/dist/collection/components/sqm-portal-container/PortalContainer.stories.js +5 -0
- package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
- package/dist/collection/components/sqm-portal-container/sqm-portal-container.js +20 -0
- package/dist/collection/components/sqm-program-explainer-step/sqm-program-explainer-step.js +6 -3
- package/dist/collection/components/sqm-referral-card/ReferralCard.stories.js +2 -65
- package/dist/collection/components/sqm-referral-card/sqm-referral-card.js +2 -42
- package/dist/collection/components/sqm-referral-table/ReferralTable.stories.js +41 -49
- package/dist/collection/components/sqm-referral-table/sqm-referral-table.js +17 -19
- package/dist/collection/components/sqm-referral-table/useReferralTable.js +345 -5
- package/dist/collection/components/sqm-reward-exchange-list/RewardExchangeListData.js +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/assets/Reward-image.png +0 -0
- package/dist/collection/components/sqm-reward-exchange-list/sqm-reward-exchange-list-view.js +3 -3
- package/dist/collection/components/sqm-rewards-table/RewardsTable.stories.js +44 -932
- package/dist/collection/components/sqm-rewards-table/RewardsTableCell.stories.js +35 -4
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-source-cell.js +5 -1
- package/dist/collection/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.js +77 -2
- package/dist/collection/components/sqm-rewards-table/columns/sqm-rewards-table-source-column.js +2 -2
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table.js +20 -23
- package/dist/collection/components/sqm-rewards-table/useRewardsTable.js +6 -9
- package/dist/collection/components/sqm-share-button/ShareButton.stories.js +1 -1
- package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +16 -40
- package/dist/collection/components/sqm-share-button/sqm-share-button.js +9 -3
- package/dist/collection/components/sqm-stencilbook/sqm-stencilbook.js +2 -0
- package/dist/collection/components/sqm-tab/sqm-tab.js +19 -0
- package/dist/collection/components/sqm-tab-group/sqm-tab-group.js +19 -0
- package/dist/collection/components/sqm-tab-panel/sqm-tab-panel.js +19 -0
- package/dist/collection/components/sqm-task-card/TaskCard.stories.js +3 -10
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +5 -5
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +1 -33
- package/dist/collection/components/{sqm-referral-card → sqm-timeline}/SVGs.js +0 -0
- package/dist/collection/components/sqm-timeline/Timeline.stories.js +64 -0
- package/dist/collection/components/{sqm-referral-card → sqm-timeline}/sqm-timeline-entry.js +0 -0
- package/dist/collection/components/{sqm-referral-card → sqm-timeline}/sqm-timeline.js +2 -0
- package/dist/collection/components/sqm-titled-section/TitledSection.stories.js +16 -6
- package/dist/collection/components/sqm-titled-section/sqm-titled-section.js +6 -3
- package/dist/collection/tables/GenericTableView.js +5 -8
- package/dist/esm/{GenericTableView-2b700cd4.js → GenericTableView-79b65de0.js} +5 -8
- package/dist/esm/{ShadowViewAddon-919cf983.js → ShadowViewAddon-98630948.js} +25 -50
- package/dist/esm/loader.js +1 -1
- package/dist/esm/mint-components.js +1 -1
- package/dist/esm/sqm-brand_28.entry.js +24 -20
- package/dist/esm/sqm-image_4.entry.js +1 -1
- package/dist/esm/{sqm-portal-container-view-624563e6.js → sqm-portal-container-view-f74db584.js} +1 -1
- package/dist/esm/{sqm-portal-profile-view-c0f86818.js → sqm-portal-profile-view-6a4ab589.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +50 -391
- package/dist/esm/sqm-rewards-table_9.entry.js +44 -27
- package/dist/esm/sqm-stencilbook.entry.js +198 -105
- package/dist/esm/sqm-tab-group.entry.js +16 -0
- package/dist/esm/sqm-tab-panel.entry.js +16 -0
- package/dist/esm/sqm-tab.entry.js +16 -0
- package/dist/esm/useReferralTable-bccb9ac0.js +345 -0
- package/dist/esm-es5/GenericTableView-79b65de0.js +1 -0
- package/dist/esm-es5/ShadowViewAddon-98630948.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-brand_28.entry.js +1 -1
- package/dist/esm-es5/sqm-image_4.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-container-view-624563e6.js → sqm-portal-container-view-f74db584.js} +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-c0f86818.js → sqm-portal-profile-view-6a4ab589.js} +1 -1
- package/dist/esm-es5/sqm-portal-profile.entry.js +1 -1
- package/dist/esm-es5/sqm-referral-table_11.entry.js +1 -1
- package/dist/esm-es5/sqm-rewards-table_9.entry.js +1 -1
- package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
- package/dist/esm-es5/sqm-tab-group.entry.js +1 -0
- package/dist/esm-es5/sqm-tab-panel.entry.js +1 -0
- package/dist/esm-es5/sqm-tab.entry.js +1 -0
- package/dist/esm-es5/useReferralTable-bccb9ac0.js +1 -0
- package/dist/mint-components/assets/Reward-image.png +0 -0
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/p-12c6ad5d.system.entry.js +1 -0
- package/dist/mint-components/p-14655192.js +161 -0
- package/dist/mint-components/{p-1d7902ec.system.entry.js → p-27849b7e.system.entry.js} +1 -1
- package/dist/mint-components/p-2d7db47e.entry.js +1 -0
- package/dist/mint-components/p-382a1bca.system.js +1 -0
- package/dist/mint-components/p-3a374367.js +1 -0
- package/dist/mint-components/{p-9da7df73.system.js → p-4dbf5bbf.system.js} +1 -1
- package/dist/mint-components/p-59454f33.system.js +1 -0
- package/dist/mint-components/p-5e3f4daa.system.entry.js +1 -0
- package/dist/mint-components/{p-b8f8422d.system.entry.js → p-61d68133.system.entry.js} +1 -1
- package/dist/mint-components/p-673407d4.entry.js +150 -0
- package/dist/mint-components/p-68c38020.entry.js +1 -0
- package/dist/mint-components/p-7aea48a0.entry.js +1 -0
- package/dist/mint-components/p-854ad349.entry.js +9 -0
- package/dist/mint-components/p-88765e8f.system.entry.js +1 -0
- package/dist/mint-components/p-8d74871c.system.js +1 -1
- package/dist/mint-components/p-95e36be8.entry.js +1 -0
- package/dist/mint-components/{p-0a1d7ec0.js → p-975d4358.js} +1 -1
- package/dist/mint-components/{p-3ea21dc2.entry.js → p-a2038ff2.entry.js} +1 -1
- package/dist/mint-components/p-aab3dc7b.system.entry.js +1 -0
- package/dist/mint-components/{p-0505f964.js → p-b18cc44f.js} +1 -1
- package/dist/mint-components/{p-1bc35369.system.js → p-bc19e1c2.system.js} +1 -1
- package/dist/mint-components/p-c968ea28.system.entry.js +1 -0
- package/dist/mint-components/p-d0acc0d5.system.js +1 -0
- package/dist/mint-components/p-d5f16295.entry.js +90 -0
- package/dist/mint-components/{p-5aa86d66.entry.js → p-d8a45132.entry.js} +2 -2
- package/dist/mint-components/p-de3e12a6.system.entry.js +1 -0
- package/dist/mint-components/p-f80e4997.system.entry.js +1 -0
- package/dist/mint-components/p-fc3bbee6.js +30 -0
- package/dist/types/components/sqm-brand/sqm-brand.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +1 -1
- package/dist/types/components/sqm-leaderboard/Leaderboard.stories.d.ts +0 -1
- package/dist/types/components/sqm-leaderboard/sqm-leaderboard.d.ts +5 -3
- package/dist/types/components/sqm-leaderboard/useLeaderboard.d.ts +1 -0
- package/dist/types/components/sqm-navigation-sidebar-item/sqm-navigation-sidebar-item.d.ts +2 -0
- package/dist/types/components/sqm-portal-container/PortalContainer.stories.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container-view.d.ts +1 -0
- package/dist/types/components/sqm-portal-container/sqm-portal-container.d.ts +4 -0
- package/dist/types/components/sqm-program-explainer-step/sqm-program-explainer-step.d.ts +5 -2
- package/dist/types/components/sqm-referral-card/ReferralCard.stories.d.ts +2 -5
- package/dist/types/components/sqm-referral-card/sqm-referral-card-view.d.ts +0 -2
- package/dist/types/components/sqm-referral-card/sqm-referral-card.d.ts +0 -8
- package/dist/types/components/sqm-referral-table/sqm-referral-table-view.d.ts +1 -1
- package/dist/types/components/sqm-referral-table/sqm-referral-table.d.ts +2 -2
- package/dist/types/components/sqm-referral-table/useReferralTable.d.ts +1 -0
- package/dist/types/components/sqm-rewards-table/RewardsTable.stories.d.ts +1 -2
- package/dist/types/components/sqm-rewards-table/RewardsTableCell.stories.d.ts +4 -0
- package/dist/types/components/sqm-rewards-table/cells/sqm-rewards-table-status-cell.d.ts +4 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table.d.ts +2 -2
- package/dist/types/components/sqm-rewards-table/useRewardsTable.d.ts +2 -2
- package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +6 -2
- package/dist/types/components/sqm-tab/sqm-tab.d.ts +6 -0
- package/dist/types/components/sqm-tab-group/sqm-tab-group.d.ts +6 -0
- package/dist/types/components/sqm-tab-panel/sqm-tab-panel.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -2
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +0 -4
- package/dist/types/components/{sqm-referral-card → sqm-timeline}/SVGs.d.ts +0 -0
- package/dist/types/components/sqm-timeline/Timeline.stories.d.ts +8 -0
- package/dist/types/components/{sqm-referral-card → sqm-timeline}/sqm-timeline-entry.d.ts +0 -0
- package/dist/types/components/{sqm-referral-card → sqm-timeline}/sqm-timeline.d.ts +0 -0
- package/dist/types/components/sqm-titled-section/sqm-titled-section.d.ts +6 -1
- package/dist/types/components.d.ts +112 -59
- package/dist/types/saasquatch.d.ts +4 -0
- package/dist/types/tables/GenericTableView.d.ts +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/collection/components/sqm-reward-exchange-list/assets/placeholder.png +0 -0
- package/dist/collection/components/sqm-rewards-table/sqm-rewards-table-view.js +0 -96
- package/dist/esm-es5/GenericTableView-2b700cd4.js +0 -1
- package/dist/esm-es5/ShadowViewAddon-919cf983.js +0 -1
- package/dist/mint-components/assets/placeholder.png +0 -0
- package/dist/mint-components/p-187f520b.entry.js +0 -86
- package/dist/mint-components/p-25ca6445.entry.js +0 -150
- package/dist/mint-components/p-31df3a21.entry.js +0 -161
- package/dist/mint-components/p-4c8273dc.system.entry.js +0 -1
- package/dist/mint-components/p-5619a993.system.js +0 -1
- package/dist/mint-components/p-9a18d853.system.js +0 -1
- package/dist/mint-components/p-ba7c209d.system.entry.js +0 -1
- package/dist/mint-components/p-bad9dd35.entry.js +0 -9
- package/dist/mint-components/p-f5c176e4.js +0 -30
- package/dist/mint-components/p-f890c414.js +0 -1
- package/dist/mint-components/p-f9194201.system.entry.js +0 -1
- package/dist/mint-components/p-f92a265b.system.entry.js +0 -1
- package/dist/types/components/sqm-rewards-table/sqm-rewards-table-view.d.ts +0 -32
|
@@ -89,6 +89,7 @@ export namespace Components {
|
|
|
89
89
|
/**
|
|
90
90
|
* Controls the primary brand color used in the Mint Components library. Note that this does not affect vanilla components or other component libraries.
|
|
91
91
|
* @uiName Brand Color
|
|
92
|
+
* @uiWidget color
|
|
92
93
|
*/
|
|
93
94
|
"brandColor": string;
|
|
94
95
|
/**
|
|
@@ -232,7 +233,7 @@ export namespace Components {
|
|
|
232
233
|
"imageMobilePos": "top" | "bottom";
|
|
233
234
|
/**
|
|
234
235
|
* @uiName Image Percentage
|
|
235
|
-
* @uiType
|
|
236
|
+
* @uiType number
|
|
236
237
|
*/
|
|
237
238
|
"imagePercentage": number;
|
|
238
239
|
/**
|
|
@@ -371,13 +372,14 @@ export namespace Components {
|
|
|
371
372
|
/**
|
|
372
373
|
* @uiName Rank Heading
|
|
373
374
|
*/
|
|
374
|
-
"rankheading"
|
|
375
|
+
"rankheading": string;
|
|
375
376
|
/**
|
|
376
|
-
* @uiName Show
|
|
377
|
+
* @uiName Show leaderboard rank
|
|
377
378
|
*/
|
|
378
379
|
"showRank": boolean;
|
|
379
380
|
/**
|
|
380
|
-
*
|
|
381
|
+
* Shows the current user's leaderboard information even if they are not in the top 10
|
|
382
|
+
* @uiName Show viewing user
|
|
381
383
|
*/
|
|
382
384
|
"showUser": boolean;
|
|
383
385
|
/**
|
|
@@ -460,6 +462,7 @@ export namespace Components {
|
|
|
460
462
|
*/
|
|
461
463
|
"demoData"?: DemoData<NavigationSidebarItemViewProps>;
|
|
462
464
|
/**
|
|
465
|
+
* Options available at https://shoelace.style/components/icon
|
|
463
466
|
* @uiName Icon
|
|
464
467
|
*/
|
|
465
468
|
"icon": string;
|
|
@@ -553,6 +556,10 @@ export namespace Components {
|
|
|
553
556
|
"successMessage": string;
|
|
554
557
|
}
|
|
555
558
|
interface SqmPortalContainer {
|
|
559
|
+
/**
|
|
560
|
+
* @uiName Center content
|
|
561
|
+
*/
|
|
562
|
+
"center": boolean;
|
|
556
563
|
/**
|
|
557
564
|
* @uiName Direction
|
|
558
565
|
* @uiType string
|
|
@@ -932,6 +939,7 @@ export namespace Components {
|
|
|
932
939
|
interface SqmProgramExplainerStep {
|
|
933
940
|
/**
|
|
934
941
|
* @uiName Background Color
|
|
942
|
+
* @uiWidget color
|
|
935
943
|
*/
|
|
936
944
|
"backgroundColor": string;
|
|
937
945
|
/**
|
|
@@ -943,16 +951,17 @@ export namespace Components {
|
|
|
943
951
|
*/
|
|
944
952
|
"header": string;
|
|
945
953
|
/**
|
|
954
|
+
* Options available at https://shoelace.style/components/icon
|
|
946
955
|
* @uiName Icon
|
|
947
956
|
*/
|
|
948
957
|
"icon"?: string;
|
|
949
958
|
/**
|
|
950
959
|
* Displayed in place of an icon
|
|
951
|
-
* @uiName Image
|
|
960
|
+
* @uiName Image Url
|
|
952
961
|
*/
|
|
953
962
|
"imageUrl"?: string;
|
|
954
963
|
/**
|
|
955
|
-
* @uiName Color
|
|
964
|
+
* @uiName Text Color
|
|
956
965
|
* @uiWidget color
|
|
957
966
|
*/
|
|
958
967
|
"textColor": string;
|
|
@@ -960,14 +969,6 @@ export namespace Components {
|
|
|
960
969
|
interface SqmProgramMenu {
|
|
961
970
|
}
|
|
962
971
|
interface SqmReferralCard {
|
|
963
|
-
/**
|
|
964
|
-
* @uiName Description Text
|
|
965
|
-
*/
|
|
966
|
-
"description": string;
|
|
967
|
-
/**
|
|
968
|
-
* @uiName Header Text
|
|
969
|
-
*/
|
|
970
|
-
"header": string;
|
|
971
972
|
/**
|
|
972
973
|
* @uiName Padding
|
|
973
974
|
* @uiType string
|
|
@@ -1007,18 +1008,18 @@ export namespace Components {
|
|
|
1007
1008
|
* @uiType object
|
|
1008
1009
|
*/
|
|
1009
1010
|
"demoData"?: DemoData<GenericTableViewProps>;
|
|
1011
|
+
/**
|
|
1012
|
+
* @uiName Empty State Title
|
|
1013
|
+
*/
|
|
1014
|
+
"emptyStateHeader": string;
|
|
1010
1015
|
/**
|
|
1011
1016
|
* @uiName Empty State Image Link
|
|
1012
1017
|
*/
|
|
1013
|
-
"
|
|
1018
|
+
"emptyStateImage": string;
|
|
1014
1019
|
/**
|
|
1015
1020
|
* @uiName Empty State Text
|
|
1016
1021
|
*/
|
|
1017
1022
|
"emptyStateText": string;
|
|
1018
|
-
/**
|
|
1019
|
-
* @uiName Empty State Title
|
|
1020
|
-
*/
|
|
1021
|
-
"emptyStateTitle": string;
|
|
1022
1023
|
/**
|
|
1023
1024
|
* @uiName Hide Columns (Mobile View)
|
|
1024
1025
|
*/
|
|
@@ -1295,18 +1296,18 @@ export namespace Components {
|
|
|
1295
1296
|
* @uiType object
|
|
1296
1297
|
*/
|
|
1297
1298
|
"demoData"?: DemoData<GenericTableViewProps>;
|
|
1299
|
+
/**
|
|
1300
|
+
* @uiName Empty State Title
|
|
1301
|
+
*/
|
|
1302
|
+
"emptyStateHeader": string;
|
|
1298
1303
|
/**
|
|
1299
1304
|
* @uiName Empty State Image Link
|
|
1300
1305
|
*/
|
|
1301
|
-
"
|
|
1306
|
+
"emptyStateImage": string;
|
|
1302
1307
|
/**
|
|
1303
1308
|
* @uiName Empty State Text
|
|
1304
1309
|
*/
|
|
1305
1310
|
"emptyStateText": string;
|
|
1306
|
-
/**
|
|
1307
|
-
* @uiName Empty State Title
|
|
1308
|
-
*/
|
|
1309
|
-
"emptyStateTitle": string;
|
|
1310
1311
|
/**
|
|
1311
1312
|
* @uiName Hide Columns (Mobile View)
|
|
1312
1313
|
*/
|
|
@@ -1422,6 +1423,9 @@ export namespace Components {
|
|
|
1422
1423
|
interface SqmRewardsTableStatusCell {
|
|
1423
1424
|
"expiryText": string;
|
|
1424
1425
|
"locale": string;
|
|
1426
|
+
"pendingScheduled": string;
|
|
1427
|
+
"pendingUnhandled": string;
|
|
1428
|
+
"pendingUsTax": string;
|
|
1425
1429
|
"reward": Reward;
|
|
1426
1430
|
"statusText": string;
|
|
1427
1431
|
}
|
|
@@ -1452,6 +1456,7 @@ export namespace Components {
|
|
|
1452
1456
|
interface SqmShareButton {
|
|
1453
1457
|
/**
|
|
1454
1458
|
* @uiName Button background color
|
|
1459
|
+
* @uiWidget color
|
|
1455
1460
|
*/
|
|
1456
1461
|
"backgroundcolor"?: string;
|
|
1457
1462
|
/**
|
|
@@ -1476,6 +1481,7 @@ export namespace Components {
|
|
|
1476
1481
|
*/
|
|
1477
1482
|
"hidetext"?: boolean;
|
|
1478
1483
|
/**
|
|
1484
|
+
* Options available at https://shoelace.style/components/icon
|
|
1479
1485
|
* @uiName Icon used in button. Will try to select an icon based on the share medium if left empty.
|
|
1480
1486
|
*/
|
|
1481
1487
|
"icon"?: string;
|
|
@@ -1490,8 +1496,8 @@ export namespace Components {
|
|
|
1490
1496
|
* The social medium to share on. Share messages and links will be pulled from your program config and tagged for analytics.
|
|
1491
1497
|
* @uiName Share Medium
|
|
1492
1498
|
* @uiType string
|
|
1493
|
-
* @uiEnum ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest"
|
|
1494
|
-
* @uiEnumNames ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest"
|
|
1499
|
+
* @uiEnum ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest" ]
|
|
1500
|
+
* @uiEnumNames ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest"]
|
|
1495
1501
|
*/
|
|
1496
1502
|
"medium": | "facebook"
|
|
1497
1503
|
| "twitter"
|
|
@@ -1531,6 +1537,7 @@ export namespace Components {
|
|
|
1531
1537
|
"size"?: "small" | "medium" | "large";
|
|
1532
1538
|
/**
|
|
1533
1539
|
* @uiName Button text color
|
|
1540
|
+
* @uiWidget color
|
|
1534
1541
|
*/
|
|
1535
1542
|
"textcolor"?: string;
|
|
1536
1543
|
/**
|
|
@@ -1600,6 +1607,12 @@ export namespace Components {
|
|
|
1600
1607
|
}
|
|
1601
1608
|
interface SqmStencilbook {
|
|
1602
1609
|
}
|
|
1610
|
+
interface SqmTab {
|
|
1611
|
+
}
|
|
1612
|
+
interface SqmTabGroup {
|
|
1613
|
+
}
|
|
1614
|
+
interface SqmTabPanel {
|
|
1615
|
+
}
|
|
1603
1616
|
interface SqmTableCell {
|
|
1604
1617
|
"colspan": number;
|
|
1605
1618
|
"padding": string;
|
|
@@ -1693,10 +1706,6 @@ export namespace Components {
|
|
|
1693
1706
|
* @uiName Reward Unit
|
|
1694
1707
|
*/
|
|
1695
1708
|
"rewardUnit": string;
|
|
1696
|
-
/**
|
|
1697
|
-
* @uiName Show Goal Expiry
|
|
1698
|
-
*/
|
|
1699
|
-
"showExpiry": boolean;
|
|
1700
1709
|
/**
|
|
1701
1710
|
* @uiName Show Progress Bar
|
|
1702
1711
|
*/
|
|
@@ -1765,6 +1774,10 @@ export namespace Components {
|
|
|
1765
1774
|
"unit": string;
|
|
1766
1775
|
}
|
|
1767
1776
|
interface SqmTitledSection {
|
|
1777
|
+
/**
|
|
1778
|
+
* Label for the section unless overwritten via the label slot.
|
|
1779
|
+
* @uiName Label
|
|
1780
|
+
*/
|
|
1768
1781
|
"label": string;
|
|
1769
1782
|
/**
|
|
1770
1783
|
* @uiName Label margin style
|
|
@@ -2204,6 +2217,24 @@ declare global {
|
|
|
2204
2217
|
prototype: HTMLSqmStencilbookElement;
|
|
2205
2218
|
new (): HTMLSqmStencilbookElement;
|
|
2206
2219
|
};
|
|
2220
|
+
interface HTMLSqmTabElement extends Components.SqmTab, HTMLStencilElement {
|
|
2221
|
+
}
|
|
2222
|
+
var HTMLSqmTabElement: {
|
|
2223
|
+
prototype: HTMLSqmTabElement;
|
|
2224
|
+
new (): HTMLSqmTabElement;
|
|
2225
|
+
};
|
|
2226
|
+
interface HTMLSqmTabGroupElement extends Components.SqmTabGroup, HTMLStencilElement {
|
|
2227
|
+
}
|
|
2228
|
+
var HTMLSqmTabGroupElement: {
|
|
2229
|
+
prototype: HTMLSqmTabGroupElement;
|
|
2230
|
+
new (): HTMLSqmTabGroupElement;
|
|
2231
|
+
};
|
|
2232
|
+
interface HTMLSqmTabPanelElement extends Components.SqmTabPanel, HTMLStencilElement {
|
|
2233
|
+
}
|
|
2234
|
+
var HTMLSqmTabPanelElement: {
|
|
2235
|
+
prototype: HTMLSqmTabPanelElement;
|
|
2236
|
+
new (): HTMLSqmTabPanelElement;
|
|
2237
|
+
};
|
|
2207
2238
|
interface HTMLSqmTableCellElement extends Components.SqmTableCell, HTMLStencilElement {
|
|
2208
2239
|
}
|
|
2209
2240
|
var HTMLSqmTableCellElement: {
|
|
@@ -2326,6 +2357,9 @@ declare global {
|
|
|
2326
2357
|
"sqm-share-link": HTMLSqmShareLinkElement;
|
|
2327
2358
|
"sqm-stat-container": HTMLSqmStatContainerElement;
|
|
2328
2359
|
"sqm-stencilbook": HTMLSqmStencilbookElement;
|
|
2360
|
+
"sqm-tab": HTMLSqmTabElement;
|
|
2361
|
+
"sqm-tab-group": HTMLSqmTabGroupElement;
|
|
2362
|
+
"sqm-tab-panel": HTMLSqmTabPanelElement;
|
|
2329
2363
|
"sqm-table-cell": HTMLSqmTableCellElement;
|
|
2330
2364
|
"sqm-table-row": HTMLSqmTableRowElement;
|
|
2331
2365
|
"sqm-task-card": HTMLSqmTaskCardElement;
|
|
@@ -2392,6 +2426,7 @@ declare namespace LocalJSX {
|
|
|
2392
2426
|
/**
|
|
2393
2427
|
* Controls the primary brand color used in the Mint Components library. Note that this does not affect vanilla components or other component libraries.
|
|
2394
2428
|
* @uiName Brand Color
|
|
2429
|
+
* @uiWidget color
|
|
2395
2430
|
*/
|
|
2396
2431
|
"brandColor"?: string;
|
|
2397
2432
|
/**
|
|
@@ -2535,7 +2570,7 @@ declare namespace LocalJSX {
|
|
|
2535
2570
|
"imageMobilePos"?: "top" | "bottom";
|
|
2536
2571
|
/**
|
|
2537
2572
|
* @uiName Image Percentage
|
|
2538
|
-
* @uiType
|
|
2573
|
+
* @uiType number
|
|
2539
2574
|
*/
|
|
2540
2575
|
"imagePercentage"?: number;
|
|
2541
2576
|
/**
|
|
@@ -2676,11 +2711,12 @@ declare namespace LocalJSX {
|
|
|
2676
2711
|
*/
|
|
2677
2712
|
"rankheading"?: string;
|
|
2678
2713
|
/**
|
|
2679
|
-
* @uiName Show
|
|
2714
|
+
* @uiName Show leaderboard rank
|
|
2680
2715
|
*/
|
|
2681
2716
|
"showRank"?: boolean;
|
|
2682
2717
|
/**
|
|
2683
|
-
*
|
|
2718
|
+
* Shows the current user's leaderboard information even if they are not in the top 10
|
|
2719
|
+
* @uiName Show viewing user
|
|
2684
2720
|
*/
|
|
2685
2721
|
"showUser"?: boolean;
|
|
2686
2722
|
/**
|
|
@@ -2763,6 +2799,7 @@ declare namespace LocalJSX {
|
|
|
2763
2799
|
*/
|
|
2764
2800
|
"demoData"?: DemoData<NavigationSidebarItemViewProps>;
|
|
2765
2801
|
/**
|
|
2802
|
+
* Options available at https://shoelace.style/components/icon
|
|
2766
2803
|
* @uiName Icon
|
|
2767
2804
|
*/
|
|
2768
2805
|
"icon"?: string;
|
|
@@ -2856,6 +2893,10 @@ declare namespace LocalJSX {
|
|
|
2856
2893
|
"successMessage"?: string;
|
|
2857
2894
|
}
|
|
2858
2895
|
interface SqmPortalContainer {
|
|
2896
|
+
/**
|
|
2897
|
+
* @uiName Center content
|
|
2898
|
+
*/
|
|
2899
|
+
"center"?: boolean;
|
|
2859
2900
|
/**
|
|
2860
2901
|
* @uiName Direction
|
|
2861
2902
|
* @uiType string
|
|
@@ -3235,6 +3276,7 @@ declare namespace LocalJSX {
|
|
|
3235
3276
|
interface SqmProgramExplainerStep {
|
|
3236
3277
|
/**
|
|
3237
3278
|
* @uiName Background Color
|
|
3279
|
+
* @uiWidget color
|
|
3238
3280
|
*/
|
|
3239
3281
|
"backgroundColor"?: string;
|
|
3240
3282
|
/**
|
|
@@ -3246,16 +3288,17 @@ declare namespace LocalJSX {
|
|
|
3246
3288
|
*/
|
|
3247
3289
|
"header"?: string;
|
|
3248
3290
|
/**
|
|
3291
|
+
* Options available at https://shoelace.style/components/icon
|
|
3249
3292
|
* @uiName Icon
|
|
3250
3293
|
*/
|
|
3251
3294
|
"icon"?: string;
|
|
3252
3295
|
/**
|
|
3253
3296
|
* Displayed in place of an icon
|
|
3254
|
-
* @uiName Image
|
|
3297
|
+
* @uiName Image Url
|
|
3255
3298
|
*/
|
|
3256
3299
|
"imageUrl"?: string;
|
|
3257
3300
|
/**
|
|
3258
|
-
* @uiName Color
|
|
3301
|
+
* @uiName Text Color
|
|
3259
3302
|
* @uiWidget color
|
|
3260
3303
|
*/
|
|
3261
3304
|
"textColor"?: string;
|
|
@@ -3263,14 +3306,6 @@ declare namespace LocalJSX {
|
|
|
3263
3306
|
interface SqmProgramMenu {
|
|
3264
3307
|
}
|
|
3265
3308
|
interface SqmReferralCard {
|
|
3266
|
-
/**
|
|
3267
|
-
* @uiName Description Text
|
|
3268
|
-
*/
|
|
3269
|
-
"description"?: string;
|
|
3270
|
-
/**
|
|
3271
|
-
* @uiName Header Text
|
|
3272
|
-
*/
|
|
3273
|
-
"header"?: string;
|
|
3274
3309
|
/**
|
|
3275
3310
|
* @uiName Padding
|
|
3276
3311
|
* @uiType string
|
|
@@ -3310,18 +3345,18 @@ declare namespace LocalJSX {
|
|
|
3310
3345
|
* @uiType object
|
|
3311
3346
|
*/
|
|
3312
3347
|
"demoData"?: DemoData<GenericTableViewProps>;
|
|
3348
|
+
/**
|
|
3349
|
+
* @uiName Empty State Title
|
|
3350
|
+
*/
|
|
3351
|
+
"emptyStateHeader"?: string;
|
|
3313
3352
|
/**
|
|
3314
3353
|
* @uiName Empty State Image Link
|
|
3315
3354
|
*/
|
|
3316
|
-
"
|
|
3355
|
+
"emptyStateImage"?: string;
|
|
3317
3356
|
/**
|
|
3318
3357
|
* @uiName Empty State Text
|
|
3319
3358
|
*/
|
|
3320
3359
|
"emptyStateText"?: string;
|
|
3321
|
-
/**
|
|
3322
|
-
* @uiName Empty State Title
|
|
3323
|
-
*/
|
|
3324
|
-
"emptyStateTitle"?: string;
|
|
3325
3360
|
/**
|
|
3326
3361
|
* @uiName Hide Columns (Mobile View)
|
|
3327
3362
|
*/
|
|
@@ -3588,18 +3623,18 @@ declare namespace LocalJSX {
|
|
|
3588
3623
|
* @uiType object
|
|
3589
3624
|
*/
|
|
3590
3625
|
"demoData"?: DemoData<GenericTableViewProps>;
|
|
3626
|
+
/**
|
|
3627
|
+
* @uiName Empty State Title
|
|
3628
|
+
*/
|
|
3629
|
+
"emptyStateHeader"?: string;
|
|
3591
3630
|
/**
|
|
3592
3631
|
* @uiName Empty State Image Link
|
|
3593
3632
|
*/
|
|
3594
|
-
"
|
|
3633
|
+
"emptyStateImage"?: string;
|
|
3595
3634
|
/**
|
|
3596
3635
|
* @uiName Empty State Text
|
|
3597
3636
|
*/
|
|
3598
3637
|
"emptyStateText"?: string;
|
|
3599
|
-
/**
|
|
3600
|
-
* @uiName Empty State Title
|
|
3601
|
-
*/
|
|
3602
|
-
"emptyStateTitle"?: string;
|
|
3603
3638
|
/**
|
|
3604
3639
|
* @uiName Hide Columns (Mobile View)
|
|
3605
3640
|
*/
|
|
@@ -3709,6 +3744,9 @@ declare namespace LocalJSX {
|
|
|
3709
3744
|
interface SqmRewardsTableStatusCell {
|
|
3710
3745
|
"expiryText"?: string;
|
|
3711
3746
|
"locale"?: string;
|
|
3747
|
+
"pendingScheduled"?: string;
|
|
3748
|
+
"pendingUnhandled"?: string;
|
|
3749
|
+
"pendingUsTax"?: string;
|
|
3712
3750
|
"reward"?: Reward;
|
|
3713
3751
|
"statusText"?: string;
|
|
3714
3752
|
}
|
|
@@ -3737,6 +3775,7 @@ declare namespace LocalJSX {
|
|
|
3737
3775
|
interface SqmShareButton {
|
|
3738
3776
|
/**
|
|
3739
3777
|
* @uiName Button background color
|
|
3778
|
+
* @uiWidget color
|
|
3740
3779
|
*/
|
|
3741
3780
|
"backgroundcolor"?: string;
|
|
3742
3781
|
/**
|
|
@@ -3761,6 +3800,7 @@ declare namespace LocalJSX {
|
|
|
3761
3800
|
*/
|
|
3762
3801
|
"hidetext"?: boolean;
|
|
3763
3802
|
/**
|
|
3803
|
+
* Options available at https://shoelace.style/components/icon
|
|
3764
3804
|
* @uiName Icon used in button. Will try to select an icon based on the share medium if left empty.
|
|
3765
3805
|
*/
|
|
3766
3806
|
"icon"?: string;
|
|
@@ -3775,8 +3815,8 @@ declare namespace LocalJSX {
|
|
|
3775
3815
|
* The social medium to share on. Share messages and links will be pulled from your program config and tagged for analytics.
|
|
3776
3816
|
* @uiName Share Medium
|
|
3777
3817
|
* @uiType string
|
|
3778
|
-
* @uiEnum ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest"
|
|
3779
|
-
* @uiEnumNames ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest"
|
|
3818
|
+
* @uiEnum ["facebook", "twitter", "email", "direct", "linkedin", "sms", "fbmessenger", "whatsapp", "linemessenger", "pinterest" ]
|
|
3819
|
+
* @uiEnumNames ["Facebook", "Twitter", "Email", "Web Share Sheet", "Linkedin", "SMS", "Facebook Messenger", "Whatsapp", "Line Messenger", "Pinterest"]
|
|
3780
3820
|
*/
|
|
3781
3821
|
"medium"?: | "facebook"
|
|
3782
3822
|
| "twitter"
|
|
@@ -3816,6 +3856,7 @@ declare namespace LocalJSX {
|
|
|
3816
3856
|
"size"?: "small" | "medium" | "large";
|
|
3817
3857
|
/**
|
|
3818
3858
|
* @uiName Button text color
|
|
3859
|
+
* @uiWidget color
|
|
3819
3860
|
*/
|
|
3820
3861
|
"textcolor"?: string;
|
|
3821
3862
|
/**
|
|
@@ -3885,6 +3926,12 @@ declare namespace LocalJSX {
|
|
|
3885
3926
|
}
|
|
3886
3927
|
interface SqmStencilbook {
|
|
3887
3928
|
}
|
|
3929
|
+
interface SqmTab {
|
|
3930
|
+
}
|
|
3931
|
+
interface SqmTabGroup {
|
|
3932
|
+
}
|
|
3933
|
+
interface SqmTabPanel {
|
|
3934
|
+
}
|
|
3888
3935
|
interface SqmTableCell {
|
|
3889
3936
|
"colspan"?: number;
|
|
3890
3937
|
"padding"?: string;
|
|
@@ -3978,10 +4025,6 @@ declare namespace LocalJSX {
|
|
|
3978
4025
|
* @uiName Reward Unit
|
|
3979
4026
|
*/
|
|
3980
4027
|
"rewardUnit"?: string;
|
|
3981
|
-
/**
|
|
3982
|
-
* @uiName Show Goal Expiry
|
|
3983
|
-
*/
|
|
3984
|
-
"showExpiry"?: boolean;
|
|
3985
4028
|
/**
|
|
3986
4029
|
* @uiName Show Progress Bar
|
|
3987
4030
|
*/
|
|
@@ -4050,6 +4093,10 @@ declare namespace LocalJSX {
|
|
|
4050
4093
|
"unit"?: string;
|
|
4051
4094
|
}
|
|
4052
4095
|
interface SqmTitledSection {
|
|
4096
|
+
/**
|
|
4097
|
+
* Label for the section unless overwritten via the label slot.
|
|
4098
|
+
* @uiName Label
|
|
4099
|
+
*/
|
|
4053
4100
|
"label"?: string;
|
|
4054
4101
|
/**
|
|
4055
4102
|
* @uiName Label margin style
|
|
@@ -4153,6 +4200,9 @@ declare namespace LocalJSX {
|
|
|
4153
4200
|
"sqm-share-link": SqmShareLink;
|
|
4154
4201
|
"sqm-stat-container": SqmStatContainer;
|
|
4155
4202
|
"sqm-stencilbook": SqmStencilbook;
|
|
4203
|
+
"sqm-tab": SqmTab;
|
|
4204
|
+
"sqm-tab-group": SqmTabGroup;
|
|
4205
|
+
"sqm-tab-panel": SqmTabPanel;
|
|
4156
4206
|
"sqm-table-cell": SqmTableCell;
|
|
4157
4207
|
"sqm-table-row": SqmTableRow;
|
|
4158
4208
|
"sqm-task-card": SqmTaskCard;
|
|
@@ -4235,6 +4285,9 @@ declare module "@stencil/core" {
|
|
|
4235
4285
|
"sqm-share-link": LocalJSX.SqmShareLink & JSXBase.HTMLAttributes<HTMLSqmShareLinkElement>;
|
|
4236
4286
|
"sqm-stat-container": LocalJSX.SqmStatContainer & JSXBase.HTMLAttributes<HTMLSqmStatContainerElement>;
|
|
4237
4287
|
"sqm-stencilbook": LocalJSX.SqmStencilbook & JSXBase.HTMLAttributes<HTMLSqmStencilbookElement>;
|
|
4288
|
+
"sqm-tab": LocalJSX.SqmTab & JSXBase.HTMLAttributes<HTMLSqmTabElement>;
|
|
4289
|
+
"sqm-tab-group": LocalJSX.SqmTabGroup & JSXBase.HTMLAttributes<HTMLSqmTabGroupElement>;
|
|
4290
|
+
"sqm-tab-panel": LocalJSX.SqmTabPanel & JSXBase.HTMLAttributes<HTMLSqmTabPanelElement>;
|
|
4238
4291
|
"sqm-table-cell": LocalJSX.SqmTableCell & JSXBase.HTMLAttributes<HTMLSqmTableCellElement>;
|
|
4239
4292
|
"sqm-table-row": LocalJSX.SqmTableRow & JSXBase.HTMLAttributes<HTMLSqmTableRowElement>;
|
|
4240
4293
|
"sqm-task-card": LocalJSX.SqmTaskCard & JSXBase.HTMLAttributes<HTMLSqmTaskCardElement>;
|
|
@@ -56,6 +56,9 @@ interface Reward {
|
|
|
56
56
|
prettyAssignedCredit?: string;
|
|
57
57
|
prettyAvailableValue?: string;
|
|
58
58
|
programId?: string;
|
|
59
|
+
program?: {
|
|
60
|
+
name: string;
|
|
61
|
+
};
|
|
59
62
|
statuses: string[];
|
|
60
63
|
globalRewardKey?: string;
|
|
61
64
|
rewardSource?:
|
|
@@ -77,6 +80,7 @@ interface Reward {
|
|
|
77
80
|
exchangedRewards: Reward[];
|
|
78
81
|
};
|
|
79
82
|
referral?: Referral;
|
|
83
|
+
pendingReasons?: string[];
|
|
80
84
|
rewardRedemptionTransactions: {
|
|
81
85
|
data: [
|
|
82
86
|
{
|