@aquera/nile-elements 1.0.4-beta-1.2 → 1.0.4-beta-1.3

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Webcomponent nile-elements following open-wc recommendations",
4
4
  "license": "MIT",
5
5
  "author": "nile-elements",
6
- "version": "1.0.4-beta-1.2",
6
+ "version": "1.0.4-beta-1.3",
7
7
  "main": "dist/src/index.js",
8
8
  "type": "module",
9
9
  "module": "dist/src/index.js",
@@ -103,8 +103,8 @@ export class NileStepperItem extends NileElement {
103
103
 
104
104
  <div part="bulletin" class=${classMap({ 'stepper__item__bulletin':true, 'stepper__item__bulletin--inline': !this.contentBelow })}>
105
105
  ${showCompletedIcon ?
106
- html`<div class="${classMap({ 'stepper__bulletin--icon':true, 'stepper__bulletin__icon--active':isCurrent })}">${this.getSvg()}</div>`
107
- : html`<div class="${classMap({ 'stepper__bulletin--dot':true, 'stepper__bulletin__dot--active':isCurrent })}"></div>`
106
+ html`<div part="bulletin-icon" class="${classMap({ 'stepper__bulletin--icon':true, 'stepper__bulletin__icon--active':isCurrent })}">${this.getSvg()}</div>`
107
+ : html`<div part="bulletin-dot" class="${classMap({ 'stepper__bulletin--dot':true, 'stepper__bulletin__dot--active':isCurrent })}"></div>`
108
108
  }
109
109
  </div>
110
110
 
@@ -115,7 +115,7 @@ export class NileStepperItem extends NileElement {
115
115
  ${this.contentBelow || !this.title ? nothing:html`
116
116
 
117
117
  <div part="content-above" class="stepper__item__content--above">
118
- <div class="${classMap({ 'stepper__content__title':true, 'stepper__content__title--active':isCurrent })}">
118
+ <div part="title_above" class="${classMap({ 'stepper__content__title':true, 'stepper__content__title--active':isCurrent })}">
119
119
  ${this.title}
120
120
  </div>
121
121
  <div class="${classMap({ 'stepper__content__subtitle':true, 'stepper__content__subtitle--active':isCurrent })}">${this.subtitle}</div>
@@ -132,10 +132,10 @@ export class NileStepperItem extends NileElement {
132
132
  ${this.contentBelow?
133
133
  html`
134
134
  <div part="content-below" class="stepper__item__content--below">
135
- <div part="title" class="${classMap({ 'stepper__content__title':true, 'stepper__content__title--active':isCurrent })}">
135
+ <div part="title_below" class="${classMap({ 'stepper__content__title':true, 'stepper__content__title--active':isCurrent })}">
136
136
  ${this.title}
137
137
  </div>
138
- <div part="subtitle" class="${classMap({ 'stepper__content__subtitle':true, 'stepper__content__subtitle--active':isCurrent })}">${this.subtitle}</div>
138
+ <div part="subtitle_below" class="${classMap({ 'stepper__content__subtitle':true, 'stepper__content__subtitle--active':isCurrent })}">${this.subtitle}</div>
139
139
  </div>
140
140
  `:nothing}
141
141
  </div>
@@ -88,12 +88,12 @@ export class NileVerticalStepperItem extends NileElement {
88
88
  <div part="connector" class="stepper-item__connector-content">
89
89
  <div part="bulletin" class="stepper__item__bulletin">
90
90
  ${showCompletedIcon ?
91
- html`<div class="${classMap({ 'stepper__bulletin--icon':true, 'stepper__bulletin__icon--active':isCurrent })}">${this.getSvg()}</div>`
92
- : html`<div class="${classMap({ 'stepper__bulletin--dot':true, 'stepper__bulletin__dot--active':isCurrent })}"></div>`
91
+ html`<div part="bulletin-icon" class="${classMap({ 'stepper__bulletin--icon':true, 'stepper__bulletin__icon--active':isCurrent })}">${this.getSvg()}</div>`
92
+ : html`<div part="bulletin-dot" class="${classMap({ 'stepper__bulletin--dot':true, 'stepper__bulletin__dot--active':isCurrent })}"></div>`
93
93
  }
94
94
  </div>
95
- <div class="stepper__item__line__container">
96
- ${this.isLast?nothing : html`<div class="${classMap({ 'stepper__item__line':true, 'stepper__item__line--active':suffixStepperLineActive })}"></div>`}
95
+ <div part="line-container" class="stepper__item__line__container">
96
+ ${this.isLast?nothing : html`<div part="line" class="${classMap({ 'stepper__item__line':true, 'stepper__item__line--active':suffixStepperLineActive })}"></div>`}
97
97
  </div>
98
98
  </div>
99
99
  <div part="content" class="stepper__item__content">