@saasquatch/mint-components 2.0.6-1 → 2.0.6-3

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 (21) hide show
  1. package/dist/cjs/sqm-banking-info-form_10.cjs.entry.js +2 -1
  2. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  3. package/dist/cjs/{sqm-user-info-form-view-7446bcdd.js → sqm-user-info-form-view-c14ba407.js} +0 -60
  4. package/dist/collection/components/tax-and-cash/sqm-tax-and-cash-dashboard/sqm-tax-and-cash-dashboard-view.js +1 -0
  5. package/dist/collection/components/tax-and-cash/sqm-user-info-form/sqm-user-info-form-view.js +0 -60
  6. package/dist/esm/sqm-banking-info-form_10.entry.js +2 -1
  7. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  8. package/dist/esm/{sqm-user-info-form-view-0b068018.js → sqm-user-info-form-view-9a3048d9.js} +0 -60
  9. package/dist/esm-es5/sqm-banking-info-form_10.entry.js +1 -1
  10. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  11. package/dist/esm-es5/{sqm-user-info-form-view-0b068018.js → sqm-user-info-form-view-9a3048d9.js} +1 -1
  12. package/dist/mint-components/mint-components.esm.js +1 -1
  13. package/dist/mint-components/{p-c9dd9488.system.entry.js → p-271bc5de.system.entry.js} +1 -1
  14. package/dist/mint-components/{p-c2a78b8f.system.entry.js → p-28e23d75.system.entry.js} +1 -1
  15. package/dist/mint-components/{p-f8a03278.system.js → p-720f03e2.system.js} +1 -1
  16. package/dist/mint-components/p-947bacd1.system.js +1 -1
  17. package/dist/mint-components/{p-00bd5ef7.entry.js → p-d01be770.entry.js} +2 -2
  18. package/dist/mint-components/{p-b526f92f.entry.js → p-e115d0a2.entry.js} +1 -1
  19. package/dist/mint-components/{p-7c1d1008.js → p-f6eae77c.js} +1 -1
  20. package/docs/docs.docx +0 -0
  21. package/package.json +1 -1
@@ -16,7 +16,7 @@ const reRender = require('./re-render-d516138a.js');
16
16
  const useChildElements = require('./useChildElements-966c9041.js');
17
17
  const luxon = require('./luxon-949beaf2.js');
18
18
  const useReferralTable = require('./useReferralTable-90d4d6e9.js');
19
- const sqmUserInfoFormView = require('./sqm-user-info-form-view-7446bcdd.js');
19
+ const sqmUserInfoFormView = require('./sqm-user-info-form-view-c14ba407.js');
20
20
  const data = require('./data-24028727.js');
21
21
  const keys = require('./keys-cff24974.js');
22
22
  const usePayoutStatus = require('./usePayoutStatus-98f2ca76.js');
@@ -3947,6 +3947,7 @@ const style$5 = {
3947
3947
  "&::part(panel)": {
3948
3948
  boxShadow: "none",
3949
3949
  border: "none",
3950
+ marginTop: "4px",
3950
3951
  },
3951
3952
  },
3952
3953
  DropdownContent: {
@@ -36,7 +36,7 @@ require('./ErrorView-3f91e5ab.js');
36
36
  const sqmQrCodeView = require('./sqm-qr-code-view-4ccf89da.js');
37
37
  const ShadowViewAddon = require('./ShadowViewAddon-ae3a32c3.js');
38
38
  const sqmPortalContainerView = require('./sqm-portal-container-view-07e4343f.js');
39
- const sqmUserInfoFormView = require('./sqm-user-info-form-view-7446bcdd.js');
39
+ const sqmUserInfoFormView = require('./sqm-user-info-form-view-c14ba407.js');
40
40
  const data = require('./data-24028727.js');
41
41
  const sqmLeadInputFieldView = require('./sqm-lead-input-field-view-2006001f.js');
42
42
 
@@ -1688,35 +1688,6 @@ const style$2 = {
1688
1688
  fontWeight: "var(--sl-font-weight-semibold)",
1689
1689
  },
1690
1690
  },
1691
- DropdownContent: {
1692
- padding: "var(--sl-spacing-xxx-small) var(--sl-spacing-x-small)",
1693
- fontSize: "var(--sl-font-size-small)",
1694
- fontFamily: "var(--sl-font-sans)",
1695
- fontWeight: "var(--sl-font-weight-normal)",
1696
- lineHeight: "var(--sl-line-height-dense)",
1697
- minWidth: "225px",
1698
- backgroundColor: "var(--sl-color-gray-900)",
1699
- color: "var(--sl-color-white)",
1700
- borderRadius: "var(--sl-border-radius-medium)",
1701
- position: "relative",
1702
- marginLeft: "5px",
1703
- },
1704
- DropdownArrow: {
1705
- position: "absolute",
1706
- left: "-5px",
1707
- top: "50%",
1708
- transform: "translateY(-50%)",
1709
- width: "0",
1710
- height: "0",
1711
- borderTop: "5px solid transparent",
1712
- borderBottom: "5px solid transparent",
1713
- borderRight: "5px solid var(--sl-color-gray-900)",
1714
- zIndex: "1",
1715
- },
1716
- DropdownLink: {
1717
- color: "var(--sl-color-white)",
1718
- textDecoration: "underline",
1719
- },
1720
1691
  PhoneInputsContainer: {
1721
1692
  display: "flex",
1722
1693
  gap: "4px",
@@ -1942,27 +1913,6 @@ const UserInfoFormView = (props) => {
1942
1913
  var _a;
1943
1914
  return states.isUser && !!((_a = data$1.userData) === null || _a === void 0 ? void 0 : _a[field]);
1944
1915
  }
1945
- const dropdownHover = (el) => {
1946
- var _a;
1947
- if (!el)
1948
- return;
1949
- const trigger = el.querySelector('[slot="trigger"]');
1950
- const panel = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".dropdown__panel");
1951
- if (!trigger || !panel)
1952
- return;
1953
- let hideTimeout;
1954
- const show = () => {
1955
- clearTimeout(hideTimeout);
1956
- el.show();
1957
- };
1958
- const scheduleHide = () => {
1959
- hideTimeout = setTimeout(() => el.hide(), 100);
1960
- };
1961
- trigger.addEventListener("mouseenter", show);
1962
- trigger.addEventListener("mouseleave", scheduleHide);
1963
- panel.addEventListener("mouseenter", show);
1964
- panel.addEventListener("mouseleave", scheduleHide);
1965
- };
1966
1916
  return (index.h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1967
1917
  index.h("style", { type: "text/css" },
1968
1918
  styleString$1,
@@ -2001,16 +1951,6 @@ const UserInfoFormView = (props) => {
2001
1951
  }, {
2002
1952
  supportLink: (index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2003
1953
  })))),
2004
- index.h("sl-dropdown", { placement: "right", distance: 1, ref: dropdownHover, style: { top: "-4px" } },
2005
- index.h("sl-icon", { slot: "trigger", name: "info-circle", style: { cursor: "pointer", width: "16px", height: "16px" } }),
2006
- index.h("div", { class: sheet$1.classes.DropdownContent },
2007
- index.h("div", { class: sheet$1.classes.DropdownArrow }),
2008
- "This is a test tooltip with a",
2009
- " ",
2010
- index.h("a", { target: "_blank", href: `mailto:advocate-support@impact.com`, style: {
2011
- color: "var(--sl-color-white)",
2012
- textDecoration: "underline",
2013
- } }, "clickable link"))),
2014
1954
  index.h("div", null,
2015
1955
  index.h("div", { class: classes.InputContainer },
2016
1956
  index.h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
@@ -225,6 +225,7 @@ const style = {
225
225
  "&::part(panel)": {
226
226
  boxShadow: "none",
227
227
  border: "none",
228
+ marginTop: "4px",
228
229
  },
229
230
  },
230
231
  DropdownContent: {
@@ -70,35 +70,6 @@ const style = {
70
70
  fontWeight: "var(--sl-font-weight-semibold)",
71
71
  },
72
72
  },
73
- DropdownContent: {
74
- padding: "var(--sl-spacing-xxx-small) var(--sl-spacing-x-small)",
75
- fontSize: "var(--sl-font-size-small)",
76
- fontFamily: "var(--sl-font-sans)",
77
- fontWeight: "var(--sl-font-weight-normal)",
78
- lineHeight: "var(--sl-line-height-dense)",
79
- minWidth: "225px",
80
- backgroundColor: "var(--sl-color-gray-900)",
81
- color: "var(--sl-color-white)",
82
- borderRadius: "var(--sl-border-radius-medium)",
83
- position: "relative",
84
- marginLeft: "5px",
85
- },
86
- DropdownArrow: {
87
- position: "absolute",
88
- left: "-5px",
89
- top: "50%",
90
- transform: "translateY(-50%)",
91
- width: "0",
92
- height: "0",
93
- borderTop: "5px solid transparent",
94
- borderBottom: "5px solid transparent",
95
- borderRight: "5px solid var(--sl-color-gray-900)",
96
- zIndex: "1",
97
- },
98
- DropdownLink: {
99
- color: "var(--sl-color-white)",
100
- textDecoration: "underline",
101
- },
102
73
  PhoneInputsContainer: {
103
74
  display: "flex",
104
75
  gap: "4px",
@@ -324,27 +295,6 @@ export const UserInfoFormView = (props) => {
324
295
  var _a;
325
296
  return states.isUser && !!((_a = data.userData) === null || _a === void 0 ? void 0 : _a[field]);
326
297
  }
327
- const dropdownHover = (el) => {
328
- var _a;
329
- if (!el)
330
- return;
331
- const trigger = el.querySelector('[slot="trigger"]');
332
- const panel = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".dropdown__panel");
333
- if (!trigger || !panel)
334
- return;
335
- let hideTimeout;
336
- const show = () => {
337
- clearTimeout(hideTimeout);
338
- el.show();
339
- };
340
- const scheduleHide = () => {
341
- hideTimeout = setTimeout(() => el.hide(), 100);
342
- };
343
- trigger.addEventListener("mouseenter", show);
344
- trigger.addEventListener("mouseleave", scheduleHide);
345
- panel.addEventListener("mouseenter", show);
346
- panel.addEventListener("mouseleave", scheduleHide);
347
- };
348
298
  return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
349
299
  h("style", { type: "text/css" },
350
300
  styleString,
@@ -383,16 +333,6 @@ export const UserInfoFormView = (props) => {
383
333
  }, {
384
334
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
385
335
  })))),
386
- h("sl-dropdown", { placement: "right", distance: 1, ref: dropdownHover, style: { top: "-4px" } },
387
- h("sl-icon", { slot: "trigger", name: "info-circle", style: { cursor: "pointer", width: "16px", height: "16px" } }),
388
- h("div", { class: sheet.classes.DropdownContent },
389
- h("div", { class: sheet.classes.DropdownArrow }),
390
- "This is a test tooltip with a",
391
- " ",
392
- h("a", { target: "_blank", href: `mailto:advocate-support@impact.com`, style: {
393
- color: "var(--sl-color-white)",
394
- textDecoration: "underline",
395
- } }, "clickable link"))),
396
336
  h("div", null,
397
337
  h("div", { class: classes.InputContainer },
398
338
  h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {
@@ -12,7 +12,7 @@ import { u as useRerenderListener, a as useRequestRerender } from './re-render-7
12
12
  import { u as useChildElements } from './useChildElements-3d872cef.js';
13
13
  import { l as luxon } from './luxon-bbf75a9d.js';
14
14
  import { g as generateUserError } from './useReferralTable-909ccb28.js';
15
- import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS, U as UserInfoFormView } from './sqm-user-info-form-view-0b068018.js';
15
+ import { a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, I as InvoiceTableView, v as vatLabels, A as ADDRESS_REGIONS, U as UserInfoFormView } from './sqm-user-info-form-view-9a3048d9.js';
16
16
  import { F as FORM_STEPS, a as TAX_FORM_CONTEXT_NAMESPACE, S as SORTED_COUNTRIES_NAMESPACE, c as USER_QUERY_NAMESPACE, T as TAX_CONTEXT_NAMESPACE, h as FINANCE_NETWORK_SETTINGS_NAMESPACE, t as taxTypeToName, l as validTaxDocument, U as USER_FORM_CONTEXT_NAMESPACE, d as COUNTRIES_QUERY_NAMESPACE, g as getCountryObj, C as CURRENCIES_NAMESPACE, o as objectIsFull } from './data-a581119a.js';
17
17
  import { b as VERIFICATION_EVENT_KEY } from './keys-406491dc.js';
18
18
  import { T as TAX_FORM_UPDATED_EVENT_KEY, a as useVeriffApp, g as getStatus, V as VERIFF_COMPLETE_EVENT_KEY } from './usePayoutStatus-7404eb9d.js';
@@ -3943,6 +3943,7 @@ const style$5 = {
3943
3943
  "&::part(panel)": {
3944
3944
  boxShadow: "none",
3945
3945
  border: "none",
3946
+ marginTop: "4px",
3946
3947
  },
3947
3948
  },
3948
3949
  DropdownContent: {
@@ -32,7 +32,7 @@ import './ErrorView-bbf0a042.js';
32
32
  import { Q as QrCodeView } from './sqm-qr-code-view-ea505213.js';
33
33
  import { S as StatContainerView, B as BigStatView, a as ShareButtonView, P as PortalChangePasswordView, b as PoweredByImg$1, u as useDemoBigStat, T as TaskCardView, C as CardFeedView, c as CheckboxFieldView, d as PortalRegisterView, e as CouponCodeView, D as DropdownFieldView, E as EditProfileView, L as LeaderboardView, H as HeroView, I as InputFieldView, N as NameFieldsView, f as ChangeMarktingView, g as PortalFooterView, h as PortalForgotPasswordView, i as PortalFrameView, R as ReferralIframeView, j as RewardExchangeView, r as rewardExchangeCustomErrorMsg, k as rewardExchangeLongText, l as rewardExchangeSelected, m as chooseAmountFixed, n as chooseAmountFixedNoDescription, o as chooseAmountVariable, p as chooseAmountVariableNoDescription, q as chooseAmountVariableDisabled, s as chooseAmountVariableUnavailable, t as confirmFixed, v as confirmVariable, w as redemptionError, x as queryError, y as success, z as successVariable, A as loading, F as empty$1, G as rewardExchange, J as useShareButton, K as useShareLink, M as ProgressBarView, O as ProgressBar$2, Q as LeadFormView, U as LeadDropdownFieldView, V as ShadowViewAddon } from './ShadowViewAddon-78a1c35c.js';
34
34
  import { P as PortalContainerView, a as PortalSectionView } from './sqm-portal-container-view-176e92e3.js';
35
- import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-0b068018.js';
35
+ import { I as InvoiceTableView, a as INDIRECT_TAX_SPAIN_REGIONS, b as INDIRECT_TAX_PROVINCES, O as OtherRegionSlotView, U as UserInfoFormView$1 } from './sqm-user-info-form-view-9a3048d9.js';
36
36
  import { t as taxTypeToName, L as LoadingView } from './data-a581119a.js';
37
37
  import { L as LeadInputFieldView } from './sqm-lead-input-field-view-d543d939.js';
38
38
 
@@ -1686,35 +1686,6 @@ const style$2 = {
1686
1686
  fontWeight: "var(--sl-font-weight-semibold)",
1687
1687
  },
1688
1688
  },
1689
- DropdownContent: {
1690
- padding: "var(--sl-spacing-xxx-small) var(--sl-spacing-x-small)",
1691
- fontSize: "var(--sl-font-size-small)",
1692
- fontFamily: "var(--sl-font-sans)",
1693
- fontWeight: "var(--sl-font-weight-normal)",
1694
- lineHeight: "var(--sl-line-height-dense)",
1695
- minWidth: "225px",
1696
- backgroundColor: "var(--sl-color-gray-900)",
1697
- color: "var(--sl-color-white)",
1698
- borderRadius: "var(--sl-border-radius-medium)",
1699
- position: "relative",
1700
- marginLeft: "5px",
1701
- },
1702
- DropdownArrow: {
1703
- position: "absolute",
1704
- left: "-5px",
1705
- top: "50%",
1706
- transform: "translateY(-50%)",
1707
- width: "0",
1708
- height: "0",
1709
- borderTop: "5px solid transparent",
1710
- borderBottom: "5px solid transparent",
1711
- borderRight: "5px solid var(--sl-color-gray-900)",
1712
- zIndex: "1",
1713
- },
1714
- DropdownLink: {
1715
- color: "var(--sl-color-white)",
1716
- textDecoration: "underline",
1717
- },
1718
1689
  PhoneInputsContainer: {
1719
1690
  display: "flex",
1720
1691
  gap: "4px",
@@ -1940,27 +1911,6 @@ const UserInfoFormView = (props) => {
1940
1911
  var _a;
1941
1912
  return states.isUser && !!((_a = data.userData) === null || _a === void 0 ? void 0 : _a[field]);
1942
1913
  }
1943
- const dropdownHover = (el) => {
1944
- var _a;
1945
- if (!el)
1946
- return;
1947
- const trigger = el.querySelector('[slot="trigger"]');
1948
- const panel = (_a = el.shadowRoot) === null || _a === void 0 ? void 0 : _a.querySelector(".dropdown__panel");
1949
- if (!trigger || !panel)
1950
- return;
1951
- let hideTimeout;
1952
- const show = () => {
1953
- clearTimeout(hideTimeout);
1954
- el.show();
1955
- };
1956
- const scheduleHide = () => {
1957
- hideTimeout = setTimeout(() => el.hide(), 100);
1958
- };
1959
- trigger.addEventListener("mouseenter", show);
1960
- trigger.addEventListener("mouseleave", scheduleHide);
1961
- panel.addEventListener("mouseenter", show);
1962
- panel.addEventListener("mouseleave", scheduleHide);
1963
- };
1964
1914
  return (h("sl-form", { class: classes.FormWrapper, "onSl-submit": callbacks.onSubmit, ref: (el) => (refs.formRef.current = el), novalidate: true },
1965
1915
  h("style", { type: "text/css" },
1966
1916
  styleString$1,
@@ -1999,16 +1949,6 @@ const UserInfoFormView = (props) => {
1999
1949
  }, {
2000
1950
  supportLink: (h("a", { target: "_blank", href: `mailto:advocate-support@impact.com` }, text.supportLink)),
2001
1951
  })))),
2002
- h("sl-dropdown", { placement: "right", distance: 1, ref: dropdownHover, style: { top: "-4px" } },
2003
- h("sl-icon", { slot: "trigger", name: "info-circle", style: { cursor: "pointer", width: "16px", height: "16px" } }),
2004
- h("div", { class: sheet$1.classes.DropdownContent },
2005
- h("div", { class: sheet$1.classes.DropdownArrow }),
2006
- "This is a test tooltip with a",
2007
- " ",
2008
- h("a", { target: "_blank", href: `mailto:advocate-support@impact.com`, style: {
2009
- color: "var(--sl-color-white)",
2010
- textDecoration: "underline",
2011
- } }, "clickable link"))),
2012
1952
  h("div", null,
2013
1953
  h("div", { class: classes.InputContainer },
2014
1954
  h("sl-input", Object.assign({ class: "ErrorInput", exportparts: "label: input-label, base: input-base", value: formState.firstName, label: text.firstName, disabled: states.disabled || isDisabledUserInput("firstName") }, (((_b = formState.errors) === null || _b === void 0 ? void 0 : _b.firstName) ? {