@saasquatch/mint-components 1.14.3-4 → 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({
@@ -1587,7 +1590,7 @@ const BankingInfoForm = class {
1587
1590
  /**
1588
1591
  * @uiName Information modal description text
1589
1592
  */
1590
- 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.";
1591
1594
  /**
1592
1595
  * @uiName Information modal button text
1593
1596
  */
@@ -2538,10 +2541,6 @@ const style$3 = {
2538
2541
  "&::part(close-button)": {
2539
2542
  marginBottom: "var(--sl-spacing-xx-large)",
2540
2543
  },
2541
- "&::part(title)": {
2542
- fontSize: "var(--sl-font-size-x-large)",
2543
- fontWeight: "600",
2544
- },
2545
2544
  "&::part(body)": {
2546
2545
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
2547
2546
  fontSize: "var(--sl-font-size-small)",
@@ -2585,23 +2584,25 @@ const DocusignFormView = (props) => {
2585
2584
  var _a;
2586
2585
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2587
2586
  const { classes } = sheet$3;
2588
- console.log({ states });
2589
2587
  return (index.h("div", { class: classes.Container },
2590
2588
  index.h("style", { type: "text/css" },
2591
2589
  styleString$3,
2592
2590
  vanillaStyle$2),
2593
- index.h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2594
- index.h("div", { slot: "label" },
2595
- index.h("div", { color: "red" },
2596
- index.h("sl-icon", { name: "info-circle" })),
2597
- 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)),
2598
2599
  index.h("p", null, global.intl.formatMessage({
2599
2600
  id: "modalText",
2600
2601
  defaultMessage: text.modalDescription,
2601
2602
  }, {
2602
2603
  br: index.h("br", null),
2603
2604
  })),
2604
- 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)),
2605
2606
  index.h("div", { class: classes.TextContainer },
2606
2607
  index.h("div", null,
2607
2608
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
@@ -5027,7 +5028,7 @@ const TaxAndCashMonolith = class {
5027
5028
  * @uiName Information modal description text
5028
5029
  * @uiGroup Step 4 Properties
5029
5030
  */
5030
- 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.";
5031
5032
  /**
5032
5033
  * @uiName Information modal button text
5033
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",
@@ -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({
@@ -1583,7 +1586,7 @@ const BankingInfoForm = class {
1583
1586
  /**
1584
1587
  * @uiName Information modal description text
1585
1588
  */
1586
- 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.";
1587
1590
  /**
1588
1591
  * @uiName Information modal button text
1589
1592
  */
@@ -2534,10 +2537,6 @@ const style$3 = {
2534
2537
  "&::part(close-button)": {
2535
2538
  marginBottom: "var(--sl-spacing-xx-large)",
2536
2539
  },
2537
- "&::part(title)": {
2538
- fontSize: "var(--sl-font-size-x-large)",
2539
- fontWeight: "600",
2540
- },
2541
2540
  "&::part(body)": {
2542
2541
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
2543
2542
  fontSize: "var(--sl-font-size-small)",
@@ -2581,23 +2580,25 @@ const DocusignFormView = (props) => {
2581
2580
  var _a;
2582
2581
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2583
2582
  const { classes } = sheet$3;
2584
- console.log({ states });
2585
2583
  return (h("div", { class: classes.Container },
2586
2584
  h("style", { type: "text/css" },
2587
2585
  styleString$3,
2588
2586
  vanillaStyle$2),
2589
- h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
2590
- h("div", { slot: "label" },
2591
- h("div", { color: "red" },
2592
- h("sl-icon", { name: "info-circle" })),
2593
- 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)),
2594
2595
  h("p", null, intl.formatMessage({
2595
2596
  id: "modalText",
2596
2597
  defaultMessage: text.modalDescription,
2597
2598
  }, {
2598
2599
  br: h("br", null),
2599
2600
  })),
2600
- 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)),
2601
2602
  h("div", { class: classes.TextContainer },
2602
2603
  h("div", null,
2603
2604
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -5023,7 +5024,7 @@ const TaxAndCashMonolith = class {
5023
5024
  * @uiName Information modal description text
5024
5025
  * @uiGroup Step 4 Properties
5025
5026
  */
5026
- 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.";
5027
5028
  /**
5028
5029
  * @uiName Information modal button text
5029
5030
  * @uiGroup Step 4 Properties