@saasquatch/mint-components 2.0.0-60 → 2.0.0-62

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.
Files changed (60) hide show
  1. package/dist/cjs/{ShadowViewAddon-016bebfd.js → ShadowViewAddon-23b04c91.js} +1 -1
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +3 -4
  5. package/dist/cjs/sqm-big-stat_46.cjs.entry.js +2 -2
  6. package/dist/cjs/sqm-empty_4.cjs.entry.js +1 -1
  7. package/dist/cjs/sqm-form-message.cjs.entry.js +9 -5
  8. package/dist/cjs/{sqm-portal-container-view-ca86b9e5.js → sqm-portal-container-view-07e4343f.js} +1 -1
  9. package/dist/cjs/sqm-stencilbook.cjs.entry.js +21 -3
  10. package/dist/collection/components/sqm-form-message/FormMessage.stories.js +14 -0
  11. package/dist/collection/components/sqm-form-message/sqm-form-message.css +7 -0
  12. package/dist/collection/components/sqm-form-message/sqm-form-message.js +26 -4
  13. package/dist/collection/components/sqm-portal-container/sqm-portal-container-view.js +1 -1
  14. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +3 -4
  15. package/dist/esm/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-c0bd62f7.js} +1 -1
  16. package/dist/esm/loader.js +1 -1
  17. package/dist/esm/mint-components.js +1 -1
  18. package/dist/esm/sqm-banking-info-form_10.entry.js +3 -4
  19. package/dist/esm/sqm-big-stat_46.entry.js +2 -2
  20. package/dist/esm/sqm-empty_4.entry.js +1 -1
  21. package/dist/esm/sqm-form-message.entry.js +9 -5
  22. package/dist/esm/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
  23. package/dist/esm/sqm-stencilbook.entry.js +21 -3
  24. package/dist/esm-es5/{ShadowViewAddon-4cde160a.js → ShadowViewAddon-c0bd62f7.js} +1 -1
  25. package/dist/esm-es5/loader.js +1 -1
  26. package/dist/esm-es5/mint-components.js +1 -1
  27. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  28. package/dist/esm-es5/sqm-big-stat_46.entry.js +1 -1
  29. package/dist/esm-es5/sqm-empty_4.entry.js +1 -1
  30. package/dist/esm-es5/sqm-form-message.entry.js +1 -1
  31. package/dist/esm-es5/{sqm-portal-container-view-16309b22.js → sqm-portal-container-view-176e92e3.js} +1 -1
  32. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  33. package/dist/mint-components/mint-components.esm.js +1 -1
  34. package/dist/mint-components/{p-9fed62f8.system.entry.js → p-35081b0c.system.entry.js} +1 -1
  35. package/dist/mint-components/{p-5c97c43e.system.entry.js → p-454a6d05.system.entry.js} +1 -1
  36. package/dist/mint-components/p-478ad7c8.system.entry.js +1 -0
  37. package/dist/mint-components/{p-9df7c27f.entry.js → p-622b4066.entry.js} +1 -1
  38. package/dist/mint-components/{p-1ce5a30d.entry.js → p-6b247deb.entry.js} +1 -1
  39. package/dist/mint-components/{p-3bf5cd51.entry.js → p-76d4ef41.entry.js} +1 -1
  40. package/dist/mint-components/{p-4ffc5bce.js → p-7d735c9c.js} +1 -1
  41. package/dist/mint-components/{p-1fa9ef02.js → p-9580aac3.js} +1 -1
  42. package/dist/mint-components/p-967a9040.system.js +1 -1
  43. package/dist/mint-components/{p-69d8b4f2.system.entry.js → p-a63a985a.system.entry.js} +1 -1
  44. package/dist/mint-components/p-a6f4fb03.system.js +1 -0
  45. package/dist/mint-components/p-ac9138fd.entry.js +1 -0
  46. package/dist/mint-components/p-b038b72a.system.entry.js +1 -0
  47. package/dist/mint-components/{p-c62b277d.system.js → p-bb452830.system.js} +1 -1
  48. package/dist/mint-components/{p-38263521.entry.js → p-c40ea48b.entry.js} +1 -1
  49. package/dist/types/components/sqm-form-message/FormMessage.stories.d.ts +4 -0
  50. package/dist/types/components/sqm-form-message/sqm-form-message.d.ts +4 -0
  51. package/dist/types/components.d.ts +8 -0
  52. package/docs/docs.docx +0 -0
  53. package/docs/raisins.json +1 -1
  54. package/grapesjs/grapesjs.js +1 -1
  55. package/package.json +1 -1
  56. package/dist/mint-components/p-1ba34945.system.entry.js +0 -1
  57. package/dist/mint-components/p-916a2045.system.entry.js +0 -1
  58. package/dist/mint-components/p-92bed2ad.system.js +0 -1
  59. package/dist/mint-components/p-a597b136.entry.js +0 -1
  60. package/shoelace/assets/icons/twitter-x.svg +0 -4
@@ -34,8 +34,8 @@ const sqmPortalResetPasswordView = require('./sqm-portal-reset-password-view-25e
34
34
  const sqmPortalVerifyEmailView = require('./sqm-portal-verify-email-view-1c4e781f.js');
35
35
  require('./ErrorView-3f91e5ab.js');
36
36
  const sqmQrCodeView = require('./sqm-qr-code-view-4ccf89da.js');
37
- const ShadowViewAddon = require('./ShadowViewAddon-016bebfd.js');
38
- const sqmPortalContainerView = require('./sqm-portal-container-view-ca86b9e5.js');
37
+ const ShadowViewAddon = require('./ShadowViewAddon-23b04c91.js');
38
+ const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
39
39
  const IndirectTaxDetailsView = require('./IndirectTaxDetailsView-e5f70b8b.js');
40
40
  const utils = require('./utils-83d125fa.js');
41
41
  const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-06ed3632.js');
@@ -6432,6 +6432,20 @@ const InfoAlert = () => {
6432
6432
  index.h("p", { part: "alert-title" }, "This is the title"),
6433
6433
  index.h("p", { part: "alert-description" }, "This is the description")));
6434
6434
  };
6435
+ const SuccessAlertTransparent = () => {
6436
+ return (index.h("sqm-form-message", { type: "success", transparent: true },
6437
+ index.h("p", { part: "alert-title" }, "This is the title"),
6438
+ index.h("p", { part: "alert-description" }, "This is the description")));
6439
+ };
6440
+ const ErrorAlertTransparent = () => (index.h("sqm-form-message", { type: "error", transparent: true },
6441
+ index.h("p", { part: "alert-title" }, "This is the title"),
6442
+ index.h("p", { part: "alert-description" }, "This is the description")));
6443
+ const WarningAlertTransparent = () => (index.h("sqm-form-message", { type: "warning", transparent: true },
6444
+ index.h("p", { part: "alert-title" }, "This is the title"),
6445
+ index.h("p", { part: "alert-description" }, "This is the description")));
6446
+ const InfoAlertTransparent = () => (index.h("sqm-form-message", { type: "info", transparent: true },
6447
+ index.h("p", { part: "alert-title" }, "This is the title"),
6448
+ index.h("p", { part: "alert-description" }, "This is the description")));
6435
6449
 
6436
6450
  const FormMessage = /*#__PURE__*/Object.freeze({
6437
6451
  __proto__: null,
@@ -6439,7 +6453,11 @@ const FormMessage = /*#__PURE__*/Object.freeze({
6439
6453
  SuccessAlert: SuccessAlert,
6440
6454
  ErrorAlert: ErrorAlert,
6441
6455
  WarningAlert: WarningAlert,
6442
- InfoAlert: InfoAlert
6456
+ InfoAlert: InfoAlert,
6457
+ SuccessAlertTransparent: SuccessAlertTransparent,
6458
+ ErrorAlertTransparent: ErrorAlertTransparent,
6459
+ WarningAlertTransparent: WarningAlertTransparent,
6460
+ InfoAlertTransparent: InfoAlertTransparent
6443
6461
  });
6444
6462
 
6445
6463
  const scenario$6 = "@author:kutay\n@owner:kutay\nFeature: Hero Image\n\n\tThe Hero Image component displays media images with a header, description and button using an overlay or a double column layout to offer an attrative widget page.\n\n\tBackground: A user on the portal is viewing the widget\n\t\tGiven a user viewing the Hero Image component\n\n\t@motivating\n\t@ui\n\tScenario: Overlay image displays header, description, and button with brand color\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\tThen they see their image\n\t\tAnd the image has no padding\n\t\tAnd it has a brand colour overlay\n\t\tAnd \"Klip Rewards\" is displayed over top of the image in xxx-large font\n\t\tAnd below \"Refer friends or complete tasks while using Klip to earn rewards\" is displayed over top of the image in x-large font\n\t\tAnd below they see a brand coloured button with text \"Start earning\"\n\t\tAnd the text section has xxx-large padding\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is scaled to fit content\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay image crop can be aligned left, center or right\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| image-pos | <value> |\n\t\tThen the image with overlay is displayed\n\t\tWhen the component is scaled down to 599px\n\t\tThen the image is <alignment> to fit content\n\t\tExamples:\n\t\t\t| value | alignment |\n\t\t\t| left | left aligned |\n\t\t\t| center | centered |\n\t\t\t| right | right aligned |\n\t\t\t| N/A | centered |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay padding is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| padding-text | <value> |\n\t\tThen the image with overlay is displayed\n\t\tAnd <padding> is applied around header, description and button\n\t\tExamples:\n\t\t\t| value | padding |\n\t\t\t| none | no padding |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| N/A | no padding |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Overlay color and background is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000278/squatch-assets/bTwu1Um.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"overlay\" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| overlay-color | <overlayColor> |\n\t\t\t| overlay-opacity | <overlayOpacity> |\n\t\tThen the image with overlay is displayed\n\t\tAnd the overlay is <overlayColor>\n\t\tAnd the overlay has <overlayOpacity>\n\t\tAnd the text is <textColor>\n\t\tExamples:\n\t\t\t| textColor | overlayColor | overlayOpacity |\n\t\t\t| #fffc4b | #ff7f7f | 0.9 |\n\t\t\t| #1d0314 | #4baa1a | 0 |\n\t\t\t| #211a27 | #aa481a | 1 |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout displays an image on one side and on the other side a header, description, and button\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\tThen the image is displayed on the left\n\t\tAnd the following elements are displayed on the right\n\t\t\t| elements |\n\t\t\t| header |\n\t\t\t| description |\n\t\t\t| button |\n\t\tWhen the component is scaled down to 599px\n\t\tThen the two-column layout switches to a row layout\n\t\tAnd the image is displayed on top\n\t\tAnd the content is displayed below\n\n\t@motivating\n\t@ui\n\tScenario Outline: Image position is configurable for desktop and mobile\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| image-pos | <imagePos> |\n\t\t\t| image-mobile-pos | <imageMobilePos> |\n\t\tThen the image is displayed on the <imagePos>\n\t\tWhen the component is scaled down to 599px\n\t\tThen two-column layout switches to a row layout\n\t\tAnd image is displayed on the <imageMobilePos>\n\t\tExamples:\n\t\t\t| imagePos | imageMobilePos |\n\t\t\t| left | top |\n\t\t\t| right | bottom |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Padding is configurable for the image and text of two column layouts\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| padding-text | <paddingText> |\n\t\t\t| padding-image | <paddingImage> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image has padding <paddingImage>\n\t\tAnd the text has padding <paddingText>\n\t\tExamples:\n\t\t\t| paddingText | paddingImage |\n\t\t\t| xxx-small | xxx-small |\n\t\t\t| xx-small | xx-small |\n\t\t\t| x-small | x-small |\n\t\t\t| small | small |\n\t\t\t| medium | medium |\n\t\t\t| large | large |\n\t\t\t| x-large | x-large |\n\t\t\t| xx-large | xx-large |\n\t\t\t| xxx-large | xxx-large |\n\t\t\t| xxxx-large | xxxx-large |\n\t\t\t| none | none |\n\n\t@motivating\n\t@ui\n\tScenario Outline: Two-column layout image division percentage is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000248/squatch-assets/MVgOJn7.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| image-percentage | <percent> |\n\t\tThen the two column layout is displayed\n\t\tAnd the image takes up <percent> of the two-column layout\n\t\tAnd the text elements take up the remainder of the space\n\t\tExamples:\n\t\t\t| percent |\n\t\t\t| 25% |\n\t\t\t| 42% |\n\t\t\t| 66% |\n\n\t@motivating\n\t@ui\n\tScenario: Two-column layout text and background color is configurable\n\t\tGiven a Hero Image component configured with the following props\n\t\t\t| prop | value |\n\t\t\t| image-url | \"https://res.cloudinary.com/saasquatch/image/upload/v1644000275/squatch-assets/yr6ER3R.png\" |\n\t\t\t| header | \"Klip Rewards\" |\n\t\t\t| description | \"Refer friends or complete tasks while using Klip to earn rewards\" |\n\t\t\t| button-text | \"Start earning\" |\n\t\t\t| layout | \"columns\" |\n\t\t\t| text-color | <textColor> |\n\t\t\t| background-color | <backgroundColor> |\n\t\tThen the two column layout is displayed\n\t\tAnd the text has color <textColor>\n\t\tAnd the background has color <backgroundColor>\n\t\tExamples:\n\t\t\t| textColor | backgroundColor |\n\t\t\t| #fffc4b | #ff7f7f |\n\t\t\t| #1d0314 | #4baa1a |\n\t\t\t| #211a27 | #aa481a |";
@@ -22,3 +22,17 @@ export const InfoAlert = () => {
22
22
  h("p", { part: "alert-title" }, "This is the title"),
23
23
  h("p", { part: "alert-description" }, "This is the description")));
24
24
  };
25
+ export const SuccessAlertTransparent = () => {
26
+ return (h("sqm-form-message", { type: "success", transparent: true },
27
+ h("p", { part: "alert-title" }, "This is the title"),
28
+ h("p", { part: "alert-description" }, "This is the description")));
29
+ };
30
+ export const ErrorAlertTransparent = () => (h("sqm-form-message", { type: "error", transparent: true },
31
+ h("p", { part: "alert-title" }, "This is the title"),
32
+ h("p", { part: "alert-description" }, "This is the description")));
33
+ export const WarningAlertTransparent = () => (h("sqm-form-message", { type: "warning", transparent: true },
34
+ h("p", { part: "alert-title" }, "This is the title"),
35
+ h("p", { part: "alert-description" }, "This is the description")));
36
+ export const InfoAlertTransparent = () => (h("sqm-form-message", { type: "info", transparent: true },
37
+ h("p", { part: "alert-title" }, "This is the title"),
38
+ h("p", { part: "alert-description" }, "This is the description")));
@@ -49,6 +49,13 @@ sl-alert::part(base) {
49
49
  font-size: 24px;
50
50
  }
51
51
 
52
+ .Transparent::part(base) {
53
+ background-color: transparent;
54
+ border: none;
55
+ color: var(--sqm-text);
56
+ margin-left: -20px;
57
+ }
58
+
52
59
  ::slotted(*) {
53
60
  margin: 0;
54
61
  }
@@ -7,27 +7,31 @@ import { Component, h, Prop, State } from "@stencil/core";
7
7
  export class FormMessage {
8
8
  constructor() {
9
9
  this.ignored = true;
10
+ /**
11
+ * Render the alert with transparent styles
12
+ */
13
+ this.transparent = false;
10
14
  withHooks(this);
11
15
  }
12
16
  disconnectedCallback() { }
13
17
  render() {
14
18
  if (this.type === "error") {
15
- return (h("sl-alert", { exportparts: "base: erroralert-base, icon:erroralert-icon", class: "Error", type: "danger", open: true },
19
+ return (h("sl-alert", { exportparts: "base: erroralert-base, icon:erroralert-icon", class: `Error ${this.transparent ? "Transparent" : ""}`, type: "danger", open: true },
16
20
  h("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-octagon"}` }),
17
21
  h("slot", null)));
18
22
  }
19
23
  else if (this.type === "info") {
20
- return (h("sl-alert", { id: "icon", exportparts: "base: infoalert-base, icon:infoalert-icon", class: "Info", type: "primary", open: true },
24
+ return (h("sl-alert", { id: "icon", exportparts: "base: infoalert-base, icon:infoalert-icon", class: `Info ${this.transparent ? "Transparent" : ""}`, type: "info", open: true },
21
25
  h("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "info-circle"}` }),
22
26
  h("slot", null)));
23
27
  }
24
28
  else if (this.type === "warning") {
25
- return (h("sl-alert", { exportparts: "base: warningalert-base, icon:warningalert-icon", class: "Warning", type: "warning", open: true },
29
+ return (h("sl-alert", { exportparts: "base: warningalert-base, icon:warningalert-icon", class: `Warning ${this.transparent ? "Transparent" : ""}`, type: "warning", open: true },
26
30
  h("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "exclamation-triangle"}` }),
27
31
  h("slot", null)));
28
32
  }
29
33
  else {
30
- return (h("sl-alert", { exportparts: "base: successalert-base, icon:successalert-icon", class: "Success", type: "success", open: true },
34
+ return (h("sl-alert", { exportparts: "base: successalert-base, icon:successalert-icon", class: `Success ${this.transparent ? "Transparent" : ""}`, type: "success", open: true },
31
35
  h("sl-icon", { id: "icon", slot: "icon", name: `${this.icon ? this.icon : "check2-circle"}` }),
32
36
  h("slot", null)));
33
37
  }
@@ -80,6 +84,24 @@ export class FormMessage {
80
84
  },
81
85
  "attribute": "icon",
82
86
  "reflect": false
87
+ },
88
+ "transparent": {
89
+ "type": "boolean",
90
+ "mutable": false,
91
+ "complexType": {
92
+ "original": "boolean",
93
+ "resolved": "boolean",
94
+ "references": {}
95
+ },
96
+ "required": false,
97
+ "optional": true,
98
+ "docs": {
99
+ "tags": [],
100
+ "text": "Render the alert with transparent styles"
101
+ },
102
+ "attribute": "transparent",
103
+ "reflect": false,
104
+ "defaultValue": "false"
83
105
  }
84
106
  }; }
85
107
  static get states() { return {
@@ -14,7 +14,7 @@ export function PortalContainerView(props, children) {
14
14
  maxWidth: props.maxWidth,
15
15
  margin: props.center && "auto",
16
16
  justifyContent: props.justifyContent,
17
- backgroundColor: props.backgroundColor || "inherit",
17
+ backgroundColor: props.backgroundColor || "var(--sqm-portal-background)",
18
18
  },
19
19
  };
20
20
  const vanillaStyle = `
@@ -250,7 +250,7 @@ export const TaxAndCashDashboardView = (props) => {
250
250
  termsAndConditions: (h("a", { target: "_blank", href: `https://terms.advocate.impact.com/PayoutTermsAndConditions.html` }, text.termsAndConditions)),
251
251
  }),
252
252
  button: (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", onClick: callbacks.onNewFormClick }, text.w9RequiredButtonText)),
253
- alertType: "info",
253
+ alertType: "warning",
254
254
  icon: "info-circle",
255
255
  class: sheet.classes.WarningHoldAlertContainer,
256
256
  };
@@ -319,7 +319,7 @@ export const TaxAndCashDashboardView = (props) => {
319
319
  }, {
320
320
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
321
321
  }),
322
- alertType: "danger",
322
+ alertType: "error",
323
323
  icon: "exclamation-octagon",
324
324
  class: sheet.classes.ErrorHoldAlertContainer,
325
325
  };
@@ -462,8 +462,7 @@ export const TaxAndCashDashboardView = (props) => {
462
462
  }, {
463
463
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
464
464
  }))),
465
- alertInfo && (h("sl-alert", { exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, open: true, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class },
466
- h("sl-icon", { slot: "icon", name: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon }),
465
+ alertInfo && (h("sqm-form-message", { exportparts: "base: alert-base, icon:alert-icon", type: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.alertType, class: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.class, icon: alertInfo === null || alertInfo === void 0 ? void 0 : alertInfo.icon, transparent: true },
467
466
  h("strong", null, alertInfo.header),
468
467
  h("p", { style: { margin: "0" } }, alertInfo.description),
469
468
  alertInfo.buttonText && (h("sl-button", { style: { marginTop: "var(--sl-spacing-x-small)" }, type: "default", loading: states.veriffLoading, onClick: () => callbacks.onVerifyClick() }, alertInfo.buttonText)),
@@ -13,7 +13,7 @@ import { l as luxon } from './luxon-bbf75a9d.js';
13
13
  import { T as TextSpanView } from './sqm-text-span-view-4c17b8c9.js';
14
14
  import { p as pathToRegexp } from './index-ffa26b43.js';
15
15
  import { a as isValidColor, b as isMobile } from './utilities-72c07b09.js';
16
- import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-16309b22.js';
16
+ import { a as PortalSectionView, P as PortalContainerView } from './sqm-portal-container-view-176e92e3.js';
17
17
 
18
18
  function BigStatView(props) {
19
19
  const { statvalue, flexReverse, alignment, statTextColor, statFontSize, descriptionTextColor, descriptionFontSize, statFontWeight, } = props;