@saasquatch/mint-components 1.15.0-38 → 1.15.0-39
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-925a0842.js → GenericTableView-40fd9dd1.js} +1 -1
- package/dist/cjs/{ShadowViewAddon-3460f9e5.js → ShadowViewAddon-8993904c.js} +26 -21
- package/dist/cjs/{copy-text-view-f0702822.js → copy-text-view-9017cd99.js} +3 -2
- package/dist/cjs/{global-efeaed0c.js → global-a1506e15.js} +100 -105
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/mint-components.cjs.js +2 -2
- package/dist/cjs/sqm-banking-info-form_17.cjs.entry.js +168 -114
- package/dist/cjs/sqm-big-stat_41.cjs.entry.js +23 -21
- package/dist/cjs/sqm-email-verification.cjs.entry.js +1 -1
- package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
- package/dist/cjs/{sqm-invoice-table-view-64038caf.js → sqm-invoice-table-view-d4bc23a8.js} +1 -1
- package/dist/cjs/{sqm-leaderboard-rank-view-d39a55d8.js → sqm-leaderboard-rank-view-7c6cebe3.js} +1 -1
- package/dist/cjs/sqm-leaderboard-rank.cjs.entry.js +2 -2
- package/dist/cjs/sqm-pagination_3.cjs.entry.js +10 -10
- package/dist/cjs/{sqm-portal-email-verification-view-f41d2630.js → sqm-portal-email-verification-view-b6a76150.js} +1 -1
- package/dist/cjs/sqm-portal-email-verification.cjs.entry.js +2 -2
- package/dist/cjs/{sqm-portal-profile-view-8ed04298.js → sqm-portal-profile-view-0639cfa0.js} +1 -1
- package/dist/cjs/sqm-portal-profile.cjs.entry.js +2 -2
- package/dist/cjs/sqm-referral-table_11.cjs.entry.js +2 -2
- package/dist/cjs/sqm-rewards-table_9.cjs.entry.js +2 -2
- package/dist/cjs/sqm-stencilbook.cjs.entry.js +17 -8
- package/dist/collection/components/sqm-coupon-code/CouponCode.stories.js +7 -0
- package/dist/collection/components/sqm-coupon-code/sqm-coupon-code.js +3 -3
- package/dist/collection/components/sqm-coupon-code/useCouponCode.js +1 -0
- package/dist/collection/components/sqm-hero-image/sqm-hero-image-view.js +3 -2
- package/dist/collection/components/sqm-hero-image/sqm-hero-image.js +8 -8
- package/dist/collection/components/sqm-leaderboard-rank/sqm-leaderboard-rank-view.js +2 -2
- package/dist/collection/components/sqm-logout-current-user/sqm-logout-current-user.js +1 -1
- package/dist/collection/components/sqm-pagination/sqm-pagination-view.js +2 -2
- package/dist/collection/components/sqm-pagination/sqm-pagination.js +8 -8
- package/dist/collection/components/sqm-portal-change-password/sqm-portal-change-password.js +1 -1
- package/dist/collection/components/sqm-portal-footer/sqm-portal-footer-view.js +6 -6
- package/dist/collection/components/sqm-referral-code/sqm-referral-code.js +9 -9
- package/dist/collection/components/sqm-share-code/sqm-share-code.js +9 -9
- package/dist/collection/components/sqm-share-link/sqm-share-link.js +9 -9
- package/dist/collection/components/sqm-task-card/DetailsView.js +7 -1
- package/dist/collection/components/sqm-task-card/progress-bar/progress-bar-view.js +3 -2
- package/dist/collection/components/sqm-task-card/sqm-task-card-view.js +8 -10
- package/dist/collection/components/sqm-task-card/sqm-task-card.js +10 -10
- package/dist/collection/components/sqm-task-card/useTaskCard.js +1 -1
- package/dist/collection/components/sqm-timeline/sqm-timeline-entry-view.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-banking-info-form/sqm-banking-info-form-view.js +18 -30
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/docusign-iframe/DocusignIframe.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form-view.js +14 -26
- package/dist/collection/components/tax-and-cash/sqm-docusign-form/sqm-docusign-form.js +2 -2
- package/dist/collection/components/tax-and-cash/sqm-indirect-tax-form/sqm-indirect-tax-form-view.js +55 -11
- package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +74 -40
- package/dist/collection/components/views/copy-text-view.js +3 -2
- package/dist/collection/global/styles.js +100 -105
- package/dist/collection/global/styles.ts +100 -105
- package/dist/collection/tables/GenericTableView.js +1 -1
- package/dist/esm/{GenericTableView-cb1581d8.js → GenericTableView-708c49d6.js} +1 -1
- package/dist/esm/{ShadowViewAddon-168ab439.js → ShadowViewAddon-4e3d77d4.js} +26 -21
- package/dist/esm/{copy-text-view-3f41072a.js → copy-text-view-0faf5db4.js} +3 -2
- package/dist/esm/{global-8245250a.js → global-7687af94.js} +100 -105
- package/dist/esm/loader.js +2 -2
- package/dist/esm/mint-components.js +2 -2
- package/dist/esm/sqm-banking-info-form_17.entry.js +168 -114
- package/dist/esm/sqm-big-stat_41.entry.js +23 -21
- package/dist/esm/sqm-email-verification.entry.js +1 -1
- package/dist/esm/sqm-empty_4.entry.js +1 -1
- package/dist/esm/{sqm-invoice-table-view-fc6d1809.js → sqm-invoice-table-view-b33d96e3.js} +1 -1
- package/dist/esm/{sqm-leaderboard-rank-view-753c8d4a.js → sqm-leaderboard-rank-view-84b3c539.js} +1 -1
- package/dist/esm/sqm-leaderboard-rank.entry.js +2 -2
- package/dist/esm/sqm-pagination_3.entry.js +10 -10
- package/dist/esm/{sqm-portal-email-verification-view-e43830d8.js → sqm-portal-email-verification-view-4a0f0e0e.js} +1 -1
- package/dist/esm/sqm-portal-email-verification.entry.js +2 -2
- package/dist/esm/{sqm-portal-profile-view-6168db65.js → sqm-portal-profile-view-62d46ac3.js} +1 -1
- package/dist/esm/sqm-portal-profile.entry.js +2 -2
- package/dist/esm/sqm-referral-table_11.entry.js +2 -2
- package/dist/esm/sqm-rewards-table_9.entry.js +2 -2
- package/dist/esm/sqm-stencilbook.entry.js +17 -8
- package/dist/esm-es5/{GenericTableView-cb1581d8.js → GenericTableView-708c49d6.js} +1 -1
- package/dist/esm-es5/ShadowViewAddon-4e3d77d4.js +1 -0
- package/dist/esm-es5/copy-text-view-0faf5db4.js +1 -0
- package/dist/esm-es5/{global-8245250a.js → global-7687af94.js} +1 -1
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/mint-components.js +1 -1
- package/dist/esm-es5/sqm-banking-info-form_17.entry.js +1 -1
- package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
- package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
- package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
- package/dist/esm-es5/{sqm-invoice-table-view-fc6d1809.js → sqm-invoice-table-view-b33d96e3.js} +1 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-84b3c539.js +1 -0
- package/dist/esm-es5/sqm-leaderboard-rank.entry.js +1 -1
- package/dist/esm-es5/sqm-pagination_3.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-email-verification-view-e43830d8.js → sqm-portal-email-verification-view-4a0f0e0e.js} +1 -1
- package/dist/esm-es5/sqm-portal-email-verification.entry.js +1 -1
- package/dist/esm-es5/{sqm-portal-profile-view-6168db65.js → sqm-portal-profile-view-62d46ac3.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/mint-components/global/styles.ts +100 -105
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/mint-components.js +1 -1
- package/dist/mint-components/{p-fec8efdd.entry.js → p-08b16fb7.entry.js} +4 -4
- package/dist/mint-components/{p-980f20d2.entry.js → p-0b8d5d3d.entry.js} +7 -7
- package/dist/mint-components/{p-6299deb2.js → p-20739990.js} +24 -24
- package/dist/mint-components/{p-294f6682.js → p-2e8e67cc.js} +1 -1
- package/dist/mint-components/{p-439d83e0.system.js → p-34769eff.system.js} +1 -1
- package/dist/mint-components/{p-f5d85e3e.system.entry.js → p-34ac0b09.system.entry.js} +1 -1
- package/dist/mint-components/p-3d2f8cbc.system.js +1 -0
- package/dist/mint-components/{p-7e946977.js → p-433824e2.js} +1 -1
- package/dist/mint-components/{p-ffaaec76.system.js → p-44ac52a2.system.js} +1 -1
- package/dist/mint-components/{p-b368a2c8.system.entry.js → p-66f1e3ca.system.entry.js} +1 -1
- package/dist/mint-components/p-80ff5401.js +1 -0
- package/dist/mint-components/p-848e9ec3.system.entry.js +1 -0
- package/dist/mint-components/p-86503f64.system.js +1 -0
- package/dist/mint-components/{p-1bce039d.js → p-8c0b1ac0.js} +1 -1
- package/dist/mint-components/{p-f028fab1.system.entry.js → p-902b7a82.system.entry.js} +1 -1
- package/dist/mint-components/p-9364bafc.js +394 -0
- package/dist/mint-components/{p-bae04b8f.system.entry.js → p-98787da3.system.entry.js} +1 -1
- package/dist/mint-components/{p-6f6d012c.system.entry.js → p-9cd6bfdc.system.entry.js} +1 -1
- package/dist/mint-components/{p-9e1c1de0.entry.js → p-9e9b0872.entry.js} +1 -1
- package/dist/mint-components/p-9eefe4c9.entry.js +13 -0
- package/dist/mint-components/{p-2351359c.entry.js → p-a0058cc7.entry.js} +2 -2
- package/dist/mint-components/{p-2d3f007a.system.js → p-a533896f.system.js} +1 -1
- package/dist/mint-components/{p-5c4e52c8.entry.js → p-ae4d913e.entry.js} +1 -1
- package/dist/mint-components/p-af1cacf1.system.entry.js +1 -0
- package/dist/mint-components/{p-b237385a.system.entry.js → p-b1900e52.system.entry.js} +1 -1
- package/dist/mint-components/p-b637f1e4.js +1 -0
- package/dist/mint-components/{p-e24fcb4a.system.entry.js → p-c1b344c4.system.entry.js} +1 -1
- package/dist/mint-components/{p-42aa0297.js → p-c4fbbc74.js} +1 -1
- package/dist/mint-components/{p-0851dfa3.system.js → p-c58b40bf.system.js} +1 -1
- package/dist/mint-components/{p-3f62222f.entry.js → p-cc8c9cc9.entry.js} +1 -1
- package/dist/mint-components/{p-8436db3c.entry.js → p-ce37a5c3.entry.js} +1 -1
- package/dist/mint-components/{p-5a99b353.entry.js → p-d9b35316.entry.js} +2 -2
- package/dist/mint-components/{p-2767445a.system.entry.js → p-e19453a5.system.entry.js} +1 -1
- package/dist/mint-components/{p-668ccb8e.entry.js → p-e7319266.entry.js} +1 -1
- package/dist/mint-components/{p-085ae7a9.system.js → p-e91dc17b.system.js} +1 -1
- package/dist/mint-components/{p-d6fbde94.entry.js → p-f2cffad0.entry.js} +1 -1
- package/dist/mint-components/{p-aa1e98d1.system.js → p-f53ec590.system.js} +1 -1
- package/dist/mint-components/p-fbef4ecb.system.js +1 -0
- package/dist/mint-components/p-fd85e5bd.system.entry.js +1 -0
- package/dist/types/components/sqm-coupon-code/CouponCode.stories.d.ts +2 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +1 -0
- package/dist/types/components/sqm-coupon-code/sqm-coupon-code.d.ts +1 -1
- package/dist/types/components/sqm-coupon-code/useCouponCode.d.ts +1 -0
- package/dist/types/components/sqm-hero-image/sqm-hero-image-view.d.ts +1 -1
- package/dist/types/components/sqm-hero-image/sqm-hero-image.d.ts +4 -4
- package/dist/types/components/sqm-pagination/sqm-pagination-view.d.ts +1 -1
- package/dist/types/components/sqm-pagination/sqm-pagination.d.ts +4 -4
- package/dist/types/components/sqm-portal-change-password/sqm-portal-change-password-view.d.ts +0 -1
- package/dist/types/components/sqm-referral-code/sqm-referral-code.d.ts +4 -4
- package/dist/types/components/sqm-share-code/sqm-share-code.d.ts +4 -4
- package/dist/types/components/sqm-share-link/sqm-share-link.d.ts +4 -4
- package/dist/types/components/sqm-task-card/DetailsView.d.ts +6 -0
- package/dist/types/components/sqm-task-card/sqm-task-card-view.d.ts +1 -1
- package/dist/types/components/sqm-task-card/sqm-task-card.d.ts +3 -3
- package/dist/types/components/sqm-task-card/useTaskCard.d.ts +1 -1
- package/dist/types/components/views/copy-text-view.d.ts +1 -1
- package/dist/types/components.d.ts +58 -58
- package/dist/types/global/styles.d.ts +1 -1
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/dist/esm-es5/ShadowViewAddon-168ab439.js +0 -1
- package/dist/esm-es5/copy-text-view-3f41072a.js +0 -1
- package/dist/esm-es5/sqm-leaderboard-rank-view-753c8d4a.js +0 -1
- package/dist/mint-components/p-10586a3f.js +0 -1
- package/dist/mint-components/p-14a65f29.system.js +0 -1
- package/dist/mint-components/p-1c9a93aa.system.entry.js +0 -1
- package/dist/mint-components/p-24cedc6c.system.js +0 -1
- package/dist/mint-components/p-4e5af50c.js +0 -1
- package/dist/mint-components/p-5c9f5fc9.entry.js +0 -13
- package/dist/mint-components/p-788e60ae.system.entry.js +0 -1
- package/dist/mint-components/p-7e512aab.js +0 -394
- package/dist/mint-components/p-81cdc344.system.entry.js +0 -1
- package/dist/mint-components/p-96736dfc.system.js +0 -1
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const jsonpointer = require('./jsonpointer-11327262.js');
|
|
10
10
|
const cjs = require('./cjs-1066ec21.js');
|
|
@@ -12,7 +12,7 @@ const utils = require('./utils-6847bc06.js');
|
|
|
12
12
|
const JSS = require('./JSS-8503a151.js');
|
|
13
13
|
require('./useReferralCodes-82e8797b.js');
|
|
14
14
|
require('./mixins-4761d472.js');
|
|
15
|
-
const copyTextView = require('./copy-text-view-
|
|
15
|
+
const copyTextView = require('./copy-text-view-9017cd99.js');
|
|
16
16
|
const reRender = require('./re-render-b324deab.js');
|
|
17
17
|
const useChildElements = require('./useChildElements-1b35d945.js');
|
|
18
18
|
require('./luxon-2926d85f.js');
|
|
@@ -23,7 +23,7 @@ const sqmPortalLoginView = require('./sqm-portal-login-view-0fbbda1b.js');
|
|
|
23
23
|
const usePortalLogin = require('./usePortalLogin-63d896d1.js');
|
|
24
24
|
const AsYouType = require('./AsYouType-6788393a.js');
|
|
25
25
|
const utilities = require('./utilities-78f5e169.js');
|
|
26
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
26
|
+
const ShadowViewAddon = require('./ShadowViewAddon-8993904c.js');
|
|
27
27
|
require('./sqm-portal-container-view-4f15143a.js');
|
|
28
28
|
const usePayoutStatus = require('./usePayoutStatus-4b5894ef.js');
|
|
29
29
|
|
|
@@ -407,6 +407,7 @@ function useCouponCode(props) {
|
|
|
407
407
|
dateAvailable,
|
|
408
408
|
loading,
|
|
409
409
|
errorType,
|
|
410
|
+
buttonType: props.buttonType || "primary",
|
|
410
411
|
};
|
|
411
412
|
}
|
|
412
413
|
|
|
@@ -994,6 +995,7 @@ const Hero = class {
|
|
|
994
995
|
function HeroImageView(props, children) {
|
|
995
996
|
const overlay = Boolean((props.header || props.description || props.buttonText) &&
|
|
996
997
|
props.layout === "overlay");
|
|
998
|
+
console.log("buttonType is ", props.buttonType);
|
|
997
999
|
// Dependent on props, not feasiable to move out
|
|
998
1000
|
const style = {
|
|
999
1001
|
Container: {
|
|
@@ -1003,7 +1005,7 @@ function HeroImageView(props, children) {
|
|
|
1003
1005
|
width: "100%",
|
|
1004
1006
|
height: "100%",
|
|
1005
1007
|
position: "absolute",
|
|
1006
|
-
background: props.overlayColor || "var(--sl-color-
|
|
1008
|
+
background: props.overlayColor || "var(--sl-color-black)",
|
|
1007
1009
|
opacity: props.overlayOpacity,
|
|
1008
1010
|
},
|
|
1009
1011
|
},
|
|
@@ -1110,7 +1112,7 @@ function HeroImageView(props, children) {
|
|
|
1110
1112
|
index.h("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
1111
1113
|
props.header && (index.h("div", { class: sheet.classes.Header }, props.header)),
|
|
1112
1114
|
props.description && (index.h("div", { class: sheet.classes.Description }, props.description)),
|
|
1113
|
-
props.buttonText && (index.h("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType
|
|
1115
|
+
props.buttonText && (index.h("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType}button-base`, onClick: () => props.buttonNewTab
|
|
1114
1116
|
? window.open(props.buttonLink)
|
|
1115
1117
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
1116
1118
|
children && children)));
|
|
@@ -1189,11 +1191,11 @@ const HeroImage = class {
|
|
|
1189
1191
|
*/
|
|
1190
1192
|
this.paddingImage = "none";
|
|
1191
1193
|
/**
|
|
1192
|
-
* The type of the button
|
|
1194
|
+
* The type of the button that is used (primary, secondary, or tertiary).
|
|
1193
1195
|
* @uiName Button Type
|
|
1194
1196
|
* @uiType string
|
|
1195
|
-
* @uiEnum ["primary", "secondary"]
|
|
1196
|
-
* @uiEnumNames ["Primary", "Secondary"]
|
|
1197
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
1198
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
1197
1199
|
* @uiGroup Style
|
|
1198
1200
|
*/
|
|
1199
1201
|
this.buttonType = "primary";
|
|
@@ -4717,11 +4719,11 @@ const ShareCode = class {
|
|
|
4717
4719
|
*/
|
|
4718
4720
|
this.buttonStyle = "icon";
|
|
4719
4721
|
/**
|
|
4720
|
-
* The type of the button
|
|
4722
|
+
* The type of the button that is used (primary, secondary, or tertiary).
|
|
4721
4723
|
* @uiName Button Type
|
|
4722
4724
|
* @uiType string
|
|
4723
|
-
* @uiEnum ["primary", "secondary"]
|
|
4724
|
-
* @uiEnumNames ["Primary", "Secondary"]
|
|
4725
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
4726
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
4725
4727
|
* @uiGroup Style
|
|
4726
4728
|
*/
|
|
4727
4729
|
this.buttonType = "primary";
|
|
@@ -4792,11 +4794,11 @@ const ShareLink = class {
|
|
|
4792
4794
|
*/
|
|
4793
4795
|
this.copyButtonLabel = "Copy Link";
|
|
4794
4796
|
/**
|
|
4795
|
-
* The type of the button
|
|
4797
|
+
* The type of the button that is used (primary, secondary, or tertiary).
|
|
4796
4798
|
* @uiName Button Type
|
|
4797
4799
|
* @uiType string
|
|
4798
|
-
* @uiEnum ["primary", "secondary"]
|
|
4799
|
-
* @uiEnumNames ["Primary", "Secondary"]
|
|
4800
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
4801
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
4800
4802
|
* @uiGroup Style
|
|
4801
4803
|
*/
|
|
4802
4804
|
this.buttonType = "primary";
|
|
@@ -4931,7 +4933,7 @@ function useTaskCard(props) {
|
|
|
4931
4933
|
textColor: props.textColor,
|
|
4932
4934
|
borderColor: props.borderColor,
|
|
4933
4935
|
borderRadius: props.borderRadius,
|
|
4934
|
-
|
|
4936
|
+
buttonType: props.buttonType,
|
|
4935
4937
|
},
|
|
4936
4938
|
};
|
|
4937
4939
|
return {
|
|
@@ -5053,11 +5055,11 @@ const TaskCard = class {
|
|
|
5053
5055
|
/**
|
|
5054
5056
|
* @uiName Button Style
|
|
5055
5057
|
* @uiType string
|
|
5056
|
-
* @uiEnum ["primary", "secondary"]
|
|
5057
|
-
* @uiEnumNames ["Primary", "Secondary"]
|
|
5058
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
5059
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
5058
5060
|
* @uiGroup Style
|
|
5059
5061
|
*/
|
|
5060
|
-
this.
|
|
5062
|
+
this.buttonType = "primary";
|
|
5061
5063
|
stencilHooks_module.h$1(this);
|
|
5062
5064
|
}
|
|
5063
5065
|
disconnectedCallback() { }
|
|
@@ -5069,7 +5071,6 @@ const TaskCard = class {
|
|
|
5069
5071
|
const { states, callbacks } = index_module.isDemo()
|
|
5070
5072
|
? useTaskCardDemo(this)
|
|
5071
5073
|
: useTaskCard(this);
|
|
5072
|
-
console.log("button style from controller", this.buttonStyle);
|
|
5073
5074
|
return (index.h(ShadowViewAddon.TaskCardView, { callbacks: callbacks, states: {
|
|
5074
5075
|
loading,
|
|
5075
5076
|
loadingEvent: states.loadingEvent,
|
|
@@ -5080,6 +5081,7 @@ const TaskCard = class {
|
|
|
5080
5081
|
};
|
|
5081
5082
|
function useTaskCardDemo(props) {
|
|
5082
5083
|
return cjs.cjs({
|
|
5084
|
+
content: { ...props },
|
|
5083
5085
|
states: { loadingEvent: false, locale: "en" },
|
|
5084
5086
|
callbacks: {
|
|
5085
5087
|
sendEvent: (event) => console.log(event),
|
|
@@ -5156,7 +5158,7 @@ function TimelineEntryView(props) {
|
|
|
5156
5158
|
display: "none",
|
|
5157
5159
|
color: "transparent",
|
|
5158
5160
|
userSelect: "none",
|
|
5159
|
-
background: props.lineColor || "var(--
|
|
5161
|
+
background: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
5160
5162
|
width: "4px",
|
|
5161
5163
|
borderRadius: "4px",
|
|
5162
5164
|
margin: "-2px",
|
|
@@ -5171,7 +5173,7 @@ function TimelineEntryView(props) {
|
|
|
5171
5173
|
position: "relative",
|
|
5172
5174
|
top: "4px",
|
|
5173
5175
|
zIndex: "1",
|
|
5174
|
-
color: props.lineColor || "var(--
|
|
5176
|
+
color: props.lineColor || "var(--sqm-accent-color-icon)",
|
|
5175
5177
|
marginRight: "var(--sl-spacing-large)",
|
|
5176
5178
|
},
|
|
5177
5179
|
"& .reward": {
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-a1506e15.js');
|
|
8
8
|
require('./index.module-ee84433d.js');
|
|
9
9
|
const utils = require('./utils-6847bc06.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
package/dist/cjs/{sqm-leaderboard-rank-view-d39a55d8.js → sqm-leaderboard-rank-view-7c6cebe3.js}
RENAMED
|
@@ -4,7 +4,7 @@ const index = require('./index-a29c60ef.js');
|
|
|
4
4
|
|
|
5
5
|
function LeaderboardRankView(props) {
|
|
6
6
|
const { data } = props;
|
|
7
|
-
return index.h("span", {
|
|
7
|
+
return (index.h("span", { style: { marginTop: "0px", fontSize: "var(--sl-font-size-small)" } }, data.rank));
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
exports.LeaderboardRankView = LeaderboardRankView;
|
|
@@ -4,10 +4,10 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
|
-
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-
|
|
10
|
+
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-7c6cebe3.js');
|
|
11
11
|
|
|
12
12
|
const GET_RANK = index_module.dist.gql `
|
|
13
13
|
query ($type: String!, $filter: UserLeaderboardFilterInput) {
|
|
@@ -4,14 +4,14 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
const useReferralCodes = require('./useReferralCodes-82e8797b.js');
|
|
13
13
|
require('./mixins-4761d472.js');
|
|
14
|
-
const copyTextView = require('./copy-text-view-
|
|
14
|
+
const copyTextView = require('./copy-text-view-9017cd99.js');
|
|
15
15
|
|
|
16
16
|
const style = {
|
|
17
17
|
Container: {
|
|
@@ -37,10 +37,10 @@ function PaginationView(props) {
|
|
|
37
37
|
return (index.h("span", { class: sheet.classes.Container, part: "sqm-base" },
|
|
38
38
|
index.h("style", { type: "text/css" }, styleString),
|
|
39
39
|
!loading && (index.h(index.Fragment, null,
|
|
40
|
-
index.h("sl-button", { exportparts: `base: ${
|
|
40
|
+
index.h("sl-button", { exportparts: `base: ${buttonType}button-base`, onClick: onPrev, part: "sqm-pagination-button", circle: true, disabled: currentPage === 1 },
|
|
41
41
|
index.h("sl-icon", { name: "chevron-left", label: "Previous Page" })),
|
|
42
42
|
index.h("div", { class: sheet.classes.TextContainer }, text.paginationText))),
|
|
43
|
-
index.h("sl-button", { exportparts: `base: ${
|
|
43
|
+
index.h("sl-button", { exportparts: `base: ${buttonType}button-base`, onClick: onNext, part: "sqm-pagination-button", circle: true, disabled: currentPage === totalPages },
|
|
44
44
|
index.h("sl-icon", { name: "chevron-right", label: "Previous Page" }))));
|
|
45
45
|
}
|
|
46
46
|
|
|
@@ -80,11 +80,11 @@ const Pagination = class {
|
|
|
80
80
|
*/
|
|
81
81
|
this.paginationText = "{currentPage} of {totalPages}";
|
|
82
82
|
/**
|
|
83
|
-
* The type of the button
|
|
83
|
+
* The type of the button that is used (primary, secondary, or tertiary).
|
|
84
84
|
* @uiName Button Type
|
|
85
85
|
* @uiType string
|
|
86
|
-
* @uiEnum ["primary", "secondary"]
|
|
87
|
-
* @uiEnumNames ["Primary", "Secondary"]
|
|
86
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
87
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
88
88
|
* @uiGroup Style
|
|
89
89
|
*/
|
|
90
90
|
this.buttonType = "secondary";
|
|
@@ -235,11 +235,11 @@ const ReferralCode = class {
|
|
|
235
235
|
*/
|
|
236
236
|
this.buttonStyle = "icon";
|
|
237
237
|
/**
|
|
238
|
-
* The type of the button
|
|
238
|
+
* The type of the button that is used (primary, secondary, or tertiary).
|
|
239
239
|
* @uiName Button Type
|
|
240
240
|
* @uiType string
|
|
241
|
-
* @uiEnum ["primary", "secondary"]
|
|
242
|
-
* @uiEnumNames ["Primary", "Secondary"]
|
|
241
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
242
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
243
243
|
* @uiGroup Style
|
|
244
244
|
*/
|
|
245
245
|
this.buttonType = "primary";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a29c60ef.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-a1506e15.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const mixins = require('./mixins-4761d472.js');
|
|
7
7
|
const sqmTextSpanView = require('./sqm-text-span-view-ce4c0178.js');
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
require('./JSS-8503a151.js');
|
|
11
11
|
require('./mixins-4761d472.js');
|
|
12
12
|
require('./sqm-text-span-view-ce4c0178.js');
|
|
13
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
13
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-b6a76150.js');
|
|
14
14
|
|
|
15
15
|
function usePortalEmailVerification(props) {
|
|
16
16
|
var _a, _b, _c, _d, _e, _f, _g, _h, _j;
|
package/dist/cjs/{sqm-portal-profile-view-8ed04298.js → sqm-portal-profile-view-0639cfa0.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
const index = require('./index-a29c60ef.js');
|
|
4
|
-
const global = require('./global-
|
|
4
|
+
const global = require('./global-a1506e15.js');
|
|
5
5
|
const JSS = require('./JSS-8503a151.js');
|
|
6
6
|
const sqmTextSpanView = require('./sqm-text-span-view-ce4c0178.js');
|
|
7
7
|
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
require('./JSS-8503a151.js');
|
|
12
12
|
require('./sqm-text-span-view-ce4c0178.js');
|
|
13
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
13
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-0639cfa0.js');
|
|
14
14
|
const utilities = require('./utilities-78f5e169.js');
|
|
15
15
|
|
|
16
16
|
const GET_USER = index_module.dist.gql `
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-4761d472.js');
|
|
13
|
-
const GenericTableView = require('./GenericTableView-
|
|
13
|
+
const GenericTableView = require('./GenericTableView-40fd9dd1.js');
|
|
14
14
|
const reRender = require('./re-render-b324deab.js');
|
|
15
15
|
const useChildElements = require('./useChildElements-1b35d945.js');
|
|
16
16
|
const luxon = require('./luxon-2926d85f.js');
|
|
@@ -4,13 +4,13 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
const global = require('./global-
|
|
7
|
+
const global = require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
const cjs = require('./cjs-1066ec21.js');
|
|
10
10
|
const utils = require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./mixins-4761d472.js');
|
|
13
|
-
const GenericTableView = require('./GenericTableView-
|
|
13
|
+
const GenericTableView = require('./GenericTableView-40fd9dd1.js');
|
|
14
14
|
const reRender = require('./re-render-b324deab.js');
|
|
15
15
|
const useChildElements = require('./useChildElements-1b35d945.js');
|
|
16
16
|
const luxon = require('./luxon-2926d85f.js');
|
|
@@ -4,15 +4,15 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
const index = require('./index-a29c60ef.js');
|
|
6
6
|
const stencilHooks_module = require('./stencil-hooks.module-3a336b0f.js');
|
|
7
|
-
require('./global-
|
|
7
|
+
require('./global-a1506e15.js');
|
|
8
8
|
const index_module = require('./index.module-ee84433d.js');
|
|
9
9
|
require('./cjs-1066ec21.js');
|
|
10
10
|
require('./utils-6847bc06.js');
|
|
11
11
|
const JSS = require('./JSS-8503a151.js');
|
|
12
12
|
require('./useReferralCodes-82e8797b.js');
|
|
13
13
|
require('./mixins-4761d472.js');
|
|
14
|
-
const copyTextView = require('./copy-text-view-
|
|
15
|
-
const GenericTableView = require('./GenericTableView-
|
|
14
|
+
const copyTextView = require('./copy-text-view-9017cd99.js');
|
|
15
|
+
const GenericTableView = require('./GenericTableView-40fd9dd1.js');
|
|
16
16
|
require('./useChildElements-1b35d945.js');
|
|
17
17
|
const luxon = require('./luxon-2926d85f.js');
|
|
18
18
|
require('./sqm-text-span-view-ce4c0178.js');
|
|
@@ -20,24 +20,24 @@ const sqmAssetCardView = require('./sqm-asset-card-view-21ddf04f.js');
|
|
|
20
20
|
const sqmCloseButtonView = require('./sqm-close-button-view-b297e933.js');
|
|
21
21
|
require('./index-8c6255f5.js');
|
|
22
22
|
const emailRegistrationView = require('./email-registration-view-37b44222.js');
|
|
23
|
-
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-
|
|
23
|
+
const sqmLeaderboardRankView = require('./sqm-leaderboard-rank-view-7c6cebe3.js');
|
|
24
24
|
const sqmLogoutCurrentUserView = require('./sqm-logout-current-user-view-11d57c12.js');
|
|
25
25
|
const sqmNavigationSidebarView = require('./sqm-navigation-sidebar-view-38a5227a.js');
|
|
26
26
|
const sqmNavigationSidebarItemView = require('./sqm-navigation-sidebar-item-view-10b62df1.js');
|
|
27
|
-
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-
|
|
27
|
+
const sqmPortalEmailVerificationView = require('./sqm-portal-email-verification-view-b6a76150.js');
|
|
28
28
|
const sqmPortalForgotPasswordView = require('./sqm-portal-forgot-password-view-fdd97c18.js');
|
|
29
29
|
const sqmPortalLoginView = require('./sqm-portal-login-view-0fbbda1b.js');
|
|
30
30
|
const sqmBaseRegistrationFormView = require('./sqm-base-registration-form-view-1c5094d3.js');
|
|
31
31
|
const sqmPortalRegistrationFormView = require('./sqm-portal-registration-form-view-399f4eaf.js');
|
|
32
|
-
const sqmPortalProfileView = require('./sqm-portal-profile-view-
|
|
32
|
+
const sqmPortalProfileView = require('./sqm-portal-profile-view-0639cfa0.js');
|
|
33
33
|
require('./utilities-78f5e169.js');
|
|
34
34
|
const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-0439a9e5.js');
|
|
35
35
|
const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-05f72dec.js');
|
|
36
36
|
require('./ErrorView-b2fcf954.js');
|
|
37
37
|
const sqmQrCodeView = require('./sqm-qr-code-view-3da9ed28.js');
|
|
38
|
-
const ShadowViewAddon = require('./ShadowViewAddon-
|
|
38
|
+
const ShadowViewAddon = require('./ShadowViewAddon-8993904c.js');
|
|
39
39
|
const sqmPortalContainerView = require('./sqm-portal-container-view-4f15143a.js');
|
|
40
|
-
const sqmInvoiceTableView = require('./sqm-invoice-table-view-
|
|
40
|
+
const sqmInvoiceTableView = require('./sqm-invoice-table-view-d4bc23a8.js');
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* lodash (Custom Build) <https://lodash.com/>
|
|
@@ -14399,10 +14399,17 @@ const defaultProps$g = {
|
|
|
14399
14399
|
inputPlaceholderText: "CODE ERROR",
|
|
14400
14400
|
couponCodeLabel: "Your coupon code:",
|
|
14401
14401
|
error: false,
|
|
14402
|
+
buttonType: "primary",
|
|
14402
14403
|
};
|
|
14403
14404
|
const CouponCode = () => {
|
|
14404
14405
|
return index.h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
|
|
14405
14406
|
};
|
|
14407
|
+
const CouponCodeWithSecondaryButtonType = () => {
|
|
14408
|
+
return (index.h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard", buttonType: "secondary", buttonStyle: "button-outside" }));
|
|
14409
|
+
};
|
|
14410
|
+
const CouponCodeWithTertiaryButtonType = () => {
|
|
14411
|
+
return (index.h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard", buttonType: "tertiary", buttonStyle: "button-outside" }));
|
|
14412
|
+
};
|
|
14406
14413
|
const CustomTooltipText$2 = () => {
|
|
14407
14414
|
return index.h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
14408
14415
|
};
|
|
@@ -14459,6 +14466,8 @@ const CouponCode$1 = /*#__PURE__*/Object.freeze({
|
|
|
14459
14466
|
__proto__: null,
|
|
14460
14467
|
'default': CouponCode_stories,
|
|
14461
14468
|
CouponCode: CouponCode,
|
|
14469
|
+
CouponCodeWithSecondaryButtonType: CouponCodeWithSecondaryButtonType,
|
|
14470
|
+
CouponCodeWithTertiaryButtonType: CouponCodeWithTertiaryButtonType,
|
|
14462
14471
|
CustomTooltipText: CustomTooltipText$2,
|
|
14463
14472
|
CustomTooltipDuration: CustomTooltipDuration$2,
|
|
14464
14473
|
TextAlignCenter: TextAlignCenter$3,
|
|
@@ -15,10 +15,17 @@ const defaultProps = {
|
|
|
15
15
|
inputPlaceholderText: "CODE ERROR",
|
|
16
16
|
couponCodeLabel: "Your coupon code:",
|
|
17
17
|
error: false,
|
|
18
|
+
buttonType: "primary",
|
|
18
19
|
};
|
|
19
20
|
export const CouponCode = () => {
|
|
20
21
|
return h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard" });
|
|
21
22
|
};
|
|
23
|
+
export const CouponCodeWithSecondaryButtonType = () => {
|
|
24
|
+
return (h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard", buttonType: "secondary", buttonStyle: "button-outside" }));
|
|
25
|
+
};
|
|
26
|
+
export const CouponCodeWithTertiaryButtonType = () => {
|
|
27
|
+
return (h("sqm-coupon-code", { tooltiptext: "Copied to Clipboard", buttonType: "tertiary", buttonStyle: "button-outside" }));
|
|
28
|
+
};
|
|
22
29
|
export const CustomTooltipText = () => {
|
|
23
30
|
return h("sqm-coupon-code", { tooltiptext: "CUSTOM TOOLTIP TEXT" });
|
|
24
31
|
};
|
|
@@ -576,8 +576,8 @@ export class CouponCode {
|
|
|
576
576
|
"type": "string",
|
|
577
577
|
"mutable": false,
|
|
578
578
|
"complexType": {
|
|
579
|
-
"original": "\"primary\" | \"secondary\"",
|
|
580
|
-
"resolved": "\"primary\" | \"secondary\"",
|
|
579
|
+
"original": "\"primary\" | \"secondary\" | \"tertiary\"",
|
|
580
|
+
"resolved": "\"primary\" | \"secondary\" | \"tertiary\"",
|
|
581
581
|
"references": {}
|
|
582
582
|
},
|
|
583
583
|
"required": false,
|
|
@@ -639,7 +639,7 @@ export class CouponCode {
|
|
|
639
639
|
"mutable": false,
|
|
640
640
|
"complexType": {
|
|
641
641
|
"original": "DemoData<CouponCodeViewProps>",
|
|
642
|
-
"resolved": "{ loading?: boolean; textColor?: string; errorType?: \"error\" | \"warning\" | \"info\" | \"success\"; couponCodeLabel?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string;
|
|
642
|
+
"resolved": "{ loading?: boolean; textColor?: string; errorType?: \"error\" | \"warning\" | \"info\" | \"success\"; couponCodeLabel?: string; buttonType?: \"primary\" | \"secondary\" | \"tertiary\"; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; borderColor?: string; onClick?: () => void; }",
|
|
643
643
|
"references": {
|
|
644
644
|
"DemoData": {
|
|
645
645
|
"location": "import",
|
|
@@ -3,6 +3,7 @@ import { createStyleSheet } from "../../styling/JSS";
|
|
|
3
3
|
export function HeroImageView(props, children) {
|
|
4
4
|
const overlay = Boolean((props.header || props.description || props.buttonText) &&
|
|
5
5
|
props.layout === "overlay");
|
|
6
|
+
console.log("buttonType is ", props.buttonType);
|
|
6
7
|
// Dependent on props, not feasiable to move out
|
|
7
8
|
const style = {
|
|
8
9
|
Container: {
|
|
@@ -12,7 +13,7 @@ export function HeroImageView(props, children) {
|
|
|
12
13
|
width: "100%",
|
|
13
14
|
height: "100%",
|
|
14
15
|
position: "absolute",
|
|
15
|
-
background: props.overlayColor || "var(--sl-color-
|
|
16
|
+
background: props.overlayColor || "var(--sl-color-black)",
|
|
16
17
|
opacity: props.overlayOpacity,
|
|
17
18
|
},
|
|
18
19
|
},
|
|
@@ -119,7 +120,7 @@ export function HeroImageView(props, children) {
|
|
|
119
120
|
h("div", { class: sheet.classes.Overlay, part: "sqm-overlay" },
|
|
120
121
|
props.header && (h("div", { class: sheet.classes.Header }, props.header)),
|
|
121
122
|
props.description && (h("div", { class: sheet.classes.Description }, props.description)),
|
|
122
|
-
props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType
|
|
123
|
+
props.buttonText && (h("sl-button", { class: sheet.classes.Button, type: "primary", exportparts: `base: ${props.buttonType}button-base`, onClick: () => props.buttonNewTab
|
|
123
124
|
? window.open(props.buttonLink)
|
|
124
125
|
: window.open(props.buttonLink, "_parent") }, props.buttonText)),
|
|
125
126
|
children && children)));
|
|
@@ -68,11 +68,11 @@ export class HeroImage {
|
|
|
68
68
|
*/
|
|
69
69
|
this.paddingImage = "none";
|
|
70
70
|
/**
|
|
71
|
-
* The type of the button
|
|
71
|
+
* The type of the button that is used (primary, secondary, or tertiary).
|
|
72
72
|
* @uiName Button Type
|
|
73
73
|
* @uiType string
|
|
74
|
-
* @uiEnum ["primary", "secondary"]
|
|
75
|
-
* @uiEnumNames ["Primary", "Secondary"]
|
|
74
|
+
* @uiEnum ["primary", "secondary", "tertiary"]
|
|
75
|
+
* @uiEnumNames ["Primary", "Secondary", "Tertiary"]
|
|
76
76
|
* @uiGroup Style
|
|
77
77
|
*/
|
|
78
78
|
this.buttonType = "primary";
|
|
@@ -536,8 +536,8 @@ export class HeroImage {
|
|
|
536
536
|
"type": "string",
|
|
537
537
|
"mutable": false,
|
|
538
538
|
"complexType": {
|
|
539
|
-
"original": "\"primary\" | \"secondary\"",
|
|
540
|
-
"resolved": "\"primary\" | \"secondary\"",
|
|
539
|
+
"original": "\"primary\" | \"secondary\" | \"tertiary\"",
|
|
540
|
+
"resolved": "\"primary\" | \"secondary\" | \"tertiary\"",
|
|
541
541
|
"references": {}
|
|
542
542
|
},
|
|
543
543
|
"required": false,
|
|
@@ -550,16 +550,16 @@ export class HeroImage {
|
|
|
550
550
|
"text": "string",
|
|
551
551
|
"name": "uiType"
|
|
552
552
|
}, {
|
|
553
|
-
"text": "[\"primary\", \"secondary\"]",
|
|
553
|
+
"text": "[\"primary\", \"secondary\", \"tertiary\"]",
|
|
554
554
|
"name": "uiEnum"
|
|
555
555
|
}, {
|
|
556
|
-
"text": "[\"Primary\", \"Secondary\"]",
|
|
556
|
+
"text": "[\"Primary\", \"Secondary\", \"Tertiary\"]",
|
|
557
557
|
"name": "uiEnumNames"
|
|
558
558
|
}, {
|
|
559
559
|
"text": "Style",
|
|
560
560
|
"name": "uiGroup"
|
|
561
561
|
}],
|
|
562
|
-
"text": "The type of the button
|
|
562
|
+
"text": "The type of the button that is used (primary, secondary, or tertiary)."
|
|
563
563
|
},
|
|
564
564
|
"attribute": "button-type",
|
|
565
565
|
"reflect": false,
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h } from
|
|
1
|
+
import { h } from "@stencil/core";
|
|
2
2
|
export function LeaderboardRankView(props) {
|
|
3
3
|
const { data } = props;
|
|
4
|
-
return h("span", {
|
|
4
|
+
return (h("span", { style: { marginTop: "0px", fontSize: "var(--sl-font-size-small)" } }, data.rank));
|
|
5
5
|
}
|
|
@@ -122,7 +122,7 @@ export class LogoutCurrentUser {
|
|
|
122
122
|
"mutable": false,
|
|
123
123
|
"complexType": {
|
|
124
124
|
"original": "DemoData<CopyTextViewProps>",
|
|
125
|
-
"resolved": "{ loading?: boolean; textColor?: string; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string;
|
|
125
|
+
"resolved": "{ loading?: boolean; textColor?: string; buttonType?: \"primary\" | \"secondary\" | \"tertiary\"; copyString?: string; tooltiptext?: string; open?: boolean; copyButtonLabel?: string; disabled?: boolean; textAlign?: \"left\" | \"right\" | \"center\"; buttonStyle?: \"icon\" | \"button-outside\" | \"button-below\"; error?: boolean; errorText?: string; notificationText?: string; showNotificationText?: boolean; inputPlaceholderText?: string; dateAvailable?: string; isCopied?: boolean; backgroundColor?: string; borderRadius?: string; borderColor?: string; onClick?: () => void; }",
|
|
126
126
|
"references": {
|
|
127
127
|
"DemoData": {
|
|
128
128
|
"location": "import",
|
|
@@ -24,9 +24,9 @@ export function PaginationView(props) {
|
|
|
24
24
|
return (h("span", { class: sheet.classes.Container, part: "sqm-base" },
|
|
25
25
|
h("style", { type: "text/css" }, styleString),
|
|
26
26
|
!loading && (h(Fragment, null,
|
|
27
|
-
h("sl-button", { exportparts: `base: ${
|
|
27
|
+
h("sl-button", { exportparts: `base: ${buttonType}button-base`, onClick: onPrev, part: "sqm-pagination-button", circle: true, disabled: currentPage === 1 },
|
|
28
28
|
h("sl-icon", { name: "chevron-left", label: "Previous Page" })),
|
|
29
29
|
h("div", { class: sheet.classes.TextContainer }, text.paginationText))),
|
|
30
|
-
h("sl-button", { exportparts: `base: ${
|
|
30
|
+
h("sl-button", { exportparts: `base: ${buttonType}button-base`, onClick: onNext, part: "sqm-pagination-button", circle: true, disabled: currentPage === totalPages },
|
|
31
31
|
h("sl-icon", { name: "chevron-right", label: "Previous Page" }))));
|
|
32
32
|
}
|