@sbb-esta/lyne-elements-dev 5.0.0-next-dev.1776760633 → 5.0.0-next-dev.1776866482
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/{block-link-common-CDrCAdGP.js → block-link-common-CiqQc2Rs.js} +1 -1
- package/core/styles/core.scss +11 -0
- package/core/styles/mixins/helpers.scss +3 -3
- package/core/styles/mixins/panel.scss +5 -1
- package/core.css +38 -0
- package/custom-elements.json +1630 -1291
- package/development/{block-link-common-CwurjMj1.js → block-link-common-B9Vx8CTp.js} +2 -2
- package/development/form-field/form-field/form-field.component.js +1 -1
- package/development/{form-field.component-BHMh3V6s.js → form-field.component-M0wf8ZR8.js} +2 -2
- package/development/form-field.js +1 -1
- package/development/form-field.pure.js +1 -1
- package/development/link/common/block-link-common.js +1 -1
- package/development/link.js +1 -1
- package/development/link.pure.js +1 -1
- package/development/slider/slider.component.js +1 -1
- package/development/{slider.component-ZBdkbZei.js → slider.component-CXrGIpkh.js} +2 -2
- package/development/slider.js +1 -1
- package/development/slider.pure.js +1 -1
- package/development/step-label.component-BTXuaONx.js +126 -0
- package/development/stepper/step-label/step-label.component.js +1 -1
- package/development/stepper.js +1 -1
- package/development/stepper.pure.js +1 -1
- package/development/teaser/teaser.component.js +1 -1
- package/development/teaser-hero/teaser-hero.component.d.ts.map +1 -1
- package/development/teaser-hero/teaser-hero.component.js +1 -1
- package/development/teaser-hero.component-De621iKn.js +100 -0
- package/development/teaser-hero.js +1 -1
- package/development/teaser-hero.pure.js +1 -1
- package/development/teaser-panel/teaser-panel.component.d.ts +19 -0
- package/development/teaser-panel/teaser-panel.component.d.ts.map +1 -0
- package/development/teaser-panel/teaser-panel.component.js +2 -0
- package/development/teaser-panel.component-CjSrfJYG.js +32 -0
- package/development/teaser-panel.d.ts +2 -0
- package/development/teaser-panel.d.ts.map +1 -0
- package/development/teaser-panel.js +9 -0
- package/development/teaser-panel.pure.d.ts +3 -0
- package/development/teaser-panel.pure.d.ts.map +1 -0
- package/development/teaser-panel.pure.js +2 -0
- package/development/teaser-product/common/teaser-product-common.js +1 -1
- package/development/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/development/{teaser-product-common-DhbAGnQN.js → teaser-product-common-DasV_SDa.js} +1 -1
- package/development/{teaser-product.component-C3PZbA5W.js → teaser-product.component-CB6fOX7T.js} +1 -1
- package/development/teaser-product.js +2 -2
- package/development/teaser-product.pure.js +2 -2
- package/development/{teaser.component-BJso_6lz.js → teaser.component-DwM26tMt.js} +1 -1
- package/development/teaser.js +1 -1
- package/development/teaser.pure.js +1 -1
- package/development/time-input/time-input.component.js +1 -1
- package/development/{time-input.component-BWMBV6fm.js → time-input.component-x-QOtbwE.js} +1 -1
- package/development/time-input.js +1 -1
- package/development/time-input.pure.js +1 -1
- package/development/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/development/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/development/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/development/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/development/{timetable-form-details.component-C8EdT4rZ.js → timetable-form-details.component-B7mwIQoz.js} +1 -1
- package/development/{timetable-form-field.component-CoANLGWk.js → timetable-form-field.component-BIpoMaJW.js} +1 -1
- package/development/{timetable-form-swap-button.component-_EUhzoww.js → timetable-form-swap-button.component-DM7UFhGh.js} +1 -1
- package/development/{timetable-form.component-DLjBbFRv.js → timetable-form.component-BBkeono7.js} +1 -1
- package/development/timetable-form.js +4 -4
- package/development/timetable-form.pure.js +4 -4
- package/development/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/development/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/development/{timetable-occupancy-icon.component-DXFUx67a.js → timetable-occupancy-icon.component-CRayfWIo.js} +1 -1
- package/development/timetable-occupancy-icon.js +1 -1
- package/development/timetable-occupancy-icon.pure.js +1 -1
- package/development/{timetable-occupancy.component-By7X3Sj2.js → timetable-occupancy.component-D6BIvkpY.js} +1 -1
- package/development/timetable-occupancy.js +1 -1
- package/development/timetable-occupancy.pure.js +1 -1
- package/development/title/title-base.js +1 -1
- package/development/title/title.component.js +1 -1
- package/development/{title-base-Bc3biGfy.js → title-base-CWLTIRh_.js} +1 -1
- package/development/{title.component-B7rIqG0N.js → title.component-TCKohHBO.js} +2 -2
- package/development/title.js +2 -2
- package/development/title.pure.js +2 -2
- package/development/toast/toast.component.js +1 -1
- package/development/{toast.component-lPPTFudM.js → toast.component-CZL72aVO.js} +1 -1
- package/development/toast.js +1 -1
- package/development/toast.pure.js +1 -1
- package/development/toggle/toggle/toggle.component.js +1 -1
- package/development/toggle/toggle-option/toggle-option.component.js +1 -1
- package/development/toggle-check/toggle-check.component.js +1 -1
- package/development/toggle-check.component-LYr7DJj1.js +156 -0
- package/development/toggle-check.js +1 -1
- package/development/toggle-check.pure.js +1 -1
- package/development/{toggle-option.component-DscH6K3b.js → toggle-option.component-DRAJ11fp.js} +1 -1
- package/development/{toggle.component-Dap1d4rK.js → toggle.component-BeHHTgRh.js} +1 -1
- package/development/toggle.js +2 -2
- package/development/toggle.pure.js +2 -2
- package/development/tooltip/tooltip.component.js +1 -1
- package/development/{tooltip.component-lvElko6C.js → tooltip.component-BV0yBh9f.js} +1 -1
- package/development/tooltip.js +1 -1
- package/development/tooltip.pure.js +1 -1
- package/development/train/train/train.component.js +1 -1
- package/development/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/development/train/train-formation/train-formation.component.js +1 -1
- package/development/train/train-wagon/train-wagon.component.js +1 -1
- package/development/{train-blocked-passage.component-C6XmqBo_.js → train-blocked-passage.component-Bh2dR1gn.js} +1 -1
- package/development/{train-formation.component-BoQcwy6n.js → train-formation.component-Dm0t9N_h.js} +1 -1
- package/development/{train-wagon.component-zQVbqhIL.js → train-wagon.component-X0XSMLK_.js} +1 -1
- package/development/{train.component-D5Z4vgej.js → train.component-BvbNBkZF.js} +1 -1
- package/development/train.js +4 -4
- package/development/train.pure.js +4 -4
- package/development/visual-checkbox/visual-checkbox.component.js +1 -1
- package/development/{visual-checkbox.component-jRksxrOu.js → visual-checkbox.component-DJ30EugM.js} +1 -1
- package/development/visual-checkbox.js +1 -1
- package/development/visual-checkbox.pure.js +1 -1
- package/form-field/form-field/form-field.component.js +1 -1
- package/{form-field.component-D8qiPCgJ.js → form-field.component-DbV7fMoe.js} +1 -1
- package/form-field.js +1 -1
- package/form-field.pure.js +1 -1
- package/index.d.ts +2 -0
- package/index.js +2 -0
- package/link/common/block-link-common.js +1 -1
- package/link.js +1 -1
- package/link.pure.js +1 -1
- package/off-brand-theme.css +38 -0
- package/package.json +12 -2
- package/safety-theme.css +38 -0
- package/slider/slider.component.js +1 -1
- package/{slider.component-B3V7sjSF.js → slider.component-DfMkuXac.js} +1 -1
- package/slider.js +1 -1
- package/slider.pure.js +1 -1
- package/standard-theme.css +38 -0
- package/step-label.component-CbtQ7MvH.js +77 -0
- package/stepper/step-label/step-label.component.js +1 -1
- package/stepper.js +1 -1
- package/stepper.pure.js +1 -1
- package/teaser/teaser.component.js +1 -1
- package/teaser-hero/teaser-hero.component.js +1 -1
- package/teaser-hero.component-BUhWjc2i.js +80 -0
- package/teaser-hero.js +1 -1
- package/teaser-hero.pure.js +1 -1
- package/teaser-panel/teaser-panel.component.js +2 -0
- package/teaser-panel.component-C4auDYCc.js +21 -0
- package/teaser-panel.js +6 -0
- package/teaser-panel.pure.js +2 -0
- package/teaser-product/common/teaser-product-common.js +1 -1
- package/teaser-product/teaser-product/teaser-product.component.js +1 -1
- package/teaser-product.js +2 -2
- package/teaser-product.pure.js +2 -2
- package/teaser.js +1 -1
- package/teaser.pure.js +1 -1
- package/time-input/time-input.component.js +1 -1
- package/time-input.js +1 -1
- package/time-input.pure.js +1 -1
- package/timetable-form/timetable-form/timetable-form.component.js +1 -1
- package/timetable-form/timetable-form-details/timetable-form-details.component.js +1 -1
- package/timetable-form/timetable-form-field/timetable-form-field.component.js +1 -1
- package/timetable-form/timetable-form-swap-button/timetable-form-swap-button.component.js +1 -1
- package/timetable-form.js +4 -4
- package/timetable-form.pure.js +4 -4
- package/timetable-occupancy/timetable-occupancy.component.js +1 -1
- package/timetable-occupancy-icon/timetable-occupancy-icon.component.js +1 -1
- package/timetable-occupancy-icon.js +1 -1
- package/timetable-occupancy-icon.pure.js +1 -1
- package/timetable-occupancy.js +1 -1
- package/timetable-occupancy.pure.js +1 -1
- package/title/title-base.js +1 -1
- package/title/title.component.js +1 -1
- package/{title.component-7zqQqbRJ.js → title.component-CjDkG7gT.js} +1 -1
- package/title.js +2 -2
- package/title.pure.js +2 -2
- package/toast/toast.component.js +1 -1
- package/toast.js +1 -1
- package/toast.pure.js +1 -1
- package/toggle/toggle/toggle.component.js +1 -1
- package/toggle/toggle-option/toggle-option.component.js +1 -1
- package/toggle-check/toggle-check.component.js +1 -1
- package/toggle-check.component-WVQ4NM-R.js +116 -0
- package/toggle-check.js +1 -1
- package/toggle-check.pure.js +1 -1
- package/toggle.js +2 -2
- package/toggle.pure.js +2 -2
- package/tooltip/tooltip.component.js +1 -1
- package/tooltip.js +1 -1
- package/tooltip.pure.js +1 -1
- package/train/train/train.component.js +1 -1
- package/train/train-blocked-passage/train-blocked-passage.component.js +1 -1
- package/train/train-formation/train-formation.component.js +1 -1
- package/train/train-wagon/train-wagon.component.js +1 -1
- package/train.js +4 -4
- package/train.pure.js +4 -4
- package/visual-checkbox/visual-checkbox.component.js +1 -1
- package/visual-checkbox.js +1 -1
- package/visual-checkbox.pure.js +1 -1
- package/development/step-label.component-B7M9Yqyz.js +0 -126
- package/development/teaser-hero.component-7KeR7bPf.js +0 -101
- package/development/toggle-check.component-CuODx4cx.js +0 -156
- package/step-label.component-BXg13qOD.js +0 -77
- package/teaser-hero.component-CLuVP2ba.js +0 -81
- package/toggle-check.component-DkOBgRQM.js +0 -116
- /package/{teaser-product-common-B8NakRRV.js → teaser-product-common-Kz3ApcVE.js} +0 -0
- /package/{teaser-product.component-Dqapk40c.js → teaser-product.component-C7KoSqcP.js} +0 -0
- /package/{teaser.component-BaxumXCl.js → teaser.component-Bl_Myx2h.js} +0 -0
- /package/{time-input.component-N0DexLd9.js → time-input.component-BVoO7JLV.js} +0 -0
- /package/{timetable-form-details.component-CIY5ZAQJ.js → timetable-form-details.component-BQmF3WLu.js} +0 -0
- /package/{timetable-form-field.component-LuzgeDdh.js → timetable-form-field.component-DrQuTOJr.js} +0 -0
- /package/{timetable-form-swap-button.component-BT36u2L9.js → timetable-form-swap-button.component-C9dU9vDV.js} +0 -0
- /package/{timetable-form.component-YNDnJnkX.js → timetable-form.component-AbZF15Tg.js} +0 -0
- /package/{timetable-occupancy-icon.component-DPNwMhLs.js → timetable-occupancy-icon.component-B6pF-j0D.js} +0 -0
- /package/{timetable-occupancy.component-BbHtiw_F.js → timetable-occupancy.component-CLpJ-rjI.js} +0 -0
- /package/{title-base-Cbe4eNS1.js → title-base-HD0z6npS.js} +0 -0
- /package/{toast.component-ccBpQmCC.js → toast.component-DzsaWxPV.js} +0 -0
- /package/{toggle-option.component-BiyjKQB1.js → toggle-option.component-DeePQ-NW.js} +0 -0
- /package/{toggle.component-CVbRdQDM.js → toggle.component-D7X0E_hM.js} +0 -0
- /package/{tooltip.component-Do4V1jGd.js → tooltip.component-BCRFxBuV.js} +0 -0
- /package/{train-blocked-passage.component-EET0Kobk.js → train-blocked-passage.component-DIh8dbU9.js} +0 -0
- /package/{train-formation.component-B8IFJ_7b.js → train-formation.component-DS4EDwPY.js} +0 -0
- /package/{train-wagon.component-CLMLEf6I.js → train-wagon.component-CZiVPOaZ.js} +0 -0
- /package/{train.component-D_ysGCwu.js → train.component-DuFi_iBX.js} +0 -0
- /package/{visual-checkbox.component-CdqoYyEe.js → visual-checkbox.component-BsjmJgcn.js} +0 -0
package/teaser-hero.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./teaser-hero.component-
|
|
1
|
+
import { t as e } from "./teaser-hero.component-BUhWjc2i.js";
|
|
2
2
|
export { e as SbbTeaserHeroElement };
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { unsafeCSS as e } from "lit";
|
|
2
|
+
import { SbbElement as t, boxSizingStyles as n } from "./core.js";
|
|
3
|
+
import { html as r } from "lit/static-html.js";
|
|
4
|
+
//#region src/elements/teaser-panel/teaser-panel.scss?inline
|
|
5
|
+
var i = ":host{--sbb-panel-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--_sbb-panel-height: calc(var(--sbb-panel-inner-height) + 2 * var(--sbb-panel-triangle-height));display:block;position:relative;width:100%;height:100%;inset:0;min-height:var(--_sbb-panel-height);font-size:var(--sbb-panel-font-size);font-weight:var(--sbb-panel-font-weight);line-height:var(--sbb-panel-line-height);letter-spacing:var(--sbb-typo-letter-spacing-heading);color:var(--sbb-panel-color);-webkit-hyphens:auto;hyphens:auto}@media(any-hover:hover){:host(:hover){--sbb-panel-background-color: var(--sbb-panel-background-color-hover)}}.sbb-teaser-panel{position:absolute;top:50%;translate:0 -50%;display:flex;flex-direction:column;justify-content:center;gap:var(--sbb-panel-gap);width:var(--sbb-panel-width);height:var(--_sbb-panel-height);padding-block:var(--sbb-panel-triangle-height);padding-inline:var(--sbb-panel-padding-inline);clip-path:polygon(0 0,100% var(--sbb-panel-triangle-height),100% calc(100% - var(--sbb-panel-triangle-height)),0% 100%);background-color:var(--sbb-panel-background-color);transition:background var(--sbb-panel-animation-duration) var(--sbb-panel-animation-easing)}", a = class extends t {
|
|
6
|
+
static {
|
|
7
|
+
this.elementName = "sbb-teaser-panel";
|
|
8
|
+
}
|
|
9
|
+
static {
|
|
10
|
+
this.styles = [n, e(i)];
|
|
11
|
+
}
|
|
12
|
+
render() {
|
|
13
|
+
return r`
|
|
14
|
+
<span class="sbb-teaser-panel">
|
|
15
|
+
<slot></slot>
|
|
16
|
+
</span>
|
|
17
|
+
`;
|
|
18
|
+
}
|
|
19
|
+
};
|
|
20
|
+
//#endregion
|
|
21
|
+
export { a as t };
|
package/teaser-panel.js
ADDED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as e, t } from "../../teaser-product-common-
|
|
1
|
+
import { n as e, t } from "../../teaser-product-common-Kz3ApcVE.js";
|
|
2
2
|
export { t as SbbTeaserProductCommonElementMixin, e as teaserProductCommonStyle };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../teaser-product.component-
|
|
1
|
+
import { t as e } from "../../teaser-product.component-C7KoSqcP.js";
|
|
2
2
|
export { e as SbbTeaserProductElement };
|
package/teaser-product.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as e, t } from "./teaser-product-common-
|
|
1
|
+
import { n as e, t } from "./teaser-product-common-Kz3ApcVE.js";
|
|
2
2
|
import { SbbTeaserProductStaticElement as n } from "./teaser-product/teaser-product-static/teaser-product-static.component.js";
|
|
3
|
-
import { t as r } from "./teaser-product.component-
|
|
3
|
+
import { t as r } from "./teaser-product.component-C7KoSqcP.js";
|
|
4
4
|
import "./teaser-product.pure.js";
|
|
5
5
|
r.define(), n.define();
|
|
6
6
|
//#endregion
|
package/teaser-product.pure.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as e, t } from "./teaser-product-common-
|
|
1
|
+
import { n as e, t } from "./teaser-product-common-Kz3ApcVE.js";
|
|
2
2
|
import { SbbTeaserProductStaticElement as n } from "./teaser-product/teaser-product-static/teaser-product-static.component.js";
|
|
3
|
-
import { t as r } from "./teaser-product.component-
|
|
3
|
+
import { t as r } from "./teaser-product.component-C7KoSqcP.js";
|
|
4
4
|
export { t as SbbTeaserProductCommonElementMixin, r as SbbTeaserProductElement, n as SbbTeaserProductStaticElement, e as teaserProductCommonStyle };
|
package/teaser.js
CHANGED
package/teaser.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./teaser.component-
|
|
1
|
+
import { t as e } from "./teaser.component-Bl_Myx2h.js";
|
|
2
2
|
export { e as SbbTeaserElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../time-input.component-
|
|
1
|
+
import { t as e } from "../time-input.component-BVoO7JLV.js";
|
|
2
2
|
export { e as SbbTimeInputElement };
|
package/time-input.js
CHANGED
package/time-input.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./time-input.component-
|
|
1
|
+
import { t as e } from "./time-input.component-BVoO7JLV.js";
|
|
2
2
|
export { e as SbbTimeInputElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../timetable-form.component-
|
|
1
|
+
import { t as e } from "../../timetable-form.component-AbZF15Tg.js";
|
|
2
2
|
export { e as SbbTimetableFormElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../timetable-form-details.component-
|
|
1
|
+
import { t as e } from "../../timetable-form-details.component-BQmF3WLu.js";
|
|
2
2
|
export { e as SbbTimetableFormDetailsElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../timetable-form-field.component-
|
|
1
|
+
import { t as e } from "../../timetable-form-field.component-DrQuTOJr.js";
|
|
2
2
|
export { e as SbbTimetableFormFieldElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../timetable-form-swap-button.component-
|
|
1
|
+
import { t as e } from "../../timetable-form-swap-button.component-C9dU9vDV.js";
|
|
2
2
|
export { e as SbbTimetableFormSwapButtonElement };
|
package/timetable-form.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./timetable-form-details.component-
|
|
2
|
-
import { t } from "./timetable-form-field.component-
|
|
3
|
-
import { t as n } from "./timetable-form-swap-button.component-
|
|
4
|
-
import { t as r } from "./timetable-form.component-
|
|
1
|
+
import { t as e } from "./timetable-form-details.component-BQmF3WLu.js";
|
|
2
|
+
import { t } from "./timetable-form-field.component-DrQuTOJr.js";
|
|
3
|
+
import { t as n } from "./timetable-form-swap-button.component-C9dU9vDV.js";
|
|
4
|
+
import { t as r } from "./timetable-form.component-AbZF15Tg.js";
|
|
5
5
|
import "./timetable-form.pure.js";
|
|
6
6
|
r.define(), e.define(), t.define(), n.define();
|
|
7
7
|
//#endregion
|
package/timetable-form.pure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./timetable-form-details.component-
|
|
2
|
-
import { t } from "./timetable-form-field.component-
|
|
3
|
-
import { t as n } from "./timetable-form-swap-button.component-
|
|
4
|
-
import { t as r } from "./timetable-form.component-
|
|
1
|
+
import { t as e } from "./timetable-form-details.component-BQmF3WLu.js";
|
|
2
|
+
import { t } from "./timetable-form-field.component-DrQuTOJr.js";
|
|
3
|
+
import { t as n } from "./timetable-form-swap-button.component-C9dU9vDV.js";
|
|
4
|
+
import { t as r } from "./timetable-form.component-AbZF15Tg.js";
|
|
5
5
|
export { e as SbbTimetableFormDetailsElement, r as SbbTimetableFormElement, t as SbbTimetableFormFieldElement, n as SbbTimetableFormSwapButtonElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../timetable-occupancy.component-
|
|
1
|
+
import { t as e } from "../timetable-occupancy.component-CLpJ-rjI.js";
|
|
2
2
|
export { e as SbbTimetableOccupancyElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../timetable-occupancy-icon.component-
|
|
1
|
+
import { t as e } from "../timetable-occupancy-icon.component-B6pF-j0D.js";
|
|
2
2
|
export { e as SbbTimetableOccupancyIconElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./timetable-occupancy-icon.component-
|
|
1
|
+
import { t as e } from "./timetable-occupancy-icon.component-B6pF-j0D.js";
|
|
2
2
|
export { e as SbbTimetableOccupancyIconElement };
|
package/timetable-occupancy.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./timetable-occupancy.component-
|
|
1
|
+
import { t as e } from "./timetable-occupancy.component-CLpJ-rjI.js";
|
|
2
2
|
export { e as SbbTimetableOccupancyElement };
|
package/title/title-base.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../title-base-
|
|
1
|
+
import { t as e } from "../title-base-HD0z6npS.js";
|
|
2
2
|
export { e as SbbTitleBase };
|
package/title/title.component.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../title.component-
|
|
1
|
+
import { t as e } from "../title.component-CjDkG7gT.js";
|
|
2
2
|
export { e as SbbTitleElement };
|
package/title.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./title-base-
|
|
2
|
-
import { t } from "./title.component-
|
|
1
|
+
import { t as e } from "./title-base-HD0z6npS.js";
|
|
2
|
+
import { t } from "./title.component-CjDkG7gT.js";
|
|
3
3
|
import "./title.pure.js";
|
|
4
4
|
//#region src/elements/title.ts
|
|
5
5
|
t.define();
|
package/title.pure.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./title-base-
|
|
2
|
-
import { t } from "./title.component-
|
|
1
|
+
import { t as e } from "./title-base-HD0z6npS.js";
|
|
2
|
+
import { t } from "./title.component-CjDkG7gT.js";
|
|
3
3
|
export { e as SbbTitleBase, t as SbbTitleElement };
|
package/toast/toast.component.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../toast.component-
|
|
1
|
+
import { t as e } from "../toast.component-DzsaWxPV.js";
|
|
2
2
|
export { e as SbbToastElement };
|
package/toast.js
CHANGED
package/toast.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./toast.component-
|
|
1
|
+
import { t as e } from "./toast.component-DzsaWxPV.js";
|
|
2
2
|
export { e as SbbToastElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../toggle.component-
|
|
1
|
+
import { t as e } from "../../toggle.component-D7X0E_hM.js";
|
|
2
2
|
export { e as SbbToggleElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../toggle-option.component-
|
|
1
|
+
import { t as e } from "../../toggle-option.component-DeePQ-NW.js";
|
|
2
2
|
export { e as SbbToggleOptionElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../toggle-check.component-
|
|
1
|
+
import { t as e } from "../toggle-check.component-WVQ4NM-R.js";
|
|
2
2
|
export { e as SbbToggleCheckElement };
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
import { __esDecorate as e, __runInitializers as t } from "tslib";
|
|
2
|
+
import { html as n, unsafeCSS as r } from "lit";
|
|
3
|
+
import { property as i } from "lit/decorators.js";
|
|
4
|
+
import { SbbElement as a, SbbFormAssociatedCheckboxMixin as o, boxSizingStyles as s, isLean as c } from "./core.js";
|
|
5
|
+
import { SbbIconNameMixin as l } from "./icon.pure.js";
|
|
6
|
+
//#region src/elements/toggle-check/toggle-check.scss?inline
|
|
7
|
+
var u = "@charset \"UTF-8\";:host{--sbb-toggle-check-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-6x) );--_sbb-toggle-check-overall-height: var(--sbb-toggle-check-circle-diameter);--_sbb-toggle-check-width: calc(2 * var(--sbb-toggle-check-height));display:inline-block;outline:none!important}:host([size=xs]){--sbb-toggle-check-font-size: var(--sbb-text-font-size-xs)}:host([size=s]){--sbb-toggle-check-font-size: var(--sbb-text-font-size-s)}:host([size=m]){--sbb-toggle-check-font-size: var(--sbb-text-font-size-m);--_sbb-toggle-check-overall-height: calc(1em * var(--sbb-typo-line-height-text))}:host(:is(:state(checked),[state--checked])){--sbb-toggle-check-background-color: var(--sbb-toggle-check-checked-color);--sbb-toggle-check-circle-background-color: var(--sbb-background-color-1-negative-inverted);--sbb-toggle-check-circle-border-color: var(--sbb-toggle-check-background-color);--_sbb-toggle-check-circle-translate: calc( 100% - 2 * (100% - .5 * var(--_sbb-toggle-check-width)) ) -50%;--_sbb-toggle-check-icon-opacity: 1}@media(forced-colors:active){:host(:is(:state(checked),[state--checked])){--sbb-toggle-check-icon-color: Highlight;--sbb-toggle-check-background-color: Highlight}}:host(:disabled){--sbb-toggle-check-background-color: var(--sbb-background-color-4);--sbb-toggle-check-circle-background-color: var(--sbb-background-color-3);--sbb-toggle-check-circle-border-color: var(--sbb-border-color-5);--sbb-toggle-check-circle-border-style: dashed;--sbb-toggle-check-icon-color: var(--sbb-color-granite);--sbb-toggle-check-icon-color: light-dark(var(--sbb-color-granite), var(--sbb-color-storm));--sbb-toggle-check-cursor: var(--sbb-cursor-default)}@media(forced-colors:active){:host(:disabled){--sbb-toggle-check-icon-color: GrayText;--sbb-toggle-check-background-color: GrayText;--sbb-toggle-check-circle-border-style: solid}}:host([label-position=before]){--_sbb-toggle-check-flex-direction: row}.sbb-toggle-check{position:relative;display:flex;color:var(--sbb-toggle-check-color);-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent;cursor:var(--sbb-toggle-check-cursor);border-radius:calc(var(--sbb-toggle-check-border-radius) - var(--sbb-focus-outline-offset))}.sbb-toggle-check:before{content:\"\";-webkit-user-select:none;user-select:none;width:0;height:0}:host(:focus-visible) .sbb-toggle-check{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) var(--sbb-focus-outline-style, solid) var(--sbb-focus-outline-width)}.sbb-toggle-check__container{display:flex;flex-direction:var(--_sbb-toggle-check-flex-direction, row-reverse);gap:var(--sbb-toggle-check-gap);align-items:start;width:100%;font-size:var(--sbb-toggle-check-font-size);letter-spacing:var(--sbb-typo-letter-spacing-text);line-height:var(--sbb-typo-line-height-text)}.sbb-toggle-check__label{flex-grow:1;padding-block-start:calc((var(--sbb-toggle-check-circle-diameter) - var(--sbb-typo-line-height-text) * 1em) / 2)}:host(:not(:is(:state(slotted),[state--slotted]))) .sbb-toggle-check__label{display:none}.sbb-toggle-check__track{display:inline-block;position:relative;min-width:var(--_sbb-toggle-check-width);height:var(--sbb-toggle-check-height);border-radius:var(--sbb-border-radius-infinity);background-color:var(--sbb-toggle-check-background-color);margin-block:calc((var(--_sbb-toggle-check-overall-height) - var(--sbb-toggle-check-height)) / 2)}.sbb-toggle-check__circle{position:absolute;top:50%;translate:0 -50%;width:var(--sbb-toggle-check-circle-diameter);height:var(--sbb-toggle-check-circle-diameter);border:var(--sbb-toggle-check-border-width) var(--sbb-toggle-check-circle-border-style) var(--sbb-toggle-check-circle-border-color);border-radius:50%;background-color:var(--sbb-toggle-check-circle-background-color);color:var(--sbb-toggle-check-icon-color);will-change:translate;translate:var(--_sbb-toggle-check-circle-translate, 0 -50%);transition:translate ease var(--sbb-toggle-check-animation-duration);box-shadow:var(--sbb-toggle-check-shadow)}.sbb-toggle-check__icon{position:absolute;top:50%;left:50%;translate:-50% -50%;width:var(--sbb-size-icon-ui-small);height:var(--sbb-size-icon-ui-small);opacity:var(--_sbb-toggle-check-icon-opacity, 0);transition:opacity ease var(--sbb-toggle-check-animation-duration)}", d = (() => {
|
|
8
|
+
let d = l(o(a)), f, p = [], m = [], h, g = [], _ = [], v, y = [], b = [];
|
|
9
|
+
return class extends d {
|
|
10
|
+
static {
|
|
11
|
+
let t = typeof Symbol == "function" && Symbol.metadata ? Object.create(d[Symbol.metadata] ?? null) : void 0;
|
|
12
|
+
f = [i()], h = [i({ reflect: !0 })], v = [i({
|
|
13
|
+
attribute: "label-position",
|
|
14
|
+
reflect: !0
|
|
15
|
+
})], e(this, null, f, {
|
|
16
|
+
kind: "accessor",
|
|
17
|
+
name: "value",
|
|
18
|
+
static: !1,
|
|
19
|
+
private: !1,
|
|
20
|
+
access: {
|
|
21
|
+
has: (e) => "value" in e,
|
|
22
|
+
get: (e) => e.value,
|
|
23
|
+
set: (e, t) => {
|
|
24
|
+
e.value = t;
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
metadata: t
|
|
28
|
+
}, p, m), e(this, null, h, {
|
|
29
|
+
kind: "accessor",
|
|
30
|
+
name: "size",
|
|
31
|
+
static: !1,
|
|
32
|
+
private: !1,
|
|
33
|
+
access: {
|
|
34
|
+
has: (e) => "size" in e,
|
|
35
|
+
get: (e) => e.size,
|
|
36
|
+
set: (e, t) => {
|
|
37
|
+
e.size = t;
|
|
38
|
+
}
|
|
39
|
+
},
|
|
40
|
+
metadata: t
|
|
41
|
+
}, g, _), e(this, null, v, {
|
|
42
|
+
kind: "accessor",
|
|
43
|
+
name: "labelPosition",
|
|
44
|
+
static: !1,
|
|
45
|
+
private: !1,
|
|
46
|
+
access: {
|
|
47
|
+
has: (e) => "labelPosition" in e,
|
|
48
|
+
get: (e) => e.labelPosition,
|
|
49
|
+
set: (e, t) => {
|
|
50
|
+
e.labelPosition = t;
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
metadata: t
|
|
54
|
+
}, y, b), t && Object.defineProperty(this, Symbol.metadata, {
|
|
55
|
+
enumerable: !0,
|
|
56
|
+
configurable: !0,
|
|
57
|
+
writable: !0,
|
|
58
|
+
value: t
|
|
59
|
+
});
|
|
60
|
+
}
|
|
61
|
+
static {
|
|
62
|
+
this.elementName = "sbb-toggle-check";
|
|
63
|
+
}
|
|
64
|
+
static {
|
|
65
|
+
this.styles = [s, r(u)];
|
|
66
|
+
}
|
|
67
|
+
#e = t(this, p, null);
|
|
68
|
+
get value() {
|
|
69
|
+
return this.#e;
|
|
70
|
+
}
|
|
71
|
+
set value(e) {
|
|
72
|
+
this.#e = e;
|
|
73
|
+
}
|
|
74
|
+
#t = (t(this, m), t(this, g, c() ? "xs" : "s"));
|
|
75
|
+
get size() {
|
|
76
|
+
return this.#t;
|
|
77
|
+
}
|
|
78
|
+
set size(e) {
|
|
79
|
+
this.#t = e;
|
|
80
|
+
}
|
|
81
|
+
#n = (t(this, _), t(this, y, "after"));
|
|
82
|
+
get labelPosition() {
|
|
83
|
+
return this.#n;
|
|
84
|
+
}
|
|
85
|
+
set labelPosition(e) {
|
|
86
|
+
this.#n = e;
|
|
87
|
+
}
|
|
88
|
+
requestUpdate(e, t, n) {
|
|
89
|
+
super.requestUpdate(e, t, n), e === "checked" && (this.internals.ariaChecked = `${this.checked}`, this.toggleState("checked", this.checked));
|
|
90
|
+
}
|
|
91
|
+
renderIconName() {
|
|
92
|
+
return super.renderIconName() || "tick-small";
|
|
93
|
+
}
|
|
94
|
+
render() {
|
|
95
|
+
return n`
|
|
96
|
+
<span class="sbb-toggle-check">
|
|
97
|
+
<span class="sbb-toggle-check__container">
|
|
98
|
+
<span class="sbb-toggle-check__label">
|
|
99
|
+
<slot></slot>
|
|
100
|
+
</span>
|
|
101
|
+
<span class="sbb-toggle-check__track">
|
|
102
|
+
<span class="sbb-toggle-check__circle">
|
|
103
|
+
<span class="sbb-toggle-check__icon"> ${this.renderIconSlot()} </span>
|
|
104
|
+
</span>
|
|
105
|
+
</span>
|
|
106
|
+
</span>
|
|
107
|
+
</span>
|
|
108
|
+
`;
|
|
109
|
+
}
|
|
110
|
+
constructor() {
|
|
111
|
+
super(...arguments), t(this, b);
|
|
112
|
+
}
|
|
113
|
+
};
|
|
114
|
+
})();
|
|
115
|
+
//#endregion
|
|
116
|
+
export { d as t };
|
package/toggle-check.js
CHANGED
package/toggle-check.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./toggle-check.component-
|
|
1
|
+
import { t as e } from "./toggle-check.component-WVQ4NM-R.js";
|
|
2
2
|
export { e as SbbToggleCheckElement };
|
package/toggle.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./toggle-option.component-
|
|
2
|
-
import { t } from "./toggle.component-
|
|
1
|
+
import { t as e } from "./toggle-option.component-DeePQ-NW.js";
|
|
2
|
+
import { t } from "./toggle.component-D7X0E_hM.js";
|
|
3
3
|
import "./toggle.pure.js";
|
|
4
4
|
t.define(), e.define();
|
|
5
5
|
//#endregion
|
package/toggle.pure.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { t as e } from "./toggle-option.component-
|
|
2
|
-
import { t } from "./toggle.component-
|
|
1
|
+
import { t as e } from "./toggle-option.component-DeePQ-NW.js";
|
|
2
|
+
import { t } from "./toggle.component-D7X0E_hM.js";
|
|
3
3
|
export { t as SbbToggleElement, e as SbbToggleOptionElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../tooltip.component-
|
|
1
|
+
import { t as e } from "../tooltip.component-BCRFxBuV.js";
|
|
2
2
|
export { e as SbbTooltipElement };
|
package/tooltip.js
CHANGED
package/tooltip.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./tooltip.component-
|
|
1
|
+
import { t as e } from "./tooltip.component-BCRFxBuV.js";
|
|
2
2
|
export { e as SbbTooltipElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../train.component-
|
|
1
|
+
import { t as e } from "../../train.component-DuFi_iBX.js";
|
|
2
2
|
export { e as SbbTrainElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../train-blocked-passage.component-
|
|
1
|
+
import { t as e } from "../../train-blocked-passage.component-DIh8dbU9.js";
|
|
2
2
|
export { e as SbbTrainBlockedPassageElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../train-formation.component-
|
|
1
|
+
import { t as e } from "../../train-formation.component-DS4EDwPY.js";
|
|
2
2
|
export { e as SbbTrainFormationElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../../train-wagon.component-
|
|
1
|
+
import { t as e } from "../../train-wagon.component-CZiVPOaZ.js";
|
|
2
2
|
export { e as SbbTrainWagonElement };
|
package/train.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { t as e } from "./train-blocked-passage.component-
|
|
2
|
-
import { t } from "./train-formation.component-
|
|
3
|
-
import { t as n } from "./train-wagon.component-
|
|
4
|
-
import { t as r } from "./train.component-
|
|
1
|
+
import { t as e } from "./train-blocked-passage.component-DIh8dbU9.js";
|
|
2
|
+
import { t } from "./train-formation.component-DS4EDwPY.js";
|
|
3
|
+
import { t as n } from "./train-wagon.component-CZiVPOaZ.js";
|
|
4
|
+
import { t as r } from "./train.component-DuFi_iBX.js";
|
|
5
5
|
import "./train.pure.js";
|
|
6
6
|
r.define(), e.define(), t.define(), n.define();
|
|
7
7
|
//#endregion
|
package/train.pure.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as e } from "./train-blocked-passage.component-
|
|
2
|
-
import { t } from "./train-formation.component-
|
|
3
|
-
import { t as n } from "./train-wagon.component-
|
|
4
|
-
import { t as r } from "./train.component-
|
|
1
|
+
import { t as e } from "./train-blocked-passage.component-DIh8dbU9.js";
|
|
2
|
+
import { t } from "./train-formation.component-DS4EDwPY.js";
|
|
3
|
+
import { t as n } from "./train-wagon.component-CZiVPOaZ.js";
|
|
4
|
+
import { t as r } from "./train.component-DuFi_iBX.js";
|
|
5
5
|
export { e as SbbTrainBlockedPassageElement, r as SbbTrainElement, t as SbbTrainFormationElement, n as SbbTrainWagonElement };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "../visual-checkbox.component-
|
|
1
|
+
import { t as e } from "../visual-checkbox.component-BsjmJgcn.js";
|
|
2
2
|
export { e as SbbVisualCheckboxElement };
|
package/visual-checkbox.js
CHANGED
package/visual-checkbox.pure.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as e } from "./visual-checkbox.component-
|
|
1
|
+
import { t as e } from "./visual-checkbox.component-BsjmJgcn.js";
|
|
2
2
|
export { e as SbbVisualCheckboxElement };
|