genus-ui 1.77.10 → 1.79.11

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/dist/index.es.js CHANGED
@@ -906,6 +906,8 @@ const Wg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
906
906
  .progress-bar.current { background: var(--current-progress-bar-background-color, #203e70); }
907
907
 
908
908
  ::slotted(genus-step-content) { grid-area: 1 / 1 / -1 / -1; }
909
+
910
+ .step-controls { margin-left: auto; }
909
911
  `, bo = y`
910
912
  .step-contents
911
913
  {
@@ -927,7 +929,7 @@ const Wg = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
927
929
  display: flex;
928
930
  flex-direction: column;
929
931
  align-items: center;
930
- row-gap: 1rem;
932
+ row-gap: 1.25rem;
931
933
  }
932
934
 
933
935
  .progress-container--mobile
@@ -1034,7 +1036,7 @@ let dt = class extends tt {
1034
1036
  `), this.direction === "prev" && (this.progressBarsTemplate[this.currentStep + 1] = G`
1035
1037
  <div class='progress-bar-wrapper'>
1036
1038
  <div class='progress-bar'>
1037
- <h4 class="step-title">${this.titlesRef[this.currentStep].stepTitle}</h4>
1039
+ <h4 class="step-title">${this.titlesRef[this.currentStep + 1].stepTitle}</h4>
1038
1040
  </div>
1039
1041
  </div>
1040
1042
  `), G`
@@ -1077,6 +1079,9 @@ let dt = class extends tt {
1077
1079
  <div class='step-contents'>
1078
1080
  <slot></slot>
1079
1081
  </div>
1082
+ <div class='step-controls'>
1083
+ <slot name='step-buttons'></slot>
1084
+ </div>
1080
1085
  </div>
1081
1086
  `;
1082
1087
  }
package/dist/index.umd.js CHANGED
@@ -662,6 +662,8 @@
662
662
  .progress-bar.current { background: var(--current-progress-bar-background-color, #203e70); }
663
663
 
664
664
  ::slotted(genus-step-content) { grid-area: 1 / 1 / -1 / -1; }
665
+
666
+ .step-controls { margin-left: auto; }
665
667
  `,ks=w.css`
666
668
  .step-contents
667
669
  {
@@ -683,7 +685,7 @@
683
685
  display: flex;
684
686
  flex-direction: column;
685
687
  align-items: center;
686
- row-gap: 1rem;
688
+ row-gap: 1.25rem;
687
689
  }
688
690
 
689
691
  .progress-container--mobile
@@ -754,7 +756,7 @@
754
756
  `),this.direction==="prev"&&(this.progressBarsTemplate[this.currentStep+1]=w.html`
755
757
  <div class='progress-bar-wrapper'>
756
758
  <div class='progress-bar'>
757
- <h4 class="step-title">${this.titlesRef[this.currentStep].stepTitle}</h4>
759
+ <h4 class="step-title">${this.titlesRef[this.currentStep+1].stepTitle}</h4>
758
760
  </div>
759
761
  </div>
760
762
  `),w.html`
@@ -793,6 +795,9 @@
793
795
  <div class='step-contents'>
794
796
  <slot></slot>
795
797
  </div>
798
+ <div class='step-controls'>
799
+ <slot name='step-buttons'></slot>
800
+ </div>
796
801
  </div>
797
802
  `}};ot.styles=[Qs,ks,Ra,Fa],ft([D.property({attribute:"current-step",type:Number})],ot.prototype,"currentStep",2),ft([D.property({attribute:"display-mode"})],ot.prototype,"displayMode",2),ft([D.property({attribute:"step-titles",type:Array})],ot.prototype,"titles",2),ft([D.property()],ot.prototype,"direction",2),ft([D.queryAssignedElements()],ot.prototype,"stepContents",2),ft([D.state()],ot.prototype,"progressBarsTemplate",2),ft([D.state()],ot.prototype,"steps",2),ft([D.state()],ot.prototype,"circumference",2),ft([D.query(".circular-progress-bar")],ot.prototype,"circularProgressBar",2),ot=ft([D.customElement("genus-step-wizard")],ot);var Va=Object.defineProperty,ja=Object.getOwnPropertyDescriptor,Wa=(i,t,e,s)=>{for(var n=s>1?void 0:s?ja(t,e):t,o=i.length-1,a;o>=0;o--)(a=i[o])&&(n=(s?a(t,e,n):a(n))||n);return s&&n&&Va(t,e,n),n};let je=class extends w.LitElement{render(){return w.html`
798
803
  <div class='step-content'>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "genus-ui",
3
3
  "private": false,
4
- "version": "1.77.10",
4
+ "version": "1.79.11",
5
5
  "type": "module",
6
6
  "main": "dist/index.es.js",
7
7
  "module": "dist/index.es.js",
@@ -22,7 +22,7 @@ export declare class GenusStepWizard extends LitElement {
22
22
  }
23
23
  interface IStepTitles {
24
24
  stepTitle: string;
25
- stepSubtitle: string;
25
+ stepSubtitle?: string;
26
26
  }
27
27
  declare global {
28
28
  interface HTMLElementTagNameMap {