@saasquatch/mint-components 2.0.0-45 → 2.0.0-48
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/sqm-banking-info-form_10.cjs.entry.js +7 -4
- package/dist/cjs/sqm-tax-and-cash.cjs.entry.js +0 -1
- package/dist/collection/components/sqm-hero/sqm-hero.js +4 -4
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash/sqm-tax-and-cash.js +0 -1
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +7 -2
- package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard.js +1 -3
- package/dist/esm/sqm-banking-info-form_10.entry.js +7 -4
- package/dist/esm/sqm-tax-and-cash.entry.js +0 -1
- package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
- package/dist/esm-es5/sqm-tax-and-cash.entry.js +1 -1
- package/dist/mint-components/mint-components.esm.js +1 -1
- package/dist/mint-components/{p-f8e0684f.entry.js → p-0e638cd3.entry.js} +2 -2
- package/dist/mint-components/{p-7d23f71a.system.entry.js → p-43a9fb8e.system.entry.js} +1 -1
- package/dist/mint-components/{p-3c8c9226.system.entry.js → p-622c14ea.system.entry.js} +1 -1
- package/dist/mint-components/{p-a898d088.entry.js → p-75c569f7.entry.js} +1 -1
- package/dist/mint-components/p-967a9040.system.js +1 -1
- package/dist/types/components/sqm-hero/sqm-hero.d.ts +4 -4
- package/dist/types/components.d.ts +8 -8
- package/docs/docs.docx +0 -0
- package/docs/raisins.json +1 -1
- package/grapesjs/grapesjs.js +1 -1
- package/package.json +1 -1
- package/shoelace/assets/icons/twitter-x.svg +4 -0
|
@@ -3822,6 +3822,10 @@ const style$5 = {
|
|
|
3822
3822
|
},
|
|
3823
3823
|
EditBankDetailsButton: {
|
|
3824
3824
|
marginTop: "var(--sl-spacing-large)",
|
|
3825
|
+
backgroundColor: "var(--sqm-secondary-button-background)",
|
|
3826
|
+
color: "var(--sqm-secondary-button-color)",
|
|
3827
|
+
borderColor: "var(--sqm-secondary-button-color-border)",
|
|
3828
|
+
borderRadius: "var(--sqm-secondary-button-radius)",
|
|
3825
3829
|
},
|
|
3826
3830
|
SkeletonOne: {
|
|
3827
3831
|
width: "15%",
|
|
@@ -4103,7 +4107,6 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4103
4107
|
}
|
|
4104
4108
|
};
|
|
4105
4109
|
const alertInfo = getAlert(states.payoutStatus);
|
|
4106
|
-
console.log({ states, props });
|
|
4107
4110
|
return (index.h("div", null,
|
|
4108
4111
|
index.h("div", null,
|
|
4109
4112
|
index.h("style", { type: "text/css" }, styleString$4),
|
|
@@ -4144,7 +4147,9 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4144
4147
|
index.h("div", { class: sheet$4.classes.BankingInformationContainer },
|
|
4145
4148
|
slots.payoutDetailsCardSlot,
|
|
4146
4149
|
!states.loading && (index.h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
|
|
4147
|
-
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default",
|
|
4150
|
+
states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "default", exportparts: "base: secondarybutton-base",
|
|
4151
|
+
// class={sheet.classes.EditBankDetailsButton}
|
|
4152
|
+
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4148
4153
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (index.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
|
|
4149
4154
|
index.h("div", null, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
|
|
4150
4155
|
index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
|
|
@@ -4689,7 +4694,6 @@ const TaxAndCashDashboard = class {
|
|
|
4689
4694
|
const props = index_module.isDemo()
|
|
4690
4695
|
? useDemoTaxAndCashDashboard(this)
|
|
4691
4696
|
: useTaxAndCashDashboard(this);
|
|
4692
|
-
console.log({ stateController: this.stateController });
|
|
4693
4697
|
return (index.h(index.Host, null, index.h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
4694
4698
|
payoutDetailsCardSlot: (index.h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
4695
4699
|
} })));
|
|
@@ -4697,7 +4701,6 @@ const TaxAndCashDashboard = class {
|
|
|
4697
4701
|
};
|
|
4698
4702
|
function useDemoTaxAndCashDashboard(props) {
|
|
4699
4703
|
const stateController = parseStates.parseStates(props.stateController);
|
|
4700
|
-
console.log({ stateController });
|
|
4701
4704
|
// @ts-ignore
|
|
4702
4705
|
return cjs.cjs({
|
|
4703
4706
|
states: {
|
|
@@ -1264,7 +1264,6 @@ const TaxAndCashMonolith = class {
|
|
|
1264
1264
|
render() {
|
|
1265
1265
|
var _a, _b;
|
|
1266
1266
|
const props = index_module.isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
|
|
1267
|
-
console.log({ props });
|
|
1268
1267
|
// @ts-ignore
|
|
1269
1268
|
if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
|
|
1270
1269
|
const textProps = utils$1.getProps(this);
|
|
@@ -122,13 +122,13 @@ export class Hero {
|
|
|
122
122
|
"optional": true,
|
|
123
123
|
"docs": {
|
|
124
124
|
"tags": [{
|
|
125
|
-
"text": "
|
|
125
|
+
"text": "Splash image",
|
|
126
126
|
"name": "uiName"
|
|
127
127
|
}, {
|
|
128
128
|
"text": "Background",
|
|
129
129
|
"name": "uiWidget"
|
|
130
130
|
}],
|
|
131
|
-
"text": "
|
|
131
|
+
"text": "Splash image or background color (for use in the left column)"
|
|
132
132
|
},
|
|
133
133
|
"attribute": "background",
|
|
134
134
|
"reflect": false
|
|
@@ -172,13 +172,13 @@ export class Hero {
|
|
|
172
172
|
"optional": true,
|
|
173
173
|
"docs": {
|
|
174
174
|
"tags": [{
|
|
175
|
-
"text": "
|
|
175
|
+
"text": "Content background",
|
|
176
176
|
"name": "uiName"
|
|
177
177
|
}, {
|
|
178
178
|
"text": "Background",
|
|
179
179
|
"name": "uiWidget"
|
|
180
180
|
}],
|
|
181
|
-
"text": "
|
|
181
|
+
"text": "Content background color or image (for use in the right column)"
|
|
182
182
|
},
|
|
183
183
|
"attribute": "secondary-background",
|
|
184
184
|
"reflect": false
|
|
@@ -1100,7 +1100,6 @@ export class TaxAndCashMonolith {
|
|
|
1100
1100
|
render() {
|
|
1101
1101
|
var _a, _b;
|
|
1102
1102
|
const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
|
|
1103
|
-
console.log({ props });
|
|
1104
1103
|
// @ts-ignore
|
|
1105
1104
|
if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
|
|
1106
1105
|
const textProps = getProps(this);
|
|
@@ -115,6 +115,10 @@ const style = {
|
|
|
115
115
|
},
|
|
116
116
|
EditBankDetailsButton: {
|
|
117
117
|
marginTop: "var(--sl-spacing-large)",
|
|
118
|
+
backgroundColor: "var(--sqm-secondary-button-background)",
|
|
119
|
+
color: "var(--sqm-secondary-button-color)",
|
|
120
|
+
borderColor: "var(--sqm-secondary-button-color-border)",
|
|
121
|
+
borderRadius: "var(--sqm-secondary-button-radius)",
|
|
118
122
|
},
|
|
119
123
|
SkeletonOne: {
|
|
120
124
|
width: "15%",
|
|
@@ -396,7 +400,6 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
396
400
|
}
|
|
397
401
|
};
|
|
398
402
|
const alertInfo = getAlert(states.payoutStatus);
|
|
399
|
-
console.log({ states, props });
|
|
400
403
|
return (h("div", null,
|
|
401
404
|
h("div", null,
|
|
402
405
|
h("style", { type: "text/css" }, styleString),
|
|
@@ -437,7 +440,9 @@ export const TaxAndCashDashboardView = (props) => {
|
|
|
437
440
|
h("div", { class: sheet.classes.BankingInformationContainer },
|
|
438
441
|
slots.payoutDetailsCardSlot,
|
|
439
442
|
!states.loading && (h("p", { class: sheet.classes.DescriptionText }, text.payoutFromImpact)),
|
|
440
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default",
|
|
443
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", exportparts: "base: secondarybutton-base",
|
|
444
|
+
// class={sheet.classes.EditBankDetailsButton}
|
|
445
|
+
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
441
446
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet.classes.TaxDocumentsContainer },
|
|
442
447
|
h("div", null, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
|
|
443
448
|
h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
|
|
@@ -2,10 +2,10 @@ import { isDemo } from "@saasquatch/component-boilerplate";
|
|
|
2
2
|
import { withHooks } from "@saasquatch/stencil-hooks";
|
|
3
3
|
import { Component, h, Host, Prop } from "@stencil/core";
|
|
4
4
|
import deepmerge from "deepmerge";
|
|
5
|
+
import { parseStates } from "../../../utils/parseStates";
|
|
5
6
|
import { getProps } from "../../../utils/utils";
|
|
6
7
|
import { TaxAndCashDashboardView } from "./sqm-tax-and-cash-dashboard-view";
|
|
7
8
|
import { useTaxAndCashDashboard, } from "./useTaxAndCashDashboard";
|
|
8
|
-
import { parseStates } from "../../../utils/parseStates";
|
|
9
9
|
/**
|
|
10
10
|
* @uiName Tax and Cash Status Dashboard
|
|
11
11
|
*/
|
|
@@ -363,7 +363,6 @@ export class TaxAndCashDashboard {
|
|
|
363
363
|
const props = isDemo()
|
|
364
364
|
? useDemoTaxAndCashDashboard(this)
|
|
365
365
|
: useTaxAndCashDashboard(this);
|
|
366
|
-
console.log({ stateController: this.stateController });
|
|
367
366
|
return (h(Host, null,
|
|
368
367
|
h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
369
368
|
payoutDetailsCardSlot: (h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
@@ -1903,7 +1902,6 @@ export class TaxAndCashDashboard {
|
|
|
1903
1902
|
}
|
|
1904
1903
|
function useDemoTaxAndCashDashboard(props) {
|
|
1905
1904
|
const stateController = parseStates(props.stateController);
|
|
1906
|
-
console.log({ stateController });
|
|
1907
1905
|
// @ts-ignore
|
|
1908
1906
|
return deepmerge({
|
|
1909
1907
|
states: {
|
|
@@ -3818,6 +3818,10 @@ const style$5 = {
|
|
|
3818
3818
|
},
|
|
3819
3819
|
EditBankDetailsButton: {
|
|
3820
3820
|
marginTop: "var(--sl-spacing-large)",
|
|
3821
|
+
backgroundColor: "var(--sqm-secondary-button-background)",
|
|
3822
|
+
color: "var(--sqm-secondary-button-color)",
|
|
3823
|
+
borderColor: "var(--sqm-secondary-button-color-border)",
|
|
3824
|
+
borderRadius: "var(--sqm-secondary-button-radius)",
|
|
3821
3825
|
},
|
|
3822
3826
|
SkeletonOne: {
|
|
3823
3827
|
width: "15%",
|
|
@@ -4099,7 +4103,6 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4099
4103
|
}
|
|
4100
4104
|
};
|
|
4101
4105
|
const alertInfo = getAlert(states.payoutStatus);
|
|
4102
|
-
console.log({ states, props });
|
|
4103
4106
|
return (h("div", null,
|
|
4104
4107
|
h("div", null,
|
|
4105
4108
|
h("style", { type: "text/css" }, styleString$4),
|
|
@@ -4140,7 +4143,9 @@ const TaxAndCashDashboardView = (props) => {
|
|
|
4140
4143
|
h("div", { class: sheet$4.classes.BankingInformationContainer },
|
|
4141
4144
|
slots.payoutDetailsCardSlot,
|
|
4142
4145
|
!states.loading && (h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
|
|
4143
|
-
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default",
|
|
4146
|
+
states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "default", exportparts: "base: secondarybutton-base",
|
|
4147
|
+
// class={sheet.classes.EditBankDetailsButton}
|
|
4148
|
+
onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
|
|
4144
4149
|
(!states.noFormNeeded || states.status === "NOT_VERIFIED") && (h("div", { class: sheet$4.classes.TaxDocumentsContainer },
|
|
4145
4150
|
h("div", null, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
|
|
4146
4151
|
h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
|
|
@@ -4685,7 +4690,6 @@ const TaxAndCashDashboard = class {
|
|
|
4685
4690
|
const props = isDemo()
|
|
4686
4691
|
? useDemoTaxAndCashDashboard(this)
|
|
4687
4692
|
: useTaxAndCashDashboard(this);
|
|
4688
|
-
console.log({ stateController: this.stateController });
|
|
4689
4693
|
return (h(Host, null, h(TaxAndCashDashboardView, { callbacks: props.callbacks, states: props.states, text: props.text, slots: {
|
|
4690
4694
|
payoutDetailsCardSlot: (h("sqm-payout-details-card", Object.assign({}, this.getTextProps()))),
|
|
4691
4695
|
} })));
|
|
@@ -4693,7 +4697,6 @@ const TaxAndCashDashboard = class {
|
|
|
4693
4697
|
};
|
|
4694
4698
|
function useDemoTaxAndCashDashboard(props) {
|
|
4695
4699
|
const stateController = parseStates(props.stateController);
|
|
4696
|
-
console.log({ stateController });
|
|
4697
4700
|
// @ts-ignore
|
|
4698
4701
|
return cjs({
|
|
4699
4702
|
states: {
|
|
@@ -1260,7 +1260,6 @@ const TaxAndCashMonolith = class {
|
|
|
1260
1260
|
render() {
|
|
1261
1261
|
var _a, _b;
|
|
1262
1262
|
const props = isDemo() ? useDemoTaxAndCash(this) : useTaxAndCash();
|
|
1263
|
-
console.log({ props });
|
|
1264
1263
|
// @ts-ignore
|
|
1265
1264
|
if ((_a = this.demoData) === null || _a === void 0 ? void 0 : _a.showTextProps) {
|
|
1266
1265
|
const textProps = getProps(this);
|