@sbb-esta/lyne-elements-dev 5.13.2-dev.1794816203 → 5.13.2-dev.1794817956
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/core/styles/mixins/_mediaqueries.scss +4 -4
- package/development/action-group.pure.js +1 -1
- package/development/alert.pure.js +1 -1
- package/development/container.pure.js +2 -2
- package/development/core/testing.js +1 -1
- package/development/core.js +1 -1
- package/development/dialog.pure.js +1 -1
- package/development/expansion-panel.pure.js +1 -1
- package/development/flip-card.pure.js +2 -2
- package/development/footer.pure.js +1 -1
- package/development/header.pure.js +2 -2
- package/development/lead-container.pure.js +1 -1
- package/development/link-list.pure.js +1 -1
- package/development/logo.pure.js +13 -13
- package/development/map-container.pure.js +1 -1
- package/development/menu.pure.js +1 -1
- package/development/navigation.pure.js +2 -2
- package/development/overlay.pure.js +1 -1
- package/development/pearl-chain.pure.js +1 -1
- package/development/teaser-product.pure.js +1 -1
- package/development/timetable-occupancy.pure.js +1 -1
- package/flip-card.pure.js +1 -1
- package/header.pure.js +1 -1
- package/lean-off-brand-theme.css +13 -13
- package/lean-safety-theme.css +13 -13
- package/lean-theme.css +13 -13
- package/map-container.pure.js +1 -1
- package/menu.pure.js +1 -1
- package/off-brand-theme.css +13 -13
- package/package.json +2 -2
- package/safety-theme.css +13 -13
- package/standard-theme.css +13 -13
package/menu.pure.js
CHANGED
|
@@ -9,7 +9,7 @@ import{html as e,isServer as t,unsafeCSS as n}from"lit";import{SbbButtonBaseElem
|
|
|
9
9
|
<sbb-icon name="chevron-small-right-small"></sbb-icon>
|
|
10
10
|
</span>
|
|
11
11
|
</span>
|
|
12
|
-
`}}return r};var V=class extends s(B(r)){static{this.elementName=`sbb-menu-button`}static{this.role=`menuitem`}},H=class extends a(B(f)){constructor(){super(...arguments),this.anchorRole=`menuitem`}static{this.elementName=`sbb-menu-link`}},U=`:host{--sbb-menu-animation-duration:var(--sbb-disable-animation-duration,var(--sbb-animation-duration-6x));--sbb-focus-outline-color:var(--sbb-focus-outline-color-dark);--_sbb-menu-inset:0 auto auto 0;display:contents}@media (width>=64rem){:host{--sbb-menu-back-button-display:none}}:host(:is(:is(:state(state-opened),[state--state-opened]),:is(:state(state-opening),[state--state-opening]))){--sbb-menu-visibility:visible;--sbb-menu-backdrop-color:color-mix(in srgb, var(--sbb-color-black) 20%, transparent)}@media (width>=64rem){:host(:is(:is(:state(state-opened),[state--state-opened]),:is(:state(state-opening),[state--state-opening]))){--sbb-menu-backdrop-color:transparent}}:host(:not(:is(:state(nested),[state--nested]))){--sbb-menu-back-button-display:none}:host(:not(:is(:state(state-closed),[state--state-closed]))){--_sbb-menu-inset:0}:host(:is(:state(dark),[state--dark])) .sbb-scrollbar-negative{--sbb-focus-outline-color:var(--sbb-focus-outline-color-default);--sbb-scrollbar-color:color-mix(in srgb, var(--sbb-color-black) 30%, transparent);--sbb-scrollbar-color-hover:color-mix(in srgb, var(--sbb-color-black) 60%, transparent)}:host([hide-icon-space]){--sbb-menu-item-hide-icon-visibility:hidden;--sbb-menu-item-hide-icon-display:none;--sbb-menu-item-hide-icon-padding-inline:var(--sbb-spacing-fixed-3x)}@media (width
|
|
12
|
+
`}}return r};var V=class extends s(B(r)){static{this.elementName=`sbb-menu-button`}static{this.role=`menuitem`}},H=class extends a(B(f)){constructor(){super(...arguments),this.anchorRole=`menuitem`}static{this.elementName=`sbb-menu-link`}},U=`:host{--sbb-menu-animation-duration:var(--sbb-disable-animation-duration,var(--sbb-animation-duration-6x));--sbb-focus-outline-color:var(--sbb-focus-outline-color-dark);--_sbb-menu-inset:0 auto auto 0;display:contents}@media (width>=64rem){:host{--sbb-menu-back-button-display:none}}:host(:is(:is(:state(state-opened),[state--state-opened]),:is(:state(state-opening),[state--state-opening]))){--sbb-menu-visibility:visible;--sbb-menu-backdrop-color:color-mix(in srgb, var(--sbb-color-black) 20%, transparent)}@media (width>=64rem){:host(:is(:is(:state(state-opened),[state--state-opened]),:is(:state(state-opening),[state--state-opening]))){--sbb-menu-backdrop-color:transparent}}:host(:not(:is(:state(nested),[state--nested]))){--sbb-menu-back-button-display:none}:host(:not(:is(:state(state-closed),[state--state-closed]))){--_sbb-menu-inset:0}:host(:is(:state(dark),[state--dark])) .sbb-scrollbar-negative{--sbb-focus-outline-color:var(--sbb-focus-outline-color-default);--sbb-scrollbar-color:color-mix(in srgb, var(--sbb-color-black) 30%, transparent);--sbb-scrollbar-color-hover:color-mix(in srgb, var(--sbb-color-black) 60%, transparent)}:host([hide-icon-space]){--sbb-menu-item-hide-icon-visibility:hidden;--sbb-menu-item-hide-icon-display:none;--sbb-menu-item-hide-icon-padding-inline:var(--sbb-spacing-fixed-3x)}@media (width<64rem){:host(:is(:state(skip-animation),[state--skip-animation])){--sbb-menu-animation-duration:0s}:host(:is(:state(nested-child),[state--nested-child])){--sbb-menu-transform-x:-100%}:host(:is(:state(nested),[state--nested]):is(:is(:state(state-opening),[state--state-opening]),:is(:state(state-opened),[state--state-opened]),:is(:state(state-closing),[state--state-closing]))){--sbb-menu-open-animation-name:open-sideways}:host(:is(:state(state-closing),[state--state-closing]):is(:state(nested),[state--nested]):not(:is(:state(close-all),[state--close-all]))){--sbb-menu-close-animation-name:close-sideways}}::slotted(:not(sbb-menu-button,sbb-menu-link,sbb-divider)){padding-inline:var(--sbb-spacing-fixed-5x);display:block}sbb-divider,::slotted(sbb-divider){--sbb-divider-color:var(--sbb-background-color-4-inverted);margin-block:var(--sbb-spacing-fixed-2x)}sbb-divider,#sbb-menu__back-button{display:var(--sbb-menu-back-button-display,block)}.sbb-menu__container{pointer-events:none;inset:var(--_sbb-menu-inset);height:var(--sbb-menu-container-height);z-index:var(--sbb-menu-z-index,var(--sbb-overlay-default-z-index));position:fixed}.sbb-menu__container:before{content:"";visibility:var(--sbb-menu-visibility,hidden);pointer-events:all;inset:var(--_sbb-menu-inset);height:var(--sbb-menu-container-height);background-color:var(--sbb-menu-backdrop-color,transparent);transition-duration:var(--sbb-menu-animation-duration);transition-timing-function:var(--sbb-menu-animation-easing);transition-property:background-color,visibility;position:fixed}:host(:is(:state(nested),[state--nested])) .sbb-menu__container:before{display:none}.sbb-menu{opacity:0;pointer-events:none;max-width:var(--sbb-menu-max-width);min-width:var(--sbb-menu-min-width);text-align:start;color:var(--sbb-menu-color);border-radius:var(--sbb-menu-border-radius) var(--sbb-menu-border-radius) 0 0;background-color:var(--sbb-menu-background-color);translate:var(--sbb-menu-transform-x,0) 0;transition:translate var(--sbb-menu-animation-duration);border:none;padding:0;display:none;position:absolute;inset-block-start:unset;inset-block-end:0;inset-inline-start:0;inset-inline-end:unset;overflow:hidden}:host(:is(:is(:state(state-opening),[state--state-opening]),:is(:state(state-opened),[state--state-opened]),:is(:state(state-closing),[state--state-closing]))) .sbb-menu{opacity:1;pointer-events:all;animation-name:var(--sbb-menu-open-animation-name,open);animation-duration:var(--sbb-menu-animation-duration);animation-timing-function:var(--sbb-menu-animation-easing);display:block}:host(:is(:state(state-closing),[state--state-closing])) .sbb-menu{pointer-events:none;animation-name:var(--sbb-menu-close-animation-name,close)}@media (forced-colors:active){.sbb-menu{outline:var(--sbb-border-width-1x) solid CanvasText}}@media (width>=64rem){.sbb-menu{top:0;bottom:unset;left:0;right:unset;border-radius:var(--sbb-menu-border-radius);max-height:fit-content}:host(:not(:is(:state(state-closed),[state--state-closed]))) .sbb-menu{top:var(--sbb-menu-position-y,0);left:var(--sbb-menu-position-x,0);max-height:var(--sbb-menu-max-height);min-height:var(--sbb-menu-min-height)}}.sbb-menu__content{max-height:var(--sbb-menu-max-height);padding-block:var(--sbb-spacing-fixed-1x);outline:none;overflow:auto}.sbb-menu__content:after{content:"";height:var(--sbb-spacing-fixed-8x);display:block}@media (width>=64rem){.sbb-menu__content{max-height:fit-content}:host(:not(:is(:state(state-closed),[state--state-closed]))) .sbb-menu__content{max-height:var(--sbb-menu-max-height);min-height:var(--sbb-menu-min-height)}.sbb-menu__content:after{display:none}}::slotted(:is(:is(:state(sbb-link),[state--sbb-link]),:is(:state(sbb-button),[state--sbb-button]))){color-scheme:light only}@keyframes open{0%{opacity:0;translate:0 var(--sbb-menu-transform-y,100%)}to{opacity:1;translate:0}}@keyframes close{0%{opacity:1;translate:0}to{opacity:0;translate:0 var(--sbb-menu-transform-y,100%)}}@keyframes open-sideways{0%{translate:100%}to{translate:0}}@keyframes close-sideways{0%{translate:0}to{translate:100%}}
|
|
13
13
|
`;const W=[`A`,`BUTTON`,`SBB-BUTTON`,`SBB-BUTTON-LINK`,`SBB-LINK`,`SBB-BLOCK-LINK`,`SBB-LINK-BUTTON`,`SBB-BLOCK-LINK-BUTTON`,`SBB-MENU-BUTTON`,`SBB-MENU-LINK`];let G=(()=>{let r=h,a,o=[],s=[],f,N=[],z=[];return class extends r{static{let e=typeof Symbol==`function`&&Symbol.metadata?Object.create(r[Symbol.metadata]??null):void 0;a=[C(),I()],f=[_(),I({attribute:`hide-icon-space`,type:Boolean,reflect:!0})],P(this,null,a,{kind:`accessor`,name:`trigger`,static:!1,private:!1,access:{has:e=>`trigger`in e,get:e=>e.trigger,set:(e,t)=>{e.trigger=t}},metadata:e},o,s),P(this,null,f,{kind:`accessor`,name:`hideIconSpace`,static:!1,private:!1,access:{has:e=>`hideIconSpace`in e,get:e=>e.hideIconSpace,set:(e,t)=>{e.hideIconSpace=t}},metadata:e},N,z),e&&Object.defineProperty(this,Symbol.metadata,{enumerable:!0,configurable:!0,writable:!0,value:e})}static{this.elementName=`sbb-menu`}static{this.elementDependencies=[R,V]}static{this.styles=[O,A,n(U)]}static{this.role=`menu`}#e;get trigger(){return this.#e}set trigger(e){this.#e=e}#t;get hideIconSpace(){return this.#t}set hideIconSpace(e){this.#t=e}constructor(){super(),this.#e=F(this,o,null),this.#t=(F(this,s),F(this,N,!1)),this._menu=F(this,z),this._triggerElement=null,this._isPointerDownEventOnMenu=!1,this._escapableOverlayController=new c(this),this._focusTrapController=new l(this),this._scrollHandler=new g(this),this._inertController=new u(this),this._mobileBreakpoint=m,this._mediaMatcher=new p(this,{[this._mobileBreakpoint]:e=>{e&&(this.state===`opening`||this.state===`opened`)?this._scrollHandler.disableScroll():this._scrollHandler.enableScroll()}}),this._darkModeController=new i(this,()=>this._syncNegative()),this._language=new d(this),this._nestedMenu=null,this._pointerDownListener=e=>{let t=e.target.closest(`sbb-menu`);this._isPointerDownEventOnMenu=E(this._menu,e)||this._nestedMenus().some(e=>t===e)},this._closeOnBackdropClick=e=>{let t=e.target;this._isPointerDownEventOnMenu||E(this._menu,e)||this._nestedMenus().some(e=>e===t)||this.closeAll()},this.addEventListener?.(`keydown`,e=>this._handleKeyDown(e))}firstUpdated(e){super.firstUpdated(e),this._configureTrigger()}escapeStrategy(){this.closeAll()}open(){if(this.state!==`closing`&&this.state!==`opened`&&this._menu&&this.dispatchBeforeOpenEvent()){if(this._isNested()){let e=this._parentMenu();e.internals.states.add(`nested-child`),e._nestedMenu!==this&&e._nestedMenu?.close(),e._nestedMenu=this}this.showPopover?.(),this.state=`opening`,this._setMenuPosition(),this._triggerElement&&(this._triggerElement.ariaExpanded=`true`),this._isMobile()&&this._scrollHandler.disableScroll(),this._isZeroAnimationDuration()&&this._handleOpening()}}close(){this._close()}closeAll(){this._mainMenu()._close(!0)}_close(e=!1){if((this.state!==`opening`||this._isNested())&&this.dispatchBeforeCloseEvent()){if(this._nestedMenu?._close(e),this._isNested()){let t=this._parentMenu();e?(this.internals.states.add(`close-all`),t.internals.states.add(`skip-animation`)):(this.internals.states.delete(`close-all`),t.internals.states.delete(`skip-animation`)),t.internals.states.delete(`nested-child`),t._nestedMenu=null}this.state=`closing`,this._triggerElement&&(this._triggerElement.ariaExpanded=`false`),this._isZeroAnimationDuration()&&this._handleClosing()}}_isZeroAnimationDuration(){return D(this,`--sbb-menu-animation-duration`)}_handleOpening(){this.state=`opened`,this._isNested()?this._updateNestedInert():this._inertController.activate(),this._escapableOverlayController.connect(),this._focusTrapController.focusInitialElement(),this._focusTrapController.enabled=!0,this._attachWindowEvents(),this.dispatchOpenEvent()}_handleClosing(){this.state=`closed`,this.internals.states.delete(`skip-animation`),this.internals.states.delete(`close-all`),this.hidePopover?.(),this._menu?.firstElementChild?.scrollTo(0,0),this._isNested()?this._updateNestedInert():this._inertController.deactivate(),this._triggerElement?.focus({preventScroll:[`sbb-header-button`,`sbb-header-link`].includes(this._triggerElement.localName)}),this._escapableOverlayController.disconnect(),this.dispatchCloseEvent(),this._windowEventsController?.abort(),this._focusTrapController.enabled=!1,this._scrollHandler.enableScroll()}_handleKeyDown(e){if(!T(e))return;e.preventDefault();let t=Array.from(this.querySelectorAll(`sbb-menu-button, sbb-menu-link`)).concat(this.shadowRoot.querySelector(`sbb-menu-button`)).filter(e=>(!e.disabled||e.disabledInteractive)&&w.isVisible(e)),n=t.findIndex(t=>t===e.target),r;switch(e.key){case`ArrowUp`:case`ArrowDown`:r=x(e,n,t.length);break;case`ArrowLeft`:this._isNested()&&this.close();break;case`ArrowRight`:e.target.matches(`:is(:state(sbb-menu-trigger),[state--sbb-menu-trigger])`)&&e.target.click();break;case`PageUp`:case`Home`:r=0;break;case`End`:case`PageDown`:r=t.length-1}r!==void 0&&t[r].focus()}createRenderRoot(){let e=super.createRenderRoot();return this.shadowRoot?.addEventListener(`slotchange`,()=>this._syncNegative(),{capture:!0}),e}connectedCallback(){this.popover=`manual`,super.connectedCallback(),this.hasUpdated&&this._configureTrigger()}disconnectedCallback(){super.disconnectedCallback(),this._triggerElement=null,this._triggerAbortController?.abort(),this._windowEventsController?.abort(),this._scrollHandler.enableScroll()}requestUpdate(e,n,r){super.requestUpdate(e,n,r),t||e&&e!==`trigger`||!this.hasUpdated||this._configureTrigger()}_configureTrigger(){this.trigger!==this._triggerElement&&(this._triggerAbortController?.abort(),k(this._triggerElement),this._triggerElement=this.trigger,this._triggerElement&&(j(this,this._triggerElement,`menu`,this.state),this._triggerAbortController=new AbortController,this._triggerElement.addEventListener(`click`,()=>this.open(),{signal:this._triggerAbortController.signal}),this.toggleState(`nested`,[`sbb-menu-button`,`sbb-menu-link`].includes(this._triggerElement.localName)),M(this._triggerElement).add(`sbb-menu-trigger`)))}_attachWindowEvents(){this._windowEventsController=new AbortController,document.addEventListener(`scroll`,()=>this._setMenuPosition(),{passive:!0,signal:this._windowEventsController.signal,capture:!0}),window.addEventListener(`resize`,()=>this._setMenuPosition(),{passive:!0,signal:this._windowEventsController.signal}),this._isNested()||(window.addEventListener(`pointerdown`,this._pointerDownListener,{signal:this._windowEventsController.signal}),window.addEventListener(`pointerup`,this._closeOnBackdropClick,{signal:this._windowEventsController.signal}))}_interactiveElementClick(e){let t=e.target;W.includes(t.nodeName)&&!t.hasAttribute(`disabled`)&&!t.matches(`:is(:state(sbb-menu-trigger),[state--sbb-menu-trigger])`)&&t.id!==`sbb-menu__back-button`&&this.closeAll()}_nestedMenus(){let e=[],t=this._nestedMenu;for(;t;)e.push(t),t=t._nestedMenu;return e}_parentMenu(){return this._triggerElement?.closest(`sbb-menu`)??null}_mainMenu(){return this._isNested()?this._parentMenu()?._mainMenu()??this:this}_isNested(){return!!this._parentMenu()}_updateNestedInert(){this._inertController.restoreAllExempted(),this._mainMenu()._nestedMenus().forEach(e=>this._inertController.exempt(e))}_handleMouseOver(e){let t=e.target,n=this._isMobile();!n&&this._nestedMenu&&!t.classList.contains(`sbb-menu__content`)&&t.ariaExpanded!==`true`&&this._nestedMenu.close(),t.matches(`:is(:state(sbb-menu-trigger),[state--sbb-menu-trigger])`)&&!n&&t.click()}_onMenuAnimationEnd(e){(e.animationName===`open`||e.animationName===`open-sideways`)&&this.state===`opening`?this._handleOpening():(e.animationName===`close`||e.animationName===`close-sideways`)&&this.state===`closing`&&this._handleClosing()}_setMenuPosition(){if(this._isMobile()||!this._menu||!this._triggerElement||this.state===`closing`)return;let e=this._isNested()?b(this.shadowRoot.querySelector(`.sbb-menu__content`),this._triggerElement,this.shadowRoot.querySelector(`.sbb-menu__container`),{horizontalOffset:8,verticalOffset:-4,contentSelector:`.sbb-menu__content`}):y(this.shadowRoot.querySelector(`.sbb-menu__content`),this._triggerElement,this.shadowRoot.querySelector(`.sbb-menu__container`),{verticalOffset:8});this.style.setProperty(`--sbb-menu-position-x`,`${e.left}px`),this.style.setProperty(`--sbb-menu-position-y`,`${e.top}px`),this.style.setProperty(`--sbb-menu-max-height`,e.maxHeight)}_syncNegative(){this.querySelectorAll(`:is(:state(sbb-link),[state--sbb-link]), :is(:state(sbb-button),[state--sbb-button])`)?.forEach(e=>{customElements.upgrade(e),e.negative=!this._darkModeController.matches()})}_isMobile(){return this._mediaMatcher.matches(this._mobileBreakpoint)??!0}render(){return e`
|
|
14
14
|
<div class="sbb-menu__container">
|
|
15
15
|
<div
|
package/off-brand-theme.css
CHANGED
|
@@ -2320,7 +2320,7 @@ summary {
|
|
|
2320
2320
|
--sbb-visual-checkbox-border-style-disabled: solid;
|
|
2321
2321
|
}
|
|
2322
2322
|
}
|
|
2323
|
-
@media (
|
|
2323
|
+
@media (width >= 37.5rem) {
|
|
2324
2324
|
:root {
|
|
2325
2325
|
/* Title */
|
|
2326
2326
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-3x);
|
|
@@ -2346,7 +2346,7 @@ summary {
|
|
|
2346
2346
|
--sbb-footer-clock-width: 7rem;
|
|
2347
2347
|
}
|
|
2348
2348
|
}
|
|
2349
|
-
@media (
|
|
2349
|
+
@media (width >= 64rem) {
|
|
2350
2350
|
:root {
|
|
2351
2351
|
/* Title */
|
|
2352
2352
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-3-5x);
|
|
@@ -2451,7 +2451,7 @@ summary {
|
|
|
2451
2451
|
--sbb-time-input-max-width: 4.0625rem;
|
|
2452
2452
|
}
|
|
2453
2453
|
}
|
|
2454
|
-
@media (
|
|
2454
|
+
@media (width >= 90rem) {
|
|
2455
2455
|
:root {
|
|
2456
2456
|
/* Title */
|
|
2457
2457
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-4x);
|
|
@@ -3991,7 +3991,7 @@ sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
|
|
|
3991
3991
|
--sbb-image-aspect-ratio: 1 / 1;
|
|
3992
3992
|
border-radius: 0;
|
|
3993
3993
|
}
|
|
3994
|
-
@media (
|
|
3994
|
+
@media (width >= 37.5rem) {
|
|
3995
3995
|
sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
|
|
3996
3996
|
--sbb-image-aspect-ratio: 16 / 9;
|
|
3997
3997
|
}
|
|
@@ -4022,7 +4022,7 @@ sbb-teaser-hero img:not(.sbb-figure-overlap-image) {
|
|
|
4022
4022
|
padding-inline: var(--sbb-spacing-fixed-5x);
|
|
4023
4023
|
background: linear-gradient(to bottom, var(--sbb-color-primary) 0 11.125rem, var(--sbb-background-color-3) 11.125rem 100%);
|
|
4024
4024
|
}
|
|
4025
|
-
@media (
|
|
4025
|
+
@media (width < 64rem) {
|
|
4026
4026
|
.sbb-timetable-form:has(sbb-signet) {
|
|
4027
4027
|
padding-block-start: var(--sbb-spacing-fixed-4x);
|
|
4028
4028
|
}
|
|
@@ -4033,7 +4033,7 @@ sbb-teaser-hero img:not(.sbb-figure-overlap-image) {
|
|
|
4033
4033
|
margin-block-end: var(--sbb-spacing-fixed-2x);
|
|
4034
4034
|
margin-inline: 0;
|
|
4035
4035
|
}
|
|
4036
|
-
@media (
|
|
4036
|
+
@media (width >= 64rem) {
|
|
4037
4037
|
.sbb-timetable-form sbb-signet {
|
|
4038
4038
|
position: absolute;
|
|
4039
4039
|
inset-block-start: var(--sbb-spacing-fixed-6x);
|
|
@@ -4065,7 +4065,7 @@ sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-blo
|
|
|
4065
4065
|
sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-block) sbb-datepicker-toggle {
|
|
4066
4066
|
margin-inline-end: var(--sbb-spacing-fixed-6x);
|
|
4067
4067
|
}
|
|
4068
|
-
@media (
|
|
4068
|
+
@media (width >= 37.5rem) {
|
|
4069
4069
|
sbb-timetable-form .sbb-timetable-form-mobile-block {
|
|
4070
4070
|
width: unset;
|
|
4071
4071
|
}
|
|
@@ -4076,7 +4076,7 @@ sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-blo
|
|
|
4076
4076
|
margin-inline-end: unset;
|
|
4077
4077
|
}
|
|
4078
4078
|
}
|
|
4079
|
-
@media (
|
|
4079
|
+
@media (width < 37.5rem) {
|
|
4080
4080
|
sbb-timetable-form .sbb-timetable-form-mobile-hidden {
|
|
4081
4081
|
display: none;
|
|
4082
4082
|
}
|
|
@@ -4333,7 +4333,7 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4333
4333
|
width: 100%;
|
|
4334
4334
|
}
|
|
4335
4335
|
|
|
4336
|
-
@media (
|
|
4336
|
+
@media (width >= 90rem) {
|
|
4337
4337
|
.sbb-grid,
|
|
4338
4338
|
.sbb-page-spacing {
|
|
4339
4339
|
max-width: var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)));
|
|
@@ -4365,17 +4365,17 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4365
4365
|
flex-direction: column;
|
|
4366
4366
|
}
|
|
4367
4367
|
|
|
4368
|
-
@media (
|
|
4368
|
+
@media (width >= 37.5rem) {
|
|
4369
4369
|
.sbb-orientation-horizontal-from-small {
|
|
4370
4370
|
flex-direction: row;
|
|
4371
4371
|
}
|
|
4372
4372
|
}
|
|
4373
|
-
@media (
|
|
4373
|
+
@media (width >= 64rem) {
|
|
4374
4374
|
.sbb-orientation-horizontal-from-large {
|
|
4375
4375
|
flex-direction: row;
|
|
4376
4376
|
}
|
|
4377
4377
|
}
|
|
4378
|
-
@media (
|
|
4378
|
+
@media (width >= 90rem) {
|
|
4379
4379
|
.sbb-orientation-horizontal-from-ultra {
|
|
4380
4380
|
flex-direction: row;
|
|
4381
4381
|
}
|
|
@@ -4481,7 +4481,7 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4481
4481
|
--sbb-step-list-padding-block: var(--sbb-spacing-fixed-5x);
|
|
4482
4482
|
}
|
|
4483
4483
|
|
|
4484
|
-
@media (
|
|
4484
|
+
@media (width >= 64rem) {
|
|
4485
4485
|
.sbb-step-list:where(.sbb-text-xl) {
|
|
4486
4486
|
--sbb-step-list-dimensions: 2.5625rem;
|
|
4487
4487
|
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "5.13.2-dev.
|
|
3
|
+
"version": "5.13.2-dev.1794817956",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/27b99cde6edc89db057b131e48fa4faec08d3b6b"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|
package/safety-theme.css
CHANGED
|
@@ -2340,7 +2340,7 @@ summary {
|
|
|
2340
2340
|
--sbb-visual-checkbox-border-style-disabled: solid;
|
|
2341
2341
|
}
|
|
2342
2342
|
}
|
|
2343
|
-
@media (
|
|
2343
|
+
@media (width >= 37.5rem) {
|
|
2344
2344
|
:root {
|
|
2345
2345
|
/* Title */
|
|
2346
2346
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-3x);
|
|
@@ -2366,7 +2366,7 @@ summary {
|
|
|
2366
2366
|
--sbb-footer-clock-width: 7rem;
|
|
2367
2367
|
}
|
|
2368
2368
|
}
|
|
2369
|
-
@media (
|
|
2369
|
+
@media (width >= 64rem) {
|
|
2370
2370
|
:root {
|
|
2371
2371
|
/* Title */
|
|
2372
2372
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-3-5x);
|
|
@@ -2471,7 +2471,7 @@ summary {
|
|
|
2471
2471
|
--sbb-time-input-max-width: 4.0625rem;
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
|
-
@media (
|
|
2474
|
+
@media (width >= 90rem) {
|
|
2475
2475
|
:root {
|
|
2476
2476
|
/* Title */
|
|
2477
2477
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-4x);
|
|
@@ -4011,7 +4011,7 @@ sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
|
|
|
4011
4011
|
--sbb-image-aspect-ratio: 1 / 1;
|
|
4012
4012
|
border-radius: 0;
|
|
4013
4013
|
}
|
|
4014
|
-
@media (
|
|
4014
|
+
@media (width >= 37.5rem) {
|
|
4015
4015
|
sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
|
|
4016
4016
|
--sbb-image-aspect-ratio: 16 / 9;
|
|
4017
4017
|
}
|
|
@@ -4042,7 +4042,7 @@ sbb-teaser-hero img:not(.sbb-figure-overlap-image) {
|
|
|
4042
4042
|
padding-inline: var(--sbb-spacing-fixed-5x);
|
|
4043
4043
|
background: linear-gradient(to bottom, var(--sbb-color-primary) 0 11.125rem, var(--sbb-background-color-3) 11.125rem 100%);
|
|
4044
4044
|
}
|
|
4045
|
-
@media (
|
|
4045
|
+
@media (width < 64rem) {
|
|
4046
4046
|
.sbb-timetable-form:has(sbb-signet) {
|
|
4047
4047
|
padding-block-start: var(--sbb-spacing-fixed-4x);
|
|
4048
4048
|
}
|
|
@@ -4053,7 +4053,7 @@ sbb-teaser-hero img:not(.sbb-figure-overlap-image) {
|
|
|
4053
4053
|
margin-block-end: var(--sbb-spacing-fixed-2x);
|
|
4054
4054
|
margin-inline: 0;
|
|
4055
4055
|
}
|
|
4056
|
-
@media (
|
|
4056
|
+
@media (width >= 64rem) {
|
|
4057
4057
|
.sbb-timetable-form sbb-signet {
|
|
4058
4058
|
position: absolute;
|
|
4059
4059
|
inset-block-start: var(--sbb-spacing-fixed-6x);
|
|
@@ -4085,7 +4085,7 @@ sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-blo
|
|
|
4085
4085
|
sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-block) sbb-datepicker-toggle {
|
|
4086
4086
|
margin-inline-end: var(--sbb-spacing-fixed-6x);
|
|
4087
4087
|
}
|
|
4088
|
-
@media (
|
|
4088
|
+
@media (width >= 37.5rem) {
|
|
4089
4089
|
sbb-timetable-form .sbb-timetable-form-mobile-block {
|
|
4090
4090
|
width: unset;
|
|
4091
4091
|
}
|
|
@@ -4096,7 +4096,7 @@ sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-blo
|
|
|
4096
4096
|
margin-inline-end: unset;
|
|
4097
4097
|
}
|
|
4098
4098
|
}
|
|
4099
|
-
@media (
|
|
4099
|
+
@media (width < 37.5rem) {
|
|
4100
4100
|
sbb-timetable-form .sbb-timetable-form-mobile-hidden {
|
|
4101
4101
|
display: none;
|
|
4102
4102
|
}
|
|
@@ -4353,7 +4353,7 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4353
4353
|
width: 100%;
|
|
4354
4354
|
}
|
|
4355
4355
|
|
|
4356
|
-
@media (
|
|
4356
|
+
@media (width >= 90rem) {
|
|
4357
4357
|
.sbb-grid,
|
|
4358
4358
|
.sbb-page-spacing {
|
|
4359
4359
|
max-width: var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)));
|
|
@@ -4385,17 +4385,17 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4385
4385
|
flex-direction: column;
|
|
4386
4386
|
}
|
|
4387
4387
|
|
|
4388
|
-
@media (
|
|
4388
|
+
@media (width >= 37.5rem) {
|
|
4389
4389
|
.sbb-orientation-horizontal-from-small {
|
|
4390
4390
|
flex-direction: row;
|
|
4391
4391
|
}
|
|
4392
4392
|
}
|
|
4393
|
-
@media (
|
|
4393
|
+
@media (width >= 64rem) {
|
|
4394
4394
|
.sbb-orientation-horizontal-from-large {
|
|
4395
4395
|
flex-direction: row;
|
|
4396
4396
|
}
|
|
4397
4397
|
}
|
|
4398
|
-
@media (
|
|
4398
|
+
@media (width >= 90rem) {
|
|
4399
4399
|
.sbb-orientation-horizontal-from-ultra {
|
|
4400
4400
|
flex-direction: row;
|
|
4401
4401
|
}
|
|
@@ -4501,7 +4501,7 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4501
4501
|
--sbb-step-list-padding-block: var(--sbb-spacing-fixed-5x);
|
|
4502
4502
|
}
|
|
4503
4503
|
|
|
4504
|
-
@media (
|
|
4504
|
+
@media (width >= 64rem) {
|
|
4505
4505
|
.sbb-step-list:where(.sbb-text-xl) {
|
|
4506
4506
|
--sbb-step-list-dimensions: 2.5625rem;
|
|
4507
4507
|
}
|
package/standard-theme.css
CHANGED
|
@@ -2340,7 +2340,7 @@ summary {
|
|
|
2340
2340
|
--sbb-visual-checkbox-border-style-disabled: solid;
|
|
2341
2341
|
}
|
|
2342
2342
|
}
|
|
2343
|
-
@media (
|
|
2343
|
+
@media (width >= 37.5rem) {
|
|
2344
2344
|
:root {
|
|
2345
2345
|
/* Title */
|
|
2346
2346
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-3x);
|
|
@@ -2366,7 +2366,7 @@ summary {
|
|
|
2366
2366
|
--sbb-footer-clock-width: 7rem;
|
|
2367
2367
|
}
|
|
2368
2368
|
}
|
|
2369
|
-
@media (
|
|
2369
|
+
@media (width >= 64rem) {
|
|
2370
2370
|
:root {
|
|
2371
2371
|
/* Title */
|
|
2372
2372
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-3-5x);
|
|
@@ -2471,7 +2471,7 @@ summary {
|
|
|
2471
2471
|
--sbb-time-input-max-width: 4.0625rem;
|
|
2472
2472
|
}
|
|
2473
2473
|
}
|
|
2474
|
-
@media (
|
|
2474
|
+
@media (width >= 90rem) {
|
|
2475
2475
|
:root {
|
|
2476
2476
|
/* Title */
|
|
2477
2477
|
--sbb-heading-font-size-1: var(--sbb-typo-scale-4x);
|
|
@@ -4011,7 +4011,7 @@ sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
|
|
|
4011
4011
|
--sbb-image-aspect-ratio: 1 / 1;
|
|
4012
4012
|
border-radius: 0;
|
|
4013
4013
|
}
|
|
4014
|
-
@media (
|
|
4014
|
+
@media (width >= 37.5rem) {
|
|
4015
4015
|
sbb-teaser-hero :is(sbb-image, img):not(.sbb-figure-overlap-image) {
|
|
4016
4016
|
--sbb-image-aspect-ratio: 16 / 9;
|
|
4017
4017
|
}
|
|
@@ -4042,7 +4042,7 @@ sbb-teaser-hero img:not(.sbb-figure-overlap-image) {
|
|
|
4042
4042
|
padding-inline: var(--sbb-spacing-fixed-5x);
|
|
4043
4043
|
background: linear-gradient(to bottom, var(--sbb-color-primary) 0 11.125rem, var(--sbb-background-color-3) 11.125rem 100%);
|
|
4044
4044
|
}
|
|
4045
|
-
@media (
|
|
4045
|
+
@media (width < 64rem) {
|
|
4046
4046
|
.sbb-timetable-form:has(sbb-signet) {
|
|
4047
4047
|
padding-block-start: var(--sbb-spacing-fixed-4x);
|
|
4048
4048
|
}
|
|
@@ -4053,7 +4053,7 @@ sbb-teaser-hero img:not(.sbb-figure-overlap-image) {
|
|
|
4053
4053
|
margin-block-end: var(--sbb-spacing-fixed-2x);
|
|
4054
4054
|
margin-inline: 0;
|
|
4055
4055
|
}
|
|
4056
|
-
@media (
|
|
4056
|
+
@media (width >= 64rem) {
|
|
4057
4057
|
.sbb-timetable-form sbb-signet {
|
|
4058
4058
|
position: absolute;
|
|
4059
4059
|
inset-block-start: var(--sbb-spacing-fixed-6x);
|
|
@@ -4085,7 +4085,7 @@ sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-blo
|
|
|
4085
4085
|
sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-block) sbb-datepicker-toggle {
|
|
4086
4086
|
margin-inline-end: var(--sbb-spacing-fixed-6x);
|
|
4087
4087
|
}
|
|
4088
|
-
@media (
|
|
4088
|
+
@media (width >= 37.5rem) {
|
|
4089
4089
|
sbb-timetable-form .sbb-timetable-form-mobile-block {
|
|
4090
4090
|
width: unset;
|
|
4091
4091
|
}
|
|
@@ -4096,7 +4096,7 @@ sbb-timetable-form :is(.sbb-timetable-form-block, .sbb-timetable-form-mobile-blo
|
|
|
4096
4096
|
margin-inline-end: unset;
|
|
4097
4097
|
}
|
|
4098
4098
|
}
|
|
4099
|
-
@media (
|
|
4099
|
+
@media (width < 37.5rem) {
|
|
4100
4100
|
sbb-timetable-form .sbb-timetable-form-mobile-hidden {
|
|
4101
4101
|
display: none;
|
|
4102
4102
|
}
|
|
@@ -4353,7 +4353,7 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4353
4353
|
width: 100%;
|
|
4354
4354
|
}
|
|
4355
4355
|
|
|
4356
|
-
@media (
|
|
4356
|
+
@media (width >= 90rem) {
|
|
4357
4357
|
.sbb-grid,
|
|
4358
4358
|
.sbb-page-spacing {
|
|
4359
4359
|
max-width: var(--sbb-spacing-max-width, calc(var(--sbb-layout-base-page-max-width) + 2 * var(--sbb-layout-base-offset-responsive)));
|
|
@@ -4385,17 +4385,17 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4385
4385
|
flex-direction: column;
|
|
4386
4386
|
}
|
|
4387
4387
|
|
|
4388
|
-
@media (
|
|
4388
|
+
@media (width >= 37.5rem) {
|
|
4389
4389
|
.sbb-orientation-horizontal-from-small {
|
|
4390
4390
|
flex-direction: row;
|
|
4391
4391
|
}
|
|
4392
4392
|
}
|
|
4393
|
-
@media (
|
|
4393
|
+
@media (width >= 64rem) {
|
|
4394
4394
|
.sbb-orientation-horizontal-from-large {
|
|
4395
4395
|
flex-direction: row;
|
|
4396
4396
|
}
|
|
4397
4397
|
}
|
|
4398
|
-
@media (
|
|
4398
|
+
@media (width >= 90rem) {
|
|
4399
4399
|
.sbb-orientation-horizontal-from-ultra {
|
|
4400
4400
|
flex-direction: row;
|
|
4401
4401
|
}
|
|
@@ -4501,7 +4501,7 @@ sbb-toggle:has(:focus-visible) {
|
|
|
4501
4501
|
--sbb-step-list-padding-block: var(--sbb-spacing-fixed-5x);
|
|
4502
4502
|
}
|
|
4503
4503
|
|
|
4504
|
-
@media (
|
|
4504
|
+
@media (width >= 64rem) {
|
|
4505
4505
|
.sbb-step-list:where(.sbb-text-xl) {
|
|
4506
4506
|
--sbb-step-list-dimensions: 2.5625rem;
|
|
4507
4507
|
}
|