@saasquatch/mint-components 1.14.3-3 → 1.14.3-5

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.
@@ -798,6 +798,8 @@ const style = {
798
798
  "&::part(title)": {
799
799
  fontSize: "var(--sl-font-size-x-large)",
800
800
  fontWeight: "600",
801
+ marginTop: "var(--sl-spacing-x-large)",
802
+ padding: "var(--sl-spacing-small) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
801
803
  },
802
804
  "&::part(body)": {
803
805
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -883,12 +885,13 @@ const BankingInfoFormView = (props) => {
883
885
  styleString,
884
886
  vanillaStyle),
885
887
  index.h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
886
- index.h("div", { slot: "label" },
887
- index.h("div", { color: "red" },
888
- index.h("sl-icon", { name: "info-circle" })),
889
- text.modalTitle),
888
+ index.h("div", null,
889
+ index.h("h1", null,
890
+ index.h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } })),
891
+ index.h("h2", { style: { fontSize: "var(--sl-font-size-x-large)" } }, text.modalTitle),
892
+ index.h("br", null)),
890
893
  index.h("p", null, text.modalDescription),
891
- index.h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true }, text.modalButtonText)),
894
+ index.h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
892
895
  index.h("div", { class: classes.TextContainer },
893
896
  index.h("div", null,
894
897
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
@@ -1230,6 +1233,7 @@ function useBankingInfoForm(props) {
1230
1233
  }
1231
1234
  let token = undefined;
1232
1235
  if (isPartner) {
1236
+ setShowModal(false);
1233
1237
  setShowVerification(true);
1234
1238
  token = await new Promise((res) => {
1235
1239
  const cb = (e) => {
@@ -1586,7 +1590,7 @@ const BankingInfoForm = class {
1586
1590
  /**
1587
1591
  * @uiName Information modal description text
1588
1592
  */
1589
- this.modalDescription = "By changing your bank account information, your account and payouts will be placed on hold for up to 48 hours until your change is verified.";
1593
+ this.modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
1590
1594
  /**
1591
1595
  * @uiName Information modal button text
1592
1596
  */
@@ -2537,10 +2541,6 @@ const style$3 = {
2537
2541
  "&::part(close-button)": {
2538
2542
  marginBottom: "var(--sl-spacing-xx-large)",
2539
2543
  },
2540
- "&::part(title)": {
2541
- fontSize: "var(--sl-font-size-x-large)",
2542
- fontWeight: "600",
2543
- },
2544
2544
  "&::part(body)": {
2545
2545
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
2546
2546
  fontSize: "var(--sl-font-size-small)",
@@ -2584,23 +2584,25 @@ const DocusignFormView = (props) => {
2584
2584
  var _a;
2585
2585
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2586
2586
  const { classes } = sheet$3;
2587
- console.log({ states });
2588
2587
  return (index.h("div", { class: classes.Container },
2589
2588
  index.h("style", { type: "text/css" },
2590
2589
  styleString$3,
2591
2590
  vanillaStyle$2),
2592
- index.h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2593
- index.h("div", { slot: "label" },
2594
- index.h("div", { color: "red" },
2595
- index.h("sl-icon", { name: "info-circle" })),
2596
- text.modalTitle),
2591
+ index.h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose, "no-header": true },
2592
+ index.h("div", { style: {
2593
+ marginTop: "var(--sl-spacing-x-large)",
2594
+ marginBottom: "var(--sl-spacing-large)",
2595
+ } },
2596
+ index.h("h1", null,
2597
+ index.h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } })),
2598
+ index.h("h2", { style: { fontSize: "var(--sl-font-size-x-large)" } }, text.modalTitle)),
2597
2599
  index.h("p", null, global.intl.formatMessage({
2598
2600
  id: "modalText",
2599
2601
  defaultMessage: text.modalDescription,
2600
2602
  }, {
2601
2603
  br: index.h("br", null),
2602
2604
  })),
2603
- index.h("sl-button", { slot: "footer", type: "primary", class: sheet$3.classes.DialogButton, onClick: callbacks.onModalClose }, text.modalButtonText)),
2605
+ index.h("sl-button", { slot: "footer", type: "primary", class: sheet$3.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2604
2606
  index.h("div", { class: classes.TextContainer },
2605
2607
  index.h("div", null,
2606
2608
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
@@ -5026,7 +5028,7 @@ const TaxAndCashMonolith = class {
5026
5028
  * @uiName Information modal description text
5027
5029
  * @uiGroup Step 4 Properties
5028
5030
  */
5029
- this.step4_modalDescription = "By changing your bank account information, your account and payouts will be placed on hold for up to 48 hours until your change is verified.";
5031
+ this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
5030
5032
  /**
5031
5033
  * @uiName Information modal button text
5032
5034
  * @uiGroup Step 4 Properties
@@ -152,6 +152,8 @@ const style = {
152
152
  "&::part(title)": {
153
153
  fontSize: "var(--sl-font-size-x-large)",
154
154
  fontWeight: "600",
155
+ marginTop: "var(--sl-spacing-x-large)",
156
+ padding: "var(--sl-spacing-small) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
155
157
  },
156
158
  "&::part(body)": {
157
159
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -237,12 +239,13 @@ export const BankingInfoFormView = (props) => {
237
239
  styleString,
238
240
  vanillaStyle),
239
241
  h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
240
- h("div", { slot: "label" },
241
- h("div", { color: "red" },
242
- h("sl-icon", { name: "info-circle" })),
243
- text.modalTitle),
242
+ h("div", null,
243
+ h("h1", null,
244
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } })),
245
+ h("h2", { style: { fontSize: "var(--sl-font-size-x-large)" } }, text.modalTitle),
246
+ h("br", null)),
244
247
  h("p", null, text.modalDescription),
245
- h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true }, text.modalButtonText)),
248
+ h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
246
249
  h("div", { class: classes.TextContainer },
247
250
  h("div", null,
248
251
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -282,7 +282,7 @@ export class BankingInfoForm {
282
282
  /**
283
283
  * @uiName Information modal description text
284
284
  */
285
- this.modalDescription = "By changing your bank account information, your account and payouts will be placed on hold for up to 48 hours until your change is verified.";
285
+ this.modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
286
286
  /**
287
287
  * @uiName Information modal button text
288
288
  */
@@ -1684,7 +1684,7 @@ export class BankingInfoForm {
1684
1684
  },
1685
1685
  "attribute": "modal-description",
1686
1686
  "reflect": false,
1687
- "defaultValue": "\"By changing your bank account information, your account and payouts will be placed on hold for up to 48 hours until your change is verified.\""
1687
+ "defaultValue": "\"Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.\""
1688
1688
  },
1689
1689
  "modalButtonText": {
1690
1690
  "type": "string",
@@ -282,6 +282,7 @@ export function useBankingInfoForm(props) {
282
282
  }
283
283
  let token = undefined;
284
284
  if (isPartner) {
285
+ setShowModal(false);
285
286
  setShowVerification(true);
286
287
  token = await new Promise((res) => {
287
288
  const cb = (e) => {
@@ -121,10 +121,6 @@ const style = {
121
121
  "&::part(close-button)": {
122
122
  marginBottom: "var(--sl-spacing-xx-large)",
123
123
  },
124
- "&::part(title)": {
125
- fontSize: "var(--sl-font-size-x-large)",
126
- fontWeight: "600",
127
- },
128
124
  "&::part(body)": {
129
125
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
130
126
  fontSize: "var(--sl-font-size-small)",
@@ -168,23 +164,25 @@ export const DocusignFormView = (props) => {
168
164
  var _a;
169
165
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
170
166
  const { classes } = sheet;
171
- console.log({ states });
172
167
  return (h("div", { class: classes.Container },
173
168
  h("style", { type: "text/css" },
174
169
  styleString,
175
170
  vanillaStyle),
176
- h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
177
- h("div", { slot: "label" },
178
- h("div", { color: "red" },
179
- h("sl-icon", { name: "info-circle" })),
180
- text.modalTitle),
171
+ h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose, "no-header": true },
172
+ h("div", { style: {
173
+ marginTop: "var(--sl-spacing-x-large)",
174
+ marginBottom: "var(--sl-spacing-large)",
175
+ } },
176
+ h("h1", null,
177
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } })),
178
+ h("h2", { style: { fontSize: "var(--sl-font-size-x-large)" } }, text.modalTitle)),
181
179
  h("p", null, intl.formatMessage({
182
180
  id: "modalText",
183
181
  defaultMessage: text.modalDescription,
184
182
  }, {
185
183
  br: h("br", null),
186
184
  })),
187
- h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, onClick: callbacks.onModalClose }, text.modalButtonText)),
185
+ h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
188
186
  h("div", { class: classes.TextContainer },
189
187
  h("div", null,
190
188
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -557,7 +557,7 @@ export class TaxAndCashMonolith {
557
557
  * @uiName Information modal description text
558
558
  * @uiGroup Step 4 Properties
559
559
  */
560
- this.step4_modalDescription = "By changing your bank account information, your account and payouts will be placed on hold for up to 48 hours until your change is verified.";
560
+ this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
561
561
  /**
562
562
  * @uiName Information modal button text
563
563
  * @uiGroup Step 4 Properties
@@ -3409,7 +3409,7 @@ export class TaxAndCashMonolith {
3409
3409
  },
3410
3410
  "attribute": "step-4_modal-description",
3411
3411
  "reflect": false,
3412
- "defaultValue": "\"By changing your bank account information, your account and payouts will be placed on hold for up to 48 hours until your change is verified.\""
3412
+ "defaultValue": "\"Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.\""
3413
3413
  },
3414
3414
  "step4_modalButtonText": {
3415
3415
  "type": "string",
@@ -794,6 +794,8 @@ const style = {
794
794
  "&::part(title)": {
795
795
  fontSize: "var(--sl-font-size-x-large)",
796
796
  fontWeight: "600",
797
+ marginTop: "var(--sl-spacing-x-large)",
798
+ padding: "var(--sl-spacing-small) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
797
799
  },
798
800
  "&::part(body)": {
799
801
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -879,12 +881,13 @@ const BankingInfoFormView = (props) => {
879
881
  styleString,
880
882
  vanillaStyle),
881
883
  h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
882
- h("div", { slot: "label" },
883
- h("div", { color: "red" },
884
- h("sl-icon", { name: "info-circle" })),
885
- text.modalTitle),
884
+ h("div", null,
885
+ h("h1", null,
886
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } })),
887
+ h("h2", { style: { fontSize: "var(--sl-font-size-x-large)" } }, text.modalTitle),
888
+ h("br", null)),
886
889
  h("p", null, text.modalDescription),
887
- h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true }, text.modalButtonText)),
890
+ h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
888
891
  h("div", { class: classes.TextContainer },
889
892
  h("div", null,
890
893
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -1226,6 +1229,7 @@ function useBankingInfoForm(props) {
1226
1229
  }
1227
1230
  let token = undefined;
1228
1231
  if (isPartner) {
1232
+ setShowModal(false);
1229
1233
  setShowVerification(true);
1230
1234
  token = await new Promise((res) => {
1231
1235
  const cb = (e) => {
@@ -1582,7 +1586,7 @@ const BankingInfoForm = class {
1582
1586
  /**
1583
1587
  * @uiName Information modal description text
1584
1588
  */
1585
- this.modalDescription = "By changing your bank account information, your account and payouts will be placed on hold for up to 48 hours until your change is verified.";
1589
+ this.modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
1586
1590
  /**
1587
1591
  * @uiName Information modal button text
1588
1592
  */
@@ -2533,10 +2537,6 @@ const style$3 = {
2533
2537
  "&::part(close-button)": {
2534
2538
  marginBottom: "var(--sl-spacing-xx-large)",
2535
2539
  },
2536
- "&::part(title)": {
2537
- fontSize: "var(--sl-font-size-x-large)",
2538
- fontWeight: "600",
2539
- },
2540
2540
  "&::part(body)": {
2541
2541
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
2542
2542
  fontSize: "var(--sl-font-size-small)",
@@ -2580,23 +2580,25 @@ const DocusignFormView = (props) => {
2580
2580
  var _a;
2581
2581
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2582
2582
  const { classes } = sheet$3;
2583
- console.log({ states });
2584
2583
  return (h("div", { class: classes.Container },
2585
2584
  h("style", { type: "text/css" },
2586
2585
  styleString$3,
2587
2586
  vanillaStyle$2),
2588
- h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2589
- h("div", { slot: "label" },
2590
- h("div", { color: "red" },
2591
- h("sl-icon", { name: "info-circle" })),
2592
- text.modalTitle),
2587
+ h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose, "no-header": true },
2588
+ h("div", { style: {
2589
+ marginTop: "var(--sl-spacing-x-large)",
2590
+ marginBottom: "var(--sl-spacing-large)",
2591
+ } },
2592
+ h("h1", null,
2593
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } })),
2594
+ h("h2", { style: { fontSize: "var(--sl-font-size-x-large)" } }, text.modalTitle)),
2593
2595
  h("p", null, intl.formatMessage({
2594
2596
  id: "modalText",
2595
2597
  defaultMessage: text.modalDescription,
2596
2598
  }, {
2597
2599
  br: h("br", null),
2598
2600
  })),
2599
- h("sl-button", { slot: "footer", type: "primary", class: sheet$3.classes.DialogButton, onClick: callbacks.onModalClose }, text.modalButtonText)),
2601
+ h("sl-button", { slot: "footer", type: "primary", class: sheet$3.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
2600
2602
  h("div", { class: classes.TextContainer },
2601
2603
  h("div", null,
2602
2604
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -5022,7 +5024,7 @@ const TaxAndCashMonolith = class {
5022
5024
  * @uiName Information modal description text
5023
5025
  * @uiGroup Step 4 Properties
5024
5026
  */
5025
- this.step4_modalDescription = "By changing your bank account information, your account and payouts will be placed on hold for up to 48 hours until your change is verified.";
5027
+ this.step4_modalDescription = "Updating payment information places your account and payouts on hold for up to 48 hours while we verify your change. Payments scheduled during the hold period are skipped.";
5026
5028
  /**
5027
5029
  * @uiName Information modal button text
5028
5030
  * @uiGroup Step 4 Properties