@sbb-esta/lyne-elements 2.4.1 → 2.5.1
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/autocomplete/autocomplete-base-element.d.ts +0 -1
- package/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/autocomplete.js +13 -13
- package/button/common/button-common.d.ts +1 -2
- package/button/common/button-common.d.ts.map +1 -1
- package/button/common.js +4 -4
- package/clock/clock.d.ts +8 -0
- package/clock/clock.d.ts.map +1 -1
- package/clock.js +40 -31
- package/core/a11y/focus.d.ts.map +1 -1
- package/core/base-elements/button-base-element.d.ts +5 -0
- package/core/base-elements/button-base-element.d.ts.map +1 -1
- package/core/base-elements.js +113 -98
- package/core/controllers/inert-controller.d.ts +3 -3
- package/core/controllers/inert-controller.d.ts.map +1 -1
- package/core/controllers.js +13 -12
- package/core/decorators/force-type.d.ts +1 -1
- package/core/decorators/force-type.d.ts.map +1 -1
- package/core/decorators.js +39 -40
- package/core/dom/platform.d.ts +5 -0
- package/core/dom/platform.d.ts.map +1 -1
- package/core/dom.js +10 -9
- package/core/i18n/i18n.d.ts +1 -0
- package/core/i18n/i18n.d.ts.map +1 -1
- package/core/i18n.js +95 -89
- package/core/mixins/animation-complete-mixin.d.ts +13 -0
- package/core/mixins/animation-complete-mixin.d.ts.map +1 -0
- package/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
- package/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -1
- package/core/mixins.d.ts +1 -0
- package/core/mixins.d.ts.map +1 -1
- package/core/mixins.js +195 -152
- package/core/styles/core.scss +81 -0
- package/core/styles/mixins/link.scss +14 -0
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables.scss +3 -0
- package/core/styles/node_modules_@sbb-esta_lyne-design-tokens_dist_scss_sbb-variables_css--mixin.scss +4 -1
- package/core.css +51 -1
- package/custom-elements.json +4330 -291
- package/date-input/date-input.d.ts +11 -3
- package/date-input/date-input.d.ts.map +1 -1
- package/date-input.js +44 -38
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker.js +12 -12
- package/development/autocomplete/autocomplete-base-element.d.ts +0 -1
- package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
- package/development/autocomplete.js +2 -4
- package/development/button/common/button-common.d.ts +1 -2
- package/development/button/common/button-common.d.ts.map +1 -1
- package/development/button/common.js +26 -24
- package/development/clock/clock.d.ts +8 -0
- package/development/clock/clock.d.ts.map +1 -1
- package/development/clock.js +20 -2
- package/development/core/a11y/focus.d.ts.map +1 -1
- package/development/core/a11y.js +1 -1
- package/development/core/base-elements/button-base-element.d.ts +5 -0
- package/development/core/base-elements/button-base-element.d.ts.map +1 -1
- package/development/core/base-elements.js +43 -15
- package/development/core/controllers/inert-controller.d.ts +3 -3
- package/development/core/controllers/inert-controller.d.ts.map +1 -1
- package/development/core/controllers.js +6 -7
- package/development/core/decorators/force-type.d.ts +1 -1
- package/development/core/decorators/force-type.d.ts.map +1 -1
- package/development/core/decorators.js +5 -5
- package/development/core/dom/platform.d.ts +5 -0
- package/development/core/dom/platform.d.ts.map +1 -1
- package/development/core/dom.js +3 -1
- package/development/core/i18n/i18n.d.ts +1 -0
- package/development/core/i18n/i18n.d.ts.map +1 -1
- package/development/core/i18n.js +8 -1
- package/development/core/mixins/animation-complete-mixin.d.ts +13 -0
- package/development/core/mixins/animation-complete-mixin.d.ts.map +1 -0
- package/development/core/mixins/form-associated-input-mixin.d.ts.map +1 -1
- package/development/core/mixins/form-associated-radio-button-mixin.d.ts.map +1 -1
- package/development/core/mixins.d.ts +1 -0
- package/development/core/mixins.d.ts.map +1 -1
- package/development/core/mixins.js +57 -4
- package/development/date-input/date-input.d.ts +11 -3
- package/development/date-input/date-input.d.ts.map +1 -1
- package/development/date-input.js +26 -18
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker.js +2 -1
- package/development/dialog/dialog-title/dialog-title.d.ts +3 -1
- package/development/dialog/dialog-title/dialog-title.d.ts.map +1 -1
- package/development/dialog/dialog-title.js +7 -2
- package/development/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/development/flip-card/flip-card-details.js +5 -3
- package/development/form-field/form-field.js +2 -2
- package/development/header/common.js +2 -2
- package/development/link/common.js +13 -1
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu.js +4 -1
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation.js +4 -1
- package/development/overlay/overlay-base-element.d.ts.map +1 -1
- package/development/overlay.js +4 -1
- package/development/radio-button/radio-button-group/radio-button-group.d.ts +0 -1
- package/development/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/development/radio-button/radio-button-group.js +3 -5
- package/development/sbb-tokens-CSAKTXUi.js +1 -1
- package/development/select/select.d.ts +5 -2
- package/development/select/select.d.ts.map +1 -1
- package/development/select.js +6 -4
- package/development/sidebar/common.d.ts +1 -0
- package/development/sidebar/common.d.ts.map +1 -0
- package/development/sidebar/common.js +114 -0
- package/development/sidebar/icon-sidebar/icon-sidebar.d.ts +23 -0
- package/development/sidebar/icon-sidebar/icon-sidebar.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.d.ts +19 -0
- package/development/sidebar/icon-sidebar-button/icon-sidebar-button.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-button.d.ts +2 -0
- package/development/sidebar/icon-sidebar-button.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-button.js +28 -0
- package/development/sidebar/icon-sidebar-container/icon-sidebar-container.d.ts +23 -0
- package/development/sidebar/icon-sidebar-container/icon-sidebar-container.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-container.d.ts +2 -0
- package/development/sidebar/icon-sidebar-container.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-container.js +45 -0
- package/development/sidebar/icon-sidebar-content/icon-sidebar-content.d.ts +17 -0
- package/development/sidebar/icon-sidebar-content/icon-sidebar-content.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-content.d.ts +2 -0
- package/development/sidebar/icon-sidebar-content.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-content.js +34 -0
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.d.ts +19 -0
- package/development/sidebar/icon-sidebar-link/icon-sidebar-link.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-link.d.ts +2 -0
- package/development/sidebar/icon-sidebar-link.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar-link.js +28 -0
- package/development/sidebar/icon-sidebar.d.ts +2 -0
- package/development/sidebar/icon-sidebar.d.ts.map +1 -0
- package/development/sidebar/icon-sidebar.js +85 -0
- package/development/sidebar/sidebar/sidebar.d.ts +76 -0
- package/development/sidebar/sidebar/sidebar.d.ts.map +1 -0
- package/development/sidebar/sidebar-close-button/sidebar-close-button.d.ts +22 -0
- package/development/sidebar/sidebar-close-button/sidebar-close-button.d.ts.map +1 -0
- package/development/sidebar/sidebar-close-button.d.ts +2 -0
- package/development/sidebar/sidebar-close-button.d.ts.map +1 -0
- package/development/sidebar/sidebar-close-button.js +55 -0
- package/development/sidebar/sidebar-container/sidebar-container.d.ts +34 -0
- package/development/sidebar/sidebar-container/sidebar-container.d.ts.map +1 -0
- package/development/sidebar/sidebar-container.d.ts +2 -0
- package/development/sidebar/sidebar-container.d.ts.map +1 -0
- package/development/sidebar/sidebar-container.js +153 -0
- package/development/sidebar/sidebar-content/sidebar-content.d.ts +18 -0
- package/development/sidebar/sidebar-content/sidebar-content.d.ts.map +1 -0
- package/development/sidebar/sidebar-content.d.ts +2 -0
- package/development/sidebar/sidebar-content.d.ts.map +1 -0
- package/development/sidebar/sidebar-content.js +37 -0
- package/development/sidebar/sidebar-title/sidebar-title.d.ts +17 -0
- package/development/sidebar/sidebar-title/sidebar-title.d.ts.map +1 -0
- package/development/sidebar/sidebar-title.d.ts +2 -0
- package/development/sidebar/sidebar-title.d.ts.map +1 -0
- package/development/sidebar/sidebar-title.js +63 -0
- package/development/sidebar/sidebar.d.ts +2 -0
- package/development/sidebar/sidebar.d.ts.map +1 -0
- package/development/sidebar/sidebar.js +523 -0
- package/development/sidebar.d.ts +12 -0
- package/development/sidebar.d.ts.map +1 -0
- package/development/sidebar.js +12 -0
- package/development/stepper/step/step.d.ts +1 -3
- package/development/stepper/step/step.d.ts.map +1 -1
- package/development/stepper/step.js +20 -14
- package/development/time-input/time-input.d.ts +3 -2
- package/development/time-input/time-input.d.ts.map +1 -1
- package/development/time-input.js +19 -10
- package/development/title/title-base.d.ts +2 -4
- package/development/title/title-base.d.ts.map +1 -1
- package/development/title/title.d.ts +3 -1
- package/development/title/title.d.ts.map +1 -1
- package/development/title.js +8 -8
- package/dialog/dialog-title/dialog-title.d.ts +3 -1
- package/dialog/dialog-title/dialog-title.d.ts.map +1 -1
- package/dialog/dialog-title.js +16 -15
- package/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/flip-card/flip-card-details.js +14 -13
- package/form-field/form-field.js +1 -1
- package/header/common.js +6 -6
- package/index.d.ts +20 -0
- package/index.js +20 -0
- package/link/common.js +12 -12
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu.js +1 -1
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation.js +7 -7
- package/overlay/overlay-base-element.d.ts.map +1 -1
- package/overlay.js +1 -1
- package/package.json +61 -1
- package/radio-button/radio-button-group/radio-button-group.d.ts +0 -1
- package/radio-button/radio-button-group/radio-button-group.d.ts.map +1 -1
- package/radio-button/radio-button-group.js +8 -8
- package/select/select.d.ts +5 -2
- package/select/select.d.ts.map +1 -1
- package/select.js +8 -9
- package/sidebar/common.d.ts +1 -0
- package/sidebar/common.d.ts.map +1 -0
- package/sidebar/common.js +7 -0
- package/sidebar/icon-sidebar/icon-sidebar.d.ts +23 -0
- package/sidebar/icon-sidebar/icon-sidebar.d.ts.map +1 -0
- package/sidebar/icon-sidebar-button/icon-sidebar-button.d.ts +19 -0
- package/sidebar/icon-sidebar-button/icon-sidebar-button.d.ts.map +1 -0
- package/sidebar/icon-sidebar-button.d.ts +2 -0
- package/sidebar/icon-sidebar-button.d.ts.map +1 -0
- package/sidebar/icon-sidebar-button.js +20 -0
- package/sidebar/icon-sidebar-container/icon-sidebar-container.d.ts +23 -0
- package/sidebar/icon-sidebar-container/icon-sidebar-container.d.ts.map +1 -0
- package/sidebar/icon-sidebar-container.d.ts +2 -0
- package/sidebar/icon-sidebar-container.d.ts.map +1 -0
- package/sidebar/icon-sidebar-container.js +35 -0
- package/sidebar/icon-sidebar-content/icon-sidebar-content.d.ts +17 -0
- package/sidebar/icon-sidebar-content/icon-sidebar-content.d.ts.map +1 -0
- package/sidebar/icon-sidebar-content.d.ts +2 -0
- package/sidebar/icon-sidebar-content.d.ts.map +1 -0
- package/sidebar/icon-sidebar-content.js +23 -0
- package/sidebar/icon-sidebar-link/icon-sidebar-link.d.ts +19 -0
- package/sidebar/icon-sidebar-link/icon-sidebar-link.d.ts.map +1 -0
- package/sidebar/icon-sidebar-link.d.ts +2 -0
- package/sidebar/icon-sidebar-link.d.ts.map +1 -0
- package/sidebar/icon-sidebar-link.js +20 -0
- package/sidebar/icon-sidebar.d.ts +2 -0
- package/sidebar/icon-sidebar.d.ts.map +1 -0
- package/sidebar/icon-sidebar.js +47 -0
- package/sidebar/sidebar/sidebar.d.ts +76 -0
- package/sidebar/sidebar/sidebar.d.ts.map +1 -0
- package/sidebar/sidebar-close-button/sidebar-close-button.d.ts +22 -0
- package/sidebar/sidebar-close-button/sidebar-close-button.d.ts.map +1 -0
- package/sidebar/sidebar-close-button.d.ts +2 -0
- package/sidebar/sidebar-close-button.d.ts.map +1 -0
- package/sidebar/sidebar-close-button.js +29 -0
- package/sidebar/sidebar-container/sidebar-container.d.ts +34 -0
- package/sidebar/sidebar-container/sidebar-container.d.ts.map +1 -0
- package/sidebar/sidebar-container.d.ts +2 -0
- package/sidebar/sidebar-container.d.ts.map +1 -0
- package/sidebar/sidebar-container.js +78 -0
- package/sidebar/sidebar-content/sidebar-content.d.ts +18 -0
- package/sidebar/sidebar-content/sidebar-content.d.ts.map +1 -0
- package/sidebar/sidebar-content.d.ts +2 -0
- package/sidebar/sidebar-content.d.ts.map +1 -0
- package/sidebar/sidebar-content.js +23 -0
- package/sidebar/sidebar-title/sidebar-title.d.ts +17 -0
- package/sidebar/sidebar-title/sidebar-title.d.ts.map +1 -0
- package/sidebar/sidebar-title.d.ts +2 -0
- package/sidebar/sidebar-title.d.ts.map +1 -0
- package/sidebar/sidebar-title.js +37 -0
- package/sidebar/sidebar.d.ts +2 -0
- package/sidebar/sidebar.d.ts.map +1 -0
- package/sidebar/sidebar.js +214 -0
- package/sidebar.d.ts +12 -0
- package/sidebar.d.ts.map +1 -0
- package/sidebar.js +11 -0
- package/standard-theme.css +51 -1
- package/stepper/step/step.d.ts +1 -3
- package/stepper/step/step.d.ts.map +1 -1
- package/stepper/step.js +12 -15
- package/time-input/time-input.d.ts +3 -2
- package/time-input/time-input.d.ts.map +1 -1
- package/time-input.js +44 -36
- package/title/title-base.d.ts +2 -4
- package/title/title-base.d.ts.map +1 -1
- package/title/title.d.ts +3 -1
- package/title/title.d.ts.map +1 -1
- package/title.js +11 -11
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CSSResultGroup, LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
2
|
+
import { SbbSidebarElement } from '../sidebar.js';
|
|
3
|
+
/**
|
|
4
|
+
* This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally
|
|
5
|
+
* and coordinates the backdrop and content styling.
|
|
6
|
+
*
|
|
7
|
+
* @slot - Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.
|
|
8
|
+
*/
|
|
9
|
+
export declare class SbbSidebarContainerElement extends LitElement {
|
|
10
|
+
static styles: CSSResultGroup;
|
|
11
|
+
/** The sidebar children. */
|
|
12
|
+
get sidebars(): SbbSidebarElement[];
|
|
13
|
+
/** The sidebar child with the `start` position. */
|
|
14
|
+
get start(): SbbSidebarElement | null;
|
|
15
|
+
/** The sidebar child with the `end` position. */
|
|
16
|
+
get end(): SbbSidebarElement | null;
|
|
17
|
+
private _forcedClosedSidebars;
|
|
18
|
+
connectedCallback(): void;
|
|
19
|
+
disconnectedCallback(): void;
|
|
20
|
+
protected firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
21
|
+
private _handleWidthChange;
|
|
22
|
+
/**
|
|
23
|
+
* Closes and opens sidebars depending on available width
|
|
24
|
+
* of the container and its parent container.
|
|
25
|
+
*/
|
|
26
|
+
private _calculateSpaceState;
|
|
27
|
+
protected render(): TemplateResult;
|
|
28
|
+
}
|
|
29
|
+
declare global {
|
|
30
|
+
interface HTMLElementTagNameMap {
|
|
31
|
+
'sbb-sidebar-container': SbbSidebarContainerElement;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
//# sourceMappingURL=sidebar-container.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-container.d.ts","sourceRoot":"","sources":["../../../../src/elements/sidebar/sidebar-container/sidebar-container.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,cAAc,EAGnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAIb,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AASvD;;;;;GAKG;AACH,qBAEM,0BAA2B,SAAQ,UAAU;IACjD,OAAuB,MAAM,EAAE,cAAc,CAAwC;IAErF,4BAA4B;IAC5B,IAAW,QAAQ,IAAI,iBAAiB,EAAE,CAEzC;IAED,mDAAmD;IACnD,IAAW,KAAK,IAAI,iBAAiB,GAAG,IAAI,CAE3C;IAED,iDAAiD;IACjD,IAAW,GAAG,IAAI,iBAAiB,GAAG,IAAI,CAEzC;IAED,OAAO,CAAC,qBAAqB,CAAoC;IAEjD,iBAAiB,IAAI,IAAI;IAezB,oBAAoB,IAAI,IAAI;cAUzB,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAM9E,OAAO,CAAC,kBAAkB;IAM1B;;;OAGG;YACW,oBAAoB;cAuEf,MAAM,IAAI,cAAc;CAI5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,uBAAuB,EAAE,0BAA0B,CAAC;KACrD;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-container.d.ts","sourceRoot":"","sources":["../../../src/elements/sidebar/sidebar-container.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC"}
|
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
import { __esDecorate as S, __runInitializers as g } from "tslib";
|
|
2
|
+
import { css as C, LitElement as k, isServer as b, html as A } from "lit";
|
|
3
|
+
import { customElement as E } from "lit/decorators.js";
|
|
4
|
+
import { sidebarContainerCommonStyle as O } from "./common.js";
|
|
5
|
+
const W = C`:host{display:block;overflow:hidden;--sbb-sidebar-container-animation-duration: var( --sbb-disable-animation-duration, var(--sbb-animation-duration-4x) );--sbb-sidebar-container-animation-easing: var(--sbb-animation-easing);--sbb-sidebar-container-backdrop-opacity: 0;--sbb-sidebar-container__backdrop-visibility: hidden;--sbb-sidebar-container-backdrop-animation-duration: var( --sbb-sidebar-container-animation-duration )}@media (forced-colors: active){:host{--sbb-sidebar-container-backdrop-opacity: .5}}.sbb-sidebar-container-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;visibility:var(--sbb-sidebar-container__backdrop-visibility);opacity:var(--sbb-sidebar-container-backdrop-opacity);background-color:var(--sbb-color-black);z-index:3;transition-duration:var(--sbb-sidebar-container-backdrop-animation-duration);transition-timing-function:var(--sbb-sidebar-container-animation-easing);transition-property:opacity,visibility}`, o = /* @__PURE__ */ new Set();
|
|
6
|
+
let s;
|
|
7
|
+
const w = 320;
|
|
8
|
+
let L = (() => {
|
|
9
|
+
var i;
|
|
10
|
+
let _ = [E("sbb-sidebar-container")], l, m = [], a, u = k;
|
|
11
|
+
return i = class extends u {
|
|
12
|
+
constructor() {
|
|
13
|
+
super(...arguments), this._forcedClosedSidebars = /* @__PURE__ */ new WeakSet();
|
|
14
|
+
}
|
|
15
|
+
/** The sidebar children. */
|
|
16
|
+
get sidebars() {
|
|
17
|
+
var t;
|
|
18
|
+
return Array.from(((t = this.querySelectorAll) == null ? void 0 : t.call(this, ":scope > sbb-sidebar")) ?? []);
|
|
19
|
+
}
|
|
20
|
+
/** The sidebar child with the `start` position. */
|
|
21
|
+
get start() {
|
|
22
|
+
var t;
|
|
23
|
+
return (t = this.querySelector) == null ? void 0 : t.call(this, ":scope > sbb-sidebar:not([position='end'])");
|
|
24
|
+
}
|
|
25
|
+
/** The sidebar child with the `end` position. */
|
|
26
|
+
get end() {
|
|
27
|
+
var t;
|
|
28
|
+
return (t = this.querySelector) == null ? void 0 : t.call(this, ":scope > sbb-sidebar[position='end']");
|
|
29
|
+
}
|
|
30
|
+
connectedCallback() {
|
|
31
|
+
super.connectedCallback(), s ?? (s = !b && new ResizeObserver(() => this._handleWidthChange())), !b && o.size === 0 && s.observe(document == null ? void 0 : document.documentElement), o.add(this), this._handleWidthChange();
|
|
32
|
+
}
|
|
33
|
+
disconnectedCallback() {
|
|
34
|
+
super.disconnectedCallback(), o.delete(this), o.size === 0 && (s == null || s.disconnect());
|
|
35
|
+
}
|
|
36
|
+
firstUpdated(t) {
|
|
37
|
+
super.firstUpdated(t), this._handleWidthChange();
|
|
38
|
+
}
|
|
39
|
+
_handleWidthChange() {
|
|
40
|
+
Array.from(o).sort((t, r) => t.compareDocumentPosition(r) & Node.DOCUMENT_POSITION_FOLLOWING).forEach((t) => t._calculateSpaceState());
|
|
41
|
+
}
|
|
42
|
+
/**
|
|
43
|
+
* Closes and opens sidebars depending on available width
|
|
44
|
+
* of the container and its parent container.
|
|
45
|
+
*/
|
|
46
|
+
async _calculateSpaceState() {
|
|
47
|
+
var n, v;
|
|
48
|
+
if (b)
|
|
49
|
+
return;
|
|
50
|
+
const t = (v = (n = this.parentElement) == null ? void 0 : n.closest) == null ? void 0 : v.call(n, "sbb-sidebar-container"), r = (t == null ? void 0 : t.sidebars) ?? [];
|
|
51
|
+
for (const e of r)
|
|
52
|
+
await e.updateComplete.then(() => e.animationComplete);
|
|
53
|
+
const h = this.offsetWidth ?? 0;
|
|
54
|
+
if (h === 0)
|
|
55
|
+
return;
|
|
56
|
+
const p = this.sidebars, f = r.some((e) => e.hasAttribute("data-mode-over-forced")) ?? !1, y = p.filter((e) => e.mode === "side").reduce((e, c) => e + (c.offsetWidth ?? 0), 0), d = h - y < w;
|
|
57
|
+
for (const e of p) {
|
|
58
|
+
const c = e.hasAttribute("data-mode-over-forced");
|
|
59
|
+
e.toggleAttribute("data-mode-over-forced", d), e.mode === "side" && ((d || f) && e.opened && !c ? (e.isOpen && !e.hasAttribute("data-skip-animation") && e.toggleAttribute("data-mode-over-forced-closing", !0), e.opened = !1, this._forcedClosedSidebars.add(e), e.hasAttribute("data-mode-over-forced-closing") && e.updateComplete.then(() => e.animationComplete).then(() => e.removeAttribute("data-mode-over-forced-closing"))) : (
|
|
60
|
+
// We have to open the sidebar when the remaining width of the sidebar and the parent container
|
|
61
|
+
// is above the minimum.
|
|
62
|
+
// We only programmatically open the sidebar when the cause of closing was this logic.
|
|
63
|
+
!d && !f && this._forcedClosedSidebars.has(e) && (e.cedeFocus(), e.opened = !0, this._forcedClosedSidebars.delete(e))
|
|
64
|
+
));
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
render() {
|
|
68
|
+
return A`<div class="sbb-sidebar-container-backdrop"></div>
|
|
69
|
+
<slot @slotchange=${() => this._handleWidthChange()}></slot>`;
|
|
70
|
+
}
|
|
71
|
+
}, a = i, (() => {
|
|
72
|
+
const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(u[Symbol.metadata] ?? null) : void 0;
|
|
73
|
+
S(null, l = { value: a }, _, { kind: "class", name: a.name, metadata: t }, null, m), a = l.value, t && Object.defineProperty(a, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
|
|
74
|
+
})(), i.styles = [O, W], g(a, m), a;
|
|
75
|
+
})();
|
|
76
|
+
export {
|
|
77
|
+
L as SbbSidebarContainerElement
|
|
78
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { CSSResultGroup, LitElement, TemplateResult } from 'lit';
|
|
2
|
+
/**
|
|
3
|
+
* Container for the sidebar content. Intended to be placed inside an `sbb-sidebar-container` element.
|
|
4
|
+
*
|
|
5
|
+
* @slot - Use the unnamed slot to add any content elements.
|
|
6
|
+
* Further `sbb-sidebar-container`s are possible.
|
|
7
|
+
*/
|
|
8
|
+
export declare class SbbSidebarContentElement extends LitElement {
|
|
9
|
+
static styles: CSSResultGroup;
|
|
10
|
+
connectedCallback(): void;
|
|
11
|
+
protected render(): TemplateResult;
|
|
12
|
+
}
|
|
13
|
+
declare global {
|
|
14
|
+
interface HTMLElementTagNameMap {
|
|
15
|
+
'sbb-sidebar-content': SbbSidebarContentElement;
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
//# sourceMappingURL=sidebar-content.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-content.d.ts","sourceRoot":"","sources":["../../../../src/elements/sidebar/sidebar-content/sidebar-content.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAOjF;;;;;GAKG;AACH,qBAEM,wBAAyB,SAAQ,UAAU;IAC/C,OAAuB,MAAM,EAAE,cAAc,CAAsC;IAEnE,iBAAiB,IAAI,IAAI;cAStB,MAAM,IAAI,cAAc;CAG5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,qBAAqB,EAAE,wBAAwB,CAAC;KACjD;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-content.d.ts","sourceRoot":"","sources":["../../../src/elements/sidebar/sidebar-content.ts"],"names":[],"mappings":"AAAA,cAAc,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { __esDecorate as l, __runInitializers as o } from "tslib";
|
|
2
|
+
import { css as b, LitElement as c, html as m } from "lit";
|
|
3
|
+
import { customElement as d } from "lit/decorators.js";
|
|
4
|
+
import { sidebarContentCommonStyle as _ } from "./common.js";
|
|
5
|
+
const u = b`:host{--sbb-sidebar-content__margin-inline-start: initial;--sbb-sidebar-content__margin-inline-end: initial;margin-inline:var(--sbb-sidebar-content__margin-inline-start, var(--sbb-sidebar-container__start-width, 0)) var(--sbb-sidebar-content__margin-inline-end, var(--sbb-sidebar-container__end-width, 0));transition:margin var(--sbb-sidebar-container-animation-duration) var(--sbb-sidebar-container-animation-easing)}`;
|
|
6
|
+
let g = (() => {
|
|
7
|
+
var e;
|
|
8
|
+
let s = [d("sbb-sidebar-content")], n, i = [], t, r = c;
|
|
9
|
+
return e = class extends r {
|
|
10
|
+
connectedCallback() {
|
|
11
|
+
super.connectedCallback(), this.classList.add("sbb-scrollbar");
|
|
12
|
+
}
|
|
13
|
+
render() {
|
|
14
|
+
return m`<slot></slot>`;
|
|
15
|
+
}
|
|
16
|
+
}, t = e, (() => {
|
|
17
|
+
const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(r[Symbol.metadata] ?? null) : void 0;
|
|
18
|
+
l(null, n = { value: t }, s, { kind: "class", name: t.name, metadata: a }, null, i), t = n.value, a && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a });
|
|
19
|
+
})(), e.styles = [_, u], o(t, i), t;
|
|
20
|
+
})();
|
|
21
|
+
export {
|
|
22
|
+
g as SbbSidebarContentElement
|
|
23
|
+
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { CSSResultGroup } from 'lit';
|
|
2
|
+
import { SbbTitleBase, SbbTitleLevel } from '../../title.js';
|
|
3
|
+
/**
|
|
4
|
+
* It displays the title of the sidebar. It has to be placed inside an `sbb-sidebar` element.
|
|
5
|
+
*/
|
|
6
|
+
export declare class SbbSidebarTitleElement extends SbbTitleBase {
|
|
7
|
+
static styles: CSSResultGroup;
|
|
8
|
+
/** Title level */
|
|
9
|
+
accessor level: SbbTitleLevel;
|
|
10
|
+
constructor();
|
|
11
|
+
}
|
|
12
|
+
declare global {
|
|
13
|
+
interface HTMLElementTagNameMap {
|
|
14
|
+
'sbb-sidebar-title': SbbSidebarTitleElement;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
//# sourceMappingURL=sidebar-title.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-title.d.ts","sourceRoot":"","sources":["../../../../src/elements/sidebar/sidebar-title/sidebar-title.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C,OAAO,EAAE,YAAY,EAAE,KAAK,aAAa,EAAE,MAAM,gBAAgB,CAAC;AAIlE;;GAEG;AACH,qBAGM,sBAAuB,SAAQ,YAAY;IAC/C,OAAuB,MAAM,EAAE,cAAc,CAAgC;IAE7E,kBAAkB;IAClB,SAAsD,KAAK,EAAE,aAAa,CAAO;;CAMlF;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,mBAAmB,EAAE,sBAAsB,CAAC;KAC7C;CACF"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar-title.d.ts","sourceRoot":"","sources":["../../../src/elements/sidebar/sidebar-title.ts"],"names":[],"mappings":"AAAA,cAAc,kCAAkC,CAAC"}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
var _ = (e) => {
|
|
2
|
+
throw TypeError(e);
|
|
3
|
+
};
|
|
4
|
+
var v = (e, t, s) => t.has(e) || _("Cannot " + s);
|
|
5
|
+
var d = (e, t, s) => (v(e, t, "read from private field"), s ? s.call(e) : t.get(e)), h = (e, t, s) => t.has(e) ? _("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(e) : t.set(e, s), p = (e, t, s, l) => (v(e, t, "write to private field"), l ? l.call(e, s) : t.set(e, s), s);
|
|
6
|
+
import { __esDecorate as f, __runInitializers as c } from "tslib";
|
|
7
|
+
import { customElement as S, property as z } from "lit/decorators.js";
|
|
8
|
+
import { hostAttributes as k } from "../core/decorators.js";
|
|
9
|
+
import { SbbTitleBase as y } from "../title.js";
|
|
10
|
+
import { css as x } from "lit";
|
|
11
|
+
const D = x`:host{display:block}.sbb-title{display:flex;-webkit-hyphens:auto;hyphens:auto;padding-block-start:calc(.5 * (var(--sbb-sidebar__close-button-size) - var(--sbb-title-font-size) * var(--sbb-title-line-height)));min-height:var(--sbb-sidebar__close-button-size);margin-block:0!important}`;
|
|
12
|
+
let B = (() => {
|
|
13
|
+
var r, a;
|
|
14
|
+
let e = [S("sbb-sidebar-title"), k({ slot: "title-section" })], t, s = [], l, n = y, b, m = [], u = [];
|
|
15
|
+
return a = class extends n {
|
|
16
|
+
constructor() {
|
|
17
|
+
super();
|
|
18
|
+
h(this, r, c(this, m, "2"));
|
|
19
|
+
c(this, u), this.visualLevel ?? (this.visualLevel = "5");
|
|
20
|
+
}
|
|
21
|
+
/** Title level */
|
|
22
|
+
get level() {
|
|
23
|
+
return d(this, r);
|
|
24
|
+
}
|
|
25
|
+
set level(i) {
|
|
26
|
+
p(this, r, i);
|
|
27
|
+
}
|
|
28
|
+
}, r = new WeakMap(), l = a, (() => {
|
|
29
|
+
const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(n[Symbol.metadata] ?? null) : void 0;
|
|
30
|
+
b = [z({ reflect: !0 })], f(a, null, b, { kind: "accessor", name: "level", static: !1, private: !1, access: { has: (o) => "level" in o, get: (o) => o.level, set: (o, g) => {
|
|
31
|
+
o.level = g;
|
|
32
|
+
} }, metadata: i }, m, u), f(null, t = { value: l }, e, { kind: "class", name: l.name, metadata: i }, null, s), l = t.value, i && Object.defineProperty(l, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: i });
|
|
33
|
+
})(), a.styles = [y.styles, D], c(l, s), l;
|
|
34
|
+
})();
|
|
35
|
+
export {
|
|
36
|
+
B as SbbSidebarTitleElement
|
|
37
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../../src/elements/sidebar/sidebar.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC"}
|
|
@@ -0,0 +1,214 @@
|
|
|
1
|
+
var L = (i) => {
|
|
2
|
+
throw TypeError(i);
|
|
3
|
+
};
|
|
4
|
+
var Z = (i, r, a) => r.has(i) || L("Cannot " + a);
|
|
5
|
+
var v = (i, r, a) => (Z(i, r, "read from private field"), a ? a.call(i) : r.get(i)), m = (i, r, a) => r.has(i) ? L("Cannot add the same private member more than once") : r instanceof WeakSet ? r.add(i) : r.set(i, a), l = (i, r, a, b) => (Z(i, r, "write to private field"), b ? b.call(i, a) : r.set(i, a), a);
|
|
6
|
+
import { __esDecorate as d, __runInitializers as n } from "tslib";
|
|
7
|
+
import { ResizeController as R } from "@lit-labs/observers/resize-controller.js";
|
|
8
|
+
import { css as $, isServer as B, html as j } from "lit";
|
|
9
|
+
import { customElement as q, property as f, eventOptions as G } from "lit/decorators.js";
|
|
10
|
+
import { SbbFocusHandler as J, setModalityOnNextFocus as P, getFirstFocusableElement as K } from "../core/a11y.js";
|
|
11
|
+
import { SbbOpenCloseBaseElement as Q } from "../core/base-elements.js";
|
|
12
|
+
import { SbbInertController as X, SbbEscapableOverlayController as Y } from "../core/controllers.js";
|
|
13
|
+
import { forceType as w, handleDistinctChange as ee } from "../core/decorators.js";
|
|
14
|
+
import { isZeroAnimationDuration as te } from "../core/dom.js";
|
|
15
|
+
import { SbbAnimationCompleteMixin as se } from "../core/mixins.js";
|
|
16
|
+
import { isEventOnElement as N } from "../core/overlay.js";
|
|
17
|
+
const ie = $`*,:before,:after{box-sizing:border-box}:host{display:block;width:20rem;--sbb-link-text-decoration: none;--sbb-sidebar-background-color: var(--sbb-color-white);--sbb-sidebar-title-padding-block: var(--sbb-spacing-fixed-3x);--sbb-sidebar-padding: var(--sbb-spacing-responsive-xs);--sbb-sidebar-scrollbar-placeholder-width: var(--sbb-spacing-fixed-3x);--sbb-sidebar-border-radius: var(--sbb-border-radius-8x);--sbb-sidebar-margin: var(--sbb-spacing-fixed-3x);--sbb-sidebar-title-gap: var(--sbb-spacing-fixed-2x);--sbb-sidebar__margin: 0;--sbb-sidebar__margin-block-start: var(--sbb-sidebar-margin);--sbb-sidebar__translate-x: -100%;--sbb-sidebar__z-index: 2;--sbb-sidebar__padding-inline-end: var(--sbb-sidebar-padding);--sbb-sidebar__padding-block-start: var(--sbb-sidebar-padding);--sbb-sidebar__border-radius-start: var(--sbb-sidebar-border-radius);--sbb-sidebar__border-radius-end: 0;--sbb-sidebar__close-button-size: var(--sbb-size-element-xs)}@supports (scrollbar-gutter: stable){:host{--sbb-sidebar__padding-inline-end: calc( var(--sbb-sidebar-padding) - var(--sbb-sidebar-scrollbar-placeholder-width) )}}:host([color=milk]){--sbb-sidebar-background-color: var(--sbb-color-milk)}:host(:is([mode=over],[data-mode-over-forced]:not([data-mode-over-forced-closing]))){--sbb-sidebar__margin: var(--sbb-sidebar-margin);--sbb-sidebar__border-radius-end: var(--sbb-sidebar-border-radius);--sbb-sidebar__z-index: 3}:host(:is(:dir(rtl),[position=end])){--sbb-sidebar__translate-x: 100%}:host(:dir(rtl)[position=end]){--sbb-sidebar__translate-x: -100%}.sbb-sidebar{width:inherit;max-width:calc(100% - 2 * var(--sbb-sidebar__margin));background-color:var(--sbb-sidebar-background-color);display:flex;flex-direction:column;position:absolute;overflow:hidden;inset-block:0;z-index:var(--sbb-sidebar__z-index);border-start-start-radius:var(--sbb-sidebar__border-radius-start);border-start-end-radius:var(--sbb-sidebar__border-radius-start);border-end-start-radius:var(--sbb-sidebar__border-radius-end);border-end-end-radius:var(--sbb-sidebar__border-radius-end);margin:var(--sbb-sidebar__margin);margin-block-start:var(--sbb-sidebar__margin-block-start);transition-duration:var(--sbb-sidebar-container-animation-duration);transition-timing-function:var(--sbb-sidebar-container-animation-easing);transition-property:width,translate;translate:none}:host([position=end]) .sbb-sidebar{inset-inline-end:0}:host([data-state=closed]) .sbb-sidebar{visibility:hidden}:host(:is([data-state=closing],[data-state=closed])) .sbb-sidebar{translate:var(--sbb-sidebar__translate-x) 0}.sbb-sidebar-title-section{display:flex;width:100%;gap:var(--sbb-sidebar-title-gap);background-color:var(--sbb-sidebar-background-color);padding-inline:var(--sbb-sidebar-padding);transition:box-shadow var(--sbb-animation-easing) var(--sbb-sidebar-container-animation-duration);box-shadow:none}:host([data-scrolled]) .sbb-sidebar-title-section{box-shadow:var(--sbb-shadow-elevation-level-5-shadow-2-offset-x) var(--sbb-shadow-elevation-level-5-shadow-2-offset-y) var(--sbb-shadow-elevation-level-5-shadow-2-blur) var(--sbb-shadow-elevation-level-5-shadow-2-spread) var(--sbb-shadow-elevation-level-5-soft-2-color),var(--sbb-shadow-elevation-level-5-shadow-1-offset-x) var(--sbb-shadow-elevation-level-5-shadow-1-offset-y) var(--sbb-shadow-elevation-level-5-shadow-1-blur) var(--sbb-shadow-elevation-level-5-shadow-1-spread) var(--sbb-shadow-elevation-level-5-soft-1-color)}.sbb-sidebar-content-section{--sbb-scrollbar-thumb-width: .125rem;--sbb-scrollbar-thumb-width-hover: .25rem;--sbb-scrollbar-width-firefox: thin;--sbb-scrollbar-color: var(--sbb-color-black-alpha-30);--sbb-scrollbar-color-hover: var(--sbb-color-black-alpha-60);--sbb-scrollbar-track-color: transparent;--sbb-scrollbar-width: var(--sbb-spacing-fixed-3x)}.sbb-sidebar-content-section::-webkit-scrollbar{width:var(--sbb-scrollbar-width);height:var(--sbb-scrollbar-width);background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-sidebar-content-section::-webkit-scrollbar-corner{background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-sidebar-content-section::-webkit-scrollbar-thumb{background-color:var(--sbb-scrollbar-color, currentcolor);border:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width))) solid transparent;border-radius:var(--sbb-border-radius-4x);background-clip:padding-box}.sbb-sidebar-content-section::-webkit-scrollbar-thumb:hover{background-color:var(--sbb-scrollbar-color-hover, currentcolor);border-width:calc(.5 * (var(--sbb-scrollbar-width) - var(--sbb-scrollbar-thumb-width-hover)))}.sbb-sidebar-content-section::-webkit-scrollbar-button,.sbb-sidebar-content-section::-webkit-scrollbar-corner{display:none}@supports not selector(::-webkit-scrollbar){.sbb-sidebar-content-section{scrollbar-width:var(--sbb-scrollbar-width-firefox);scrollbar-color:var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent)}}.sbb-sidebar-content-section{padding-block-start:var(--sbb-sidebar__padding-block-start);padding-inline:var(--sbb-sidebar-padding) var(--sbb-sidebar__padding-inline-end);overflow-y:auto;flex-grow:1;outline-color:var(--sbb-focus-outline-color)}@supports (scrollbar-gutter: stable){.sbb-sidebar-content-section{scrollbar-gutter:stable}}::slotted(sbb-sidebar-title){flex-grow:1;padding-block:var(--sbb-sidebar-title-padding-block)}::slotted(sbb-sidebar-close-button){order:1;margin-inline-end:calc(-1 * (var(--sbb-sidebar-padding) - var(--sbb-sidebar-title-padding-block)));margin-block:var(--sbb-sidebar-title-padding-block);inset-inline-end:var(--sbb-sidebar-padding)}`;
|
|
18
|
+
let fe = (() => {
|
|
19
|
+
var c, h, u, p, _, o;
|
|
20
|
+
let i = [q("sbb-sidebar")], r, a = [], b, k = se(Q), x = [], O, C = [], y = [], E, S = [], z = [], A, D = [], F = [], I, W = [], V = [], T, M = [], U = [], H;
|
|
21
|
+
return o = class extends k {
|
|
22
|
+
constructor() {
|
|
23
|
+
var e;
|
|
24
|
+
super();
|
|
25
|
+
m(this, c);
|
|
26
|
+
m(this, h);
|
|
27
|
+
m(this, u);
|
|
28
|
+
m(this, p);
|
|
29
|
+
m(this, _);
|
|
30
|
+
l(this, c, (n(this, x), n(this, C, "white"))), l(this, h, (n(this, y), n(this, S, "side"))), l(this, u, (n(this, z), n(this, D, "start"))), l(this, p, (n(this, F), n(this, W, !1))), l(this, _, (n(this, V), n(this, M, !1))), this._container = (n(this, U), null), this._lastFocusedElement = null, this._focusHandler = new J(), this._inertController = new X(this), this._escapableOverlayController = new Y(this), this._isPointerDownEventOnSidebar = !1, this._pointerDownListener = (t) => {
|
|
31
|
+
var s;
|
|
32
|
+
this._isPointerDownEventOnSidebar = N((s = this.shadowRoot) == null ? void 0 : s.firstElementChild, t);
|
|
33
|
+
}, this._closeOnBackdropClick = (t) => {
|
|
34
|
+
var s;
|
|
35
|
+
!this._isPointerDownEventOnSidebar && !N((s = this.shadowRoot) == null ? void 0 : s.firstElementChild, t) && this.close();
|
|
36
|
+
}, new R(this, {
|
|
37
|
+
skipInitial: !0,
|
|
38
|
+
callback: () => this._updateSidebarWidth()
|
|
39
|
+
}), (e = this.addEventListener) == null || e.call(this, "click", (t) => {
|
|
40
|
+
var s;
|
|
41
|
+
((s = t.target) == null ? void 0 : s.localName) === "sbb-sidebar-close-button" && this.close();
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
/** Background color of the sidebar. Either `white` or `milk`. */
|
|
45
|
+
get color() {
|
|
46
|
+
return v(this, c);
|
|
47
|
+
}
|
|
48
|
+
set color(e) {
|
|
49
|
+
l(this, c, e);
|
|
50
|
+
}
|
|
51
|
+
/** Mode of the sidebar; one of 'side' or 'over'. */
|
|
52
|
+
get mode() {
|
|
53
|
+
return v(this, h);
|
|
54
|
+
}
|
|
55
|
+
set mode(e) {
|
|
56
|
+
l(this, h, e);
|
|
57
|
+
}
|
|
58
|
+
/** The side that the sidebar is attached to. */
|
|
59
|
+
get position() {
|
|
60
|
+
return v(this, u);
|
|
61
|
+
}
|
|
62
|
+
set position(e) {
|
|
63
|
+
l(this, u, e);
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Whether the sidebar is opened or closed.
|
|
67
|
+
* Can be used to initially set the opened state, where
|
|
68
|
+
* the animation will be skipped.
|
|
69
|
+
*/
|
|
70
|
+
get opened() {
|
|
71
|
+
return v(this, p);
|
|
72
|
+
}
|
|
73
|
+
set opened(e) {
|
|
74
|
+
l(this, p, e);
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Whether the sidebar should focus the first focusable element automatically when opened.
|
|
78
|
+
* Defaults to false in when mode is set to `side`, otherwise defaults to true.
|
|
79
|
+
* If explicitly enabled, focus will be moved into the sidebar in `side` mode as well.
|
|
80
|
+
*/
|
|
81
|
+
get focusOnOpen() {
|
|
82
|
+
return v(this, _);
|
|
83
|
+
}
|
|
84
|
+
set focusOnOpen(e) {
|
|
85
|
+
l(this, _, e);
|
|
86
|
+
}
|
|
87
|
+
/** Returns the SbbSidebarContainerElement where this sidebar is contained. */
|
|
88
|
+
get container() {
|
|
89
|
+
return this._container;
|
|
90
|
+
}
|
|
91
|
+
connectedCallback() {
|
|
92
|
+
var e;
|
|
93
|
+
super.connectedCallback(), this._container = (e = this.closest) == null ? void 0 : e.call(this, "sbb-sidebar-container"), this._updateSidebarWidth(), this.isOpen && this._isModeOver() && this._takeFocus();
|
|
94
|
+
}
|
|
95
|
+
disconnectedCallback() {
|
|
96
|
+
var e, t;
|
|
97
|
+
super.disconnectedCallback(), (e = this.container) == null || e.style.removeProperty(this._buildCssWidthVar()), this._container = null, this._focusHandler.disconnect(), (t = this._windowEventsController) == null || t.abort();
|
|
98
|
+
}
|
|
99
|
+
willUpdate(e) {
|
|
100
|
+
super.willUpdate(e), e.has("opened") && (this.opened ? this.open() : this.opened || this.close()), e.has("mode") && (this.mode === "over" && this.isOpen ? this._takeFocus() : this.cedeFocus());
|
|
101
|
+
}
|
|
102
|
+
firstUpdated(e) {
|
|
103
|
+
super.firstUpdated(e), this._updateSidebarWidth();
|
|
104
|
+
}
|
|
105
|
+
/** Toggles the sidebar visibility. */
|
|
106
|
+
toggle() {
|
|
107
|
+
this.state === "opening" || this.state === "opened" ? this.close() : this.open();
|
|
108
|
+
}
|
|
109
|
+
/** Opens the sidebar. */
|
|
110
|
+
open() {
|
|
111
|
+
var s;
|
|
112
|
+
if (this.state === "opening" || this.state === "opened" || !this.willOpen.emit())
|
|
113
|
+
return;
|
|
114
|
+
this.startAnimation(), !B && ((s = document.activeElement) == null ? void 0 : s.localName) !== "body" && (this._lastFocusedElement = document.activeElement), this.opened = !0;
|
|
115
|
+
const e = this._isZeroAnimationDuration() || !this.isConnected, t = !this.hasUpdated;
|
|
116
|
+
if (t || e)
|
|
117
|
+
this.toggleAttribute("data-skip-animation", !0);
|
|
118
|
+
else {
|
|
119
|
+
this.state = "opening";
|
|
120
|
+
return;
|
|
121
|
+
}
|
|
122
|
+
t ? this.updateComplete.then(() => this._handleOpening()) : this._handleOpening();
|
|
123
|
+
}
|
|
124
|
+
_isZeroAnimationDuration() {
|
|
125
|
+
return te(this, "--sbb-sidebar-container-animation-duration");
|
|
126
|
+
}
|
|
127
|
+
_handleOpening() {
|
|
128
|
+
this.state = "opened", setTimeout(() => this.toggleAttribute("data-skip-animation", !1)), this._takeFocus(), this.stopAnimation(), this.didOpen.emit();
|
|
129
|
+
}
|
|
130
|
+
/** Closes the sidebar. */
|
|
131
|
+
close() {
|
|
132
|
+
if (this.state === "closing" || this.state === "closed" || !this.willClose.emit())
|
|
133
|
+
return;
|
|
134
|
+
this.startAnimation();
|
|
135
|
+
const e = this._isZeroAnimationDuration();
|
|
136
|
+
!this.hasUpdated || e ? this.toggleAttribute("data-skip-animation", !0) : this.state = "closing", this.opened = !1, (!this.hasUpdated || e) && this._handleClosing();
|
|
137
|
+
}
|
|
138
|
+
_handleClosing() {
|
|
139
|
+
var e;
|
|
140
|
+
this.state = "closed", setTimeout(() => this.toggleAttribute("data-skip-animation", !1)), this.cedeFocus(), !B && (this.contains(document.activeElement) || this._isModeOver()) && (this._lastFocusedElement ? (P(this._lastFocusedElement), (e = this._lastFocusedElement) == null || e.focus()) : document.activeElement.blur()), this._lastFocusedElement = null, this.stopAnimation(), this.didClose.emit();
|
|
141
|
+
}
|
|
142
|
+
_takeFocus() {
|
|
143
|
+
if (this._inertController.isInert() || !this.isConnected)
|
|
144
|
+
return;
|
|
145
|
+
const e = this._isModeOver();
|
|
146
|
+
if (e && (this._inertController.activate(), this._escapableOverlayController.connect()), e || this.focusOnOpen) {
|
|
147
|
+
const t = K(Array.from(this.children).filter((s) => s instanceof window.HTMLElement));
|
|
148
|
+
P(t), t == null || t.focus();
|
|
149
|
+
}
|
|
150
|
+
e && (this._focusHandler.trap(this), this._attachWindowEvents());
|
|
151
|
+
}
|
|
152
|
+
_attachWindowEvents() {
|
|
153
|
+
var e;
|
|
154
|
+
(e = this._windowEventsController) == null || e.abort(), this._windowEventsController = new AbortController(), window.addEventListener("pointerdown", this._pointerDownListener, {
|
|
155
|
+
signal: this._windowEventsController.signal
|
|
156
|
+
}), window.addEventListener("pointerup", this._closeOnBackdropClick, {
|
|
157
|
+
signal: this._windowEventsController.signal
|
|
158
|
+
});
|
|
159
|
+
}
|
|
160
|
+
// Internal method that we use externally. `protected` preserves type information for type safe access.
|
|
161
|
+
cedeFocus() {
|
|
162
|
+
var e;
|
|
163
|
+
this._inertController.isInert() && this._inertController.deactivate(), this._focusHandler.disconnect(), this._escapableOverlayController.disconnect(), (e = this._windowEventsController) == null || e.abort();
|
|
164
|
+
}
|
|
165
|
+
_updateSidebarWidth(e) {
|
|
166
|
+
const t = this.container;
|
|
167
|
+
if (!t)
|
|
168
|
+
return;
|
|
169
|
+
e && t.style.removeProperty(this._buildCssWidthVar(e));
|
|
170
|
+
const s = this.offsetWidth;
|
|
171
|
+
if (!s)
|
|
172
|
+
return;
|
|
173
|
+
const g = `${s}px`;
|
|
174
|
+
t.style.getPropertyValue(this._buildCssWidthVar()) !== g && t.style.setProperty(this._buildCssWidthVar(), g);
|
|
175
|
+
}
|
|
176
|
+
_buildCssWidthVar(e = this.position) {
|
|
177
|
+
return `--sbb-sidebar-container__${e}-width`;
|
|
178
|
+
}
|
|
179
|
+
_isModeOver() {
|
|
180
|
+
return this.mode === "over" || this.hasAttribute("data-mode-over-forced");
|
|
181
|
+
}
|
|
182
|
+
_onTransitionEnd(e) {
|
|
183
|
+
e.propertyName !== "translate" || e.target !== e.currentTarget || (this.state === "opening" ? this._handleOpening() : this.state === "closing" && this._handleClosing());
|
|
184
|
+
}
|
|
185
|
+
_detectScrolledState() {
|
|
186
|
+
var e, t;
|
|
187
|
+
this.toggleAttribute("data-scrolled", (((t = (e = this.shadowRoot) == null ? void 0 : e.querySelector(".sbb-sidebar-content-section")) == null ? void 0 : t.scrollTop) ?? 0) > 0);
|
|
188
|
+
}
|
|
189
|
+
render() {
|
|
190
|
+
return j`<div class="sbb-sidebar" @transitionend=${this._onTransitionEnd}>
|
|
191
|
+
<div class="sbb-sidebar-title-section"><slot name="title-section"></slot></div>
|
|
192
|
+
<div class="sbb-sidebar-content-section" @scroll=${() => this._detectScrolledState()}>
|
|
193
|
+
<slot></slot>
|
|
194
|
+
</div>
|
|
195
|
+
</div>`;
|
|
196
|
+
}
|
|
197
|
+
}, c = new WeakMap(), h = new WeakMap(), u = new WeakMap(), p = new WeakMap(), _ = new WeakMap(), b = o, (() => {
|
|
198
|
+
const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(k[Symbol.metadata] ?? null) : void 0;
|
|
199
|
+
O = [f({ reflect: !0 })], E = [w((t) => t === "over" ? "over" : "side"), f({ reflect: !0 })], A = [w((t) => t === "end" ? "end" : "start"), ee((t, s, g) => t._updateSidebarWidth(g)), f({ reflect: !0 })], I = [w(), f({ type: Boolean, reflect: !0 })], T = [w(), f({ type: Boolean, attribute: "focus-on-open" })], H = [G({ passive: !0 })], d(o, null, O, { kind: "accessor", name: "color", static: !1, private: !1, access: { has: (t) => "color" in t, get: (t) => t.color, set: (t, s) => {
|
|
200
|
+
t.color = s;
|
|
201
|
+
} }, metadata: e }, C, y), d(o, null, E, { kind: "accessor", name: "mode", static: !1, private: !1, access: { has: (t) => "mode" in t, get: (t) => t.mode, set: (t, s) => {
|
|
202
|
+
t.mode = s;
|
|
203
|
+
} }, metadata: e }, S, z), d(o, null, A, { kind: "accessor", name: "position", static: !1, private: !1, access: { has: (t) => "position" in t, get: (t) => t.position, set: (t, s) => {
|
|
204
|
+
t.position = s;
|
|
205
|
+
} }, metadata: e }, D, F), d(o, null, I, { kind: "accessor", name: "opened", static: !1, private: !1, access: { has: (t) => "opened" in t, get: (t) => t.opened, set: (t, s) => {
|
|
206
|
+
t.opened = s;
|
|
207
|
+
} }, metadata: e }, W, V), d(o, null, T, { kind: "accessor", name: "focusOnOpen", static: !1, private: !1, access: { has: (t) => "focusOnOpen" in t, get: (t) => t.focusOnOpen, set: (t, s) => {
|
|
208
|
+
t.focusOnOpen = s;
|
|
209
|
+
} }, metadata: e }, M, U), d(o, null, H, { kind: "method", name: "_detectScrolledState", static: !1, private: !1, access: { has: (t) => "_detectScrolledState" in t, get: (t) => t._detectScrolledState }, metadata: e }, null, x), d(null, r = { value: b }, i, { kind: "class", name: b.name, metadata: e }, null, a), b = r.value, e && Object.defineProperty(b, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
|
|
210
|
+
})(), o.styles = ie, n(b, a), b;
|
|
211
|
+
})();
|
|
212
|
+
export {
|
|
213
|
+
fe as SbbSidebarElement
|
|
214
|
+
};
|
package/sidebar.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export * from './sidebar/common.js';
|
|
2
|
+
export * from './sidebar/icon-sidebar.js';
|
|
3
|
+
export * from './sidebar/icon-sidebar-button.js';
|
|
4
|
+
export * from './sidebar/icon-sidebar-container.js';
|
|
5
|
+
export * from './sidebar/icon-sidebar-content.js';
|
|
6
|
+
export * from './sidebar/icon-sidebar-link.js';
|
|
7
|
+
export * from './sidebar/sidebar.js';
|
|
8
|
+
export * from './sidebar/sidebar-close-button.js';
|
|
9
|
+
export * from './sidebar/sidebar-container.js';
|
|
10
|
+
export * from './sidebar/sidebar-content.js';
|
|
11
|
+
export * from './sidebar/sidebar-title.js';
|
|
12
|
+
//# sourceMappingURL=sidebar.d.ts.map
|
package/sidebar.d.ts.map
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"sidebar.d.ts","sourceRoot":"","sources":["../../src/elements/sidebar.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,kCAAkC,CAAC;AACjD,cAAc,qCAAqC,CAAC;AACpD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,sBAAsB,CAAC;AACrC,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,8BAA8B,CAAC;AAC7C,cAAc,4BAA4B,CAAC"}
|
package/sidebar.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export * from "./sidebar/common.js";
|
|
2
|
+
export * from "./sidebar/icon-sidebar.js";
|
|
3
|
+
export * from "./sidebar/icon-sidebar-button.js";
|
|
4
|
+
export * from "./sidebar/icon-sidebar-container.js";
|
|
5
|
+
export * from "./sidebar/icon-sidebar-content.js";
|
|
6
|
+
export * from "./sidebar/icon-sidebar-link.js";
|
|
7
|
+
export * from "./sidebar/sidebar.js";
|
|
8
|
+
export * from "./sidebar/sidebar-close-button.js";
|
|
9
|
+
export * from "./sidebar/sidebar-container.js";
|
|
10
|
+
export * from "./sidebar/sidebar-content.js";
|
|
11
|
+
export * from "./sidebar/sidebar-title.js";
|
package/standard-theme.css
CHANGED
|
@@ -106,7 +106,7 @@ summary {
|
|
|
106
106
|
|
|
107
107
|
/**
|
|
108
108
|
* Do not edit directly
|
|
109
|
-
* Generated on
|
|
109
|
+
* Generated on Wed, 19 Mar 2025 15:25:09 GMT
|
|
110
110
|
*/
|
|
111
111
|
*,
|
|
112
112
|
::before,
|
|
@@ -255,11 +255,13 @@ summary {
|
|
|
255
255
|
--sbb-color-red: #eb0000;
|
|
256
256
|
--sbb-color-red-alpha-0: rgba(235, 0, 0, 0);
|
|
257
257
|
--sbb-color-red-alpha-20: rgba(235, 0, 0, 0.2);
|
|
258
|
+
--sbb-color-red-alpha-60: rgba(235, 0, 0, 0.6);
|
|
258
259
|
--sbb-color-red-alpha-90: rgba(235, 0, 0, 0.9);
|
|
259
260
|
--sbb-color-red-mode-dark: #ff3838;
|
|
260
261
|
--sbb-color-red125: #c60018;
|
|
261
262
|
--sbb-color-red125-alpha-0: rgba(198, 0, 24, 0);
|
|
262
263
|
--sbb-color-red125-alpha-20: rgba(198, 0, 24, 0.2);
|
|
264
|
+
--sbb-color-red125-alpha-60: rgba(198, 0, 0, 0.6);
|
|
263
265
|
--sbb-color-red150: #a20013;
|
|
264
266
|
--sbb-color-royal: #06348b;
|
|
265
267
|
--sbb-color-royal125: #032668;
|
|
@@ -271,6 +273,7 @@ summary {
|
|
|
271
273
|
--sbb-color-white-alpha-50: rgba(255, 255, 255, 0.5);
|
|
272
274
|
--sbb-color-white-alpha-60: rgba(255, 255, 255, 0.6);
|
|
273
275
|
--sbb-color-white-alpha-70: rgba(255, 255, 255, 0.7);
|
|
276
|
+
--sbb-color-white-alpha-80: rgba(255, 255, 255, 0.8);
|
|
274
277
|
--sbb-color-sky: #0079c7;
|
|
275
278
|
--sbb-color-night: #143a85;
|
|
276
279
|
--sbb-color-violet: #6f2282;
|
|
@@ -1536,6 +1539,53 @@ sbb-train-formation[view=top] sbb-train-wagon {
|
|
|
1536
1539
|
--sbb-train-wagon-wagon-end-right-shape: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='40' viewBox='0 0 80 40' fill='none'%3E%3Cpath d='M8.5,0.5 h51.5 a19.5,19.5 0 0 1 19.5,19.5 v0 a19.5,19.5 0 0 1 -19.5,19.5 h-51.5 a8,8 0 0 1 -8,-8 v-23 a8,8 0 0 1 8,-8 z' stroke='%23000000' stroke-width='1'/%3E%3C/svg%3E");
|
|
1537
1540
|
}
|
|
1538
1541
|
|
|
1542
|
+
sbb-sidebar-container:has(> sbb-sidebar[data-skip-animation]) {
|
|
1543
|
+
--sbb-sidebar-container-animation-duration: 0s;
|
|
1544
|
+
}
|
|
1545
|
+
|
|
1546
|
+
sbb-sidebar-container:is(:has(> sbb-sidebar:not([position=end]):is([data-state=closing],
|
|
1547
|
+
[data-state=closed],
|
|
1548
|
+
[mode=over],
|
|
1549
|
+
[data-mode-over-forced])),
|
|
1550
|
+
:not(:has(> sbb-sidebar:not([position=end])))) > sbb-sidebar-content {
|
|
1551
|
+
--sbb-sidebar-content__margin-inline-start: 0;
|
|
1552
|
+
}
|
|
1553
|
+
|
|
1554
|
+
sbb-sidebar-container:is(:has(> sbb-sidebar[position=end]:is([data-state=closing],
|
|
1555
|
+
[data-state=closed],
|
|
1556
|
+
[mode=over],
|
|
1557
|
+
[data-mode-over-forced])),
|
|
1558
|
+
:not(:has(> sbb-sidebar[position=end]))) > sbb-sidebar-content {
|
|
1559
|
+
--sbb-sidebar-content__margin-inline-end: 0;
|
|
1560
|
+
}
|
|
1561
|
+
|
|
1562
|
+
sbb-sidebar-container:has(> sbb-sidebar:is([mode=over], [data-mode-over-forced]):is([data-state=opening],
|
|
1563
|
+
[data-state=opened])) {
|
|
1564
|
+
--sbb-sidebar-container__backdrop-visibility: visible;
|
|
1565
|
+
--sbb-sidebar-container-backdrop-opacity: 0.4;
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
sbb-icon-sidebar-content + sbb-icon-sidebar :is(sbb-icon-sidebar-link, sbb-icon-sidebar-button) {
|
|
1569
|
+
--sbb-icon-sidebar-button__current-border-inset-inline-start: auto;
|
|
1570
|
+
}
|
|
1571
|
+
|
|
1572
|
+
sbb-icon-sidebar-content + sbb-icon-sidebar {
|
|
1573
|
+
border-start-end-radius: 0;
|
|
1574
|
+
border-start-start-radius: var(--sbb-icon-sidebar-border-radius);
|
|
1575
|
+
}
|
|
1576
|
+
|
|
1577
|
+
sbb-sidebar:not(:has(sbb-sidebar-title)) sbb-sidebar-close-button {
|
|
1578
|
+
position: absolute;
|
|
1579
|
+
}
|
|
1580
|
+
|
|
1581
|
+
sbb-sidebar:has(sbb-sidebar-title) {
|
|
1582
|
+
--sbb-sidebar__padding-block-start: 0;
|
|
1583
|
+
}
|
|
1584
|
+
|
|
1585
|
+
sbb-header + :where(sbb-sidebar-container, sbb-icon-sidebar-container) {
|
|
1586
|
+
margin-block-start: var(--sbb-header-height);
|
|
1587
|
+
}
|
|
1588
|
+
|
|
1539
1589
|
sub {
|
|
1540
1590
|
bottom: -0.36em;
|
|
1541
1591
|
}
|
package/stepper/step/step.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSResultGroup, LitElement,
|
|
1
|
+
import { CSSResultGroup, LitElement, TemplateResult } from 'lit';
|
|
2
2
|
import { SbbStepLabelElement } from '../step-label.js';
|
|
3
3
|
export type SbbStepValidateEventDetails = {
|
|
4
4
|
currentIndex: number | null;
|
|
@@ -19,7 +19,6 @@ export declare class SbbStepElement extends LitElement {
|
|
|
19
19
|
};
|
|
20
20
|
/** Emits whenever step switch is triggered. */
|
|
21
21
|
private _validate;
|
|
22
|
-
private _loaded;
|
|
23
22
|
private _stepper;
|
|
24
23
|
private _label;
|
|
25
24
|
/** The label of the step. */
|
|
@@ -51,7 +50,6 @@ export declare class SbbStepElement extends LitElement {
|
|
|
51
50
|
private _isGoPreviousElement;
|
|
52
51
|
private _getStepLabel;
|
|
53
52
|
connectedCallback(): void;
|
|
54
|
-
protected firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
55
53
|
protected render(): TemplateResult;
|
|
56
54
|
}
|
|
57
55
|
declare global {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../../src/elements/stepper/step/step.ts"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"step.d.ts","sourceRoot":"","sources":["../../../../src/elements/stepper/step/step.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAQ,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAKjF,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,kBAAkB,CAAC;AAO5D,MAAM,MAAM,2BAA2B,GAAG;IACxC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IAC5B,WAAW,EAAE,cAAc,GAAG,IAAI,CAAC;IACnC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACzB,QAAQ,EAAE,cAAc,GAAG,IAAI,CAAC;CACjC,CAAC;AAEF;;;;;GAKG;AACH,qBAMM,cAAe,SAAQ,UAAU;IACrC,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;MAElB;IAEX,+CAA+C;IAC/C,OAAO,CAAC,SAAS,CAGf;IAEF,OAAO,CAAC,QAAQ,CAAkC;IAClD,OAAO,CAAC,MAAM,CAAoC;IAElD,6BAA6B;IAC7B,IAAW,KAAK,IAAI,mBAAmB,GAAG,IAAI,CAE7C;;IAOD;;;OAGG;IACI,MAAM,IAAI,IAAI;IAQrB;;;OAGG;IACI,QAAQ,IAAI,IAAI;IAQvB;;;OAGG;IACI,QAAQ,CAAC,SAAS,EAAE,2BAA2B,GAAG,OAAO;IAIhE;;;OAGG;IACI,SAAS,CAAC,aAAa,EAAE,OAAO,GAAG,IAAI;IAS9C,iGAAiG;IACjG,OAAO,CAAC,YAAY;IAWpB,OAAO,CAAC,gBAAgB;IAIxB,OAAO,CAAC,oBAAoB;IAI5B,OAAO,CAAC,aAAa;IAQL,iBAAiB,IAAI,IAAI;cAOtB,MAAM,IAAI,cAAc;CAS5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,UAAU,EAAE,cAAc,CAAC;KAC5B;CACF"}
|