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

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,14 +797,9 @@ 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
- marginTop: "var(--sl-spacing-x-large)",
802
- padding: "var(--sl-spacing-small) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
803
803
  },
804
804
  "&::part(body)": {
805
805
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -885,11 +885,9 @@ const BankingInfoFormView = (props) => {
885
885
  styleString,
886
886
  vanillaStyle),
887
887
  index.h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
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)),
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)),
893
891
  index.h("p", null, text.modalDescription),
894
892
  index.h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
895
893
  index.h("div", { class: classes.TextContainer },
@@ -2423,6 +2421,11 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2423
2421
  };
2424
2422
 
2425
2423
  const style$3 = {
2424
+ ModalTitleContainer: {
2425
+ display: "flex",
2426
+ gap: "var(--sl-spacing-small)",
2427
+ alignItems: "center",
2428
+ },
2426
2429
  FormWrapper: {
2427
2430
  display: "flex",
2428
2431
  justifyContent: "flex-start",
@@ -2538,8 +2541,9 @@ const style$3 = {
2538
2541
  "&::part(panel)": {
2539
2542
  maxWidth: "420px",
2540
2543
  },
2541
- "&::part(close-button)": {
2542
- marginBottom: "var(--sl-spacing-xx-large)",
2544
+ "&::part(title)": {
2545
+ fontSize: "var(--sl-font-size-large)",
2546
+ fontWeight: "600",
2543
2547
  },
2544
2548
  "&::part(body)": {
2545
2549
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -2588,14 +2592,10 @@ const DocusignFormView = (props) => {
2588
2592
  index.h("style", { type: "text/css" },
2589
2593
  styleString$3,
2590
2594
  vanillaStyle$2),
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)),
2595
+ index.h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
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)),
2599
2599
  index.h("p", null, global.intl.formatMessage({
2600
2600
  id: "modalText",
2601
2601
  defaultMessage: text.modalDescription,
@@ -2763,7 +2763,7 @@ const DocusignForm = class {
2763
2763
  /**
2764
2764
  * @uiName Information modal description text
2765
2765
  */
2766
- this.modalDescription = "Ensure the name you enter in your tax form matches the name on your bank account, also known as the beneficiary name.{br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
2766
+ this.modalDescription = "Remember the name you enter in your tax form. It must match the bank account holder name, also known as beneficiary name, configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
2767
2767
  /**
2768
2768
  * @uiName Information modal button text
2769
2769
  */
@@ -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,14 +151,9 @@ 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
- marginTop: "var(--sl-spacing-x-large)",
156
- padding: "var(--sl-spacing-small) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
157
157
  },
158
158
  "&::part(body)": {
159
159
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -239,11 +239,9 @@ export const BankingInfoFormView = (props) => {
239
239
  styleString,
240
240
  vanillaStyle),
241
241
  h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
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)),
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)),
247
245
  h("p", null, text.modalDescription),
248
246
  h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
249
247
  h("div", { class: classes.TextContainer },
@@ -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,8 +123,9 @@ const style = {
118
123
  "&::part(panel)": {
119
124
  maxWidth: "420px",
120
125
  },
121
- "&::part(close-button)": {
122
- marginBottom: "var(--sl-spacing-xx-large)",
126
+ "&::part(title)": {
127
+ fontSize: "var(--sl-font-size-large)",
128
+ fontWeight: "600",
123
129
  },
124
130
  "&::part(body)": {
125
131
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -168,14 +174,10 @@ export const DocusignFormView = (props) => {
168
174
  h("style", { type: "text/css" },
169
175
  styleString,
170
176
  vanillaStyle),
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)),
177
+ h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
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)),
179
181
  h("p", null, intl.formatMessage({
180
182
  id: "modalText",
181
183
  defaultMessage: text.modalDescription,
@@ -127,7 +127,7 @@ export class DocusignForm {
127
127
  /**
128
128
  * @uiName Information modal description text
129
129
  */
130
- this.modalDescription = "Ensure the name you enter in your tax form matches the name on your bank account, also known as the beneficiary name.{br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
130
+ this.modalDescription = "Remember the name you enter in your tax form. It must match the bank account holder name, also known as beneficiary name, configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
131
131
  /**
132
132
  * @uiName Information modal button text
133
133
  */
@@ -659,7 +659,7 @@ export class DocusignForm {
659
659
  },
660
660
  "attribute": "modal-description",
661
661
  "reflect": false,
662
- "defaultValue": "\"Ensure the name you enter in your tax form matches the name on your bank account, also known as the beneficiary name.{br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.\""
662
+ "defaultValue": "\"Remember the name you enter in your tax form. It must match the bank account holder name, also known as beneficiary name, configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.\""
663
663
  },
664
664
  "modalButtonText": {
665
665
  "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,14 +793,9 @@ 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
- marginTop: "var(--sl-spacing-x-large)",
798
- padding: "var(--sl-spacing-small) var(--sl-spacing-large) 0 var(--sl-spacing-large)",
799
799
  },
800
800
  "&::part(body)": {
801
801
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -881,11 +881,9 @@ const BankingInfoFormView = (props) => {
881
881
  styleString,
882
882
  vanillaStyle),
883
883
  h("sl-dialog", { class: sheet.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
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)),
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)),
889
887
  h("p", null, text.modalDescription),
890
888
  h("sl-button", { slot: "footer", type: "primary", class: sheet.classes.DialogButton, submit: true, exportparts: "base: primarybutton-base" }, text.modalButtonText)),
891
889
  h("div", { class: classes.TextContainer },
@@ -2419,6 +2417,11 @@ const DocusignIframe = ({ states, data, callbacks, text, }) => {
2419
2417
  };
2420
2418
 
2421
2419
  const style$3 = {
2420
+ ModalTitleContainer: {
2421
+ display: "flex",
2422
+ gap: "var(--sl-spacing-small)",
2423
+ alignItems: "center",
2424
+ },
2422
2425
  FormWrapper: {
2423
2426
  display: "flex",
2424
2427
  justifyContent: "flex-start",
@@ -2534,8 +2537,9 @@ const style$3 = {
2534
2537
  "&::part(panel)": {
2535
2538
  maxWidth: "420px",
2536
2539
  },
2537
- "&::part(close-button)": {
2538
- marginBottom: "var(--sl-spacing-xx-large)",
2540
+ "&::part(title)": {
2541
+ fontSize: "var(--sl-font-size-large)",
2542
+ fontWeight: "600",
2539
2543
  },
2540
2544
  "&::part(body)": {
2541
2545
  padding: "0 var(--sl-spacing-x-large) 0 var(--sl-spacing-x-large)",
@@ -2584,14 +2588,10 @@ const DocusignFormView = (props) => {
2584
2588
  h("style", { type: "text/css" },
2585
2589
  styleString$3,
2586
2590
  vanillaStyle$2),
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)),
2591
+ h("sl-dialog", { class: sheet$3.classes.Dialog, open: states.showModal, "onSl-hide": callbacks.onModalClose },
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)),
2595
2595
  h("p", null, intl.formatMessage({
2596
2596
  id: "modalText",
2597
2597
  defaultMessage: text.modalDescription,
@@ -2759,7 +2759,7 @@ const DocusignForm = class {
2759
2759
  /**
2760
2760
  * @uiName Information modal description text
2761
2761
  */
2762
- this.modalDescription = "Ensure the name you enter in your tax form matches the name on your bank account, also known as the beneficiary name.{br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
2762
+ this.modalDescription = "Remember the name you enter in your tax form. It must match the bank account holder name, also known as beneficiary name, configured in the next step. {br}{br}Otherwise you will have to resubmit your form again and there will be delays receiving your payout.";
2763
2763
  /**
2764
2764
  * @uiName Information modal button text
2765
2765
  */