@saasquatch/mint-components 1.14.6-26 → 1.14.6-27

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 (38) hide show
  1. package/dist/cjs/{ShadowViewAddon-619fee6d.js → ShadowViewAddon-d3b2fe63.js} +2 -2
  2. package/dist/cjs/sqm-big-stat_43.cjs.entry.js +1 -1
  3. package/dist/cjs/{sqm-lead-input-field-view-f479309f.js → sqm-lead-input-field-view-8ee59e8c.js} +1 -1
  4. package/dist/cjs/sqm-lead-input-field.cjs.entry.js +1 -1
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +2 -2
  6. package/dist/collection/components/sqm-lead-form/sqm-lead-dropdown-field-view.js +1 -1
  7. package/dist/collection/components/sqm-lead-form/sqm-lead-form-view.js +1 -1
  8. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +1 -1
  9. package/dist/esm/{ShadowViewAddon-56d647fd.js → ShadowViewAddon-85ac7815.js} +2 -2
  10. package/dist/esm/sqm-big-stat_43.entry.js +1 -1
  11. package/dist/esm/{sqm-lead-input-field-view-2ec63b75.js → sqm-lead-input-field-view-937eb53e.js} +1 -1
  12. package/dist/esm/sqm-lead-input-field.entry.js +1 -1
  13. package/dist/esm/sqm-stencilbook.entry.js +2 -2
  14. package/dist/esm-es5/{ShadowViewAddon-56d647fd.js → ShadowViewAddon-85ac7815.js} +1 -1
  15. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  16. package/dist/esm-es5/sqm-lead-input-field-view-937eb53e.js +1 -0
  17. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  18. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  19. package/dist/mint-components/mint-components.esm.js +1 -1
  20. package/dist/mint-components/{p-4369a684.system.entry.js → p-1ec3442b.system.entry.js} +1 -1
  21. package/dist/mint-components/{p-46e1dc91.entry.js → p-3145c268.entry.js} +1 -1
  22. package/dist/mint-components/p-37996351.system.js +1 -1
  23. package/dist/mint-components/{p-5ed5fc3c.system.entry.js → p-6461715b.system.entry.js} +1 -1
  24. package/dist/mint-components/{p-33188345.system.entry.js → p-7dd624fd.system.entry.js} +1 -1
  25. package/dist/mint-components/{p-280c0f3c.js → p-8d45ab28.js} +1 -1
  26. package/dist/mint-components/{p-19374011.entry.js → p-aeec411b.entry.js} +1 -1
  27. package/dist/mint-components/{p-8c182b08.js → p-be1cfe2c.js} +1 -1
  28. package/dist/mint-components/{p-c6ea304a.system.js → p-e005a2ad.system.js} +1 -1
  29. package/dist/mint-components/{p-d6e65124.entry.js → p-ec0202f7.entry.js} +1 -1
  30. package/dist/mint-components/p-f3a4467a.system.js +1 -0
  31. package/dist/types/global/android.d.ts +7 -0
  32. package/dist/types/global/demo.d.ts +2 -0
  33. package/dist/types/stories/features.d.ts +4 -0
  34. package/dist/types/stories/templates.d.ts +4 -0
  35. package/docs/docs.docx +0 -0
  36. package/package.json +1 -1
  37. package/dist/esm-es5/sqm-lead-input-field-view-2ec63b75.js +0 -1
  38. package/dist/mint-components/p-22a19728.system.js +0 -1
@@ -1,4 +1,4 @@
1
- import{r as e,h as t,c as r}from"./p-f708da7b.js";import{n as s,f as a,i,k as n,m as o,u as l,b as c,j as d}from"./p-cd651f81.js";import{i as u}from"./p-65069b66.js";import{i as h,_ as m,d as p,J as v,H as g,$ as f,w as b,B as y,u as x,L as w,y as k,j as E,r as C,V as I,Q as S,k as R}from"./p-94a876b9.js";import{j as _}from"./p-e7e129ac.js";import{c as N}from"./p-c1086930.js";import{g as T,a as M}from"./p-9ec99ced.js";import{c as q}from"./p-cef45012.js";import"./p-3f7b81b8.js";import"./p-91521e9d.js";import{C as A}from"./p-31015791.js";import{a as L}from"./p-4e451f75.js";import{u as D}from"./p-19ccb4ce.js";import"./p-5bedb58c.js";import"./p-c9f1dde7.js";import{p as P}from"./p-8d363802.js";import{R as F,u as O}from"./p-98698131.js";import{P as V}from"./p-dbcb5359.js";import{u as $}from"./p-4e526a94.js";import{A as j}from"./p-121cdc60.js";import{i as U}from"./p-8c23d1b8.js";import{b as B,W as z,B as H,U as W,J as G,i as Y,K,D as Z,E as Q,H as X,I as J,Q as ee,O as te,X as re,L as se,N as ae,C as ie,d as ne,h as oe,P as le,e as ce,R as de,Y as ue,j as he,a as me,S as pe,u as ve,c as ge,T as fe}from"./p-8c182b08.js";import"./p-a9f4ddb1.js";import{R as be,L as ye,u as xe}from"./p-f98a4354.js";import{u as we}from"./p-11dff275.js";const ke=class{constructor(t){e(this,t),this.flexReverse=!1,this.ignored=!0,s(this)}disconnectedCallback(){}render(){var e;const{props:r,label:s}=h()?B(this):z(this),a=!!(null===(e=m().innerHTML)||void 0===e?void 0:e.trim()),i=t("slot",{name:"label"},a?t("slot",null):s);return t(H,Object.assign({},r,{labelSlot:i}))}},Ee=class{constructor(t){e(this,t),s(this)}disconnectedCallback(){}render(){var e,s;const i=null!==(e=function(e){if(e)try{return W(e)}catch{}}(this.brandColor))&&void 0!==e?e:"",n=(null!==(s=this.brandFont)&&void 0!==s?s:"Nunito Sans").trim()||void 0;a((()=>{if(!n)return;const e=document.createElement("link");return e.setAttribute("href",function(...e){return`https://fonts.googleapis.com/css2?${e.map((e=>`family=${encodeURIComponent(e)}`)).join("&")}`}(n)),e.setAttribute("rel","stylesheet"),document.head.appendChild(e),()=>document.head.removeChild(e)}),[n]);const o=null!=n?n:"";return t(r,null,t("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${o}", arial;\n --sl-input-font-family: "${o}", arial;\n --sl-tooltip-font-family: "${o}", arial;\n font-family: "${o}", arial;\n\t\t\t\n ${i}\n\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),t("slot",null))}},Ce=class{constructor(t){e(this,t),this.ignored=!0,this.width=347,this.gap=24,s(this)}disconnectedCallback(){}render(){return t(G,Object.assign({},T(this)),t("slot",null))}};function Ie(e){var t;const r=i(F),[s,o]=n(!1);return a((()=>{var t,s;(null===(t=null==r?void 0:r.initialData)||void 0===t?void 0:t[e.checkboxName])&&o(!!(null===(s=null==r?void 0:r.initialData)||void 0===s?void 0:s[e.checkboxName]))}),[null===(t=null==r?void 0:r.initialData)||void 0===t?void 0:t[e.checkboxName]]),{states:{registrationFormState:r,checked:s},callbacks:{setChecked:o}}}const Se=class{constructor(t){e(this,t),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,s(this)}disconnectedCallback(){}render(){const e=M([{attribute:"checkbox-name",value:this.checkboxName}]);if(!h()&&e)return t(be,{missingProps:e,heading:"An error occured while loading this form",subheading:"A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const r={...T(this)},{states:s,callbacks:a}=h()?N({states:{registrationFormState:{},checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(e,t)=>t}):Ie(this);return t(Y,{states:s,content:r,callbacks:a})}},Re=p.gql`
1
+ import{r as e,h as t,c as r}from"./p-f708da7b.js";import{n as s,f as a,i,k as n,m as o,u as l,b as c,j as d}from"./p-cd651f81.js";import{i as u}from"./p-65069b66.js";import{i as h,_ as m,d as p,J as v,H as g,$ as f,w as b,B as y,u as x,L as w,y as k,j as E,r as C,V as I,Q as S,k as R}from"./p-94a876b9.js";import{j as _}from"./p-e7e129ac.js";import{c as N}from"./p-c1086930.js";import{g as T,a as M}from"./p-9ec99ced.js";import{c as q}from"./p-cef45012.js";import"./p-3f7b81b8.js";import"./p-91521e9d.js";import{C as A}from"./p-31015791.js";import{a as L}from"./p-4e451f75.js";import{u as D}from"./p-19ccb4ce.js";import"./p-5bedb58c.js";import"./p-c9f1dde7.js";import{p as P}from"./p-8d363802.js";import{R as F,u as O}from"./p-98698131.js";import{P as V}from"./p-dbcb5359.js";import{u as $}from"./p-4e526a94.js";import{A as j}from"./p-121cdc60.js";import{i as U}from"./p-8c23d1b8.js";import{b as B,W as z,B as H,U as W,J as G,i as Y,K,D as Z,E as Q,H as X,I as J,Q as ee,O as te,X as re,L as se,N as ae,C as ie,d as ne,h as oe,P as le,e as ce,R as de,Y as ue,j as he,a as me,S as pe,u as ve,c as ge,T as fe}from"./p-be1cfe2c.js";import"./p-a9f4ddb1.js";import{R as be,L as ye,u as xe}from"./p-f98a4354.js";import{u as we}from"./p-11dff275.js";const ke=class{constructor(t){e(this,t),this.flexReverse=!1,this.ignored=!0,s(this)}disconnectedCallback(){}render(){var e;const{props:r,label:s}=h()?B(this):z(this),a=!!(null===(e=m().innerHTML)||void 0===e?void 0:e.trim()),i=t("slot",{name:"label"},a?t("slot",null):s);return t(H,Object.assign({},r,{labelSlot:i}))}},Ee=class{constructor(t){e(this,t),s(this)}disconnectedCallback(){}render(){var e,s;const i=null!==(e=function(e){if(e)try{return W(e)}catch{}}(this.brandColor))&&void 0!==e?e:"",n=(null!==(s=this.brandFont)&&void 0!==s?s:"Nunito Sans").trim()||void 0;a((()=>{if(!n)return;const e=document.createElement("link");return e.setAttribute("href",function(...e){return`https://fonts.googleapis.com/css2?${e.map((e=>`family=${encodeURIComponent(e)}`)).join("&")}`}(n)),e.setAttribute("rel","stylesheet"),document.head.appendChild(e),()=>document.head.removeChild(e)}),[n]);const o=null!=n?n:"";return t(r,null,t("style",null,`\n\n :host{\n display: contents;\n }\n /* \n Selects any element placed inside a slot\n - resets css variable inheritence for fonts\n \n */\n ::slotted(*) {\n --sl-font-sans: "${o}", arial;\n --sl-input-font-family: "${o}", arial;\n --sl-tooltip-font-family: "${o}", arial;\n font-family: "${o}", arial;\n\t\t\t\n ${i}\n\n --sl-focus-ring-color-primary: var(--sl-color-primary-100);\n --sl-input-border-color-focus: var(--sl-color-primary-500);\n --sl-color-primary-hue: var(--sl-color-primary-500);\n }`),t("slot",null))}},Ce=class{constructor(t){e(this,t),this.ignored=!0,this.width=347,this.gap=24,s(this)}disconnectedCallback(){}render(){return t(G,Object.assign({},T(this)),t("slot",null))}};function Ie(e){var t;const r=i(F),[s,o]=n(!1);return a((()=>{var t,s;(null===(t=null==r?void 0:r.initialData)||void 0===t?void 0:t[e.checkboxName])&&o(!!(null===(s=null==r?void 0:r.initialData)||void 0===s?void 0:s[e.checkboxName]))}),[null===(t=null==r?void 0:r.initialData)||void 0===t?void 0:t[e.checkboxName]]),{states:{registrationFormState:r,checked:s},callbacks:{setChecked:o}}}const Se=class{constructor(t){e(this,t),this.ignored=!0,this.checkboxLabel="By signing up you agree to the {labelLink}",this.checkboxLabelLink="https://example.com",this.checkboxLabelLinkText="Terms and Conditions",this.errorMessage="Must be checked",this.checkboxOptional=!1,s(this)}disconnectedCallback(){}render(){const e=M([{attribute:"checkbox-name",value:this.checkboxName}]);if(!h()&&e)return t(be,{missingProps:e,heading:"An error occured while loading this form",subheading:"A technical problem prevented this checkbox field from loading. Please contact us with the link to this page.",description:"Values for the following attributes are missing:"});const r={...T(this)},{states:s,callbacks:a}=h()?N({states:{registrationFormState:{},checked:!1},callbacks:{setChecked:()=>{}}},this.demoData||{},{arrayMerge:(e,t)=>t}):Ie(this);return t(Y,{states:s,content:r,callbacks:a})}},Re=p.gql`
2
2
  query fuelTankRewardsQuery($programId: ID!) {
3
3
  user: viewer {
4
4
  ... on User {