@saasquatch/mint-components 1.15.0-126 → 1.15.0-128

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.
@@ -4072,7 +4072,7 @@ const TaxAndCashDashboardView = (props) => {
4072
4072
  index.h("div", { class: sheet$4.classes.BankingInformationContainer },
4073
4073
  slots.payoutDetailsCardSlot,
4074
4074
  !states.loading && (index.h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
4075
- states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
4075
+ states.canEditPayoutInfo && (index.h("sl-button", { disabled: states.disabled || states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
4076
4076
  index.h("div", { class: sheet$4.classes.TaxDocumentsContainer },
4077
4077
  index.h("div", null, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4078
4078
  index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
@@ -4088,7 +4088,7 @@ const TaxAndCashDashboardView = (props) => {
4088
4088
  documentType: states.documentTypeString,
4089
4089
  })),
4090
4090
  index.h("span", { class: sheet$4.classes.StatusAlert }, statusMap[states.status]))),
4091
- states.status !== "NOT_VERIFIED" && (index.h("sl-button", { style: { marginTop: "20px" }, disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "primary", exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
4091
+ states.status !== "NOT_VERIFIED" && (index.h("sl-button", { style: { marginTop: "20px" }, disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "secondary", exportparts: "base: secondarybutton-base" }, text.newFormButton)))))))),
4092
4092
  index.h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (index.h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4093
4093
  index.h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
4094
4094
  index.h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (index.h("div", null,
@@ -5845,6 +5845,10 @@ const vanillaStyle$4 = `
5845
5845
  box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
5846
5846
  -webkit-text-fill-color: var(--sqm-input-color, white) !important;
5847
5847
  }
5848
+
5849
+ sl-checkbox::part(label){
5850
+ color: var(--sqm-text);
5851
+ }
5848
5852
  `;
5849
5853
  const UserInfoFormView = (props) => {
5850
5854
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
@@ -6014,7 +6018,7 @@ const UserInfoFormView = (props) => {
6014
6018
  " - ",
6015
6019
  c.displayName)))),
6016
6020
  index.h("div", { class: classes.CheckboxWrapper },
6017
- index.h("sl-checkbox", { exportparts: "label: input-label, base: input-base", checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
6021
+ index.h("sl-checkbox", { checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
6018
6022
  e.target.value = e.target.checked;
6019
6023
  }, disabled: states.isPartner ? false : states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
6020
6024
  ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (index.h("p", { class: classes.ErrorText }, utils$1.formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
@@ -386,7 +386,7 @@ export const TaxAndCashDashboardView = (props) => {
386
386
  h("div", { class: sheet.classes.BankingInformationContainer },
387
387
  slots.payoutDetailsCardSlot,
388
388
  !states.loading && (h("p", { class: sheet.classes.DescriptionText }, text.payoutFromImpact)),
389
- states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
389
+ states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
390
390
  h("div", { class: sheet.classes.TaxDocumentsContainer },
391
391
  h("div", null, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
392
392
  h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
@@ -402,7 +402,7 @@ export const TaxAndCashDashboardView = (props) => {
402
402
  documentType: states.documentTypeString,
403
403
  })),
404
404
  h("span", { class: sheet.classes.StatusAlert }, statusMap[states.status]))),
405
- states.status !== "NOT_VERIFIED" && (h("sl-button", { style: { marginTop: "20px" }, disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "primary", exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
405
+ states.status !== "NOT_VERIFIED" && (h("sl-button", { style: { marginTop: "20px" }, disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "secondary", exportparts: "base: secondarybutton-base" }, text.newFormButton)))))))),
406
406
  h("div", { class: sheet.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet.classes.TaxSectionSkeletonContainer },
407
407
  h("sl-skeleton", { class: sheet.classes.SkeletonOne }),
408
408
  h("sl-skeleton", { class: sheet.classes.SkeletonTwo }))) : (h("div", null,
@@ -249,6 +249,10 @@ const vanillaStyle = `
249
249
  box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
250
250
  -webkit-text-fill-color: var(--sqm-input-color, white) !important;
251
251
  }
252
+
253
+ sl-checkbox::part(label){
254
+ color: var(--sqm-text);
255
+ }
252
256
  `;
253
257
  export const UserInfoFormView = (props) => {
254
258
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
@@ -418,7 +422,7 @@ export const UserInfoFormView = (props) => {
418
422
  " - ",
419
423
  c.displayName)))),
420
424
  h("div", { class: classes.CheckboxWrapper },
421
- h("sl-checkbox", { exportparts: "label: input-label, base: input-base", checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
425
+ h("sl-checkbox", { checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
422
426
  e.target.value = e.target.checked;
423
427
  }, disabled: states.isPartner ? false : states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
424
428
  ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (h("p", { class: classes.ErrorText }, formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),
@@ -4068,7 +4068,7 @@ const TaxAndCashDashboardView = (props) => {
4068
4068
  h("div", { class: sheet$4.classes.BankingInformationContainer },
4069
4069
  slots.payoutDetailsCardSlot,
4070
4070
  !states.loading && (h("p", { class: sheet$4.classes.DescriptionText }, text.payoutFromImpact)),
4071
- states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "primary", exportparts: "base: primarybutton-base", onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
4071
+ states.canEditPayoutInfo && (h("sl-button", { disabled: states.disabled || states.loading, type: "secondary", exportparts: "base: secondarybutton-base", onClick: callbacks.onEditPayoutInfo }, text.editPaymentInformationButton)))),
4072
4072
  h("div", { class: sheet$4.classes.TaxDocumentsContainer },
4073
4073
  h("div", null, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4074
4074
  h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
@@ -4084,7 +4084,7 @@ const TaxAndCashDashboardView = (props) => {
4084
4084
  documentType: states.documentTypeString,
4085
4085
  })),
4086
4086
  h("span", { class: sheet$4.classes.StatusAlert }, statusMap[states.status]))),
4087
- states.status !== "NOT_VERIFIED" && (h("sl-button", { style: { marginTop: "20px" }, disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "primary", exportparts: "base: primarybutton-base" }, text.newFormButton)))))))),
4087
+ states.status !== "NOT_VERIFIED" && (h("sl-button", { style: { marginTop: "20px" }, disabled: states.disabled || states.loading, onClick: callbacks.onClick, type: "secondary", exportparts: "base: secondarybutton-base" }, text.newFormButton)))))))),
4088
4088
  h("div", { class: sheet$4.classes.IndirectTaxPreviewContainer }, states.loading ? (h("div", { class: sheet$4.classes.TaxSectionSkeletonContainer },
4089
4089
  h("sl-skeleton", { class: sheet$4.classes.SkeletonOne }),
4090
4090
  h("sl-skeleton", { class: sheet$4.classes.SkeletonTwo }))) : (h("div", null,
@@ -5841,6 +5841,10 @@ const vanillaStyle$4 = `
5841
5841
  box-shadow: 0 0 0 50px var(--sqm-input-background, #fff) inset !important;
5842
5842
  -webkit-text-fill-color: var(--sqm-input-color, white) !important;
5843
5843
  }
5844
+
5845
+ sl-checkbox::part(label){
5846
+ color: var(--sqm-text);
5847
+ }
5844
5848
  `;
5845
5849
  const UserInfoFormView = (props) => {
5846
5850
  var _a, _b, _c, _d, _e, _f, _g, _h, _j, _k, _l, _m, _o, _p, _q, _r, _s, _t, _u;
@@ -6010,7 +6014,7 @@ const UserInfoFormView = (props) => {
6010
6014
  " - ",
6011
6015
  c.displayName)))),
6012
6016
  h("div", { class: classes.CheckboxWrapper },
6013
- h("sl-checkbox", { exportparts: "label: input-label, base: input-base", checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
6017
+ h("sl-checkbox", { checked: formState.allowBankingCollection === true, "onSl-change": (e) => {
6014
6018
  e.target.value = e.target.checked;
6015
6019
  }, disabled: states.isPartner ? false : states.disabled, required: true, value: formState.allowBankingCollection, id: "allowBankingCollection", name: "/allowBankingCollection" }, bankingCollectionText),
6016
6020
  ((_u = formState.errors) === null || _u === void 0 ? void 0 : _u.allowBankingCollection) && (h("p", { class: classes.ErrorText }, formatErrorMessage(text.termsAndConditionsLabel, formState.errors.allowBankingCollection))))),