@proximus/lavender-progress-stepper 2.0.0-alpha.233 → 2.0.0-alpha.235

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.d.ts CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from './ProgressStepper';
2
2
  export * from './ProgressStepperItem';
3
+ export * from './ProgressStepperLink';
package/dist/index.es.js CHANGED
@@ -1,47 +1,57 @@
1
- import { PxElement as e, createTemplate as t, log as n, renderTemplate as r } from "@proximus/lavender-common";
1
+ import { WithExtraAttributes as e, createTemplate as t, log as n, propertyToAttributeSetter as r, renderTemplate as i } from "@proximus/lavender-common";
2
2
  import "@proximus/lavender-icon";
3
+ import "@proximus/lavender-span";
3
4
  //#region src/progress-stepper.css?inline
4
- var i = ":host{display:block}.progress-stepper{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}:host(:not([direction=vertical])) .progress-stepper{flex-direction:row}:host(:not([direction=vertical])) ::slotted(px-progress-stepper-item){flex:1 1 0;min-width:0}@media screen and (width<=47.938rem){:host([direction--mobile=vertical]) .progress-stepper{flex-direction:column}:host([direction--mobile=vertical]) ::slotted(px-progress-stepper-item){flex:initial;min-width:initial}:host([direction--mobile=horizontal]) .progress-stepper{flex-direction:row}:host([direction--mobile=horizontal]) ::slotted(px-progress-stepper-item){flex:1 1 0;min-width:0}}@media screen and (width>=48rem) and (width<=64rem){:host([direction--tablet=vertical]) .progress-stepper{flex-direction:column}:host([direction--tablet=vertical]) ::slotted(px-progress-stepper-item){flex:initial;min-width:initial}:host([direction--tablet=horizontal]) .progress-stepper{flex-direction:row}:host([direction--tablet=horizontal]) ::slotted(px-progress-stepper-item){flex:1 1 0;min-width:0}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([direction--laptop=vertical]) .progress-stepper{flex-direction:column}:host([direction--laptop=vertical]) ::slotted(px-progress-stepper-item){flex:initial;min-width:initial}:host([direction--laptop=horizontal]) .progress-stepper{flex-direction:row}:host([direction--laptop=horizontal]) ::slotted(px-progress-stepper-item){flex:1 1 0;min-width:0}}@media screen and (width>=90.0625rem){:host([direction--desktop=vertical]) .progress-stepper{flex-direction:column}:host([direction--desktop=vertical]) ::slotted(px-progress-stepper-item){flex:initial;min-width:initial}:host([direction--desktop=horizontal]) .progress-stepper{flex-direction:row}:host([direction--desktop=horizontal]) ::slotted(px-progress-stepper-item){flex:1 1 0;min-width:0}}", a = ":host{--progress-stepper-indicator-size:var(--px-size-icon-m);--progress-stepper-connector-color:var(--px-color-border-main-default);--progress-stepper-gap-vertical:var(--px-spacing-xs-mobile);--progress-stepper-gap-horizontal:var(--px-spacing-2xs-mobile);--progress-stepper-gap:var(--progress-stepper-gap-vertical);--progress-stepper-spacing-bottom:var(--px-padding-m-mobile);display:block}.progress-stepper-item{gap:var(--progress-stepper-gap);font-family:var(--px-font-family);line-height:var(--px-line-height-ratio-l);display:flex}.indicator-area{flex-shrink:0;justify-content:center;display:flex;position:relative}.indicator-area:before{content:\"\";top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size));background:var(--progress-stepper-connector-color);display:block;position:absolute}.indicator{box-sizing:border-box;width:var(--progress-stepper-indicator-size);height:var(--progress-stepper-indicator-size);font-weight:var(--px-font-weight-title);font-size:var(--px-text-size-label-m-mobile);color:var(--px-color-text-dimmed-default);background:var(--px-color-background-container-default-default);border-radius:var(--px-radius-pill);justify-content:center;align-items:center;display:flex}.indicator-check{display:none}.content-area{margin-bottom:var(--progress-stepper-spacing-bottom);flex-direction:column;min-width:0;display:flex}:host([state=current]) .indicator{color:var(--px-color-text-neutral-inverted);background:var(--px-color-background-state-active-default)}:host([state=completed]){--progress-stepper-connector-color:var(--px-color-border-brand-default)}:host([state=completed]) .indicator{background:var(--px-color-icon-brand-default)}:host([state=completed]) .indicator-number{display:none}:host([state=completed]) .indicator-check{display:inline-flex}:host([lastchild]){--progress-stepper-spacing-bottom:0}:host([lastchild]) .indicator-area:before{display:none}@media screen and (width>=48rem){:host{--progress-stepper-gap-vertical:var(--px-spacing-xs-tablet);--progress-stepper-gap-horizontal:var(--px-spacing-2xs-tablet);--progress-stepper-spacing-bottom:var(--px-padding-m-tablet)}.indicator{font-size:var(--px-text-size-label-m-tablet)}}@media screen and (width>=64.0625rem){:host{--progress-stepper-gap-vertical:var(--px-spacing-xs-laptop);--progress-stepper-gap-horizontal:var(--px-spacing-2xs-laptop);--progress-stepper-spacing-bottom:var(--px-padding-m-laptop)}.indicator{font-size:var(--px-text-size-label-m-laptop)}}@media screen and (width>=90.0625rem){:host{--progress-stepper-gap-vertical:var(--px-spacing-xs-desktop);--progress-stepper-gap-horizontal:var(--px-spacing-2xs-desktop);--progress-stepper-spacing-bottom:var(--px-padding-m-desktop)}.indicator{font-size:var(--px-text-size-label-m-desktop)}}:host(:not([direction=vertical])){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host(:not([direction=vertical])) .progress-stepper-item{flex-direction:column}:host(:not([direction=vertical])) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host(:not([direction=vertical])) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}@media screen and (width<=47.938rem){:host([direction--mobile=vertical]){--progress-stepper-gap:var(--progress-stepper-gap-vertical)}:host([direction--mobile=vertical]) .progress-stepper-item{flex-direction:row}:host([direction--mobile=vertical]) .indicator-area:before{top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size))}:host([direction--mobile=vertical]) .content-area{margin-bottom:var(--progress-stepper-spacing-bottom);text-align:start;align-items:stretch;padding-inline:0}:host([direction--mobile=horizontal]){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host([direction--mobile=horizontal]) .progress-stepper-item{flex-direction:column}:host([direction--mobile=horizontal]) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host([direction--mobile=horizontal]) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}}@media screen and (width>=48rem) and (width<=64rem){:host([direction--tablet=vertical]){--progress-stepper-gap:var(--progress-stepper-gap-vertical)}:host([direction--tablet=vertical]) .progress-stepper-item{flex-direction:row}:host([direction--tablet=vertical]) .indicator-area:before{top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size))}:host([direction--tablet=vertical]) .content-area{margin-bottom:var(--progress-stepper-spacing-bottom);text-align:start;align-items:stretch;padding-inline:0}:host([direction--tablet=horizontal]){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host([direction--tablet=horizontal]) .progress-stepper-item{flex-direction:column}:host([direction--tablet=horizontal]) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host([direction--tablet=horizontal]) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([direction--laptop=vertical]){--progress-stepper-gap:var(--progress-stepper-gap-vertical)}:host([direction--laptop=vertical]) .progress-stepper-item{flex-direction:row}:host([direction--laptop=vertical]) .indicator-area:before{top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size))}:host([direction--laptop=vertical]) .content-area{margin-bottom:var(--progress-stepper-spacing-bottom);text-align:start;align-items:stretch;padding-inline:0}:host([direction--laptop=horizontal]){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host([direction--laptop=horizontal]) .progress-stepper-item{flex-direction:column}:host([direction--laptop=horizontal]) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host([direction--laptop=horizontal]) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}}@media screen and (width>=90.0625rem){:host([direction--desktop=vertical]){--progress-stepper-gap:var(--progress-stepper-gap-vertical)}:host([direction--desktop=vertical]) .progress-stepper-item{flex-direction:row}:host([direction--desktop=vertical]) .indicator-area:before{top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size))}:host([direction--desktop=vertical]) .content-area{margin-bottom:var(--progress-stepper-spacing-bottom);text-align:start;align-items:stretch;padding-inline:0}:host([direction--desktop=horizontal]){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host([direction--desktop=horizontal]) .progress-stepper-item{flex-direction:column}:host([direction--desktop=horizontal]) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host([direction--desktop=horizontal]) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}}", o = new CSSStyleSheet();
5
- o.replaceSync(a);
6
- var s = "px-progress-stepper-item-connected", c = [
5
+ var a = ":host{display:block}.progress-stepper{flex-direction:column;margin:0;padding:0;list-style:none;display:flex}:host(:not([direction=vertical])) .progress-stepper{flex-direction:row}:host(:not([direction=vertical])) ::slotted(px-progress-stepper-item),:host(:not([direction=vertical])) ::slotted(px-progress-stepper-link){flex:1 1 0;min-width:0}@media screen and (width<=47.938rem){:host([direction--mobile=vertical]) .progress-stepper{flex-direction:column}:host([direction--mobile=vertical]) ::slotted(px-progress-stepper-item),:host([direction--mobile=vertical]) ::slotted(px-progress-stepper-link){flex:initial;min-width:initial}:host([direction--mobile=horizontal]) .progress-stepper{flex-direction:row}:host([direction--mobile=horizontal]) ::slotted(px-progress-stepper-item),:host([direction--mobile=horizontal]) ::slotted(px-progress-stepper-link){flex:1 1 0;min-width:0}}@media screen and (width>=48rem) and (width<=64rem){:host([direction--tablet=vertical]) .progress-stepper{flex-direction:column}:host([direction--tablet=vertical]) ::slotted(px-progress-stepper-item),:host([direction--tablet=vertical]) ::slotted(px-progress-stepper-link){flex:initial;min-width:initial}:host([direction--tablet=horizontal]) .progress-stepper{flex-direction:row}:host([direction--tablet=horizontal]) ::slotted(px-progress-stepper-item),:host([direction--tablet=horizontal]) ::slotted(px-progress-stepper-link){flex:1 1 0;min-width:0}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([direction--laptop=vertical]) .progress-stepper{flex-direction:column}:host([direction--laptop=vertical]) ::slotted(px-progress-stepper-item),:host([direction--laptop=vertical]) ::slotted(px-progress-stepper-link){flex:initial;min-width:initial}:host([direction--laptop=horizontal]) .progress-stepper{flex-direction:row}:host([direction--laptop=horizontal]) ::slotted(px-progress-stepper-item),:host([direction--laptop=horizontal]) ::slotted(px-progress-stepper-link){flex:1 1 0;min-width:0}}@media screen and (width>=90.0625rem){:host([direction--desktop=vertical]) .progress-stepper{flex-direction:column}:host([direction--desktop=vertical]) ::slotted(px-progress-stepper-item),:host([direction--desktop=vertical]) ::slotted(px-progress-stepper-link){flex:initial;min-width:initial}:host([direction--desktop=horizontal]) .progress-stepper{flex-direction:row}:host([direction--desktop=horizontal]) ::slotted(px-progress-stepper-item),:host([direction--desktop=horizontal]) ::slotted(px-progress-stepper-link){flex:1 1 0;min-width:0}}", o = ":host{--progress-stepper-indicator-size:var(--px-size-icon-m);--progress-stepper-connector-color:var(--px-color-border-main-default);--progress-stepper-gap-vertical:var(--px-spacing-xs-mobile);--progress-stepper-gap-horizontal:var(--px-spacing-2xs-mobile);--progress-stepper-gap:var(--progress-stepper-gap-vertical);--progress-stepper-spacing-bottom:var(--px-padding-m-mobile);display:block}.progress-stepper-item{gap:var(--progress-stepper-gap);font-family:var(--px-font-family);display:flex}.indicator-area{flex-shrink:0;justify-content:center;display:flex;position:relative}.indicator-area:before{content:\"\";top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size));background:var(--progress-stepper-connector-color);display:block;position:absolute}.indicator{box-sizing:border-box;width:var(--progress-stepper-indicator-size);height:var(--progress-stepper-indicator-size);font-weight:var(--px-font-weight-title);color:var(--px-color-text-dimmed-default);background:var(--px-color-background-container-default-default);border-radius:var(--px-radius-pill);justify-content:center;align-items:center;font-size:.875rem;display:flex}.indicator-check{display:none}.content-area{margin-bottom:var(--progress-stepper-spacing-bottom);flex-direction:column;min-width:0;display:flex}.content-area px-span[shown--sr]{display:none}.content-area .title,.content-area ::slotted([slot=helper]){font-size:var(--px-text-size-label-s-mobile);color:var(--px-color-text-dimmed-default);line-height:var(--px-line-height-ratio-l)}.content-area a.title{--btn-transition:all .2s ease-in-out 0s;transition:var(--btn-transition)}.content-area a.title:hover{color:var(--px-color-text-state-hover-default)}.content-area a.title:focus-visible{outline-offset:var(--px-focus-offset-mobile);outline:var(--px-focus-outline-mobile) solid var(--px-color-border-focus-outline-default)}:host([state=current]) .indicator{color:var(--px-color-text-neutral-inverted);background:var(--px-color-background-state-active-default)}:host([state=current]) .content-area .title{color:var(--px-color-text-neutral-default);font-weight:var(--px-font-weight-title)}:host([state=current]) .content-area a.title:hover{color:var(--px-color-text-state-hover-default)}:host([state=completed]){--progress-stepper-connector-color:var(--px-color-border-brand-default)}:host([state=completed]) .indicator{background:var(--px-color-background-state-active-default)}:host([state=completed]) .indicator-number{display:none}:host([state=completed]) .indicator-check{display:inline-flex}:host([state=completed]) .content-area px-span[shown--sr]{display:block}:host([lastchild]){--progress-stepper-spacing-bottom:0}:host([lastchild]) .indicator-area:before{display:none}@media screen and (width>=48rem){:host{--progress-stepper-gap-vertical:var(--px-spacing-xs-tablet);--progress-stepper-gap-horizontal:var(--px-spacing-2xs-tablet);--progress-stepper-spacing-bottom:var(--px-padding-m-tablet)}.content-area .title,.content-area ::slotted([slot=helper]){font-size:var(--px-text-size-label-s-tablet)}.content-area a.title:focus-visible{outline-offset:var(--px-focus-offset-tablet);outline-width:var(--px-focus-outline-tablet)}}@media screen and (width>=64.0625rem){:host{--progress-stepper-gap-vertical:var(--px-spacing-xs-laptop);--progress-stepper-gap-horizontal:var(--px-spacing-2xs-laptop);--progress-stepper-spacing-bottom:var(--px-padding-m-laptop)}.content-area .title,.content-area ::slotted([slot=helper]){font-size:var(--px-text-size-label-s-laptop)}.content-area a.title:focus-visible{outline-offset:var(--px-focus-offset-laptop);outline-width:var(--px-focus-outline-laptop)}}@media screen and (width>=90.0625rem){:host{--progress-stepper-gap-vertical:var(--px-spacing-xs-desktop);--progress-stepper-gap-horizontal:var(--px-spacing-2xs-desktop);--progress-stepper-spacing-bottom:var(--px-padding-m-desktop)}.content-area .title,.content-area ::slotted([slot=helper]){font-size:var(--px-text-size-label-s-desktop)}.content-area a.title:focus-visible{outline-offset:var(--px-focus-offset-desktop);outline-width:var(--px-focus-outline-desktop)}}:host(:not([direction=vertical])){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host(:not([direction=vertical])) .progress-stepper-item{flex-direction:column}:host(:not([direction=vertical])) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host(:not([direction=vertical])) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}@media screen and (width<=47.938rem){:host([direction--mobile=vertical]){--progress-stepper-gap:var(--progress-stepper-gap-vertical)}:host([direction--mobile=vertical]) .progress-stepper-item{flex-direction:row}:host([direction--mobile=vertical]) .indicator-area:before{top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size))}:host([direction--mobile=vertical]) .content-area{margin-bottom:var(--progress-stepper-spacing-bottom);text-align:start;align-items:stretch;padding-inline:0}:host([direction--mobile=horizontal]){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host([direction--mobile=horizontal]) .progress-stepper-item{flex-direction:column}:host([direction--mobile=horizontal]) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host([direction--mobile=horizontal]) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}}@media screen and (width>=48rem) and (width<=64rem){:host([direction--tablet=vertical]){--progress-stepper-gap:var(--progress-stepper-gap-vertical)}:host([direction--tablet=vertical]) .progress-stepper-item{flex-direction:row}:host([direction--tablet=vertical]) .indicator-area:before{top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size))}:host([direction--tablet=vertical]) .content-area{margin-bottom:var(--progress-stepper-spacing-bottom);text-align:start;align-items:stretch;padding-inline:0}:host([direction--tablet=horizontal]){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host([direction--tablet=horizontal]) .progress-stepper-item{flex-direction:column}:host([direction--tablet=horizontal]) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host([direction--tablet=horizontal]) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}}@media screen and (width>=64.0625rem) and (width<=90rem){:host([direction--laptop=vertical]){--progress-stepper-gap:var(--progress-stepper-gap-vertical)}:host([direction--laptop=vertical]) .progress-stepper-item{flex-direction:row}:host([direction--laptop=vertical]) .indicator-area:before{top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size))}:host([direction--laptop=vertical]) .content-area{margin-bottom:var(--progress-stepper-spacing-bottom);text-align:start;align-items:stretch;padding-inline:0}:host([direction--laptop=horizontal]){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host([direction--laptop=horizontal]) .progress-stepper-item{flex-direction:column}:host([direction--laptop=horizontal]) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host([direction--laptop=horizontal]) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}}@media screen and (width>=90.0625rem){:host([direction--desktop=vertical]){--progress-stepper-gap:var(--progress-stepper-gap-vertical)}:host([direction--desktop=vertical]) .progress-stepper-item{flex-direction:row}:host([direction--desktop=vertical]) .indicator-area:before{top:var(--progress-stepper-indicator-size);left:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);width:var(--px-size-border-m);height:calc(100% - var(--progress-stepper-indicator-size))}:host([direction--desktop=vertical]) .content-area{margin-bottom:var(--progress-stepper-spacing-bottom);text-align:start;align-items:stretch;padding-inline:0}:host([direction--desktop=horizontal]){--progress-stepper-gap:var(--progress-stepper-gap-horizontal)}:host([direction--desktop=horizontal]) .progress-stepper-item{flex-direction:column}:host([direction--desktop=horizontal]) .indicator-area:before{top:calc((var(--progress-stepper-indicator-size) - var(--px-size-border-m)) / 2);left:calc(50% + var(--progress-stepper-indicator-size) / 2);width:calc(100% - var(--progress-stepper-indicator-size));height:var(--px-size-border-m)}:host([direction--desktop=horizontal]) .content-area{padding-inline:calc(var(--progress-stepper-gap-vertical) / 2);text-align:center;align-items:center;margin-bottom:0}}", s = new CSSStyleSheet();
6
+ s.replaceSync(o);
7
+ var c = [
7
8
  "",
8
9
  "upcoming",
9
10
  "current",
10
11
  "completed"
11
- ], l = class i extends e {
12
- static {
13
- this.nativeName = "li";
14
- }
15
- static {
16
- this.template = t("<li class=\"progress-stepper-item\" role=\"listitem\"><div class=\"indicator-area\"><span class=\"indicator\" aria-hidden=\"true\"><span class=\"indicator-number\"></span><px-icon\n class=\"indicator-check\"\n name=\"checkmark\"\n from=\"lavender\"\n size=\"s\"\n color=\"neutral\"\n inverted\n ></px-icon></span></div><div class=\"content-area\"><span class=\"title\"><slot name=\"title\"></slot></span><slot name=\"helper\"></slot></div></li>");
17
- }
18
- constructor() {
19
- super(o), r(this.shadowRoot, i.template);
12
+ ], l = class extends e {
13
+ static createItemTemplate(e) {
14
+ return t(`
15
+ <li class="progress-stepper-item" role="listitem">
16
+ <div class="indicator-area">
17
+ <span class="indicator" aria-hidden="true">
18
+ <span class="indicator-number"></span>
19
+ <px-icon
20
+ class="indicator-check"
21
+ name="checkmark"
22
+ from="lavender"
23
+ size="s"
24
+ color="neutral"
25
+ inverted
26
+ ></px-icon>
27
+ </span>
28
+ </div>
29
+ <div class="content-area">
30
+ <px-span shown--sr=""></px-span>
31
+ <${e} class="title"><slot name="title"></slot></${e}>
32
+ <slot name="helper"></slot>
33
+ </div>
34
+ </li>
35
+ `);
36
+ }
37
+ constructor(e) {
38
+ super(s), i(this.shadowRoot, e);
20
39
  }
21
40
  static get observedAttributes() {
22
41
  return [
23
42
  ...super.observedAttributes,
24
43
  "state",
25
- "href",
26
44
  "item",
27
45
  "lastchild",
28
- "icon-from"
46
+ "icon-from",
47
+ "completed-label"
29
48
  ];
30
49
  }
31
- connectedCallback() {
32
- this.#e(), this.dispatchEvent(new CustomEvent(s, {
33
- bubbles: !0,
34
- composed: !0
35
- }));
36
- }
37
50
  attributeChangedCallback(e, t, n) {
38
51
  if (t !== n) switch (e) {
39
52
  case "state":
40
53
  this.updateState(e, n, c);
41
54
  break;
42
- case "href":
43
- this.#e();
44
- break;
45
55
  case "item":
46
56
  this.$indicatorNumber.textContent = n ?? "";
47
57
  break;
@@ -49,24 +59,22 @@ var s = "px-progress-stepper-item-connected", c = [
49
59
  case "icon-from":
50
60
  this.$icon.setAttribute("from", n || "lavender");
51
61
  break;
62
+ case "completed-label":
63
+ this.$shownSR.textContent = n;
64
+ break;
52
65
  default: super.attributeChangedCallback(e, t, n);
53
66
  }
54
67
  }
55
68
  updateState(e, t, r) {
56
- t !== null && !this.checkName(r, t) && n(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`), this.#t();
57
- }
58
- #e() {
59
- let e = this.getAttribute("href"), t = e ? "a" : "span", n = this.$title;
60
- if (n.localName !== t) {
61
- let e = document.createElement(t);
62
- e.className = "title", e.append(...n.childNodes), n.replaceWith(e), n = e;
63
- }
64
- e && n.setAttribute("href", e), this.#t();
69
+ t !== null && !this.checkName(r, t) && n(`"${t}" is not a valid ${e} value for ${this.tagName.toLowerCase()}. Allowed values are: "${r.join("\", \"")}".`), this.applyAriaCurrent();
65
70
  }
66
- #t() {
67
- let e = this.state === "current", t = this.$title, n = t.localName === "a" ? t : this.$el;
71
+ applyAriaCurrent() {
72
+ let e = this.state === "current", t = this.$title, n = t.localName === "a" && t.hasAttribute("href") ? t : this.$el;
68
73
  this.$el.removeAttribute("aria-current"), t.removeAttribute("aria-current"), e && n.setAttribute("aria-current", "step");
69
74
  }
75
+ get $el() {
76
+ return this.shadowRoot.querySelector("li");
77
+ }
70
78
  get $title() {
71
79
  return this.shadowRoot.querySelector(".title");
72
80
  }
@@ -76,79 +84,125 @@ var s = "px-progress-stepper-item-connected", c = [
76
84
  get $icon() {
77
85
  return this.shadowRoot.querySelector(".indicator-check");
78
86
  }
87
+ get $shownSR() {
88
+ return this.shadowRoot.querySelector("px-span[shown--sr]");
89
+ }
79
90
  get state() {
80
91
  return this.getAttribute("state");
81
92
  }
82
93
  set state(e) {
83
- this._updateAttribute("state", e);
84
- }
85
- get href() {
86
- return this.getAttribute("href");
87
- }
88
- set href(e) {
89
- this._updateAttribute("href", e);
94
+ r(this, "state", e);
90
95
  }
91
96
  get item() {
92
97
  return this.getAttribute("item");
93
98
  }
94
99
  set item(e) {
95
- this._updateAttribute("item", e);
100
+ r(this, "item", e);
96
101
  }
97
102
  get iconFrom() {
98
103
  return this.getAttribute("icon-from");
99
104
  }
100
105
  set iconFrom(e) {
101
- this._updateAttribute("icon-from", e);
106
+ r(this, "icon-from", e);
107
+ }
108
+ get completedLabel() {
109
+ return this.getAttribute("completed-label");
110
+ }
111
+ set completedLabel(e) {
112
+ r(this, "completed-label", e);
113
+ }
114
+ }, u = "px-progress-stepper-item-connected", d = class e extends l {
115
+ static {
116
+ this.template = this.createItemTemplate("span");
117
+ }
118
+ constructor() {
119
+ super(e.template);
120
+ }
121
+ connectedCallback() {
122
+ this.dispatchEvent(new CustomEvent(u, {
123
+ bubbles: !0,
124
+ composed: !0
125
+ }));
126
+ }
127
+ };
128
+ customElements.get("px-progress-stepper-item") || customElements.define("px-progress-stepper-item", d);
129
+ //#endregion
130
+ //#region src/ProgressStepperLink.ts
131
+ var f = "px-progress-stepper-link-connected", p = class e extends l {
132
+ static {
133
+ this.template = this.createItemTemplate("a");
134
+ }
135
+ constructor() {
136
+ super(e.template);
137
+ }
138
+ static get observedAttributes() {
139
+ return [...super.observedAttributes, "href"];
140
+ }
141
+ connectedCallback() {
142
+ this.dispatchEvent(new CustomEvent(f, {
143
+ bubbles: !0,
144
+ composed: !0
145
+ }));
146
+ }
147
+ attributeChangedCallback(e, t, n) {
148
+ e === "href" ? (n === null ? this.$title.removeAttribute("href") : this.$title.setAttribute("href", n), this.applyAriaCurrent()) : super.attributeChangedCallback(e, t, n);
149
+ }
150
+ get href() {
151
+ return this.getAttribute("href");
152
+ }
153
+ set href(e) {
154
+ r(this, "href", e);
102
155
  }
103
156
  };
104
- customElements.get("px-progress-stepper-item") || customElements.define("px-progress-stepper-item", l);
157
+ customElements.get("px-progress-stepper-link") || customElements.define("px-progress-stepper-link", p);
105
158
  //#endregion
106
159
  //#region src/ProgressStepper.ts
107
- var u = new CSSStyleSheet();
108
- u.replaceSync(i);
109
- var d = [
160
+ var m = new CSSStyleSheet();
161
+ m.replaceSync(a);
162
+ var h = [
110
163
  "",
111
164
  "default",
112
165
  "vertical",
113
166
  "horizontal"
114
- ], f = [
167
+ ], g = [
115
168
  "direction",
116
169
  "direction--mobile",
117
170
  "direction--tablet",
118
171
  "direction--laptop",
119
172
  "direction--desktop"
120
- ], p = class i extends e {
173
+ ], _ = class a extends e {
121
174
  static {
122
- this.nativeName = "ol";
123
- }
124
- static {
125
- this.template = t("<ol class=\"progress-stepper\" role=\"list\"><slot></slot></ol>");
175
+ this.template = t("<div class=\"navigation\"><ol class=\"progress-stepper\" role=\"list\"><slot></slot></ol></div>");
126
176
  }
127
177
  #e = () => this.configureChildren();
128
178
  constructor() {
129
- super(u), r(this.shadowRoot, i.template);
179
+ super(m), i(this.shadowRoot, a.template);
130
180
  }
131
181
  static get observedAttributes() {
132
182
  return [
133
183
  ...super.observedAttributes,
134
- ...f,
135
- "icon-from"
184
+ ...g,
185
+ "icon-from",
186
+ "aria-label"
136
187
  ];
137
188
  }
138
189
  connectedCallback() {
139
- this.addEventListener(s, this.#e), this.$slot?.addEventListener("slotchange", this.#e), this.configureChildren();
190
+ this.addEventListener(u, this.#e), this.addEventListener(f, this.#e), this.$slot?.addEventListener("slotchange", this.#e), this.configureChildren();
140
191
  }
141
192
  disconnectedCallback() {
142
- this.removeEventListener(s, this.#e), this.$slot?.removeEventListener("slotchange", this.#e);
193
+ this.removeEventListener(u, this.#e), this.removeEventListener(f, this.#e), this.$slot?.removeEventListener("slotchange", this.#e);
143
194
  }
144
195
  attributeChangedCallback(e, t, n) {
145
196
  if (t !== n) switch (e) {
197
+ case "aria-label":
198
+ this.#n();
199
+ break;
146
200
  case "direction":
147
201
  case "direction--mobile":
148
202
  case "direction--tablet":
149
203
  case "direction--laptop":
150
204
  case "direction--desktop":
151
- this.updateDirection(e, n, d);
205
+ this.updateDirection(e, n, h);
152
206
  break;
153
207
  case "icon-from":
154
208
  for (let t of this.$children) this.#t(t, e);
@@ -166,53 +220,61 @@ var d = [
166
220
  }
167
221
  configureChildren() {
168
222
  let e = this.$children;
169
- e.forEach((t, n) => {
170
- t.setAttribute("item", `${n + 1}`), t.toggleAttribute("lastchild", n === e.length - 1), f.forEach((e) => this.#t(t, e)), this.hasAttribute("icon-from") && this.#t(t, "icon-from");
223
+ this.#n(), e.forEach((t, n) => {
224
+ t.setAttribute("item", `${n + 1}`), t.toggleAttribute("lastchild", n === e.length - 1), g.forEach((e) => this.#t(t, e)), this.hasAttribute("icon-from") && this.#t(t, "icon-from");
171
225
  });
172
226
  }
227
+ #n() {
228
+ let e = this.shadowRoot.querySelector(".navigation");
229
+ if (this.querySelector(":scope > px-progress-stepper-link")) {
230
+ e.setAttribute("role", "navigation");
231
+ let t = this.getAttribute("aria-label");
232
+ t ? e.setAttribute("aria-label", t) : e.removeAttribute("aria-label");
233
+ } else e.removeAttribute("role"), e.removeAttribute("aria-label");
234
+ }
173
235
  get $slot() {
174
236
  return this.shadowRoot.querySelector("slot");
175
237
  }
176
238
  get $children() {
177
- return this.querySelectorAll(":scope > px-progress-stepper-item");
239
+ return this.querySelectorAll(":scope > px-progress-stepper-item, :scope > px-progress-stepper-link");
178
240
  }
179
241
  get direction() {
180
242
  return this.getAttribute("direction");
181
243
  }
182
244
  set direction(e) {
183
- this._updateAttribute("direction", e);
245
+ r(this, "direction", e);
184
246
  }
185
247
  get directionMobile() {
186
248
  return this.getAttribute("direction--mobile");
187
249
  }
188
250
  set directionMobile(e) {
189
- this._updateAttribute("direction--mobile", e);
251
+ r(this, "direction--mobile", e);
190
252
  }
191
253
  get directionTablet() {
192
254
  return this.getAttribute("direction--tablet");
193
255
  }
194
256
  set directionTablet(e) {
195
- this._updateAttribute("direction--tablet", e);
257
+ r(this, "direction--tablet", e);
196
258
  }
197
259
  get directionLaptop() {
198
260
  return this.getAttribute("direction--laptop");
199
261
  }
200
262
  set directionLaptop(e) {
201
- this._updateAttribute("direction--laptop", e);
263
+ r(this, "direction--laptop", e);
202
264
  }
203
265
  get directionDesktop() {
204
266
  return this.getAttribute("direction--desktop");
205
267
  }
206
268
  set directionDesktop(e) {
207
- this._updateAttribute("direction--desktop", e);
269
+ r(this, "direction--desktop", e);
208
270
  }
209
271
  get iconFrom() {
210
272
  return this.getAttribute("icon-from");
211
273
  }
212
274
  set iconFrom(e) {
213
- this._updateAttribute("icon-from", e);
275
+ r(this, "icon-from", e);
214
276
  }
215
277
  };
216
- customElements.get("px-progress-stepper") || customElements.define("px-progress-stepper", p);
278
+ customElements.get("px-progress-stepper") || customElements.define("px-progress-stepper", _);
217
279
  //#endregion
218
- export { s as PROGRESS_STEPPER_ITEM_CONNECTED_EVENT, p as ProgressStepper, l as ProgressStepperItem, f as progressStepperDirectionAttributes, d as progressStepperDirectionValues, c as progressStepperItemStateValues };
280
+ export { u as PROGRESS_STEPPER_ITEM_CONNECTED_EVENT, f as PROGRESS_STEPPER_LINK_CONNECTED_EVENT, _ as ProgressStepper, d as ProgressStepperItem, p as ProgressStepperLink, g as progressStepperDirectionAttributes, h as progressStepperDirectionValues, c as progressStepperItemStateValues };
@@ -4,13 +4,18 @@
4
4
  "tags": [
5
5
  {
6
6
  "name": "px-progress-stepper",
7
- "description": "Displays the progression of a user through a sequence of steps.\n---\n\n\n### **Slots:**\n - _default_ - `px-progress-stepper-item` elements.",
7
+ "description": "Displays the progression of a user through a sequence of steps.\n---\n\n\n### **Slots:**\n - _default_ - `px-progress-stepper-item` and `px-progress-stepper-link` elements.",
8
8
  "attributes": [
9
9
  {
10
10
  "name": "icon-from",
11
11
  "description": "Name of the `px-icon-set` used for the items icons. Defaults to `lavender`.",
12
12
  "values": []
13
13
  },
14
+ {
15
+ "name": "aria-label",
16
+ "description": "Navigation label when steps contain links.",
17
+ "values": []
18
+ },
14
19
  {
15
20
  "name": "direction",
16
21
  "description": "Layout direction of the stepper for all breakpoints. Defaults to `horizontal`.",
@@ -61,7 +66,7 @@
61
66
  },
62
67
  {
63
68
  "name": "px-progress-stepper-item",
64
- "description": "A single step of a `px-progress-stepper`.\n---\n\n\n### **Events:**\n - **PROGRESS_STEPPER_ITEM_CONNECTED_EVENT**\n\n### **Slots:**\n - **title** - Title of the step. Rendered inside a link when `href` is set.\n- **helper** - Helper text displayed below the title.",
69
+ "description": "A non-clickable step of a `px-progress-stepper`.\n---\n\n\n### **Events:**\n - **PROGRESS_STEPPER_ITEM_CONNECTED_EVENT**\n\n### **Slots:**\n - **title** - Title of the step.\n- **helper** - Helper text displayed below the title.",
65
70
  "attributes": [
66
71
  {
67
72
  "name": "state",
@@ -73,17 +78,46 @@
73
78
  ]
74
79
  },
75
80
  {
76
- "name": "href",
77
- "description": "Makes the title a link pointing to this URL.",
81
+ "name": "icon-from",
82
+ "description": "Name of the `px-icon-set` used for the check icon. Defaults to `lavender`.",
83
+ "values": []
84
+ },
85
+ {
86
+ "name": "completed-label",
87
+ "description": "Screen-reader text for a completed step.",
78
88
  "values": []
79
89
  },
80
90
  { "name": "item", "values": [] },
81
- { "name": "lastchild", "values": [] },
91
+ { "name": "lastchild", "values": [] }
92
+ ],
93
+ "references": []
94
+ },
95
+ {
96
+ "name": "px-progress-stepper-link",
97
+ "description": "A clickable step of a `px-progress-stepper`.\n---\n\n\n### **Events:**\n - **PROGRESS_STEPPER_LINK_CONNECTED_EVENT**\n\n### **Slots:**\n - **title** - Title of the step, rendered as a link.\n- **helper** - Helper text displayed below the title.",
98
+ "attributes": [
99
+ { "name": "href", "description": "URL of the step.", "values": [] },
100
+ {
101
+ "name": "state",
102
+ "description": "State of the step. Defaults to `upcoming`.",
103
+ "values": [
104
+ { "name": "upcoming" },
105
+ { "name": "current" },
106
+ { "name": "completed" }
107
+ ]
108
+ },
82
109
  {
83
110
  "name": "icon-from",
84
111
  "description": "Name of the `px-icon-set` used for the check icon. Defaults to `lavender`.",
85
112
  "values": []
86
- }
113
+ },
114
+ {
115
+ "name": "completed-label",
116
+ "description": "Screen-reader text for a completed step.",
117
+ "values": []
118
+ },
119
+ { "name": "item", "values": [] },
120
+ { "name": "lastchild", "values": [] }
87
121
  ],
88
122
  "references": []
89
123
  }
@@ -1,14 +1,14 @@
1
1
  {
2
2
  "$schema": "https://raw.githubusercontent.com/JetBrains/web-types/master/schema/web-types.json",
3
3
  "name": "@proximus/lavender-progress-stepper",
4
- "version": "2.0.0-alpha.233",
4
+ "version": "2.0.0-alpha.235",
5
5
  "description-markup": "markdown",
6
6
  "contributions": {
7
7
  "html": {
8
8
  "elements": [
9
9
  {
10
10
  "name": "px-progress-stepper",
11
- "description": "Displays the progression of a user through a sequence of steps.\n\n---\n\n\n### **Slots:**\n - _default_ - `px-progress-stepper-item` elements.",
11
+ "description": "Displays the progression of a user through a sequence of steps.\n\n---\n\n\n### **Slots:**\n - _default_ - `px-progress-stepper-item` and `px-progress-stepper-link` elements.",
12
12
  "doc-url": "",
13
13
  "attributes": [
14
14
  {
@@ -16,6 +16,11 @@
16
16
  "description": "Name of the `px-icon-set` used for the items icons. Defaults to `lavender`.",
17
17
  "value": { "type": "string" }
18
18
  },
19
+ {
20
+ "name": "aria-label",
21
+ "description": "Navigation label when steps contain links.",
22
+ "value": { "type": "string" }
23
+ },
19
24
  {
20
25
  "name": "direction",
21
26
  "description": "Layout direction of the stepper for all breakpoints. Defaults to `horizontal`.",
@@ -45,7 +50,7 @@
45
50
  "slots": [
46
51
  {
47
52
  "name": "",
48
- "description": "`px-progress-stepper-item` elements."
53
+ "description": "`px-progress-stepper-item` and `px-progress-stepper-link` elements."
49
54
  }
50
55
  ],
51
56
  "events": [],
@@ -65,7 +70,7 @@
65
70
  },
66
71
  {
67
72
  "name": "px-progress-stepper-item",
68
- "description": "A single step of a `px-progress-stepper`.\n\n---\n\n\n### **Events:**\n - **PROGRESS_STEPPER_ITEM_CONNECTED_EVENT**\n\n### **Slots:**\n - **title** - Title of the step. Rendered inside a link when `href` is set.\n- **helper** - Helper text displayed below the title.",
73
+ "description": "A non-clickable step of a `px-progress-stepper`.\n\n---\n\n\n### **Events:**\n - **PROGRESS_STEPPER_ITEM_CONNECTED_EVENT**\n\n### **Slots:**\n - **title** - Title of the step.\n- **helper** - Helper text displayed below the title.",
69
74
  "doc-url": "",
70
75
  "attributes": [
71
76
  {
@@ -74,22 +79,83 @@
74
79
  "value": { "type": "\"upcoming\" | \"current\" | \"completed\"" }
75
80
  },
76
81
  {
77
- "name": "href",
78
- "description": "Makes the title a link pointing to this URL.",
82
+ "name": "icon-from",
83
+ "description": "Name of the `px-icon-set` used for the check icon. Defaults to `lavender`.",
84
+ "value": { "type": "string" }
85
+ },
86
+ {
87
+ "name": "completed-label",
88
+ "description": "Screen-reader text for a completed step.",
79
89
  "value": { "type": "string" }
80
90
  },
81
91
  { "name": "item", "value": { "type": "string" } },
82
- { "name": "lastchild", "value": { "type": "string" } },
92
+ { "name": "lastchild", "value": { "type": "string" } }
93
+ ],
94
+ "slots": [
95
+ { "name": "title", "description": "Title of the step." },
96
+ {
97
+ "name": "helper",
98
+ "description": "Helper text displayed below the title."
99
+ }
100
+ ],
101
+ "events": [
102
+ {
103
+ "name": "PROGRESS_STEPPER_ITEM_CONNECTED_EVENT",
104
+ "type": "CustomEvent"
105
+ }
106
+ ],
107
+ "js": {
108
+ "properties": [
109
+ { "name": "$el", "type": "HTMLLIElement" },
110
+ { "name": "$title" },
111
+ { "name": "$indicatorNumber" },
112
+ { "name": "$icon" },
113
+ { "name": "$shownSR" },
114
+ { "name": "state" },
115
+ { "name": "item" },
116
+ { "name": "iconFrom" },
117
+ { "name": "completedLabel" }
118
+ ],
119
+ "events": [
120
+ {
121
+ "name": "PROGRESS_STEPPER_ITEM_CONNECTED_EVENT",
122
+ "type": "CustomEvent"
123
+ }
124
+ ]
125
+ }
126
+ },
127
+ {
128
+ "name": "px-progress-stepper-link",
129
+ "description": "A clickable step of a `px-progress-stepper`.\n\n---\n\n\n### **Events:**\n - **PROGRESS_STEPPER_LINK_CONNECTED_EVENT**\n\n### **Slots:**\n - **title** - Title of the step, rendered as a link.\n- **helper** - Helper text displayed below the title.",
130
+ "doc-url": "",
131
+ "attributes": [
132
+ {
133
+ "name": "href",
134
+ "description": "URL of the step.",
135
+ "value": { "type": "string" }
136
+ },
137
+ {
138
+ "name": "state",
139
+ "description": "State of the step. Defaults to `upcoming`.",
140
+ "value": { "type": "\"upcoming\" | \"current\" | \"completed\"" }
141
+ },
83
142
  {
84
143
  "name": "icon-from",
85
144
  "description": "Name of the `px-icon-set` used for the check icon. Defaults to `lavender`.",
86
145
  "value": { "type": "string" }
87
- }
146
+ },
147
+ {
148
+ "name": "completed-label",
149
+ "description": "Screen-reader text for a completed step.",
150
+ "value": { "type": "string" }
151
+ },
152
+ { "name": "item", "value": { "type": "string" } },
153
+ { "name": "lastchild", "value": { "type": "string" } }
88
154
  ],
89
155
  "slots": [
90
156
  {
91
157
  "name": "title",
92
- "description": "Title of the step. Rendered inside a link when `href` is set."
158
+ "description": "Title of the step, rendered as a link."
93
159
  },
94
160
  {
95
161
  "name": "helper",
@@ -98,23 +164,26 @@
98
164
  ],
99
165
  "events": [
100
166
  {
101
- "name": "PROGRESS_STEPPER_ITEM_CONNECTED_EVENT",
167
+ "name": "PROGRESS_STEPPER_LINK_CONNECTED_EVENT",
102
168
  "type": "CustomEvent"
103
169
  }
104
170
  ],
105
171
  "js": {
106
172
  "properties": [
173
+ { "name": "href" },
174
+ { "name": "$el", "type": "HTMLLIElement" },
107
175
  { "name": "$title" },
108
176
  { "name": "$indicatorNumber" },
109
177
  { "name": "$icon" },
178
+ { "name": "$shownSR" },
110
179
  { "name": "state" },
111
- { "name": "href" },
112
180
  { "name": "item" },
113
- { "name": "iconFrom" }
181
+ { "name": "iconFrom" },
182
+ { "name": "completedLabel" }
114
183
  ],
115
184
  "events": [
116
185
  {
117
- "name": "PROGRESS_STEPPER_ITEM_CONNECTED_EVENT",
186
+ "name": "PROGRESS_STEPPER_LINK_CONNECTED_EVENT",
118
187
  "type": "CustomEvent"
119
188
  }
120
189
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@proximus/lavender-progress-stepper",
3
- "version": "2.0.0-alpha.233",
3
+ "version": "2.0.0-alpha.235",
4
4
  "description": "",
5
5
  "main": "dist/index.es.js",
6
6
  "types": "dist/index.d.ts",