@miyaoka/miyaoka-components
Advanced tools
Comparing version 0.2.2 to 0.3.0
@@ -5,3 +5,3 @@ 'use strict'; | ||
const index = require('./index-1c557091.js'); | ||
const index = require('./index-f9a1649b.js'); | ||
@@ -32,3 +32,3 @@ /* | ||
return patchEsm().then(() => { | ||
return index.bootstrapLazy([["miyaoka-embed-tweet_3.cjs",[[0,"miyaoka-embed-tweet",{"src":[1]}],[1,"miyaoka-img-loader",{"src":[1],"alt":[1],"loading":[1],"scale":[2],"rotate":[2],"opacity":[2],"duration":[2],"delay":[2],"img":[32],"isLoaded":[32]}],[1,"miyaoka-lightbox",{"src":[1],"visible":[32]}]]]], options); | ||
return index.bootstrapLazy([["miyaoka-embed-tweet_4.cjs",[[0,"miyaoka-embed-tweet",{"src":[1]}],[1,"miyaoka-img-loader",{"src":[1],"alt":[1],"loading":[1],"scale":[2],"rotate":[2],"opacity":[2],"duration":[2],"delay":[2],"img":[32],"isLoaded":[32]}],[1,"miyaoka-lightbox",{"src":[1],"visible":[32]}],[1,"miyaoka-prefetch"]]]], options); | ||
}); | ||
@@ -35,0 +35,0 @@ }; |
'use strict'; | ||
const index = require('./index-1c557091.js'); | ||
const index = require('./index-f9a1649b.js'); | ||
@@ -82,3 +82,3 @@ /* | ||
patchBrowser().then(options => { | ||
return index.bootstrapLazy([["miyaoka-embed-tweet_3.cjs",[[0,"miyaoka-embed-tweet",{"src":[1]}],[1,"miyaoka-img-loader",{"src":[1],"alt":[1],"loading":[1],"scale":[2],"rotate":[2],"opacity":[2],"duration":[2],"delay":[2],"img":[32],"isLoaded":[32]}],[1,"miyaoka-lightbox",{"src":[1],"visible":[32]}]]]], options); | ||
return index.bootstrapLazy([["miyaoka-embed-tweet_4.cjs",[[0,"miyaoka-embed-tweet",{"src":[1]}],[1,"miyaoka-img-loader",{"src":[1],"alt":[1],"loading":[1],"scale":[2],"rotate":[2],"opacity":[2],"duration":[2],"delay":[2],"img":[32],"isLoaded":[32]}],[1,"miyaoka-lightbox",{"src":[1],"visible":[32]}],[1,"miyaoka-prefetch"]]]], options); | ||
}); |
@@ -5,3 +5,4 @@ { | ||
"./components/miyaoka-img-loader/miyaoka-img-loader.js", | ||
"./components/miyaoka-lightbox/miyaoka-lightbox.js" | ||
"./components/miyaoka-lightbox/miyaoka-lightbox.js", | ||
"./components/miyaoka-prefetch/miyaoka-prefetch.js" | ||
], | ||
@@ -8,0 +9,0 @@ "compiler": { |
@@ -1,1 +0,1 @@ | ||
import{C as CSS,p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-b55763d8.js";var patchEsm=function(){if(!(CSS&&CSS.supports&&CSS.supports("color","var(--c)"))){return import("./css-shim-8d75038b.js").then((function(){if(plt.$cssShim$=win.__cssshim){return plt.$cssShim$.i()}else{return 0}}))}return promiseResolve()};var defineCustomElements=function(e,s){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["miyaoka-embed-tweet_3",[[0,"miyaoka-embed-tweet",{src:[1]}],[1,"miyaoka-img-loader",{src:[1],alt:[1],loading:[1],scale:[2],rotate:[2],opacity:[2],duration:[2],delay:[2],img:[32],isLoaded:[32]}],[1,"miyaoka-lightbox",{src:[1],visible:[32]}]]]],s)}))};export{defineCustomElements}; | ||
import{C as CSS,p as plt,w as win,a as promiseResolve,b as bootstrapLazy}from"./index-a4c6996c.js";var patchEsm=function(){if(!(CSS&&CSS.supports&&CSS.supports("color","var(--c)"))){return import("./css-shim-8d75038b.js").then((function(){if(plt.$cssShim$=win.__cssshim){return plt.$cssShim$.i()}else{return 0}}))}return promiseResolve()};var defineCustomElements=function(e,t){if(typeof window==="undefined")return Promise.resolve();return patchEsm().then((function(){return bootstrapLazy([["miyaoka-embed-tweet_4",[[0,"miyaoka-embed-tweet",{src:[1]}],[1,"miyaoka-img-loader",{src:[1],alt:[1],loading:[1],scale:[2],rotate:[2],opacity:[2],duration:[2],delay:[2],img:[32],isLoaded:[32]}],[1,"miyaoka-lightbox",{src:[1],visible:[32]}],[1,"miyaoka-prefetch"]]]],t)}))};export{defineCustomElements}; |
@@ -1,1 +0,1 @@ | ||
import{p as plt,w as win,d as doc,N as NAMESPACE,a as promiseResolve,b as bootstrapLazy}from"./index-b55763d8.js";var getDynamicImportFunction=function(r){return"__sc_import_"+r.replace(/\s|-/g,"_")};var patchBrowser=function(){{plt.$cssShim$=win.__cssshim}var r=Array.from(doc.querySelectorAll("script")).find((function(r){return new RegExp("/"+NAMESPACE+"(\\.esm)?\\.js($|\\?|#)").test(r.src)||r.getAttribute("data-stencil-namespace")===NAMESPACE}));var t=r["data-opts"]||{};if("onbeforeload"in r&&!history.scrollRestoration){return{then:function(){}}}{t.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,win.location.href)).href;{patchDynamicImport(t.resourcesUrl,r)}if(!win.customElements){return import("./dom-1b195079.js").then((function(){return t}))}}return promiseResolve(t)};var patchDynamicImport=function(r,t){var e=getDynamicImportFunction(NAMESPACE);try{win[e]=new Function("w","return import(w);//"+Math.random())}catch(n){var o=new Map;win[e]=function(n){var a=new URL(n,r).href;var i=o.get(a);if(!i){var s=doc.createElement("script");s.type="module";s.crossOrigin=t.crossOrigin;s.src=URL.createObjectURL(new Blob(["import * as m from '"+a+"'; window."+e+".m = m;"],{type:"application/javascript"}));i=new Promise((function(r){s.onload=function(){r(win[e].m);s.remove()}}));o.set(a,i);doc.head.appendChild(s)}return i}}};patchBrowser().then((function(r){return bootstrapLazy([["miyaoka-embed-tweet_3",[[0,"miyaoka-embed-tweet",{src:[1]}],[1,"miyaoka-img-loader",{src:[1],alt:[1],loading:[1],scale:[2],rotate:[2],opacity:[2],duration:[2],delay:[2],img:[32],isLoaded:[32]}],[1,"miyaoka-lightbox",{src:[1],visible:[32]}]]]],r)})); | ||
import{p as plt,w as win,d as doc,N as NAMESPACE,a as promiseResolve,b as bootstrapLazy}from"./index-a4c6996c.js";var getDynamicImportFunction=function(r){return"__sc_import_"+r.replace(/\s|-/g,"_")};var patchBrowser=function(){{plt.$cssShim$=win.__cssshim}var r=Array.from(doc.querySelectorAll("script")).find((function(r){return new RegExp("/"+NAMESPACE+"(\\.esm)?\\.js($|\\?|#)").test(r.src)||r.getAttribute("data-stencil-namespace")===NAMESPACE}));var t=r["data-opts"]||{};if("onbeforeload"in r&&!history.scrollRestoration){return{then:function(){}}}{t.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,win.location.href)).href;{patchDynamicImport(t.resourcesUrl,r)}if(!win.customElements){return import("./dom-1b195079.js").then((function(){return t}))}}return promiseResolve(t)};var patchDynamicImport=function(r,t){var e=getDynamicImportFunction(NAMESPACE);try{win[e]=new Function("w","return import(w);//"+Math.random())}catch(a){var o=new Map;win[e]=function(a){var n=new URL(a,r).href;var i=o.get(n);if(!i){var c=doc.createElement("script");c.type="module";c.crossOrigin=t.crossOrigin;c.src=URL.createObjectURL(new Blob(["import * as m from '"+n+"'; window."+e+".m = m;"],{type:"application/javascript"}));i=new Promise((function(r){c.onload=function(){r(win[e].m);c.remove()}}));o.set(n,i);doc.head.appendChild(c)}return i}}};patchBrowser().then((function(r){return bootstrapLazy([["miyaoka-embed-tweet_4",[[0,"miyaoka-embed-tweet",{src:[1]}],[1,"miyaoka-img-loader",{src:[1],alt:[1],loading:[1],scale:[2],rotate:[2],opacity:[2],duration:[2],delay:[2],img:[32],isLoaded:[32]}],[1,"miyaoka-lightbox",{src:[1],visible:[32]}],[1,"miyaoka-prefetch"]]]],r)})); |
@@ -1,2 +0,2 @@ | ||
import { C as CSS, p as plt, w as win, a as promiseResolve, b as bootstrapLazy } from './index-b55763d8.js'; | ||
import { C as CSS, p as plt, w as win, a as promiseResolve, b as bootstrapLazy } from './index-a4c6996c.js'; | ||
@@ -27,3 +27,3 @@ /* | ||
return patchEsm().then(() => { | ||
return bootstrapLazy([["miyaoka-embed-tweet_3",[[0,"miyaoka-embed-tweet",{"src":[1]}],[1,"miyaoka-img-loader",{"src":[1],"alt":[1],"loading":[1],"scale":[2],"rotate":[2],"opacity":[2],"duration":[2],"delay":[2],"img":[32],"isLoaded":[32]}],[1,"miyaoka-lightbox",{"src":[1],"visible":[32]}]]]], options); | ||
return bootstrapLazy([["miyaoka-embed-tweet_4",[[0,"miyaoka-embed-tweet",{"src":[1]}],[1,"miyaoka-img-loader",{"src":[1],"alt":[1],"loading":[1],"scale":[2],"rotate":[2],"opacity":[2],"duration":[2],"delay":[2],"img":[32],"isLoaded":[32]}],[1,"miyaoka-lightbox",{"src":[1],"visible":[32]}],[1,"miyaoka-prefetch"]]]], options); | ||
}); | ||
@@ -30,0 +30,0 @@ }; |
@@ -1,2 +0,2 @@ | ||
import { p as plt, w as win, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-b55763d8.js'; | ||
import { p as plt, w as win, d as doc, N as NAMESPACE, a as promiseResolve, b as bootstrapLazy } from './index-a4c6996c.js'; | ||
@@ -80,3 +80,3 @@ /* | ||
patchBrowser().then(options => { | ||
return bootstrapLazy([["miyaoka-embed-tweet_3",[[0,"miyaoka-embed-tweet",{"src":[1]}],[1,"miyaoka-img-loader",{"src":[1],"alt":[1],"loading":[1],"scale":[2],"rotate":[2],"opacity":[2],"duration":[2],"delay":[2],"img":[32],"isLoaded":[32]}],[1,"miyaoka-lightbox",{"src":[1],"visible":[32]}]]]], options); | ||
return bootstrapLazy([["miyaoka-embed-tweet_4",[[0,"miyaoka-embed-tweet",{"src":[1]}],[1,"miyaoka-img-loader",{"src":[1],"alt":[1],"loading":[1],"scale":[2],"rotate":[2],"opacity":[2],"duration":[2],"delay":[2],"img":[32],"isLoaded":[32]}],[1,"miyaoka-lightbox",{"src":[1],"visible":[32]}],[1,"miyaoka-prefetch"]]]], options); | ||
}); |
@@ -1,1 +0,1 @@ | ||
import{p as a,w as t,d as e,N as o,a as s,b as r}from"./p-6f554d76.js";(()=>{a.t=t.__cssshim;const r=Array.from(e.querySelectorAll("script")).find((a=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(a.src)||a.getAttribute("data-stencil-namespace")===o)),i=r["data-opts"]||{};return"onbeforeload"in r&&!history.scrollRestoration?{then(){}}:(i.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,t.location.href)).href,((a,s)=>{const r=`__sc_import_${o.replace(/\s|-/g,"_")}`;try{t[r]=new Function("w",`return import(w);//${Math.random()}`)}catch(i){const o=new Map;t[r]=i=>{const n=new URL(i,a).href;let c=o.get(n);if(!c){const a=e.createElement("script");a.type="module",a.crossOrigin=s.crossOrigin,a.src=URL.createObjectURL(new Blob([`import * as m from '${n}'; window.${r}.m = m;`],{type:"application/javascript"})),c=new Promise((e=>{a.onload=()=>{e(t[r].m),a.remove()}})),o.set(n,c),e.head.appendChild(a)}return c}}})(i.resourcesUrl,r),t.customElements?s(i):__sc_import_miyaoka_components("./p-db46d0d3.js").then((()=>i)))})().then((a=>r([["p-70200f72",[[0,"miyaoka-embed-tweet",{src:[1]}],[1,"miyaoka-img-loader",{src:[1],alt:[1],loading:[1],scale:[2],rotate:[2],opacity:[2],duration:[2],delay:[2],img:[32],isLoaded:[32]}],[1,"miyaoka-lightbox",{src:[1],visible:[32]}]]]],a))); | ||
import{p as a,w as e,d as t,N as o,a as s,b as r}from"./p-45677803.js";(()=>{a.t=e.__cssshim;const r=Array.from(t.querySelectorAll("script")).find((a=>new RegExp(`/${o}(\\.esm)?\\.js($|\\?|#)`).test(a.src)||a.getAttribute("data-stencil-namespace")===o)),i=r["data-opts"]||{};return"onbeforeload"in r&&!history.scrollRestoration?{then(){}}:(i.resourcesUrl=new URL(".",new URL(r.getAttribute("data-resources-url")||r.src,e.location.href)).href,((a,s)=>{const r=`__sc_import_${o.replace(/\s|-/g,"_")}`;try{e[r]=new Function("w",`return import(w);//${Math.random()}`)}catch(i){const o=new Map;e[r]=i=>{const n=new URL(i,a).href;let c=o.get(n);if(!c){const a=t.createElement("script");a.type="module",a.crossOrigin=s.crossOrigin,a.src=URL.createObjectURL(new Blob([`import * as m from '${n}'; window.${r}.m = m;`],{type:"application/javascript"})),c=new Promise((t=>{a.onload=()=>{t(e[r].m),a.remove()}})),o.set(n,c),t.head.appendChild(a)}return c}}})(i.resourcesUrl,r),e.customElements?s(i):__sc_import_miyaoka_components("./p-db46d0d3.js").then((()=>i)))})().then((a=>r([["p-734419dc",[[0,"miyaoka-embed-tweet",{src:[1]}],[1,"miyaoka-img-loader",{src:[1],alt:[1],loading:[1],scale:[2],rotate:[2],opacity:[2],duration:[2],delay:[2],img:[32],isLoaded:[32]}],[1,"miyaoka-lightbox",{src:[1],visible:[32]}],[1,"miyaoka-prefetch"]]]],a))); |
@@ -25,2 +25,4 @@ /* eslint-disable */ | ||
} | ||
interface MiyaokaPrefetch { | ||
} | ||
} | ||
@@ -46,2 +48,8 @@ declare global { | ||
}; | ||
interface HTMLMiyaokaPrefetchElement extends Components.MiyaokaPrefetch, HTMLStencilElement { | ||
} | ||
var HTMLMiyaokaPrefetchElement: { | ||
prototype: HTMLMiyaokaPrefetchElement; | ||
new (): HTMLMiyaokaPrefetchElement; | ||
}; | ||
interface HTMLElementTagNameMap { | ||
@@ -51,2 +59,3 @@ "miyaoka-embed-tweet": HTMLMiyaokaEmbedTweetElement; | ||
"miyaoka-lightbox": HTMLMiyaokaLightboxElement; | ||
"miyaoka-prefetch": HTMLMiyaokaPrefetchElement; | ||
} | ||
@@ -71,2 +80,4 @@ } | ||
} | ||
interface MiyaokaPrefetch { | ||
} | ||
interface IntrinsicElements { | ||
@@ -76,2 +87,3 @@ "miyaoka-embed-tweet": MiyaokaEmbedTweet; | ||
"miyaoka-lightbox": MiyaokaLightbox; | ||
"miyaoka-prefetch": MiyaokaPrefetch; | ||
} | ||
@@ -86,4 +98,5 @@ } | ||
"miyaoka-lightbox": LocalJSX.MiyaokaLightbox & JSXBase.HTMLAttributes<HTMLMiyaokaLightboxElement>; | ||
"miyaoka-prefetch": LocalJSX.MiyaokaPrefetch & JSXBase.HTMLAttributes<HTMLMiyaokaPrefetchElement>; | ||
} | ||
} | ||
} |
{ | ||
"name": "@miyaoka/miyaoka-components", | ||
"version": "0.2.2", | ||
"version": "0.3.0", | ||
"description": "Stencil Component Starter", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
748972
74
8157