@progressive-development/pd-page 0.0.4 → 0.0.6
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 +1 -1
- package/src/PdFooter.js +9 -19
- package/src/PdMenu.js +1 -8
package/package.json
CHANGED
package/src/PdFooter.js
CHANGED
|
@@ -97,11 +97,6 @@ export class PdFooter extends LitElement {
|
|
|
97
97
|
/*border-bottom: 1px solid #ffc857;*/
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
.logo {
|
|
101
|
-
max-width: 6rem;
|
|
102
|
-
padding-right: 10px;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
100
|
/* Size Elements for small width */
|
|
106
101
|
@media (max-width: 440px) {
|
|
107
102
|
.item {
|
|
@@ -115,19 +110,13 @@ export class PdFooter extends LitElement {
|
|
|
115
110
|
}
|
|
116
111
|
|
|
117
112
|
static get properties() {
|
|
118
|
-
return {
|
|
119
|
-
|
|
120
|
-
agb: { type: Object },
|
|
121
|
-
privacy: { type: Object },
|
|
122
|
-
version: { type: Object },
|
|
113
|
+
return {
|
|
114
|
+
version: { type: String }
|
|
123
115
|
};
|
|
124
116
|
}
|
|
125
117
|
|
|
126
118
|
constructor() {
|
|
127
119
|
super();
|
|
128
|
-
this.logo = undefined;
|
|
129
|
-
this.agb = undefined;
|
|
130
|
-
this.privacy = undefined;
|
|
131
120
|
this.version = undefined;
|
|
132
121
|
}
|
|
133
122
|
|
|
@@ -136,10 +125,7 @@ export class PdFooter extends LitElement {
|
|
|
136
125
|
render() {
|
|
137
126
|
return html`
|
|
138
127
|
<div class="left-content">
|
|
139
|
-
<p>
|
|
140
|
-
© ticomi technics ${this.logo} <br /><span class="version"
|
|
141
|
-
>${this.version}</span
|
|
142
|
-
>
|
|
128
|
+
<p>© ticomi technics<br/><span class="version">${this.version}</span>
|
|
143
129
|
</p>
|
|
144
130
|
</div>
|
|
145
131
|
|
|
@@ -167,11 +153,15 @@ export class PdFooter extends LitElement {
|
|
|
167
153
|
</div>
|
|
168
154
|
|
|
169
155
|
<pd-popup id="legalPopupId">
|
|
170
|
-
<div slot="content"
|
|
156
|
+
<div slot="content">
|
|
157
|
+
<slot name="legal"></slot>
|
|
158
|
+
</div>
|
|
171
159
|
</pd-popup>
|
|
172
160
|
|
|
173
161
|
<pd-popup id="privacyPopupId">
|
|
174
|
-
<div slot="content"
|
|
162
|
+
<div slot="content">
|
|
163
|
+
<slot name="privacy"></slot>
|
|
164
|
+
</div>
|
|
175
165
|
</pd-popup>
|
|
176
166
|
`;
|
|
177
167
|
}
|
package/src/PdMenu.js
CHANGED
|
@@ -79,11 +79,6 @@ export class PdMenu extends LitElement {
|
|
|
79
79
|
--squi-icon-fill: #ffc857;
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
.logo {
|
|
83
|
-
max-width: 8rem;
|
|
84
|
-
width: 8rem; /* wird sonst im Chrome nicht angezeigt*/
|
|
85
|
-
}
|
|
86
|
-
|
|
87
82
|
.topItemLogo {
|
|
88
83
|
--squi-icon-size: 1.6rem;
|
|
89
84
|
--icon-transition: none;
|
|
@@ -104,8 +99,7 @@ export class PdMenu extends LitElement {
|
|
|
104
99
|
}
|
|
105
100
|
|
|
106
101
|
static get properties() {
|
|
107
|
-
return {
|
|
108
|
-
logo: { type: Object },
|
|
102
|
+
return {
|
|
109
103
|
menuItems: { type: Array },
|
|
110
104
|
topMenuItems: { type: Array },
|
|
111
105
|
teaserClosed: { type: Boolean }, // TODO: Definiert um scroll position anzugleichen, unabhängiger machen...
|
|
@@ -115,7 +109,6 @@ export class PdMenu extends LitElement {
|
|
|
115
109
|
|
|
116
110
|
constructor() {
|
|
117
111
|
super();
|
|
118
|
-
this.logo = {};
|
|
119
112
|
this.menuItems = [];
|
|
120
113
|
this.topMenuItems = [];
|
|
121
114
|
this.teaserClosed = false;
|