@saasquatch/mint-components 1.15.0-63 → 1.15.0-64

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-e0aa9b07.js → ShadowViewAddon-6925bd81.js} +1 -1
  2. package/dist/cjs/sqm-big-stat_42.cjs.entry.js +1 -1
  3. package/dist/cjs/sqm-email-verification.cjs.entry.js +100 -3
  4. package/dist/cjs/sqm-stencilbook.cjs.entry.js +1 -1
  5. package/dist/cjs/sqm-tabs.cjs.entry.js +2 -0
  6. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +1 -1
  7. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +2 -0
  8. package/dist/collection/components/sqm-widget-verification/sqm-email-verification/sqm-email-verification-view.js +100 -3
  9. package/dist/esm/{ShadowViewAddon-2984432d.js → ShadowViewAddon-976c7e5e.js} +1 -1
  10. package/dist/esm/sqm-big-stat_42.entry.js +1 -1
  11. package/dist/esm/sqm-email-verification.entry.js +100 -3
  12. package/dist/esm/sqm-stencilbook.entry.js +1 -1
  13. package/dist/esm/sqm-tabs.entry.js +2 -0
  14. package/dist/esm-es5/ShadowViewAddon-976c7e5e.js +1 -0
  15. package/dist/esm-es5/sqm-big-stat_42.entry.js +1 -1
  16. package/dist/esm-es5/sqm-email-verification.entry.js +1 -1
  17. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  18. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  19. package/dist/mint-components/mint-components.esm.js +1 -1
  20. package/dist/mint-components/p-03bc8092.system.js +1 -1
  21. package/dist/mint-components/p-053f3b95.entry.js +25 -0
  22. package/dist/mint-components/{p-d87982c1.js → p-102c42ef.js} +1 -1
  23. package/dist/mint-components/{p-9d126299.system.entry.js → p-265b012f.system.entry.js} +1 -1
  24. package/dist/mint-components/p-3d99fa43.entry.js +1 -0
  25. package/dist/mint-components/{p-29be244d.entry.js → p-50e5ae38.entry.js} +1 -1
  26. package/dist/mint-components/{p-33d0edc0.entry.js → p-516aa862.entry.js} +1 -1
  27. package/dist/mint-components/{p-16b37afe.system.entry.js → p-764e32ec.system.entry.js} +1 -1
  28. package/dist/mint-components/p-814036cd.system.entry.js +1 -0
  29. package/dist/mint-components/p-a787f53a.system.js +1 -0
  30. package/dist/mint-components/p-da3ffd4e.system.entry.js +1 -0
  31. package/docs/docs.docx +0 -0
  32. package/package.json +1 -1
  33. package/dist/esm-es5/ShadowViewAddon-2984432d.js +0 -1
  34. package/dist/mint-components/p-1ad8f7f4.system.entry.js +0 -1
  35. package/dist/mint-components/p-6f6d5370.entry.js +0 -25
  36. package/dist/mint-components/p-8c69fc5f.system.entry.js +0 -1
  37. package/dist/mint-components/p-acb26ec0.system.js +0 -1
  38. package/dist/mint-components/p-fe3fe6b6.entry.js +0 -1
@@ -0,0 +1 @@
1
+ import{h as t,c as n,r as s}from"./p-c7c11325.js";import{u as o,f as a,n as r}from"./p-63e29387.js";import{_ as e}from"./p-8e2bead4.js";import{g as l}from"./p-6951663b.js";import{u as p}from"./p-fb5be0c5.js";import{u as c}from"./p-000c91b1.js";const m=({content:s,placement:o,textColor:a="var(--sqm-text)"})=>t(n,null,t("style",{type:"text/css"},`\n sl-tab-panel::part(base) {\n padding: ${o&&"top"!==o&&"bottom"!==o?"0 var(--sl-spacing-xx-large);":"var(--sl-spacing-x-large) 0;"};\n }\n\n sl-tab::part(base) {\n color: ${a};\n font-family: var(--sqm-primary-font);\n }\n\n sl-tab-group {\n --sl-color-primary-500: var(--sqm-accent-color-icon);\n }\n\n sl-tab-group::part(tabs) {\n border-bottom: 2px solid var(--sqm-border-color);\n font-family: var(--sqm-primary-font);\n }\n `),t("sl-tab-group",{placement:o},s.tabs.map((n=>{const s=n.getAttribute("slot");return"RAISINS-PLOP-TARGET"===n.tagName?t("sl-tab",{slot:"nav"},t("div",{style:{marginTop:"10px"}},t("slot",{name:s}))):[t("sl-tab",{slot:"nav",panel:s,part:"tab",id:n.getAttribute("id")||s},n.getAttribute("header")),t("sl-tab-panel",{name:s},t("slot",{name:s}))]}))),t("div",{style:{display:"none"}},t("slot",null))),i=class{constructor(t){s(this,t),r(this)}disconnectedCallback(){}render(){const{content:n}=function(){const t=c(),n=e(),s=p(),r=o((()=>t.filter((t=>"SQM-TAB"===t.tagName||"RAISINS-PLOP-TARGET"===t.tagName)).map(((t,n)=>{if("RAISINS-PLOP-TARGET"===t.tagName){const n=t;n.style.position="absolute",n.style.left="6px";const s=t.firstElementChild.childNodes[1];s.innerHTML="+",s.style.lineHeight="20px"}return t.setAttribute("slot","tab-"+n),t.setAttribute("id","tab-"+n),t}))),[t,s]);return a((()=>{const t=t=>{var s;const o=t.target;if(t.stopPropagation(),!o)return;const a=o.closest("sqm-tabs");if(!n.contains(o)||!a)return;const r=o.closest("sqm-tab");null===(s=a.shadowRoot.querySelector("sl-tab-group"))||void 0===s||s.show(r.id)};return n.addEventListener("sq:reveal",t),()=>{n.removeEventListener("sq:reveal",t)}}),[]),{content:{tabs:r}}}(),{placement:s,textColor:r}=l(this);return t(m,{placement:s,content:n,textColor:r},t("slot",null))}};export{i as sqm_tabs}