hy-pattern-lib
Advanced tools
Comparing version 1.8.0 to 1.8.1
@@ -1,1 +0,1 @@ | ||
{"android-chrome-192x192.png":"./dist/images/android-chrome-192x192-3bc725c510d5c2126fd4da315429ff88.png","android-chrome-512x512.png":"./dist/images/android-chrome-512x512-c935b258093602e1f4b8868e89183ee0.png","apple-touch-icon.png":"./dist/images/apple-touch-icon-6f6d1f38f430341d786d0723bdbbfbb4.png","favicon-16x16.png":"./dist/images/favicon-16x16-494ac48e30f8461737bd9dcc35f07661.png","favicon-32x32.png":"./dist/images/favicon-32x32-c51c80a71f151b959d09310d29b350ab.png","favicon.ico":"./dist/images/favicon-4c3bf619a150afdb61f2299426020107.ico","happy-yoga.svg":"./dist/images/happy-yoga-8a212ef3eec3f83a7b774188f7289e3c.svg","hy-components.js":"./dist/hy-components-f8042089a71c64a18d6cf0194c5b103a.js","hy-pattern-lib.css":"./dist/hy-pattern-lib-4b9236686ed97df0f5c584bd69c88ea0.css","mstile-150x150.png":"./dist/images/mstile-150x150-8a48a2ace4c60a682e91f9550087c715.png","sad-puppy-5xx.jpg":"./dist/images/sad-puppy-5xx-f2969e7eb69609c5b1f67944b5e86b9d.jpg","safari-pinned-tab.svg":"./dist/images/safari-pinned-tab-1cf9ee989e1a131779da8da982fdc529.svg","wondering-puppy-4xx.jpg":"./dist/images/wondering-puppy-4xx-47159657b681fc63e9f2ae617969b2f8.jpg"} | ||
{"android-chrome-192x192.png":"./dist/images/android-chrome-192x192-3bc725c510d5c2126fd4da315429ff88.png","android-chrome-512x512.png":"./dist/images/android-chrome-512x512-c935b258093602e1f4b8868e89183ee0.png","apple-touch-icon.png":"./dist/images/apple-touch-icon-6f6d1f38f430341d786d0723bdbbfbb4.png","favicon-16x16.png":"./dist/images/favicon-16x16-494ac48e30f8461737bd9dcc35f07661.png","favicon-32x32.png":"./dist/images/favicon-32x32-c51c80a71f151b959d09310d29b350ab.png","favicon.ico":"./dist/images/favicon-4c3bf619a150afdb61f2299426020107.ico","happy-yoga.svg":"./dist/images/happy-yoga-8a212ef3eec3f83a7b774188f7289e3c.svg","hy-components.js":"./dist/hy-components-3a0736f20dbff355cb5cb43dacf61ed5.js","hy-pattern-lib.css":"./dist/hy-pattern-lib-6cf1f94891ad0d71cf7d4b9d85992031.css","mstile-150x150.png":"./dist/images/mstile-150x150-8a48a2ace4c60a682e91f9550087c715.png","sad-puppy-5xx.jpg":"./dist/images/sad-puppy-5xx-f2969e7eb69609c5b1f67944b5e86b9d.jpg","safari-pinned-tab.svg":"./dist/images/safari-pinned-tab-1cf9ee989e1a131779da8da982fdc529.svg","wondering-puppy-4xx.jpg":"./dist/images/wondering-puppy-4xx-47159657b681fc63e9f2ae617969b2f8.jpg"} |
@@ -14,3 +14,2 @@ /* global HTMLElement, customElements, IntersectionObserver */ | ||
this.observer = new IntersectionObserver((entries) => this.isVisible(entries), options) | ||
console.log(this.observer) | ||
} | ||
@@ -30,4 +29,6 @@ } | ||
if (entries[0].intersectionRatio < 0.2) { | ||
// console.log('does not intersect') | ||
document.body?.classList.remove('main-content-visible') | ||
} else { | ||
// console.log('intersects') | ||
document.body?.classList.add('main-content-visible') | ||
@@ -34,0 +35,0 @@ } |
{ | ||
"name": "hy-pattern-lib", | ||
"version": "1.8.0", | ||
"version": "1.8.1", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
1422563
1006
3