@saasquatch/mint-components 1.15.0-123 → 1.15.0-124

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@saasquatch/mint-components",
3
3
  "title": "Mint Components",
4
- "version": "1.15.0-123",
4
+ "version": "1.15.0-124",
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
- var __awaiter=this&&this.__awaiter||function(t,e,n,r){function o(t){return t instanceof n?t:new n((function(e){e(t)}))}return new(n||(n=Promise))((function(n,i){function s(t){try{l(r.next(t))}catch(t){i(t)}}function c(t){try{l(r["throw"](t))}catch(t){i(t)}}function l(t){t.done?n(t.value):o(t.value).then(s,c)}l((r=r.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var n={label:0,sent:function(){if(i[0]&1)throw i[1];return i[1]},trys:[],ops:[]},r,o,i,s;return s={next:c(0),throw:c(1),return:c(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function c(t){return function(e){return l([t,e])}}function l(s){if(r)throw new TypeError("Generator is already executing.");while(n)try{if(r=1,o&&(i=s[0]&2?o["return"]:s[0]?o["throw"]||((i=o["return"])&&i.call(o),0):o.next)&&!(i=i.call(o,s[1])).done)return i;if(o=0,i)s=[s[0]&2,i.value];switch(s[0]){case 0:case 1:i=s;break;case 4:n.label++;return{value:s[1],done:false};case 5:n.label++;o=s[1];s=[0];continue;case 7:s=n.ops.pop();n.trys.pop();continue;default:if(!(i=n.trys,i=i.length>0&&i[i.length-1])&&(s[0]===6||s[0]===2)){n=0;continue}if(s[0]===3&&(!i||s[1]>i[0]&&s[1]<i[3])){n.label=s[1];break}if(s[0]===6&&n.label<i[1]){n.label=i[1];i=s;break}if(i&&n.label<i[2]){n.label=i[2];n.ops.push(s);break}if(i[2])n.ops.pop();n.trys.pop();continue}s=e.call(t,n)}catch(t){s=[6,t];o=0}finally{r=i=0}if(s[0]&5)throw s[1];return{value:s[0]?s[1]:void 0,done:true}}};System.register(["./p-59b028db.system.js","./p-4f5329a2.system.js"],(function(t){"use strict";var e,n,r;return{setters:[function(t){e=t.r;n=t.h},function(t){r=t.n}],execute:function(){var o="sq:reveal";function i(t){var e=t.scrollTagName,n=t.scrollId;function r(){return __awaiter(this,void 0,void 0,(function(){var r;return __generator(this,(function(i){switch(i.label){case 0:r=document===null||document===void 0?void 0:document.querySelector(e||"#"+n);r.dispatchEvent(new CustomEvent(o,{detail:e||"#"+n,bubbles:true,composed:true}));return[4,new Promise((function(t){return setTimeout(t,500)}))];case 1:i.sent();r.scrollIntoView({behavior:t.scrollAnimation});return[2]}}))}))}return{callbacks:{scroll:r}}}var s=t("sqm_scroll",function(){function t(t){e(this,t);this.ignored=true;this.buttonType="default";this.scrollAnimation="smooth";r(this)}t.prototype.disconnectedCallback=function(){};t.prototype.render=function(){var t=i(this).callbacks;return n("sl-button",{type:"secondary",onClick:t.scroll,size:this.size,pill:this.pill,circle:this.circle,exportparts:"base: secondarybutton-base"},(this.iconSlot||this.iconName)&&n("sl-icon",{slot:this.iconSlot||"prefix",name:this.iconName}),this.buttonText,n("slot",null))};return t}())}}}));
@@ -1 +0,0 @@
1
- import{r as s,h as t}from"./p-c7c11325.js";import{n as o}from"./p-63e29387.js";const e=class{constructor(t){s(this,t),this.ignored=!0,this.buttonType="default",this.scrollAnimation="smooth",o(this)}disconnectedCallback(){}render(){const{callbacks:s}=function(s){const{scrollTagName:t,scrollId:o}=s;return{callbacks:{scroll:async function(){const e=null===document||void 0===document?void 0:document.querySelector(t||`#${o}`);e.dispatchEvent(new CustomEvent("sq:reveal",{detail:t||`#${o}`,bubbles:!0,composed:!0})),await new Promise((s=>setTimeout(s,500))),e.scrollIntoView({behavior:s.scrollAnimation})}}}}(this);return t("sl-button",{type:"secondary",onClick:s.scroll,size:this.size,pill:this.pill,circle:this.circle,exportparts:"base: secondarybutton-base"},(this.iconSlot||this.iconName)&&t("sl-icon",{slot:this.iconSlot||"prefix",name:this.iconName}),this.buttonText,t("slot",null))}};export{e as sqm_scroll}