@jumpgroup/jump-design-system 0.1.8 → 0.1.9
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/dist/cjs/{index-91a3ed32.js → index-46644e39.js} +448 -42
- package/dist/cjs/index-46644e39.js.map +1 -0
- package/dist/cjs/jump-button.cjs.entry.js +2 -2
- package/dist/cjs/jump-button.cjs.entry.js.map +1 -1
- package/dist/cjs/jump-design-system.cjs.js +2 -2
- package/dist/cjs/jump-icon.cjs.entry.js +1 -1
- package/dist/cjs/jump-pagination.cjs.entry.js +1 -1
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/collection/components/jump-button/jump-button.js +1 -2
- package/dist/collection/components/jump-button/jump-button.js.map +1 -1
- package/dist/components/jump-button.js +2 -3
- package/dist/components/jump-button.js.map +1 -1
- package/dist/esm/{index-3cf3394c.js → index-b0176170.js} +448 -42
- package/dist/esm/index-b0176170.js.map +1 -0
- package/dist/esm/jump-button.entry.js +2 -2
- package/dist/esm/jump-button.entry.js.map +1 -1
- package/dist/esm/jump-design-system.js +3 -3
- package/dist/esm/jump-icon.entry.js +1 -1
- package/dist/esm/jump-pagination.entry.js +1 -1
- package/dist/esm/loader.js +3 -3
- package/dist/jump-design-system/jump-design-system.esm.js +1 -1
- package/dist/jump-design-system/{p-85fbbf60.entry.js → p-0d2b55a8.entry.js} +2 -2
- package/dist/jump-design-system/{p-f4cfa17d.entry.js → p-3cbc3a68.entry.js} +2 -2
- package/dist/jump-design-system/p-68bce598.js +3 -0
- package/dist/jump-design-system/p-68bce598.js.map +1 -0
- package/dist/jump-design-system/{p-e2af0fd9.entry.js → p-c34f0f2c.entry.js} +2 -2
- package/dist/jump-design-system/p-c34f0f2c.entry.js.map +1 -0
- package/package.json +1 -1
- package/dist/cjs/index-91a3ed32.js.map +0 -1
- package/dist/esm/index-3cf3394c.js.map +0 -1
- package/dist/jump-design-system/p-7216d46f.js +0 -3
- package/dist/jump-design-system/p-7216d46f.js.map +0 -1
- package/dist/jump-design-system/p-e2af0fd9.entry.js.map +0 -1
- /package/dist/jump-design-system/{p-85fbbf60.entry.js.map → p-0d2b55a8.entry.js.map} +0 -0
- /package/dist/jump-design-system/{p-f4cfa17d.entry.js.map → p-3cbc3a68.entry.js.map} +0 -0
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
const t="jump-design-system";let n;let e;let s=false;let l=false;let o=false;const c=(t,n="")=>{{return()=>{}}};const i=(t,n)=>{{return()=>{}}};const f="{visibility:hidden}.hydrated{visibility:inherit}";const r="slot-fb{display:contents}slot-fb[hidden]{display:none}";const u={};const a=t=>t!=null;const d=t=>{t=typeof t;return t==="object"||t==="function"};function y(t){var n,e,s;return(s=(e=(n=t.head)===null||n===void 0?void 0:n.querySelector('meta[name="csp-nonce"]'))===null||e===void 0?void 0:e.getAttribute("content"))!==null&&s!==void 0?s:undefined}const p=(t,n,...e)=>{let s=null;let l=null;let o=false;let c=false;const i=[];const f=n=>{for(let e=0;e<n.length;e++){s=n[e];if(Array.isArray(s)){f(s)}else if(s!=null&&typeof s!=="boolean"){if(o=typeof t!=="function"&&!d(s)){s=String(s)}if(o&&c){i[i.length-1].t+=s}else{i.push(o?h(null,s):s)}c=o}}};f(e);if(n){if(n.key){l=n.key}{const t=n.className||n.class;if(t){n.class=typeof t!=="object"?t:Object.keys(t).filter((n=>t[n])).join(" ")}}}const r=h(t,null);r.l=n;if(i.length>0){r.o=i}{r.i=l}return r};const h=(t,n)=>{const e={u:0,p:t,t:n,h:null,o:null};{e.l=null}{e.i=null}return e};const v={};const m=t=>t&&t.p===v;const $=(t,n)=>{if(t!=null&&!d(t)){if(n&4){return t==="false"?false:t===""||!!t}if(n&2){return parseFloat(t)}if(n&1){return String(t)}return t}return t};const b=(t,n,e)=>{const s=pt.ce(n,e);t.dispatchEvent(s);return s};const w=new WeakMap;const S=(t,n,e)=>{let s=at.get(t);if(vt&&e){s=s||new CSSStyleSheet;if(typeof s==="string"){s=n}else{s.replaceSync(n)}}else{s=n}at.set(t,s)};const g=(t,n,e)=>{var s;const l=k(n);const o=at.get(l);t=t.nodeType===11?t:yt;if(o){if(typeof o==="string"){t=t.head||t;let e=w.get(t);let c;if(!e){w.set(t,e=new Set)}if(!e.has(l)){{c=yt.createElement("style");c.innerHTML=o;const n=(s=pt.v)!==null&&s!==void 0?s:y(yt);if(n!=null){c.setAttribute("nonce",n)}t.insertBefore(c,t.querySelector("link"))}if(n.u&4){c.innerHTML+=r}if(e){e.add(l)}}}else if(!t.adoptedStyleSheets.includes(o)){t.adoptedStyleSheets=[...t.adoptedStyleSheets,o]}}return l};const j=t=>{const n=t.m;const e=t.$hostElement$;const s=n.u;const l=c("attachStyles",n.$);const o=g(e.shadowRoot?e.shadowRoot:e.getRootNode(),n);if(s&10){e["s-sc"]=o;e.classList.add(o+"-h")}l()};const k=(t,n)=>"sc-"+t.$;const M=(t,n,e,s,l,o)=>{if(e!==s){let c=it(t,n);n.toLowerCase();if(n==="class"){const n=t.classList;const l=C(e);const o=C(s);n.remove(...l.filter((t=>t&&!o.includes(t))));n.add(...o.filter((t=>t&&!l.includes(t))))}else if(n==="key");else{const i=d(s);if((c||i&&s!==null)&&!l){try{if(!t.tagName.includes("-")){const l=s==null?"":s;if(n==="list"){c=false}else if(e==null||t[n]!=l){t[n]=l}}else{t[n]=s}}catch(t){}}if(s==null||s===false){if(s!==false||t.getAttribute(n)===""){{t.removeAttribute(n)}}}else if((!c||o&4||l)&&!i){s=s===true?"":s;{t.setAttribute(n,s)}}}}};const O=/\s/;const C=t=>!t?[]:t.split(O);const P=(t,n,e,s)=>{const l=n.h.nodeType===11&&n.h.host?n.h.host:n.h;const o=t&&t.l||u;const c=n.l||u;{for(s in o){if(!(s in c)){M(l,s,o[s],undefined,e,n.u)}}}for(s in c){M(l,s,o[s],c[s],e,n.u)}};const U=(t,s,o,c)=>{const i=s.o[o];let f=0;let r;let u;if(i.t!==null){r=i.h=yt.createTextNode(i.t)}else{r=i.h=yt.createElement(i.p);{P(null,i,l)}if(a(n)&&r["s-si"]!==n){r.classList.add(r["s-si"]=n)}if(i.o){for(f=0;f<i.o.length;++f){u=U(t,i,f);if(u){r.appendChild(u)}}}}r["s-hn"]=e;return r};const x=(t,n,s,l,o,c)=>{let i=t;let f;if(i.shadowRoot&&i.tagName===e){i=i.shadowRoot}for(;o<=c;++o){if(l[o]){f=U(null,s,o);if(f){l[o].h=f;i.insertBefore(f,n)}}}};const A=(t,n,e)=>{for(let s=n;s<=e;++s){const n=t[s];if(n){const t=n.h;if(t){t.remove()}}}};const E=(t,n,e,s,l=false)=>{let o=0;let c=0;let i=0;let f=0;let r=n.length-1;let u=n[0];let a=n[r];let d=s.length-1;let y=s[0];let p=s[d];let h;let v;while(o<=r&&c<=d){if(u==null){u=n[++o]}else if(a==null){a=n[--r]}else if(y==null){y=s[++c]}else if(p==null){p=s[--d]}else if(L(u,y,l)){N(u,y,l);u=n[++o];y=s[++c]}else if(L(a,p,l)){N(a,p,l);a=n[--r];p=s[--d]}else if(L(u,p,l)){N(u,p,l);t.insertBefore(u.h,a.h.nextSibling);u=n[++o];p=s[--d]}else if(L(a,y,l)){N(a,y,l);t.insertBefore(a.h,u.h);a=n[--r];y=s[++c]}else{i=-1;{for(f=o;f<=r;++f){if(n[f]&&n[f].i!==null&&n[f].i===y.i){i=f;break}}}if(i>=0){v=n[i];if(v.p!==y.p){h=U(n&&n[c],e,i)}else{N(v,y,l);n[i]=undefined;h=v.h}y=s[++c]}else{h=U(n&&n[c],e,c);y=s[++c]}if(h){{u.h.parentNode.insertBefore(h,u.h)}}}}if(o>r){x(t,s[d+1]==null?null:s[d+1].h,e,s,c,d)}else if(c>d){A(n,o,r)}};const L=(t,n,e=false)=>{if(t.p===n.p){if(!e){return t.i===n.i}return true}return false};const N=(t,n,e=false)=>{const o=n.h=t.h;const c=t.o;const i=n.o;const f=n.p;const r=n.t;if(r===null){{if(f==="slot"&&!s);else{P(t,n,l)}}if(c!==null&&i!==null){E(o,c,n,i,e)}else if(i!==null){if(t.t!==null){o.textContent=""}x(o,null,n,i,0,i.length-1)}else if(c!==null){A(c,0,c.length-1)}}else if(t.t!==r){o.data=r}};const T=(t,l,o=false)=>{const c=t.$hostElement$;const i=t.m;const f=t.S||h(null,null);const r=m(l)?l:p(null,null,l);e=c.tagName;if(i.j){r.l=r.l||{};i.j.map((([t,n])=>r.l[n]=c[t]))}if(o&&r.l){for(const t of Object.keys(r.l)){if(c.hasAttribute(t)&&!["key","ref","style","class"].includes(t)){r.l[t]=c[t]}}}r.p=null;r.u|=4;t.S=r;r.h=f.h=c.shadowRoot||c;{n=c["s-sc"]}s=(i.u&1)!==0;N(f,r,o)};const F=(t,n)=>{if(n&&!t.k&&n["s-p"]){n["s-p"].push(new Promise((n=>t.k=n)))}};const H=(t,n)=>{{t.u|=16}if(t.u&4){t.u|=512;return}F(t,t.M);const e=()=>R(t,n);return jt(e)};const R=(t,n)=>{const e=c("scheduleUpdate",t.m.$);const s=t.O;let l;e();return W(l,(()=>D(t,s,n)))};const W=(t,n)=>q(t)?t.then(n):n();const q=t=>t instanceof Promise||t&&t.then&&typeof t.then==="function";const D=async(t,n,e)=>{var s;const l=t.$hostElement$;const o=c("update",t.m.$);const i=l["s-rc"];if(e){j(t)}const f=c("render",t.m.$);{I(t,n,l,e)}if(i){i.map((t=>t()));l["s-rc"]=undefined}f();o();{const n=(s=l["s-p"])!==null&&s!==void 0?s:[];const e=()=>V(t);if(n.length===0){e()}else{Promise.all(n).then(e);t.u|=4;n.length=0}}};const I=(t,n,e,s)=>{try{n=n.render();{t.u&=~16}{t.u|=2}{{{T(t,n,s)}}}}catch(n){ft(n,t.$hostElement$)}return null};const V=t=>{const n=t.m.$;const e=t.$hostElement$;const s=c("postUpdate",n);const l=t.O;const o=t.M;if(!(t.u&64)){t.u|=64;{B(e)}{z(l,"componentDidLoad")}s();{t.C(e);if(!o){_()}}}else{s()}{if(t.k){t.k();t.k=undefined}if(t.u&512){gt((()=>H(t,false)))}t.u&=~(4|512)}};const _=n=>{{B(yt.documentElement)}gt((()=>b(dt,"appload",{detail:{namespace:t}})))};const z=(t,n,e)=>{if(t&&t[n]){try{return t[n](e)}catch(t){ft(t)}}return undefined};const B=t=>t.classList.add("hydrated");const G=(t,n)=>lt(t).P.get(n);const J=(t,n,e,s)=>{const l=lt(t);const o=l.P.get(n);const c=l.u;const i=l.O;e=$(e,s.U[n][0]);const f=Number.isNaN(o)&&Number.isNaN(e);const r=e!==o&&!f;if((!(c&8)||o===undefined)&&r){l.P.set(n,e);if(i){if((c&(2|16))===2){H(l,false)}}}};const K=(t,n,e)=>{var s;const l=t.prototype;if(n.U){const o=Object.entries(n.U);o.map((([t,[s]])=>{if(s&31||e&2&&s&32){Object.defineProperty(l,t,{get(){return G(this,t)},set(e){J(this,t,e,n)},configurable:true,enumerable:true})}}));if(e&1){const e=new Map;l.attributeChangedCallback=function(t,s,o){pt.jmp((()=>{var c;const i=e.get(t);if(this.hasOwnProperty(i)){o=this[i];delete this[i]}else if(l.hasOwnProperty(i)&&typeof this[i]==="number"&&this[i]==o){return}else if(i==null){const e=lt(this);const l=e===null||e===void 0?void 0:e.u;if(l&&!(l&8)&&l&128&&o!==s){const l=e.O;const i=(c=n.A)===null||c===void 0?void 0:c[t];i===null||i===void 0?void 0:i.forEach((n=>{if(l[n]!=null){l[n].call(l,o,s,t)}}))}return}this[i]=o===null&&typeof this[i]==="boolean"?false:o}))};t.observedAttributes=Array.from(new Set([...Object.keys((s=n.A)!==null&&s!==void 0?s:{}),...o.filter((([t,n])=>n[0]&15)).map((([t,s])=>{var l;const o=s[1]||t;e.set(o,t);if(s[0]&512){(l=n.j)===null||l===void 0?void 0:l.push([t,o])}return o}))]))}}return t};const Q=async(t,n,e,s)=>{let l;if((n.u&32)===0){n.u|=32;{l=ut(e);if(l.then){const t=i();l=await l;t()}if(!l.isProxied){K(l,e,2);l.isProxied=true}const t=c("createInstance",e.$);{n.u|=8}try{new l(n)}catch(t){ft(t)}{n.u&=~8}t()}if(l.style){let t=l.style;const n=k(e);if(!at.has(n)){const s=c("registerStyles",e.$);S(n,t,!!(e.u&1));s()}}}const o=n.M;const f=()=>H(n,true);if(o&&o["s-rc"]){o["s-rc"].push(f)}else{f()}};const X=t=>{};const Y=t=>{if((pt.u&1)===0){const n=lt(t);const e=n.m;const s=c("connectedCallback",e.$);if(!(n.u&1)){n.u|=1;{let e=t;while(e=e.parentNode||e.host){if(e["s-p"]){F(n,n.M=e);break}}}if(e.U){Object.entries(e.U).map((([n,[e]])=>{if(e&31&&t.hasOwnProperty(n)){const e=t[n];delete t[n];t[n]=e}}))}{Q(t,n,e)}}else{if(n===null||n===void 0?void 0:n.O);else if(n===null||n===void 0?void 0:n.L){n.L.then((()=>X()))}}s()}};const Z=t=>{};const tt=async t=>{if((pt.u&1)===0){const n=lt(t);if(n===null||n===void 0?void 0:n.O);else if(n===null||n===void 0?void 0:n.L){n.L.then((()=>Z()))}}};const nt=(t,n={})=>{var e;const s=c();const l=[];const o=n.exclude||[];const i=dt.customElements;const u=yt.head;const a=u.querySelector("meta[charset]");const d=yt.createElement("style");const p=[];let h;let v=true;Object.assign(pt,n);pt.N=new URL(n.resourcesUrl||"./",yt.baseURI).href;let m=false;t.map((t=>{t[1].map((n=>{const e={u:n[0],$:n[1],U:n[2],T:n[3]};if(e.u&4){m=true}{e.U=n[2]}{e.j=[]}const s=e.$;const c=class extends HTMLElement{constructor(t){super(t);t=this;ct(t,e);if(e.u&1){{{t.attachShadow({mode:"open"})}}}}connectedCallback(){if(h){clearTimeout(h);h=null}if(v){p.push(this)}else{pt.jmp((()=>Y(this)))}}disconnectedCallback(){pt.jmp((()=>tt(this)))}componentOnReady(){return lt(this).L}};e.F=t[0];if(!o.includes(s)&&!i.get(s)){l.push(s);i.define(s,K(c,e,1))}}))}));if(l.length>0){if(m){d.textContent+=r}{d.textContent+=l+f}if(d.innerHTML.length){d.setAttribute("data-styles","");const t=(e=pt.v)!==null&&e!==void 0?e:y(yt);if(t!=null){d.setAttribute("nonce",t)}u.insertBefore(d,a?a.nextSibling:u.firstChild)}}v=false;if(p.length){p.map((t=>t.connectedCallback()))}else{{pt.jmp((()=>h=setTimeout(_,30)))}}s()};const et=t=>pt.v=t;const st=new WeakMap;const lt=t=>st.get(t);const ot=(t,n)=>st.set(n.O=t,n);const ct=(t,n)=>{const e={u:0,$hostElement$:t,m:n,P:new Map};{e.L=new Promise((t=>e.C=t));t["s-p"]=[];t["s-rc"]=[]}return st.set(t,e)};const it=(t,n)=>n in t;const ft=(t,n)=>(0,console.error)(t,n);const rt=new Map;const ut=(t,n,e)=>{const s=t.$.replace(/-/g,"_");const l=t.F;const o=rt.get(l);if(o){return o[s]}
|
|
2
|
-
/*!__STENCIL_STATIC_IMPORT_SWITCH__*/return import(`./${l}.entry.js${""}`).then((t=>{{rt.set(l,t)}return t[s]}),ft)};const at=new Map;const dt=typeof window!=="undefined"?window:{};const yt=dt.document||{head:{}};const pt={u:0,N:"",jmp:t=>t(),raf:t=>requestAnimationFrame(t),ael:(t,n,e,s)=>t.addEventListener(n,e,s),rel:(t,n,e,s)=>t.removeEventListener(n,e,s),ce:(t,n)=>new CustomEvent(t,n)};const ht=t=>Promise.resolve(t);const vt=(()=>{try{new CSSStyleSheet;return typeof(new CSSStyleSheet).replaceSync==="function"}catch(t){}return false})();const mt=[];const $t=[];const bt=(t,n)=>e=>{t.push(e);if(!o){o=true;if(n&&pt.u&4){gt(St)}else{pt.raf(St)}}};const wt=t=>{for(let n=0;n<t.length;n++){try{t[n](performance.now())}catch(t){ft(t)}}t.length=0};const St=()=>{wt(mt);{wt($t);if(o=mt.length>0){pt.raf(St)}}};const gt=t=>ht().then(t);const jt=bt($t,true);export{v as H,nt as b,p as h,ht as p,ot as r,et as s};
|
|
3
|
-
//# sourceMappingURL=p-7216d46f.js.map
|