@progressive-development/pd-page 0.1.42 → 0.1.44

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.
Files changed (2) hide show
  1. package/package.json +4 -4
  2. package/src/PdMenu.js +1 -1
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Progressive development page helper, teaser, menu, footer.",
4
4
  "license": "SEE LICENSE IN LICENSE",
5
5
  "author": "PD Progressive Development",
6
- "version": "0.1.42",
6
+ "version": "0.1.44",
7
7
  "main": "index.js",
8
8
  "module": "index.js",
9
9
  "scripts": {
@@ -17,9 +17,9 @@
17
17
  "storybook:build": "npm run analyze -- --exclude dist && build-storybook"
18
18
  },
19
19
  "dependencies": {
20
- "@progressive-development/pd-contact": "^0.1.19",
21
- "@progressive-development/pd-dialog": "^0.1.22",
22
- "@progressive-development/pd-forms": "^0.1.24",
20
+ "@progressive-development/pd-contact": "^0.1.21",
21
+ "@progressive-development/pd-dialog": "^0.1.24",
22
+ "@progressive-development/pd-forms": "^0.1.26",
23
23
  "@progressive-development/pd-icon": "^0.1.13",
24
24
  "@progressive-development/pd-shared-styles": "^0.1.1",
25
25
  "lit": "^2.2.0",
package/src/PdMenu.js CHANGED
@@ -223,7 +223,7 @@ export class PdMenu extends LitElement {
223
223
  };
224
224
 
225
225
  let ticking = false;
226
- this.addEventListener('scroll', () => {
226
+ document.addEventListener('scroll', () => {
227
227
  const lastKnownScrollPosition = window.scrollY;
228
228
  if (!ticking) {
229
229
  window.requestAnimationFrame(() => {