@saasquatch/mint-components 1.14.6-25 → 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 (39) 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 +7 -7
  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-form.js +18 -18
  9. package/dist/collection/components/sqm-lead-form/sqm-lead-input-field-view.js +1 -1
  10. package/dist/esm/{ShadowViewAddon-56d647fd.js → ShadowViewAddon-85ac7815.js} +2 -2
  11. package/dist/esm/sqm-big-stat_43.entry.js +7 -7
  12. package/dist/esm/{sqm-lead-input-field-view-2ec63b75.js → sqm-lead-input-field-view-937eb53e.js} +1 -1
  13. package/dist/esm/sqm-lead-input-field.entry.js +1 -1
  14. package/dist/esm/sqm-stencilbook.entry.js +2 -2
  15. package/dist/esm-es5/{ShadowViewAddon-56d647fd.js → ShadowViewAddon-85ac7815.js} +1 -1
  16. package/dist/esm-es5/sqm-big-stat_43.entry.js +1 -1
  17. package/dist/esm-es5/sqm-lead-input-field-view-937eb53e.js +1 -0
  18. package/dist/esm-es5/sqm-lead-input-field.entry.js +1 -1
  19. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  20. package/dist/mint-components/mint-components.esm.js +1 -1
  21. package/dist/mint-components/{p-4369a684.system.entry.js → p-1ec3442b.system.entry.js} +1 -1
  22. package/dist/mint-components/{p-46e1dc91.entry.js → p-3145c268.entry.js} +1 -1
  23. package/dist/mint-components/p-37996351.system.js +1 -1
  24. package/dist/mint-components/{p-5ed5fc3c.system.entry.js → p-6461715b.system.entry.js} +1 -1
  25. package/dist/mint-components/{p-33188345.system.entry.js → p-7dd624fd.system.entry.js} +1 -1
  26. package/dist/mint-components/{p-280c0f3c.js → p-8d45ab28.js} +1 -1
  27. package/dist/mint-components/{p-19374011.entry.js → p-aeec411b.entry.js} +1 -1
  28. package/dist/mint-components/{p-8c182b08.js → p-be1cfe2c.js} +1 -1
  29. package/dist/mint-components/{p-c6ea304a.system.js → p-e005a2ad.system.js} +1 -1
  30. package/dist/mint-components/{p-d6e65124.entry.js → p-ec0202f7.entry.js} +1 -1
  31. package/dist/mint-components/p-f3a4467a.system.js +1 -0
  32. package/dist/types/components/sqm-lead-form/sqm-lead-form.d.ts +6 -6
  33. package/dist/types/components.d.ts +24 -12
  34. package/docs/docs.docx +0 -0
  35. package/docs/raisins.json +1 -1
  36. package/grapesjs/grapesjs.js +1 -1
  37. package/package.json +1 -1
  38. package/dist/esm-es5/sqm-lead-input-field-view-2ec63b75.js +0 -1
  39. package/dist/mint-components/p-22a19728.system.js +0 -1
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasquatch/mint-components",
3
3
  "title": "Mint Components",
4
- "version": "1.14.6-25",
4
+ "version": "1.14.6-27",
5
5
  "description": "A minimal design library with components for referral and loyalty experiences. Built with Shoelace components by Saasquatch.",
6
6
  "icon": "https://res.cloudinary.com/saasquatch/image/upload/v1652219900/squatch-assets/For_Mint.svg",
7
7
  "raisins": "docs/raisins.json",
@@ -1 +0,0 @@
1
- import{h}from"./index-91e7729f.js";import{i as intl}from"./global-be1f9992.js";import{j as jss,a as create}from"./JSS-67b5cff8.js";import{E as ErrorStyles}from"./mixins-83f90fa1.js";var style={ErrorStyle:ErrorStyles,FieldContainer:{"margin-bottom":"var(--sl-spacing-medium)"}};var vanillaStyle="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n";jss.setup(create());var sheet=jss.createStyleSheet(style);var styleString=sheet.toString();function LeadInputFieldView(e){var a,l,r,i,t,s;var o=e.states,d=e.content;var n=function(e){var a=e.fieldLabel;return intl.formatMessage({id:"requiredFieldErrorMessage-"+a,defaultMessage:d.requiredFieldErrorMessage},{fieldLabel:a})};return h("div",{class:sheet.classes.FieldContainer,part:"sqm-base"},h("style",{type:"text/css"},vanillaStyle,styleString),h("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:"/"+d.fieldName,type:d.fieldType,label:d.fieldLabel},!d.fieldOptional?{required:true}:[],{disabled:((a=o.leadFormState)===null||a===void 0?void 0:a.loading)||((l=o.leadFormState)===null||l===void 0?void 0:l.disabled),validationError:function(e){var a=e.value;if(!a&&!d.fieldOptional){return n({fieldLabel:d.fieldLabel})}}},((i=(r=o.leadFormState)===null||r===void 0?void 0:r.validationErrors)===null||i===void 0?void 0:i[d.fieldName])?{class:sheet.classes.ErrorStyle,helpText:((s=(t=o.leadFormState)===null||t===void 0?void 0:t.validationErrors)===null||s===void 0?void 0:s[d.fieldName])||d.requiredFieldErrorMessage}:[])))}export{LeadInputFieldView as L};
@@ -1 +0,0 @@
1
- System.register(["./p-f26aedcd.system.js","./p-bdb7d451.system.js","./p-1a673057.system.js","./p-cd1d497f.system.js"],(function(e){"use strict";var a,t,i,r,l;return{setters:[function(e){a=e.h},function(e){t=e.i},function(e){i=e.j;r=e.a},function(e){l=e.E}],execute:function(){e("L",u);var s={ErrorStyle:l,FieldContainer:{"margin-bottom":"var(--sl-spacing-medium)"}};var d="\n:host {\n margin: 0 auto;\n width: 100%;\n display: block;\n}\n";i.setup(r());var n=i.createStyleSheet(s);var o=n.toString();function u(e){var i,r,l,s,u,v;var f=e.states,c=e.content;var m=function(e){var a=e.fieldLabel;return t.formatMessage({id:"requiredFieldErrorMessage-"+a,defaultMessage:c.requiredFieldErrorMessage},{fieldLabel:a})};return a("div",{class:n.classes.FieldContainer,part:"sqm-base"},a("style",{type:"text/css"},d,o),a("sl-input",Object.assign({exportparts:"label: input-label, base: input-base",name:"/"+c.fieldName,type:c.fieldType,label:c.fieldLabel},!c.fieldOptional?{required:true}:[],{disabled:((i=f.leadFormState)===null||i===void 0?void 0:i.loading)||((r=f.leadFormState)===null||r===void 0?void 0:r.disabled),validationError:function(e){var a=e.value;if(!a&&!c.fieldOptional){return m({fieldLabel:c.fieldLabel})}}},((s=(l=f.leadFormState)===null||l===void 0?void 0:l.validationErrors)===null||s===void 0?void 0:s[c.fieldName])?{class:n.classes.ErrorStyle,helpText:((v=(u=f.leadFormState)===null||u===void 0?void 0:u.validationErrors)===null||v===void 0?void 0:v[c.fieldName])||c.requiredFieldErrorMessage}:[])))}}}}));