@progressive-development/pd-wizard 0.6.2 → 0.6.4

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.
@@ -20,7 +20,7 @@ export declare class PdSteps extends LitElement {
20
20
  */
21
21
  styleTyp: "circle" | "tab";
22
22
  static styles: CSSResultGroup;
23
- render(): import('lit-html', { with: { "resolution-mode": "import" } }).TemplateResult<1>;
23
+ render(): import('lit-html').TemplateResult<1>;
24
24
  private _renderCircle;
25
25
  private _stepClicked;
26
26
  }
@@ -33,7 +33,7 @@ export declare class PdWizard extends LitElement {
33
33
  */
34
34
  private _submited;
35
35
  static styles: CSSResultGroup;
36
- protected render(): import('lit-html', { with: { "resolution-mode": "import" } }).TemplateResult<1>;
36
+ protected render(): import('lit-html').TemplateResult<1>;
37
37
  private _previousStep;
38
38
  private _nextStep;
39
39
  private _submit;
@@ -1 +1 @@
1
- {"version":3,"file":"pd-wizard.d.ts","sourceRoot":"","sources":["../src/pd-wizard.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAK5D,OAAO,0CAA0C,CAAC;AAClD,OAAO,6CAA6C,CAAC;AAOrD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,eAAe,CAAC;AAEvB;;;;;;;;;;;;;;GAcG;AACH,qBAEa,QAAS,SAAQ,UAAU;IACtC;;OAEG;IAEH,aAAa,SAAO;IAEpB;;OAEG;IAEH,WAAW,EAAE,YAAY,EAAE,CAAM;IAEjC;;OAEG;IAEH,WAAW,UAAS;IAEpB;;OAEG;IAEH,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAgB,MAAM,EAAE,cAAc,CAwJpC;IAEF,SAAS,CAAC,MAAM;IAwFhB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,OAAO;IAMf,OAAO,CAAC,YAAY;CAGrB"}
1
+ {"version":3,"file":"pd-wizard.d.ts","sourceRoot":"","sources":["../src/pd-wizard.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,EAAE,UAAU,EAAa,cAAc,EAAE,MAAM,KAAK,CAAC;AAK5D,OAAO,0CAA0C,CAAC;AAClD,OAAO,wDAAwD,CAAC;AAOhE,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAE/C,OAAO,eAAe,CAAC;AAEvB;;;;;;;;;;;;;;GAcG;AACH,qBAEa,QAAS,SAAQ,UAAU;IACtC;;OAEG;IAEH,aAAa,SAAO;IAEpB;;OAEG;IAEH,WAAW,EAAE,YAAY,EAAE,CAAM;IAEjC;;OAEG;IAEH,WAAW,UAAS;IAEpB;;OAEG;IAEH,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAgB,MAAM,EAAE,cAAc,CAwJpC;IAEF,SAAS,CAAC,MAAM;IA+FhB,OAAO,CAAC,aAAa;IAIrB,OAAO,CAAC,SAAS;IAIjB,OAAO,CAAC,OAAO;IAMf,OAAO,CAAC,YAAY;CAGrB"}
package/dist/pd-wizard.js CHANGED
@@ -3,7 +3,7 @@ import { property, state, customElement } from "lit/decorators.js";
3
3
  import { localized, msg } from "@lit/localize";
4
4
  import { pdIcons } from "@progressive-development/pd-icon";
5
5
  import "@progressive-development/pd-icon/pd-icon";
6
- import "@progressive-development/pd-forms/pd-button";
6
+ import "@progressive-development/pd-forms/pd-icon-panel-button";
7
7
  import { PdColorStyles, PdFontStyles } from "@progressive-development/pd-shared-styles";
8
8
  import "./pd-steps.js";
9
9
  var __defProp = Object.defineProperty;
@@ -74,25 +74,32 @@ let PdWizard = class extends LitElement {
74
74
 
75
75
  <div class="wiz-buttons">
76
76
  ${this.currentNumber >= 1 && this.wizardSteps.length ? html`
77
- <pd-button
77
+ <pd-icon-panel-button
78
78
  @button-clicked="${this._previousStep}"
79
- text="${msg("Zurück", { id: "pd.wizard.button.back" })}"
79
+ pdButtonIcon="${pdIcons.ICON_ARROW_BACK}"
80
+ buttonText="${msg("Zurück", { id: "pd.wizard.button.back" })}"
80
81
  style="visibility: ${this.currentNumber === 1 ? "hidden" : "visible"}"
81
- ></pd-button>
82
+ ></pd-icon-panel-button>
82
83
 
83
84
  ${this.currentNumber !== this.wizardSteps.length && (currentStep == null ? void 0 : currentStep.next) !== false ? html`
84
- <pd-button
85
+ <pd-icon-panel-button
85
86
  @button-clicked="${this._nextStep}"
86
- text="${msg("Weiter", { id: "pd.wizard.button.next" })}"
87
- ></pd-button>
87
+ pdButtonIcon="${pdIcons.ICON_ARROW_NEXT}"
88
+ buttonText="${msg("Weiter", {
89
+ id: "pd.wizard.button.next"
90
+ })}"
91
+ ></pd-icon-panel-button>
88
92
  ` : ""}
89
93
  ${this.currentNumber === this.wizardSteps.length ? html`
90
- <pd-button
94
+ <pd-icon-panel-button
95
+ pdButtonIcon="${pdIcons.ICON_SYNC}"
91
96
  primary
92
97
  ?disabled="${this._submited}"
93
98
  @button-clicked="${this._submit}"
94
- text="${msg("Absenden", { id: "pd.wizard.button.send" })}"
95
- ></pd-button>
99
+ buttonText="${msg("Absenden", {
100
+ id: "pd.wizard.button.send"
101
+ })}"
102
+ ></pd-icon-panel-button>
96
103
  ` : ""}
97
104
  ` : ""}
98
105
  </div>
@@ -3,7 +3,7 @@ declare const meta: {
3
3
  title: string;
4
4
  component: string;
5
5
  tags: string[];
6
- render: ({ steps, currentStepNr, styleTyp }: import('@storybook/web-components').Args) => import('lit-html', { with: { "resolution-mode": "import" } }).TemplateResult<1>;
6
+ render: ({ steps, currentStepNr, styleTyp }: import('@storybook/web-components').Args) => import('lit-html').TemplateResult<1>;
7
7
  argTypes: {
8
8
  steps: {
9
9
  control: "object";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@progressive-development/pd-wizard",
3
- "version": "0.6.2",
3
+ "version": "0.6.4",
4
4
  "description": "Webcomponent pd-wizard following open-wc recommendations",
5
5
  "author": "PD Progressive Development",
6
6
  "license": "SEE LICENSE IN LICENSE",
@@ -39,9 +39,9 @@
39
39
  },
40
40
  "dependencies": {
41
41
  "@lit/localize": "^0.12.2",
42
- "@progressive-development/pd-forms": "^0.6.4",
43
- "@progressive-development/pd-icon": "^0.6.1",
44
- "@progressive-development/pd-shared-styles": "^0.2.1",
42
+ "@progressive-development/pd-forms": "^0.7.1",
43
+ "@progressive-development/pd-icon": "^0.7.4",
44
+ "@progressive-development/pd-shared-styles": "^0.2.5",
45
45
  "lit": "^3.3.0"
46
46
  },
47
47
  "devDependencies": {