@sbb-esta/lyne-elements-dev 4.13.0-dev.1780400290 → 4.13.0-dev.1780425175

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.
Files changed (2) hide show
  1. package/custom-elements.json +1069 -1069
  2. package/package.json +2 -2
@@ -106594,23 +106594,27 @@
106594
106594
  },
106595
106595
  {
106596
106596
  "kind": "javascript-module",
106597
- "path": "menu/menu/menu.component.js",
106597
+ "path": "menu/menu-button/menu-button.component.js",
106598
106598
  "declarations": [
106599
106599
  {
106600
106600
  "kind": "class",
106601
- "description": "It displays a contextual menu with one or more action element.",
106602
- "name": "SbbMenuElement",
106601
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
106602
+ "name": "SbbMenuButtonElement",
106603
106603
  "cssProperties": [
106604
106604
  {
106605
- "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
106606
- "name": "--sbb-menu-z-index",
106607
- "default": "var(--sbb-overlay-default-z-index)"
106605
+ "description": "Can be used to modify horizontal padding.",
106606
+ "name": "--sbb-menu-action-outer-horizontal-padding",
106607
+ "default": "var(--sbb-spacing-fixed-3x)"
106608
106608
  }
106609
106609
  ],
106610
106610
  "slots": [
106611
106611
  {
106612
- "description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
106612
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
106613
106613
  "name": ""
106614
+ },
106615
+ {
106616
+ "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
106617
+ "name": "icon"
106614
106618
  }
106615
106619
  ],
106616
106620
  "members": [
@@ -106627,274 +106631,261 @@
106627
106631
  "name": "SbbElement",
106628
106632
  "module": "core/base-elements/element.js"
106629
106633
  },
106630
- "default": "'sbb-menu'"
106634
+ "default": "'sbb-menu-button'"
106631
106635
  },
106632
106636
  {
106633
106637
  "kind": "field",
106634
106638
  "name": "role",
106635
106639
  "type": {
106636
- "text": "string"
106640
+ "text": "ElementInternals['role']"
106637
106641
  },
106638
106642
  "privacy": "public",
106639
106643
  "static": true,
106640
106644
  "readonly": true,
106641
- "default": "'menu'"
106645
+ "default": "'menuitem'",
106646
+ "inheritedFrom": {
106647
+ "name": "SbbButtonLikeBaseElement",
106648
+ "module": "core/base-elements/button-base-element.js"
106649
+ }
106642
106650
  },
106643
106651
  {
106644
106652
  "kind": "field",
106645
- "name": "trigger",
106653
+ "name": "disabledInteractive",
106646
106654
  "type": {
106647
- "text": "HTMLElement | null"
106655
+ "text": "boolean"
106648
106656
  },
106649
106657
  "privacy": "public",
106650
- "default": "null",
106651
- "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
106652
- "attribute": "trigger"
106653
- },
106654
- {
106655
- "kind": "field",
106656
- "name": "_menu",
106657
- "type": {
106658
- "text": "HTMLDivElement"
106659
- },
106660
- "privacy": "private"
106661
- },
106662
- {
106663
- "kind": "field",
106664
- "name": "_triggerElement",
106665
- "type": {
106666
- "text": "HTMLElement | null"
106667
- },
106668
- "privacy": "private",
106669
- "default": "null"
106670
- },
106671
- {
106672
- "kind": "field",
106673
- "name": "_triggerAbortController",
106674
- "type": {
106675
- "text": "AbortController"
106676
- },
106677
- "privacy": "private"
106658
+ "default": "false",
106659
+ "description": "Whether the button should be aria-disabled but stay interactive.",
106660
+ "attribute": "disabled-interactive",
106661
+ "reflects": true,
106662
+ "inheritedFrom": {
106663
+ "name": "SbbDisabledInteractiveMixin",
106664
+ "module": "core/mixins/disabled-mixin.js"
106665
+ }
106678
106666
  },
106679
106667
  {
106680
106668
  "kind": "field",
106681
- "name": "_isPointerDownEventOnMenu",
106669
+ "name": "disabled",
106670
+ "privacy": "public",
106671
+ "description": "Whether the component is disabled.",
106672
+ "default": "false",
106682
106673
  "type": {
106683
106674
  "text": "boolean"
106684
106675
  },
106685
- "privacy": "private",
106686
- "default": "false"
106687
- },
106688
- {
106689
- "kind": "field",
106690
- "name": "_windowEventsController",
106691
- "type": {
106692
- "text": "AbortController"
106693
- },
106694
- "privacy": "private"
106695
- },
106696
- {
106697
- "kind": "field",
106698
- "name": "_escapableOverlayController",
106699
- "privacy": "private",
106700
- "default": "new SbbEscapableOverlayController(this)"
106701
- },
106702
- {
106703
- "kind": "field",
106704
- "name": "_focusTrapController",
106705
- "privacy": "private",
106706
- "default": "new SbbFocusTrapController(this)"
106707
- },
106708
- {
106709
- "kind": "field",
106710
- "name": "_scrollHandler",
106711
- "privacy": "private",
106712
- "default": "new SbbScrollHandler()"
106713
- },
106714
- {
106715
- "kind": "field",
106716
- "name": "_inertController",
106717
- "privacy": "private",
106718
- "default": "new SbbInertController(this)"
106719
- },
106720
- {
106721
- "kind": "field",
106722
- "name": "_mobileBreakpoint",
106723
- "privacy": "private",
106724
- "default": "SbbMediaQueryBreakpointSmallAndBelow"
106725
- },
106726
- {
106727
- "kind": "field",
106728
- "name": "_mediaMatcher",
106729
- "privacy": "private",
106730
- "default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
106731
- },
106732
- {
106733
- "kind": "field",
106734
- "name": "_darkModeController",
106735
- "privacy": "private",
106736
- "default": "new SbbDarkModeController(this, () => this._syncNegative())"
106676
+ "attribute": "disabled",
106677
+ "reflects": true,
106678
+ "inheritedFrom": {
106679
+ "name": "SbbDisabledMixin",
106680
+ "module": "core/mixins/disabled-mixin.js"
106681
+ }
106737
106682
  },
106738
106683
  {
106739
106684
  "kind": "field",
106740
- "name": "_language",
106685
+ "name": "#disabled",
106741
106686
  "privacy": "private",
106742
- "default": "new SbbLanguageController(this)"
106743
- },
106744
- {
106745
- "kind": "field",
106746
- "name": "_nestedMenu",
106747
106687
  "type": {
106748
- "text": "SbbMenuElement | null"
106688
+ "text": "boolean"
106749
106689
  },
106750
- "privacy": "private",
106751
- "default": "null"
106690
+ "default": "false",
106691
+ "inheritedFrom": {
106692
+ "name": "SbbDisabledMixin",
106693
+ "module": "core/mixins/disabled-mixin.js"
106694
+ }
106752
106695
  },
106753
106696
  {
106754
106697
  "kind": "method",
106755
- "name": "escapeStrategy",
106756
- "privacy": "public",
106698
+ "name": "isDisabledExternally",
106699
+ "privacy": "protected",
106757
106700
  "return": {
106758
106701
  "type": {
106759
- "text": "void"
106702
+ "text": "boolean"
106760
106703
  }
106761
106704
  },
106762
- "description": "The method which is called on escape key press. Defaults to calling close()",
106705
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
106763
106706
  "inheritedFrom": {
106764
- "name": "SbbOpenCloseBaseElement",
106765
- "module": "core/base-elements/open-close-base-element.js"
106707
+ "name": "SbbDisabledMixin",
106708
+ "module": "core/mixins/disabled-mixin.js"
106766
106709
  }
106767
106710
  },
106768
106711
  {
106769
- "kind": "method",
106770
- "name": "open",
106771
- "privacy": "public",
106772
- "return": {
106773
- "type": {
106774
- "text": "void"
106775
- }
106712
+ "kind": "field",
106713
+ "name": "styles",
106714
+ "type": {
106715
+ "text": "CSSResultGroup"
106776
106716
  },
106777
- "description": "Opens the menu on trigger click.",
106717
+ "privacy": "public",
106718
+ "static": true,
106719
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
106778
106720
  "inheritedFrom": {
106779
- "name": "SbbOpenCloseBaseElement",
106780
- "module": "core/base-elements/open-close-base-element.js"
106721
+ "name": "SbbMenuActionCommonElementMixin",
106722
+ "module": "menu/common/menu-action-common.js"
106781
106723
  }
106782
106724
  },
106783
106725
  {
106784
106726
  "kind": "method",
106785
- "name": "close",
106786
- "privacy": "public",
106727
+ "name": "renderTemplate",
106728
+ "privacy": "protected",
106787
106729
  "return": {
106788
106730
  "type": {
106789
- "text": "void"
106731
+ "text": "TemplateResult"
106790
106732
  }
106791
106733
  },
106792
- "description": "Closes the menu and all its nested menus.",
106734
+ "description": "Override this method to render the component template.",
106793
106735
  "inheritedFrom": {
106794
- "name": "SbbOpenCloseBaseElement",
106795
- "module": "core/base-elements/open-close-base-element.js"
106736
+ "name": "SbbActionBaseElement",
106737
+ "module": "core/base-elements/action-base-element.js"
106796
106738
  }
106797
106739
  },
106798
106740
  {
106799
- "kind": "method",
106800
- "name": "closeAll",
106801
- "privacy": "public",
106802
- "return": {
106803
- "type": {
106804
- "text": "void"
106805
- }
106741
+ "kind": "field",
106742
+ "name": "iconName",
106743
+ "type": {
106744
+ "text": "string"
106806
106745
  },
106807
- "description": "Closes the menu and all related menus (nested and parent menus)."
106746
+ "privacy": "public",
106747
+ "default": "''",
106748
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
106749
+ "attribute": "icon-name",
106750
+ "inheritedFrom": {
106751
+ "name": "SbbIconNameMixin",
106752
+ "module": "icon/icon-name-mixin.js"
106753
+ }
106808
106754
  },
106809
106755
  {
106810
106756
  "kind": "method",
106811
- "name": "_close",
106812
- "privacy": "private",
106757
+ "name": "renderIconSlot",
106758
+ "privacy": "protected",
106813
106759
  "return": {
106814
106760
  "type": {
106815
- "text": "void"
106761
+ "text": "TemplateResult"
106816
106762
  }
106817
106763
  },
106818
106764
  "parameters": [
106819
106765
  {
106820
- "name": "closeAll",
106821
- "default": "false",
106822
- "description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
106823
- "optional": true
106766
+ "name": "classname",
106767
+ "optional": true,
106768
+ "type": {
106769
+ "text": "string"
106770
+ }
106824
106771
  }
106825
- ]
106772
+ ],
106773
+ "inheritedFrom": {
106774
+ "name": "SbbIconNameMixin",
106775
+ "module": "icon/icon-name-mixin.js"
106776
+ }
106826
106777
  },
106827
106778
  {
106828
106779
  "kind": "method",
106829
- "name": "_isZeroAnimationDuration",
106830
- "privacy": "private",
106780
+ "name": "renderIconName",
106781
+ "privacy": "protected",
106831
106782
  "return": {
106832
106783
  "type": {
106833
- "text": "boolean"
106784
+ "text": "string"
106834
106785
  }
106786
+ },
106787
+ "inheritedFrom": {
106788
+ "name": "SbbIconNameMixin",
106789
+ "module": "icon/icon-name-mixin.js"
106835
106790
  }
106836
106791
  },
106837
106792
  {
106838
106793
  "kind": "method",
106839
- "name": "_handleOpening",
106794
+ "name": "_renderIconName",
106840
106795
  "privacy": "private",
106841
106796
  "return": {
106842
106797
  "type": {
106843
- "text": "void"
106798
+ "text": "string"
106844
106799
  }
106800
+ },
106801
+ "inheritedFrom": {
106802
+ "name": "SbbIconNameMixin",
106803
+ "module": "icon/icon-name-mixin.js"
106845
106804
  }
106846
106805
  },
106847
106806
  {
106848
- "kind": "method",
106849
- "name": "_handleClosing",
106807
+ "kind": "field",
106808
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
106809
+ "type": {
106810
+ "text": "array"
106811
+ },
106850
106812
  "privacy": "private",
106851
- "return": {
106852
- "type": {
106853
- "text": "void"
106854
- }
106813
+ "readonly": true,
106814
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
106815
+ "inheritedFrom": {
106816
+ "name": "SbbButtonBaseElement",
106817
+ "module": "core/base-elements/button-base-element.js"
106855
106818
  }
106856
106819
  },
106857
106820
  {
106858
- "kind": "method",
106859
- "name": "_handleKeyDown",
106860
- "privacy": "private",
106861
- "return": {
106862
- "type": {
106863
- "text": "void"
106864
- }
106821
+ "kind": "field",
106822
+ "name": "value",
106823
+ "type": {
106824
+ "text": "string"
106865
106825
  },
106866
- "parameters": [
106867
- {
106868
- "name": "evt",
106869
- "type": {
106870
- "text": "KeyboardEvent"
106871
- }
106872
- }
106873
- ]
106826
+ "privacy": "public",
106827
+ "inheritedFrom": {
106828
+ "name": "SbbButtonBaseElement",
106829
+ "module": "core/base-elements/button-base-element.js"
106830
+ },
106831
+ "default": "''",
106832
+ "description": "Value of the form element.",
106833
+ "attribute": "value"
106874
106834
  },
106875
106835
  {
106876
- "kind": "method",
106877
- "name": "_configureTrigger",
106836
+ "kind": "field",
106837
+ "name": "type",
106838
+ "privacy": "public",
106839
+ "description": "The type attribute to use for the button.",
106840
+ "default": "'button'",
106841
+ "type": {
106842
+ "text": "SbbButtonType"
106843
+ },
106844
+ "attribute": "type",
106845
+ "inheritedFrom": {
106846
+ "name": "SbbButtonBaseElement",
106847
+ "module": "core/base-elements/button-base-element.js"
106848
+ }
106849
+ },
106850
+ {
106851
+ "kind": "field",
106852
+ "name": "form",
106853
+ "type": {
106854
+ "text": "HTMLFormElement | null"
106855
+ },
106856
+ "privacy": "public",
106857
+ "description": "The `<form>` element to associate the button with.",
106858
+ "inheritedFrom": {
106859
+ "name": "SbbButtonBaseElement",
106860
+ "module": "core/base-elements/button-base-element.js"
106861
+ },
106862
+ "attribute": "form"
106863
+ },
106864
+ {
106865
+ "kind": "field",
106866
+ "name": "_formId",
106867
+ "type": {
106868
+ "text": "string"
106869
+ },
106878
106870
  "privacy": "private",
106879
- "return": {
106880
- "type": {
106881
- "text": "void"
106882
- }
106871
+ "default": "''",
106872
+ "inheritedFrom": {
106873
+ "name": "SbbButtonBaseElement",
106874
+ "module": "core/base-elements/button-base-element.js"
106883
106875
  }
106884
106876
  },
106885
106877
  {
106886
- "kind": "method",
106887
- "name": "_attachWindowEvents",
106878
+ "kind": "field",
106879
+ "name": "_handleButtonClick",
106888
106880
  "privacy": "private",
106889
- "return": {
106890
- "type": {
106891
- "text": "void"
106892
- }
106881
+ "inheritedFrom": {
106882
+ "name": "SbbButtonBaseElement",
106883
+ "module": "core/base-elements/button-base-element.js"
106893
106884
  }
106894
106885
  },
106895
106886
  {
106896
106887
  "kind": "method",
106897
- "name": "_interactiveElementClick",
106888
+ "name": "_requestSubmit",
106898
106889
  "privacy": "private",
106899
106890
  "return": {
106900
106891
  "type": {
@@ -106903,79 +106894,220 @@
106903
106894
  },
106904
106895
  "parameters": [
106905
106896
  {
106906
- "name": "event",
106897
+ "name": "form",
106907
106898
  "type": {
106908
- "text": "Event"
106899
+ "text": "HTMLFormElement"
106909
106900
  }
106910
106901
  }
106911
- ]
106902
+ ],
106903
+ "inheritedFrom": {
106904
+ "name": "SbbButtonBaseElement",
106905
+ "module": "core/base-elements/button-base-element.js"
106906
+ }
106912
106907
  },
106913
106908
  {
106914
106909
  "kind": "field",
106915
- "name": "_pointerDownListener",
106916
- "privacy": "private"
106910
+ "name": "_formKeyDown",
106911
+ "privacy": "private",
106912
+ "inheritedFrom": {
106913
+ "name": "SbbButtonBaseElement",
106914
+ "module": "core/base-elements/button-base-element.js"
106915
+ }
106917
106916
  },
106918
106917
  {
106919
106918
  "kind": "field",
106920
- "name": "_closeOnBackdropClick",
106921
- "privacy": "private"
106919
+ "name": "formAssociated",
106920
+ "type": {
106921
+ "text": "boolean"
106922
+ },
106923
+ "privacy": "public",
106924
+ "static": true,
106925
+ "default": "true",
106926
+ "inheritedFrom": {
106927
+ "name": "SbbFormAssociatedMixin",
106928
+ "module": "core/mixins/form-associated-mixin.js"
106929
+ }
106922
106930
  },
106923
106931
  {
106924
- "kind": "method",
106925
- "name": "_nestedMenus",
106932
+ "kind": "field",
106933
+ "name": "name",
106934
+ "privacy": "public",
106935
+ "description": "Name of the form element. Will be read from name attribute.",
106936
+ "type": {
106937
+ "text": "string"
106938
+ },
106939
+ "attribute": "name",
106940
+ "inheritedFrom": {
106941
+ "name": "SbbFormAssociatedMixin",
106942
+ "module": "core/mixins/form-associated-mixin.js"
106943
+ }
106944
+ },
106945
+ {
106946
+ "kind": "field",
106947
+ "name": "validity",
106948
+ "type": {
106949
+ "text": "ValidityState"
106950
+ },
106951
+ "privacy": "public",
106952
+ "description": "Returns the ValidityState object for this element.",
106953
+ "readonly": true,
106954
+ "inheritedFrom": {
106955
+ "name": "SbbFormAssociatedMixin",
106956
+ "module": "core/mixins/form-associated-mixin.js"
106957
+ }
106958
+ },
106959
+ {
106960
+ "kind": "field",
106961
+ "name": "validationMessage",
106962
+ "type": {
106963
+ "text": "string"
106964
+ },
106965
+ "privacy": "public",
106966
+ "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
106967
+ "readonly": true,
106968
+ "inheritedFrom": {
106969
+ "name": "SbbFormAssociatedMixin",
106970
+ "module": "core/mixins/form-associated-mixin.js"
106971
+ }
106972
+ },
106973
+ {
106974
+ "kind": "field",
106975
+ "name": "willValidate",
106976
+ "type": {
106977
+ "text": "boolean"
106978
+ },
106979
+ "privacy": "public",
106980
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
106981
+ "readonly": true,
106982
+ "inheritedFrom": {
106983
+ "name": "SbbFormAssociatedMixin",
106984
+ "module": "core/mixins/form-associated-mixin.js"
106985
+ }
106986
+ },
106987
+ {
106988
+ "kind": "field",
106989
+ "name": "_validityStates",
106926
106990
  "privacy": "private",
106991
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
106992
+ "inheritedFrom": {
106993
+ "name": "SbbFormAssociatedMixin",
106994
+ "module": "core/mixins/form-associated-mixin.js"
106995
+ }
106996
+ },
106997
+ {
106998
+ "kind": "field",
106999
+ "name": "formDisabled",
107000
+ "type": {
107001
+ "text": "boolean"
107002
+ },
107003
+ "privacy": "protected",
107004
+ "default": "false",
107005
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
107006
+ "inheritedFrom": {
107007
+ "name": "SbbFormAssociatedMixin",
107008
+ "module": "core/mixins/form-associated-mixin.js"
107009
+ }
107010
+ },
107011
+ {
107012
+ "kind": "method",
107013
+ "name": "checkValidity",
107014
+ "privacy": "public",
106927
107015
  "return": {
106928
107016
  "type": {
106929
- "text": "SbbMenuElement[]"
107017
+ "text": "boolean"
106930
107018
  }
106931
107019
  },
106932
- "description": "Converts the linked list into an array of SbbMenuElement."
107020
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
107021
+ "inheritedFrom": {
107022
+ "name": "SbbFormAssociatedMixin",
107023
+ "module": "core/mixins/form-associated-mixin.js"
107024
+ }
106933
107025
  },
106934
107026
  {
106935
107027
  "kind": "method",
106936
- "name": "_parentMenu",
106937
- "privacy": "private",
107028
+ "name": "reportValidity",
107029
+ "privacy": "public",
106938
107030
  "return": {
106939
107031
  "type": {
106940
- "text": "SbbMenuElement | null"
107032
+ "text": "boolean"
106941
107033
  }
107034
+ },
107035
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
107036
+ "inheritedFrom": {
107037
+ "name": "SbbFormAssociatedMixin",
107038
+ "module": "core/mixins/form-associated-mixin.js"
106942
107039
  }
106943
107040
  },
106944
107041
  {
106945
107042
  "kind": "method",
106946
- "name": "_mainMenu",
106947
- "privacy": "private",
107043
+ "name": "setCustomValidity",
107044
+ "privacy": "public",
106948
107045
  "return": {
106949
107046
  "type": {
106950
- "text": "SbbMenuElement"
107047
+ "text": "void"
106951
107048
  }
106952
107049
  },
106953
- "description": "The outermost menu."
107050
+ "parameters": [
107051
+ {
107052
+ "name": "message",
107053
+ "type": {
107054
+ "text": "string"
107055
+ }
107056
+ }
107057
+ ],
107058
+ "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
107059
+ "inheritedFrom": {
107060
+ "name": "SbbFormAssociatedMixin",
107061
+ "module": "core/mixins/form-associated-mixin.js"
107062
+ }
106954
107063
  },
106955
107064
  {
106956
107065
  "kind": "method",
106957
- "name": "_isNested",
107066
+ "name": "_hasDisabledAncestor",
106958
107067
  "privacy": "private",
106959
107068
  "return": {
106960
107069
  "type": {
106961
107070
  "text": "boolean"
106962
107071
  }
107072
+ },
107073
+ "inheritedFrom": {
107074
+ "name": "SbbFormAssociatedMixin",
107075
+ "module": "core/mixins/form-associated-mixin.js"
106963
107076
  }
106964
107077
  },
106965
107078
  {
106966
107079
  "kind": "method",
106967
- "name": "_updateNestedInert",
106968
- "privacy": "private",
107080
+ "name": "updateFormValue",
107081
+ "privacy": "protected",
106969
107082
  "return": {
106970
107083
  "type": {
106971
107084
  "text": "void"
106972
107085
  }
107086
+ },
107087
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
107088
+ "inheritedFrom": {
107089
+ "name": "SbbFormAssociatedMixin",
107090
+ "module": "core/mixins/form-associated-mixin.js"
106973
107091
  }
106974
107092
  },
106975
107093
  {
106976
107094
  "kind": "method",
106977
- "name": "_handleMouseOver",
106978
- "privacy": "private",
107095
+ "name": "formState",
107096
+ "privacy": "protected",
107097
+ "return": {
107098
+ "type": {
107099
+ "text": "FormRestoreState"
107100
+ }
107101
+ },
107102
+ "inheritedFrom": {
107103
+ "name": "SbbFormAssociatedMixin",
107104
+ "module": "core/mixins/form-associated-mixin.js"
107105
+ }
107106
+ },
107107
+ {
107108
+ "kind": "method",
107109
+ "name": "setValidityFlag",
107110
+ "privacy": "protected",
106979
107111
  "return": {
106980
107112
  "type": {
106981
107113
  "text": "void"
@@ -106983,17 +107115,35 @@
106983
107115
  },
106984
107116
  "parameters": [
106985
107117
  {
106986
- "name": "event",
107118
+ "name": "flag",
106987
107119
  "type": {
106988
- "text": "MouseEvent"
107120
+ "text": "T"
107121
+ }
107122
+ },
107123
+ {
107124
+ "name": "message",
107125
+ "type": {
107126
+ "text": "string"
107127
+ }
107128
+ },
107129
+ {
107130
+ "name": "flagValue",
107131
+ "optional": true,
107132
+ "type": {
107133
+ "text": "ValidityStateFlags[T]"
106989
107134
  }
106990
107135
  }
106991
- ]
107136
+ ],
107137
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
107138
+ "inheritedFrom": {
107139
+ "name": "SbbFormAssociatedMixin",
107140
+ "module": "core/mixins/form-associated-mixin.js"
107141
+ }
106992
107142
  },
106993
107143
  {
106994
107144
  "kind": "method",
106995
- "name": "_onMenuAnimationEnd",
106996
- "privacy": "private",
107145
+ "name": "removeValidityFlag",
107146
+ "privacy": "protected",
106997
107147
  "return": {
106998
107148
  "type": {
106999
107149
  "text": "void"
@@ -107001,152 +107151,158 @@
107001
107151
  },
107002
107152
  "parameters": [
107003
107153
  {
107004
- "name": "event",
107154
+ "name": "flag",
107005
107155
  "type": {
107006
- "text": "AnimationEvent"
107156
+ "text": "T"
107007
107157
  }
107008
107158
  }
107009
- ]
107159
+ ],
107160
+ "description": "Removes the validity state flag entry and updates validity state.",
107161
+ "inheritedFrom": {
107162
+ "name": "SbbFormAssociatedMixin",
107163
+ "module": "core/mixins/form-associated-mixin.js"
107164
+ }
107010
107165
  },
107011
107166
  {
107012
107167
  "kind": "method",
107013
- "name": "_setMenuPosition",
107014
- "privacy": "private",
107168
+ "name": "validate",
107169
+ "privacy": "protected",
107015
107170
  "return": {
107016
107171
  "type": {
107017
107172
  "text": "void"
107018
107173
  }
107174
+ },
107175
+ "description": "To be called whenever the current element needs to be validated.",
107176
+ "inheritedFrom": {
107177
+ "name": "SbbFormAssociatedMixin",
107178
+ "module": "core/mixins/form-associated-mixin.js"
107179
+ }
107180
+ },
107181
+ {
107182
+ "kind": "method",
107183
+ "name": "shouldValidate",
107184
+ "privacy": "protected",
107185
+ "return": {
107186
+ "type": {
107187
+ "text": "boolean"
107188
+ }
107189
+ },
107190
+ "parameters": [
107191
+ {
107192
+ "name": "name",
107193
+ "type": {
107194
+ "text": "PropertyKey | undefined"
107195
+ }
107196
+ }
107197
+ ],
107198
+ "description": "Whether validation should be run on a property change with the given name.",
107199
+ "inheritedFrom": {
107200
+ "name": "SbbFormAssociatedMixin",
107201
+ "module": "core/mixins/form-associated-mixin.js"
107019
107202
  }
107020
107203
  },
107021
107204
  {
107022
107205
  "kind": "method",
107023
- "name": "_syncNegative",
107206
+ "name": "_setInternalValidity",
107024
107207
  "privacy": "private",
107025
107208
  "return": {
107026
107209
  "type": {
107027
107210
  "text": "void"
107028
107211
  }
107212
+ },
107213
+ "inheritedFrom": {
107214
+ "name": "SbbFormAssociatedMixin",
107215
+ "module": "core/mixins/form-associated-mixin.js"
107029
107216
  }
107030
107217
  },
107031
107218
  {
107032
- "kind": "method",
107033
- "name": "_isMobile",
107219
+ "kind": "field",
107220
+ "name": "_preventScrollOnSpaceKeydown",
107034
107221
  "privacy": "private",
107035
- "return": {
107036
- "type": {
107037
- "text": "boolean"
107222
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
107223
+ "parameters": [
107224
+ {
107225
+ "description": "The origin event.",
107226
+ "name": "event"
107038
107227
  }
107228
+ ],
107229
+ "inheritedFrom": {
107230
+ "name": "SbbButtonLikeBaseElement",
107231
+ "module": "core/base-elements/button-base-element.js"
107039
107232
  }
107040
107233
  },
107041
107234
  {
107042
107235
  "kind": "field",
107043
- "name": "events",
107044
- "privacy": "public",
107045
- "static": true,
107046
- "readonly": true,
107047
- "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
107048
- "type": {
107049
- "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
107050
- },
107236
+ "name": "_removeActiveMarker",
107237
+ "privacy": "private",
107051
107238
  "inheritedFrom": {
107052
- "name": "SbbOpenCloseBaseElement",
107053
- "module": "core/base-elements/open-close-base-element.js"
107239
+ "name": "SbbButtonLikeBaseElement",
107240
+ "module": "core/base-elements/button-base-element.js"
107054
107241
  }
107055
107242
  },
107056
107243
  {
107057
107244
  "kind": "field",
107058
- "name": "state",
107059
- "privacy": "protected",
107060
- "description": "The state of the component.",
107061
- "type": {
107062
- "text": "SbbOpenedClosedState"
107063
- },
107064
- "default": "'closed'",
107245
+ "name": "_dispatchClickEventOnSpaceKeyup",
107246
+ "privacy": "private",
107247
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
107248
+ "parameters": [
107249
+ {
107250
+ "description": "The origin event.",
107251
+ "name": "event"
107252
+ }
107253
+ ],
107065
107254
  "inheritedFrom": {
107066
- "name": "SbbOpenCloseBaseElement",
107067
- "module": "core/base-elements/open-close-base-element.js"
107255
+ "name": "SbbButtonLikeBaseElement",
107256
+ "module": "core/base-elements/button-base-element.js"
107068
107257
  }
107069
107258
  },
107070
107259
  {
107071
107260
  "kind": "field",
107072
- "name": "_state",
107073
- "type": {
107074
- "text": "SbbOpenedClosedState"
107075
- },
107261
+ "name": "_dispatchClickEvent",
107076
107262
  "privacy": "private",
107077
107263
  "inheritedFrom": {
107078
- "name": "SbbOpenCloseBaseElement",
107079
- "module": "core/base-elements/open-close-base-element.js"
107264
+ "name": "SbbButtonLikeBaseElement",
107265
+ "module": "core/base-elements/button-base-element.js"
107080
107266
  }
107081
107267
  },
107082
107268
  {
107083
107269
  "kind": "field",
107084
- "name": "isOpen",
107270
+ "name": "maybeDisabled",
107085
107271
  "type": {
107086
- "text": "boolean"
107272
+ "text": "boolean | undefined"
107087
107273
  },
107088
- "privacy": "public",
107089
- "description": "Whether the element is open.",
107090
- "readonly": true,
107091
- "inheritedFrom": {
107092
- "name": "SbbOpenCloseBaseElement",
107093
- "module": "core/base-elements/open-close-base-element.js"
107094
- }
107095
- },
107096
- {
107097
- "kind": "method",
107098
- "name": "dispatchBeforeOpenEvent",
107099
107274
  "privacy": "protected",
107100
- "return": {
107101
- "type": {
107102
- "text": "boolean"
107103
- }
107104
- },
107275
+ "readonly": true,
107105
107276
  "inheritedFrom": {
107106
- "name": "SbbOpenCloseBaseElement",
107107
- "module": "core/base-elements/open-close-base-element.js"
107277
+ "name": "SbbActionBaseElement",
107278
+ "module": "core/base-elements/action-base-element.js"
107108
107279
  }
107109
107280
  },
107110
107281
  {
107111
- "kind": "method",
107112
- "name": "dispatchOpenEvent",
107113
- "privacy": "protected",
107114
- "return": {
107115
- "type": {
107116
- "text": "boolean"
107117
- }
107282
+ "kind": "field",
107283
+ "name": "maybeDisabledInteractive",
107284
+ "type": {
107285
+ "text": "boolean | undefined"
107118
107286
  },
107119
- "inheritedFrom": {
107120
- "name": "SbbOpenCloseBaseElement",
107121
- "module": "core/base-elements/open-close-base-element.js"
107122
- }
107123
- },
107124
- {
107125
- "kind": "method",
107126
- "name": "dispatchBeforeCloseEvent",
107127
107287
  "privacy": "protected",
107128
- "return": {
107129
- "type": {
107130
- "text": "boolean"
107131
- }
107132
- },
107288
+ "readonly": true,
107133
107289
  "inheritedFrom": {
107134
- "name": "SbbOpenCloseBaseElement",
107135
- "module": "core/base-elements/open-close-base-element.js"
107290
+ "name": "SbbActionBaseElement",
107291
+ "module": "core/base-elements/action-base-element.js"
107136
107292
  }
107137
107293
  },
107138
107294
  {
107139
107295
  "kind": "method",
107140
- "name": "dispatchCloseEvent",
107296
+ "name": "setupBaseEventHandlers",
107141
107297
  "privacy": "protected",
107142
107298
  "return": {
107143
107299
  "type": {
107144
- "text": "boolean"
107300
+ "text": "void"
107145
107301
  }
107146
107302
  },
107147
107303
  "inheritedFrom": {
107148
- "name": "SbbOpenCloseBaseElement",
107149
- "module": "core/base-elements/open-close-base-element.js"
107304
+ "name": "SbbActionBaseElement",
107305
+ "module": "core/base-elements/action-base-element.js"
107150
107306
  }
107151
107307
  },
107152
107308
  {
@@ -107255,66 +107411,110 @@
107255
107411
  }
107256
107412
  }
107257
107413
  ],
107258
- "attributes": [
107414
+ "mixins": [
107259
107415
  {
107260
- "name": "trigger",
107261
- "type": {
107262
- "text": "HTMLElement | null"
107263
- },
107264
- "default": "null",
107265
- "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
107266
- "fieldName": "trigger"
107416
+ "name": "SbbDisabledTabIndexActionMixin",
107417
+ "module": "core/mixins.js"
107418
+ },
107419
+ {
107420
+ "name": "SbbMenuActionCommonElementMixin",
107421
+ "module": "menu/common/menu-action-common.js"
107267
107422
  }
107268
107423
  ],
107269
107424
  "superclass": {
107270
- "name": "SbbOpenCloseBaseElement",
107425
+ "name": "SbbButtonBaseElement",
107271
107426
  "module": "core/base-elements.js"
107272
107427
  },
107273
- "tagName": "sbb-menu",
107428
+ "tagName": "sbb-menu-button",
107274
107429
  "customElement": true,
107275
- "events": [
107430
+ "attributes": [
107276
107431
  {
107277
- "name": "beforeopen",
107432
+ "name": "disabled-interactive",
107278
107433
  "type": {
107279
- "text": "Event"
107434
+ "text": "boolean"
107280
107435
  },
107281
- "description": "Emits whenever the component starts the opening transition. Can be canceled.",
107436
+ "default": "false",
107437
+ "description": "Whether the button should be aria-disabled but stay interactive.",
107438
+ "fieldName": "disabledInteractive",
107282
107439
  "inheritedFrom": {
107283
- "name": "SbbOpenCloseBaseElement",
107284
- "module": "core/base-elements/open-close-base-element.js"
107440
+ "name": "SbbDisabledInteractiveMixin",
107441
+ "module": "core/mixins/disabled-mixin.js"
107285
107442
  }
107286
107443
  },
107287
107444
  {
107288
- "name": "open",
107445
+ "name": "disabled",
107446
+ "description": "Whether the component is disabled.",
107447
+ "default": "false",
107289
107448
  "type": {
107290
- "text": "Event"
107449
+ "text": "boolean"
107291
107450
  },
107292
- "description": "Emits whenever the component is opened.",
107451
+ "fieldName": "disabled",
107293
107452
  "inheritedFrom": {
107294
- "name": "SbbOpenCloseBaseElement",
107295
- "module": "core/base-elements/open-close-base-element.js"
107453
+ "name": "SbbDisabledMixin",
107454
+ "module": "core/mixins/disabled-mixin.js"
107296
107455
  }
107297
107456
  },
107298
107457
  {
107299
- "name": "beforeclose",
107458
+ "name": "icon-name",
107300
107459
  "type": {
107301
- "text": "Event"
107460
+ "text": "string"
107302
107461
  },
107303
- "description": "Emits whenever the component begins the closing transition. Can be canceled.",
107462
+ "default": "''",
107463
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
107464
+ "fieldName": "iconName",
107304
107465
  "inheritedFrom": {
107305
- "name": "SbbOpenCloseBaseElement",
107306
- "module": "core/base-elements/open-close-base-element.js"
107466
+ "name": "SbbIconNameMixin",
107467
+ "module": "icon/icon-name-mixin.js"
107307
107468
  }
107308
107469
  },
107309
107470
  {
107310
- "name": "close",
107471
+ "name": "value",
107311
107472
  "type": {
107312
- "text": "Event"
107473
+ "text": "string"
107313
107474
  },
107314
- "description": "Emits whenever the component is closed.",
107475
+ "default": "''",
107476
+ "description": "Value of the form element.",
107477
+ "fieldName": "value",
107315
107478
  "inheritedFrom": {
107316
- "name": "SbbOpenCloseBaseElement",
107317
- "module": "core/base-elements/open-close-base-element.js"
107479
+ "name": "SbbButtonBaseElement",
107480
+ "module": "core/base-elements/button-base-element.js"
107481
+ }
107482
+ },
107483
+ {
107484
+ "name": "type",
107485
+ "description": "The type attribute to use for the button.",
107486
+ "default": "'button'",
107487
+ "type": {
107488
+ "text": "SbbButtonType"
107489
+ },
107490
+ "fieldName": "type",
107491
+ "inheritedFrom": {
107492
+ "name": "SbbButtonBaseElement",
107493
+ "module": "core/base-elements/button-base-element.js"
107494
+ }
107495
+ },
107496
+ {
107497
+ "name": "form",
107498
+ "description": "The `<form>` element to associate the button with.",
107499
+ "type": {
107500
+ "text": "HTMLFormElement | null"
107501
+ },
107502
+ "fieldName": "form",
107503
+ "inheritedFrom": {
107504
+ "name": "SbbButtonBaseElement",
107505
+ "module": "core/base-elements/button-base-element.js"
107506
+ }
107507
+ },
107508
+ {
107509
+ "name": "name",
107510
+ "description": "Name of the form element. Will be read from name attribute.",
107511
+ "type": {
107512
+ "text": "string"
107513
+ },
107514
+ "fieldName": "name",
107515
+ "inheritedFrom": {
107516
+ "name": "SbbFormAssociatedMixin",
107517
+ "module": "core/mixins/form-associated-mixin.js"
107318
107518
  }
107319
107519
  }
107320
107520
  ]
@@ -107323,37 +107523,33 @@
107323
107523
  "exports": [
107324
107524
  {
107325
107525
  "kind": "js",
107326
- "name": "SbbMenuElement",
107526
+ "name": "SbbMenuButtonElement",
107327
107527
  "declaration": {
107328
- "name": "SbbMenuElement",
107329
- "module": "menu/menu/menu.component.js"
107528
+ "name": "SbbMenuButtonElement",
107529
+ "module": "menu/menu-button/menu-button.component.js"
107330
107530
  }
107331
107531
  }
107332
107532
  ]
107333
107533
  },
107334
107534
  {
107335
107535
  "kind": "javascript-module",
107336
- "path": "menu/menu-button/menu-button.component.js",
107536
+ "path": "menu/menu/menu.component.js",
107337
107537
  "declarations": [
107338
107538
  {
107339
107539
  "kind": "class",
107340
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
107341
- "name": "SbbMenuButtonElement",
107540
+ "description": "It displays a contextual menu with one or more action element.",
107541
+ "name": "SbbMenuElement",
107342
107542
  "cssProperties": [
107343
107543
  {
107344
- "description": "Can be used to modify horizontal padding.",
107345
- "name": "--sbb-menu-action-outer-horizontal-padding",
107346
- "default": "var(--sbb-spacing-fixed-3x)"
107544
+ "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable. The default `z-index` of the component is set to `var(--sbb-overlay-default-z-index)` with a value of `1000`.",
107545
+ "name": "--sbb-menu-z-index",
107546
+ "default": "var(--sbb-overlay-default-z-index)"
107347
107547
  }
107348
107548
  ],
107349
107549
  "slots": [
107350
107550
  {
107351
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107551
+ "description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
107352
107552
  "name": ""
107353
- },
107354
- {
107355
- "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
107356
- "name": "icon"
107357
107553
  }
107358
107554
  ],
107359
107555
  "members": [
@@ -107370,417 +107566,275 @@
107370
107566
  "name": "SbbElement",
107371
107567
  "module": "core/base-elements/element.js"
107372
107568
  },
107373
- "default": "'sbb-menu-button'"
107569
+ "default": "'sbb-menu'"
107374
107570
  },
107375
107571
  {
107376
107572
  "kind": "field",
107377
107573
  "name": "role",
107378
107574
  "type": {
107379
- "text": "ElementInternals['role']"
107575
+ "text": "string"
107380
107576
  },
107381
107577
  "privacy": "public",
107382
107578
  "static": true,
107383
107579
  "readonly": true,
107384
- "default": "'menuitem'",
107385
- "inheritedFrom": {
107386
- "name": "SbbButtonLikeBaseElement",
107387
- "module": "core/base-elements/button-base-element.js"
107388
- }
107580
+ "default": "'menu'"
107389
107581
  },
107390
107582
  {
107391
107583
  "kind": "field",
107392
- "name": "disabledInteractive",
107584
+ "name": "trigger",
107393
107585
  "type": {
107394
- "text": "boolean"
107586
+ "text": "HTMLElement | null"
107395
107587
  },
107396
107588
  "privacy": "public",
107397
- "default": "false",
107398
- "description": "Whether the button should be aria-disabled but stay interactive.",
107399
- "attribute": "disabled-interactive",
107400
- "reflects": true,
107401
- "inheritedFrom": {
107402
- "name": "SbbDisabledInteractiveMixin",
107403
- "module": "core/mixins/disabled-mixin.js"
107404
- }
107589
+ "default": "null",
107590
+ "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
107591
+ "attribute": "trigger"
107405
107592
  },
107406
107593
  {
107407
107594
  "kind": "field",
107408
- "name": "disabled",
107409
- "privacy": "public",
107410
- "description": "Whether the component is disabled.",
107411
- "default": "false",
107595
+ "name": "_menu",
107412
107596
  "type": {
107413
- "text": "boolean"
107597
+ "text": "HTMLDivElement"
107414
107598
  },
107415
- "attribute": "disabled",
107416
- "reflects": true,
107417
- "inheritedFrom": {
107418
- "name": "SbbDisabledMixin",
107419
- "module": "core/mixins/disabled-mixin.js"
107420
- }
107599
+ "privacy": "private"
107421
107600
  },
107422
107601
  {
107423
107602
  "kind": "field",
107424
- "name": "#disabled",
107425
- "privacy": "private",
107603
+ "name": "_triggerElement",
107426
107604
  "type": {
107427
- "text": "boolean"
107605
+ "text": "HTMLElement | null"
107428
107606
  },
107429
- "default": "false",
107430
- "inheritedFrom": {
107431
- "name": "SbbDisabledMixin",
107432
- "module": "core/mixins/disabled-mixin.js"
107433
- }
107607
+ "privacy": "private",
107608
+ "default": "null"
107434
107609
  },
107435
107610
  {
107436
- "kind": "method",
107437
- "name": "isDisabledExternally",
107438
- "privacy": "protected",
107439
- "return": {
107440
- "type": {
107441
- "text": "boolean"
107442
- }
107611
+ "kind": "field",
107612
+ "name": "_triggerAbortController",
107613
+ "type": {
107614
+ "text": "AbortController"
107443
107615
  },
107444
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107445
- "inheritedFrom": {
107446
- "name": "SbbDisabledMixin",
107447
- "module": "core/mixins/disabled-mixin.js"
107448
- }
107616
+ "privacy": "private"
107449
107617
  },
107450
107618
  {
107451
107619
  "kind": "field",
107452
- "name": "styles",
107620
+ "name": "_isPointerDownEventOnMenu",
107453
107621
  "type": {
107454
- "text": "CSSResultGroup"
107622
+ "text": "boolean"
107455
107623
  },
107456
- "privacy": "public",
107457
- "static": true,
107458
- "default": "[boxSizingStyles, unsafeCSS(style)]",
107459
- "inheritedFrom": {
107460
- "name": "SbbMenuActionCommonElementMixin",
107461
- "module": "menu/common/menu-action-common.js"
107462
- }
107624
+ "privacy": "private",
107625
+ "default": "false"
107463
107626
  },
107464
107627
  {
107465
- "kind": "method",
107466
- "name": "renderTemplate",
107467
- "privacy": "protected",
107468
- "return": {
107469
- "type": {
107470
- "text": "TemplateResult"
107471
- }
107628
+ "kind": "field",
107629
+ "name": "_windowEventsController",
107630
+ "type": {
107631
+ "text": "AbortController"
107472
107632
  },
107473
- "description": "Override this method to render the component template.",
107474
- "inheritedFrom": {
107475
- "name": "SbbActionBaseElement",
107476
- "module": "core/base-elements/action-base-element.js"
107477
- }
107633
+ "privacy": "private"
107478
107634
  },
107479
107635
  {
107480
107636
  "kind": "field",
107481
- "name": "iconName",
107482
- "type": {
107483
- "text": "string"
107484
- },
107485
- "privacy": "public",
107486
- "default": "''",
107487
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
107488
- "attribute": "icon-name",
107489
- "inheritedFrom": {
107490
- "name": "SbbIconNameMixin",
107491
- "module": "icon/icon-name-mixin.js"
107492
- }
107637
+ "name": "_escapableOverlayController",
107638
+ "privacy": "private",
107639
+ "default": "new SbbEscapableOverlayController(this)"
107493
107640
  },
107494
107641
  {
107495
- "kind": "method",
107496
- "name": "renderIconSlot",
107497
- "privacy": "protected",
107498
- "return": {
107499
- "type": {
107500
- "text": "TemplateResult"
107501
- }
107502
- },
107503
- "parameters": [
107504
- {
107505
- "name": "classname",
107506
- "optional": true,
107507
- "type": {
107508
- "text": "string"
107509
- }
107510
- }
107511
- ],
107512
- "inheritedFrom": {
107513
- "name": "SbbIconNameMixin",
107514
- "module": "icon/icon-name-mixin.js"
107515
- }
107642
+ "kind": "field",
107643
+ "name": "_focusTrapController",
107644
+ "privacy": "private",
107645
+ "default": "new SbbFocusTrapController(this)"
107516
107646
  },
107517
107647
  {
107518
- "kind": "method",
107519
- "name": "renderIconName",
107520
- "privacy": "protected",
107521
- "return": {
107522
- "type": {
107523
- "text": "string"
107524
- }
107525
- },
107526
- "inheritedFrom": {
107527
- "name": "SbbIconNameMixin",
107528
- "module": "icon/icon-name-mixin.js"
107529
- }
107648
+ "kind": "field",
107649
+ "name": "_scrollHandler",
107650
+ "privacy": "private",
107651
+ "default": "new SbbScrollHandler()"
107530
107652
  },
107531
107653
  {
107532
- "kind": "method",
107533
- "name": "_renderIconName",
107654
+ "kind": "field",
107655
+ "name": "_inertController",
107534
107656
  "privacy": "private",
107535
- "return": {
107536
- "type": {
107537
- "text": "string"
107538
- }
107539
- },
107540
- "inheritedFrom": {
107541
- "name": "SbbIconNameMixin",
107542
- "module": "icon/icon-name-mixin.js"
107543
- }
107657
+ "default": "new SbbInertController(this)"
107544
107658
  },
107545
107659
  {
107546
107660
  "kind": "field",
107547
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
107548
- "type": {
107549
- "text": "array"
107550
- },
107661
+ "name": "_mobileBreakpoint",
107551
107662
  "privacy": "private",
107552
- "readonly": true,
107553
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
107554
- "inheritedFrom": {
107555
- "name": "SbbButtonBaseElement",
107556
- "module": "core/base-elements/button-base-element.js"
107557
- }
107663
+ "default": "SbbMediaQueryBreakpointSmallAndBelow"
107558
107664
  },
107559
107665
  {
107560
107666
  "kind": "field",
107561
- "name": "value",
107562
- "type": {
107563
- "text": "string"
107564
- },
107565
- "privacy": "public",
107566
- "inheritedFrom": {
107567
- "name": "SbbButtonBaseElement",
107568
- "module": "core/base-elements/button-base-element.js"
107569
- },
107570
- "default": "''",
107571
- "description": "Value of the form element.",
107572
- "attribute": "value"
107667
+ "name": "_mediaMatcher",
107668
+ "privacy": "private",
107669
+ "default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
107573
107670
  },
107574
107671
  {
107575
107672
  "kind": "field",
107576
- "name": "type",
107577
- "privacy": "public",
107578
- "description": "The type attribute to use for the button.",
107579
- "default": "'button'",
107580
- "type": {
107581
- "text": "SbbButtonType"
107582
- },
107583
- "attribute": "type",
107584
- "inheritedFrom": {
107585
- "name": "SbbButtonBaseElement",
107586
- "module": "core/base-elements/button-base-element.js"
107587
- }
107673
+ "name": "_darkModeController",
107674
+ "privacy": "private",
107675
+ "default": "new SbbDarkModeController(this, () => this._syncNegative())"
107588
107676
  },
107589
107677
  {
107590
107678
  "kind": "field",
107591
- "name": "form",
107592
- "type": {
107593
- "text": "HTMLFormElement | null"
107594
- },
107595
- "privacy": "public",
107596
- "description": "The `<form>` element to associate the button with.",
107597
- "inheritedFrom": {
107598
- "name": "SbbButtonBaseElement",
107599
- "module": "core/base-elements/button-base-element.js"
107600
- },
107601
- "attribute": "form"
107679
+ "name": "_language",
107680
+ "privacy": "private",
107681
+ "default": "new SbbLanguageController(this)"
107602
107682
  },
107603
107683
  {
107604
107684
  "kind": "field",
107605
- "name": "_formId",
107685
+ "name": "_nestedMenu",
107606
107686
  "type": {
107607
- "text": "string"
107687
+ "text": "SbbMenuElement | null"
107608
107688
  },
107609
107689
  "privacy": "private",
107610
- "default": "''",
107611
- "inheritedFrom": {
107612
- "name": "SbbButtonBaseElement",
107613
- "module": "core/base-elements/button-base-element.js"
107614
- }
107690
+ "default": "null"
107615
107691
  },
107616
107692
  {
107617
- "kind": "field",
107618
- "name": "_handleButtonClick",
107619
- "privacy": "private",
107693
+ "kind": "method",
107694
+ "name": "escapeStrategy",
107695
+ "privacy": "public",
107696
+ "return": {
107697
+ "type": {
107698
+ "text": "void"
107699
+ }
107700
+ },
107701
+ "description": "The method which is called on escape key press. Defaults to calling close()",
107620
107702
  "inheritedFrom": {
107621
- "name": "SbbButtonBaseElement",
107622
- "module": "core/base-elements/button-base-element.js"
107703
+ "name": "SbbOpenCloseBaseElement",
107704
+ "module": "core/base-elements/open-close-base-element.js"
107623
107705
  }
107624
107706
  },
107625
107707
  {
107626
107708
  "kind": "method",
107627
- "name": "_requestSubmit",
107628
- "privacy": "private",
107709
+ "name": "open",
107710
+ "privacy": "public",
107629
107711
  "return": {
107630
107712
  "type": {
107631
107713
  "text": "void"
107632
107714
  }
107633
107715
  },
107634
- "parameters": [
107635
- {
107636
- "name": "form",
107637
- "type": {
107638
- "text": "HTMLFormElement"
107639
- }
107640
- }
107641
- ],
107642
- "inheritedFrom": {
107643
- "name": "SbbButtonBaseElement",
107644
- "module": "core/base-elements/button-base-element.js"
107645
- }
107646
- },
107647
- {
107648
- "kind": "field",
107649
- "name": "_formKeyDown",
107650
- "privacy": "private",
107716
+ "description": "Opens the menu on trigger click.",
107651
107717
  "inheritedFrom": {
107652
- "name": "SbbButtonBaseElement",
107653
- "module": "core/base-elements/button-base-element.js"
107718
+ "name": "SbbOpenCloseBaseElement",
107719
+ "module": "core/base-elements/open-close-base-element.js"
107654
107720
  }
107655
107721
  },
107656
107722
  {
107657
- "kind": "field",
107658
- "name": "formAssociated",
107659
- "type": {
107660
- "text": "boolean"
107661
- },
107723
+ "kind": "method",
107724
+ "name": "close",
107662
107725
  "privacy": "public",
107663
- "static": true,
107664
- "default": "true",
107726
+ "return": {
107727
+ "type": {
107728
+ "text": "void"
107729
+ }
107730
+ },
107731
+ "description": "Closes the menu and all its nested menus.",
107665
107732
  "inheritedFrom": {
107666
- "name": "SbbFormAssociatedMixin",
107667
- "module": "core/mixins/form-associated-mixin.js"
107733
+ "name": "SbbOpenCloseBaseElement",
107734
+ "module": "core/base-elements/open-close-base-element.js"
107668
107735
  }
107669
107736
  },
107670
107737
  {
107671
- "kind": "field",
107672
- "name": "name",
107738
+ "kind": "method",
107739
+ "name": "closeAll",
107673
107740
  "privacy": "public",
107674
- "description": "Name of the form element. Will be read from name attribute.",
107675
- "type": {
107676
- "text": "string"
107741
+ "return": {
107742
+ "type": {
107743
+ "text": "void"
107744
+ }
107677
107745
  },
107678
- "attribute": "name",
107679
- "inheritedFrom": {
107680
- "name": "SbbFormAssociatedMixin",
107681
- "module": "core/mixins/form-associated-mixin.js"
107682
- }
107746
+ "description": "Closes the menu and all related menus (nested and parent menus)."
107683
107747
  },
107684
107748
  {
107685
- "kind": "field",
107686
- "name": "validity",
107687
- "type": {
107688
- "text": "ValidityState"
107749
+ "kind": "method",
107750
+ "name": "_close",
107751
+ "privacy": "private",
107752
+ "return": {
107753
+ "type": {
107754
+ "text": "void"
107755
+ }
107689
107756
  },
107690
- "privacy": "public",
107691
- "description": "Returns the ValidityState object for this element.",
107692
- "readonly": true,
107693
- "inheritedFrom": {
107694
- "name": "SbbFormAssociatedMixin",
107695
- "module": "core/mixins/form-associated-mixin.js"
107696
- }
107757
+ "parameters": [
107758
+ {
107759
+ "name": "closeAll",
107760
+ "default": "false",
107761
+ "description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
107762
+ "optional": true
107763
+ }
107764
+ ]
107697
107765
  },
107698
107766
  {
107699
- "kind": "field",
107700
- "name": "validationMessage",
107701
- "type": {
107702
- "text": "string"
107703
- },
107704
- "privacy": "public",
107705
- "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
107706
- "readonly": true,
107707
- "inheritedFrom": {
107708
- "name": "SbbFormAssociatedMixin",
107709
- "module": "core/mixins/form-associated-mixin.js"
107767
+ "kind": "method",
107768
+ "name": "_isZeroAnimationDuration",
107769
+ "privacy": "private",
107770
+ "return": {
107771
+ "type": {
107772
+ "text": "boolean"
107773
+ }
107710
107774
  }
107711
107775
  },
107712
107776
  {
107713
- "kind": "field",
107714
- "name": "willValidate",
107715
- "type": {
107716
- "text": "boolean"
107717
- },
107718
- "privacy": "public",
107719
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
107720
- "readonly": true,
107721
- "inheritedFrom": {
107722
- "name": "SbbFormAssociatedMixin",
107723
- "module": "core/mixins/form-associated-mixin.js"
107777
+ "kind": "method",
107778
+ "name": "_handleOpening",
107779
+ "privacy": "private",
107780
+ "return": {
107781
+ "type": {
107782
+ "text": "void"
107783
+ }
107724
107784
  }
107725
107785
  },
107726
107786
  {
107727
- "kind": "field",
107728
- "name": "_validityStates",
107787
+ "kind": "method",
107788
+ "name": "_handleClosing",
107729
107789
  "privacy": "private",
107730
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
107731
- "inheritedFrom": {
107732
- "name": "SbbFormAssociatedMixin",
107733
- "module": "core/mixins/form-associated-mixin.js"
107790
+ "return": {
107791
+ "type": {
107792
+ "text": "void"
107793
+ }
107734
107794
  }
107735
107795
  },
107736
107796
  {
107737
- "kind": "field",
107738
- "name": "formDisabled",
107739
- "type": {
107740
- "text": "boolean"
107797
+ "kind": "method",
107798
+ "name": "_handleKeyDown",
107799
+ "privacy": "private",
107800
+ "return": {
107801
+ "type": {
107802
+ "text": "void"
107803
+ }
107741
107804
  },
107742
- "privacy": "protected",
107743
- "default": "false",
107744
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
107745
- "inheritedFrom": {
107746
- "name": "SbbFormAssociatedMixin",
107747
- "module": "core/mixins/form-associated-mixin.js"
107748
- }
107805
+ "parameters": [
107806
+ {
107807
+ "name": "evt",
107808
+ "type": {
107809
+ "text": "KeyboardEvent"
107810
+ }
107811
+ }
107812
+ ]
107749
107813
  },
107750
107814
  {
107751
107815
  "kind": "method",
107752
- "name": "checkValidity",
107753
- "privacy": "public",
107816
+ "name": "_configureTrigger",
107817
+ "privacy": "private",
107754
107818
  "return": {
107755
107819
  "type": {
107756
- "text": "boolean"
107820
+ "text": "void"
107757
107821
  }
107758
- },
107759
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
107760
- "inheritedFrom": {
107761
- "name": "SbbFormAssociatedMixin",
107762
- "module": "core/mixins/form-associated-mixin.js"
107763
107822
  }
107764
107823
  },
107765
107824
  {
107766
107825
  "kind": "method",
107767
- "name": "reportValidity",
107768
- "privacy": "public",
107826
+ "name": "_attachWindowEvents",
107827
+ "privacy": "private",
107769
107828
  "return": {
107770
107829
  "type": {
107771
- "text": "boolean"
107830
+ "text": "void"
107772
107831
  }
107773
- },
107774
- "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
107775
- "inheritedFrom": {
107776
- "name": "SbbFormAssociatedMixin",
107777
- "module": "core/mixins/form-associated-mixin.js"
107778
107832
  }
107779
107833
  },
107780
107834
  {
107781
107835
  "kind": "method",
107782
- "name": "setCustomValidity",
107783
- "privacy": "public",
107836
+ "name": "_interactiveElementClick",
107837
+ "privacy": "private",
107784
107838
  "return": {
107785
107839
  "type": {
107786
107840
  "text": "void"
@@ -107788,65 +107842,79 @@
107788
107842
  },
107789
107843
  "parameters": [
107790
107844
  {
107791
- "name": "message",
107845
+ "name": "event",
107792
107846
  "type": {
107793
- "text": "string"
107847
+ "text": "Event"
107794
107848
  }
107795
107849
  }
107796
- ],
107797
- "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
107798
- "inheritedFrom": {
107799
- "name": "SbbFormAssociatedMixin",
107800
- "module": "core/mixins/form-associated-mixin.js"
107801
- }
107850
+ ]
107851
+ },
107852
+ {
107853
+ "kind": "field",
107854
+ "name": "_pointerDownListener",
107855
+ "privacy": "private"
107856
+ },
107857
+ {
107858
+ "kind": "field",
107859
+ "name": "_closeOnBackdropClick",
107860
+ "privacy": "private"
107802
107861
  },
107803
107862
  {
107804
107863
  "kind": "method",
107805
- "name": "_hasDisabledAncestor",
107864
+ "name": "_nestedMenus",
107806
107865
  "privacy": "private",
107807
107866
  "return": {
107808
107867
  "type": {
107809
- "text": "boolean"
107868
+ "text": "SbbMenuElement[]"
107810
107869
  }
107811
107870
  },
107812
- "inheritedFrom": {
107813
- "name": "SbbFormAssociatedMixin",
107814
- "module": "core/mixins/form-associated-mixin.js"
107871
+ "description": "Converts the linked list into an array of SbbMenuElement."
107872
+ },
107873
+ {
107874
+ "kind": "method",
107875
+ "name": "_parentMenu",
107876
+ "privacy": "private",
107877
+ "return": {
107878
+ "type": {
107879
+ "text": "SbbMenuElement | null"
107880
+ }
107815
107881
  }
107816
107882
  },
107817
107883
  {
107818
107884
  "kind": "method",
107819
- "name": "updateFormValue",
107820
- "privacy": "protected",
107885
+ "name": "_mainMenu",
107886
+ "privacy": "private",
107821
107887
  "return": {
107822
107888
  "type": {
107823
- "text": "void"
107889
+ "text": "SbbMenuElement"
107824
107890
  }
107825
107891
  },
107826
- "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
107827
- "inheritedFrom": {
107828
- "name": "SbbFormAssociatedMixin",
107829
- "module": "core/mixins/form-associated-mixin.js"
107892
+ "description": "The outermost menu."
107893
+ },
107894
+ {
107895
+ "kind": "method",
107896
+ "name": "_isNested",
107897
+ "privacy": "private",
107898
+ "return": {
107899
+ "type": {
107900
+ "text": "boolean"
107901
+ }
107830
107902
  }
107831
107903
  },
107832
107904
  {
107833
107905
  "kind": "method",
107834
- "name": "formState",
107835
- "privacy": "protected",
107906
+ "name": "_updateNestedInert",
107907
+ "privacy": "private",
107836
107908
  "return": {
107837
107909
  "type": {
107838
- "text": "FormRestoreState"
107910
+ "text": "void"
107839
107911
  }
107840
- },
107841
- "inheritedFrom": {
107842
- "name": "SbbFormAssociatedMixin",
107843
- "module": "core/mixins/form-associated-mixin.js"
107844
107912
  }
107845
107913
  },
107846
107914
  {
107847
107915
  "kind": "method",
107848
- "name": "setValidityFlag",
107849
- "privacy": "protected",
107916
+ "name": "_handleMouseOver",
107917
+ "privacy": "private",
107850
107918
  "return": {
107851
107919
  "type": {
107852
107920
  "text": "void"
@@ -107854,35 +107922,17 @@
107854
107922
  },
107855
107923
  "parameters": [
107856
107924
  {
107857
- "name": "flag",
107858
- "type": {
107859
- "text": "T"
107860
- }
107861
- },
107862
- {
107863
- "name": "message",
107864
- "type": {
107865
- "text": "string"
107866
- }
107867
- },
107868
- {
107869
- "name": "flagValue",
107870
- "optional": true,
107925
+ "name": "event",
107871
107926
  "type": {
107872
- "text": "ValidityStateFlags[T]"
107927
+ "text": "MouseEvent"
107873
107928
  }
107874
107929
  }
107875
- ],
107876
- "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
107877
- "inheritedFrom": {
107878
- "name": "SbbFormAssociatedMixin",
107879
- "module": "core/mixins/form-associated-mixin.js"
107880
- }
107930
+ ]
107881
107931
  },
107882
107932
  {
107883
107933
  "kind": "method",
107884
- "name": "removeValidityFlag",
107885
- "privacy": "protected",
107934
+ "name": "_onMenuAnimationEnd",
107935
+ "privacy": "private",
107886
107936
  "return": {
107887
107937
  "type": {
107888
107938
  "text": "void"
@@ -107890,158 +107940,152 @@
107890
107940
  },
107891
107941
  "parameters": [
107892
107942
  {
107893
- "name": "flag",
107943
+ "name": "event",
107894
107944
  "type": {
107895
- "text": "T"
107945
+ "text": "AnimationEvent"
107896
107946
  }
107897
107947
  }
107898
- ],
107899
- "description": "Removes the validity state flag entry and updates validity state.",
107900
- "inheritedFrom": {
107901
- "name": "SbbFormAssociatedMixin",
107902
- "module": "core/mixins/form-associated-mixin.js"
107903
- }
107948
+ ]
107904
107949
  },
107905
107950
  {
107906
107951
  "kind": "method",
107907
- "name": "validate",
107908
- "privacy": "protected",
107952
+ "name": "_setMenuPosition",
107953
+ "privacy": "private",
107909
107954
  "return": {
107910
107955
  "type": {
107911
107956
  "text": "void"
107912
107957
  }
107913
- },
107914
- "description": "To be called whenever the current element needs to be validated.",
107915
- "inheritedFrom": {
107916
- "name": "SbbFormAssociatedMixin",
107917
- "module": "core/mixins/form-associated-mixin.js"
107918
107958
  }
107919
107959
  },
107920
107960
  {
107921
107961
  "kind": "method",
107922
- "name": "shouldValidate",
107923
- "privacy": "protected",
107962
+ "name": "_syncNegative",
107963
+ "privacy": "private",
107924
107964
  "return": {
107925
107965
  "type": {
107926
- "text": "boolean"
107927
- }
107928
- },
107929
- "parameters": [
107930
- {
107931
- "name": "name",
107932
- "type": {
107933
- "text": "PropertyKey | undefined"
107934
- }
107966
+ "text": "void"
107935
107967
  }
107936
- ],
107937
- "description": "Whether validation should be run on a property change with the given name.",
107938
- "inheritedFrom": {
107939
- "name": "SbbFormAssociatedMixin",
107940
- "module": "core/mixins/form-associated-mixin.js"
107941
107968
  }
107942
107969
  },
107943
107970
  {
107944
107971
  "kind": "method",
107945
- "name": "_setInternalValidity",
107972
+ "name": "_isMobile",
107946
107973
  "privacy": "private",
107947
107974
  "return": {
107948
107975
  "type": {
107949
- "text": "void"
107976
+ "text": "boolean"
107950
107977
  }
107951
- },
107952
- "inheritedFrom": {
107953
- "name": "SbbFormAssociatedMixin",
107954
- "module": "core/mixins/form-associated-mixin.js"
107955
107978
  }
107956
107979
  },
107957
107980
  {
107958
107981
  "kind": "field",
107959
- "name": "_preventScrollOnSpaceKeydown",
107960
- "privacy": "private",
107961
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
107962
- "parameters": [
107963
- {
107964
- "description": "The origin event.",
107965
- "name": "event"
107966
- }
107967
- ],
107982
+ "name": "events",
107983
+ "privacy": "public",
107984
+ "static": true,
107985
+ "readonly": true,
107986
+ "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
107987
+ "type": {
107988
+ "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
107989
+ },
107968
107990
  "inheritedFrom": {
107969
- "name": "SbbButtonLikeBaseElement",
107970
- "module": "core/base-elements/button-base-element.js"
107991
+ "name": "SbbOpenCloseBaseElement",
107992
+ "module": "core/base-elements/open-close-base-element.js"
107971
107993
  }
107972
107994
  },
107973
107995
  {
107974
107996
  "kind": "field",
107975
- "name": "_removeActiveMarker",
107976
- "privacy": "private",
107997
+ "name": "state",
107998
+ "privacy": "protected",
107999
+ "description": "The state of the component.",
108000
+ "type": {
108001
+ "text": "SbbOpenedClosedState"
108002
+ },
108003
+ "default": "'closed'",
107977
108004
  "inheritedFrom": {
107978
- "name": "SbbButtonLikeBaseElement",
107979
- "module": "core/base-elements/button-base-element.js"
108005
+ "name": "SbbOpenCloseBaseElement",
108006
+ "module": "core/base-elements/open-close-base-element.js"
107980
108007
  }
107981
108008
  },
107982
108009
  {
107983
108010
  "kind": "field",
107984
- "name": "_dispatchClickEventOnSpaceKeyup",
108011
+ "name": "_state",
108012
+ "type": {
108013
+ "text": "SbbOpenedClosedState"
108014
+ },
107985
108015
  "privacy": "private",
107986
- "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
107987
- "parameters": [
107988
- {
107989
- "description": "The origin event.",
107990
- "name": "event"
107991
- }
107992
- ],
107993
108016
  "inheritedFrom": {
107994
- "name": "SbbButtonLikeBaseElement",
107995
- "module": "core/base-elements/button-base-element.js"
108017
+ "name": "SbbOpenCloseBaseElement",
108018
+ "module": "core/base-elements/open-close-base-element.js"
107996
108019
  }
107997
108020
  },
107998
108021
  {
107999
108022
  "kind": "field",
108000
- "name": "_dispatchClickEvent",
108001
- "privacy": "private",
108023
+ "name": "isOpen",
108024
+ "type": {
108025
+ "text": "boolean"
108026
+ },
108027
+ "privacy": "public",
108028
+ "description": "Whether the element is open.",
108029
+ "readonly": true,
108002
108030
  "inheritedFrom": {
108003
- "name": "SbbButtonLikeBaseElement",
108004
- "module": "core/base-elements/button-base-element.js"
108031
+ "name": "SbbOpenCloseBaseElement",
108032
+ "module": "core/base-elements/open-close-base-element.js"
108005
108033
  }
108006
108034
  },
108007
108035
  {
108008
- "kind": "field",
108009
- "name": "maybeDisabled",
108010
- "type": {
108011
- "text": "boolean | undefined"
108012
- },
108036
+ "kind": "method",
108037
+ "name": "dispatchBeforeOpenEvent",
108013
108038
  "privacy": "protected",
108014
- "readonly": true,
108039
+ "return": {
108040
+ "type": {
108041
+ "text": "boolean"
108042
+ }
108043
+ },
108015
108044
  "inheritedFrom": {
108016
- "name": "SbbActionBaseElement",
108017
- "module": "core/base-elements/action-base-element.js"
108045
+ "name": "SbbOpenCloseBaseElement",
108046
+ "module": "core/base-elements/open-close-base-element.js"
108018
108047
  }
108019
108048
  },
108020
108049
  {
108021
- "kind": "field",
108022
- "name": "maybeDisabledInteractive",
108023
- "type": {
108024
- "text": "boolean | undefined"
108050
+ "kind": "method",
108051
+ "name": "dispatchOpenEvent",
108052
+ "privacy": "protected",
108053
+ "return": {
108054
+ "type": {
108055
+ "text": "boolean"
108056
+ }
108025
108057
  },
108058
+ "inheritedFrom": {
108059
+ "name": "SbbOpenCloseBaseElement",
108060
+ "module": "core/base-elements/open-close-base-element.js"
108061
+ }
108062
+ },
108063
+ {
108064
+ "kind": "method",
108065
+ "name": "dispatchBeforeCloseEvent",
108026
108066
  "privacy": "protected",
108027
- "readonly": true,
108067
+ "return": {
108068
+ "type": {
108069
+ "text": "boolean"
108070
+ }
108071
+ },
108028
108072
  "inheritedFrom": {
108029
- "name": "SbbActionBaseElement",
108030
- "module": "core/base-elements/action-base-element.js"
108073
+ "name": "SbbOpenCloseBaseElement",
108074
+ "module": "core/base-elements/open-close-base-element.js"
108031
108075
  }
108032
108076
  },
108033
108077
  {
108034
108078
  "kind": "method",
108035
- "name": "setupBaseEventHandlers",
108079
+ "name": "dispatchCloseEvent",
108036
108080
  "privacy": "protected",
108037
108081
  "return": {
108038
108082
  "type": {
108039
- "text": "void"
108083
+ "text": "boolean"
108040
108084
  }
108041
108085
  },
108042
108086
  "inheritedFrom": {
108043
- "name": "SbbActionBaseElement",
108044
- "module": "core/base-elements/action-base-element.js"
108087
+ "name": "SbbOpenCloseBaseElement",
108088
+ "module": "core/base-elements/open-close-base-element.js"
108045
108089
  }
108046
108090
  },
108047
108091
  {
@@ -108150,110 +108194,66 @@
108150
108194
  }
108151
108195
  }
108152
108196
  ],
108153
- "mixins": [
108154
- {
108155
- "name": "SbbDisabledTabIndexActionMixin",
108156
- "module": "core/mixins.js"
108157
- },
108197
+ "attributes": [
108158
108198
  {
108159
- "name": "SbbMenuActionCommonElementMixin",
108160
- "module": "menu/common/menu-action-common.js"
108199
+ "name": "trigger",
108200
+ "type": {
108201
+ "text": "HTMLElement | null"
108202
+ },
108203
+ "default": "null",
108204
+ "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
108205
+ "fieldName": "trigger"
108161
108206
  }
108162
108207
  ],
108163
108208
  "superclass": {
108164
- "name": "SbbButtonBaseElement",
108209
+ "name": "SbbOpenCloseBaseElement",
108165
108210
  "module": "core/base-elements.js"
108166
- },
108167
- "tagName": "sbb-menu-button",
108168
- "customElement": true,
108169
- "attributes": [
108170
- {
108171
- "name": "disabled-interactive",
108172
- "type": {
108173
- "text": "boolean"
108174
- },
108175
- "default": "false",
108176
- "description": "Whether the button should be aria-disabled but stay interactive.",
108177
- "fieldName": "disabledInteractive",
108178
- "inheritedFrom": {
108179
- "name": "SbbDisabledInteractiveMixin",
108180
- "module": "core/mixins/disabled-mixin.js"
108181
- }
108182
- },
108183
- {
108184
- "name": "disabled",
108185
- "description": "Whether the component is disabled.",
108186
- "default": "false",
108187
- "type": {
108188
- "text": "boolean"
108189
- },
108190
- "fieldName": "disabled",
108191
- "inheritedFrom": {
108192
- "name": "SbbDisabledMixin",
108193
- "module": "core/mixins/disabled-mixin.js"
108194
- }
108195
- },
108196
- {
108197
- "name": "icon-name",
108198
- "type": {
108199
- "text": "string"
108200
- },
108201
- "default": "''",
108202
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
108203
- "fieldName": "iconName",
108204
- "inheritedFrom": {
108205
- "name": "SbbIconNameMixin",
108206
- "module": "icon/icon-name-mixin.js"
108207
- }
108208
- },
108211
+ },
108212
+ "tagName": "sbb-menu",
108213
+ "customElement": true,
108214
+ "events": [
108209
108215
  {
108210
- "name": "value",
108216
+ "name": "beforeopen",
108211
108217
  "type": {
108212
- "text": "string"
108218
+ "text": "Event"
108213
108219
  },
108214
- "default": "''",
108215
- "description": "Value of the form element.",
108216
- "fieldName": "value",
108220
+ "description": "Emits whenever the component starts the opening transition. Can be canceled.",
108217
108221
  "inheritedFrom": {
108218
- "name": "SbbButtonBaseElement",
108219
- "module": "core/base-elements/button-base-element.js"
108222
+ "name": "SbbOpenCloseBaseElement",
108223
+ "module": "core/base-elements/open-close-base-element.js"
108220
108224
  }
108221
108225
  },
108222
108226
  {
108223
- "name": "type",
108224
- "description": "The type attribute to use for the button.",
108225
- "default": "'button'",
108227
+ "name": "open",
108226
108228
  "type": {
108227
- "text": "SbbButtonType"
108229
+ "text": "Event"
108228
108230
  },
108229
- "fieldName": "type",
108231
+ "description": "Emits whenever the component is opened.",
108230
108232
  "inheritedFrom": {
108231
- "name": "SbbButtonBaseElement",
108232
- "module": "core/base-elements/button-base-element.js"
108233
+ "name": "SbbOpenCloseBaseElement",
108234
+ "module": "core/base-elements/open-close-base-element.js"
108233
108235
  }
108234
108236
  },
108235
108237
  {
108236
- "name": "form",
108237
- "description": "The `<form>` element to associate the button with.",
108238
+ "name": "beforeclose",
108238
108239
  "type": {
108239
- "text": "HTMLFormElement | null"
108240
+ "text": "Event"
108240
108241
  },
108241
- "fieldName": "form",
108242
+ "description": "Emits whenever the component begins the closing transition. Can be canceled.",
108242
108243
  "inheritedFrom": {
108243
- "name": "SbbButtonBaseElement",
108244
- "module": "core/base-elements/button-base-element.js"
108244
+ "name": "SbbOpenCloseBaseElement",
108245
+ "module": "core/base-elements/open-close-base-element.js"
108245
108246
  }
108246
108247
  },
108247
108248
  {
108248
- "name": "name",
108249
- "description": "Name of the form element. Will be read from name attribute.",
108249
+ "name": "close",
108250
108250
  "type": {
108251
- "text": "string"
108251
+ "text": "Event"
108252
108252
  },
108253
- "fieldName": "name",
108253
+ "description": "Emits whenever the component is closed.",
108254
108254
  "inheritedFrom": {
108255
- "name": "SbbFormAssociatedMixin",
108256
- "module": "core/mixins/form-associated-mixin.js"
108255
+ "name": "SbbOpenCloseBaseElement",
108256
+ "module": "core/base-elements/open-close-base-element.js"
108257
108257
  }
108258
108258
  }
108259
108259
  ]
@@ -108262,10 +108262,10 @@
108262
108262
  "exports": [
108263
108263
  {
108264
108264
  "kind": "js",
108265
- "name": "SbbMenuButtonElement",
108265
+ "name": "SbbMenuElement",
108266
108266
  "declaration": {
108267
- "name": "SbbMenuButtonElement",
108268
- "module": "menu/menu-button/menu-button.component.js"
108267
+ "name": "SbbMenuElement",
108268
+ "module": "menu/menu/menu.component.js"
108269
108269
  }
108270
108270
  }
108271
108271
  ]
@@ -121242,42 +121242,254 @@
121242
121242
  },
121243
121243
  "description": "Emits whenever the component is opened.",
121244
121244
  "inheritedFrom": {
121245
- "name": "SbbOpenCloseBaseElement",
121246
- "module": "core/base-elements/open-close-base-element.js"
121245
+ "name": "SbbOpenCloseBaseElement",
121246
+ "module": "core/base-elements/open-close-base-element.js"
121247
+ }
121248
+ },
121249
+ {
121250
+ "name": "beforeclose",
121251
+ "type": {
121252
+ "text": "Event"
121253
+ },
121254
+ "description": "Emits whenever the component begins the closing transition. Can be canceled.",
121255
+ "inheritedFrom": {
121256
+ "name": "SbbOpenCloseBaseElement",
121257
+ "module": "core/base-elements/open-close-base-element.js"
121258
+ }
121259
+ },
121260
+ {
121261
+ "name": "close",
121262
+ "type": {
121263
+ "text": "Event"
121264
+ },
121265
+ "description": "Emits whenever the component is closed.",
121266
+ "inheritedFrom": {
121267
+ "name": "SbbOpenCloseBaseElement",
121268
+ "module": "core/base-elements/open-close-base-element.js"
121269
+ }
121270
+ }
121271
+ ]
121272
+ }
121273
+ ],
121274
+ "exports": [
121275
+ {
121276
+ "kind": "js",
121277
+ "name": "SbbSidebarElement",
121278
+ "declaration": {
121279
+ "name": "SbbSidebarElement",
121280
+ "module": "sidebar/sidebar/sidebar.component.js"
121281
+ }
121282
+ }
121283
+ ]
121284
+ },
121285
+ {
121286
+ "kind": "javascript-module",
121287
+ "path": "sidebar/sidebar-container/sidebar-container.component.js",
121288
+ "declarations": [
121289
+ {
121290
+ "kind": "class",
121291
+ "description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
121292
+ "name": "SbbSidebarContainerElement",
121293
+ "slots": [
121294
+ {
121295
+ "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
121296
+ "name": ""
121297
+ }
121298
+ ],
121299
+ "members": [
121300
+ {
121301
+ "kind": "field",
121302
+ "name": "elementName",
121303
+ "type": {
121304
+ "text": "string"
121305
+ },
121306
+ "privacy": "public",
121307
+ "static": true,
121308
+ "readonly": true,
121309
+ "default": "'sbb-sidebar-container'",
121310
+ "inheritedFrom": {
121311
+ "name": "SbbElement",
121312
+ "module": "core/base-elements/element.js"
121313
+ }
121314
+ },
121315
+ {
121316
+ "kind": "field",
121317
+ "name": "sidebars",
121318
+ "type": {
121319
+ "text": "SbbSidebarElement[]"
121320
+ },
121321
+ "privacy": "public",
121322
+ "description": "The sidebar children.",
121323
+ "readonly": true
121324
+ },
121325
+ {
121326
+ "kind": "field",
121327
+ "name": "start",
121328
+ "type": {
121329
+ "text": "SbbSidebarElement | null"
121330
+ },
121331
+ "privacy": "public",
121332
+ "description": "The sidebar child with the `start` position.",
121333
+ "readonly": true
121334
+ },
121335
+ {
121336
+ "kind": "field",
121337
+ "name": "end",
121338
+ "type": {
121339
+ "text": "SbbSidebarElement | null"
121340
+ },
121341
+ "privacy": "public",
121342
+ "description": "The sidebar child with the `end` position.",
121343
+ "readonly": true
121344
+ },
121345
+ {
121346
+ "kind": "field",
121347
+ "name": "_forcedClosedSidebars",
121348
+ "privacy": "private",
121349
+ "default": "new WeakSet<SbbSidebarElement>()"
121350
+ },
121351
+ {
121352
+ "kind": "method",
121353
+ "name": "_handleWidthChange",
121354
+ "privacy": "private",
121355
+ "return": {
121356
+ "type": {
121357
+ "text": "void"
121358
+ }
121359
+ }
121360
+ },
121361
+ {
121362
+ "kind": "method",
121363
+ "name": "_calculateSpaceState",
121364
+ "privacy": "private",
121365
+ "return": {
121366
+ "type": {
121367
+ "text": "Promise<void>"
121368
+ }
121369
+ },
121370
+ "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
121371
+ },
121372
+ {
121373
+ "kind": "field",
121374
+ "name": "_hydrationRequired",
121375
+ "type": {
121376
+ "text": "boolean"
121377
+ },
121378
+ "privacy": "private",
121379
+ "default": "!!this.shadowRoot",
121380
+ "inheritedFrom": {
121381
+ "name": "SbbElement",
121382
+ "module": "core/base-elements/element.js"
121383
+ }
121384
+ },
121385
+ {
121386
+ "kind": "field",
121387
+ "name": "_hydrationComplete",
121388
+ "privacy": "private",
121389
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
121390
+ "inheritedFrom": {
121391
+ "name": "SbbElement",
121392
+ "module": "core/base-elements/element.js"
121393
+ }
121394
+ },
121395
+ {
121396
+ "kind": "field",
121397
+ "name": "_resolveHydration",
121398
+ "type": {
121399
+ "text": "(hydrationRequired: boolean) => void"
121400
+ },
121401
+ "privacy": "private",
121402
+ "inheritedFrom": {
121403
+ "name": "SbbElement",
121404
+ "module": "core/base-elements/element.js"
121405
+ }
121406
+ },
121407
+ {
121408
+ "kind": "field",
121409
+ "name": "hydrationRequired",
121410
+ "type": {
121411
+ "text": "boolean"
121412
+ },
121413
+ "privacy": "protected",
121414
+ "description": "Returns whether hydration is required and not completed.",
121415
+ "readonly": true,
121416
+ "inheritedFrom": {
121417
+ "name": "SbbElement",
121418
+ "module": "core/base-elements/element.js"
121419
+ },
121420
+ "default": "!!this.shadowRoot"
121421
+ },
121422
+ {
121423
+ "kind": "method",
121424
+ "name": "toggleState",
121425
+ "privacy": "protected",
121426
+ "return": {
121427
+ "type": {
121428
+ "text": "void"
121429
+ }
121430
+ },
121431
+ "parameters": [
121432
+ {
121433
+ "name": "value",
121434
+ "type": {
121435
+ "text": "string"
121436
+ }
121437
+ },
121438
+ {
121439
+ "name": "force",
121440
+ "optional": true,
121441
+ "type": {
121442
+ "text": "boolean"
121443
+ }
121444
+ }
121445
+ ],
121446
+ "inheritedFrom": {
121447
+ "name": "SbbElement",
121448
+ "module": "core/base-elements/element.js"
121247
121449
  }
121248
121450
  },
121249
121451
  {
121250
- "name": "beforeclose",
121452
+ "kind": "field",
121453
+ "name": "['_$sbbElement$']",
121251
121454
  "type": {
121252
- "text": "Event"
121455
+ "text": "boolean"
121253
121456
  },
121254
- "description": "Emits whenever the component begins the closing transition. Can be canceled.",
121457
+ "privacy": "public",
121458
+ "static": true,
121459
+ "default": "true",
121255
121460
  "inheritedFrom": {
121256
- "name": "SbbOpenCloseBaseElement",
121257
- "module": "core/base-elements/open-close-base-element.js"
121461
+ "name": "SbbElement",
121462
+ "module": "core/base-elements/element.js"
121258
121463
  }
121259
121464
  },
121260
121465
  {
121261
- "name": "close",
121466
+ "kind": "field",
121467
+ "name": "_controllers",
121262
121468
  "type": {
121263
- "text": "Event"
121469
+ "text": "Set<SbbReactiveController> | undefined"
121264
121470
  },
121265
- "description": "Emits whenever the component is closed.",
121471
+ "privacy": "private",
121266
121472
  "inheritedFrom": {
121267
- "name": "SbbOpenCloseBaseElement",
121268
- "module": "core/base-elements/open-close-base-element.js"
121473
+ "name": "SbbElement",
121474
+ "module": "core/base-elements/element.js"
121269
121475
  }
121270
121476
  }
121271
- ]
121477
+ ],
121478
+ "superclass": {
121479
+ "name": "SbbElement",
121480
+ "module": "core/base-elements.js"
121481
+ },
121482
+ "tagName": "sbb-sidebar-container",
121483
+ "customElement": true
121272
121484
  }
121273
121485
  ],
121274
121486
  "exports": [
121275
121487
  {
121276
121488
  "kind": "js",
121277
- "name": "SbbSidebarElement",
121489
+ "name": "SbbSidebarContainerElement",
121278
121490
  "declaration": {
121279
- "name": "SbbSidebarElement",
121280
- "module": "sidebar/sidebar/sidebar.component.js"
121491
+ "name": "SbbSidebarContainerElement",
121492
+ "module": "sidebar/sidebar-container/sidebar-container.component.js"
121281
121493
  }
121282
121494
  }
121283
121495
  ]
@@ -122302,218 +122514,6 @@
122302
122514
  }
122303
122515
  ]
122304
122516
  },
122305
- {
122306
- "kind": "javascript-module",
122307
- "path": "sidebar/sidebar-container/sidebar-container.component.js",
122308
- "declarations": [
122309
- {
122310
- "kind": "class",
122311
- "description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
122312
- "name": "SbbSidebarContainerElement",
122313
- "slots": [
122314
- {
122315
- "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
122316
- "name": ""
122317
- }
122318
- ],
122319
- "members": [
122320
- {
122321
- "kind": "field",
122322
- "name": "elementName",
122323
- "type": {
122324
- "text": "string"
122325
- },
122326
- "privacy": "public",
122327
- "static": true,
122328
- "readonly": true,
122329
- "default": "'sbb-sidebar-container'",
122330
- "inheritedFrom": {
122331
- "name": "SbbElement",
122332
- "module": "core/base-elements/element.js"
122333
- }
122334
- },
122335
- {
122336
- "kind": "field",
122337
- "name": "sidebars",
122338
- "type": {
122339
- "text": "SbbSidebarElement[]"
122340
- },
122341
- "privacy": "public",
122342
- "description": "The sidebar children.",
122343
- "readonly": true
122344
- },
122345
- {
122346
- "kind": "field",
122347
- "name": "start",
122348
- "type": {
122349
- "text": "SbbSidebarElement | null"
122350
- },
122351
- "privacy": "public",
122352
- "description": "The sidebar child with the `start` position.",
122353
- "readonly": true
122354
- },
122355
- {
122356
- "kind": "field",
122357
- "name": "end",
122358
- "type": {
122359
- "text": "SbbSidebarElement | null"
122360
- },
122361
- "privacy": "public",
122362
- "description": "The sidebar child with the `end` position.",
122363
- "readonly": true
122364
- },
122365
- {
122366
- "kind": "field",
122367
- "name": "_forcedClosedSidebars",
122368
- "privacy": "private",
122369
- "default": "new WeakSet<SbbSidebarElement>()"
122370
- },
122371
- {
122372
- "kind": "method",
122373
- "name": "_handleWidthChange",
122374
- "privacy": "private",
122375
- "return": {
122376
- "type": {
122377
- "text": "void"
122378
- }
122379
- }
122380
- },
122381
- {
122382
- "kind": "method",
122383
- "name": "_calculateSpaceState",
122384
- "privacy": "private",
122385
- "return": {
122386
- "type": {
122387
- "text": "Promise<void>"
122388
- }
122389
- },
122390
- "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
122391
- },
122392
- {
122393
- "kind": "field",
122394
- "name": "_hydrationRequired",
122395
- "type": {
122396
- "text": "boolean"
122397
- },
122398
- "privacy": "private",
122399
- "default": "!!this.shadowRoot",
122400
- "inheritedFrom": {
122401
- "name": "SbbElement",
122402
- "module": "core/base-elements/element.js"
122403
- }
122404
- },
122405
- {
122406
- "kind": "field",
122407
- "name": "_hydrationComplete",
122408
- "privacy": "private",
122409
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
122410
- "inheritedFrom": {
122411
- "name": "SbbElement",
122412
- "module": "core/base-elements/element.js"
122413
- }
122414
- },
122415
- {
122416
- "kind": "field",
122417
- "name": "_resolveHydration",
122418
- "type": {
122419
- "text": "(hydrationRequired: boolean) => void"
122420
- },
122421
- "privacy": "private",
122422
- "inheritedFrom": {
122423
- "name": "SbbElement",
122424
- "module": "core/base-elements/element.js"
122425
- }
122426
- },
122427
- {
122428
- "kind": "field",
122429
- "name": "hydrationRequired",
122430
- "type": {
122431
- "text": "boolean"
122432
- },
122433
- "privacy": "protected",
122434
- "description": "Returns whether hydration is required and not completed.",
122435
- "readonly": true,
122436
- "inheritedFrom": {
122437
- "name": "SbbElement",
122438
- "module": "core/base-elements/element.js"
122439
- },
122440
- "default": "!!this.shadowRoot"
122441
- },
122442
- {
122443
- "kind": "method",
122444
- "name": "toggleState",
122445
- "privacy": "protected",
122446
- "return": {
122447
- "type": {
122448
- "text": "void"
122449
- }
122450
- },
122451
- "parameters": [
122452
- {
122453
- "name": "value",
122454
- "type": {
122455
- "text": "string"
122456
- }
122457
- },
122458
- {
122459
- "name": "force",
122460
- "optional": true,
122461
- "type": {
122462
- "text": "boolean"
122463
- }
122464
- }
122465
- ],
122466
- "inheritedFrom": {
122467
- "name": "SbbElement",
122468
- "module": "core/base-elements/element.js"
122469
- }
122470
- },
122471
- {
122472
- "kind": "field",
122473
- "name": "['_$sbbElement$']",
122474
- "type": {
122475
- "text": "boolean"
122476
- },
122477
- "privacy": "public",
122478
- "static": true,
122479
- "default": "true",
122480
- "inheritedFrom": {
122481
- "name": "SbbElement",
122482
- "module": "core/base-elements/element.js"
122483
- }
122484
- },
122485
- {
122486
- "kind": "field",
122487
- "name": "_controllers",
122488
- "type": {
122489
- "text": "Set<SbbReactiveController> | undefined"
122490
- },
122491
- "privacy": "private",
122492
- "inheritedFrom": {
122493
- "name": "SbbElement",
122494
- "module": "core/base-elements/element.js"
122495
- }
122496
- }
122497
- ],
122498
- "superclass": {
122499
- "name": "SbbElement",
122500
- "module": "core/base-elements.js"
122501
- },
122502
- "tagName": "sbb-sidebar-container",
122503
- "customElement": true
122504
- }
122505
- ],
122506
- "exports": [
122507
- {
122508
- "kind": "js",
122509
- "name": "SbbSidebarContainerElement",
122510
- "declaration": {
122511
- "name": "SbbSidebarContainerElement",
122512
- "module": "sidebar/sidebar-container/sidebar-container.component.js"
122513
- }
122514
- }
122515
- ]
122516
- },
122517
122517
  {
122518
122518
  "kind": "javascript-module",
122519
122519
  "path": "sidebar/sidebar-content/sidebar-content.component.js",