@sbb-esta/lyne-elements 1.10.0 → 1.11.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.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts +0 -3
- package/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts.map +1 -1
- package/autocomplete-grid/autocomplete-grid-button.js +32 -28
- package/autocomplete-grid/autocomplete-grid.js +16 -17
- package/autocomplete.js +23 -24
- package/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts +0 -1
- package/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts.map +1 -1
- package/breadcrumb/breadcrumb-group.js +25 -24
- package/button/button/button.d.ts +1 -1
- package/button/button-link/button-link.d.ts +1 -1
- package/button/button-link.js +14 -14
- package/button/button.js +9 -9
- package/button/mini-button/mini-button.d.ts +1 -1
- package/button/mini-button/mini-button.d.ts.map +1 -1
- package/button/mini-button.js +15 -17
- package/button/secondary-button/secondary-button.d.ts +1 -1
- package/button/secondary-button-link/secondary-button-link.d.ts +1 -1
- package/button/secondary-button-link.js +15 -15
- package/button/secondary-button.js +6 -6
- package/button/tertiary-button/tertiary-button.d.ts +1 -1
- package/button/tertiary-button-link/tertiary-button-link.d.ts +1 -1
- package/button/tertiary-button-link.js +12 -12
- package/button/tertiary-button.js +13 -13
- package/button/transparent-button/transparent-button.d.ts +1 -1
- package/button/transparent-button-link/transparent-button-link.d.ts +1 -1
- package/button/transparent-button-link.js +15 -15
- package/button/transparent-button.js +8 -8
- package/card/card-badge/card-badge.d.ts.map +1 -1
- package/card/card-badge.js +7 -9
- package/card/common/card-action-common.d.ts.map +1 -1
- package/card/common.js +24 -25
- package/container/sticky-bar/sticky-bar.d.ts +0 -1
- package/container/sticky-bar/sticky-bar.d.ts.map +1 -1
- package/container/sticky-bar.js +20 -20
- package/core/a11y/arrow-navigation.d.ts.map +1 -1
- package/core/a11y.js +46 -47
- package/core/base-elements/action-base-element.d.ts +1 -0
- package/core/base-elements/action-base-element.d.ts.map +1 -1
- package/core/base-elements/link-base-element.d.ts.map +1 -1
- package/core/base-elements.js +52 -49
- package/core/controllers/language-controller.d.ts.map +1 -1
- package/core/controllers.js +22 -23
- package/core/dom/get-document-writing-mode.d.ts +3 -0
- package/core/dom/get-document-writing-mode.d.ts.map +1 -1
- package/core/mixins/disabled-mixin.d.ts +9 -4
- package/core/mixins/disabled-mixin.d.ts.map +1 -1
- package/core/mixins.js +68 -58
- package/core/observers/intersection-observer.d.ts +6 -0
- package/core/observers/intersection-observer.d.ts.map +1 -1
- package/core/observers/mutation-observer.d.ts +6 -0
- package/core/observers/mutation-observer.d.ts.map +1 -1
- package/core/observers/resize-observer.d.ts +6 -0
- package/core/observers/resize-observer.d.ts.map +1 -1
- package/core/styles/core.scss +23 -0
- package/core/styles/mixins/overlay.scss +2 -2
- package/core.css +23 -0
- package/custom-elements.json +1268 -159
- package/datepicker/datepicker/datepicker.d.ts +1 -1
- package/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts +0 -2
- package/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/datepicker/datepicker-toggle.js +36 -45
- package/datepicker/datepicker.js +34 -35
- package/development/autocomplete/autocomplete.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts +0 -3
- package/development/autocomplete-grid/autocomplete-grid-button/autocomplete-grid-button.d.ts.map +1 -1
- package/development/autocomplete-grid/autocomplete-grid-button.js +17 -15
- package/development/autocomplete-grid/autocomplete-grid.js +2 -3
- package/development/autocomplete.js +4 -5
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts +0 -1
- package/development/breadcrumb/breadcrumb-group/breadcrumb-group.d.ts.map +1 -1
- package/development/breadcrumb/breadcrumb-group.js +9 -8
- package/development/button/button/button.d.ts +1 -1
- package/development/button/button-link/button-link.d.ts +1 -1
- package/development/button/button-link.js +3 -3
- package/development/button/button.js +3 -3
- package/development/button/mini-button/mini-button.d.ts +1 -1
- package/development/button/mini-button/mini-button.d.ts.map +1 -1
- package/development/button/mini-button.js +3 -5
- package/development/button/secondary-button/secondary-button.d.ts +1 -1
- package/development/button/secondary-button-link/secondary-button-link.d.ts +1 -1
- package/development/button/secondary-button-link.js +3 -3
- package/development/button/secondary-button.js +3 -3
- package/development/button/tertiary-button/tertiary-button.d.ts +1 -1
- package/development/button/tertiary-button-link/tertiary-button-link.d.ts +1 -1
- package/development/button/tertiary-button-link.js +3 -3
- package/development/button/tertiary-button.js +3 -3
- package/development/button/transparent-button/transparent-button.d.ts +1 -1
- package/development/button/transparent-button-link/transparent-button-link.d.ts +1 -1
- package/development/button/transparent-button-link.js +3 -3
- package/development/button/transparent-button.js +3 -3
- package/development/card/card-badge/card-badge.d.ts.map +1 -1
- package/development/card/card-badge.js +3 -5
- package/development/card/common/card-action-common.d.ts.map +1 -1
- package/development/card/common.js +8 -10
- package/development/container/sticky-bar/sticky-bar.d.ts +0 -1
- package/development/container/sticky-bar/sticky-bar.d.ts.map +1 -1
- package/development/container/sticky-bar.js +8 -9
- package/development/core/a11y/arrow-navigation.d.ts.map +1 -1
- package/development/core/a11y.js +2 -3
- package/development/core/base-elements/action-base-element.d.ts +1 -0
- package/development/core/base-elements/action-base-element.d.ts.map +1 -1
- package/development/core/base-elements/link-base-element.d.ts.map +1 -1
- package/development/core/base-elements.js +7 -4
- package/development/core/controllers/language-controller.d.ts.map +1 -1
- package/development/core/controllers.js +9 -4
- package/development/core/dom/get-document-writing-mode.d.ts +3 -0
- package/development/core/dom/get-document-writing-mode.d.ts.map +1 -1
- package/development/core/dom.js +1 -1
- package/development/core/mixins/disabled-mixin.d.ts +9 -4
- package/development/core/mixins/disabled-mixin.d.ts.map +1 -1
- package/development/core/mixins.js +25 -9
- package/development/core/observers/intersection-observer.d.ts +6 -0
- package/development/core/observers/intersection-observer.d.ts.map +1 -1
- package/development/core/observers/mutation-observer.d.ts +6 -0
- package/development/core/observers/mutation-observer.d.ts.map +1 -1
- package/development/core/observers/resize-observer.d.ts +6 -0
- package/development/core/observers/resize-observer.d.ts.map +1 -1
- package/development/core/observers.js +1 -1
- package/development/datepicker/datepicker/datepicker.d.ts +1 -1
- package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts +0 -2
- package/development/datepicker/datepicker-toggle/datepicker-toggle.d.ts.map +1 -1
- package/development/datepicker/datepicker-toggle.js +2 -12
- package/development/datepicker/datepicker.js +6 -7
- package/development/dialog/dialog/dialog.d.ts +0 -1
- package/development/dialog/dialog/dialog.d.ts.map +1 -1
- package/development/dialog/dialog.js +10 -10
- package/development/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts +1 -1
- package/development/expansion-panel/expansion-panel-header.js +3 -3
- package/development/flip-card/flip-card-details/flip-card-details.d.ts +2 -5
- package/development/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/development/flip-card/flip-card-details.js +10 -22
- package/development/form-field/form-field/form-field.d.ts.map +1 -1
- package/development/form-field/form-field.js +11 -12
- package/development/header/common.js +42 -21
- package/development/header/header/header.d.ts +2 -0
- package/development/header/header/header.d.ts.map +1 -1
- package/development/header/header.js +12 -1
- package/development/journey-header/journey-header.d.ts.map +1 -1
- package/development/journey-header.js +3 -4
- package/development/link/block-link-button/block-link-button.d.ts +1 -1
- package/development/link/block-link-button.js +3 -3
- package/development/link/link-button/link-button.d.ts +1 -1
- package/development/link/link-button.js +3 -3
- package/development/logo.js +2 -4
- package/development/map-container/map-container.d.ts +8 -5
- package/development/map-container/map-container.d.ts.map +1 -1
- package/development/map-container.js +31 -34
- package/development/menu/common/menu-action-common.d.ts +1 -2
- package/development/menu/common/menu-action-common.d.ts.map +1 -1
- package/development/menu/common.js +1 -1
- package/development/menu/menu/menu.d.ts.map +1 -1
- package/development/menu/menu-button/menu-button.d.ts +1 -1
- package/development/menu/menu-button.js +3 -3
- package/development/menu/menu-link/menu-link.d.ts +1 -1
- package/development/menu/menu-link/menu-link.d.ts.map +1 -1
- package/development/menu/menu-link.js +5 -2
- package/development/menu/menu.js +4 -2
- package/development/navigation/navigation/navigation.d.ts +1 -1
- package/development/navigation/navigation/navigation.d.ts.map +1 -1
- package/development/navigation/navigation-marker/navigation-marker.d.ts +1 -2
- package/development/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
- package/development/navigation/navigation-marker.js +8 -15
- package/development/navigation/navigation.js +13 -10
- package/development/notification/notification.d.ts +0 -1
- package/development/notification/notification.d.ts.map +1 -1
- package/development/notification.js +11 -13
- package/development/option/optgroup/optgroup-base-element.d.ts +0 -2
- package/development/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/development/option/optgroup.js +9 -14
- package/development/option/option/option-base-element.d.ts +0 -3
- package/development/option/option/option-base-element.d.ts.map +1 -1
- package/development/option/option.js +6 -10
- package/development/popover/popover-trigger/popover-trigger.d.ts +1 -1
- package/development/popover/popover-trigger.js +3 -3
- package/development/select/select.d.ts.map +1 -1
- package/development/select.js +4 -5
- package/development/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/development/selection-expansion-panel.js +10 -9
- package/development/signet/signet.d.ts +4 -1
- package/development/signet/signet.d.ts.map +1 -1
- package/development/signet.js +37 -8
- package/development/slider/slider.d.ts.map +1 -1
- package/development/slider.js +12 -10
- package/development/stepper/step/step.d.ts +1 -2
- package/development/stepper/step/step.d.ts.map +1 -1
- package/development/stepper/step.js +9 -14
- package/development/table/table-wrapper/table-wrapper.d.ts +0 -1
- package/development/table/table-wrapper/table-wrapper.d.ts.map +1 -1
- package/development/table/table-wrapper.js +7 -7
- package/development/tabs/tab-group/tab-group.d.ts +0 -1
- package/development/tabs/tab-group/tab-group.d.ts.map +1 -1
- package/development/tabs/tab-group.js +19 -18
- package/development/tag/tag/tag.d.ts +1 -1
- package/development/tag/tag.js +3 -3
- package/development/toggle/toggle/toggle.d.ts +0 -1
- package/development/toggle/toggle/toggle.d.ts.map +1 -1
- package/development/toggle/toggle-option.js +2 -2
- package/development/toggle/toggle.js +7 -7
- package/development/train/train-formation/train-formation.d.ts +1 -2
- package/development/train/train-formation/train-formation.d.ts.map +1 -1
- package/development/train/train-formation.js +10 -8
- package/dialog/dialog/dialog.d.ts +0 -1
- package/dialog/dialog/dialog.d.ts.map +1 -1
- package/dialog/dialog.js +16 -17
- package/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts +1 -1
- package/expansion-panel/expansion-panel-header.js +1 -1
- package/flip-card/flip-card-details/flip-card-details.d.ts +2 -5
- package/flip-card/flip-card-details/flip-card-details.d.ts.map +1 -1
- package/flip-card/flip-card-details.js +20 -28
- package/form-field/form-field/form-field.d.ts.map +1 -1
- package/form-field/form-field.js +26 -27
- package/header/common.js +3 -3
- package/header/header/header.d.ts +2 -0
- package/header/header/header.d.ts.map +1 -1
- package/header/header.js +21 -18
- package/journey-header/journey-header.d.ts.map +1 -1
- package/journey-header.js +14 -15
- package/link/block-link-button/block-link-button.d.ts +1 -1
- package/link/block-link-button.js +10 -10
- package/link/link-button/link-button.d.ts +1 -1
- package/link/link-button.js +4 -4
- package/logo.js +1 -1
- package/map-container/map-container.d.ts +8 -5
- package/map-container/map-container.d.ts.map +1 -1
- package/map-container.js +35 -37
- package/menu/common/menu-action-common.d.ts +1 -2
- package/menu/common/menu-action-common.d.ts.map +1 -1
- package/menu/menu/menu.d.ts.map +1 -1
- package/menu/menu-button/menu-button.d.ts +1 -1
- package/menu/menu-button.js +13 -13
- package/menu/menu-link/menu-link.d.ts +1 -1
- package/menu/menu-link/menu-link.d.ts.map +1 -1
- package/menu/menu-link.js +15 -12
- package/menu/menu.js +9 -7
- package/navigation/navigation/navigation.d.ts +1 -1
- package/navigation/navigation/navigation.d.ts.map +1 -1
- package/navigation/navigation-marker/navigation-marker.d.ts +1 -2
- package/navigation/navigation-marker/navigation-marker.d.ts.map +1 -1
- package/navigation/navigation-marker.js +17 -22
- package/navigation/navigation.js +40 -34
- package/notification/notification.d.ts +0 -1
- package/notification/notification.d.ts.map +1 -1
- package/notification.js +17 -18
- package/option/optgroup/optgroup-base-element.d.ts +0 -2
- package/option/optgroup/optgroup-base-element.d.ts.map +1 -1
- package/option/optgroup.js +31 -33
- package/option/option/option-base-element.d.ts +0 -3
- package/option/option/option-base-element.d.ts.map +1 -1
- package/option/option.js +16 -18
- package/package.json +3 -2
- package/popover/popover-trigger/popover-trigger.d.ts +1 -1
- package/popover/popover-trigger.js +1 -1
- package/select/select.d.ts.map +1 -1
- package/select.js +14 -15
- package/selection-expansion-panel/selection-expansion-panel.d.ts.map +1 -1
- package/selection-expansion-panel.js +25 -24
- package/signet/signet.d.ts +4 -1
- package/signet/signet.d.ts.map +1 -1
- package/signet.js +34 -23
- package/slider/slider.d.ts.map +1 -1
- package/slider.js +5 -5
- package/standard-theme.css +23 -0
- package/stepper/step/step.d.ts +1 -2
- package/stepper/step/step.d.ts.map +1 -1
- package/stepper/step.js +19 -24
- package/table/table-wrapper/table-wrapper.d.ts +0 -1
- package/table/table-wrapper/table-wrapper.d.ts.map +1 -1
- package/table/table-wrapper.js +19 -18
- package/tabs/tab-group/tab-group.d.ts +0 -1
- package/tabs/tab-group/tab-group.d.ts.map +1 -1
- package/tabs/tab-group.js +37 -33
- package/tag/tag/tag.d.ts +1 -1
- package/tag/tag.js +19 -19
- package/toggle/toggle/toggle.d.ts +0 -1
- package/toggle/toggle/toggle.d.ts.map +1 -1
- package/toggle/toggle-option.js +1 -1
- package/toggle/toggle.js +32 -31
- package/train/train-formation/train-formation.d.ts +1 -2
- package/train/train-formation/train-formation.d.ts.map +1 -1
- package/train/train-formation.js +23 -22
|
@@ -1,21 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
const
|
|
6
|
-
var
|
|
7
|
-
for (var a = e > 1 ? void 0 : e ?
|
|
1
|
+
import { ResizeController as l } from "@lit-labs/observers/resize-controller.js";
|
|
2
|
+
import { css as c, LitElement as v } from "lit";
|
|
3
|
+
import { property as g, customElement as h } from "lit/decorators.js";
|
|
4
|
+
import { SbbNamedSlotListMixin as p } from "../core/mixins.js";
|
|
5
|
+
const d = c`*,:before,:after{box-sizing:border-box}:host{--sbb-navigation-action-gap: var(--sbb-spacing-responsive-xs);--sbb-navigation-marker-position-x: var(--sbb-spacing-fixed-1x);--sbb-navigation-marker-position-y: unset;--sbb-navigation-marker-width: 1.0625rem;--sbb-navigation-marker-border: var(--sbb-border-width-1x);--sbb-navigation-marker-padding-inline-start: var(--sbb-spacing-fixed-6x);--sbb-navigation-marker-typo-line-height: var(--sbb-typo-line-height-titles);--sbb-navigation-margin-inline-start: var(--sbb-spacing-fixed-3x);--sbb-navigation-marker-margin-block: calc( 1em * var(--sbb-navigation-marker-typo-line-height) / 2 - var(--sbb-navigation-marker-border) / 2 );display:block}:host([size=s]){--sbb-navigation-action-gap: var(--sbb-spacing-fixed-2x);--sbb-navigation-marker-width: .5rem;--sbb-navigation-marker-typo-line-height: var(--sbb-typo-line-height-body-text);--sbb-navigation-margin-inline-start: var(--sbb-spacing-fixed-2x);--sbb-navigation-marker-position-x: calc( var(--sbb-navigation-marker-padding-inline-start) - var(--sbb-spacing-fixed-2x) );--sbb-navigation-marker-padding-inline-start: calc( var(--sbb-spacing-fixed-6x) + var(--sbb-spacing-fixed-1x) )}.sbb-navigation-marker{list-style:none;padding:0;font-size:inherit;--sbb-title-line-height: var(--sbb-typo-line-height-titles);--sbb-title-margin-block-start: 0;--sbb-title-margin-block-end: 0;margin:0;margin-block:var(--sbb-title-margin-block-start) var(--sbb-title-margin-block-end);font-family:var(--sbb-typo-font-family);font-weight:700;line-height:var(--sbb-title-line-height);letter-spacing:var(--sbb-typo-letter-spacing-titles);font-size:var(--sbb-title-font-size);--sbb-title-font-size: var(--sbb-font-size-title-4);position:relative;display:flex;flex-direction:column;align-items:flex-start;gap:var(--sbb-navigation-action-gap);padding-inline-start:var(--sbb-navigation-marker-padding-inline-start)}.sbb-navigation-marker:before{content:"";position:absolute;opacity:0;inset-inline-start:var(--sbb-navigation-marker-position-x);inset-block-start:var(--sbb-navigation-marker-position-y);width:var(--sbb-navigation-marker-width);border-block-start:var(--sbb-navigation-marker-border) solid var(--sbb-color-storm);margin-block:var(--sbb-navigation-marker-margin-block);transition-duration:var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-6x));transition-timing-function:ease;transition-property:opacity,inset-block-start}:host([data-has-active-action]) .sbb-navigation-marker:before{opacity:1}@media (forced-colors: active){.sbb-navigation-marker:before{border-color:CanvasText}}:host([size=s]) .sbb-navigation-marker{--sbb-text-font-size: var(--sbb-font-size-text-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);font-weight:700}::slotted(:is(sbb-navigation-button,sbb-navigation-link)){margin-inline-start:var(--sbb-navigation-margin-inline-start)}`;
|
|
6
|
+
var m = Object.defineProperty, f = Object.getOwnPropertyDescriptor, b = (t, i, n, e) => {
|
|
7
|
+
for (var a = e > 1 ? void 0 : e ? f(i, n) : i, s = t.length - 1, o; s >= 0; s--)
|
|
8
8
|
(o = t[s]) && (a = (e ? o(i, n, a) : o(a)) || a);
|
|
9
|
-
return e && a &&
|
|
9
|
+
return e && a && m(i, n, a), a;
|
|
10
10
|
};
|
|
11
|
-
let r = class extends
|
|
11
|
+
let r = class extends p(v) {
|
|
12
12
|
constructor() {
|
|
13
|
-
super(
|
|
13
|
+
super(), this.listChildLocalNames = [
|
|
14
14
|
"sbb-navigation-button",
|
|
15
15
|
"sbb-navigation-link"
|
|
16
|
-
], this.size = "l",
|
|
17
|
-
|
|
18
|
-
|
|
16
|
+
], this.size = "l", new l(this, {
|
|
17
|
+
skipInitial: !0,
|
|
18
|
+
callback: () => this._setMarkerPosition()
|
|
19
|
+
});
|
|
19
20
|
}
|
|
20
21
|
willUpdate(t) {
|
|
21
22
|
super.willUpdate(t), (t.has("size") || t.has("listChildren")) && this._updateMarkerActions(), this.toggleAttribute("data-has-active-action", !!this._currentActiveAction);
|
|
@@ -28,7 +29,7 @@ let r = class extends d(l) {
|
|
|
28
29
|
), this._setMarkerPosition();
|
|
29
30
|
}
|
|
30
31
|
connectedCallback() {
|
|
31
|
-
super.connectedCallback(), this.
|
|
32
|
+
super.connectedCallback(), this._checkActiveAction();
|
|
32
33
|
}
|
|
33
34
|
_checkActiveAction() {
|
|
34
35
|
const t = this.querySelector(
|
|
@@ -36,9 +37,6 @@ let r = class extends d(l) {
|
|
|
36
37
|
);
|
|
37
38
|
t && this.select(t);
|
|
38
39
|
}
|
|
39
|
-
disconnectedCallback() {
|
|
40
|
-
super.disconnectedCallback(), this._navigationMarkerResizeObserver.disconnect();
|
|
41
|
-
}
|
|
42
40
|
select(t) {
|
|
43
41
|
t && (this.reset(), t.toggleAttribute("data-action-active", !0), this._currentActiveAction = t, setTimeout(() => this._setMarkerPosition()));
|
|
44
42
|
}
|
|
@@ -62,13 +60,10 @@ let r = class extends d(l) {
|
|
|
62
60
|
return this.renderList();
|
|
63
61
|
}
|
|
64
62
|
};
|
|
65
|
-
r.styles =
|
|
63
|
+
r.styles = d;
|
|
66
64
|
b([
|
|
67
|
-
|
|
65
|
+
g({ reflect: !0 })
|
|
68
66
|
], r.prototype, "size", 2);
|
|
69
|
-
b([
|
|
70
|
-
g()
|
|
71
|
-
], r.prototype, "_currentActiveAction", 2);
|
|
72
67
|
r = b([
|
|
73
68
|
h("sbb-navigation-marker")
|
|
74
69
|
], r);
|
package/navigation/navigation.js
CHANGED
|
@@ -1,33 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
1
|
+
import { MutationController as h } from "@lit-labs/observers/mutation-controller.js";
|
|
2
|
+
import { ResizeController as p } from "@lit-labs/observers/resize-controller.js";
|
|
3
|
+
import { css as m, html as c } from "lit";
|
|
4
|
+
import { property as d, state as u, customElement as _ } from "lit/decorators.js";
|
|
5
|
+
import { ref as v } from "lit/directives/ref.js";
|
|
6
|
+
import { SbbFocusHandler as f, setModalityOnNextFocus as g } from "../core/a11y.js";
|
|
7
|
+
import { SbbOpenCloseBaseElement as w } from "../core/base-elements.js";
|
|
8
|
+
import { SbbConnectedAbortController as k, SbbLanguageController as y, SbbInertController as E } from "../core/controllers.js";
|
|
9
|
+
import { hostAttributes as C } from "../core/decorators.js";
|
|
10
|
+
import { SbbScrollHandler as x, findReferencedElement as S } from "../core/dom.js";
|
|
11
|
+
import { i18nCloseNavigation as N } from "../core/i18n.js";
|
|
12
|
+
import { SbbUpdateSchedulerMixin as A } from "../core/mixins.js";
|
|
13
|
+
import { isEventOnElement as l, removeAriaOverlayTriggerAttributes as O, setAriaOverlayTriggerAttributes as z } from "../core/overlay.js";
|
|
13
14
|
import "../button/transparent-button.js";
|
|
14
|
-
const T =
|
|
15
|
+
const T = m`*,:before,:after{box-sizing:border-box}:host{--sbb-navigation-grid-column: 1 / 5;--sbb-navigation-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-3x) );--sbb-navigation-animation-easing: ease-in;--sbb-navigation-padding-inline: var(--sbb-layout-base-offset-responsive);--sbb-navigation-padding-block-start: var(--sbb-spacing-responsive-l);--sbb-navigation-padding-block-end: var(--sbb-spacing-responsive-xl);--sbb-navigation-backdrop-visibility: hidden;--sbb-navigation-backdrop-pointer-events: none;--sbb-navigation-backdrop-color: transparent;--sbb-navigation-list-margin-block-start: var(--sbb-spacing-responsive-xxl);--sbb-navigation-inline-start: 0;--sbb-navigation-expanded-width: 100%;--sbb-navigation-inset: 0 auto auto 0;--sbb-navigation-transform: translateX(-100%);--sbb-navigation-content-transform: translateX(0);--sbb-navigation-width: 100%;--sbb-navigation-height: 100vh;--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);display:block;position:fixed;inset:var(--sbb-navigation-inset);z-index:var(--sbb-navigation-z-index, var(--sbb-overlay-default-z-index));overflow:hidden}@supports (height: 100dvh){:host{--sbb-navigation-height: 100dvh}}@media (min-width: 52.5rem){:host{--sbb-navigation-grid-column: 1 / 9}}@media (min-width: 64rem){:host{--sbb-navigation-grid-column: 1 / 5;--sbb-navigation-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-6x) );--sbb-navigation-padding-block-start: var(--sbb-spacing-responsive-xl);--sbb-navigation-padding-inline: var(--sbb-layout-base-offset-responsive) 0;--sbb-navigation-list-margin-block-start: var(--sbb-spacing-fixed-1x);--sbb-navigation-inline-start: calc(var(--sbb-layout-base-offset-responsive) * -1);--sbb-navigation-width: calc(100% + var(--sbb-layout-base-offset-responsive))}}@media (min-width: 90rem){:host{--sbb-navigation-grid-column: 1 / 6;--sbb-navigation-padding-block-start: var(--sbb-spacing-responsive-xxl)}}:host([data-state=opened]){--sbb-navigation-animation-easing: ease-out}:host(:is([data-state=opened],[data-state=opening])){--sbb-navigation-backdrop-visibility: visible;--sbb-navigation-backdrop-pointer-events: all;--sbb-navigation-backdrop-color: var(--sbb-color-black-alpha-70)}:host(:not([data-state=closed])){--sbb-navigation-inset: 0;--sbb-navigation-transform: translateX(0)}:host([data-has-navigation-section]){--sbb-navigation-content-transform: translateX(-100%)}@media (min-width: 64rem){:host([data-has-navigation-section]){--sbb-navigation-expanded-width: 100vw;--sbb-navigation-content-transform: translateX(0%)}@supports (height: 100dvw){:host([data-has-navigation-section]){--sbb-navigation-expanded-width: 100dvw}}}:host([data-resize-disable-animation]){--sbb-disable-animation-time: .1ms;--sbb-disable-animation-zero-time: 0s}.sbb-navigation__container{display:grid;gap:var(--sbb-grid-base-gutter-responsive);grid-template-columns:repeat(var(--sbb-grid-base-columns),1fr);padding-inline:0;pointer-events:none;transform:var(--sbb-navigation-transform)}@media (min-width: 64rem){.sbb-navigation__container{padding-inline:var(--sbb-layout-base-offset-responsive)}.sbb-navigation__container:before{transition-duration:var(--sbb-navigation-animation-duration);transition-timing-function:var(--sbb-navigation-animation-easing);transition-property:background-color,visibility;content:"";visibility:var(--sbb-navigation-backdrop-visibility);pointer-events:var(--sbb-navigation-backdrop-pointer-events);position:fixed;inset:var(--sbb-navigation-inset);background-color:var(--sbb-navigation-backdrop-color)}}.sbb-navigation{transition-duration:var(--sbb-navigation-animation-duration);transition-timing-function:var(--sbb-navigation-animation-easing);transition-property:width;display:none;width:var(--sbb-navigation-width);grid-column:var(--sbb-navigation-grid-column);padding:0;margin:0;position:relative;inset-inline-start:var(--sbb-navigation-inline-start);inset-block-start:0;border:none;pointer-events:none;height:var(--sbb-navigation-height);color:var(--sbb-color-white);background-color:var(--sbb-color-midnight)}.sbb-navigation:before{transition-duration:var(--sbb-navigation-animation-duration);transition-timing-function:var(--sbb-navigation-animation-easing);transition-property:width;content:"";position:absolute;width:var(--sbb-navigation-expanded-width);height:var(--sbb-navigation-height);background:var(--sbb-color-midnight)}:host([data-state]:not([data-state=closed])) .sbb-navigation{display:block;pointer-events:all;animation-name:open;animation-duration:var(--sbb-navigation-animation-duration);animation-timing-function:var(--sbb-navigation-animation-easing)}:host([data-state][data-state=closing]) .sbb-navigation{pointer-events:none;animation-name:close}@media (forced-colors: active){.sbb-navigation{outline:var(--sbb-border-width-1x) solid CanvasText}}.sbb-navigation__wrapper{outline:none}.sbb-navigation__header{transition-duration:var(--sbb-navigation-animation-duration);transition-timing-function:var(--sbb-navigation-animation-easing);transition-property:width;display:flex;justify-content:flex-end;position:absolute;width:var(--sbb-navigation-expanded-width);pointer-events:none;padding:var(--sbb-spacing-responsive-xs);z-index:calc(var(--sbb-navigation-z-index, var(--sbb-overlay-default-z-index)) + 1)}.sbb-navigation__close{pointer-events:all}.sbb-navigation__content{transition-duration:var(--sbb-navigation-animation-duration);transition-timing-function:var(--sbb-navigation-animation-easing);transition-property:transform;--sbb-scrollbar-thumb-width: .125rem;--sbb-scrollbar-thumb-width-hover: .25rem;--sbb-scrollbar-width-firefox: thin;--sbb-scrollbar-color: var(--sbb-color-white-alpha-30);--sbb-scrollbar-color-hover: var(--sbb-color-white-alpha-60);--sbb-scrollbar-track-color: transparent;--sbb-scrollbar-width: var(--sbb-spacing-fixed-3x)}.sbb-navigation__content::-webkit-scrollbar{width:var(--sbb-scrollbar-width);height:var(--sbb-scrollbar-width);background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-navigation__content::-webkit-scrollbar-corner{background-color:var(--sbb-scrollbar-track-color, transparent)}.sbb-navigation__content::-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-navigation__content::-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-navigation__content::-webkit-scrollbar-button,.sbb-navigation__content::-webkit-scrollbar-corner{display:none}@supports not selector(::-webkit-scrollbar){.sbb-navigation__content{scrollbar-width:var(--sbb-scrollbar-width-firefox);scrollbar-color:var(--sbb-scrollbar-color, currentcolor) var(--sbb-scrollbar-track-color, transparent)}}.sbb-navigation__content{display:flex;flex-direction:column;gap:var(--sbb-spacing-responsive-xxl);position:relative;height:var(--sbb-navigation-height);padding-inline:var(--sbb-navigation-padding-inline);padding-block:var(--sbb-navigation-padding-block-start) var(--sbb-navigation-padding-block-end);overflow-y:auto;transform:var(--sbb-navigation-content-transform)}::slotted(:first-child){margin-block-start:var(--sbb-navigation-list-margin-block-start)}@keyframes open{0%{transform:translate(-100%)}to{transform:translate(0)}}@keyframes close{0%{transform:translate(0)}to{transform:translate(-100%)}}`;
|
|
15
16
|
var L = Object.defineProperty, H = Object.getOwnPropertyDescriptor, s = (t, i, n, a) => {
|
|
16
17
|
for (var o = a > 1 ? void 0 : a ? H(i, n) : i, r = t.length - 1, b; r >= 0; r--)
|
|
17
18
|
(b = t[r]) && (o = (a ? b(i, n, o) : b(o)) || o);
|
|
18
19
|
return a && o && L(i, n, o), o;
|
|
19
20
|
};
|
|
20
|
-
const
|
|
21
|
+
const I = {
|
|
21
22
|
subtree: !0,
|
|
22
23
|
attributeFilter: ["data-state"]
|
|
23
24
|
};
|
|
24
|
-
let
|
|
25
|
-
const
|
|
26
|
-
let e = class extends
|
|
25
|
+
let B = 0;
|
|
26
|
+
const P = 150;
|
|
27
|
+
let e = class extends A(w) {
|
|
27
28
|
constructor() {
|
|
28
|
-
super(
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
super(), this._trigger = null, this._activeNavigationSection = null, this._triggerElement = null, this._abort = new k(this), this._language = new y(this), this._inertController = new E(this), this._focusHandler = new f(), this._scrollHandler = new x(), this._isPointerDownEventOnNavigation = !1, this._resizeObserverTimeout = null, this._navigationResizeObserver = new p(this, {
|
|
30
|
+
skipInitial: !0,
|
|
31
|
+
callback: () => this._onNavigationResize()
|
|
32
|
+
}), this._trapFocusFilter = (t) => t.nodeName !== "SBB-NAVIGATION-SECTION" || t.getAttribute("data-state") === "opened", this._pointerDownListener = (t) => {
|
|
31
33
|
var i, n;
|
|
32
34
|
this._isPointerDownEventOnNavigation = l(this._navigation, t) || l(
|
|
33
35
|
(n = (i = this.querySelector(
|
|
@@ -37,7 +39,11 @@ let e = class extends O(_) {
|
|
|
37
39
|
);
|
|
38
40
|
}, this._closeOnBackdropClick = (t) => {
|
|
39
41
|
!this._isPointerDownEventOnNavigation && !l(this._navigation, t) && this.close();
|
|
40
|
-
}
|
|
42
|
+
}, new h(this, {
|
|
43
|
+
skipInitial: !0,
|
|
44
|
+
config: I,
|
|
45
|
+
callback: (t) => this._onNavigationSectionChange(t)
|
|
46
|
+
});
|
|
41
47
|
}
|
|
42
48
|
set trigger(t) {
|
|
43
49
|
const i = this._trigger;
|
|
@@ -87,7 +93,7 @@ let e = class extends O(_) {
|
|
|
87
93
|
// Check if the trigger is valid and attach click event listeners.
|
|
88
94
|
_configure(t) {
|
|
89
95
|
var i;
|
|
90
|
-
|
|
96
|
+
O(this._triggerElement), t && (this._triggerElement = S(t), this._triggerElement && (z(this._triggerElement, "menu", this.id, this.state), (i = this._navigationController) == null || i.abort(), this._navigationController = new AbortController(), this._triggerElement.addEventListener("click", () => this.open(), {
|
|
91
97
|
signal: this._navigationController.signal
|
|
92
98
|
})));
|
|
93
99
|
}
|
|
@@ -140,24 +146,24 @@ let e = class extends O(_) {
|
|
|
140
146
|
_onNavigationResize() {
|
|
141
147
|
this.state === "opened" && (this._resizeObserverTimeout && clearTimeout(this._resizeObserverTimeout), this.toggleAttribute("data-resize-disable-animation", !0), this._resizeObserverTimeout = setTimeout(
|
|
142
148
|
() => this.removeAttribute("data-resize-disable-animation"),
|
|
143
|
-
|
|
149
|
+
P
|
|
144
150
|
));
|
|
145
151
|
}
|
|
146
152
|
connectedCallback() {
|
|
147
|
-
super.connectedCallback(), this.id || (this.id = `sbb-navigation-${
|
|
153
|
+
super.connectedCallback(), this.id || (this.id = `sbb-navigation-${B++}`);
|
|
148
154
|
const t = this._abort.signal;
|
|
149
|
-
this.addEventListener("click", (i) => this._handleNavigationClose(i), { signal: t }), this._configure(this.trigger), this.
|
|
155
|
+
this.addEventListener("click", (i) => this._handleNavigationClose(i), { signal: t }), this._configure(this.trigger), this.addEventListener("pointerup", (i) => this._closeOnBackdropClick(i), { signal: t }), this.addEventListener("pointerdown", (i) => this._pointerDownListener(i), { signal: t });
|
|
150
156
|
}
|
|
151
157
|
disconnectedCallback() {
|
|
152
158
|
var t, i;
|
|
153
|
-
super.disconnectedCallback(), (t = this._navigationController) == null || t.abort(), (i = this._windowEventsController) == null || i.abort(), this._focusHandler.disconnect(), this.
|
|
159
|
+
super.disconnectedCallback(), (t = this._navigationController) == null || t.abort(), (i = this._windowEventsController) == null || i.abort(), this._focusHandler.disconnect(), this._scrollHandler.enableScroll();
|
|
154
160
|
}
|
|
155
161
|
render() {
|
|
156
|
-
const t =
|
|
162
|
+
const t = c`
|
|
157
163
|
<sbb-transparent-button
|
|
158
164
|
id="sbb-navigation-close-button"
|
|
159
165
|
class="sbb-navigation__close"
|
|
160
|
-
aria-label=${this.accessibilityCloseLabel ||
|
|
166
|
+
aria-label=${this.accessibilityCloseLabel || N[this._language.current]}
|
|
161
167
|
aria-controls="sbb-navigation-overlay"
|
|
162
168
|
negative
|
|
163
169
|
size="m"
|
|
@@ -166,19 +172,19 @@ let e = class extends O(_) {
|
|
|
166
172
|
sbb-navigation-close
|
|
167
173
|
></sbb-transparent-button>
|
|
168
174
|
`;
|
|
169
|
-
return
|
|
175
|
+
return c`
|
|
170
176
|
<div class="sbb-navigation__container">
|
|
171
177
|
<div
|
|
172
178
|
id="sbb-navigation-overlay"
|
|
173
179
|
@animationend=${(i) => this._onAnimationEnd(i)}
|
|
174
180
|
class="sbb-navigation"
|
|
175
|
-
${
|
|
181
|
+
${v((i) => this._navigation = i)}
|
|
176
182
|
>
|
|
177
183
|
<div class="sbb-navigation__header">${t}</div>
|
|
178
184
|
<div class="sbb-navigation__wrapper">
|
|
179
185
|
<div
|
|
180
186
|
class="sbb-navigation__content"
|
|
181
|
-
${
|
|
187
|
+
${v((i) => this._navigationContentElement = i)}
|
|
182
188
|
>
|
|
183
189
|
<slot></slot>
|
|
184
190
|
</div>
|
|
@@ -197,11 +203,11 @@ s([
|
|
|
197
203
|
d({ attribute: "accessibility-close-label" })
|
|
198
204
|
], e.prototype, "accessibilityCloseLabel", 2);
|
|
199
205
|
s([
|
|
200
|
-
|
|
206
|
+
u()
|
|
201
207
|
], e.prototype, "_activeNavigationSection", 2);
|
|
202
208
|
e = s([
|
|
203
|
-
|
|
204
|
-
|
|
209
|
+
_("sbb-navigation"),
|
|
210
|
+
C({
|
|
205
211
|
role: "navigation"
|
|
206
212
|
})
|
|
207
213
|
], e);
|
|
@@ -54,7 +54,6 @@ export declare class SbbNotificationElement extends LitElement {
|
|
|
54
54
|
close(): void;
|
|
55
55
|
connectedCallback(): void;
|
|
56
56
|
protected firstUpdated(changedProperties: PropertyValues<this>): Promise<void>;
|
|
57
|
-
disconnectedCallback(): void;
|
|
58
57
|
private _setNotificationHeight;
|
|
59
58
|
private _onNotificationResize;
|
|
60
59
|
private _onNotificationAnimationEnd;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/elements/notification/notification.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"notification.d.ts","sourceRoot":"","sources":["../../../src/elements/notification/notification.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAQ,UAAU,EAAW,MAAM,KAAK,CAAC;AAQhD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAIjD,OAAO,+BAA+B,CAAC;AACvC,OAAO,eAAe,CAAC;AACvB,OAAO,YAAY,CAAC;AACpB,OAAO,aAAa,CAAC;AAWrB;;;;;;;;;;;GAWG;AACH,qBAEa,sBAAuB,SAAQ,UAAU;IAEpD,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;;;;MAKlB;IAEX,oCAAoC;IACA,IAAI,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,GAAG,OAAO,CAAU;IAEzF,wBAAwB;IACwC,YAAY,CAAC,EAAE,MAAM,CAAC;IAEtF,yFAAyF;IAC1C,UAAU,EAAE,aAAa,CAAO;IAE/E;;;OAGG;IACgD,QAAQ,UAAS;IAEpE,mCAAmC;IACC,IAAI,EAAE,GAAG,GAAG,GAAG,CAAO;IAE1D,8BAA8B;IACM,SAAS,EAAE,MAAM,GAAG,OAAO,GAAG,KAAK,GAAG,MAAM,CAAS;IAEzF,qCAAqC;IACrC,OAAO,KAAK,MAAM,QAEjB;IACD,OAAO,KAAK,MAAM,GAEjB;IAED,OAAO,CAAC,oBAAoB,CAAe;IAC3C,OAAO,CAAC,sBAAsB,CAA8C;IAC5E,OAAO,CAAC,SAAS,CAAmC;IACpD,OAAO,CAAC,2BAA2B,CAIhC;IAEH,2EAA2E;IAC3E,OAAO,CAAC,SAAS,CAGf;IAEF,uDAAuD;IACvD,OAAO,CAAC,QAAQ,CAGd;IAEF,2EAA2E;IAC3E,OAAO,CAAC,UAAU,CAGhB;IAEF,uDAAuD;IACvD,OAAO,CAAC,SAAS,CAGf;IAEF,OAAO,CAAC,KAAK;IAON,KAAK,IAAI,IAAI;IAOJ,iBAAiB,IAAI,IAAI;cAMhB,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,OAAO,CAAC,IAAI,CAAC;IAa7F,OAAO,CAAC,sBAAsB;IAQ9B,OAAO,CAAC,qBAAqB;IAoB7B,OAAO,CAAC,2BAA2B;IAUnC,OAAO,CAAC,cAAc;IAMtB,OAAO,CAAC,cAAc;cAOH,MAAM,IAAI,cAAc;CAuC5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,kBAAkB,EAAE,sBAAsB,CAAC;KAC5C;CACF"}
|
package/notification.js
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { ResizeController as f } from "@lit-labs/observers/resize-controller.js";
|
|
2
|
+
import { css as p, LitElement as m, html as d, nothing as h } from "lit";
|
|
3
|
+
import { property as a, customElement as v } from "lit/decorators.js";
|
|
4
|
+
import { SbbLanguageController as g } from "./core/controllers.js";
|
|
5
|
+
import { slotState as _ } from "./core/decorators.js";
|
|
5
6
|
import { EventEmitter as r } from "./core/eventing.js";
|
|
6
|
-
import { i18nCloseNotification as
|
|
7
|
-
import { AgnosticResizeObserver as u } from "./core/observers.js";
|
|
7
|
+
import { i18nCloseNotification as u } from "./core/i18n.js";
|
|
8
8
|
import "./button/secondary-button.js";
|
|
9
9
|
import "./divider.js";
|
|
10
10
|
import "./icon.js";
|
|
11
11
|
import "./title.js";
|
|
12
|
-
const y =
|
|
12
|
+
const y = p`*,:before,:after{box-sizing:border-box}:host{--sbb-notification-margin: 0;--sbb-notification-padding-block: var(--sbb-spacing-responsive-xxs);--sbb-notification-padding-inline: var(--sbb-spacing-responsive-xs);--sbb-notification-color: var(--sbb-color-charcoal);--sbb-notification-icon-color: var(--sbb-notification-type-color);--sbb-notification-icon-margin-block-start: 0;--sbb-notification-border-width: var(--sbb-border-width-1x);--sbb-notification-border: var(--sbb-notification-border-width) solid var(--sbb-notification-type-color);--sbb-notification-base-radius: var(--sbb-border-radius-4x);--sbb-notification-border-radius: calc(var(--sbb-notification-base-radius) / 2) var(--sbb-notification-base-radius) var(--sbb-notification-base-radius) calc(var(--sbb-notification-base-radius) / 2);--sbb-notification-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-4x) );--sbb-notification-timing-function: ease-in;--sbb-notification-content-padding-inline: var(--sbb-spacing-responsive-xxxs) var(--sbb-spacing-responsive-xs);--sbb-focus-outline-color: var(--sbb-focus-outline-color-default);display:block}:host([data-state=opening]:not([animation=open],[animation=all])){--sbb-disable-animation-time: .1ms;--sbb-disable-animation-zero-time: 0s}:host([data-state=closing]:not([animation=close],[animation=all])){--sbb-disable-animation-time: .1ms;--sbb-disable-animation-zero-time: 0s}:host([data-resize-disable-animation]){--sbb-disable-animation-time: .1ms;--sbb-disable-animation-zero-time: 0s}:host([type=info]){--sbb-notification-type-color: var(--sbb-color-smoke);--sbb-notification-type-color-sass: rgb(249.3, 249.3, 249.3);--sbb-notification-icon-color: var(--sbb-notification-color)}:host([type=success]){--sbb-notification-type-color: var(--sbb-color-green);--sbb-notification-type-color-sass: rgb(242.25, 249.15, 244.95)}:host([type=warn]){--sbb-notification-type-color: var(--sbb-color-peach);--sbb-notification-type-color-sass: rgb(254.85, 251.6, 242.25);--sbb-notification-icon-color: var(--sbb-notification-color)}:host([type=error]){--sbb-notification-type-color: var(--sbb-color-red);--sbb-notification-type-color-sass: rgb(254, 242.25, 242.25)}:host([size=s]){--sbb-notification-padding-block: var(--sbb-spacing-responsive-xxxs);--sbb-notification-padding-inline: var(--sbb-spacing-responsive-xxs) var(--sbb-spacing-responsive-xxxs);--sbb-notification-content-padding-inline: var(--sbb-spacing-responsive-xxxs) var(--sbb-spacing-responsive-xxs)}@media (min-width: 37.5rem){:host{--sbb-notification-icon-margin-block-start: calc( ((1em * var(--sbb-typo-line-height-body-text)) - var(--sbb-size-icon-ui-small)) / 2 )}:host(:where([data-slot-names~=title],[title-content])){--sbb-notification-icon-margin-block-start: calc( ( (var(--sbb-font-size-title-5) * var(--sbb-typo-line-height-body-text)) - var( --sbb-size-icon-ui-small ) ) / 2 )}:host([size=s]){--sbb-notification-padding-inline: var(--sbb-spacing-responsive-xxs);--sbb-notification-icon-margin-block-start: 0}}.sbb-notification__wrapper{position:relative;inset-inline-start:calc(var(--sbb-notification-base-radius) - var(--sbb-notification-border-width));width:calc(100% - (var(--sbb-notification-base-radius) - var(--sbb-notification-border-width)));border:var(--sbb-notification-border);border-radius:var(--sbb-notification-border-radius);opacity:0;max-height:0;margin:0}.sbb-notification__wrapper:before{content:"";position:absolute;inset:calc(var(--sbb-notification-border-width) * -1) var(--sbb-notification-base-radius) calc(var(--sbb-notification-border-width) * -1) calc(var(--sbb-notification-base-radius) * -1);background-color:var(--sbb-notification-type-color);border:var(--sbb-notification-border);border-radius:var(--sbb-notification-base-radius)}:host(:is([data-state=opened],[data-state=closing])) .sbb-notification__wrapper{opacity:1;max-height:calc(var(--sbb-notification-height) + var(--sbb-notification-border-width) * 2);margin:var(--sbb-notification-margin, 0)}:host([data-state=opening]) .sbb-notification__wrapper{animation-name:open;animation-fill-mode:forwards;animation-duration:var(--sbb-notification-animation-duration);animation-timing-function:var(--sbb-notification-timing-function)}:host([data-state=closing]) .sbb-notification__wrapper{animation-name:close,close-height;animation-fill-mode:forwards;animation-duration:var(--sbb-notification-animation-duration);animation-timing-function:var(--sbb-notification-timing-function);animation-delay:0s,var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x))}.sbb-notification{--sbb-text-font-size: var(--sbb-font-size-text-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);position:relative;display:grid;grid-template-columns:1fr auto;align-items:center;padding-block:var(--sbb-notification-padding-block);padding-inline:var(--sbb-notification-padding-inline);color:var(--sbb-notification-color);border-radius:var(--sbb-notification-border-radius);overflow:hidden;background-color:var(--sbb-notification-type-color-sass)}@supports (background-color: color-mix(in srgb,transparent 5%,white)){.sbb-notification{background-color:color-mix(in srgb,var(--sbb-notification-type-color) 5%,white)}}@media (min-width: 37.5rem){.sbb-notification{grid-template-columns:auto 1fr auto;align-items:flex-start}}:host([size=s]) .sbb-notification{--sbb-text-font-size: var(--sbb-font-size-text-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size)}.sbb-notification__icon{color:var(--sbb-notification-icon-color);margin-block-start:var(--sbb-notification-icon-margin-block-start);--sbb-icon-svg-width: var(--sbb-notification-icon-size)}.sbb-notification__title{margin:0}:host(:not([data-slot-names~=title],[title-content])) .sbb-notification__title{display:none}.sbb-notification__content{order:3;grid-area:2/1/3/3;margin-block-start:var(--sbb-spacing-fixed-2x)}@media (min-width: 37.5rem){.sbb-notification__content{order:initial;grid-area:initial;margin-block-start:0;padding-inline:var(--sbb-notification-content-padding-inline)}}.sbb-notification__close-wrapper{display:flex;align-items:center;gap:var(--sbb-spacing-responsive-xxs);height:100%}.sbb-notification__divider{--sbb-divider-color: var(--sbb-notification-type-color);display:none;position:relative;inset-inline-start:var(--sbb-border-width-1x);opacity:.2}@media (min-width: 37.5rem){.sbb-notification__divider{display:block;height:calc(100% - var(--sbb-spacing-fixed-1x) * 2)}}@keyframes open{0%{opacity:0;max-height:0;margin:0}to{opacity:1;max-height:calc(var(--sbb-notification-height) + var(--sbb-notification-border-width) * 2);margin:var(--sbb-notification-margin, 0)}}@keyframes close{0%{opacity:1;margin:var(--sbb-notification-margin, 0)}to{opacity:0;margin:0}}@keyframes close-height{0%{max-height:calc(var(--sbb-notification-height) + var(--sbb-notification-border-width) * 2)}to{max-height:0}}`;
|
|
13
13
|
var x = Object.defineProperty, w = Object.getOwnPropertyDescriptor, e = (t, o, b, s) => {
|
|
14
14
|
for (var n = s > 1 ? void 0 : s ? w(o, b) : o, c = t.length - 1, l; c >= 0; c--)
|
|
15
15
|
(l = t[c]) && (n = (s ? l(o, b, n) : l(n)) || n);
|
|
@@ -21,11 +21,13 @@ const z = /* @__PURE__ */ new Map([
|
|
|
21
21
|
["warn", "circle-exclamation-point-small"],
|
|
22
22
|
["error", "circle-cross-small"]
|
|
23
23
|
]), O = 150;
|
|
24
|
-
let i = class extends
|
|
24
|
+
let i = class extends m {
|
|
25
25
|
constructor() {
|
|
26
|
-
super(...arguments), this.type = "info", this.titleLevel = "3", this.readonly = !1, this.size = "m", this.animation = "all", this._resizeObserverTimeout = null, this._language = new
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
super(...arguments), this.type = "info", this.titleLevel = "3", this.readonly = !1, this.size = "m", this.animation = "all", this._resizeObserverTimeout = null, this._language = new g(this), this._notificationResizeObserver = new f(this, {
|
|
27
|
+
target: null,
|
|
28
|
+
skipInitial: !0,
|
|
29
|
+
callback: () => this._onNotificationResize()
|
|
30
|
+
}), this._willOpen = new r(
|
|
29
31
|
this,
|
|
30
32
|
i.events.willOpen
|
|
31
33
|
), this._didOpen = new r(
|
|
@@ -61,9 +63,6 @@ let i = class extends p {
|
|
|
61
63
|
".sbb-notification__wrapper"
|
|
62
64
|
), await this.updateComplete, this._setNotificationHeight(), this._open();
|
|
63
65
|
}
|
|
64
|
-
disconnectedCallback() {
|
|
65
|
-
super.disconnectedCallback(), this._notificationResizeObserver.disconnect();
|
|
66
|
-
}
|
|
67
66
|
_setNotificationHeight() {
|
|
68
67
|
var o;
|
|
69
68
|
if (!((o = this._notificationElement) != null && o.scrollHeight))
|
|
@@ -109,13 +108,13 @@ let i = class extends p {
|
|
|
109
108
|
<slot></slot>
|
|
110
109
|
</span>
|
|
111
110
|
|
|
112
|
-
${this.readonly ?
|
|
111
|
+
${this.readonly ? h : d`<span class="sbb-notification__close-wrapper">
|
|
113
112
|
<sbb-divider class="sbb-notification__divider" orientation="vertical"></sbb-divider>
|
|
114
113
|
<sbb-secondary-button
|
|
115
114
|
size=${this.size}
|
|
116
115
|
icon-name="cross-small"
|
|
117
116
|
@click=${() => this.close()}
|
|
118
|
-
aria-label=${
|
|
117
|
+
aria-label=${u[this._language.current]}
|
|
119
118
|
class="sbb-notification__close"
|
|
120
119
|
></sbb-secondary-button>
|
|
121
120
|
</span>`}
|
|
@@ -150,8 +149,8 @@ e([
|
|
|
150
149
|
a({ reflect: !0 })
|
|
151
150
|
], i.prototype, "animation", 2);
|
|
152
151
|
i = e([
|
|
153
|
-
|
|
154
|
-
|
|
152
|
+
v("sbb-notification"),
|
|
153
|
+
_()
|
|
155
154
|
], i);
|
|
156
155
|
export {
|
|
157
156
|
i as SbbNotificationElement
|
|
@@ -8,12 +8,10 @@ export declare abstract class SbbOptgroupBaseElement extends SbbOptgroupBaseElem
|
|
|
8
8
|
label: string;
|
|
9
9
|
protected negative: boolean;
|
|
10
10
|
private _inertAriaGroups;
|
|
11
|
-
private _negativeObserver;
|
|
12
11
|
protected abstract get options(): SbbOptionBaseElement[];
|
|
13
12
|
constructor();
|
|
14
13
|
connectedCallback(): void;
|
|
15
14
|
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
16
|
-
disconnectedCallback(): void;
|
|
17
15
|
protected abstract setAttributeFromParent(): void;
|
|
18
16
|
protected abstract getAutocompleteParent(): SbbAutocompleteBaseElement | null;
|
|
19
17
|
private _handleSlotchange;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"optgroup-base-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/option/optgroup/optgroup-base-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"optgroup-base-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/option/optgroup/optgroup-base-element.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EACV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AAGb,OAAO,KAAK,EAAE,0BAA0B,EAAE,MAAM,uBAAuB,CAAC;AAIxE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAIzD,OAAO,kBAAkB,CAAC;;AAS1B,8BACsB,sBAAuB,SAAQ,2BAEpD;IACC,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,0BAA0B;IACP,KAAK,EAAG,MAAM,CAAC;IAEzB,SAAS,CAAC,QAAQ,UAAS;IAE3B,OAAO,CAAC,gBAAgB,CAAS;IAE1C,SAAS,CAAC,QAAQ,KAAK,OAAO,IAAI,oBAAoB,EAAE,CAAC;;IAsBzC,iBAAiB,IAAI,IAAI;cAMtB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAe5E,SAAS,CAAC,QAAQ,CAAC,sBAAsB,IAAI,IAAI;IACjD,SAAS,CAAC,QAAQ,CAAC,qBAAqB,IAAI,0BAA0B,GAAG,IAAI;IAE7E,OAAO,CAAC,iBAAiB;IAMzB,OAAO,CAAC,yBAAyB;IAkBjC,SAAS,CAAC,sBAAsB,IAAI,IAAI;IAMxC,OAAO,CAAC,iBAAiB;IAYzB,OAAO,CAAC,iBAAiB;cAIN,MAAM,IAAI,cAAc;CAY5C"}
|
package/option/optgroup.js
CHANGED
|
@@ -1,37 +1,35 @@
|
|
|
1
1
|
import { property as g, state as d, customElement as c } from "lit/decorators.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
2
|
+
import { MutationController as u } from "@lit-labs/observers/mutation-controller.js";
|
|
3
|
+
import { css as h, LitElement as v, html as f } from "lit";
|
|
4
|
+
import { hostAttributes as x } from "../core/decorators.js";
|
|
5
|
+
import { setOrRemoveAttribute as m, isSafari as _ } from "../core/dom.js";
|
|
6
|
+
import { SbbDisabledMixin as y, SbbHydrationMixin as A } from "../core/mixins.js";
|
|
7
7
|
import "../divider.js";
|
|
8
|
-
const O =
|
|
9
|
-
var
|
|
10
|
-
for (var s = o > 1 ? void 0 : o ?
|
|
8
|
+
const O = h`*,:before,:after{box-sizing:border-box}:host{--sbb-optgroup-divider-display: block;--sbb-optgroup-divider-spacing: 0;--sbb-optgroup-label-padding-start: var(--sbb-spacing-fixed-4x);--sbb-optgroup-label-padding-inline: var(--sbb-spacing-fixed-4x);--sbb-optgroup-label-font-size: var(--sbb-typo-scale-0-75x);--sbb-optgroup-label-color: var(--sbb-color-metal);display:block}:host(:first-child){--sbb-optgroup-divider-display: none;--sbb-optgroup-label-padding-start: var(--sbb-spacing-fixed-2x)}:host([data-variant=select]){--sbb-optgroup-divider-spacing: var(--sbb-spacing-fixed-4x);--sbb-optgroup-label-padding-inline: var(--sbb-spacing-responsive-xxxs);--sbb-optgroup-label-padding-start: 0;--sbb-optgroup-label-font-size: inherit}:host([data-variant=select]:first-child){--sbb-optgroup-label-padding-start: var(--sbb-spacing-fixed-4x)}:host([data-negative]){--sbb-optgroup-label-color: var(--sbb-color-smoke)}.sbb-optgroup{margin-block:var(--sbb-spacing-fixed-4x);margin-inline:var(--sbb-spacing-fixed-4x)}.sbb-optgroup__label{--sbb-text-font-size: var(--sbb-font-size-text-xxs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);display:flex;column-gap:var(--sbb-spacing-responsive-xxxs);color:var(--sbb-optgroup-label-color);-webkit-text-fill-color:var(--sbb-optgroup-label-color);padding-inline:var(--sbb-optgroup-label-padding-inline);padding-block:var(--sbb-optgroup-label-padding-start) var(--sbb-spacing-fixed-2x)}:host([data-variant=select][data-multiple]) .sbb-optgroup__label{--sbb-text-font-size: var(--sbb-font-size-text-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size);padding-inline-start:calc(var(--sbb-spacing-responsive-xxxs) + var(--sbb-spacing-fixed-8x))}.sbb-optgroup__divider{display:var(--sbb-optgroup-divider-display);padding-block:var(--sbb-optgroup-divider-spacing)}.sbb-optgroup__icon-space{display:var(--sbb-option-icon-container-display, none);min-width:var(--sbb-size-icon-ui-small)}`;
|
|
9
|
+
var z = Object.defineProperty, C = Object.getOwnPropertyDescriptor, p = (t, i, e, o) => {
|
|
10
|
+
for (var s = o > 1 ? void 0 : o ? C(i, e) : i, a = t.length - 1, r; a >= 0; a--)
|
|
11
11
|
(r = t[a]) && (s = (o ? r(i, e, s) : r(s)) || s);
|
|
12
|
-
return o && s &&
|
|
12
|
+
return o && s && z(i, e, s), s;
|
|
13
13
|
};
|
|
14
|
-
const l =
|
|
15
|
-
let b = class extends
|
|
16
|
-
|
|
14
|
+
const l = _;
|
|
15
|
+
let b = class extends y(
|
|
16
|
+
A(v)
|
|
17
17
|
) {
|
|
18
18
|
constructor() {
|
|
19
|
-
super(), this.negative = !1, this._inertAriaGroups = !1,
|
|
19
|
+
super(), this.negative = !1, this._inertAriaGroups = !1, new u(this, {
|
|
20
|
+
config: {
|
|
21
|
+
attributes: !0,
|
|
22
|
+
attributeFilter: ["data-negative"]
|
|
23
|
+
},
|
|
24
|
+
callback: () => this._onNegativeChange()
|
|
25
|
+
}), l && (this.hydrationRequired ? this.hydrationComplete.then(() => this._inertAriaGroups = l) : this._inertAriaGroups = l);
|
|
20
26
|
}
|
|
21
27
|
connectedCallback() {
|
|
22
|
-
|
|
23
|
-
super.connectedCallback(), (t = this._negativeObserver) == null || t.disconnect(), this.setAttributeFromParent(), this._negativeObserver.observe(this, {
|
|
24
|
-
attributes: !0,
|
|
25
|
-
attributeFilter: ["data-negative"]
|
|
26
|
-
}), this._proxyGroupLabelToOptions();
|
|
28
|
+
super.connectedCallback(), this.setAttributeFromParent(), this._proxyGroupLabelToOptions();
|
|
27
29
|
}
|
|
28
30
|
willUpdate(t) {
|
|
29
31
|
super.willUpdate(t), t.has("disabled") && (this._inertAriaGroups || this.setAttribute("aria-disabled", this.disabled.toString()), this.proxyDisabledToOptions()), t.has("label") && this._proxyGroupLabelToOptions();
|
|
30
32
|
}
|
|
31
|
-
disconnectedCallback() {
|
|
32
|
-
var t;
|
|
33
|
-
super.disconnectedCallback(), (t = this._negativeObserver) == null || t.disconnect();
|
|
34
|
-
}
|
|
35
33
|
_handleSlotchange() {
|
|
36
34
|
this.proxyDisabledToOptions(), this._proxyGroupLabelToOptions(), this._highlightOptions();
|
|
37
35
|
}
|
|
@@ -46,7 +44,7 @@ let b = class extends _(
|
|
|
46
44
|
for (const e of this.options)
|
|
47
45
|
e.removeAttribute("data-group-label"), (i = e.requestUpdate) == null || i.call(e);
|
|
48
46
|
else {
|
|
49
|
-
|
|
47
|
+
m(this, "aria-label", this.label);
|
|
50
48
|
return;
|
|
51
49
|
}
|
|
52
50
|
}
|
|
@@ -66,7 +64,7 @@ let b = class extends _(
|
|
|
66
64
|
this.negative = this.hasAttribute("data-negative");
|
|
67
65
|
}
|
|
68
66
|
render() {
|
|
69
|
-
return
|
|
67
|
+
return f`
|
|
70
68
|
<div class="sbb-optgroup__divider">
|
|
71
69
|
<sbb-divider ?negative=${this.negative}></sbb-divider>
|
|
72
70
|
</div>
|
|
@@ -79,24 +77,24 @@ let b = class extends _(
|
|
|
79
77
|
}
|
|
80
78
|
};
|
|
81
79
|
b.styles = O;
|
|
82
|
-
|
|
80
|
+
p([
|
|
83
81
|
g()
|
|
84
82
|
], b.prototype, "label", 2);
|
|
85
|
-
|
|
83
|
+
p([
|
|
86
84
|
d()
|
|
87
85
|
], b.prototype, "negative", 2);
|
|
88
|
-
|
|
86
|
+
p([
|
|
89
87
|
d()
|
|
90
88
|
], b.prototype, "_inertAriaGroups", 2);
|
|
91
|
-
b =
|
|
92
|
-
|
|
89
|
+
b = p([
|
|
90
|
+
x({ role: l ? null : "group" })
|
|
93
91
|
], b);
|
|
94
92
|
var G = Object.defineProperty, w = Object.getOwnPropertyDescriptor, P = (t, i, e, o) => {
|
|
95
93
|
for (var s = o > 1 ? void 0 : o ? w(i, e) : i, a = t.length - 1, r; a >= 0; a--)
|
|
96
94
|
(r = t[a]) && (s = (o ? r(i, e, s) : r(s)) || s);
|
|
97
95
|
return o && s && G(i, e, s), s;
|
|
98
96
|
};
|
|
99
|
-
let
|
|
97
|
+
let n = class extends b {
|
|
100
98
|
get options() {
|
|
101
99
|
var t;
|
|
102
100
|
return Array.from(((t = this.querySelectorAll) == null ? void 0 : t.call(this, "sbb-option")) ?? []);
|
|
@@ -117,10 +115,10 @@ let p = class extends b {
|
|
|
117
115
|
(t = this.closest) != null && t.call(this, "sbb-autocomplete") ? this.setAttribute("data-variant", "autocomplete") : (i = this.closest) != null && i.call(this, "sbb-select") && this.setAttribute("data-variant", "select");
|
|
118
116
|
}
|
|
119
117
|
};
|
|
120
|
-
|
|
118
|
+
n = P([
|
|
121
119
|
c("sbb-optgroup")
|
|
122
|
-
],
|
|
120
|
+
], n);
|
|
123
121
|
export {
|
|
124
|
-
|
|
122
|
+
n as SbbOptGroupElement,
|
|
125
123
|
b as SbbOptgroupBaseElement
|
|
126
124
|
};
|
|
@@ -36,8 +36,6 @@ export declare abstract class SbbOptionBaseElement extends SbbOptionBaseElement_
|
|
|
36
36
|
private _highlightString;
|
|
37
37
|
private _inertAriaGroups;
|
|
38
38
|
private _abort;
|
|
39
|
-
/** MutationObserver on data attributes. */
|
|
40
|
-
private _optionAttributeObserver;
|
|
41
39
|
constructor();
|
|
42
40
|
attributeChangedCallback(name: string, old: string | null, value: string | null): void;
|
|
43
41
|
/**
|
|
@@ -53,7 +51,6 @@ export declare abstract class SbbOptionBaseElement extends SbbOptionBaseElement_
|
|
|
53
51
|
connectedCallback(): void;
|
|
54
52
|
protected willUpdate(changedProperties: PropertyValues<this>): void;
|
|
55
53
|
protected firstUpdated(changedProperties: PropertyValues<this>): void;
|
|
56
|
-
disconnectedCallback(): void;
|
|
57
54
|
protected abstract selectByClick(event: MouseEvent): void;
|
|
58
55
|
protected abstract setAttributeFromParent(): void;
|
|
59
56
|
protected updateDisableHighlight(disabled: boolean): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"option-base-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/option/option/option-base-element.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"option-base-element.d.ts","sourceRoot":"","sources":["../../../../src/elements/option/option/option-base-element.ts"],"names":[],"mappings":"AACA,OAAO,EAAQ,UAAU,EAAE,OAAO,EAAE,KAAK,cAAc,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAM1F,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAI3D,OAAO,6BAA6B,CAAC;;AAgBrC,8BACsB,oBAAqB,SAAQ,yBAElD;IACC,SAAS,CAAC,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAEpC;;;;;OAKG;IACH,IACW,KAAK,CAAC,KAAK,EAAE,MAAM,EAE7B;IACD,IAAW,KAAK,IAAI,MAAM,CAEzB;IAED;;;;;OAKG;IACgD,MAAM,CAAC,EAAE,OAAO,CAAC;IAEpE,sCAAsC;IACtC,IACW,QAAQ,CAAC,KAAK,EAAE,OAAO,EAGjC;IACD,IAAW,QAAQ,IAAI,OAAO,CAE7B;IAED,sDAAsD;IACtD,SAAS,CAAC,QAAQ,CAAC,eAAe,EAAE,YAAY,CAAC;IAEjD,iDAAiD;IACjD,SAAS,CAAC,QAAQ,CAAC,cAAc,EAAE,YAAY,CAAC;IAEhD,4CAA4C;IACnC,SAAS,CAAC,QAAQ,UAAS;IAEpC,yFAAyF;IAChF,SAAS,CAAC,iBAAiB,UAAS;IAEpC,SAAS,CAAC,KAAK,CAAC,EAAE,MAAM,CAAC;IAElC,0CAA0C;IACjC,SAAS,CAAC,qBAAqB,EAAE,OAAO,CAAS;IAE1D,4CAA4C;IACnC,OAAO,CAAC,gBAAgB,CAAuB;IAE/C,OAAO,CAAC,gBAAgB,CAAS;IAE1C,OAAO,CAAC,MAAM,CAAyC;;IAmBvC,wBAAwB,CACtC,IAAI,EAAE,MAAM,EACZ,GAAG,EAAE,MAAM,GAAG,IAAI,EAClB,KAAK,EAAE,MAAM,GAAG,IAAI,GACnB,IAAI;IAMP;;;;OAIG;IACI,SAAS,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI;IAIrC;;OAEG;IACI,6BAA6B,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAQ7C,iBAAiB,IAAI,IAAI;cAUtB,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cASzD,YAAY,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAO9E,SAAS,CAAC,QAAQ,CAAC,aAAa,CAAC,KAAK,EAAE,UAAU,GAAG,IAAI;IACzD,SAAS,CAAC,QAAQ,CAAC,sBAAsB,IAAI,IAAI;IAEjD,SAAS,CAAC,sBAAsB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAKzD;;;OAGG;IACI,SAAS,CAAC,KAAK,EAAE,OAAO,GAAG,IAAI;IAItC,SAAS,CAAC,IAAI,IAAI,IAAI;IAStB,SAAS,CAAC,kBAAkB,IAAI,IAAI;IAQpC,OAAO,CAAC,mBAAmB;IAI3B,yEAAyE;IACzE,SAAS,CAAC,wBAAwB,CAAC,aAAa,EAAE,cAAc,EAAE,GAAG,IAAI;IAWzE,SAAS,CAAC,oBAAoB,IAAI,IAAI;IAuBtC,SAAS,CAAC,mBAAmB,IAAI,cAAc;IAwB/C,SAAS,CAAC,UAAU,IAAI,cAAc;IAItC,SAAS,CAAC,WAAW,IAAI,cAAc,GAAG,OAAO,OAAO;IAIxD,SAAS,CAAC,UAAU,IAAI,cAAc,GAAG,OAAO,OAAO;cAIpC,MAAM,IAAI,cAAc;CAmB5C"}
|