@saasquatch/mint-components 1.14.3-4 → 1.14.3-6

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.
@@ -649,6 +649,11 @@ const mockPaymentOptions = {
649
649
  };
650
650
 
651
651
  const style = {
652
+ ModalTitleContainer: {
653
+ display: "flex",
654
+ gap: "var(--sl-spacing-small)",
655
+ alignItems: "center",
656
+ },
652
657
  FormWrapper: {
653
658
  display: "flex",
654
659
  justifyContent: "flex-start",
@@ -792,11 +797,8 @@ const style = {
792
797
  "&::part(panel)": {
793
798
  maxWidth: "420px",
794
799
  },
795
- "&::part(close-button)": {
796
- marginBottom: "var(--sl-spacing-xx-large)",
797
- },
798
800
  "&::part(title)": {
799
- fontSize: "var(--sl-font-size-x-large)",
801
+ fontSize: "var(--sl-font-size-large)",
800
802
  fontWeight: "600",
801
803
  },
802
804
  "&::part(body)": {
@@ -883,12 +885,11 @@ 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", { class: classes.ModalTitleContainer, slot: "label" },
889
+ index.h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
890
+ index.h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
890
891
  index.h("p", null, text.modalDescription),
891
- index.h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true }, text.modalButtonText)),
892
+ index.h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
892
893
  index.h("div", { class: classes.TextContainer },
893
894
  index.h("div", null,
894
895
  !states.hideSteps && (index.h("p", null, global.intl.formatMessage({
@@ -1587,7 +1588,7 @@ const BankingInfoForm = class {
1587
1588
  /**
1588
1589
  * @uiName Information modal description text
1589
1590
  */
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.";
1591
+ 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
1592
  /**
1592
1593
  * @uiName Information modal button text
1593
1594
  */
@@ -2420,6 +2421,11 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2420
2421
  };
2421
2422
 
2422
2423
  const style$3 = {
2424
+ ModalTitleContainer: {
2425
+ display: "flex",
2426
+ gap: "var(--sl-spacing-small)",
2427
+ alignItems: "center",
2428
+ },
2423
2429
  FormWrapper: {
2424
2430
  display: "flex",
2425
2431
  justifyContent: "flex-start",
@@ -2535,11 +2541,8 @@ const style$3 = {
2535
2541
  "&::part(panel)": {
2536
2542
  maxWidth: "420px",
2537
2543
  },
2538
- "&::part(close-button)": {
2539
- marginBottom: "var(--sl-spacing-xx-large)",
2540
- },
2541
2544
  "&::part(title)": {
2542
- fontSize: "var(--sl-font-size-x-large)",
2545
+ fontSize: "var(--sl-font-size-large)",
2543
2546
  fontWeight: "600",
2544
2547
  },
2545
2548
  "&::part(body)": {
@@ -2585,23 +2588,21 @@ const DocusignFormView = (props) => {
2585
2588
  var _a;
2586
2589
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2587
2590
  const { classes } = sheet$3;
2588
- console.log({ states });
2589
2591
  return (index.h("div", { class: classes.Container },
2590
2592
  index.h("style", { type: "text/css" },
2591
2593
  styleString$3,
2592
2594
  vanillaStyle$2),
2593
2595
  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),
2596
+ index.h("div", { class: classes.ModalTitleContainer, slot: "label" },
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-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
@@ -3,6 +3,11 @@ import { intl } from "../../../global/global";
3
3
  import { createStyleSheet } from "../../../styling/JSS";
4
4
  import { FORM_STEPS } from "../sqm-tax-and-cash/data";
5
5
  const style = {
6
+ ModalTitleContainer: {
7
+ display: "flex",
8
+ gap: "var(--sl-spacing-small)",
9
+ alignItems: "center",
10
+ },
6
11
  FormWrapper: {
7
12
  display: "flex",
8
13
  justifyContent: "flex-start",
@@ -146,11 +151,8 @@ const style = {
146
151
  "&::part(panel)": {
147
152
  maxWidth: "420px",
148
153
  },
149
- "&::part(close-button)": {
150
- marginBottom: "var(--sl-spacing-xx-large)",
151
- },
152
154
  "&::part(title)": {
153
- fontSize: "var(--sl-font-size-x-large)",
155
+ fontSize: "var(--sl-font-size-large)",
154
156
  fontWeight: "600",
155
157
  },
156
158
  "&::part(body)": {
@@ -237,12 +239,11 @@ 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", { class: classes.ModalTitleContainer, slot: "label" },
243
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
244
+ h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
244
245
  h("p", null, text.modalDescription),
245
- h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true }, text.modalButtonText)),
246
+ h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
246
247
  h("div", { class: classes.TextContainer },
247
248
  h("div", null,
248
249
  !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",
@@ -3,6 +3,11 @@ import { intl } from "../../../global/global";
3
3
  import { createStyleSheet } from "../../../styling/JSS";
4
4
  import { FORM_STEPS } from "../sqm-tax-and-cash/data";
5
5
  const style = {
6
+ ModalTitleContainer: {
7
+ display: "flex",
8
+ gap: "var(--sl-spacing-small)",
9
+ alignItems: "center",
10
+ },
6
11
  FormWrapper: {
7
12
  display: "flex",
8
13
  justifyContent: "flex-start",
@@ -118,11 +123,8 @@ const style = {
118
123
  "&::part(panel)": {
119
124
  maxWidth: "420px",
120
125
  },
121
- "&::part(close-button)": {
122
- marginBottom: "var(--sl-spacing-xx-large)",
123
- },
124
126
  "&::part(title)": {
125
- fontSize: "var(--sl-font-size-x-large)",
127
+ fontSize: "var(--sl-font-size-large)",
126
128
  fontWeight: "600",
127
129
  },
128
130
  "&::part(body)": {
@@ -168,23 +170,21 @@ export const DocusignFormView = (props) => {
168
170
  var _a;
169
171
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
170
172
  const { classes } = sheet;
171
- console.log({ states });
172
173
  return (h("div", { class: classes.Container },
173
174
  h("style", { type: "text/css" },
174
175
  styleString,
175
176
  vanillaStyle),
176
177
  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),
178
+ h("div", { class: classes.ModalTitleContainer, slot: "label" },
179
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
180
+ h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
181
181
  h("p", null, intl.formatMessage({
182
182
  id: "modalText",
183
183
  defaultMessage: text.modalDescription,
184
184
  }, {
185
185
  br: h("br", null),
186
186
  })),
187
- h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, onClick: callbacks.onModalClose }, text.modalButtonText)),
187
+ h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, onClick: callbacks.onModalClose, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
188
188
  h("div", { class: classes.TextContainer },
189
189
  h("div", null,
190
190
  !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",
@@ -645,6 +645,11 @@ const mockPaymentOptions = {
645
645
  };
646
646
 
647
647
  const style = {
648
+ ModalTitleContainer: {
649
+ display: "flex",
650
+ gap: "var(--sl-spacing-small)",
651
+ alignItems: "center",
652
+ },
648
653
  FormWrapper: {
649
654
  display: "flex",
650
655
  justifyContent: "flex-start",
@@ -788,11 +793,8 @@ const style = {
788
793
  "&::part(panel)": {
789
794
  maxWidth: "420px",
790
795
  },
791
- "&::part(close-button)": {
792
- marginBottom: "var(--sl-spacing-xx-large)",
793
- },
794
796
  "&::part(title)": {
795
- fontSize: "var(--sl-font-size-x-large)",
797
+ fontSize: "var(--sl-font-size-large)",
796
798
  fontWeight: "600",
797
799
  },
798
800
  "&::part(body)": {
@@ -879,12 +881,11 @@ 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", { class: classes.ModalTitleContainer, slot: "label" },
885
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
886
+ h("h2", { style: { fontSize: "var(--sl-font-size-large)" } }, text.modalTitle)),
886
887
  h("p", null, text.modalDescription),
887
- h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true }, text.modalButtonText)),
888
+ h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
888
889
  h("div", { class: classes.TextContainer },
889
890
  h("div", null,
890
891
  !states.hideSteps && (h("p", null, intl.formatMessage({
@@ -1583,7 +1584,7 @@ const BankingInfoForm = class {
1583
1584
  /**
1584
1585
  * @uiName Information modal description text
1585
1586
  */
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.";
1587
+ 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
1588
  /**
1588
1589
  * @uiName Information modal button text
1589
1590
  */
@@ -2416,6 +2417,11 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2416
2417
  };
2417
2418
 
2418
2419
  const style$3 = {
2420
+ ModalTitleContainer: {
2421
+ display: "flex",
2422
+ gap: "var(--sl-spacing-small)",
2423
+ alignItems: "center",
2424
+ },
2419
2425
  FormWrapper: {
2420
2426
  display: "flex",
2421
2427
  justifyContent: "flex-start",
@@ -2531,11 +2537,8 @@ const style$3 = {
2531
2537
  "&::part(panel)": {
2532
2538
  maxWidth: "420px",
2533
2539
  },
2534
- "&::part(close-button)": {
2535
- marginBottom: "var(--sl-spacing-xx-large)",
2536
- },
2537
2540
  "&::part(title)": {
2538
- fontSize: "var(--sl-font-size-x-large)",
2541
+ fontSize: "var(--sl-font-size-large)",
2539
2542
  fontWeight: "600",
2540
2543
  },
2541
2544
  "&::part(body)": {
@@ -2581,23 +2584,21 @@ const DocusignFormView = (props) => {
2581
2584
  var _a;
2582
2585
  const { states, states: { formState, documentTypeString }, callbacks, text, slots, } = props;
2583
2586
  const { classes } = sheet$3;
2584
- console.log({ states });
2585
2587
  return (h("div", { class: classes.Container },
2586
2588
  h("style", { type: "text/css" },
2587
2589
  styleString$3,
2588
2590
  vanillaStyle$2),
2589
2591
  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),
2592
+ h("div", { class: classes.ModalTitleContainer, slot: "label" },
2593
+ h("sl-icon", { name: "info-circle", style: { color: "var(--sl-color-info-500)" } }),
2594
+ h("h2", { style: { fontSize: "var(--sl-font-size-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