@progressive-development/pd-wizard 0.0.4 → 0.0.5
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/PdWizard.js +9 -1
package/package.json
CHANGED
package/src/PdWizard.js
CHANGED
|
@@ -193,6 +193,7 @@ import './PdSteps.js';
|
|
|
193
193
|
super();
|
|
194
194
|
this.currentNumber = -99;
|
|
195
195
|
this.wizardSteps = [];
|
|
196
|
+
this.logo = {};
|
|
196
197
|
}
|
|
197
198
|
|
|
198
199
|
render() {
|
|
@@ -201,7 +202,14 @@ import './PdSteps.js';
|
|
|
201
202
|
<div class="layout-container">
|
|
202
203
|
<div class="wiz-header">
|
|
203
204
|
<div class="wiz-title">
|
|
204
|
-
|
|
205
|
+
|
|
206
|
+
${this.logo && (this.logo.src || this.logo.svg)
|
|
207
|
+
? html`
|
|
208
|
+
${this.logo.src
|
|
209
|
+
? html` <img src="${this.logo.src}" alt="" /> `
|
|
210
|
+
: this.logo.svg}
|
|
211
|
+
` : ''}
|
|
212
|
+
|
|
205
213
|
<span class="title"
|
|
206
214
|
>${this.currentNumber >= 1 && this.wizardSteps
|
|
207
215
|
? this.wizardSteps[this.currentNumber - 1].title
|