@progressive-development/pd-wizard 0.0.3 → 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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/PdWizard.js +9 -1
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "order",
15
15
  "steps"
16
16
  ],
17
- "version": "0.0.3",
17
+ "version": "0.0.5",
18
18
  "main": "index.js",
19
19
  "module": "index.js",
20
20
  "scripts": {
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
- ${html`${this.logo || ''}`}
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