@sbb-esta/lyne-elements 0.52.1 → 0.53.0
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/accordion.js +54 -54
- package/action-group.js +3 -3
- package/alert/alert-group.js +22 -22
- package/alert/alert.js +22 -22
- package/autocomplete.js +126 -126
- package/breadcrumb/breadcrumb-group.js +60 -60
- package/breadcrumb/breadcrumb.js +17 -17
- package/calendar.js +423 -423
- package/card/card-badge.js +17 -17
- package/card/card.js +2 -2
- package/card/common.js +30 -30
- package/checkbox/checkbox/checkbox.d.ts +3 -46
- package/checkbox/checkbox/checkbox.d.ts.map +1 -1
- package/checkbox/checkbox-group/checkbox-group.d.ts +4 -2
- package/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/checkbox/checkbox-group.js +26 -23
- package/checkbox/checkbox-panel/checkbox-panel.d.ts +41 -0
- package/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -0
- package/checkbox/checkbox-panel.d.ts +2 -0
- package/checkbox/checkbox-panel.d.ts.map +1 -0
- package/checkbox/checkbox-panel.js +67 -0
- package/checkbox/checkbox.js +27 -104
- package/checkbox/common/checkbox-common.d.ts +13 -0
- package/checkbox/common/checkbox-common.d.ts.map +1 -0
- package/checkbox/common.d.ts +2 -0
- package/checkbox/common.d.ts.map +1 -0
- package/checkbox/common.js +52 -0
- package/checkbox.d.ts +2 -0
- package/checkbox.d.ts.map +1 -1
- package/checkbox.js +2 -0
- package/clock.js +83 -83
- package/container/sticky-bar.js +16 -16
- package/core/a11y.js +91 -91
- package/core/base-elements.js +86 -86
- package/core/controllers.js +40 -40
- package/core/datetime.js +32 -32
- package/core/dom.js +26 -26
- package/core/eventing.js +33 -33
- package/core/mixins/panel-mixin.d.ts +13 -0
- package/core/mixins/panel-mixin.d.ts.map +1 -0
- package/core/mixins.d.ts +1 -0
- package/core/mixins.d.ts.map +1 -1
- package/core/mixins.js +170 -139
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables_css--mixin.scss +1 -1
- package/core/testing.js +29 -29
- package/core.css +1 -1
- package/custom-elements.json +8862 -6904
- package/datepicker/common.js +55 -55
- package/datepicker/datepicker-toggle.js +94 -94
- package/datepicker/datepicker.js +144 -144
- package/development/checkbox/checkbox/checkbox.d.ts +3 -46
- package/development/checkbox/checkbox/checkbox.d.ts.map +1 -1
- package/development/checkbox/checkbox-group/checkbox-group.d.ts +4 -2
- package/development/checkbox/checkbox-group/checkbox-group.d.ts.map +1 -1
- package/development/checkbox/checkbox-group.js +43 -13
- package/development/checkbox/checkbox-panel/checkbox-panel.d.ts +41 -0
- package/development/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -0
- package/development/checkbox/checkbox-panel.d.ts +2 -0
- package/development/checkbox/checkbox-panel.d.ts.map +1 -0
- package/development/checkbox/checkbox-panel.js +86 -0
- package/development/checkbox/checkbox.js +19 -239
- package/development/checkbox/common/checkbox-common.d.ts +13 -0
- package/development/checkbox/common/checkbox-common.d.ts.map +1 -0
- package/development/checkbox/common.d.ts +2 -0
- package/development/checkbox/common.d.ts.map +1 -0
- package/development/checkbox/common.js +156 -0
- package/development/checkbox.d.ts +2 -0
- package/development/checkbox.d.ts.map +1 -1
- package/development/checkbox.js +3 -1
- package/development/core/mixins/panel-mixin.d.ts +13 -0
- package/development/core/mixins/panel-mixin.d.ts.map +1 -0
- package/development/core/mixins.d.ts +1 -0
- package/development/core/mixins.d.ts.map +1 -1
- package/development/core/mixins.js +187 -31
- package/development/image.js +1 -1
- package/development/radio-button/common/radio-button-common.d.ts +22 -0
- package/development/radio-button/common/radio-button-common.d.ts.map +1 -0
- package/development/radio-button/common.d.ts +2 -0
- package/development/radio-button/common.d.ts.map +1 -0
- package/development/radio-button/common.js +294 -0
- package/development/radio-button/radio-button/radio-button.d.ts +2 -81
- package/development/radio-button/radio-button/radio-button.d.ts.map +1 -1
- package/development/radio-button/radio-button-group/radio-button-group.d.ts +6 -4
- package/development/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +55 -23
- package/development/radio-button/radio-button-panel/index.d.ts +2 -0
- package/development/radio-button/radio-button-panel/index.d.ts.map +1 -0
- package/development/radio-button/radio-button-panel/radio-button-panel.d.ts +29 -0
- package/development/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -0
- package/development/radio-button/radio-button-panel.d.ts +2 -0
- package/development/radio-button/radio-button-panel.d.ts.map +1 -0
- package/development/radio-button/radio-button-panel.js +69 -0
- package/development/radio-button/radio-button.js +10 -324
- package/development/radio-button.d.ts +2 -0
- package/development/radio-button.d.ts.map +1 -1
- package/development/radio-button.js +3 -1
- package/{selection-panel/selection-panel.d.ts → development/selection-expansion-panel/selection-expansion-panel.d.ts} +9 -7
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -0
- package/development/selection-expansion-panel.d.ts +2 -0
- package/development/selection-expansion-panel.d.ts.map +1 -0
- package/development/selection-expansion-panel.js +340 -0
- package/development/tabs/tab/index.d.ts +2 -0
- package/development/tabs/tab/index.d.ts.map +1 -0
- package/development/tabs/tab/tab.d.ts +24 -0
- package/development/tabs/tab/tab.d.ts.map +1 -0
- package/development/tabs/tab-group/tab-group.d.ts +20 -15
- package/development/tabs/tab-group/tab-group.d.ts.map +1 -1
- package/development/tabs/tab-group.js +24 -14
- package/development/tabs/{tab-title/tab-title.d.ts → tab-label/tab-label.d.ts} +4 -4
- package/development/tabs/{tab-title/tab-title.d.ts.map → tab-label/tab-label.d.ts.map} +1 -1
- package/development/tabs/tab-label.d.ts +2 -0
- package/development/tabs/tab-label.d.ts.map +1 -0
- package/development/tabs/{tab-title.js → tab-label.js} +86 -86
- package/development/tabs/tab.d.ts +2 -0
- package/development/tabs/tab.d.ts.map +1 -0
- package/development/tabs/tab.js +71 -0
- package/development/tabs.d.ts +2 -1
- package/development/tabs.d.ts.map +1 -1
- package/development/tabs.js +3 -2
- package/development/train/train-formation/train-formation.d.ts.map +1 -1
- package/development/train/train-formation.js +12 -12
- package/dialog/dialog-title.js +20 -20
- package/dialog/dialog.js +66 -66
- package/expansion-panel/expansion-panel-header.js +20 -20
- package/expansion-panel/expansion-panel.js +60 -60
- package/file-selector.js +91 -91
- package/form-field/form-field-clear.js +12 -12
- package/form-field/form-field.js +111 -111
- package/header/header.js +53 -53
- package/icon.js +107 -107
- package/image.js +87 -87
- package/index.d.ts +10 -8
- package/index.js +10 -8
- package/journey-header.js +29 -29
- package/map-container.js +23 -23
- package/menu/menu.js +91 -91
- package/navigation/common.js +16 -16
- package/navigation/navigation-marker.js +34 -34
- package/navigation/navigation-section.js +83 -83
- package/navigation/navigation.js +87 -87
- package/notification.js +52 -52
- package/option/optgroup.js +45 -45
- package/option/option.js +108 -108
- package/overlay.js +5 -5
- package/package.json +34 -19
- package/popover/popover.js +110 -110
- package/radio-button/common/radio-button-common.d.ts +22 -0
- package/radio-button/common/radio-button-common.d.ts.map +1 -0
- package/radio-button/common.d.ts +2 -0
- package/radio-button/common.d.ts.map +1 -0
- package/radio-button/common.js +105 -0
- package/radio-button/radio-button/radio-button.d.ts +2 -81
- package/radio-button/radio-button/radio-button.d.ts.map +1 -1
- package/radio-button/radio-button-group/radio-button-group.d.ts +6 -4
- package/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +86 -80
- package/radio-button/radio-button-panel/index.d.ts +2 -0
- package/radio-button/radio-button-panel/index.d.ts.map +1 -0
- package/radio-button/radio-button-panel/radio-button-panel.d.ts +29 -0
- package/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -0
- package/radio-button/radio-button-panel.d.ts +2 -0
- package/radio-button/radio-button-panel.d.ts.map +1 -0
- package/radio-button/radio-button-panel.js +59 -0
- package/radio-button/radio-button.js +20 -143
- package/radio-button.d.ts +2 -0
- package/radio-button.d.ts.map +1 -1
- package/radio-button.js +2 -0
- package/select.js +178 -178
- package/{development/selection-panel/selection-panel.d.ts → selection-expansion-panel/selection-expansion-panel.d.ts} +9 -7
- package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -0
- package/selection-expansion-panel.d.ts +2 -0
- package/selection-expansion-panel.d.ts.map +1 -0
- package/selection-expansion-panel.js +146 -0
- package/slider.js +58 -58
- package/standard-theme.css +1 -1
- package/status.js +6 -6
- package/stepper/step-label.js +19 -19
- package/stepper/step.js +31 -31
- package/stepper/stepper.js +46 -46
- package/tabs/tab/index.d.ts +2 -0
- package/tabs/tab/index.d.ts.map +1 -0
- package/tabs/tab/tab.d.ts +24 -0
- package/tabs/tab/tab.d.ts.map +1 -0
- package/tabs/tab-group/tab-group.d.ts +20 -15
- package/tabs/tab-group/tab-group.d.ts.map +1 -1
- package/tabs/tab-group.js +85 -75
- package/tabs/{tab-title/tab-title.d.ts → tab-label/tab-label.d.ts} +4 -4
- package/tabs/{tab-title/tab-title.d.ts.map → tab-label/tab-label.d.ts.map} +1 -1
- package/tabs/tab-label.d.ts +2 -0
- package/tabs/tab-label.d.ts.map +1 -0
- package/tabs/tab-label.js +51 -0
- package/tabs/tab.d.ts +2 -0
- package/tabs/tab.d.ts.map +1 -0
- package/tabs/tab.js +41 -0
- package/tabs.d.ts +2 -1
- package/tabs.d.ts.map +1 -1
- package/tabs.js +2 -1
- package/tag/tag-group.js +8 -8
- package/tag/tag.js +27 -27
- package/time-input.js +73 -73
- package/timetable-occupancy-icon.js +26 -26
- package/timetable-occupancy.js +9 -9
- package/toast.js +38 -38
- package/toggle/toggle-option.js +33 -33
- package/toggle/toggle.js +46 -46
- package/train/train-formation/train-formation.d.ts.map +1 -1
- package/train/train-formation.js +51 -51
- package/train/train-wagon.js +30 -30
- package/train/train.js +13 -13
- package/development/selection-panel/selection-panel.d.ts.map +0 -1
- package/development/selection-panel.d.ts +0 -2
- package/development/selection-panel.d.ts.map +0 -1
- package/development/selection-panel.js +0 -376
- package/development/tabs/tab-title.d.ts +0 -2
- package/development/tabs/tab-title.d.ts.map +0 -1
- package/development/teaser-hero/teaser-hero.d.ts +0 -26
- package/development/teaser-hero/teaser-hero.d.ts.map +0 -1
- package/development/teaser-hero.d.ts +0 -2
- package/development/teaser-hero.d.ts.map +0 -1
- package/development/teaser-hero.js +0 -181
- package/development/teaser-paid/teaser-paid.d.ts +0 -20
- package/development/teaser-paid/teaser-paid.d.ts.map +0 -1
- package/development/teaser-paid.d.ts +0 -2
- package/development/teaser-paid.d.ts.map +0 -1
- package/development/teaser-paid.js +0 -91
- package/selection-panel/selection-panel.d.ts.map +0 -1
- package/selection-panel.d.ts +0 -2
- package/selection-panel.d.ts.map +0 -1
- package/selection-panel.js +0 -138
- package/tabs/tab-title.d.ts +0 -2
- package/tabs/tab-title.d.ts.map +0 -1
- package/tabs/tab-title.js +0 -51
- package/teaser-hero/teaser-hero.d.ts +0 -26
- package/teaser-hero/teaser-hero.d.ts.map +0 -1
- package/teaser-hero.d.ts +0 -2
- package/teaser-hero.d.ts.map +0 -1
- package/teaser-hero.js +0 -51
- package/teaser-paid/teaser-paid.d.ts +0 -20
- package/teaser-paid/teaser-paid.d.ts.map +0 -1
- package/teaser-paid.d.ts +0 -2
- package/teaser-paid.d.ts.map +0 -1
- package/teaser-paid.js +0 -28
package/stepper/step.js
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import { css as o, LitElement as l, html as p } from "lit";
|
|
2
2
|
import { customElement as h } from "lit/decorators.js";
|
|
3
|
-
import { ref as
|
|
4
|
-
import { SbbConnectedAbortController as
|
|
3
|
+
import { ref as d } from "lit/directives/ref.js";
|
|
4
|
+
import { SbbConnectedAbortController as c } from "../core/controllers.js";
|
|
5
5
|
import { hostAttributes as v } from "../core/decorators.js";
|
|
6
6
|
import { EventEmitter as m } from "../core/eventing.js";
|
|
7
7
|
import { AgnosticResizeObserver as u } from "../core/observers.js";
|
|
8
8
|
const f = o`*,:before,:after{box-sizing:border-box}:host{--sbb-step-position: initial;--sbb-step-inset-block-start: unset;--sbb-step-opacity: 0;--sbb-step-visibility: hidden;--sbb-step-height: 0;--sbb-step-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x) );--sbb-step-animation-delay: 0;--sbb-step-color: var(--sbb-color-iron);display:contents}:host([data-selected]){--sbb-step-opacity: 1;--sbb-step-visibility: visible;--sbb-step-height: fit-content;--sbb-step-animation-duration: var(--sbb-animation-duration-4x);--sbb-step-animation-delay: var(--sbb-step-animation-duration)}:host([data-orientation=horizontal]){--sbb-step-position: absolute;--sbb-step-inset-block-start: 0}:host([data-orientation=vertical]) .sbb-step--wrapper{margin-inline-start:var(--sbb-spacing-fixed-4x);opacity:0;height:0;transition:height var(--sbb-stepper-animation-duration) var(--sbb-animation-easing),opacity var(--sbb-step-animation-duration) var(--sbb-animation-easing)}:host([data-selected][data-orientation=vertical]) .sbb-step--wrapper{opacity:1;height:var(--sbb-stepper-content-height);transition:height var(--sbb-stepper-animation-duration) var(--sbb-animation-easing),opacity var(--sbb-step-animation-duration) var(--sbb-stepper-animation-duration) var(--sbb-animation-easing)}.sbb-step{--sbb-text-font-size: var(--sbb-font-size-text-m);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);position:var(--sbb-step-position);width:100%;inset-block-start:var(--sbb-step-inset-block-start);opacity:var(--sbb-step-opacity);visibility:var(--sbb-step-visibility);height:var(--sbb-step-height);color:var(--sbb-step-color);transition-property:opacity,visibility;transition-duration:var(--sbb-step-animation-duration);transition-delay:var(--sbb-step-animation-delay);transition-timing-function:var(--sbb-animation-easing)}`;
|
|
9
|
-
var g = Object.defineProperty,
|
|
10
|
-
for (var e =
|
|
11
|
-
(
|
|
12
|
-
return
|
|
9
|
+
var g = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, y = (t, s, a, i) => {
|
|
10
|
+
for (var e = i > 1 ? void 0 : i ? _(s, a) : s, r = t.length - 1, b; r >= 0; r--)
|
|
11
|
+
(b = t[r]) && (e = (i ? b(s, a, e) : b(e)) || e);
|
|
12
|
+
return i && e && g(s, a, e), e;
|
|
13
13
|
};
|
|
14
|
-
let
|
|
14
|
+
let x = 0, n = class extends l {
|
|
15
15
|
constructor() {
|
|
16
|
-
super(...arguments), this.
|
|
16
|
+
super(...arguments), this._validate = new m(
|
|
17
17
|
this,
|
|
18
18
|
n.events.validate
|
|
19
|
-
), this.
|
|
20
|
-
(t) => this.
|
|
19
|
+
), this._loaded = !1, this._abort = new c(this), this._stepper = null, this._label = null, this._stepResizeObserver = new u(
|
|
20
|
+
(t) => this._onStepElementResize(t)
|
|
21
21
|
);
|
|
22
22
|
}
|
|
23
23
|
/** The label of the step. */
|
|
24
24
|
get label() {
|
|
25
|
-
return this.
|
|
25
|
+
return this._label;
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* Selects and configures the step.
|
|
29
29
|
* @internal
|
|
30
30
|
*/
|
|
31
31
|
select() {
|
|
32
|
-
!this.
|
|
32
|
+
!this._loaded || !this.label || (this.toggleAttribute("data-selected", !0), this.label.select());
|
|
33
33
|
}
|
|
34
34
|
/**
|
|
35
35
|
* Deselects and configures the step.
|
|
@@ -43,35 +43,35 @@ let w = 0, n = class extends l {
|
|
|
43
43
|
* @internal
|
|
44
44
|
*/
|
|
45
45
|
validate(t) {
|
|
46
|
-
return !!this.
|
|
46
|
+
return !!this._validate.emit(t);
|
|
47
47
|
}
|
|
48
48
|
/**
|
|
49
49
|
* Configures the step.
|
|
50
50
|
* @internal
|
|
51
51
|
*/
|
|
52
52
|
configure(t) {
|
|
53
|
-
t && (this.
|
|
53
|
+
t && (this._label = this._getStepLabel()), this.label && this.setAttribute("aria-labelledby", this.label.id);
|
|
54
54
|
}
|
|
55
55
|
/** Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes. */
|
|
56
|
-
|
|
57
|
-
var a,
|
|
58
|
-
const
|
|
59
|
-
|
|
56
|
+
_handleClick(t) {
|
|
57
|
+
var a, i;
|
|
58
|
+
const s = t.composedPath().filter((e) => e instanceof window.HTMLElement);
|
|
59
|
+
s.some((e) => this._isGoNextElement(e)) ? (a = this._stepper) == null || a.next() : s.some((e) => this._isGoPreviousElement(e)) && ((i = this._stepper) == null || i.previous());
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
_isGoNextElement(t) {
|
|
62
62
|
return t.hasAttribute("sbb-stepper-next") && !t.hasAttribute("disabled");
|
|
63
63
|
}
|
|
64
|
-
|
|
64
|
+
_isGoPreviousElement(t) {
|
|
65
65
|
return t.hasAttribute("sbb-stepper-previous") && !t.hasAttribute("disabled");
|
|
66
66
|
}
|
|
67
|
-
|
|
68
|
-
var a,
|
|
67
|
+
_onStepElementResize(t) {
|
|
68
|
+
var a, i;
|
|
69
69
|
if (!this.hasAttribute("data-selected"))
|
|
70
70
|
return;
|
|
71
|
-
const
|
|
72
|
-
(
|
|
71
|
+
const s = Math.floor(t[0].contentRect.height);
|
|
72
|
+
(i = (a = this._stepper) == null ? void 0 : a.style) == null || i.setProperty("--sbb-stepper-content-height", `${s}px`);
|
|
73
73
|
}
|
|
74
|
-
|
|
74
|
+
_getStepLabel() {
|
|
75
75
|
let t = this.previousElementSibling;
|
|
76
76
|
for (; t && t.localName !== "sbb-step-label"; )
|
|
77
77
|
t = t.previousElementSibling;
|
|
@@ -79,21 +79,21 @@ let w = 0, n = class extends l {
|
|
|
79
79
|
}
|
|
80
80
|
connectedCallback() {
|
|
81
81
|
super.connectedCallback();
|
|
82
|
-
const t = this.
|
|
83
|
-
this.id = this.id || `sbb-step-${
|
|
82
|
+
const t = this._abort.signal;
|
|
83
|
+
this.id = this.id || `sbb-step-${x++}`, this.addEventListener("click", (s) => this._handleClick(s), { signal: t }), this._stepper = this.closest("sbb-stepper"), this._label = this._getStepLabel();
|
|
84
84
|
}
|
|
85
85
|
firstUpdated(t) {
|
|
86
|
-
super.firstUpdated(t), this.
|
|
86
|
+
super.firstUpdated(t), this._loaded = !0;
|
|
87
87
|
}
|
|
88
88
|
disconnectedCallback() {
|
|
89
|
-
super.disconnectedCallback(), this.
|
|
89
|
+
super.disconnectedCallback(), this._stepResizeObserver.disconnect();
|
|
90
90
|
}
|
|
91
91
|
render() {
|
|
92
92
|
return p`
|
|
93
93
|
<div class="sbb-step--wrapper">
|
|
94
94
|
<div
|
|
95
95
|
class="sbb-step"
|
|
96
|
-
${
|
|
96
|
+
${d((t) => t && this._stepResizeObserver.observe(t))}
|
|
97
97
|
>
|
|
98
98
|
<slot></slot>
|
|
99
99
|
</div>
|
|
@@ -105,7 +105,7 @@ n.styles = f;
|
|
|
105
105
|
n.events = {
|
|
106
106
|
validate: "validate"
|
|
107
107
|
};
|
|
108
|
-
n =
|
|
108
|
+
n = y([
|
|
109
109
|
h("sbb-step"),
|
|
110
110
|
v({
|
|
111
111
|
slot: "step",
|
package/stepper/stepper.js
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import { css as h, LitElement as p, html as c } from "lit";
|
|
2
2
|
import { property as l, customElement as f } from "lit/decorators.js";
|
|
3
3
|
import { isArrowKeyPressed as u, getNextElementIndex as m } from "../core/a11y.js";
|
|
4
|
-
import { SbbConnectedAbortController as
|
|
5
|
-
import { breakpoints as
|
|
6
|
-
const
|
|
7
|
-
var
|
|
8
|
-
for (var r = i > 1 ? void 0 : i ?
|
|
9
|
-
(
|
|
10
|
-
return i && r &&
|
|
4
|
+
import { SbbConnectedAbortController as _ } from "../core/controllers.js";
|
|
5
|
+
import { breakpoints as v, isBreakpoint as g } from "../core/dom.js";
|
|
6
|
+
const x = h`*,:before,:after{box-sizing:border-box}:host{--sbb-stepper-orientation: row;--sbb-stepper-border-width: var(--sbb-border-width-1x);--sbb-stepper-marker-size: 0;--sbb-stepper-marker-width: var(--sbb-border-width-3x);--sbb-stepper-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-6x) );--sbb-stepper-marker-color: var(--sbb-color-charcoal);display:block;position:relative;counter-reset:step-label}@media (forced-colors: active){:host{--sbb-stepper-marker-color: ButtonText}}:host([data-disable-animation]){--sbb-disable-animation-time: .1ms;--sbb-disable-animation-zero-time: 0s}:host([orientation=vertical]){--sbb-stepper-orientation: column}.sbb-stepper{width:100%}.sbb-stepper__labels{display:flex;flex-direction:var(--sbb-stepper-orientation);position:relative;justify-content:space-between;margin-block-end:var(--sbb-spacing-responsive-m)}.sbb-stepper__labels:before{content:"";position:absolute;inset-inline-start:calc(var(--sbb-stepper-border-width) * -1);background-color:var(--sbb-stepper-marker-color)}:host([orientation=horizontal]) .sbb-stepper__labels{gap:var(--sbb-spacing-fixed-4x);padding-block-end:var(--sbb-spacing-fixed-4x);border-block-end:var(--sbb-stepper-border-width) solid var(--sbb-color-cloud)}:host([orientation=horizontal]) .sbb-stepper__labels:before{inset-block-end:calc(var(--sbb-stepper-border-width) * -1);height:var(--sbb-stepper-marker-width);width:var(--sbb-stepper-marker-size);transition:width var(--sbb-stepper-animation-duration) var(--sbb-animation-easing)}:host([orientation=vertical]) .sbb-stepper__labels{padding-inline-start:var(--sbb-spacing-fixed-4x);border-inline-start:var(--sbb-stepper-border-width) solid var(--sbb-color-cloud)}:host([orientation=vertical]) .sbb-stepper__labels:before{inset-block-start:0;width:var(--sbb-stepper-marker-width);height:var(--sbb-stepper-marker-size);transition:height var(--sbb-stepper-animation-duration) var(--sbb-animation-easing)}.sbb-stepper__steps{position:relative}:host([orientation=horizontal]) .sbb-stepper__steps{height:var(--sbb-stepper-content-height);transition:height var(--sbb-stepper-animation-duration) var(--sbb-animation-easing)}::slotted(sbb-step-label):before{content:counter(step-label);counter-increment:step-label}`;
|
|
7
|
+
var z = Object.defineProperty, w = Object.getOwnPropertyDescriptor, n = (e, t, s, i) => {
|
|
8
|
+
for (var r = i > 1 ? void 0 : i ? w(t, s) : t, a = e.length - 1, d; a >= 0; a--)
|
|
9
|
+
(d = e[a]) && (r = (i ? d(t, s, r) : d(r)) || r);
|
|
10
|
+
return i && r && z(t, s, r), r;
|
|
11
11
|
};
|
|
12
|
-
const
|
|
12
|
+
const b = 150;
|
|
13
13
|
let o = class extends p {
|
|
14
14
|
constructor() {
|
|
15
|
-
super(...arguments), this.linear = !1, this.orientation = "horizontal", this.
|
|
15
|
+
super(...arguments), this.linear = !1, this.orientation = "horizontal", this._loaded = !1, this._abort = new _(this), this._resizeObserverTimeout = null;
|
|
16
16
|
}
|
|
17
17
|
set horizontalFrom(e) {
|
|
18
|
-
this.
|
|
18
|
+
this._horizontalFrom = v.includes(e) ? e : void 0, this._horizontalFrom && this._loaded && this._checkOrientation();
|
|
19
19
|
}
|
|
20
20
|
get horizontalFrom() {
|
|
21
|
-
return this.
|
|
21
|
+
return this._horizontalFrom;
|
|
22
22
|
}
|
|
23
23
|
set selected(e) {
|
|
24
|
-
this.
|
|
24
|
+
this._loaded && this._select(e);
|
|
25
25
|
}
|
|
26
26
|
get selected() {
|
|
27
27
|
var e;
|
|
28
28
|
return ((e = this.querySelector) == null ? void 0 : e.call(this, "sbb-step[data-selected]")) ?? void 0;
|
|
29
29
|
}
|
|
30
30
|
set selectedIndex(e) {
|
|
31
|
-
this.
|
|
31
|
+
this._loaded && this._select(this.steps[e]);
|
|
32
32
|
}
|
|
33
33
|
get selectedIndex() {
|
|
34
34
|
return this.selected ? this.steps.indexOf(this.selected) : void 0;
|
|
@@ -38,7 +38,7 @@ let o = class extends p {
|
|
|
38
38
|
var e;
|
|
39
39
|
return Array.from(((e = this.querySelectorAll) == null ? void 0 : e.call(this, "sbb-step")) ?? []);
|
|
40
40
|
}
|
|
41
|
-
get
|
|
41
|
+
get _enabledSteps() {
|
|
42
42
|
return this.steps.filter((e) => {
|
|
43
43
|
var t;
|
|
44
44
|
return !((t = e.label) != null && t.hasAttribute("disabled"));
|
|
@@ -46,11 +46,11 @@ let o = class extends p {
|
|
|
46
46
|
}
|
|
47
47
|
/** Selects the next step. */
|
|
48
48
|
next() {
|
|
49
|
-
this.selectedIndex !== void 0 && this.
|
|
49
|
+
this.selectedIndex !== void 0 && this._select(this.steps[this.selectedIndex + 1]);
|
|
50
50
|
}
|
|
51
51
|
/** Selects the previous step. */
|
|
52
52
|
previous() {
|
|
53
|
-
this.selectedIndex !== void 0 && this.
|
|
53
|
+
this.selectedIndex !== void 0 && this._select(this.steps[this.selectedIndex - 1]);
|
|
54
54
|
}
|
|
55
55
|
/** Resets the form in which the stepper is nested or every form of each step, if any. */
|
|
56
56
|
reset() {
|
|
@@ -58,7 +58,7 @@ let o = class extends p {
|
|
|
58
58
|
const e = this.closest("form");
|
|
59
59
|
e ? e.reset() : this.querySelectorAll("form").forEach((r) => r.reset()), this.selectedIndex = 0, ((t = document.activeElement) == null ? void 0 : t.closest("sbb-stepper")) === this && ((i = (s = this.selected) == null ? void 0 : s.label) == null || i.focus());
|
|
60
60
|
}
|
|
61
|
-
|
|
61
|
+
_isValidStep(e) {
|
|
62
62
|
var t;
|
|
63
63
|
if (!e || !this.linear && ((t = e.label) != null && t.hasAttribute("disabled")))
|
|
64
64
|
return !1;
|
|
@@ -70,9 +70,9 @@ let o = class extends p {
|
|
|
70
70
|
}
|
|
71
71
|
return !0;
|
|
72
72
|
}
|
|
73
|
-
|
|
73
|
+
_select(e) {
|
|
74
74
|
var i, r, a;
|
|
75
|
-
if (!this.
|
|
75
|
+
if (!this._isValidStep(e))
|
|
76
76
|
return;
|
|
77
77
|
const t = {
|
|
78
78
|
currentIndex: this.selectedIndex,
|
|
@@ -83,15 +83,15 @@ let o = class extends p {
|
|
|
83
83
|
if (this.selected && !this.selected.validate(t))
|
|
84
84
|
return;
|
|
85
85
|
const s = this.selected;
|
|
86
|
-
s == null || s.deselect(), e.select(), this.
|
|
86
|
+
s == null || s.deselect(), e.select(), this._setMarkerSize(), this._configureLinearMode(), ((i = document.activeElement) == null ? void 0 : i.closest("sbb-stepper")) === this && ((a = (r = this.selected) == null ? void 0 : r.label) == null || a.focus());
|
|
87
87
|
}
|
|
88
|
-
|
|
89
|
-
if (!this.
|
|
88
|
+
_setMarkerSize() {
|
|
89
|
+
if (!this._loaded || !this.selected || this.selectedIndex === void 0 || !this.selected.label)
|
|
90
90
|
return;
|
|
91
|
-
const e = this.orientation === "horizontal" ? this.selected.label.offsetLeft + this.selected.label.offsetWidth : this.
|
|
91
|
+
const e = this.orientation === "horizontal" ? this.selected.label.offsetLeft + this.selected.label.offsetWidth : this._calculateLabelOffsetTop();
|
|
92
92
|
this.style.setProperty("--sbb-stepper-marker-size", `${e}px`);
|
|
93
93
|
}
|
|
94
|
-
|
|
94
|
+
_calculateLabelOffsetTop() {
|
|
95
95
|
if (this.selectedIndex === void 0)
|
|
96
96
|
return;
|
|
97
97
|
let e = 0;
|
|
@@ -102,28 +102,28 @@ let o = class extends p {
|
|
|
102
102
|
}
|
|
103
103
|
return e + this.selected.label.offsetHeight + parseFloat(getComputedStyle(this).getPropertyValue("--sbb-spacing-fixed-6x")) * 16 * this.selectedIndex;
|
|
104
104
|
}
|
|
105
|
-
|
|
105
|
+
_configure() {
|
|
106
106
|
const e = this.steps;
|
|
107
|
-
e.forEach((t) => t.configure(this.
|
|
108
|
-
t.configure(s + 1, i.length, this.
|
|
109
|
-
}), this.
|
|
107
|
+
e.forEach((t) => t.configure(this._loaded)), e.filter((t) => t.label).map((t) => t.label).forEach((t, s, i) => {
|
|
108
|
+
t.configure(s + 1, i.length, this._loaded);
|
|
109
|
+
}), this._select(this.selected || this._enabledSteps[0]);
|
|
110
110
|
}
|
|
111
|
-
|
|
111
|
+
_updateLabels() {
|
|
112
112
|
this.steps.forEach((e) => {
|
|
113
113
|
var t;
|
|
114
114
|
e.slot = this.orientation === "horizontal" ? "step" : "step-label", e.setAttribute("data-orientation", this.orientation), (t = e.label) == null || t.setAttribute("data-orientation", this.orientation);
|
|
115
115
|
});
|
|
116
116
|
}
|
|
117
|
-
|
|
118
|
-
this.horizontalFrom && (this.orientation = g(this.horizontalFrom) ? "horizontal" : "vertical", this.
|
|
117
|
+
_checkOrientation() {
|
|
118
|
+
this.horizontalFrom && (this.orientation = g(this.horizontalFrom) ? "horizontal" : "vertical", this._updateLabels()), setTimeout(() => this._setMarkerSize(), 0);
|
|
119
119
|
}
|
|
120
|
-
|
|
121
|
-
this.
|
|
120
|
+
_onStepperResize() {
|
|
121
|
+
this._checkOrientation(), clearTimeout(this._resizeObserverTimeout), this.toggleAttribute("data-disable-animation", !0), this._resizeObserverTimeout = setTimeout(
|
|
122
122
|
() => this.toggleAttribute("data-disable-animation", !1),
|
|
123
|
-
|
|
123
|
+
b
|
|
124
124
|
);
|
|
125
125
|
}
|
|
126
|
-
|
|
126
|
+
_configureLinearMode() {
|
|
127
127
|
this.steps.forEach((e, t) => {
|
|
128
128
|
var s;
|
|
129
129
|
(s = e.label) == null || s.toggleAttribute(
|
|
@@ -134,40 +134,40 @@ let o = class extends p {
|
|
|
134
134
|
}
|
|
135
135
|
connectedCallback() {
|
|
136
136
|
super.connectedCallback();
|
|
137
|
-
const e = this.
|
|
138
|
-
this.addEventListener("keydown", (t) => this.
|
|
137
|
+
const e = this._abort.signal;
|
|
138
|
+
this.addEventListener("keydown", (t) => this._handleKeyDown(t), { signal: e }), window.addEventListener("resize", () => this._onStepperResize(), {
|
|
139
139
|
signal: e,
|
|
140
140
|
passive: !0
|
|
141
|
-
}), this.toggleAttribute("data-disable-animation", !this.
|
|
141
|
+
}), this.toggleAttribute("data-disable-animation", !this._loaded);
|
|
142
142
|
}
|
|
143
143
|
async firstUpdated(e) {
|
|
144
|
-
super.firstUpdated(e), await this.updateComplete, this.
|
|
144
|
+
super.firstUpdated(e), await this.updateComplete, this._loaded = !0, this.selectedIndex = this.linear ? 0 : Number(this.getAttribute("selected-index")) || 0, this._checkOrientation(), setTimeout(() => this.toggleAttribute("data-disable-animation", !1), b);
|
|
145
145
|
}
|
|
146
146
|
willUpdate(e) {
|
|
147
|
-
super.willUpdate(e), e.has("orientation") && !this.horizontalFrom && (this.
|
|
147
|
+
super.willUpdate(e), e.has("orientation") && !this.horizontalFrom && (this._updateLabels(), this._setMarkerSize()), e.has("linear") && this._loaded && this._configureLinearMode();
|
|
148
148
|
}
|
|
149
|
-
|
|
150
|
-
const t = this.
|
|
149
|
+
_handleKeyDown(e) {
|
|
150
|
+
const t = this._enabledSteps;
|
|
151
151
|
if (!(!t || // don't trap nested handling
|
|
152
152
|
e.target !== this && e.target.parentElement !== this) && u(e)) {
|
|
153
153
|
const s = t.indexOf(this.selected), i = m(e, s, t.length);
|
|
154
|
-
this.
|
|
154
|
+
this._select(t[i]), e.preventDefault();
|
|
155
155
|
}
|
|
156
156
|
}
|
|
157
157
|
render() {
|
|
158
158
|
return c`
|
|
159
159
|
<div class="sbb-stepper">
|
|
160
160
|
<div class="sbb-stepper__labels" role="tablist">
|
|
161
|
-
<slot name="step-label" @slotchange=${this.
|
|
161
|
+
<slot name="step-label" @slotchange=${this._configure}></slot>
|
|
162
162
|
</div>
|
|
163
163
|
<div class="sbb-stepper__steps">
|
|
164
|
-
<slot name="step" @slotchange=${this.
|
|
164
|
+
<slot name="step" @slotchange=${this._configure}></slot>
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
167
|
`;
|
|
168
168
|
}
|
|
169
169
|
};
|
|
170
|
-
o.styles =
|
|
170
|
+
o.styles = x;
|
|
171
171
|
n([
|
|
172
172
|
l({ type: Boolean })
|
|
173
173
|
], o.prototype, "linear", 2);
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/elements/tabs/tab/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC"}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { CSSResultGroup, TemplateResult, LitElement } from 'lit';
|
|
2
|
+
import { SbbTabLabelElement } from '../tab-label.js';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Combined with a `sbb-tab-group`, it displays a tab's content.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Use the unnamed slot to provide content.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SbbTabElement extends LitElement {
|
|
10
|
+
static styles: CSSResultGroup;
|
|
11
|
+
/** The `sbb-tab-label` associated with the tab. */
|
|
12
|
+
get label(): SbbTabLabelElement | null;
|
|
13
|
+
private _label;
|
|
14
|
+
private _getTabLabel;
|
|
15
|
+
/** @internal */
|
|
16
|
+
configure(): void;
|
|
17
|
+
protected render(): TemplateResult;
|
|
18
|
+
}
|
|
19
|
+
declare global {
|
|
20
|
+
interface HTMLElementTagNameMap {
|
|
21
|
+
'sbb-tab': SbbTabElement;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
//# sourceMappingURL=tab.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"tab.d.ts","sourceRoot":"","sources":["../../../../src/elements/tabs/tab/tab.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1D,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAGvC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AAI1D;;;;GAIG;AACH,qBACa,aAAc,SAAQ,UAAU;IAC3C,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,mDAAmD;IACnD,IAAW,KAAK,IAAI,kBAAkB,GAAG,IAAI,CAE5C;IACD,OAAO,CAAC,MAAM,CAAmC;IAEjD,OAAO,CAAC,YAAY;IAQpB,gBAAgB;IACT,SAAS,IAAI,IAAI;cAIL,MAAM,IAAI,cAAc;CAO5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,SAAS,EAAE,aAAa,CAAC;KAC1B;CACF"}
|
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
import { CSSResultGroup, PropertyValues, TemplateResult, LitElement } from 'lit';
|
|
2
|
+
import { SbbTabLabelElement } from '../tab-label.js';
|
|
3
|
+
import { SbbTabElement } from '../tab.js';
|
|
2
4
|
|
|
5
|
+
export type SbbTabSupportedContentType = SbbTabElement | SbbTabGroupElement;
|
|
6
|
+
export type SbbTabChangedEventDetails = {
|
|
7
|
+
activeIndex: number;
|
|
8
|
+
activeTabLabel: SbbTabLabelElement;
|
|
9
|
+
activeTab: SbbTabElement;
|
|
10
|
+
previousIndex: number;
|
|
11
|
+
previousTabLabel: SbbTabLabelElement | undefined;
|
|
12
|
+
previousTab: SbbTabElement | undefined;
|
|
13
|
+
};
|
|
3
14
|
export interface InterfaceSbbTabGroupActions {
|
|
4
15
|
activate(): void;
|
|
5
16
|
deactivate(): void;
|
|
@@ -7,10 +18,10 @@ export interface InterfaceSbbTabGroupActions {
|
|
|
7
18
|
disable(): void;
|
|
8
19
|
select(): void;
|
|
9
20
|
}
|
|
10
|
-
export interface InterfaceSbbTabGroupTab extends
|
|
21
|
+
export interface InterfaceSbbTabGroupTab extends SbbTabLabelElement {
|
|
11
22
|
active?: boolean;
|
|
12
|
-
disabled
|
|
13
|
-
relatedContent?:
|
|
23
|
+
disabled: boolean;
|
|
24
|
+
relatedContent?: SbbTabSupportedContentType;
|
|
14
25
|
index?: number;
|
|
15
26
|
tabGroupActions?: InterfaceSbbTabGroupActions;
|
|
16
27
|
size: 's' | 'l' | 'xl';
|
|
@@ -18,13 +29,11 @@ export interface InterfaceSbbTabGroupTab extends HTMLElement {
|
|
|
18
29
|
/**
|
|
19
30
|
* It displays one or more tab, each one with a title and a content.
|
|
20
31
|
*
|
|
21
|
-
* @slot - Use the unnamed slot to add html-content to the `sbb-tab-group
|
|
22
|
-
*
|
|
23
|
-
*
|
|
24
|
-
* This is not correct: `<span>Some text</span><p>Some other text</p>`
|
|
25
|
-
* @slot tab-bar - When you provide the `sbb-tab-title` tag through the unnamed slot,
|
|
32
|
+
* @slot - Use the unnamed slot to add html-content to the `sbb-tab-group`;
|
|
33
|
+
* wrap the content in a `sbb-tab` or provide a nested `sbb-tab-group`.
|
|
34
|
+
* @slot tab-bar - When you provide the `sbb-tab-label` tag through the unnamed slot,
|
|
26
35
|
* it will be automatically moved to this slot. You do not need to use it directly.
|
|
27
|
-
* @event {CustomEvent<
|
|
36
|
+
* @event {CustomEvent<SbbTabChangedEventDetails>} didChange - Emits an event on selected tab change.
|
|
28
37
|
*/
|
|
29
38
|
export declare class SbbTabGroupElement extends LitElement {
|
|
30
39
|
static styles: CSSResultGroup;
|
|
@@ -39,9 +48,7 @@ export declare class SbbTabGroupElement extends LitElement {
|
|
|
39
48
|
private _tabAttributeObserver;
|
|
40
49
|
private _tabGroupResizeObserver;
|
|
41
50
|
private _tabContentResizeObserver;
|
|
42
|
-
/**
|
|
43
|
-
* Size variant, either s, l or xl.
|
|
44
|
-
*/
|
|
51
|
+
/** Size variant, either s, l or xl. */
|
|
45
52
|
set size(value: InterfaceSbbTabGroupTab['size']);
|
|
46
53
|
get size(): InterfaceSbbTabGroupTab['size'];
|
|
47
54
|
private _size;
|
|
@@ -51,9 +58,7 @@ export declare class SbbTabGroupElement extends LitElement {
|
|
|
51
58
|
*/
|
|
52
59
|
initialSelectedIndex: number;
|
|
53
60
|
private _updateSize;
|
|
54
|
-
/**
|
|
55
|
-
* Emits an event on selected tab change
|
|
56
|
-
*/
|
|
61
|
+
/** Emits an event on selected tab change. */
|
|
57
62
|
private _selectedTabChanged;
|
|
58
63
|
/**
|
|
59
64
|
* Disables a tab by index.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tab-group.d.ts","sourceRoot":"","sources":["../../../../src/elements/tabs/tab-group/tab-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;
|
|
1
|
+
{"version":3,"file":"tab-group.d.ts","sourceRoot":"","sources":["../../../../src/elements/tabs/tab-group/tab-group.ts"],"names":[],"mappings":"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"}
|