@saasquatch/mint-components 1.15.0-15 → 1.15.0-16

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 (52) hide show
  1. package/dist/cjs/{ShadowViewAddon-d2ed86e8.js → ShadowViewAddon-8bab3674.js} +39 -38
  2. package/dist/cjs/loader.cjs.js +1 -1
  3. package/dist/cjs/mint-components.cjs.js +1 -1
  4. package/dist/cjs/sqm-big-stat_41.cjs.entry.js +5 -3
  5. package/dist/cjs/sqm-stencilbook.cjs.entry.js +15 -5
  6. package/dist/cjs/sqm-tabs.cjs.entry.js +9 -4
  7. package/dist/collection/components/sqm-coupon-code/sqm-coupon-code-view.js +13 -13
  8. package/dist/collection/components/sqm-share-button/ShareButton.stories.js +3 -1
  9. package/dist/collection/components/sqm-share-button/sqm-share-button-view.js +23 -22
  10. package/dist/collection/components/sqm-share-button/sqm-share-button.js +53 -7
  11. package/dist/collection/components/sqm-tabs/Tabs.stories.js +7 -0
  12. package/dist/collection/components/sqm-tabs/sqm-tabs-view.js +7 -2
  13. package/dist/collection/components/sqm-tabs/sqm-tabs.js +28 -2
  14. package/dist/esm/{ShadowViewAddon-3651cb42.js → ShadowViewAddon-967f1f54.js} +39 -38
  15. package/dist/esm/loader.js +1 -1
  16. package/dist/esm/mint-components.js +1 -1
  17. package/dist/esm/sqm-big-stat_41.entry.js +5 -3
  18. package/dist/esm/sqm-stencilbook.entry.js +15 -5
  19. package/dist/esm/sqm-tabs.entry.js +9 -4
  20. package/dist/esm-es5/ShadowViewAddon-967f1f54.js +1 -0
  21. package/dist/esm-es5/loader.js +1 -1
  22. package/dist/esm-es5/mint-components.js +1 -1
  23. package/dist/esm-es5/sqm-big-stat_41.entry.js +1 -1
  24. package/dist/esm-es5/sqm-stencilbook.entry.js +1 -1
  25. package/dist/esm-es5/sqm-tabs.entry.js +1 -1
  26. package/dist/mint-components/mint-components.esm.js +1 -1
  27. package/dist/mint-components/p-266bbd02.system.js +1 -0
  28. package/dist/mint-components/{p-9b2e60ce.entry.js → p-44eead35.entry.js} +1 -1
  29. package/dist/mint-components/{p-a6ca754f.js → p-8f6297b0.js} +2 -2
  30. package/dist/mint-components/{p-9617685e.system.entry.js → p-ae07ce99.system.entry.js} +1 -1
  31. package/dist/mint-components/{p-60e72631.entry.js → p-b22a7b2d.entry.js} +2 -2
  32. package/dist/mint-components/p-b6de39a2.entry.js +1 -0
  33. package/dist/mint-components/p-d68003fe.system.entry.js +1 -0
  34. package/dist/mint-components/p-ee06426a.system.js +1 -1
  35. package/dist/mint-components/p-fdaa4dbb.system.entry.js +1 -0
  36. package/dist/types/components/sqm-coupon-code/sqm-coupon-code-view.d.ts +1 -0
  37. package/dist/types/components/sqm-share-button/ShareButton.stories.d.ts +1 -1
  38. package/dist/types/components/sqm-share-button/sqm-share-button-view.d.ts +2 -1
  39. package/dist/types/components/sqm-share-button/sqm-share-button.d.ts +15 -3
  40. package/dist/types/components/sqm-tabs/Tabs.stories.d.ts +1 -0
  41. package/dist/types/components/sqm-tabs/sqm-tabs-view.d.ts +1 -0
  42. package/dist/types/components/sqm-tabs/sqm-tabs.d.ts +8 -0
  43. package/dist/types/components.d.ts +44 -4
  44. package/docs/docs.docx +0 -0
  45. package/docs/raisins.json +1 -1
  46. package/grapesjs/grapesjs.js +1 -1
  47. package/package.json +1 -1
  48. package/dist/esm-es5/ShadowViewAddon-3651cb42.js +0 -1
  49. package/dist/mint-components/p-16dba1eb.system.js +0 -1
  50. package/dist/mint-components/p-70c8fea5.system.entry.js +0 -1
  51. package/dist/mint-components/p-c060f770.system.entry.js +0 -1
  52. package/dist/mint-components/p-dcc81e90.entry.js +0 -1
@@ -1 +0,0 @@
1
- System.register(["./p-f26aedcd.system.js","./p-48135f99.system.js","./p-6cd4f2b1.system.js","./p-6333265f.system.js","./p-5488fdd9.system.js","./p-6b7a595f.system.js"],(function(t){"use strict";var e,n,r,a,s,o,i,l,u,c;return{setters:[function(t){e=t.h;n=t.c;r=t.r},function(t){a=t.u;s=t.f;o=t.n},function(t){i=t._},function(t){l=t.g},function(t){u=t.u},function(t){c=t.u}],execute:function(){var f=function(t){var r=t.content,a=t.placement;var s=!a||a==="top"||a==="bottom"?"var(--sl-spacing-x-large) 0;":"0 var(--sl-spacing-xx-large);";var o="\n sl-tab-panel::part(base) {\n padding: "+s+";\n }\n ";return e(n,null,e("style",{type:"text/css"},o),e("sl-tab-group",{placement:a},r.tabs.map((function(t){var n=t.getAttribute("slot");if(t.tagName==="RAISINS-PLOP-TARGET"){return e("sl-tab",{slot:"nav"},e("div",{style:{marginTop:"10px"}},e("slot",{name:n})))}return[e("sl-tab",{slot:"nav",panel:n,id:t.getAttribute("id")||n},t.getAttribute("header")),e("sl-tab-panel",{name:n},e("slot",{name:n}))]}))),e("div",{style:{display:"none"}},e("slot",null)))};var p="sq:reveal";function v(){var t=c();var e=i();var n=u();var r=a((function(){return t.filter((function(t){return t.tagName==="SQM-TAB"||t.tagName==="RAISINS-PLOP-TARGET"})).map((function(t,e){if(t.tagName==="RAISINS-PLOP-TARGET"){var n=t;n.style.position="absolute";n.style.left="6px";var r=t.firstElementChild.childNodes[1];r.innerHTML="+";r.style.lineHeight="20px"}t.setAttribute("slot","tab-"+e);t.setAttribute("id","tab-"+e);return t}))}),[t,n]);s((function(){var t=function(t){var n;var r=t.target;t.stopPropagation();if(!r)return;var a=r.closest("sqm-tabs");if(!e.contains(r)||!a)return;var s=r.closest("sqm-tab");var o=a.shadowRoot.querySelector("sl-tab-group");(n=o)===null||n===void 0?void 0:n.show(s.id)};e.addEventListener(p,t);return function(){e.removeEventListener(p,t)}}),[]);return{content:{tabs:r}}}var m=t("sqm_tabs",function(){function t(t){r(this,t);o(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=v().content;var n=l(this).placement;return e(f,{placement:n,content:t},e("slot",null))};return t}())}}}));
@@ -1 +0,0 @@
1
- import{h as t,c as s,r as n}from"./p-f708da7b.js";import{u as a,f as e,n as o}from"./p-cd651f81.js";import{_ as r}from"./p-94a876b9.js";import{g as l}from"./p-9ec99ced.js";import{u as c}from"./p-4e451f75.js";import{u as p}from"./p-19ccb4ce.js";const i=({content:n,placement:a})=>t(s,null,t("style",{type:"text/css"},`\n sl-tab-panel::part(base) {\n padding: ${a&&"top"!==a&&"bottom"!==a?"0 var(--sl-spacing-xx-large);":"var(--sl-spacing-x-large) 0;"};\n }\n `),t("sl-tab-group",{placement:a},n.tabs.map((s=>{const n=s.getAttribute("slot");return"RAISINS-PLOP-TARGET"===s.tagName?t("sl-tab",{slot:"nav"},t("div",{style:{marginTop:"10px"}},t("slot",{name:n}))):[t("sl-tab",{slot:"nav",panel:n,id:s.getAttribute("id")||n},s.getAttribute("header")),t("sl-tab-panel",{name:n},t("slot",{name:n}))]}))),t("div",{style:{display:"none"}},t("slot",null))),m=class{constructor(t){n(this,t),o(this)}disconnectedCallback(){}render(){const{content:s}=function(){const t=p(),s=r(),n=c(),o=a((()=>t.filter((t=>"SQM-TAB"===t.tagName||"RAISINS-PLOP-TARGET"===t.tagName)).map(((t,s)=>{if("RAISINS-PLOP-TARGET"===t.tagName){const s=t;s.style.position="absolute",s.style.left="6px";const n=t.firstElementChild.childNodes[1];n.innerHTML="+",n.style.lineHeight="20px"}return t.setAttribute("slot","tab-"+s),t.setAttribute("id","tab-"+s),t}))),[t,n]);return e((()=>{const t=t=>{var n;const a=t.target;if(t.stopPropagation(),!a)return;const e=a.closest("sqm-tabs");if(!s.contains(a)||!e)return;const o=a.closest("sqm-tab");null===(n=e.shadowRoot.querySelector("sl-tab-group"))||void 0===n||n.show(o.id)};return s.addEventListener("sq:reveal",t),()=>{s.removeEventListener("sq:reveal",t)}}),[]),{content:{tabs:o}}}(),{placement:n}=l(this);return t(i,{placement:n,content:s},t("slot",null))}};export{m as sqm_tabs}