@sesamy/sesamy-components 0.0.4 → 0.0.6
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.
|
@@ -1,6 +1,9 @@
|
|
|
1
|
-
(function(x,b){typeof exports=="object"&&typeof module<"u"?b(exports):typeof define=="function"&&define.amd?define(["exports"],b):(x=typeof globalThis<"u"?globalThis:x||self,b(x["@sesamy/sesamy-components"]={}))})(this,function(x){"use strict";var Mt=Object.defineProperty;var Tt=(x,b,N)=>b in x?Mt(x,b,{enumerable:!0,configurable:!0,writable:!0,value:N}):x[b]=N;var S=(x,b,N)=>Tt(x,typeof b!="symbol"?b+"":b,N);function b(){}function N(t,e){for(const n in e)t[n]=e[n];return t}function ve(t){return t()}function ye(){return Object.create(null)}function T(t){t.forEach(ve)}function ke(t){return typeof t=="function"}function R(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let J;function qe(t,e){return t===e?!0:(J||(J=document.createElement("a")),J.href=e,t===J.href)}function et(t){return Object.keys(t).length===0}function we(t,e,n,s){if(t){const l=Ee(t,e,n,s);return t[0](l)}}function Ee(t,e,n,s){return t[1]&&s?N(n.ctx.slice(),t[1](s(e))):n.ctx}function xe(t,e,n,s){if(t[2]&&s){const l=t[2](s(n));if(e.dirty===void 0)return l;if(typeof l=="object"){const i=[],o=Math.max(e.dirty.length,l.length);for(let r=0;r<o;r+=1)i[r]=e.dirty[r]|l[r];return i}return e.dirty|l}return e.dirty}function Ne(t,e,n,s,l,i){if(l){const o=Ee(e,n,s,i);t.p(o,l)}}function Le(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let s=0;s<n;s++)e[s]=-1;return e}return-1}function G(t){const e={};for(const n in t)n[0]!=="$"&&(e[n]=t[n]);return e}function Se(t,e){const n={};e=new Set(e);for(const s in t)!e.has(s)&&s[0]!=="$"&&(n[s]=t[s]);return n}function g(t,e){t.appendChild(e)}function tt(t,e,n){const s=nt(t);if(!s.getElementById(e)){const l=m("style");l.id=e,l.textContent=n,st(s,l)}}function nt(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function st(t,e){return g(t.head||t,e),e.sheet}function j(t,e,n){t.insertBefore(e,n||null)}function L(t){t.parentNode&&t.parentNode.removeChild(t)}function re(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function m(t){return document.createElement(t)}function je(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Ce(t){return document.createTextNode(t)}function w(){return Ce(" ")}function ce(){return Ce("")}function Y(t,e,n,s){return t.addEventListener(e,n,s),()=>t.removeEventListener(e,n,s)}function h(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function Q(t,e){for(const n in e)h(t,n,e[n])}function lt(t){let e;return{p(...n){e=n,e.forEach(s=>t.push(s))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function it(t){return Array.from(t.childNodes)}function Ae(t,e){t.value=e??""}function ot(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let ue;function K(t){ue=t}const W=[],Oe=[];let B=[];const Pe=[],rt=Promise.resolve();let fe=!1;function ct(){fe||(fe=!0,rt.then(Me))}function ae(t){B.push(t)}const de=new Set;let I=0;function Me(){if(I!==0)return;const t=ue;do{try{for(;I<W.length;){const e=W[I];I++,K(e),ut(e.$$)}}catch(e){throw W.length=0,I=0,e}for(K(null),W.length=0,I=0;Oe.length;)Oe.pop()();for(let e=0;e<B.length;e+=1){const n=B[e];de.has(n)||(de.add(n),n())}B.length=0}while(W.length);for(;Pe.length;)Pe.pop()();fe=!1,de.clear(),K(t)}function ut(t){if(t.fragment!==null){t.update(),T(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach(ae)}}function ft(t){const e=[],n=[];B.forEach(s=>t.indexOf(s)===-1?e.push(s):n.push(s)),n.forEach(s=>s()),B=e}const X=new Set;let P;function at(){P={r:0,c:[],p:P}}function dt(){P.r||T(P.c),P=P.p}function C(t,e){t&&t.i&&(X.delete(t),t.i(e))}function z(t,e,n,s){if(t&&t.o){if(X.has(t))return;X.add(t),P.c.push(()=>{X.delete(t),s&&(n&&t.d(1),s())}),t.o(e)}else s&&s()}function D(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function he(t,e){const n={},s={},l={$$scope:1};let i=t.length;for(;i--;){const o=t[i],r=e[i];if(r){for(const u in o)u in r||(s[u]=1);for(const u in r)l[u]||(n[u]=r[u],l[u]=1);t[i]=r}else for(const u in o)l[u]=1}for(const o in s)o in n||(n[o]=void 0);return n}function ht(t){return typeof t=="object"&&t!==null?t:{}}function Te(t){t&&t.c()}function _e(t,e,n){const{fragment:s,after_update:l}=t.$$;s&&s.m(e,n),ae(()=>{const i=t.$$.on_mount.map(ve).filter(ke);t.$$.on_destroy?t.$$.on_destroy.push(...i):T(i),t.$$.on_mount=[]}),l.forEach(ae)}function ge(t,e){const n=t.$$;n.fragment!==null&&(ft(n.after_update),T(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function _t(t,e){t.$$.dirty[0]===-1&&(W.push(t),ct(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function Z(t,e,n,s,l,i,o=null,r=[-1]){const u=ue;K(t);const a=t.$$={fragment:null,ctx:[],props:i,update:b,not_equal:l,bound:ye(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(u?u.$$.context:[])),callbacks:ye(),dirty:r,skip_bound:!1,root:e.target||u.$$.root};o&&o(a.root);let y=!1;if(a.ctx=n?n(t,e.props||{},($,c,...v)=>{const f=v.length?v[0]:c;return a.ctx&&l(a.ctx[$],a.ctx[$]=f)&&(!a.skip_bound&&a.bound[$]&&a.bound[$](f),y&&_t(t,$)),c}):[],a.update(),y=!0,T(a.before_update),a.fragment=s?s(a.ctx):!1,e.target){if(e.hydrate){const $=it(e.target);a.fragment&&a.fragment.l($),$.forEach(L)}else a.fragment&&a.fragment.c();e.intro&&C(t.$$.fragment),_e(t,e.target,e.anchor),Me()}K(u)}let We;typeof HTMLElement=="function"&&(We=class extends HTMLElement{constructor(e,n,s){super();S(this,"$$ctor");S(this,"$$s");S(this,"$$c");S(this,"$$cn",!1);S(this,"$$d",{});S(this,"$$r",!1);S(this,"$$p_d",{});S(this,"$$l",{});S(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,s&&this.attachShadow({mode:"open"})}addEventListener(e,n,s){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const l=this.$$c.$on(e,n);this.$$l_u.set(n,l)}super.addEventListener(e,n,s)}removeEventListener(e,n,s){if(super.removeEventListener(e,n,s),this.$$c){const l=this.$$l_u.get(n);l&&(l(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return()=>{let o;return{c:function(){o=m("slot"),i!=="default"&&h(o,"name",i)},m:function(a,y){j(a,o,y)},d:function(a){a&&L(o)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const n={},s=ot(this);for(const i of this.$$s)i in s&&(n[i]=[e(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=ee(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$scope:{ctx:[]}}});const l=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=ee(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(l),l();for(const i in this.$$l)for(const o of this.$$l[i]){const r=this.$$c.$on(i,o);this.$$l_u.set(o,r)}this.$$l={}}}attributeChangedCallback(e,n,s){var l;this.$$r||(e=this.$$g_p(e),this.$$d[e]=ee(e,s,this.$$p_d,"toProp"),(l=this.$$c)==null||l.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function ee(t,e,n,s){var i;const l=(i=n[t])==null?void 0:i.type;if(e=l==="Boolean"&&typeof e!="boolean"?e!=null:e,!s||!n[t])return e;if(s==="toAttribute")switch(l){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(l){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function Be(t,e,n,s,l,i){let o=class extends We{constructor(){super(t,n,l),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(r=>(e[r].attribute||r).toLowerCase())}};return Object.keys(e).forEach(r=>{Object.defineProperty(o.prototype,r,{get(){return this.$$c&&r in this.$$c?this.$$c[r]:this.$$d[r]},set(u){var a;u=ee(r,u,e),this.$$d[r]=u,(a=this.$$c)==null||a.$set({[r]:u})}})}),s.forEach(r=>{Object.defineProperty(o.prototype,r,{get(){var u;return(u=this.$$c)==null?void 0:u[r]}})}),t.element=o,o}class te{constructor(){S(this,"$$");S(this,"$$set")}$destroy(){ge(this,1),this.$destroy=b}$on(e,n){if(!ke(n))return b;const s=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return s.push(n),()=>{const l=s.indexOf(n);l!==-1&&s.splice(l,1)}}$set(e){this.$$set&&!et(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const gt="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(gt);function mt(t){tt(t,"svelte-1nq6lsq",".login-btn.svelte-1nq6lsq.svelte-1nq6lsq,.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.3s ease;border:none;outline:none}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq{width:120px;height:40px;border-radius:5px;background-color:#007bff;color:white;font-size:16px;font-weight:bold}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq:hover{background-color:#0056b3}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq:focus,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq:focus{outline:2px solid #0056b3;outline-offset:4px}.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq{width:50px;height:50px;border-radius:50%}.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq{background-color:#00bfff;animation:svelte-1nq6lsq-pulse 1s infinite ease-in-out}.avatar-btn.svelte-1nq6lsq img.svelte-1nq6lsq{width:100%;height:100%;object-fit:cover;border-radius:50%}@keyframes svelte-1nq6lsq-pulse{0%{opacity:1}50%{opacity:0.5}100%{opacity:1}}")}function $t(t){let e,n,s;return{c(){e=m("button"),e.textContent="Login",h(e,"class","login-btn svelte-1nq6lsq"),h(e,"aria-label","Log in")},m(l,i){j(l,e,i),n||(s=Y(e,"click",t[2]),n=!0)},p:b,d(l){l&&L(e),n=!1,s()}}}function bt(t){let e,n,s,l,i;return{c(){e=m("button"),n=m("img"),qe(n.src,s=yt)||h(n,"src",s),h(n,"alt","User Avatar"),h(n,"class","svelte-1nq6lsq"),h(e,"class","avatar-btn svelte-1nq6lsq"),h(e,"aria-label","Log out")},m(o,r){j(o,e,r),g(e,n),l||(i=Y(e,"click",t[3]),l=!0)},p:b,d(o){o&&L(e),l=!1,i()}}}function pt(t){let e;return{c(){e=m("button"),e.innerHTML="",h(e,"class","loading-btn svelte-1nq6lsq"),h(e,"aria-busy","true"),h(e,"aria-label","Logging in")},m(n,s){j(n,e,s)},p:b,d(n){n&&L(e)}}}function vt(t){let e;function n(i,o){return i[0]?pt:i[1]?bt:$t}let s=n(t),l=s(t);return{c(){l.c(),e=ce()},m(i,o){l.m(i,o),j(i,e,o)},p(i,[o]){s===(s=n(i))&&l?l.p(i,o):(l.d(1),l=s(i),l&&(l.c(),l.m(e.parentNode,e)))},i:b,o:b,d(i){i&&L(e),l.d(i)}}}let yt="https://via.placeholder.com/50";function kt(t,e,n){let s=!1,l=!1;const i=async()=>{n(0,s=!0),await new Promise(u=>setTimeout(u,2e3)),n(0,s=!1),n(1,l=!0)},o=()=>{n(1,l=!1)};return l=l,[s,l,i,o]}class Ie extends te{constructor(e){super(),Z(this,e,kt,vt,R,{},mt)}}customElements.define("sesamy-login",Be(Ie,{},[],[],!0));const qt=Ie;/**
|
|
1
|
+
(function(j,z){typeof exports=="object"&&typeof module<"u"?z(exports,require("svelte")):typeof define=="function"&&define.amd?define(["exports","svelte"],z):(j=typeof globalThis<"u"?globalThis:j||self,z(j["@sesamy/sesamy-components"]={},j.Svelte))})(this,function(j,z){"use strict";var Rt=Object.defineProperty;var Dt=(j,z,y)=>z in j?Rt(j,z,{enumerable:!0,configurable:!0,writable:!0,value:y}):j[z]=y;var A=(j,z,y)=>Dt(j,typeof z!="symbol"?z+"":z,y);function y(){}function M(t,e){for(const n in e)t[n]=e[n];return t}function ze(t){return t()}function Ee(){return Object.create(null)}function F(t){t.forEach(ze)}function Se(t){return typeof t=="function"}function Y(t,e){return t!=t?e==e:t!==e||t&&typeof t=="object"||typeof t=="function"}let ue;function Le(t,e){return t===e?!0:(ue||(ue=document.createElement("a")),ue.href=e,t===ue.href)}function lt(t){return Object.keys(t).length===0}function Ne(t,e,n,l){if(t){const s=Ae(t,e,n,l);return t[0](s)}}function Ae(t,e,n,l){return t[1]&&l?M(n.ctx.slice(),t[1](l(e))):n.ctx}function Oe(t,e,n,l){if(t[2]&&l){const s=t[2](l(n));if(e.dirty===void 0)return s;if(typeof s=="object"){const i=[],o=Math.max(e.dirty.length,s.length);for(let r=0;r<o;r+=1)i[r]=e.dirty[r]|s[r];return i}return e.dirty|s}return e.dirty}function Pe(t,e,n,l,s,i){if(s){const o=Ae(e,n,l,i);t.p(o,s)}}function Te(t){if(t.ctx.length>32){const e=[],n=t.ctx.length/32;for(let l=0;l<n;l++)e[l]=-1;return e}return-1}function ae(t){const e={};for(const n in t)n[0]!=="$"&&(e[n]=t[n]);return e}function Me(t,e){const n={};e=new Set(e);for(const l in t)!e.has(l)&&l[0]!=="$"&&(n[l]=t[l]);return n}function u(t,e){t.appendChild(e)}function We(t,e,n){const l=st(t);if(!l.getElementById(e)){const s=p("style");s.id=e,s.textContent=n,it(l,s)}}function st(t){if(!t)return document;const e=t.getRootNode?t.getRootNode():t.ownerDocument;return e&&e.host?e:t.ownerDocument}function it(t,e){return u(t.head||t,e),e.sheet}function S(t,e,n){t.insertBefore(e,n||null)}function E(t){t.parentNode&&t.parentNode.removeChild(t)}function ge(t,e){for(let n=0;n<t.length;n+=1)t[n]&&t[n].d(e)}function p(t){return document.createElement(t)}function Be(t){return document.createElementNS("http://www.w3.org/2000/svg",t)}function Ie(t){return document.createTextNode(t)}function b(){return Ie(" ")}function me(){return Ie("")}function O(t,e,n,l){return t.addEventListener(e,n,l),()=>t.removeEventListener(e,n,l)}function f(t,e,n){n==null?t.removeAttribute(e):t.getAttribute(e)!==n&&t.setAttribute(e,n)}function fe(t,e){for(const n in e)f(t,n,e[n])}function ot(t){let e;return{p(...n){e=n,e.forEach(l=>t.push(l))},r(){e.forEach(n=>t.splice(t.indexOf(n),1))}}}function rt(t){return Array.from(t.childNodes)}function de(t,e){t.value=e??""}function ct(t){const e={};return t.childNodes.forEach(n=>{e[n.slot||"default"]=!0}),e}let _e;function se(t){_e=t}const Q=[],Re=[];let X=[];const De=[],ut=Promise.resolve();let be=!1;function at(){be||(be=!0,ut.then(Fe))}function $e(t){X.push(t)}const ve=new Set;let Z=0;function Fe(){if(Z!==0)return;const t=_e;do{try{for(;Z<Q.length;){const e=Q[Z];Z++,se(e),ft(e.$$)}}catch(e){throw Q.length=0,Z=0,e}for(se(null),Q.length=0,Z=0;Re.length;)Re.pop()();for(let e=0;e<X.length;e+=1){const n=X[e];ve.has(n)||(ve.add(n),n())}X.length=0}while(Q.length);for(;De.length;)De.pop()();be=!1,ve.clear(),se(t)}function ft(t){if(t.fragment!==null){t.update(),F(t.before_update);const e=t.dirty;t.dirty=[-1],t.fragment&&t.fragment.p(t.ctx,e),t.after_update.forEach($e)}}function dt(t){const e=[],n=[];X.forEach(l=>t.indexOf(l)===-1?e.push(l):n.push(l)),n.forEach(l=>l()),X=e}const he=new Set;let H;function ht(){H={r:0,c:[],p:H}}function pt(){H.r||F(H.c),H=H.p}function W(t,e){t&&t.i&&(he.delete(t),t.i(e))}function ee(t,e,n,l){if(t&&t.o){if(he.has(t))return;he.add(t),H.c.push(()=>{he.delete(t),l&&(n&&t.d(1),l())}),t.o(e)}else l&&l()}function te(t){return(t==null?void 0:t.length)!==void 0?t:Array.from(t)}function ke(t,e){const n={},l={},s={$$scope:1};let i=t.length;for(;i--;){const o=t[i],r=e[i];if(r){for(const a in o)a in r||(l[a]=1);for(const a in r)s[a]||(n[a]=r[a],s[a]=1);t[i]=r}else for(const a in o)s[a]=1}for(const o in l)o in n||(n[o]=void 0);return n}function gt(t){return typeof t=="object"&&t!==null?t:{}}function He(t){t&&t.c()}function ye(t,e,n){const{fragment:l,after_update:s}=t.$$;l&&l.m(e,n),$e(()=>{const i=t.$$.on_mount.map(ze).filter(Se);t.$$.on_destroy?t.$$.on_destroy.push(...i):F(i),t.$$.on_mount=[]}),s.forEach($e)}function we(t,e){const n=t.$$;n.fragment!==null&&(dt(n.after_update),F(n.on_destroy),n.fragment&&n.fragment.d(e),n.on_destroy=n.fragment=null,n.ctx=[])}function mt(t,e){t.$$.dirty[0]===-1&&(Q.push(t),at(),t.$$.dirty.fill(0)),t.$$.dirty[e/31|0]|=1<<e%31}function ie(t,e,n,l,s,i,o=null,r=[-1]){const a=_e;se(t);const h=t.$$={fragment:null,ctx:[],props:i,update:y,not_equal:s,bound:Ee(),on_mount:[],on_destroy:[],on_disconnect:[],before_update:[],after_update:[],context:new Map(e.context||(a?a.$$.context:[])),callbacks:Ee(),dirty:r,skip_bound:!1,root:e.target||a.$$.root};o&&o(h.root);let $=!1;if(h.ctx=n?n(t,e.props||{},(_,c,...v)=>{const d=v.length?v[0]:c;return h.ctx&&s(h.ctx[_],h.ctx[_]=d)&&(!h.skip_bound&&h.bound[_]&&h.bound[_](d),$&&mt(t,_)),c}):[],h.update(),$=!0,F(h.before_update),h.fragment=l?l(h.ctx):!1,e.target){if(e.hydrate){const _=rt(e.target);h.fragment&&h.fragment.l(_),_.forEach(E)}else h.fragment&&h.fragment.c();e.intro&&W(t.$$.fragment),ye(t,e.target,e.anchor),Fe()}se(a)}let Ke;typeof HTMLElement=="function"&&(Ke=class extends HTMLElement{constructor(e,n,l){super();A(this,"$$ctor");A(this,"$$s");A(this,"$$c");A(this,"$$cn",!1);A(this,"$$d",{});A(this,"$$r",!1);A(this,"$$p_d",{});A(this,"$$l",{});A(this,"$$l_u",new Map);this.$$ctor=e,this.$$s=n,l&&this.attachShadow({mode:"open"})}addEventListener(e,n,l){if(this.$$l[e]=this.$$l[e]||[],this.$$l[e].push(n),this.$$c){const s=this.$$c.$on(e,n);this.$$l_u.set(n,s)}super.addEventListener(e,n,l)}removeEventListener(e,n,l){if(super.removeEventListener(e,n,l),this.$$c){const s=this.$$l_u.get(n);s&&(s(),this.$$l_u.delete(n))}}async connectedCallback(){if(this.$$cn=!0,!this.$$c){let e=function(i){return()=>{let o;return{c:function(){o=p("slot"),i!=="default"&&f(o,"name",i)},m:function(h,$){S(h,o,$)},d:function(h){h&&E(o)}}}};if(await Promise.resolve(),!this.$$cn||this.$$c)return;const n={},l=ct(this);for(const i of this.$$s)i in l&&(n[i]=[e(i)]);for(const i of this.attributes){const o=this.$$g_p(i.name);o in this.$$d||(this.$$d[o]=pe(o,i.value,this.$$p_d,"toProp"))}for(const i in this.$$p_d)!(i in this.$$d)&&this[i]!==void 0&&(this.$$d[i]=this[i],delete this[i]);this.$$c=new this.$$ctor({target:this.shadowRoot||this,props:{...this.$$d,$$slots:n,$$scope:{ctx:[]}}});const s=()=>{this.$$r=!0;for(const i in this.$$p_d)if(this.$$d[i]=this.$$c.$$.ctx[this.$$c.$$.props[i]],this.$$p_d[i].reflect){const o=pe(i,this.$$d[i],this.$$p_d,"toAttribute");o==null?this.removeAttribute(this.$$p_d[i].attribute||i):this.setAttribute(this.$$p_d[i].attribute||i,o)}this.$$r=!1};this.$$c.$$.after_update.push(s),s();for(const i in this.$$l)for(const o of this.$$l[i]){const r=this.$$c.$on(i,o);this.$$l_u.set(o,r)}this.$$l={}}}attributeChangedCallback(e,n,l){var s;this.$$r||(e=this.$$g_p(e),this.$$d[e]=pe(e,l,this.$$p_d,"toProp"),(s=this.$$c)==null||s.$set({[e]:this.$$d[e]}))}disconnectedCallback(){this.$$cn=!1,Promise.resolve().then(()=>{!this.$$cn&&this.$$c&&(this.$$c.$destroy(),this.$$c=void 0)})}$$g_p(e){return Object.keys(this.$$p_d).find(n=>this.$$p_d[n].attribute===e||!this.$$p_d[n].attribute&&n.toLowerCase()===e)||e}});function pe(t,e,n,l){var i;const s=(i=n[t])==null?void 0:i.type;if(e=s==="Boolean"&&typeof e!="boolean"?e!=null:e,!l||!n[t])return e;if(l==="toAttribute")switch(s){case"Object":case"Array":return e==null?null:JSON.stringify(e);case"Boolean":return e?"":null;case"Number":return e??null;default:return e}else switch(s){case"Object":case"Array":return e&&JSON.parse(e);case"Boolean":return e;case"Number":return e!=null?+e:e;default:return e}}function qe(t,e,n,l,s,i){let o=class extends Ke{constructor(){super(t,n,s),this.$$p_d=e}static get observedAttributes(){return Object.keys(e).map(r=>(e[r].attribute||r).toLowerCase())}};return Object.keys(e).forEach(r=>{Object.defineProperty(o.prototype,r,{get(){return this.$$c&&r in this.$$c?this.$$c[r]:this.$$d[r]},set(a){var h;a=pe(r,a,e),this.$$d[r]=a,(h=this.$$c)==null||h.$set({[r]:a})}})}),l.forEach(r=>{Object.defineProperty(o.prototype,r,{get(){var a;return(a=this.$$c)==null?void 0:a[r]}})}),t.element=o,o}class oe{constructor(){A(this,"$$");A(this,"$$set")}$destroy(){we(this,1),this.$destroy=y}$on(e,n){if(!Se(n))return y;const l=this.$$.callbacks[e]||(this.$$.callbacks[e]=[]);return l.push(n),()=>{const s=l.indexOf(n);s!==-1&&l.splice(s,1)}}$set(e){this.$$set&&!lt(e)&&(this.$$.skip_bound=!0,this.$$set(e),this.$$.skip_bound=!1)}}const _t="4";typeof window<"u"&&(window.__svelte||(window.__svelte={v:new Set})).v.add(_t);function bt(t){We(t,"svelte-1nq6lsq",".login-btn.svelte-1nq6lsq.svelte-1nq6lsq,.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq{display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all 0.3s ease;border:none;outline:none}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq{width:120px;height:40px;border-radius:5px;background-color:#007bff;color:white;font-size:16px;font-weight:bold}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq:hover{background-color:#0056b3}.login-btn.svelte-1nq6lsq.svelte-1nq6lsq:focus,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq:focus{outline:2px solid #0056b3;outline-offset:4px}.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq,.avatar-btn.svelte-1nq6lsq.svelte-1nq6lsq{width:50px;height:50px;border-radius:50%}.loading-btn.svelte-1nq6lsq.svelte-1nq6lsq{background-color:#00bfff;animation:svelte-1nq6lsq-pulse 1s infinite ease-in-out}.avatar-btn.svelte-1nq6lsq img.svelte-1nq6lsq{width:100%;height:100%;object-fit:cover;border-radius:50%}@keyframes svelte-1nq6lsq-pulse{0%{opacity:1}50%{opacity:0.5}100%{opacity:1}}")}function $t(t){let e,n,l;return{c(){e=p("button"),e.textContent="Login",f(e,"class","login-btn svelte-1nq6lsq"),f(e,"aria-label","Log in")},m(s,i){S(s,e,i),n||(l=O(e,"click",t[2]),n=!0)},p:y,d(s){s&&E(e),n=!1,l()}}}function vt(t){let e,n,l,s,i;return{c(){e=p("button"),n=p("img"),Le(n.src,l=wt)||f(n,"src",l),f(n,"alt","User Avatar"),f(n,"class","svelte-1nq6lsq"),f(e,"class","avatar-btn svelte-1nq6lsq"),f(e,"aria-label","Log out")},m(o,r){S(o,e,r),u(e,n),s||(i=O(e,"click",t[3]),s=!0)},p:y,d(o){o&&E(e),s=!1,i()}}}function kt(t){let e;return{c(){e=p("button"),e.innerHTML="",f(e,"class","loading-btn svelte-1nq6lsq"),f(e,"aria-busy","true"),f(e,"aria-label","Logging in")},m(n,l){S(n,e,l)},p:y,d(n){n&&E(e)}}}function yt(t){let e;function n(i,o){return i[0]?kt:i[1]?vt:$t}let l=n(t),s=l(t);return{c(){s.c(),e=me()},m(i,o){s.m(i,o),S(i,e,o)},p(i,[o]){l===(l=n(i))&&s?s.p(i,o):(s.d(1),s=l(i),s&&(s.c(),s.m(e.parentNode,e)))},i:y,o:y,d(i){i&&E(e),s.d(i)}}}let wt="https://via.placeholder.com/50";function qt(t,e,n){let l=!1,s=!1;const i=async()=>{n(0,l=!0),await new Promise(a=>setTimeout(a,2e3)),n(0,l=!1),n(1,s=!0)},o=()=>{n(1,s=!1)};return s=s,[l,s,i,o]}class Ge extends oe{constructor(e){super(),ie(this,e,qt,yt,Y,{},bt)}}customElements.define("sesamy-login",qe(Ge,{},[],[],!0));const jt=Ge;/**
|
|
2
2
|
* @license lucide-svelte v0.445.0 - ISC
|
|
3
3
|
*
|
|
4
4
|
* This source code is licensed under the ISC license.
|
|
5
5
|
* See the LICENSE file in the root directory of this source tree.
|
|
6
|
-
*/const
|
|
6
|
+
*/const Ue={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor","stroke-width":2,"stroke-linecap":"round","stroke-linejoin":"round"};function Ve(t,e,n){const l=t.slice();return l[11]=e[n][0],l[12]=e[n][1],l}function je(t){let e,n=[t[12]],l={};for(let s=0;s<n.length;s+=1)l=M(l,n[s]);return{c(){e=Be(t[11]),fe(e,l)},m(s,i){S(s,e,i)},p(s,i){fe(e,l=ke(n,[i&32&&s[12]]))},d(s){s&&E(e)}}}function Je(t){let e=t[11],n,l=t[11]&&je(t);return{c(){l&&l.c(),n=me()},m(s,i){l&&l.m(s,i),S(s,n,i)},p(s,i){s[11]?e?Y(e,s[11])?(l.d(1),l=je(s),e=s[11],l.c(),l.m(n.parentNode,n)):l.p(s,i):(l=je(s),e=s[11],l.c(),l.m(n.parentNode,n)):e&&(l.d(1),l=null,e=s[11])},d(s){s&&E(n),l&&l.d(s)}}}function xt(t){let e,n,l,s,i,o=te(t[5]),r=[];for(let c=0;c<o.length;c+=1)r[c]=Je(Ve(t,o,c));const a=t[10].default,h=Ne(a,t,t[9],null);let $=[Ue,t[7],{width:t[2]},{height:t[2]},{stroke:t[1]},{"stroke-width":l=t[4]?Number(t[3])*24/Number(t[2]):t[3]},{class:s=t[6]("lucide-icon","lucide",t[0]?`lucide-${t[0]}`:"",t[8].class)}],_={};for(let c=0;c<$.length;c+=1)_=M(_,$[c]);return{c(){e=Be("svg");for(let c=0;c<r.length;c+=1)r[c].c();n=me(),h&&h.c(),fe(e,_)},m(c,v){S(c,e,v);for(let d=0;d<r.length;d+=1)r[d]&&r[d].m(e,null);u(e,n),h&&h.m(e,null),i=!0},p(c,[v]){if(v&32){o=te(c[5]);let d;for(d=0;d<o.length;d+=1){const P=Ve(c,o,d);r[d]?r[d].p(P,v):(r[d]=Je(P),r[d].c(),r[d].m(e,n))}for(;d<r.length;d+=1)r[d].d(1);r.length=o.length}h&&h.p&&(!i||v&512)&&Pe(h,a,c,c[9],i?Oe(a,c[9],v,null):Te(c[9]),null),fe(e,_=ke($,[Ue,v&128&&c[7],(!i||v&4)&&{width:c[2]},(!i||v&4)&&{height:c[2]},(!i||v&2)&&{stroke:c[1]},(!i||v&28&&l!==(l=c[4]?Number(c[3])*24/Number(c[2]):c[3]))&&{"stroke-width":l},(!i||v&257&&s!==(s=c[6]("lucide-icon","lucide",c[0]?`lucide-${c[0]}`:"",c[8].class)))&&{class:s}]))},i(c){i||(W(h,c),i=!0)},o(c){ee(h,c),i=!1},d(c){c&&E(e),ge(r,c),h&&h.d(c)}}}function Ct(t,e,n){const l=["name","color","size","strokeWidth","absoluteStrokeWidth","iconNode"];let s=Me(e,l),{$$slots:i={},$$scope:o}=e,{name:r=void 0}=e,{color:a="currentColor"}=e,{size:h=24}=e,{strokeWidth:$=2}=e,{absoluteStrokeWidth:_=!1}=e,{iconNode:c=[]}=e;const v=(...d)=>d.filter((P,L,K)=>!!P&&K.indexOf(P)===L).join(" ");return t.$$set=d=>{n(8,e=M(M({},e),ae(d))),n(7,s=Me(e,l)),"name"in d&&n(0,r=d.name),"color"in d&&n(1,a=d.color),"size"in d&&n(2,h=d.size),"strokeWidth"in d&&n(3,$=d.strokeWidth),"absoluteStrokeWidth"in d&&n(4,_=d.absoluteStrokeWidth),"iconNode"in d&&n(5,c=d.iconNode),"$$scope"in d&&n(9,o=d.$$scope)},e=ae(e),[r,a,h,$,_,c,v,s,e,o,i]}class zt extends oe{constructor(e){super(),ie(this,e,Ct,xt,Y,{name:0,color:1,size:2,strokeWidth:3,absoluteStrokeWidth:4,iconNode:5})}}function Et(t){let e;const n=t[2].default,l=Ne(n,t,t[3],null);return{c(){l&&l.c()},m(s,i){l&&l.m(s,i),e=!0},p(s,i){l&&l.p&&(!e||i&8)&&Pe(l,n,s,s[3],e?Oe(n,s[3],i,null):Te(s[3]),null)},i(s){e||(W(l,s),e=!0)},o(s){ee(l,s),e=!1},d(s){l&&l.d(s)}}}function St(t){let e,n;const l=[{name:"circle-check"},t[1],{iconNode:t[0]}];let s={$$slots:{default:[Et]},$$scope:{ctx:t}};for(let i=0;i<l.length;i+=1)s=M(s,l[i]);return e=new zt({props:s}),{c(){He(e.$$.fragment)},m(i,o){ye(e,i,o),n=!0},p(i,[o]){const r=o&3?ke(l,[l[0],o&2&>(i[1]),o&1&&{iconNode:i[0]}]):{};o&8&&(r.$$scope={dirty:o,ctx:i}),e.$set(r)},i(i){n||(W(e.$$.fragment,i),n=!0)},o(i){ee(e.$$.fragment,i),n=!1},d(i){we(e,i)}}}function Lt(t,e,n){let{$$slots:l={},$$scope:s}=e;const i=[["circle",{cx:"12",cy:"12",r:"10"}],["path",{d:"m9 12 2 2 4-4"}]];return t.$$set=o=>{n(1,e=M(M({},e),ae(o))),"$$scope"in o&&n(3,s=o.$$scope)},e=ae(e),[i,e,l,s]}class Nt extends oe{constructor(e){super(),ie(this,e,Lt,St,Y,{})}}function Ye(t,e,n){const l=t.slice();return l[6]=e[n],l}function Qe(t,e,n){const l=t.slice();return l[9]=e[n],l}function Xe(t){let e,n,l,s,i,o;return n=new Nt({props:{class:"text-green-500 mr-2",size:20}}),{c(){e=p("li"),He(n.$$.fragment),l=b(),s=p("span"),s.textContent=`${t[9]}`,i=b(),f(e,"class","flex items-center")},m(r,a){S(r,e,a),ye(n,e,null),u(e,l),u(e,s),u(e,i),o=!0},p:y,i(r){o||(W(n.$$.fragment,r),o=!0)},o(r){ee(n.$$.fragment,r),o=!1},d(r){r&&E(e),we(n)}}}function Ze(t){let e,n;return{c(){e=p("img"),Le(e.src,n="/api/placeholder/40/25")||f(e,"src",n),f(e,"alt",t[6]),f(e,"class","h-6")},m(l,s){S(l,e,s)},p:y,d(l){l&&E(e)}}}function At(t){let e,n,l,s,i,o,r,a,h,$,_,c,v,d,P,L,K,C,w,B,ne,T,G,U,V,I,R,re,N,D,xe,Ce,nt,J=te(t[1]),k=[];for(let m=0;m<J.length;m+=1)k[m]=Xe(Qe(t,J,m));const It=m=>ee(k[m],1,1,()=>{k[m]=null});let le=te(t[2]),x=[];for(let m=0;m<le.length;m+=1)x[m]=Ze(Ye(t,le,m));return xe=ot(t[4][0]),{c(){e=p("div"),n=p("div"),n.textContent="Redan prenumerant? Logga in",l=b(),s=p("h1"),s.textContent="FOKUS",i=b(),o=p("h2"),o.textContent="Läs Fokus Digital i 6 månader för bara 79 kr!",r=b(),a=p("ul");for(let m=0;m<k.length;m+=1)k[m].c();h=b(),$=p("div"),_=p("label"),c=p("input"),v=b(),d=p("div"),d.innerHTML='<div class="font-semibold">Fokus Digital i 6 månader för 79kr!</div> <div class="text-sm text-gray-600">Efter kampanjperioden 149 kr/mån. Ingen bindningstid!</div>',P=b(),L=p("div"),L.textContent="79 SEK/6 mån",K=b(),C=p("label"),w=p("input"),B=b(),ne=p("div"),ne.innerHTML='<div class="font-semibold">Fokus Digital i ett år för 995kr</div> <div class="text-sm text-gray-600">Du sparar 793 kr. Prenumerationen förnyas automatiskt årsvis.</div>',T=b(),G=p("div"),G.textContent="995 SEK/år",U=b(),V=p("button"),V.textContent="Fortsätt",I=b(),R=p("div"),R.textContent="Säker SSL-krypterad betalning",re=b(),N=p("div");for(let m=0;m<x.length;m+=1)x[m].c();f(n,"class","text-right text-sm text-red-500 mb-4"),f(s,"class","text-4xl font-bold text-red-500 mb-4"),f(o,"class","text-xl font-semibold mb-6"),f(a,"class","space-y-2 mb-6"),f(c,"type","radio"),f(c,"name","subscription"),c.__value="sixMonths",de(c,c.__value),f(c,"class","mr-3"),f(L,"class","ml-auto font-semibold"),f(_,"class","flex items-center p-4 border rounded-lg"),f(w,"type","radio"),f(w,"name","subscription"),w.__value="oneYear",de(w,w.__value),f(w,"class","mr-3"),f(G,"class","ml-auto font-semibold"),f(C,"class","flex items-center p-4 border rounded-lg"),f($,"class","space-y-4 mb-6"),f(V,"class","w-full bg-red-500 text-white py-3 rounded-lg font-semibold"),f(R,"class","text-center text-sm text-gray-600 mt-4"),f(N,"class","flex justify-center space-x-2 mt-2"),f(e,"class","max-w-md mx-auto bg-white p-6 rounded-lg shadow-lg"),xe.p(c,w)},m(m,q){S(m,e,q),u(e,n),u(e,l),u(e,s),u(e,i),u(e,o),u(e,r),u(e,a);for(let g=0;g<k.length;g+=1)k[g]&&k[g].m(a,null);u(e,h),u(e,$),u($,_),u(_,c),c.checked=c.__value===t[0],u(_,v),u(_,d),u(_,P),u(_,L),u($,K),u($,C),u(C,w),w.checked=w.__value===t[0],u(C,B),u(C,ne),u(C,T),u(C,G),u(e,U),u(e,V),u(e,I),u(e,R),u(e,re),u(e,N);for(let g=0;g<x.length;g+=1)x[g]&&x[g].m(N,null);D=!0,Ce||(nt=[O(c,"change",t[3]),O(w,"change",t[5])],Ce=!0)},p(m,[q]){if(q&2){J=te(m[1]);let g;for(g=0;g<J.length;g+=1){const ce=Qe(m,J,g);k[g]?(k[g].p(ce,q),W(k[g],1)):(k[g]=Xe(ce),k[g].c(),W(k[g],1),k[g].m(a,null))}for(ht(),g=J.length;g<k.length;g+=1)It(g);pt()}if(q&1&&(c.checked=c.__value===m[0]),q&1&&(w.checked=w.__value===m[0]),q&4){le=te(m[2]);let g;for(g=0;g<le.length;g+=1){const ce=Ye(m,le,g);x[g]?x[g].p(ce,q):(x[g]=Ze(ce),x[g].c(),x[g].m(N,null))}for(;g<x.length;g+=1)x[g].d(1);x.length=le.length}},i(m){if(!D){for(let q=0;q<J.length;q+=1)W(k[q]);D=!0}},o(m){k=k.filter(Boolean);for(let q=0;q<k.length;q+=1)ee(k[q]);D=!1},d(m){m&&E(e),ge(k,m),ge(x,m),xe.r(),Ce=!1,F(nt)}}}function Ot(t,e,n){let l="sixMonths";const s=["Allt material på Fokus.se","Tillgång till e-tidning","Tillgång till våra podcasts","Nyhetsbrev"],i=["Visa","American Express","Mastercard","Klarna","Google Pay","Apple Pay","Swish"],o=[[]];function r(){l=this.__value,n(0,l)}function a(){l=this.__value,n(0,l)}return[l,s,i,r,o,a]}class et extends oe{constructor(e){super(),ie(this,e,Ot,At,Y,{})}}customElements.define("sesamy-paywall",qe(et,{},[],[],!0));const Pt=et;function Tt(t){We(t,"svelte-phjzbp",'.registration-wall.svelte-phjzbp{font-family:Arial, sans-serif;max-width:400px;margin:0 auto;padding:20px;text-align:center}h1.svelte-phjzbp{font-size:24px;margin-bottom:10px}p.svelte-phjzbp{font-size:16px;margin-bottom:20px}input.svelte-phjzbp{width:100%;padding:10px;margin-bottom:10px;border:1px solid #ccc;border-radius:4px}button.svelte-phjzbp{width:100%;padding:10px;background-color:#000;color:#fff;border:none;border-radius:4px;cursor:pointer;margin-bottom:10px}.divider.svelte-phjzbp{margin:20px 0;text-align:center;position:relative}.divider.svelte-phjzbp::before,.divider.svelte-phjzbp::after{content:"";position:absolute;top:50%;width:45%;height:1px;background-color:#ccc}.divider.svelte-phjzbp::before{left:0}.divider.svelte-phjzbp::after{right:0}.social-button.svelte-phjzbp{background-color:#fff;color:#000;border:1px solid #ccc}a.svelte-phjzbp{color:#000;text-decoration:none}.terms.svelte-phjzbp{font-size:12px;margin-bottom:20px}')}function Mt(t){let e,n,l,s,i,o,r,a,h,$,_,c,v,d,P,L,K,C,w,B,ne,T,G,U,V,I,R,re;return{c(){e=p("div"),n=p("h1"),n.textContent="Create a free account, or log in.",l=b(),s=p("p"),s.textContent=`Gain access to limited free articles, news alerts, select newsletters,
|
|
7
|
+
podcasts and some daily games.`,i=b(),o=p("label"),o.textContent="Email Address",r=b(),a=p("input"),h=b(),$=p("button"),$.textContent="Continue",_=b(),c=p("div"),c.textContent="or",v=b(),d=p("p"),d.innerHTML=`By continuing, you agree to the <a href="#terms" class="svelte-phjzbp">Terms of Sale</a>,
|
|
8
|
+
<a href="#service" class="svelte-phjzbp">Terms of Service</a>, and
|
|
9
|
+
<a href="#privacy" class="svelte-phjzbp">Privacy Policy</a>.`,P=b(),L=p("button"),L.textContent="Continue with Google",K=b(),C=p("button"),C.textContent="Continue with Facebook",w=b(),B=p("button"),B.textContent="Continue with Apple",ne=b(),T=p("a"),T.textContent="Continue with work or school single sign-on >",G=b(),U=p("p"),U.textContent="Enjoy unlimited access to all of The Times.",V=b(),I=p("button"),I.textContent="See subscription options",f(n,"class","svelte-phjzbp"),f(s,"class","svelte-phjzbp"),f(o,"for","email"),f(a,"type","email"),f(a,"id","email"),f(a,"placeholder","Enter your email"),f(a,"class","svelte-phjzbp"),f($,"class","svelte-phjzbp"),f(c,"class","divider svelte-phjzbp"),f(d,"class","terms svelte-phjzbp"),f(L,"class","social-button google svelte-phjzbp"),f(C,"class","social-button facebook svelte-phjzbp"),f(B,"class","social-button apple svelte-phjzbp"),f(T,"href","#"),f(T,"class","svelte-phjzbp"),f(U,"class","svelte-phjzbp"),f(I,"class","svelte-phjzbp"),f(e,"class","registration-wall svelte-phjzbp")},m(N,D){S(N,e,D),u(e,n),u(e,l),u(e,s),u(e,i),u(e,o),u(e,r),u(e,a),de(a,t[0]),u(e,h),u(e,$),u(e,_),u(e,c),u(e,v),u(e,d),u(e,P),u(e,L),u(e,K),u(e,C),u(e,w),u(e,B),u(e,ne),u(e,T),u(e,G),u(e,U),u(e,V),u(e,I),R||(re=[O(a,"input",t[5]),O($,"click",t[1]),O(L,"click",t[6]),O(C,"click",t[7]),O(B,"click",t[8]),O(T,"click",t[3]),O(I,"click",t[4])],R=!0)},p(N,[D]){D&1&&a.value!==N[0]&&de(a,N[0])},i:y,o:y,d(N){N&&E(e),R=!1,F(re)}}}function Wt(t,e,n){const l=z.createEventDispatcher();let s="";function i(){l("continue",{email:s})}function o(v){l("socialLogin",{provider:v})}function r(){l("workSchoolLogin")}function a(){l("subscriptionOptions")}function h(){s=this.value,n(0,s)}return[s,i,o,r,a,h,()=>o("google"),()=>o("facebook"),()=>o("apple")]}class tt extends oe{constructor(e){super(),ie(this,e,Wt,Mt,Y,{},Tt)}}customElements.define("sesamy-registration-wall",qe(tt,{},[],[],!0));const Bt=tt;j.Login=jt,j.Paywall=Pt,j.RegistrationWall=Bt,Object.defineProperty(j,Symbol.toStringTag,{value:"Module"})});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sesamy/sesamy-components",
|
|
3
3
|
"description": "Ahareable web components library with Vite + Svelte",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.6",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "dist/lib/sesamy-components.es.js",
|
|
7
7
|
"main": "dist/lib/sesamy-components.umd.js",
|