@progressive-development/pd-wizard 0.1.26 → 0.1.28

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 +2 -2
  2. package/src/PdWizard.js +20 -20
package/package.json CHANGED
@@ -14,7 +14,7 @@
14
14
  "order",
15
15
  "steps"
16
16
  ],
17
- "version": "0.1.26",
17
+ "version": "0.1.28",
18
18
  "main": "index.js",
19
19
  "module": "index.js",
20
20
  "scripts": {
@@ -31,7 +31,7 @@
31
31
  },
32
32
  "dependencies": {
33
33
  "@lit/localize": "^0.11.2",
34
- "@progressive-development/pd-forms": "^0.1.30",
34
+ "@progressive-development/pd-forms": "^0.1.31",
35
35
  "@progressive-development/pd-icon": "^0.1.13",
36
36
  "@progressive-development/pd-shared-styles": "0.1.1",
37
37
  "lit": "^2.2.0"
package/src/PdWizard.js CHANGED
@@ -76,7 +76,7 @@ export class PdWizard extends LitElement {
76
76
  border-bottom-right-radius: var(--pd-wizard-bottom-borderradius, 5px);
77
77
  }
78
78
 
79
- /* Layout Grid for the Wizard Component
79
+ /* Layout Grid for the Wizard Component
80
80
  Wird hier für die "Text-Bildschirmgröße" verwendet, umstellen/gleichziehen => verschiedene Implementierungen, die Flex Variante (ticomi-web) scheint am schlankesten...
81
81
  */
82
82
  .layout-container {
@@ -92,7 +92,7 @@ export class PdWizard extends LitElement {
92
92
  grid-template-areas:
93
93
  'header header header'
94
94
  'content content content'
95
- 'footer footer footer';
95
+ 'footer footer footer';
96
96
  }
97
97
 
98
98
  /* Grid Area positions for layout container above */
@@ -100,17 +100,17 @@ export class PdWizard extends LitElement {
100
100
  grid-area: header;
101
101
  }
102
102
  .wiz-content {
103
- grid-area: content;
103
+ grid-area: content;
104
104
  display: flex;
105
105
  justify-content: center;
106
- height: 100%;
107
- background-color: var(--pd-wizard-content-bg-col, var(--pd-default-bg-col));
106
+ height: 100%;
107
+ background-color: var(--pd-wizard-content-bg-col, var(--pd-default-bg-col));
108
108
  }
109
109
 
110
110
  /* Hier festlegung ob das innere Element voll ausfüllen soll (width: 100%), oder aber
111
111
  zentral als inneres Element innerhalb des content Elements angezeigt werden soll => andere Angabe, vorher war max-width nur angegeben (ticomi) */
112
112
  .wiz-content-inner {
113
- min-height: 200px;
113
+ min-height: 200px;
114
114
  background-color: var(--pd-wizard-content-inner-bg-col, var(--pd-default-bg-col));
115
115
  max-width: 96%;
116
116
  min-width: 850px;
@@ -128,11 +128,11 @@ export class PdWizard extends LitElement {
128
128
  padding-right: 50px;*/
129
129
  justify-content: var(--pd-wizard-justify-buttons, space-around);
130
130
  align-items: center;
131
-
131
+
132
132
  height: 80px;
133
133
  /*background-color: var(--pd-wizard-footer-bg-col, red);*/
134
- background: linear-gradient(to right,
135
- var(--pd-wizard-buttons-bg-col1, var(--pd-default-light-col)) 0%,
134
+ background: linear-gradient(to top,
135
+ var(--pd-wizard-buttons-bg-col1, var(--pd-default-light-col)) 0%,
136
136
  var(--pd-wizard-buttons-bg-col2, var(--pd-default-disabled-light-col)) 100%);
137
137
  }
138
138
 
@@ -162,11 +162,11 @@ export class PdWizard extends LitElement {
162
162
  top: 6px;
163
163
  right: 6px;
164
164
 
165
- display: flex;
165
+ display: flex;
166
166
  align-items: center;
167
- gap: 5px;
167
+ gap: 5px;
168
168
 
169
- font-size: 0.8rem;
169
+ font-size: 0.8rem;
170
170
 
171
171
  cursor: pointer;
172
172
 
@@ -178,24 +178,24 @@ export class PdWizard extends LitElement {
178
178
 
179
179
  .close:hover,
180
180
  .close:focus {
181
- color: var(--pd-default-hover-col);
181
+ color: var(--pd-default-hover-col);
182
182
  --pd-icon-stroke-col: var(--pd-default-hover-col);
183
183
  }
184
184
 
185
185
  @media (max-width: 1000px) {
186
186
  .wiz-content-inner {
187
187
  min-width: 95%;
188
- }
188
+ }
189
189
  }
190
190
 
191
191
  /* Size Elements for small width */
192
192
  @media (max-width: 700px) {
193
- :host {
194
- --my-height: 60px;
193
+ :host {
194
+ --my-height: 60px;
195
195
  }
196
196
 
197
197
  .wiz-title {
198
- padding-left: 70px;
198
+ padding-left: 70px;
199
199
  }
200
200
 
201
201
  .title {
@@ -203,7 +203,7 @@ export class PdWizard extends LitElement {
203
203
  line-height: 70px;
204
204
  }
205
205
 
206
- .close {
206
+ .close {
207
207
  font-size: 0.7rem;
208
208
  --pd-icon-size: 1.2rem;
209
209
  top: 3px;
@@ -245,7 +245,7 @@ export class PdWizard extends LitElement {
245
245
  >
246
246
  <div class="close" @click="${this._closeWizard}">
247
247
  <span>Close</span>
248
- <pd-icon icon="${CLOSEICON}"></pd-icon>
248
+ <pd-icon icon="${CLOSEICON}"></pd-icon>
249
249
  </div>
250
250
  </div>
251
251
  <div class="wiz-breadcrumbs">
@@ -278,7 +278,7 @@ export class PdWizard extends LitElement {
278
278
 
279
279
  <div class="wiz-buttons">
280
280
  ${this.currentNumber >= 1 && this.wizardSteps
281
- ? html`
281
+ ? html`
282
282
  <pd-button
283
283
  @button-clicked="${this._previousStep}"
284
284
  text="${msg('Zurück', {desc: '#pd.wizard.back#'})}"