@progressive-development/pd-page 0.1.8 → 0.1.10

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/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.8",
6
+ "version": "0.1.10",
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.6",
21
- "@progressive-development/pd-dialog": "^0.1.9",
22
- "@progressive-development/pd-forms": "^0.1.10",
20
+ "@progressive-development/pd-contact": "^0.1.8",
21
+ "@progressive-development/pd-dialog": "^0.1.11",
22
+ "@progressive-development/pd-forms": "^0.1.12",
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",
@@ -154,6 +154,7 @@ export class PdContactUs extends LitElement {
154
154
  placeHolder="Telefoon Nummer"
155
155
  valueName="phone"
156
156
  field-type="phone"
157
+ autoCompleteName="tel"
157
158
  required
158
159
  ></pd-input>
159
160
  </pd-form-row>
package/src/PdMenu.js CHANGED
@@ -53,7 +53,6 @@ export class PdMenu extends LitElement {
53
53
  display: flex;
54
54
  align-items: center;
55
55
  list-style: none;
56
- gap: 2em;
57
56
  margin: 0;
58
57
  padding: 0;
59
58
  }
@@ -61,21 +60,26 @@ export class PdMenu extends LitElement {
61
60
  li {
62
61
  display: flex;
63
62
  align-items: center;
64
- cursor: pointer;
65
- height: 100%;
63
+ cursor: pointer
66
64
  }
67
65
 
68
66
  .item {
69
67
  color: var(--pd-menu-font-col, var(--pd-default-bg-col));
70
68
  font-family: var(--pd-menu-font-family, var(--pd-default-font-title-family));
71
- font-size: var(--pd-footer-font-size, 1.2em);
69
+ font-size: var(--pd-menu-font-size, 1.2em);
70
+ font-weight: var(--pd-menu-font-weight, bold);
71
+ padding: 1em;
72
72
  }
73
-
73
+
74
74
  .item.active,
75
75
  .item:hover {
76
76
  color: var(--pd-default-hover-col);
77
77
  }
78
78
 
79
+ .item:hover {
80
+ background-color: var(--pd-menu-item-bg-hover-col);
81
+ }
82
+
79
83
  .item:hover .topItemLogo {
80
84
  --pd-icon-stroke-col: var(--pd-default-hover-col);
81
85
  }
@@ -108,15 +112,15 @@ export class PdMenu extends LitElement {
108
112
  }
109
113
 
110
114
  ::slotted(.logo) {
111
- max-width: 8rem;
115
+ max-width: 8rem;
112
116
  width: 100%;
113
- padding-right: 3em;
117
+ padding: var(--pd-menu-logo-padding, 2em);
114
118
  }
115
119
 
116
120
  /**
117
121
  * Style for drop down menu on small screens.
118
122
  */
119
- @media (max-width: 500px) {
123
+ @media (max-width: 700px) {
120
124
 
121
125
  :host([_activeBurgerMenu]) ul {
122
126
  visibility: visible;
@@ -209,7 +213,7 @@ export class PdMenu extends LitElement {
209
213
 
210
214
  render() {
211
215
 
212
- installMediaQueryWatcher(`(max-width: 500px)`, matches => {
216
+ installMediaQueryWatcher(`(max-width: 700px)`, matches => {
213
217
  if (matches) {
214
218
  this._smallScreen = true;
215
219
  } else {