@sbb-esta/lyne-elements-dev 4.13.0-dev.1778593674 → 4.13.0-dev.1778781339

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 +1471 -1471
  2. package/package.json +2 -2
@@ -3633,36 +3633,6 @@
3633
3633
  }
3634
3634
  ]
3635
3635
  },
3636
- {
3637
- "kind": "javascript-module",
3638
- "path": "alert/alert-group.js",
3639
- "declarations": [],
3640
- "exports": [
3641
- {
3642
- "kind": "js",
3643
- "name": "*",
3644
- "declaration": {
3645
- "name": "*",
3646
- "module": "alert/alert-group/alert-group.component.js"
3647
- }
3648
- }
3649
- ]
3650
- },
3651
- {
3652
- "kind": "javascript-module",
3653
- "path": "alert/alert.js",
3654
- "declarations": [],
3655
- "exports": [
3656
- {
3657
- "kind": "js",
3658
- "name": "*",
3659
- "declaration": {
3660
- "name": "*",
3661
- "module": "alert/alert/alert.component.js"
3662
- }
3663
- }
3664
- ]
3665
- },
3666
3636
  {
3667
3637
  "kind": "javascript-module",
3668
3638
  "path": "action-group/action-group.component.js",
@@ -3945,6 +3915,36 @@
3945
3915
  }
3946
3916
  ]
3947
3917
  },
3918
+ {
3919
+ "kind": "javascript-module",
3920
+ "path": "alert/alert-group.js",
3921
+ "declarations": [],
3922
+ "exports": [
3923
+ {
3924
+ "kind": "js",
3925
+ "name": "*",
3926
+ "declaration": {
3927
+ "name": "*",
3928
+ "module": "alert/alert-group/alert-group.component.js"
3929
+ }
3930
+ }
3931
+ ]
3932
+ },
3933
+ {
3934
+ "kind": "javascript-module",
3935
+ "path": "alert/alert.js",
3936
+ "declarations": [],
3937
+ "exports": [
3938
+ {
3939
+ "kind": "js",
3940
+ "name": "*",
3941
+ "declaration": {
3942
+ "name": "*",
3943
+ "module": "alert/alert/alert.component.js"
3944
+ }
3945
+ }
3946
+ ]
3947
+ },
3948
3948
  {
3949
3949
  "kind": "javascript-module",
3950
3950
  "path": "autocomplete/autocomplete-base-element.js",
@@ -16582,6 +16582,266 @@
16582
16582
  }
16583
16583
  ]
16584
16584
  },
16585
+ {
16586
+ "kind": "javascript-module",
16587
+ "path": "map-container/map-container.component.js",
16588
+ "declarations": [
16589
+ {
16590
+ "kind": "class",
16591
+ "description": "It can be used as a container for maps.",
16592
+ "name": "SbbMapContainerElement",
16593
+ "cssProperties": [
16594
+ {
16595
+ "description": "The component comes along with a height calculation that subtracts the height of the header. For specific use cases, this variable can be used to modify the preset height.",
16596
+ "name": "--sbb-map-container-margin-start",
16597
+ "default": "var(--sbb-header-height)"
16598
+ },
16599
+ {
16600
+ "description": "Can be used to modify the width of the left sidebar.",
16601
+ "name": "--sbb-map-container-sidebar-width",
16602
+ "default": "zero-large:400px;ultra:480px"
16603
+ },
16604
+ {
16605
+ "description": "If e.g. a header with a fixed height is placed before the map-container, the map should be sticky respecting this offset from the document's top. Only applied on mobile views. Most commonly it can be set to `var(--sbb-header-height)`.",
16606
+ "name": "--sbb-map-container-mobile-sticky-block-start",
16607
+ "default": "0"
16608
+ }
16609
+ ],
16610
+ "slots": [
16611
+ {
16612
+ "description": "Use the unnamed slot to add content to the sidebar.",
16613
+ "name": ""
16614
+ },
16615
+ {
16616
+ "description": "Used for slotting the map.",
16617
+ "name": "map"
16618
+ }
16619
+ ],
16620
+ "members": [
16621
+ {
16622
+ "kind": "field",
16623
+ "name": "elementName",
16624
+ "type": {
16625
+ "text": "string"
16626
+ },
16627
+ "privacy": "public",
16628
+ "static": true,
16629
+ "readonly": true,
16630
+ "default": "'sbb-map-container'",
16631
+ "inheritedFrom": {
16632
+ "name": "SbbElement",
16633
+ "module": "core/base-elements/element.js"
16634
+ }
16635
+ },
16636
+ {
16637
+ "kind": "field",
16638
+ "name": "hideScrollUpButton",
16639
+ "type": {
16640
+ "text": "boolean"
16641
+ },
16642
+ "privacy": "public",
16643
+ "default": "false",
16644
+ "description": "Flag to show/hide the scroll up button inside the sidebar on mobile.",
16645
+ "attribute": "hide-scroll-up-button",
16646
+ "reflects": true
16647
+ },
16648
+ {
16649
+ "kind": "field",
16650
+ "name": "_scrollUpButtonVisible",
16651
+ "type": {
16652
+ "text": "boolean"
16653
+ },
16654
+ "privacy": "private",
16655
+ "default": "false"
16656
+ },
16657
+ {
16658
+ "kind": "field",
16659
+ "name": "_language",
16660
+ "privacy": "private",
16661
+ "default": "new SbbLanguageController(this)"
16662
+ },
16663
+ {
16664
+ "kind": "field",
16665
+ "name": "_observer",
16666
+ "privacy": "private",
16667
+ "default": "new IntersectionController(this, { target: null, callback: (entries) => this._toggleButtonVisibilityOnIntersect(entries), })"
16668
+ },
16669
+ {
16670
+ "kind": "method",
16671
+ "name": "_intersector",
16672
+ "privacy": "private",
16673
+ "return": {
16674
+ "type": {
16675
+ "text": "HTMLElement | null"
16676
+ }
16677
+ }
16678
+ },
16679
+ {
16680
+ "kind": "method",
16681
+ "name": "_onScrollButtonClick",
16682
+ "privacy": "private",
16683
+ "return": {
16684
+ "type": {
16685
+ "text": "void"
16686
+ }
16687
+ },
16688
+ "description": "Button click callback to trigger the scroll to container top"
16689
+ },
16690
+ {
16691
+ "kind": "method",
16692
+ "name": "_toggleButtonVisibilityOnIntersect",
16693
+ "privacy": "private",
16694
+ "return": {
16695
+ "type": {
16696
+ "text": "void"
16697
+ }
16698
+ },
16699
+ "parameters": [
16700
+ {
16701
+ "name": "entries",
16702
+ "type": {
16703
+ "text": "IntersectionObserverEntry[]"
16704
+ }
16705
+ }
16706
+ ],
16707
+ "description": "Intersection callback. Toggles the visibility."
16708
+ },
16709
+ {
16710
+ "kind": "field",
16711
+ "name": "_hydrationRequired",
16712
+ "type": {
16713
+ "text": "boolean"
16714
+ },
16715
+ "privacy": "private",
16716
+ "default": "!!this.shadowRoot",
16717
+ "inheritedFrom": {
16718
+ "name": "SbbHydrationMixin",
16719
+ "module": "core/mixins/hydration-mixin.js"
16720
+ }
16721
+ },
16722
+ {
16723
+ "kind": "field",
16724
+ "name": "_hydrationComplete",
16725
+ "privacy": "private",
16726
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
16727
+ "inheritedFrom": {
16728
+ "name": "SbbHydrationMixin",
16729
+ "module": "core/mixins/hydration-mixin.js"
16730
+ }
16731
+ },
16732
+ {
16733
+ "kind": "field",
16734
+ "name": "_resolveHydration",
16735
+ "type": {
16736
+ "text": "(hydrationRequired: boolean) => void"
16737
+ },
16738
+ "privacy": "private",
16739
+ "inheritedFrom": {
16740
+ "name": "SbbHydrationMixin",
16741
+ "module": "core/mixins/hydration-mixin.js"
16742
+ }
16743
+ },
16744
+ {
16745
+ "kind": "field",
16746
+ "name": "hydrationRequired",
16747
+ "type": {
16748
+ "text": "boolean"
16749
+ },
16750
+ "privacy": "protected",
16751
+ "description": "Returns whether hydration is required and not completed.",
16752
+ "readonly": true,
16753
+ "inheritedFrom": {
16754
+ "name": "SbbHydrationMixin",
16755
+ "module": "core/mixins/hydration-mixin.js"
16756
+ },
16757
+ "default": "!!this.shadowRoot"
16758
+ },
16759
+ {
16760
+ "kind": "method",
16761
+ "name": "toggleState",
16762
+ "privacy": "protected",
16763
+ "return": {
16764
+ "type": {
16765
+ "text": "void"
16766
+ }
16767
+ },
16768
+ "parameters": [
16769
+ {
16770
+ "name": "value",
16771
+ "type": {
16772
+ "text": "string"
16773
+ }
16774
+ },
16775
+ {
16776
+ "name": "force",
16777
+ "optional": true,
16778
+ "type": {
16779
+ "text": "boolean"
16780
+ }
16781
+ }
16782
+ ],
16783
+ "inheritedFrom": {
16784
+ "name": "SbbElementInternalsMixin",
16785
+ "module": "core/mixins/element-internals-mixin.js"
16786
+ }
16787
+ },
16788
+ {
16789
+ "kind": "field",
16790
+ "name": "['_$sbbElement$']",
16791
+ "type": {
16792
+ "text": "boolean"
16793
+ },
16794
+ "privacy": "public",
16795
+ "static": true,
16796
+ "default": "true",
16797
+ "inheritedFrom": {
16798
+ "name": "SbbElement",
16799
+ "module": "core/base-elements/element.js"
16800
+ }
16801
+ },
16802
+ {
16803
+ "kind": "field",
16804
+ "name": "_controllers",
16805
+ "type": {
16806
+ "text": "Set<SbbReactiveController> | undefined"
16807
+ },
16808
+ "privacy": "private",
16809
+ "inheritedFrom": {
16810
+ "name": "SbbElement",
16811
+ "module": "core/base-elements/element.js"
16812
+ }
16813
+ }
16814
+ ],
16815
+ "attributes": [
16816
+ {
16817
+ "name": "hide-scroll-up-button",
16818
+ "type": {
16819
+ "text": "boolean"
16820
+ },
16821
+ "default": "false",
16822
+ "description": "Flag to show/hide the scroll up button inside the sidebar on mobile.",
16823
+ "fieldName": "hideScrollUpButton"
16824
+ }
16825
+ ],
16826
+ "superclass": {
16827
+ "name": "SbbElement",
16828
+ "module": "core/base-elements.js"
16829
+ },
16830
+ "tagName": "sbb-map-container",
16831
+ "customElement": true
16832
+ }
16833
+ ],
16834
+ "exports": [
16835
+ {
16836
+ "kind": "js",
16837
+ "name": "SbbMapContainerElement",
16838
+ "declaration": {
16839
+ "name": "SbbMapContainerElement",
16840
+ "module": "map-container/map-container.component.js"
16841
+ }
16842
+ }
16843
+ ]
16844
+ },
16585
16845
  {
16586
16846
  "kind": "javascript-module",
16587
16847
  "path": "menu/common.js",
@@ -16642,266 +16902,6 @@
16642
16902
  }
16643
16903
  ]
16644
16904
  },
16645
- {
16646
- "kind": "javascript-module",
16647
- "path": "map-container/map-container.component.js",
16648
- "declarations": [
16649
- {
16650
- "kind": "class",
16651
- "description": "It can be used as a container for maps.",
16652
- "name": "SbbMapContainerElement",
16653
- "cssProperties": [
16654
- {
16655
- "description": "The component comes along with a height calculation that subtracts the height of the header. For specific use cases, this variable can be used to modify the preset height.",
16656
- "name": "--sbb-map-container-margin-start",
16657
- "default": "var(--sbb-header-height)"
16658
- },
16659
- {
16660
- "description": "Can be used to modify the width of the left sidebar.",
16661
- "name": "--sbb-map-container-sidebar-width",
16662
- "default": "zero-large:400px;ultra:480px"
16663
- },
16664
- {
16665
- "description": "If e.g. a header with a fixed height is placed before the map-container, the map should be sticky respecting this offset from the document's top. Only applied on mobile views. Most commonly it can be set to `var(--sbb-header-height)`.",
16666
- "name": "--sbb-map-container-mobile-sticky-block-start",
16667
- "default": "0"
16668
- }
16669
- ],
16670
- "slots": [
16671
- {
16672
- "description": "Use the unnamed slot to add content to the sidebar.",
16673
- "name": ""
16674
- },
16675
- {
16676
- "description": "Used for slotting the map.",
16677
- "name": "map"
16678
- }
16679
- ],
16680
- "members": [
16681
- {
16682
- "kind": "field",
16683
- "name": "elementName",
16684
- "type": {
16685
- "text": "string"
16686
- },
16687
- "privacy": "public",
16688
- "static": true,
16689
- "readonly": true,
16690
- "default": "'sbb-map-container'",
16691
- "inheritedFrom": {
16692
- "name": "SbbElement",
16693
- "module": "core/base-elements/element.js"
16694
- }
16695
- },
16696
- {
16697
- "kind": "field",
16698
- "name": "hideScrollUpButton",
16699
- "type": {
16700
- "text": "boolean"
16701
- },
16702
- "privacy": "public",
16703
- "default": "false",
16704
- "description": "Flag to show/hide the scroll up button inside the sidebar on mobile.",
16705
- "attribute": "hide-scroll-up-button",
16706
- "reflects": true
16707
- },
16708
- {
16709
- "kind": "field",
16710
- "name": "_scrollUpButtonVisible",
16711
- "type": {
16712
- "text": "boolean"
16713
- },
16714
- "privacy": "private",
16715
- "default": "false"
16716
- },
16717
- {
16718
- "kind": "field",
16719
- "name": "_language",
16720
- "privacy": "private",
16721
- "default": "new SbbLanguageController(this)"
16722
- },
16723
- {
16724
- "kind": "field",
16725
- "name": "_observer",
16726
- "privacy": "private",
16727
- "default": "new IntersectionController(this, { target: null, callback: (entries) => this._toggleButtonVisibilityOnIntersect(entries), })"
16728
- },
16729
- {
16730
- "kind": "method",
16731
- "name": "_intersector",
16732
- "privacy": "private",
16733
- "return": {
16734
- "type": {
16735
- "text": "HTMLElement | null"
16736
- }
16737
- }
16738
- },
16739
- {
16740
- "kind": "method",
16741
- "name": "_onScrollButtonClick",
16742
- "privacy": "private",
16743
- "return": {
16744
- "type": {
16745
- "text": "void"
16746
- }
16747
- },
16748
- "description": "Button click callback to trigger the scroll to container top"
16749
- },
16750
- {
16751
- "kind": "method",
16752
- "name": "_toggleButtonVisibilityOnIntersect",
16753
- "privacy": "private",
16754
- "return": {
16755
- "type": {
16756
- "text": "void"
16757
- }
16758
- },
16759
- "parameters": [
16760
- {
16761
- "name": "entries",
16762
- "type": {
16763
- "text": "IntersectionObserverEntry[]"
16764
- }
16765
- }
16766
- ],
16767
- "description": "Intersection callback. Toggles the visibility."
16768
- },
16769
- {
16770
- "kind": "field",
16771
- "name": "_hydrationRequired",
16772
- "type": {
16773
- "text": "boolean"
16774
- },
16775
- "privacy": "private",
16776
- "default": "!!this.shadowRoot",
16777
- "inheritedFrom": {
16778
- "name": "SbbHydrationMixin",
16779
- "module": "core/mixins/hydration-mixin.js"
16780
- }
16781
- },
16782
- {
16783
- "kind": "field",
16784
- "name": "_hydrationComplete",
16785
- "privacy": "private",
16786
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
16787
- "inheritedFrom": {
16788
- "name": "SbbHydrationMixin",
16789
- "module": "core/mixins/hydration-mixin.js"
16790
- }
16791
- },
16792
- {
16793
- "kind": "field",
16794
- "name": "_resolveHydration",
16795
- "type": {
16796
- "text": "(hydrationRequired: boolean) => void"
16797
- },
16798
- "privacy": "private",
16799
- "inheritedFrom": {
16800
- "name": "SbbHydrationMixin",
16801
- "module": "core/mixins/hydration-mixin.js"
16802
- }
16803
- },
16804
- {
16805
- "kind": "field",
16806
- "name": "hydrationRequired",
16807
- "type": {
16808
- "text": "boolean"
16809
- },
16810
- "privacy": "protected",
16811
- "description": "Returns whether hydration is required and not completed.",
16812
- "readonly": true,
16813
- "inheritedFrom": {
16814
- "name": "SbbHydrationMixin",
16815
- "module": "core/mixins/hydration-mixin.js"
16816
- },
16817
- "default": "!!this.shadowRoot"
16818
- },
16819
- {
16820
- "kind": "method",
16821
- "name": "toggleState",
16822
- "privacy": "protected",
16823
- "return": {
16824
- "type": {
16825
- "text": "void"
16826
- }
16827
- },
16828
- "parameters": [
16829
- {
16830
- "name": "value",
16831
- "type": {
16832
- "text": "string"
16833
- }
16834
- },
16835
- {
16836
- "name": "force",
16837
- "optional": true,
16838
- "type": {
16839
- "text": "boolean"
16840
- }
16841
- }
16842
- ],
16843
- "inheritedFrom": {
16844
- "name": "SbbElementInternalsMixin",
16845
- "module": "core/mixins/element-internals-mixin.js"
16846
- }
16847
- },
16848
- {
16849
- "kind": "field",
16850
- "name": "['_$sbbElement$']",
16851
- "type": {
16852
- "text": "boolean"
16853
- },
16854
- "privacy": "public",
16855
- "static": true,
16856
- "default": "true",
16857
- "inheritedFrom": {
16858
- "name": "SbbElement",
16859
- "module": "core/base-elements/element.js"
16860
- }
16861
- },
16862
- {
16863
- "kind": "field",
16864
- "name": "_controllers",
16865
- "type": {
16866
- "text": "Set<SbbReactiveController> | undefined"
16867
- },
16868
- "privacy": "private",
16869
- "inheritedFrom": {
16870
- "name": "SbbElement",
16871
- "module": "core/base-elements/element.js"
16872
- }
16873
- }
16874
- ],
16875
- "attributes": [
16876
- {
16877
- "name": "hide-scroll-up-button",
16878
- "type": {
16879
- "text": "boolean"
16880
- },
16881
- "default": "false",
16882
- "description": "Flag to show/hide the scroll up button inside the sidebar on mobile.",
16883
- "fieldName": "hideScrollUpButton"
16884
- }
16885
- ],
16886
- "superclass": {
16887
- "name": "SbbElement",
16888
- "module": "core/base-elements.js"
16889
- },
16890
- "tagName": "sbb-map-container",
16891
- "customElement": true
16892
- }
16893
- ],
16894
- "exports": [
16895
- {
16896
- "kind": "js",
16897
- "name": "SbbMapContainerElement",
16898
- "declaration": {
16899
- "name": "SbbMapContainerElement",
16900
- "module": "map-container/map-container.component.js"
16901
- }
16902
- }
16903
- ]
16904
- },
16905
16905
  {
16906
16906
  "kind": "javascript-module",
16907
16907
  "path": "message/message.component.js",
@@ -106504,27 +106504,23 @@
106504
106504
  },
106505
106505
  {
106506
106506
  "kind": "javascript-module",
106507
- "path": "menu/menu-button/menu-button.component.js",
106507
+ "path": "menu/menu/menu.component.js",
106508
106508
  "declarations": [
106509
106509
  {
106510
106510
  "kind": "class",
106511
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
106512
- "name": "SbbMenuButtonElement",
106511
+ "description": "It displays a contextual menu with one or more action element.",
106512
+ "name": "SbbMenuElement",
106513
106513
  "cssProperties": [
106514
106514
  {
106515
- "description": "Can be used to modify horizontal padding.",
106516
- "name": "--sbb-menu-action-outer-horizontal-padding",
106517
- "default": "var(--sbb-spacing-fixed-3x)"
106515
+ "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`.",
106516
+ "name": "--sbb-menu-z-index",
106517
+ "default": "var(--sbb-overlay-default-z-index)"
106518
106518
  }
106519
106519
  ],
106520
106520
  "slots": [
106521
106521
  {
106522
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
106522
+ "description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
106523
106523
  "name": ""
106524
- },
106525
- {
106526
- "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
106527
- "name": "icon"
106528
106524
  }
106529
106525
  ],
106530
106526
  "members": [
@@ -106541,417 +106537,275 @@
106541
106537
  "name": "SbbElement",
106542
106538
  "module": "core/base-elements/element.js"
106543
106539
  },
106544
- "default": "'sbb-menu-button'"
106540
+ "default": "'sbb-menu'"
106545
106541
  },
106546
106542
  {
106547
106543
  "kind": "field",
106548
106544
  "name": "role",
106549
106545
  "type": {
106550
- "text": "ElementInternals['role']"
106546
+ "text": "string"
106551
106547
  },
106552
106548
  "privacy": "public",
106553
106549
  "static": true,
106554
106550
  "readonly": true,
106555
- "default": "'menuitem'",
106556
- "inheritedFrom": {
106557
- "name": "SbbButtonLikeBaseElement",
106558
- "module": "core/base-elements/button-base-element.js"
106559
- }
106551
+ "default": "'menu'"
106560
106552
  },
106561
106553
  {
106562
106554
  "kind": "field",
106563
- "name": "disabledInteractive",
106555
+ "name": "trigger",
106564
106556
  "type": {
106565
- "text": "boolean"
106557
+ "text": "HTMLElement | null"
106566
106558
  },
106567
106559
  "privacy": "public",
106568
- "default": "false",
106569
- "description": "Whether the button should be aria-disabled but stay interactive.",
106570
- "attribute": "disabled-interactive",
106571
- "reflects": true,
106572
- "inheritedFrom": {
106573
- "name": "SbbDisabledInteractiveMixin",
106574
- "module": "core/mixins/disabled-mixin.js"
106575
- }
106560
+ "default": "null",
106561
+ "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
106562
+ "attribute": "trigger"
106576
106563
  },
106577
106564
  {
106578
106565
  "kind": "field",
106579
- "name": "disabled",
106580
- "privacy": "public",
106581
- "description": "Whether the component is disabled.",
106582
- "default": "false",
106566
+ "name": "_menu",
106583
106567
  "type": {
106584
- "text": "boolean"
106568
+ "text": "HTMLDivElement"
106585
106569
  },
106586
- "attribute": "disabled",
106587
- "reflects": true,
106588
- "inheritedFrom": {
106589
- "name": "SbbDisabledMixin",
106590
- "module": "core/mixins/disabled-mixin.js"
106591
- }
106570
+ "privacy": "private"
106592
106571
  },
106593
106572
  {
106594
106573
  "kind": "field",
106595
- "name": "#disabled",
106596
- "privacy": "private",
106574
+ "name": "_triggerElement",
106597
106575
  "type": {
106598
- "text": "boolean"
106599
- },
106600
- "default": "false",
106601
- "inheritedFrom": {
106602
- "name": "SbbDisabledMixin",
106603
- "module": "core/mixins/disabled-mixin.js"
106604
- }
106605
- },
106606
- {
106607
- "kind": "method",
106608
- "name": "isDisabledExternally",
106609
- "privacy": "protected",
106610
- "return": {
106611
- "type": {
106612
- "text": "boolean"
106613
- }
106576
+ "text": "HTMLElement | null"
106614
106577
  },
106615
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
106616
- "inheritedFrom": {
106617
- "name": "SbbDisabledMixin",
106618
- "module": "core/mixins/disabled-mixin.js"
106619
- }
106578
+ "privacy": "private",
106579
+ "default": "null"
106620
106580
  },
106621
106581
  {
106622
106582
  "kind": "field",
106623
- "name": "styles",
106583
+ "name": "_triggerAbortController",
106624
106584
  "type": {
106625
- "text": "CSSResultGroup"
106585
+ "text": "AbortController"
106626
106586
  },
106627
- "privacy": "public",
106628
- "static": true,
106629
- "default": "[boxSizingStyles, unsafeCSS(style)]",
106630
- "inheritedFrom": {
106631
- "name": "SbbMenuActionCommonElementMixin",
106632
- "module": "menu/common/menu-action-common.js"
106633
- }
106587
+ "privacy": "private"
106634
106588
  },
106635
106589
  {
106636
- "kind": "method",
106637
- "name": "renderTemplate",
106638
- "privacy": "protected",
106639
- "return": {
106640
- "type": {
106641
- "text": "TemplateResult"
106642
- }
106590
+ "kind": "field",
106591
+ "name": "_isPointerDownEventOnMenu",
106592
+ "type": {
106593
+ "text": "boolean"
106643
106594
  },
106644
- "description": "Override this method to render the component template.",
106645
- "inheritedFrom": {
106646
- "name": "SbbActionBaseElement",
106647
- "module": "core/base-elements/action-base-element.js"
106648
- }
106595
+ "privacy": "private",
106596
+ "default": "false"
106649
106597
  },
106650
106598
  {
106651
106599
  "kind": "field",
106652
- "name": "iconName",
106600
+ "name": "_windowEventsController",
106653
106601
  "type": {
106654
- "text": "string"
106602
+ "text": "AbortController"
106655
106603
  },
106656
- "privacy": "public",
106657
- "default": "''",
106658
- "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.",
106659
- "attribute": "icon-name",
106660
- "inheritedFrom": {
106661
- "name": "SbbIconNameMixin",
106662
- "module": "icon/icon-name-mixin.js"
106663
- }
106604
+ "privacy": "private"
106664
106605
  },
106665
106606
  {
106666
- "kind": "method",
106667
- "name": "renderIconSlot",
106668
- "privacy": "protected",
106669
- "return": {
106670
- "type": {
106671
- "text": "TemplateResult"
106672
- }
106673
- },
106674
- "parameters": [
106675
- {
106676
- "name": "classname",
106677
- "optional": true,
106678
- "type": {
106679
- "text": "string"
106680
- }
106681
- }
106682
- ],
106683
- "inheritedFrom": {
106684
- "name": "SbbIconNameMixin",
106685
- "module": "icon/icon-name-mixin.js"
106686
- }
106607
+ "kind": "field",
106608
+ "name": "_escapableOverlayController",
106609
+ "privacy": "private",
106610
+ "default": "new SbbEscapableOverlayController(this)"
106687
106611
  },
106688
106612
  {
106689
- "kind": "method",
106690
- "name": "renderIconName",
106691
- "privacy": "protected",
106692
- "return": {
106693
- "type": {
106694
- "text": "string"
106695
- }
106696
- },
106697
- "inheritedFrom": {
106698
- "name": "SbbIconNameMixin",
106699
- "module": "icon/icon-name-mixin.js"
106700
- }
106613
+ "kind": "field",
106614
+ "name": "_focusTrapController",
106615
+ "privacy": "private",
106616
+ "default": "new SbbFocusTrapController(this)"
106701
106617
  },
106702
106618
  {
106703
- "kind": "method",
106704
- "name": "_renderIconName",
106619
+ "kind": "field",
106620
+ "name": "_scrollHandler",
106705
106621
  "privacy": "private",
106706
- "return": {
106707
- "type": {
106708
- "text": "string"
106709
- }
106710
- },
106711
- "inheritedFrom": {
106712
- "name": "SbbIconNameMixin",
106713
- "module": "icon/icon-name-mixin.js"
106714
- }
106622
+ "default": "new SbbScrollHandler()"
106715
106623
  },
106716
106624
  {
106717
106625
  "kind": "field",
106718
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
106719
- "type": {
106720
- "text": "array"
106721
- },
106626
+ "name": "_inertController",
106722
106627
  "privacy": "private",
106723
- "readonly": true,
106724
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
106725
- "inheritedFrom": {
106726
- "name": "SbbButtonBaseElement",
106727
- "module": "core/base-elements/button-base-element.js"
106728
- }
106628
+ "default": "new SbbInertController(this)"
106729
106629
  },
106730
106630
  {
106731
106631
  "kind": "field",
106732
- "name": "value",
106733
- "type": {
106734
- "text": "string"
106735
- },
106736
- "privacy": "public",
106737
- "inheritedFrom": {
106738
- "name": "SbbButtonBaseElement",
106739
- "module": "core/base-elements/button-base-element.js"
106740
- },
106741
- "default": "''",
106742
- "description": "Value of the form element.",
106743
- "attribute": "value"
106632
+ "name": "_mobileBreakpoint",
106633
+ "privacy": "private",
106634
+ "default": "SbbMediaQueryBreakpointSmallAndBelow"
106744
106635
  },
106745
106636
  {
106746
106637
  "kind": "field",
106747
- "name": "type",
106748
- "privacy": "public",
106749
- "description": "The type attribute to use for the button.",
106750
- "default": "'button'",
106751
- "type": {
106752
- "text": "SbbButtonType"
106753
- },
106754
- "attribute": "type",
106755
- "inheritedFrom": {
106756
- "name": "SbbButtonBaseElement",
106757
- "module": "core/base-elements/button-base-element.js"
106758
- }
106638
+ "name": "_mediaMatcher",
106639
+ "privacy": "private",
106640
+ "default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
106759
106641
  },
106760
106642
  {
106761
106643
  "kind": "field",
106762
- "name": "form",
106763
- "type": {
106764
- "text": "HTMLFormElement | null"
106765
- },
106766
- "privacy": "public",
106767
- "description": "The `<form>` element to associate the button with.",
106768
- "inheritedFrom": {
106769
- "name": "SbbButtonBaseElement",
106770
- "module": "core/base-elements/button-base-element.js"
106771
- },
106772
- "attribute": "form"
106644
+ "name": "_darkModeController",
106645
+ "privacy": "private",
106646
+ "default": "new SbbDarkModeController(this, () => this._syncNegative())"
106773
106647
  },
106774
106648
  {
106775
106649
  "kind": "field",
106776
- "name": "_formId",
106777
- "type": {
106778
- "text": "string"
106779
- },
106650
+ "name": "_language",
106780
106651
  "privacy": "private",
106781
- "default": "''",
106782
- "inheritedFrom": {
106783
- "name": "SbbButtonBaseElement",
106784
- "module": "core/base-elements/button-base-element.js"
106785
- }
106652
+ "default": "new SbbLanguageController(this)"
106786
106653
  },
106787
106654
  {
106788
106655
  "kind": "field",
106789
- "name": "_handleButtonClick",
106656
+ "name": "_nestedMenu",
106657
+ "type": {
106658
+ "text": "SbbMenuElement | null"
106659
+ },
106790
106660
  "privacy": "private",
106791
- "inheritedFrom": {
106792
- "name": "SbbButtonBaseElement",
106793
- "module": "core/base-elements/button-base-element.js"
106794
- }
106661
+ "default": "null"
106795
106662
  },
106796
106663
  {
106797
106664
  "kind": "method",
106798
- "name": "_requestSubmit",
106799
- "privacy": "private",
106665
+ "name": "escapeStrategy",
106666
+ "privacy": "public",
106800
106667
  "return": {
106801
106668
  "type": {
106802
106669
  "text": "void"
106803
106670
  }
106804
106671
  },
106805
- "parameters": [
106806
- {
106807
- "name": "form",
106808
- "type": {
106809
- "text": "HTMLFormElement"
106810
- }
106811
- }
106812
- ],
106672
+ "description": "The method which is called on escape key press. Defaults to calling close()",
106813
106673
  "inheritedFrom": {
106814
- "name": "SbbButtonBaseElement",
106815
- "module": "core/base-elements/button-base-element.js"
106674
+ "name": "SbbOpenCloseBaseElement",
106675
+ "module": "core/base-elements/open-close-base-element.js"
106816
106676
  }
106817
106677
  },
106818
106678
  {
106819
- "kind": "field",
106820
- "name": "_formKeyDown",
106821
- "privacy": "private",
106679
+ "kind": "method",
106680
+ "name": "open",
106681
+ "privacy": "public",
106682
+ "return": {
106683
+ "type": {
106684
+ "text": "void"
106685
+ }
106686
+ },
106687
+ "description": "Opens the menu on trigger click.",
106822
106688
  "inheritedFrom": {
106823
- "name": "SbbButtonBaseElement",
106824
- "module": "core/base-elements/button-base-element.js"
106689
+ "name": "SbbOpenCloseBaseElement",
106690
+ "module": "core/base-elements/open-close-base-element.js"
106825
106691
  }
106826
106692
  },
106827
106693
  {
106828
- "kind": "field",
106829
- "name": "formAssociated",
106830
- "type": {
106831
- "text": "boolean"
106832
- },
106694
+ "kind": "method",
106695
+ "name": "close",
106833
106696
  "privacy": "public",
106834
- "static": true,
106835
- "default": "true",
106697
+ "return": {
106698
+ "type": {
106699
+ "text": "void"
106700
+ }
106701
+ },
106702
+ "description": "Closes the menu and all its nested menus.",
106836
106703
  "inheritedFrom": {
106837
- "name": "SbbFormAssociatedMixin",
106838
- "module": "core/mixins/form-associated-mixin.js"
106704
+ "name": "SbbOpenCloseBaseElement",
106705
+ "module": "core/base-elements/open-close-base-element.js"
106839
106706
  }
106840
106707
  },
106841
106708
  {
106842
- "kind": "field",
106843
- "name": "name",
106709
+ "kind": "method",
106710
+ "name": "closeAll",
106844
106711
  "privacy": "public",
106845
- "description": "Name of the form element. Will be read from name attribute.",
106846
- "type": {
106847
- "text": "string"
106712
+ "return": {
106713
+ "type": {
106714
+ "text": "void"
106715
+ }
106848
106716
  },
106849
- "attribute": "name",
106850
- "inheritedFrom": {
106851
- "name": "SbbFormAssociatedMixin",
106852
- "module": "core/mixins/form-associated-mixin.js"
106853
- }
106717
+ "description": "Closes the menu and all related menus (nested and parent menus)."
106854
106718
  },
106855
106719
  {
106856
- "kind": "field",
106857
- "name": "validity",
106858
- "type": {
106859
- "text": "ValidityState"
106720
+ "kind": "method",
106721
+ "name": "_close",
106722
+ "privacy": "private",
106723
+ "return": {
106724
+ "type": {
106725
+ "text": "void"
106726
+ }
106860
106727
  },
106861
- "privacy": "public",
106862
- "description": "Returns the ValidityState object for this element.",
106863
- "readonly": true,
106864
- "inheritedFrom": {
106865
- "name": "SbbFormAssociatedMixin",
106866
- "module": "core/mixins/form-associated-mixin.js"
106867
- }
106728
+ "parameters": [
106729
+ {
106730
+ "name": "closeAll",
106731
+ "default": "false",
106732
+ "description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
106733
+ "optional": true
106734
+ }
106735
+ ]
106868
106736
  },
106869
106737
  {
106870
- "kind": "field",
106871
- "name": "validationMessage",
106872
- "type": {
106873
- "text": "string"
106874
- },
106875
- "privacy": "public",
106876
- "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.",
106877
- "readonly": true,
106878
- "inheritedFrom": {
106879
- "name": "SbbFormAssociatedMixin",
106880
- "module": "core/mixins/form-associated-mixin.js"
106738
+ "kind": "method",
106739
+ "name": "_isZeroAnimationDuration",
106740
+ "privacy": "private",
106741
+ "return": {
106742
+ "type": {
106743
+ "text": "boolean"
106744
+ }
106881
106745
  }
106882
106746
  },
106883
106747
  {
106884
- "kind": "field",
106885
- "name": "willValidate",
106886
- "type": {
106887
- "text": "boolean"
106888
- },
106889
- "privacy": "public",
106890
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
106891
- "readonly": true,
106892
- "inheritedFrom": {
106893
- "name": "SbbFormAssociatedMixin",
106894
- "module": "core/mixins/form-associated-mixin.js"
106748
+ "kind": "method",
106749
+ "name": "_handleOpening",
106750
+ "privacy": "private",
106751
+ "return": {
106752
+ "type": {
106753
+ "text": "void"
106754
+ }
106895
106755
  }
106896
106756
  },
106897
106757
  {
106898
- "kind": "field",
106899
- "name": "_validityStates",
106758
+ "kind": "method",
106759
+ "name": "_handleClosing",
106900
106760
  "privacy": "private",
106901
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
106902
- "inheritedFrom": {
106903
- "name": "SbbFormAssociatedMixin",
106904
- "module": "core/mixins/form-associated-mixin.js"
106761
+ "return": {
106762
+ "type": {
106763
+ "text": "void"
106764
+ }
106905
106765
  }
106906
106766
  },
106907
106767
  {
106908
- "kind": "field",
106909
- "name": "formDisabled",
106910
- "type": {
106911
- "text": "boolean"
106768
+ "kind": "method",
106769
+ "name": "_handleKeyDown",
106770
+ "privacy": "private",
106771
+ "return": {
106772
+ "type": {
106773
+ "text": "void"
106774
+ }
106912
106775
  },
106913
- "privacy": "protected",
106914
- "default": "false",
106915
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
106916
- "inheritedFrom": {
106917
- "name": "SbbFormAssociatedMixin",
106918
- "module": "core/mixins/form-associated-mixin.js"
106919
- }
106776
+ "parameters": [
106777
+ {
106778
+ "name": "evt",
106779
+ "type": {
106780
+ "text": "KeyboardEvent"
106781
+ }
106782
+ }
106783
+ ]
106920
106784
  },
106921
106785
  {
106922
106786
  "kind": "method",
106923
- "name": "checkValidity",
106924
- "privacy": "public",
106787
+ "name": "_configureTrigger",
106788
+ "privacy": "private",
106925
106789
  "return": {
106926
106790
  "type": {
106927
- "text": "boolean"
106791
+ "text": "void"
106928
106792
  }
106929
- },
106930
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
106931
- "inheritedFrom": {
106932
- "name": "SbbFormAssociatedMixin",
106933
- "module": "core/mixins/form-associated-mixin.js"
106934
106793
  }
106935
106794
  },
106936
106795
  {
106937
106796
  "kind": "method",
106938
- "name": "reportValidity",
106939
- "privacy": "public",
106797
+ "name": "_attachWindowEvents",
106798
+ "privacy": "private",
106940
106799
  "return": {
106941
106800
  "type": {
106942
- "text": "boolean"
106801
+ "text": "void"
106943
106802
  }
106944
- },
106945
- "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.",
106946
- "inheritedFrom": {
106947
- "name": "SbbFormAssociatedMixin",
106948
- "module": "core/mixins/form-associated-mixin.js"
106949
106803
  }
106950
106804
  },
106951
106805
  {
106952
106806
  "kind": "method",
106953
- "name": "setCustomValidity",
106954
- "privacy": "public",
106807
+ "name": "_interactiveElementClick",
106808
+ "privacy": "private",
106955
106809
  "return": {
106956
106810
  "type": {
106957
106811
  "text": "void"
@@ -106959,65 +106813,79 @@
106959
106813
  },
106960
106814
  "parameters": [
106961
106815
  {
106962
- "name": "message",
106816
+ "name": "event",
106963
106817
  "type": {
106964
- "text": "string"
106818
+ "text": "Event"
106965
106819
  }
106966
106820
  }
106967
- ],
106968
- "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.",
106969
- "inheritedFrom": {
106970
- "name": "SbbFormAssociatedMixin",
106971
- "module": "core/mixins/form-associated-mixin.js"
106972
- }
106821
+ ]
106822
+ },
106823
+ {
106824
+ "kind": "field",
106825
+ "name": "_pointerDownListener",
106826
+ "privacy": "private"
106827
+ },
106828
+ {
106829
+ "kind": "field",
106830
+ "name": "_closeOnBackdropClick",
106831
+ "privacy": "private"
106973
106832
  },
106974
106833
  {
106975
106834
  "kind": "method",
106976
- "name": "_hasDisabledAncestor",
106835
+ "name": "_nestedMenus",
106977
106836
  "privacy": "private",
106978
106837
  "return": {
106979
106838
  "type": {
106980
- "text": "boolean"
106839
+ "text": "SbbMenuElement[]"
106981
106840
  }
106982
106841
  },
106983
- "inheritedFrom": {
106984
- "name": "SbbFormAssociatedMixin",
106985
- "module": "core/mixins/form-associated-mixin.js"
106842
+ "description": "Converts the linked list into an array of SbbMenuElement."
106843
+ },
106844
+ {
106845
+ "kind": "method",
106846
+ "name": "_parentMenu",
106847
+ "privacy": "private",
106848
+ "return": {
106849
+ "type": {
106850
+ "text": "SbbMenuElement | null"
106851
+ }
106986
106852
  }
106987
106853
  },
106988
106854
  {
106989
106855
  "kind": "method",
106990
- "name": "updateFormValue",
106991
- "privacy": "protected",
106856
+ "name": "_mainMenu",
106857
+ "privacy": "private",
106992
106858
  "return": {
106993
106859
  "type": {
106994
- "text": "void"
106860
+ "text": "SbbMenuElement"
106995
106861
  }
106996
106862
  },
106997
- "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",
106998
- "inheritedFrom": {
106999
- "name": "SbbFormAssociatedMixin",
107000
- "module": "core/mixins/form-associated-mixin.js"
106863
+ "description": "The outermost menu."
106864
+ },
106865
+ {
106866
+ "kind": "method",
106867
+ "name": "_isNested",
106868
+ "privacy": "private",
106869
+ "return": {
106870
+ "type": {
106871
+ "text": "boolean"
106872
+ }
107001
106873
  }
107002
106874
  },
107003
106875
  {
107004
106876
  "kind": "method",
107005
- "name": "formState",
107006
- "privacy": "protected",
106877
+ "name": "_updateNestedInert",
106878
+ "privacy": "private",
107007
106879
  "return": {
107008
106880
  "type": {
107009
- "text": "FormRestoreState"
106881
+ "text": "void"
107010
106882
  }
107011
- },
107012
- "inheritedFrom": {
107013
- "name": "SbbFormAssociatedMixin",
107014
- "module": "core/mixins/form-associated-mixin.js"
107015
106883
  }
107016
106884
  },
107017
106885
  {
107018
106886
  "kind": "method",
107019
- "name": "setValidityFlag",
107020
- "privacy": "protected",
106887
+ "name": "_handleMouseOver",
106888
+ "privacy": "private",
107021
106889
  "return": {
107022
106890
  "type": {
107023
106891
  "text": "void"
@@ -107025,35 +106893,17 @@
107025
106893
  },
107026
106894
  "parameters": [
107027
106895
  {
107028
- "name": "flag",
107029
- "type": {
107030
- "text": "T"
107031
- }
107032
- },
107033
- {
107034
- "name": "message",
107035
- "type": {
107036
- "text": "string"
107037
- }
107038
- },
107039
- {
107040
- "name": "flagValue",
107041
- "optional": true,
106896
+ "name": "event",
107042
106897
  "type": {
107043
- "text": "ValidityStateFlags[T]"
106898
+ "text": "MouseEvent"
107044
106899
  }
107045
106900
  }
107046
- ],
107047
- "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).",
107048
- "inheritedFrom": {
107049
- "name": "SbbFormAssociatedMixin",
107050
- "module": "core/mixins/form-associated-mixin.js"
107051
- }
106901
+ ]
107052
106902
  },
107053
106903
  {
107054
106904
  "kind": "method",
107055
- "name": "removeValidityFlag",
107056
- "privacy": "protected",
106905
+ "name": "_onMenuAnimationEnd",
106906
+ "privacy": "private",
107057
106907
  "return": {
107058
106908
  "type": {
107059
106909
  "text": "void"
@@ -107061,158 +106911,152 @@
107061
106911
  },
107062
106912
  "parameters": [
107063
106913
  {
107064
- "name": "flag",
106914
+ "name": "event",
107065
106915
  "type": {
107066
- "text": "T"
106916
+ "text": "AnimationEvent"
107067
106917
  }
107068
106918
  }
107069
- ],
107070
- "description": "Removes the validity state flag entry and updates validity state.",
107071
- "inheritedFrom": {
107072
- "name": "SbbFormAssociatedMixin",
107073
- "module": "core/mixins/form-associated-mixin.js"
107074
- }
106919
+ ]
107075
106920
  },
107076
106921
  {
107077
106922
  "kind": "method",
107078
- "name": "validate",
107079
- "privacy": "protected",
106923
+ "name": "_setMenuPosition",
106924
+ "privacy": "private",
107080
106925
  "return": {
107081
106926
  "type": {
107082
106927
  "text": "void"
107083
106928
  }
107084
- },
107085
- "description": "To be called whenever the current element needs to be validated.",
107086
- "inheritedFrom": {
107087
- "name": "SbbFormAssociatedMixin",
107088
- "module": "core/mixins/form-associated-mixin.js"
107089
106929
  }
107090
106930
  },
107091
106931
  {
107092
106932
  "kind": "method",
107093
- "name": "shouldValidate",
107094
- "privacy": "protected",
106933
+ "name": "_syncNegative",
106934
+ "privacy": "private",
107095
106935
  "return": {
107096
106936
  "type": {
107097
- "text": "boolean"
107098
- }
107099
- },
107100
- "parameters": [
107101
- {
107102
- "name": "name",
107103
- "type": {
107104
- "text": "PropertyKey | undefined"
107105
- }
106937
+ "text": "void"
107106
106938
  }
107107
- ],
107108
- "description": "Whether validation should be run on a property change with the given name.",
107109
- "inheritedFrom": {
107110
- "name": "SbbFormAssociatedMixin",
107111
- "module": "core/mixins/form-associated-mixin.js"
107112
106939
  }
107113
106940
  },
107114
106941
  {
107115
106942
  "kind": "method",
107116
- "name": "_setInternalValidity",
106943
+ "name": "_isMobile",
107117
106944
  "privacy": "private",
107118
106945
  "return": {
107119
106946
  "type": {
107120
- "text": "void"
106947
+ "text": "boolean"
107121
106948
  }
106949
+ }
106950
+ },
106951
+ {
106952
+ "kind": "field",
106953
+ "name": "events",
106954
+ "privacy": "public",
106955
+ "static": true,
106956
+ "readonly": true,
106957
+ "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
106958
+ "type": {
106959
+ "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
107122
106960
  },
107123
106961
  "inheritedFrom": {
107124
- "name": "SbbFormAssociatedMixin",
107125
- "module": "core/mixins/form-associated-mixin.js"
106962
+ "name": "SbbOpenCloseBaseElement",
106963
+ "module": "core/base-elements/open-close-base-element.js"
107126
106964
  }
107127
106965
  },
107128
106966
  {
107129
106967
  "kind": "field",
107130
- "name": "_preventScrollOnSpaceKeydown",
107131
- "privacy": "private",
107132
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
107133
- "parameters": [
107134
- {
107135
- "description": "The origin event.",
107136
- "name": "event"
107137
- }
107138
- ],
106968
+ "name": "state",
106969
+ "privacy": "protected",
106970
+ "description": "The state of the component.",
106971
+ "type": {
106972
+ "text": "SbbOpenedClosedState"
106973
+ },
106974
+ "default": "'closed'",
107139
106975
  "inheritedFrom": {
107140
- "name": "SbbButtonLikeBaseElement",
107141
- "module": "core/base-elements/button-base-element.js"
106976
+ "name": "SbbOpenCloseBaseElement",
106977
+ "module": "core/base-elements/open-close-base-element.js"
107142
106978
  }
107143
106979
  },
107144
106980
  {
107145
106981
  "kind": "field",
107146
- "name": "_removeActiveMarker",
106982
+ "name": "_state",
106983
+ "type": {
106984
+ "text": "SbbOpenedClosedState"
106985
+ },
107147
106986
  "privacy": "private",
107148
106987
  "inheritedFrom": {
107149
- "name": "SbbButtonLikeBaseElement",
107150
- "module": "core/base-elements/button-base-element.js"
106988
+ "name": "SbbOpenCloseBaseElement",
106989
+ "module": "core/base-elements/open-close-base-element.js"
107151
106990
  }
107152
106991
  },
107153
106992
  {
107154
106993
  "kind": "field",
107155
- "name": "_dispatchClickEventOnSpaceKeyup",
107156
- "privacy": "private",
107157
- "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.",
107158
- "parameters": [
107159
- {
107160
- "description": "The origin event.",
107161
- "name": "event"
107162
- }
107163
- ],
106994
+ "name": "isOpen",
106995
+ "type": {
106996
+ "text": "boolean"
106997
+ },
106998
+ "privacy": "public",
106999
+ "description": "Whether the element is open.",
107000
+ "readonly": true,
107164
107001
  "inheritedFrom": {
107165
- "name": "SbbButtonLikeBaseElement",
107166
- "module": "core/base-elements/button-base-element.js"
107002
+ "name": "SbbOpenCloseBaseElement",
107003
+ "module": "core/base-elements/open-close-base-element.js"
107167
107004
  }
107168
107005
  },
107169
107006
  {
107170
- "kind": "field",
107171
- "name": "_dispatchClickEvent",
107172
- "privacy": "private",
107007
+ "kind": "method",
107008
+ "name": "dispatchBeforeOpenEvent",
107009
+ "privacy": "protected",
107010
+ "return": {
107011
+ "type": {
107012
+ "text": "boolean"
107013
+ }
107014
+ },
107173
107015
  "inheritedFrom": {
107174
- "name": "SbbButtonLikeBaseElement",
107175
- "module": "core/base-elements/button-base-element.js"
107016
+ "name": "SbbOpenCloseBaseElement",
107017
+ "module": "core/base-elements/open-close-base-element.js"
107176
107018
  }
107177
107019
  },
107178
107020
  {
107179
- "kind": "field",
107180
- "name": "maybeDisabled",
107181
- "type": {
107182
- "text": "boolean | undefined"
107183
- },
107021
+ "kind": "method",
107022
+ "name": "dispatchOpenEvent",
107184
107023
  "privacy": "protected",
107185
- "readonly": true,
107024
+ "return": {
107025
+ "type": {
107026
+ "text": "boolean"
107027
+ }
107028
+ },
107186
107029
  "inheritedFrom": {
107187
- "name": "SbbActionBaseElement",
107188
- "module": "core/base-elements/action-base-element.js"
107030
+ "name": "SbbOpenCloseBaseElement",
107031
+ "module": "core/base-elements/open-close-base-element.js"
107189
107032
  }
107190
107033
  },
107191
107034
  {
107192
- "kind": "field",
107193
- "name": "maybeDisabledInteractive",
107194
- "type": {
107195
- "text": "boolean | undefined"
107196
- },
107035
+ "kind": "method",
107036
+ "name": "dispatchBeforeCloseEvent",
107197
107037
  "privacy": "protected",
107198
- "readonly": true,
107038
+ "return": {
107039
+ "type": {
107040
+ "text": "boolean"
107041
+ }
107042
+ },
107199
107043
  "inheritedFrom": {
107200
- "name": "SbbActionBaseElement",
107201
- "module": "core/base-elements/action-base-element.js"
107044
+ "name": "SbbOpenCloseBaseElement",
107045
+ "module": "core/base-elements/open-close-base-element.js"
107202
107046
  }
107203
107047
  },
107204
107048
  {
107205
107049
  "kind": "method",
107206
- "name": "setupBaseEventHandlers",
107050
+ "name": "dispatchCloseEvent",
107207
107051
  "privacy": "protected",
107208
107052
  "return": {
107209
107053
  "type": {
107210
- "text": "void"
107054
+ "text": "boolean"
107211
107055
  }
107212
107056
  },
107213
107057
  "inheritedFrom": {
107214
- "name": "SbbActionBaseElement",
107215
- "module": "core/base-elements/action-base-element.js"
107058
+ "name": "SbbOpenCloseBaseElement",
107059
+ "module": "core/base-elements/open-close-base-element.js"
107216
107060
  }
107217
107061
  },
107218
107062
  {
@@ -107321,110 +107165,66 @@
107321
107165
  }
107322
107166
  }
107323
107167
  ],
107324
- "mixins": [
107325
- {
107326
- "name": "SbbDisabledTabIndexActionMixin",
107327
- "module": "core/mixins.js"
107328
- },
107168
+ "attributes": [
107329
107169
  {
107330
- "name": "SbbMenuActionCommonElementMixin",
107331
- "module": "menu/common/menu-action-common.js"
107170
+ "name": "trigger",
107171
+ "type": {
107172
+ "text": "HTMLElement | null"
107173
+ },
107174
+ "default": "null",
107175
+ "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
107176
+ "fieldName": "trigger"
107332
107177
  }
107333
107178
  ],
107334
107179
  "superclass": {
107335
- "name": "SbbButtonBaseElement",
107180
+ "name": "SbbOpenCloseBaseElement",
107336
107181
  "module": "core/base-elements.js"
107337
107182
  },
107338
- "tagName": "sbb-menu-button",
107183
+ "tagName": "sbb-menu",
107339
107184
  "customElement": true,
107340
- "attributes": [
107341
- {
107342
- "name": "disabled-interactive",
107343
- "type": {
107344
- "text": "boolean"
107345
- },
107346
- "default": "false",
107347
- "description": "Whether the button should be aria-disabled but stay interactive.",
107348
- "fieldName": "disabledInteractive",
107349
- "inheritedFrom": {
107350
- "name": "SbbDisabledInteractiveMixin",
107351
- "module": "core/mixins/disabled-mixin.js"
107352
- }
107353
- },
107354
- {
107355
- "name": "disabled",
107356
- "description": "Whether the component is disabled.",
107357
- "default": "false",
107358
- "type": {
107359
- "text": "boolean"
107360
- },
107361
- "fieldName": "disabled",
107362
- "inheritedFrom": {
107363
- "name": "SbbDisabledMixin",
107364
- "module": "core/mixins/disabled-mixin.js"
107365
- }
107366
- },
107367
- {
107368
- "name": "icon-name",
107369
- "type": {
107370
- "text": "string"
107371
- },
107372
- "default": "''",
107373
- "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.",
107374
- "fieldName": "iconName",
107375
- "inheritedFrom": {
107376
- "name": "SbbIconNameMixin",
107377
- "module": "icon/icon-name-mixin.js"
107378
- }
107379
- },
107185
+ "events": [
107380
107186
  {
107381
- "name": "value",
107187
+ "name": "beforeopen",
107382
107188
  "type": {
107383
- "text": "string"
107189
+ "text": "Event"
107384
107190
  },
107385
- "default": "''",
107386
- "description": "Value of the form element.",
107387
- "fieldName": "value",
107191
+ "description": "Emits whenever the component starts the opening transition. Can be canceled.",
107388
107192
  "inheritedFrom": {
107389
- "name": "SbbButtonBaseElement",
107390
- "module": "core/base-elements/button-base-element.js"
107193
+ "name": "SbbOpenCloseBaseElement",
107194
+ "module": "core/base-elements/open-close-base-element.js"
107391
107195
  }
107392
107196
  },
107393
107197
  {
107394
- "name": "type",
107395
- "description": "The type attribute to use for the button.",
107396
- "default": "'button'",
107198
+ "name": "open",
107397
107199
  "type": {
107398
- "text": "SbbButtonType"
107200
+ "text": "Event"
107399
107201
  },
107400
- "fieldName": "type",
107202
+ "description": "Emits whenever the component is opened.",
107401
107203
  "inheritedFrom": {
107402
- "name": "SbbButtonBaseElement",
107403
- "module": "core/base-elements/button-base-element.js"
107204
+ "name": "SbbOpenCloseBaseElement",
107205
+ "module": "core/base-elements/open-close-base-element.js"
107404
107206
  }
107405
107207
  },
107406
107208
  {
107407
- "name": "form",
107408
- "description": "The `<form>` element to associate the button with.",
107209
+ "name": "beforeclose",
107409
107210
  "type": {
107410
- "text": "HTMLFormElement | null"
107211
+ "text": "Event"
107411
107212
  },
107412
- "fieldName": "form",
107213
+ "description": "Emits whenever the component begins the closing transition. Can be canceled.",
107413
107214
  "inheritedFrom": {
107414
- "name": "SbbButtonBaseElement",
107415
- "module": "core/base-elements/button-base-element.js"
107215
+ "name": "SbbOpenCloseBaseElement",
107216
+ "module": "core/base-elements/open-close-base-element.js"
107416
107217
  }
107417
107218
  },
107418
107219
  {
107419
- "name": "name",
107420
- "description": "Name of the form element. Will be read from name attribute.",
107220
+ "name": "close",
107421
107221
  "type": {
107422
- "text": "string"
107222
+ "text": "Event"
107423
107223
  },
107424
- "fieldName": "name",
107224
+ "description": "Emits whenever the component is closed.",
107425
107225
  "inheritedFrom": {
107426
- "name": "SbbFormAssociatedMixin",
107427
- "module": "core/mixins/form-associated-mixin.js"
107226
+ "name": "SbbOpenCloseBaseElement",
107227
+ "module": "core/base-elements/open-close-base-element.js"
107428
107228
  }
107429
107229
  }
107430
107230
  ]
@@ -107433,33 +107233,37 @@
107433
107233
  "exports": [
107434
107234
  {
107435
107235
  "kind": "js",
107436
- "name": "SbbMenuButtonElement",
107236
+ "name": "SbbMenuElement",
107437
107237
  "declaration": {
107438
- "name": "SbbMenuButtonElement",
107439
- "module": "menu/menu-button/menu-button.component.js"
107238
+ "name": "SbbMenuElement",
107239
+ "module": "menu/menu/menu.component.js"
107440
107240
  }
107441
107241
  }
107442
107242
  ]
107443
107243
  },
107444
107244
  {
107445
107245
  "kind": "javascript-module",
107446
- "path": "menu/menu/menu.component.js",
107246
+ "path": "menu/menu-button/menu-button.component.js",
107447
107247
  "declarations": [
107448
107248
  {
107449
107249
  "kind": "class",
107450
- "description": "It displays a contextual menu with one or more action element.",
107451
- "name": "SbbMenuElement",
107250
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
107251
+ "name": "SbbMenuButtonElement",
107452
107252
  "cssProperties": [
107453
107253
  {
107454
- "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`.",
107455
- "name": "--sbb-menu-z-index",
107456
- "default": "var(--sbb-overlay-default-z-index)"
107254
+ "description": "Can be used to modify horizontal padding.",
107255
+ "name": "--sbb-menu-action-outer-horizontal-padding",
107256
+ "default": "var(--sbb-spacing-fixed-3x)"
107457
107257
  }
107458
107258
  ],
107459
107259
  "slots": [
107460
107260
  {
107461
- "description": "Use the unnamed slot to add `sbb-menu-button`/`sbb-menu-link` or other elements to the menu.",
107261
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107462
107262
  "name": ""
107263
+ },
107264
+ {
107265
+ "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
107266
+ "name": "icon"
107463
107267
  }
107464
107268
  ],
107465
107269
  "members": [
@@ -107476,237 +107280,483 @@
107476
107280
  "name": "SbbElement",
107477
107281
  "module": "core/base-elements/element.js"
107478
107282
  },
107479
- "default": "'sbb-menu'"
107283
+ "default": "'sbb-menu-button'"
107480
107284
  },
107481
107285
  {
107482
107286
  "kind": "field",
107483
107287
  "name": "role",
107484
107288
  "type": {
107485
- "text": "string"
107289
+ "text": "ElementInternals['role']"
107486
107290
  },
107487
107291
  "privacy": "public",
107488
107292
  "static": true,
107489
107293
  "readonly": true,
107490
- "default": "'menu'"
107294
+ "default": "'menuitem'",
107295
+ "inheritedFrom": {
107296
+ "name": "SbbButtonLikeBaseElement",
107297
+ "module": "core/base-elements/button-base-element.js"
107298
+ }
107491
107299
  },
107492
107300
  {
107493
107301
  "kind": "field",
107494
- "name": "trigger",
107302
+ "name": "disabledInteractive",
107495
107303
  "type": {
107496
- "text": "HTMLElement | null"
107304
+ "text": "boolean"
107497
107305
  },
107498
107306
  "privacy": "public",
107499
- "default": "null",
107500
- "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
107501
- "attribute": "trigger"
107307
+ "default": "false",
107308
+ "description": "Whether the button should be aria-disabled but stay interactive.",
107309
+ "attribute": "disabled-interactive",
107310
+ "reflects": true,
107311
+ "inheritedFrom": {
107312
+ "name": "SbbDisabledInteractiveMixin",
107313
+ "module": "core/mixins/disabled-mixin.js"
107314
+ }
107502
107315
  },
107503
107316
  {
107504
107317
  "kind": "field",
107505
- "name": "_menu",
107318
+ "name": "disabled",
107319
+ "privacy": "public",
107320
+ "description": "Whether the component is disabled.",
107321
+ "default": "false",
107506
107322
  "type": {
107507
- "text": "HTMLDivElement"
107323
+ "text": "boolean"
107508
107324
  },
107509
- "privacy": "private"
107325
+ "attribute": "disabled",
107326
+ "reflects": true,
107327
+ "inheritedFrom": {
107328
+ "name": "SbbDisabledMixin",
107329
+ "module": "core/mixins/disabled-mixin.js"
107330
+ }
107510
107331
  },
107511
107332
  {
107512
107333
  "kind": "field",
107513
- "name": "_triggerElement",
107334
+ "name": "#disabled",
107335
+ "privacy": "private",
107514
107336
  "type": {
107515
- "text": "HTMLElement | null"
107337
+ "text": "boolean"
107516
107338
  },
107517
- "privacy": "private",
107518
- "default": "null"
107339
+ "default": "false",
107340
+ "inheritedFrom": {
107341
+ "name": "SbbDisabledMixin",
107342
+ "module": "core/mixins/disabled-mixin.js"
107343
+ }
107344
+ },
107345
+ {
107346
+ "kind": "method",
107347
+ "name": "isDisabledExternally",
107348
+ "privacy": "protected",
107349
+ "return": {
107350
+ "type": {
107351
+ "text": "boolean"
107352
+ }
107353
+ },
107354
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107355
+ "inheritedFrom": {
107356
+ "name": "SbbDisabledMixin",
107357
+ "module": "core/mixins/disabled-mixin.js"
107358
+ }
107519
107359
  },
107520
107360
  {
107521
107361
  "kind": "field",
107522
- "name": "_triggerAbortController",
107362
+ "name": "styles",
107523
107363
  "type": {
107524
- "text": "AbortController"
107364
+ "text": "CSSResultGroup"
107525
107365
  },
107526
- "privacy": "private"
107366
+ "privacy": "public",
107367
+ "static": true,
107368
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
107369
+ "inheritedFrom": {
107370
+ "name": "SbbMenuActionCommonElementMixin",
107371
+ "module": "menu/common/menu-action-common.js"
107372
+ }
107373
+ },
107374
+ {
107375
+ "kind": "method",
107376
+ "name": "renderTemplate",
107377
+ "privacy": "protected",
107378
+ "return": {
107379
+ "type": {
107380
+ "text": "TemplateResult"
107381
+ }
107382
+ },
107383
+ "description": "Override this method to render the component template.",
107384
+ "inheritedFrom": {
107385
+ "name": "SbbActionBaseElement",
107386
+ "module": "core/base-elements/action-base-element.js"
107387
+ }
107527
107388
  },
107528
107389
  {
107529
107390
  "kind": "field",
107530
- "name": "_isPointerDownEventOnMenu",
107391
+ "name": "iconName",
107531
107392
  "type": {
107532
- "text": "boolean"
107393
+ "text": "string"
107394
+ },
107395
+ "privacy": "public",
107396
+ "default": "''",
107397
+ "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.",
107398
+ "attribute": "icon-name",
107399
+ "inheritedFrom": {
107400
+ "name": "SbbIconNameMixin",
107401
+ "module": "icon/icon-name-mixin.js"
107402
+ }
107403
+ },
107404
+ {
107405
+ "kind": "method",
107406
+ "name": "renderIconSlot",
107407
+ "privacy": "protected",
107408
+ "return": {
107409
+ "type": {
107410
+ "text": "TemplateResult"
107411
+ }
107412
+ },
107413
+ "parameters": [
107414
+ {
107415
+ "name": "classname",
107416
+ "optional": true,
107417
+ "type": {
107418
+ "text": "string"
107419
+ }
107420
+ }
107421
+ ],
107422
+ "inheritedFrom": {
107423
+ "name": "SbbIconNameMixin",
107424
+ "module": "icon/icon-name-mixin.js"
107425
+ }
107426
+ },
107427
+ {
107428
+ "kind": "method",
107429
+ "name": "renderIconName",
107430
+ "privacy": "protected",
107431
+ "return": {
107432
+ "type": {
107433
+ "text": "string"
107434
+ }
107533
107435
  },
107436
+ "inheritedFrom": {
107437
+ "name": "SbbIconNameMixin",
107438
+ "module": "icon/icon-name-mixin.js"
107439
+ }
107440
+ },
107441
+ {
107442
+ "kind": "method",
107443
+ "name": "_renderIconName",
107534
107444
  "privacy": "private",
107535
- "default": "false"
107445
+ "return": {
107446
+ "type": {
107447
+ "text": "string"
107448
+ }
107449
+ },
107450
+ "inheritedFrom": {
107451
+ "name": "SbbIconNameMixin",
107452
+ "module": "icon/icon-name-mixin.js"
107453
+ }
107536
107454
  },
107537
107455
  {
107538
107456
  "kind": "field",
107539
- "name": "_windowEventsController",
107457
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
107540
107458
  "type": {
107541
- "text": "AbortController"
107459
+ "text": "array"
107542
107460
  },
107543
- "privacy": "private"
107461
+ "privacy": "private",
107462
+ "readonly": true,
107463
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
107464
+ "inheritedFrom": {
107465
+ "name": "SbbButtonBaseElement",
107466
+ "module": "core/base-elements/button-base-element.js"
107467
+ }
107544
107468
  },
107545
107469
  {
107546
107470
  "kind": "field",
107547
- "name": "_escapableOverlayController",
107548
- "privacy": "private",
107549
- "default": "new SbbEscapableOverlayController(this)"
107471
+ "name": "value",
107472
+ "type": {
107473
+ "text": "string"
107474
+ },
107475
+ "privacy": "public",
107476
+ "inheritedFrom": {
107477
+ "name": "SbbButtonBaseElement",
107478
+ "module": "core/base-elements/button-base-element.js"
107479
+ },
107480
+ "default": "''",
107481
+ "description": "Value of the form element.",
107482
+ "attribute": "value"
107550
107483
  },
107551
107484
  {
107552
107485
  "kind": "field",
107553
- "name": "_focusTrapController",
107554
- "privacy": "private",
107555
- "default": "new SbbFocusTrapController(this)"
107486
+ "name": "type",
107487
+ "privacy": "public",
107488
+ "description": "The type attribute to use for the button.",
107489
+ "default": "'button'",
107490
+ "type": {
107491
+ "text": "SbbButtonType"
107492
+ },
107493
+ "attribute": "type",
107494
+ "inheritedFrom": {
107495
+ "name": "SbbButtonBaseElement",
107496
+ "module": "core/base-elements/button-base-element.js"
107497
+ }
107556
107498
  },
107557
107499
  {
107558
107500
  "kind": "field",
107559
- "name": "_scrollHandler",
107560
- "privacy": "private",
107561
- "default": "new SbbScrollHandler()"
107501
+ "name": "form",
107502
+ "type": {
107503
+ "text": "HTMLFormElement | null"
107504
+ },
107505
+ "privacy": "public",
107506
+ "description": "The `<form>` element to associate the button with.",
107507
+ "inheritedFrom": {
107508
+ "name": "SbbButtonBaseElement",
107509
+ "module": "core/base-elements/button-base-element.js"
107510
+ },
107511
+ "attribute": "form"
107562
107512
  },
107563
107513
  {
107564
107514
  "kind": "field",
107565
- "name": "_inertController",
107515
+ "name": "_formId",
107516
+ "type": {
107517
+ "text": "string"
107518
+ },
107566
107519
  "privacy": "private",
107567
- "default": "new SbbInertController(this)"
107520
+ "default": "''",
107521
+ "inheritedFrom": {
107522
+ "name": "SbbButtonBaseElement",
107523
+ "module": "core/base-elements/button-base-element.js"
107524
+ }
107568
107525
  },
107569
107526
  {
107570
107527
  "kind": "field",
107571
- "name": "_mobileBreakpoint",
107528
+ "name": "_handleButtonClick",
107572
107529
  "privacy": "private",
107573
- "default": "SbbMediaQueryBreakpointSmallAndBelow"
107530
+ "inheritedFrom": {
107531
+ "name": "SbbButtonBaseElement",
107532
+ "module": "core/base-elements/button-base-element.js"
107533
+ }
107574
107534
  },
107575
107535
  {
107576
- "kind": "field",
107577
- "name": "_mediaMatcher",
107536
+ "kind": "method",
107537
+ "name": "_requestSubmit",
107578
107538
  "privacy": "private",
107579
- "default": "new SbbMediaMatcherController(this, { [this._mobileBreakpoint]: (matches) => { if (matches && (this.state === 'opening' || this.state === 'opened')) { this._scrollHandler.disableScroll(); } else { this._scrollHandler.enableScroll(); } }, })"
107539
+ "return": {
107540
+ "type": {
107541
+ "text": "void"
107542
+ }
107543
+ },
107544
+ "parameters": [
107545
+ {
107546
+ "name": "form",
107547
+ "type": {
107548
+ "text": "HTMLFormElement"
107549
+ }
107550
+ }
107551
+ ],
107552
+ "inheritedFrom": {
107553
+ "name": "SbbButtonBaseElement",
107554
+ "module": "core/base-elements/button-base-element.js"
107555
+ }
107580
107556
  },
107581
107557
  {
107582
107558
  "kind": "field",
107583
- "name": "_darkModeController",
107559
+ "name": "_formKeyDown",
107584
107560
  "privacy": "private",
107585
- "default": "new SbbDarkModeController(this, () => this._syncNegative())"
107561
+ "inheritedFrom": {
107562
+ "name": "SbbButtonBaseElement",
107563
+ "module": "core/base-elements/button-base-element.js"
107564
+ }
107565
+ },
107566
+ {
107567
+ "kind": "field",
107568
+ "name": "formAssociated",
107569
+ "type": {
107570
+ "text": "boolean"
107571
+ },
107572
+ "privacy": "public",
107573
+ "static": true,
107574
+ "default": "true",
107575
+ "inheritedFrom": {
107576
+ "name": "SbbFormAssociatedMixin",
107577
+ "module": "core/mixins/form-associated-mixin.js"
107578
+ }
107579
+ },
107580
+ {
107581
+ "kind": "field",
107582
+ "name": "name",
107583
+ "privacy": "public",
107584
+ "description": "Name of the form element. Will be read from name attribute.",
107585
+ "type": {
107586
+ "text": "string"
107587
+ },
107588
+ "attribute": "name",
107589
+ "inheritedFrom": {
107590
+ "name": "SbbFormAssociatedMixin",
107591
+ "module": "core/mixins/form-associated-mixin.js"
107592
+ }
107593
+ },
107594
+ {
107595
+ "kind": "field",
107596
+ "name": "validity",
107597
+ "type": {
107598
+ "text": "ValidityState"
107599
+ },
107600
+ "privacy": "public",
107601
+ "description": "Returns the ValidityState object for this element.",
107602
+ "readonly": true,
107603
+ "inheritedFrom": {
107604
+ "name": "SbbFormAssociatedMixin",
107605
+ "module": "core/mixins/form-associated-mixin.js"
107606
+ }
107607
+ },
107608
+ {
107609
+ "kind": "field",
107610
+ "name": "validationMessage",
107611
+ "type": {
107612
+ "text": "string"
107613
+ },
107614
+ "privacy": "public",
107615
+ "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.",
107616
+ "readonly": true,
107617
+ "inheritedFrom": {
107618
+ "name": "SbbFormAssociatedMixin",
107619
+ "module": "core/mixins/form-associated-mixin.js"
107620
+ }
107621
+ },
107622
+ {
107623
+ "kind": "field",
107624
+ "name": "willValidate",
107625
+ "type": {
107626
+ "text": "boolean"
107627
+ },
107628
+ "privacy": "public",
107629
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
107630
+ "readonly": true,
107631
+ "inheritedFrom": {
107632
+ "name": "SbbFormAssociatedMixin",
107633
+ "module": "core/mixins/form-associated-mixin.js"
107634
+ }
107586
107635
  },
107587
107636
  {
107588
107637
  "kind": "field",
107589
- "name": "_language",
107638
+ "name": "_validityStates",
107590
107639
  "privacy": "private",
107591
- "default": "new SbbLanguageController(this)"
107640
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
107641
+ "inheritedFrom": {
107642
+ "name": "SbbFormAssociatedMixin",
107643
+ "module": "core/mixins/form-associated-mixin.js"
107644
+ }
107592
107645
  },
107593
107646
  {
107594
107647
  "kind": "field",
107595
- "name": "_nestedMenu",
107648
+ "name": "formDisabled",
107596
107649
  "type": {
107597
- "text": "SbbMenuElement | null"
107598
- },
107599
- "privacy": "private",
107600
- "default": "null"
107601
- },
107602
- {
107603
- "kind": "method",
107604
- "name": "escapeStrategy",
107605
- "privacy": "public",
107606
- "return": {
107607
- "type": {
107608
- "text": "void"
107609
- }
107650
+ "text": "boolean"
107610
107651
  },
107611
- "description": "The method which is called on escape key press. Defaults to calling close()",
107652
+ "privacy": "protected",
107653
+ "default": "false",
107654
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
107612
107655
  "inheritedFrom": {
107613
- "name": "SbbOpenCloseBaseElement",
107614
- "module": "core/base-elements/open-close-base-element.js"
107656
+ "name": "SbbFormAssociatedMixin",
107657
+ "module": "core/mixins/form-associated-mixin.js"
107615
107658
  }
107616
107659
  },
107617
107660
  {
107618
107661
  "kind": "method",
107619
- "name": "open",
107662
+ "name": "checkValidity",
107620
107663
  "privacy": "public",
107621
107664
  "return": {
107622
107665
  "type": {
107623
- "text": "void"
107666
+ "text": "boolean"
107624
107667
  }
107625
107668
  },
107626
- "description": "Opens the menu on trigger click.",
107669
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
107627
107670
  "inheritedFrom": {
107628
- "name": "SbbOpenCloseBaseElement",
107629
- "module": "core/base-elements/open-close-base-element.js"
107671
+ "name": "SbbFormAssociatedMixin",
107672
+ "module": "core/mixins/form-associated-mixin.js"
107630
107673
  }
107631
107674
  },
107632
107675
  {
107633
107676
  "kind": "method",
107634
- "name": "close",
107677
+ "name": "reportValidity",
107635
107678
  "privacy": "public",
107636
107679
  "return": {
107637
107680
  "type": {
107638
- "text": "void"
107681
+ "text": "boolean"
107639
107682
  }
107640
107683
  },
107641
- "description": "Closes the menu and all its nested menus.",
107684
+ "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.",
107642
107685
  "inheritedFrom": {
107643
- "name": "SbbOpenCloseBaseElement",
107644
- "module": "core/base-elements/open-close-base-element.js"
107686
+ "name": "SbbFormAssociatedMixin",
107687
+ "module": "core/mixins/form-associated-mixin.js"
107645
107688
  }
107646
107689
  },
107647
107690
  {
107648
107691
  "kind": "method",
107649
- "name": "closeAll",
107692
+ "name": "setCustomValidity",
107650
107693
  "privacy": "public",
107651
107694
  "return": {
107652
107695
  "type": {
107653
107696
  "text": "void"
107654
107697
  }
107655
107698
  },
107656
- "description": "Closes the menu and all related menus (nested and parent menus)."
107657
- },
107658
- {
107659
- "kind": "method",
107660
- "name": "_close",
107661
- "privacy": "private",
107662
- "return": {
107663
- "type": {
107664
- "text": "void"
107665
- }
107666
- },
107667
107699
  "parameters": [
107668
107700
  {
107669
- "name": "closeAll",
107670
- "default": "false",
107671
- "description": "If true, it ensures animations are correct by toggling some states when closing all related menus at once.",
107672
- "optional": true
107701
+ "name": "message",
107702
+ "type": {
107703
+ "text": "string"
107704
+ }
107673
107705
  }
107674
- ]
107706
+ ],
107707
+ "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.",
107708
+ "inheritedFrom": {
107709
+ "name": "SbbFormAssociatedMixin",
107710
+ "module": "core/mixins/form-associated-mixin.js"
107711
+ }
107675
107712
  },
107676
107713
  {
107677
107714
  "kind": "method",
107678
- "name": "_isZeroAnimationDuration",
107715
+ "name": "_hasDisabledAncestor",
107679
107716
  "privacy": "private",
107680
107717
  "return": {
107681
107718
  "type": {
107682
107719
  "text": "boolean"
107683
107720
  }
107721
+ },
107722
+ "inheritedFrom": {
107723
+ "name": "SbbFormAssociatedMixin",
107724
+ "module": "core/mixins/form-associated-mixin.js"
107684
107725
  }
107685
107726
  },
107686
107727
  {
107687
107728
  "kind": "method",
107688
- "name": "_handleOpening",
107689
- "privacy": "private",
107729
+ "name": "updateFormValue",
107730
+ "privacy": "protected",
107690
107731
  "return": {
107691
107732
  "type": {
107692
107733
  "text": "void"
107693
107734
  }
107735
+ },
107736
+ "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",
107737
+ "inheritedFrom": {
107738
+ "name": "SbbFormAssociatedMixin",
107739
+ "module": "core/mixins/form-associated-mixin.js"
107694
107740
  }
107695
107741
  },
107696
107742
  {
107697
107743
  "kind": "method",
107698
- "name": "_handleClosing",
107699
- "privacy": "private",
107744
+ "name": "formState",
107745
+ "privacy": "protected",
107700
107746
  "return": {
107701
107747
  "type": {
107702
- "text": "void"
107748
+ "text": "FormRestoreState"
107703
107749
  }
107750
+ },
107751
+ "inheritedFrom": {
107752
+ "name": "SbbFormAssociatedMixin",
107753
+ "module": "core/mixins/form-associated-mixin.js"
107704
107754
  }
107705
107755
  },
107706
107756
  {
107707
107757
  "kind": "method",
107708
- "name": "_handleKeyDown",
107709
- "privacy": "private",
107758
+ "name": "setValidityFlag",
107759
+ "privacy": "protected",
107710
107760
  "return": {
107711
107761
  "type": {
107712
107762
  "text": "void"
@@ -107714,37 +107764,35 @@
107714
107764
  },
107715
107765
  "parameters": [
107716
107766
  {
107717
- "name": "evt",
107767
+ "name": "flag",
107718
107768
  "type": {
107719
- "text": "KeyboardEvent"
107769
+ "text": "T"
107770
+ }
107771
+ },
107772
+ {
107773
+ "name": "message",
107774
+ "type": {
107775
+ "text": "string"
107776
+ }
107777
+ },
107778
+ {
107779
+ "name": "flagValue",
107780
+ "optional": true,
107781
+ "type": {
107782
+ "text": "ValidityStateFlags[T]"
107720
107783
  }
107721
107784
  }
107722
- ]
107723
- },
107724
- {
107725
- "kind": "method",
107726
- "name": "_configureTrigger",
107727
- "privacy": "private",
107728
- "return": {
107729
- "type": {
107730
- "text": "void"
107731
- }
107732
- }
107733
- },
107734
- {
107735
- "kind": "method",
107736
- "name": "_attachWindowEvents",
107737
- "privacy": "private",
107738
- "return": {
107739
- "type": {
107740
- "text": "void"
107741
- }
107785
+ ],
107786
+ "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).",
107787
+ "inheritedFrom": {
107788
+ "name": "SbbFormAssociatedMixin",
107789
+ "module": "core/mixins/form-associated-mixin.js"
107742
107790
  }
107743
107791
  },
107744
107792
  {
107745
107793
  "kind": "method",
107746
- "name": "_interactiveElementClick",
107747
- "privacy": "private",
107794
+ "name": "removeValidityFlag",
107795
+ "privacy": "protected",
107748
107796
  "return": {
107749
107797
  "type": {
107750
107798
  "text": "void"
@@ -107752,250 +107800,158 @@
107752
107800
  },
107753
107801
  "parameters": [
107754
107802
  {
107755
- "name": "event",
107803
+ "name": "flag",
107756
107804
  "type": {
107757
- "text": "Event"
107805
+ "text": "T"
107758
107806
  }
107759
107807
  }
107760
- ]
107761
- },
107762
- {
107763
- "kind": "field",
107764
- "name": "_pointerDownListener",
107765
- "privacy": "private"
107766
- },
107767
- {
107768
- "kind": "field",
107769
- "name": "_closeOnBackdropClick",
107770
- "privacy": "private"
107771
- },
107772
- {
107773
- "kind": "method",
107774
- "name": "_nestedMenus",
107775
- "privacy": "private",
107776
- "return": {
107777
- "type": {
107778
- "text": "SbbMenuElement[]"
107779
- }
107780
- },
107781
- "description": "Converts the linked list into an array of SbbMenuElement."
107782
- },
107783
- {
107784
- "kind": "method",
107785
- "name": "_parentMenu",
107786
- "privacy": "private",
107787
- "return": {
107788
- "type": {
107789
- "text": "SbbMenuElement | null"
107790
- }
107791
- }
107792
- },
107793
- {
107794
- "kind": "method",
107795
- "name": "_mainMenu",
107796
- "privacy": "private",
107797
- "return": {
107798
- "type": {
107799
- "text": "SbbMenuElement"
107800
- }
107801
- },
107802
- "description": "The outermost menu."
107803
- },
107804
- {
107805
- "kind": "method",
107806
- "name": "_isNested",
107807
- "privacy": "private",
107808
- "return": {
107809
- "type": {
107810
- "text": "boolean"
107811
- }
107812
- }
107813
- },
107814
- {
107815
- "kind": "method",
107816
- "name": "_updateNestedInert",
107817
- "privacy": "private",
107818
- "return": {
107819
- "type": {
107820
- "text": "void"
107821
- }
107808
+ ],
107809
+ "description": "Removes the validity state flag entry and updates validity state.",
107810
+ "inheritedFrom": {
107811
+ "name": "SbbFormAssociatedMixin",
107812
+ "module": "core/mixins/form-associated-mixin.js"
107822
107813
  }
107823
107814
  },
107824
107815
  {
107825
107816
  "kind": "method",
107826
- "name": "_handleMouseOver",
107827
- "privacy": "private",
107817
+ "name": "validate",
107818
+ "privacy": "protected",
107828
107819
  "return": {
107829
107820
  "type": {
107830
107821
  "text": "void"
107831
107822
  }
107832
107823
  },
107833
- "parameters": [
107834
- {
107835
- "name": "event",
107836
- "type": {
107837
- "text": "MouseEvent"
107838
- }
107839
- }
107840
- ]
107824
+ "description": "To be called whenever the current element needs to be validated.",
107825
+ "inheritedFrom": {
107826
+ "name": "SbbFormAssociatedMixin",
107827
+ "module": "core/mixins/form-associated-mixin.js"
107828
+ }
107841
107829
  },
107842
107830
  {
107843
107831
  "kind": "method",
107844
- "name": "_onMenuAnimationEnd",
107845
- "privacy": "private",
107832
+ "name": "shouldValidate",
107833
+ "privacy": "protected",
107846
107834
  "return": {
107847
107835
  "type": {
107848
- "text": "void"
107836
+ "text": "boolean"
107849
107837
  }
107850
107838
  },
107851
107839
  "parameters": [
107852
107840
  {
107853
- "name": "event",
107841
+ "name": "name",
107854
107842
  "type": {
107855
- "text": "AnimationEvent"
107843
+ "text": "PropertyKey | undefined"
107856
107844
  }
107857
107845
  }
107858
- ]
107859
- },
107860
- {
107861
- "kind": "method",
107862
- "name": "_setMenuPosition",
107863
- "privacy": "private",
107864
- "return": {
107865
- "type": {
107866
- "text": "void"
107867
- }
107846
+ ],
107847
+ "description": "Whether validation should be run on a property change with the given name.",
107848
+ "inheritedFrom": {
107849
+ "name": "SbbFormAssociatedMixin",
107850
+ "module": "core/mixins/form-associated-mixin.js"
107868
107851
  }
107869
107852
  },
107870
107853
  {
107871
107854
  "kind": "method",
107872
- "name": "_syncNegative",
107855
+ "name": "_setInternalValidity",
107873
107856
  "privacy": "private",
107874
107857
  "return": {
107875
107858
  "type": {
107876
107859
  "text": "void"
107877
107860
  }
107861
+ },
107862
+ "inheritedFrom": {
107863
+ "name": "SbbFormAssociatedMixin",
107864
+ "module": "core/mixins/form-associated-mixin.js"
107878
107865
  }
107879
107866
  },
107880
107867
  {
107881
- "kind": "method",
107882
- "name": "_isMobile",
107868
+ "kind": "field",
107869
+ "name": "_preventScrollOnSpaceKeydown",
107883
107870
  "privacy": "private",
107884
- "return": {
107885
- "type": {
107886
- "text": "boolean"
107871
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
107872
+ "parameters": [
107873
+ {
107874
+ "description": "The origin event.",
107875
+ "name": "event"
107887
107876
  }
107877
+ ],
107878
+ "inheritedFrom": {
107879
+ "name": "SbbButtonLikeBaseElement",
107880
+ "module": "core/base-elements/button-base-element.js"
107888
107881
  }
107889
107882
  },
107890
107883
  {
107891
107884
  "kind": "field",
107892
- "name": "events",
107893
- "privacy": "public",
107894
- "static": true,
107895
- "readonly": true,
107896
- "default": "{ beforeopen: 'beforeopen', open: 'open', beforeclose: 'beforeclose', close: 'close', }",
107897
- "type": {
107898
- "text": "{\n beforeopen: 'beforeopen',\n open: 'open',\n beforeclose: 'beforeclose',\n close: 'close',\n }"
107899
- },
107885
+ "name": "_removeActiveMarker",
107886
+ "privacy": "private",
107900
107887
  "inheritedFrom": {
107901
- "name": "SbbOpenCloseBaseElement",
107902
- "module": "core/base-elements/open-close-base-element.js"
107888
+ "name": "SbbButtonLikeBaseElement",
107889
+ "module": "core/base-elements/button-base-element.js"
107903
107890
  }
107904
107891
  },
107905
107892
  {
107906
107893
  "kind": "field",
107907
- "name": "state",
107908
- "privacy": "protected",
107909
- "description": "The state of the component.",
107910
- "type": {
107911
- "text": "SbbOpenedClosedState"
107912
- },
107913
- "default": "'closed'",
107894
+ "name": "_dispatchClickEventOnSpaceKeyup",
107895
+ "privacy": "private",
107896
+ "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.",
107897
+ "parameters": [
107898
+ {
107899
+ "description": "The origin event.",
107900
+ "name": "event"
107901
+ }
107902
+ ],
107914
107903
  "inheritedFrom": {
107915
- "name": "SbbOpenCloseBaseElement",
107916
- "module": "core/base-elements/open-close-base-element.js"
107904
+ "name": "SbbButtonLikeBaseElement",
107905
+ "module": "core/base-elements/button-base-element.js"
107917
107906
  }
107918
107907
  },
107919
107908
  {
107920
107909
  "kind": "field",
107921
- "name": "_state",
107922
- "type": {
107923
- "text": "SbbOpenedClosedState"
107924
- },
107910
+ "name": "_dispatchClickEvent",
107925
107911
  "privacy": "private",
107926
107912
  "inheritedFrom": {
107927
- "name": "SbbOpenCloseBaseElement",
107928
- "module": "core/base-elements/open-close-base-element.js"
107913
+ "name": "SbbButtonLikeBaseElement",
107914
+ "module": "core/base-elements/button-base-element.js"
107929
107915
  }
107930
107916
  },
107931
107917
  {
107932
107918
  "kind": "field",
107933
- "name": "isOpen",
107919
+ "name": "maybeDisabled",
107934
107920
  "type": {
107935
- "text": "boolean"
107921
+ "text": "boolean | undefined"
107936
107922
  },
107937
- "privacy": "public",
107938
- "description": "Whether the element is open.",
107939
- "readonly": true,
107940
- "inheritedFrom": {
107941
- "name": "SbbOpenCloseBaseElement",
107942
- "module": "core/base-elements/open-close-base-element.js"
107943
- }
107944
- },
107945
- {
107946
- "kind": "method",
107947
- "name": "dispatchBeforeOpenEvent",
107948
107923
  "privacy": "protected",
107949
- "return": {
107950
- "type": {
107951
- "text": "boolean"
107952
- }
107953
- },
107924
+ "readonly": true,
107954
107925
  "inheritedFrom": {
107955
- "name": "SbbOpenCloseBaseElement",
107956
- "module": "core/base-elements/open-close-base-element.js"
107926
+ "name": "SbbActionBaseElement",
107927
+ "module": "core/base-elements/action-base-element.js"
107957
107928
  }
107958
107929
  },
107959
107930
  {
107960
- "kind": "method",
107961
- "name": "dispatchOpenEvent",
107962
- "privacy": "protected",
107963
- "return": {
107964
- "type": {
107965
- "text": "boolean"
107966
- }
107931
+ "kind": "field",
107932
+ "name": "maybeDisabledInteractive",
107933
+ "type": {
107934
+ "text": "boolean | undefined"
107967
107935
  },
107968
- "inheritedFrom": {
107969
- "name": "SbbOpenCloseBaseElement",
107970
- "module": "core/base-elements/open-close-base-element.js"
107971
- }
107972
- },
107973
- {
107974
- "kind": "method",
107975
- "name": "dispatchBeforeCloseEvent",
107976
107936
  "privacy": "protected",
107977
- "return": {
107978
- "type": {
107979
- "text": "boolean"
107980
- }
107981
- },
107937
+ "readonly": true,
107982
107938
  "inheritedFrom": {
107983
- "name": "SbbOpenCloseBaseElement",
107984
- "module": "core/base-elements/open-close-base-element.js"
107939
+ "name": "SbbActionBaseElement",
107940
+ "module": "core/base-elements/action-base-element.js"
107985
107941
  }
107986
107942
  },
107987
107943
  {
107988
107944
  "kind": "method",
107989
- "name": "dispatchCloseEvent",
107945
+ "name": "setupBaseEventHandlers",
107990
107946
  "privacy": "protected",
107991
107947
  "return": {
107992
107948
  "type": {
107993
- "text": "boolean"
107949
+ "text": "void"
107994
107950
  }
107995
107951
  },
107996
107952
  "inheritedFrom": {
107997
- "name": "SbbOpenCloseBaseElement",
107998
- "module": "core/base-elements/open-close-base-element.js"
107953
+ "name": "SbbActionBaseElement",
107954
+ "module": "core/base-elements/action-base-element.js"
107999
107955
  }
108000
107956
  },
108001
107957
  {
@@ -108104,66 +108060,110 @@
108104
108060
  }
108105
108061
  }
108106
108062
  ],
108107
- "attributes": [
108063
+ "mixins": [
108108
108064
  {
108109
- "name": "trigger",
108110
- "type": {
108111
- "text": "HTMLElement | null"
108112
- },
108113
- "default": "null",
108114
- "description": "The element that will trigger the menu overlay.\n\nFor attribute usage, provide an id reference.",
108115
- "fieldName": "trigger"
108065
+ "name": "SbbDisabledTabIndexActionMixin",
108066
+ "module": "core/mixins.js"
108067
+ },
108068
+ {
108069
+ "name": "SbbMenuActionCommonElementMixin",
108070
+ "module": "menu/common/menu-action-common.js"
108116
108071
  }
108117
108072
  ],
108118
108073
  "superclass": {
108119
- "name": "SbbOpenCloseBaseElement",
108074
+ "name": "SbbButtonBaseElement",
108120
108075
  "module": "core/base-elements.js"
108121
108076
  },
108122
- "tagName": "sbb-menu",
108077
+ "tagName": "sbb-menu-button",
108123
108078
  "customElement": true,
108124
- "events": [
108079
+ "attributes": [
108125
108080
  {
108126
- "name": "beforeopen",
108081
+ "name": "disabled-interactive",
108127
108082
  "type": {
108128
- "text": "Event"
108083
+ "text": "boolean"
108129
108084
  },
108130
- "description": "Emits whenever the component starts the opening transition. Can be canceled.",
108085
+ "default": "false",
108086
+ "description": "Whether the button should be aria-disabled but stay interactive.",
108087
+ "fieldName": "disabledInteractive",
108131
108088
  "inheritedFrom": {
108132
- "name": "SbbOpenCloseBaseElement",
108133
- "module": "core/base-elements/open-close-base-element.js"
108089
+ "name": "SbbDisabledInteractiveMixin",
108090
+ "module": "core/mixins/disabled-mixin.js"
108134
108091
  }
108135
108092
  },
108136
108093
  {
108137
- "name": "open",
108094
+ "name": "disabled",
108095
+ "description": "Whether the component is disabled.",
108096
+ "default": "false",
108138
108097
  "type": {
108139
- "text": "Event"
108098
+ "text": "boolean"
108140
108099
  },
108141
- "description": "Emits whenever the component is opened.",
108100
+ "fieldName": "disabled",
108142
108101
  "inheritedFrom": {
108143
- "name": "SbbOpenCloseBaseElement",
108144
- "module": "core/base-elements/open-close-base-element.js"
108102
+ "name": "SbbDisabledMixin",
108103
+ "module": "core/mixins/disabled-mixin.js"
108145
108104
  }
108146
108105
  },
108147
108106
  {
108148
- "name": "beforeclose",
108107
+ "name": "icon-name",
108149
108108
  "type": {
108150
- "text": "Event"
108109
+ "text": "string"
108151
108110
  },
108152
- "description": "Emits whenever the component begins the closing transition. Can be canceled.",
108111
+ "default": "''",
108112
+ "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.",
108113
+ "fieldName": "iconName",
108153
108114
  "inheritedFrom": {
108154
- "name": "SbbOpenCloseBaseElement",
108155
- "module": "core/base-elements/open-close-base-element.js"
108115
+ "name": "SbbIconNameMixin",
108116
+ "module": "icon/icon-name-mixin.js"
108156
108117
  }
108157
108118
  },
108158
108119
  {
108159
- "name": "close",
108120
+ "name": "value",
108160
108121
  "type": {
108161
- "text": "Event"
108122
+ "text": "string"
108162
108123
  },
108163
- "description": "Emits whenever the component is closed.",
108124
+ "default": "''",
108125
+ "description": "Value of the form element.",
108126
+ "fieldName": "value",
108164
108127
  "inheritedFrom": {
108165
- "name": "SbbOpenCloseBaseElement",
108166
- "module": "core/base-elements/open-close-base-element.js"
108128
+ "name": "SbbButtonBaseElement",
108129
+ "module": "core/base-elements/button-base-element.js"
108130
+ }
108131
+ },
108132
+ {
108133
+ "name": "type",
108134
+ "description": "The type attribute to use for the button.",
108135
+ "default": "'button'",
108136
+ "type": {
108137
+ "text": "SbbButtonType"
108138
+ },
108139
+ "fieldName": "type",
108140
+ "inheritedFrom": {
108141
+ "name": "SbbButtonBaseElement",
108142
+ "module": "core/base-elements/button-base-element.js"
108143
+ }
108144
+ },
108145
+ {
108146
+ "name": "form",
108147
+ "description": "The `<form>` element to associate the button with.",
108148
+ "type": {
108149
+ "text": "HTMLFormElement | null"
108150
+ },
108151
+ "fieldName": "form",
108152
+ "inheritedFrom": {
108153
+ "name": "SbbButtonBaseElement",
108154
+ "module": "core/base-elements/button-base-element.js"
108155
+ }
108156
+ },
108157
+ {
108158
+ "name": "name",
108159
+ "description": "Name of the form element. Will be read from name attribute.",
108160
+ "type": {
108161
+ "text": "string"
108162
+ },
108163
+ "fieldName": "name",
108164
+ "inheritedFrom": {
108165
+ "name": "SbbFormAssociatedMixin",
108166
+ "module": "core/mixins/form-associated-mixin.js"
108167
108167
  }
108168
108168
  }
108169
108169
  ]
@@ -108172,10 +108172,10 @@
108172
108172
  "exports": [
108173
108173
  {
108174
108174
  "kind": "js",
108175
- "name": "SbbMenuElement",
108175
+ "name": "SbbMenuButtonElement",
108176
108176
  "declaration": {
108177
- "name": "SbbMenuElement",
108178
- "module": "menu/menu/menu.component.js"
108177
+ "name": "SbbMenuButtonElement",
108178
+ "module": "menu/menu-button/menu-button.component.js"
108179
108179
  }
108180
108180
  }
108181
108181
  ]
@@ -123974,364 +123974,109 @@
123974
123974
  }
123975
123975
  }
123976
123976
  ],
123977
- "mixins": [
123978
- {
123979
- "name": "SbbIconNameMixin",
123980
- "module": "icon.js"
123981
- },
123982
- {
123983
- "name": "SbbDisabledMixin",
123984
- "module": "core/mixins.js"
123985
- }
123986
- ],
123987
- "superclass": {
123988
- "name": "SbbButtonBaseElement",
123989
- "module": "core/base-elements.js"
123990
- },
123991
- "tagName": "sbb-step-label",
123992
- "customElement": true,
123993
- "attributes": [
123994
- {
123995
- "name": "icon-name",
123996
- "type": {
123997
- "text": "string"
123998
- },
123999
- "default": "''",
124000
- "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.",
124001
- "fieldName": "iconName",
124002
- "inheritedFrom": {
124003
- "name": "SbbIconNameMixin",
124004
- "module": "icon/icon-name-mixin.js"
124005
- }
124006
- },
124007
- {
124008
- "name": "disabled",
124009
- "description": "Whether the component is disabled.",
124010
- "default": "false",
124011
- "type": {
124012
- "text": "boolean"
124013
- },
124014
- "fieldName": "disabled",
124015
- "inheritedFrom": {
124016
- "name": "SbbDisabledMixin",
124017
- "module": "core/mixins/disabled-mixin.js"
124018
- }
124019
- },
124020
- {
124021
- "name": "value",
124022
- "type": {
124023
- "text": "string"
124024
- },
124025
- "default": "''",
124026
- "description": "Value of the form element.",
124027
- "fieldName": "value",
124028
- "inheritedFrom": {
124029
- "name": "SbbButtonBaseElement",
124030
- "module": "core/base-elements/button-base-element.js"
124031
- }
124032
- },
124033
- {
124034
- "name": "type",
124035
- "description": "The type attribute to use for the button.",
124036
- "default": "'button'",
124037
- "type": {
124038
- "text": "SbbButtonType"
124039
- },
124040
- "fieldName": "type",
124041
- "inheritedFrom": {
124042
- "name": "SbbButtonBaseElement",
124043
- "module": "core/base-elements/button-base-element.js"
124044
- }
124045
- },
124046
- {
124047
- "name": "form",
124048
- "description": "The `<form>` element to associate the button with.",
124049
- "type": {
124050
- "text": "HTMLFormElement | null"
124051
- },
124052
- "fieldName": "form",
124053
- "inheritedFrom": {
124054
- "name": "SbbButtonBaseElement",
124055
- "module": "core/base-elements/button-base-element.js"
124056
- }
124057
- },
124058
- {
124059
- "name": "name",
124060
- "description": "Name of the form element. Will be read from name attribute.",
124061
- "type": {
124062
- "text": "string"
124063
- },
124064
- "fieldName": "name",
124065
- "inheritedFrom": {
124066
- "name": "SbbFormAssociatedMixin",
124067
- "module": "core/mixins/form-associated-mixin.js"
124068
- }
124069
- }
124070
- ]
124071
- }
124072
- ],
124073
- "exports": [
124074
- {
124075
- "kind": "js",
124076
- "name": "SbbStepLabelElement",
124077
- "declaration": {
124078
- "name": "SbbStepLabelElement",
124079
- "module": "stepper/step-label/step-label.component.js"
124080
- }
124081
- }
124082
- ]
124083
- },
124084
- {
124085
- "kind": "javascript-module",
124086
- "path": "table/table-wrapper/table-wrapper.component.js",
124087
- "declarations": [
124088
- {
124089
- "kind": "class",
124090
- "description": "Wraps a table to enhance its functionality.",
124091
- "name": "SbbTableWrapperElement",
124092
- "slots": [
124093
- {
124094
- "description": "Use the unnamed slot to add the table.",
124095
- "name": ""
124096
- }
124097
- ],
124098
- "members": [
124099
- {
124100
- "kind": "field",
124101
- "name": "elementName",
124102
- "type": {
124103
- "text": "string"
124104
- },
124105
- "privacy": "public",
124106
- "static": true,
124107
- "readonly": true,
124108
- "default": "'sbb-table-wrapper'",
124109
- "inheritedFrom": {
124110
- "name": "SbbElement",
124111
- "module": "core/base-elements/element.js"
124112
- }
124113
- },
124114
- {
124115
- "kind": "field",
124116
- "name": "role",
124117
- "type": {
124118
- "text": "string"
124119
- },
124120
- "privacy": "public",
124121
- "static": true,
124122
- "readonly": true,
124123
- "default": "'section'"
124124
- },
124125
- {
124126
- "kind": "field",
124127
- "name": "focusable",
124128
- "type": {
124129
- "text": "boolean"
124130
- },
124131
- "privacy": "public",
124132
- "default": "false",
124133
- "description": "Whether the table wrapper is focusable.",
124134
- "attribute": "focusable",
124135
- "reflects": true
124136
- },
124137
- {
124138
- "kind": "method",
124139
- "name": "_updateScrollbarClass",
124140
- "privacy": "private",
124141
- "return": {
124142
- "type": {
124143
- "text": "void"
124144
- }
124145
- }
124146
- },
124147
- {
124148
- "kind": "method",
124149
- "name": "_checkHorizontalScrollbarOffset",
124150
- "privacy": "private",
124151
- "return": {
124152
- "type": {
124153
- "text": "void"
124154
- }
124155
- },
124156
- "description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
124157
- },
124158
- {
124159
- "kind": "method",
124160
- "name": "_calculateScrollOffset",
124161
- "privacy": "private",
124162
- "return": {
124163
- "type": {
124164
- "text": "'none' | 'left' | 'right' | 'both'"
124165
- }
124166
- }
124167
- },
124168
- {
124169
- "kind": "field",
124170
- "name": "negative",
124171
- "type": {
124172
- "text": "boolean"
124173
- },
124174
- "privacy": "public",
124175
- "default": "false",
124176
- "description": "Negative coloring variant flag.",
124177
- "attribute": "negative",
124178
- "reflects": true,
124179
- "inheritedFrom": {
124180
- "name": "SbbNegativeMixin",
124181
- "module": "core/mixins/negative-mixin.js"
124182
- }
124183
- },
124184
- {
124185
- "kind": "field",
124186
- "name": "_hydrationRequired",
124187
- "type": {
124188
- "text": "boolean"
124189
- },
124190
- "privacy": "private",
124191
- "default": "!!this.shadowRoot",
124192
- "inheritedFrom": {
124193
- "name": "SbbElement",
124194
- "module": "core/base-elements/element.js"
124195
- }
124196
- },
124197
- {
124198
- "kind": "field",
124199
- "name": "_hydrationComplete",
124200
- "privacy": "private",
124201
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
124202
- "inheritedFrom": {
124203
- "name": "SbbElement",
124204
- "module": "core/base-elements/element.js"
124205
- }
124206
- },
124207
- {
124208
- "kind": "field",
124209
- "name": "_resolveHydration",
124210
- "type": {
124211
- "text": "(hydrationRequired: boolean) => void"
124212
- },
124213
- "privacy": "private",
124214
- "inheritedFrom": {
124215
- "name": "SbbElement",
124216
- "module": "core/base-elements/element.js"
124217
- }
124218
- },
124219
- {
124220
- "kind": "field",
124221
- "name": "hydrationRequired",
124222
- "type": {
124223
- "text": "boolean"
124224
- },
124225
- "privacy": "protected",
124226
- "description": "Returns whether hydration is required and not completed.",
124227
- "readonly": true,
124228
- "inheritedFrom": {
124229
- "name": "SbbElement",
124230
- "module": "core/base-elements/element.js"
124231
- },
124232
- "default": "!!this.shadowRoot"
124233
- },
124234
- {
124235
- "kind": "method",
124236
- "name": "toggleState",
124237
- "privacy": "protected",
124238
- "return": {
124239
- "type": {
124240
- "text": "void"
124241
- }
124242
- },
124243
- "parameters": [
124244
- {
124245
- "name": "value",
124246
- "type": {
124247
- "text": "string"
124248
- }
124249
- },
124250
- {
124251
- "name": "force",
124252
- "optional": true,
124253
- "type": {
124254
- "text": "boolean"
124255
- }
124256
- }
124257
- ],
124258
- "inheritedFrom": {
124259
- "name": "SbbElement",
124260
- "module": "core/base-elements/element.js"
124261
- }
124262
- },
124263
- {
124264
- "kind": "field",
124265
- "name": "['_$sbbElement$']",
124266
- "type": {
124267
- "text": "boolean"
124268
- },
124269
- "privacy": "public",
124270
- "static": true,
124271
- "default": "true",
124272
- "inheritedFrom": {
124273
- "name": "SbbElement",
124274
- "module": "core/base-elements/element.js"
124275
- }
124276
- },
124277
- {
124278
- "kind": "field",
124279
- "name": "_controllers",
124280
- "type": {
124281
- "text": "Set<SbbReactiveController> | undefined"
124282
- },
124283
- "privacy": "private",
124284
- "inheritedFrom": {
124285
- "name": "SbbElement",
124286
- "module": "core/base-elements/element.js"
124287
- }
124288
- }
124289
- ],
123977
+ "mixins": [
123978
+ {
123979
+ "name": "SbbIconNameMixin",
123980
+ "module": "icon.js"
123981
+ },
123982
+ {
123983
+ "name": "SbbDisabledMixin",
123984
+ "module": "core/mixins.js"
123985
+ }
123986
+ ],
123987
+ "superclass": {
123988
+ "name": "SbbButtonBaseElement",
123989
+ "module": "core/base-elements.js"
123990
+ },
123991
+ "tagName": "sbb-step-label",
123992
+ "customElement": true,
124290
123993
  "attributes": [
124291
123994
  {
124292
- "name": "focusable",
123995
+ "name": "icon-name",
124293
123996
  "type": {
124294
- "text": "boolean"
123997
+ "text": "string"
124295
123998
  },
124296
- "default": "false",
124297
- "description": "Whether the table wrapper is focusable.",
124298
- "fieldName": "focusable"
123999
+ "default": "''",
124000
+ "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.",
124001
+ "fieldName": "iconName",
124002
+ "inheritedFrom": {
124003
+ "name": "SbbIconNameMixin",
124004
+ "module": "icon/icon-name-mixin.js"
124005
+ }
124299
124006
  },
124300
124007
  {
124301
- "name": "negative",
124008
+ "name": "disabled",
124009
+ "description": "Whether the component is disabled.",
124010
+ "default": "false",
124302
124011
  "type": {
124303
124012
  "text": "boolean"
124304
124013
  },
124305
- "default": "false",
124306
- "description": "Negative coloring variant flag.",
124307
- "fieldName": "negative",
124014
+ "fieldName": "disabled",
124308
124015
  "inheritedFrom": {
124309
- "name": "SbbNegativeMixin",
124310
- "module": "core/mixins/negative-mixin.js"
124016
+ "name": "SbbDisabledMixin",
124017
+ "module": "core/mixins/disabled-mixin.js"
124311
124018
  }
124312
- }
124313
- ],
124314
- "mixins": [
124019
+ },
124315
124020
  {
124316
- "name": "SbbNegativeMixin",
124317
- "module": "core/mixins.js"
124021
+ "name": "value",
124022
+ "type": {
124023
+ "text": "string"
124024
+ },
124025
+ "default": "''",
124026
+ "description": "Value of the form element.",
124027
+ "fieldName": "value",
124028
+ "inheritedFrom": {
124029
+ "name": "SbbButtonBaseElement",
124030
+ "module": "core/base-elements/button-base-element.js"
124031
+ }
124032
+ },
124033
+ {
124034
+ "name": "type",
124035
+ "description": "The type attribute to use for the button.",
124036
+ "default": "'button'",
124037
+ "type": {
124038
+ "text": "SbbButtonType"
124039
+ },
124040
+ "fieldName": "type",
124041
+ "inheritedFrom": {
124042
+ "name": "SbbButtonBaseElement",
124043
+ "module": "core/base-elements/button-base-element.js"
124044
+ }
124045
+ },
124046
+ {
124047
+ "name": "form",
124048
+ "description": "The `<form>` element to associate the button with.",
124049
+ "type": {
124050
+ "text": "HTMLFormElement | null"
124051
+ },
124052
+ "fieldName": "form",
124053
+ "inheritedFrom": {
124054
+ "name": "SbbButtonBaseElement",
124055
+ "module": "core/base-elements/button-base-element.js"
124056
+ }
124057
+ },
124058
+ {
124059
+ "name": "name",
124060
+ "description": "Name of the form element. Will be read from name attribute.",
124061
+ "type": {
124062
+ "text": "string"
124063
+ },
124064
+ "fieldName": "name",
124065
+ "inheritedFrom": {
124066
+ "name": "SbbFormAssociatedMixin",
124067
+ "module": "core/mixins/form-associated-mixin.js"
124068
+ }
124318
124069
  }
124319
- ],
124320
- "superclass": {
124321
- "name": "SbbElement",
124322
- "module": "core/base-elements.js"
124323
- },
124324
- "tagName": "sbb-table-wrapper",
124325
- "customElement": true
124070
+ ]
124326
124071
  }
124327
124072
  ],
124328
124073
  "exports": [
124329
124074
  {
124330
124075
  "kind": "js",
124331
- "name": "SbbTableWrapperElement",
124076
+ "name": "SbbStepLabelElement",
124332
124077
  "declaration": {
124333
- "name": "SbbTableWrapperElement",
124334
- "module": "table/table-wrapper/table-wrapper.component.js"
124078
+ "name": "SbbStepLabelElement",
124079
+ "module": "stepper/step-label/step-label.component.js"
124335
124080
  }
124336
124081
  }
124337
124082
  ]
@@ -124967,6 +124712,261 @@
124967
124712
  }
124968
124713
  ]
124969
124714
  },
124715
+ {
124716
+ "kind": "javascript-module",
124717
+ "path": "table/table-wrapper/table-wrapper.component.js",
124718
+ "declarations": [
124719
+ {
124720
+ "kind": "class",
124721
+ "description": "Wraps a table to enhance its functionality.",
124722
+ "name": "SbbTableWrapperElement",
124723
+ "slots": [
124724
+ {
124725
+ "description": "Use the unnamed slot to add the table.",
124726
+ "name": ""
124727
+ }
124728
+ ],
124729
+ "members": [
124730
+ {
124731
+ "kind": "field",
124732
+ "name": "elementName",
124733
+ "type": {
124734
+ "text": "string"
124735
+ },
124736
+ "privacy": "public",
124737
+ "static": true,
124738
+ "readonly": true,
124739
+ "default": "'sbb-table-wrapper'",
124740
+ "inheritedFrom": {
124741
+ "name": "SbbElement",
124742
+ "module": "core/base-elements/element.js"
124743
+ }
124744
+ },
124745
+ {
124746
+ "kind": "field",
124747
+ "name": "role",
124748
+ "type": {
124749
+ "text": "string"
124750
+ },
124751
+ "privacy": "public",
124752
+ "static": true,
124753
+ "readonly": true,
124754
+ "default": "'section'"
124755
+ },
124756
+ {
124757
+ "kind": "field",
124758
+ "name": "focusable",
124759
+ "type": {
124760
+ "text": "boolean"
124761
+ },
124762
+ "privacy": "public",
124763
+ "default": "false",
124764
+ "description": "Whether the table wrapper is focusable.",
124765
+ "attribute": "focusable",
124766
+ "reflects": true
124767
+ },
124768
+ {
124769
+ "kind": "method",
124770
+ "name": "_updateScrollbarClass",
124771
+ "privacy": "private",
124772
+ "return": {
124773
+ "type": {
124774
+ "text": "void"
124775
+ }
124776
+ }
124777
+ },
124778
+ {
124779
+ "kind": "method",
124780
+ "name": "_checkHorizontalScrollbarOffset",
124781
+ "privacy": "private",
124782
+ "return": {
124783
+ "type": {
124784
+ "text": "void"
124785
+ }
124786
+ },
124787
+ "description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
124788
+ },
124789
+ {
124790
+ "kind": "method",
124791
+ "name": "_calculateScrollOffset",
124792
+ "privacy": "private",
124793
+ "return": {
124794
+ "type": {
124795
+ "text": "'none' | 'left' | 'right' | 'both'"
124796
+ }
124797
+ }
124798
+ },
124799
+ {
124800
+ "kind": "field",
124801
+ "name": "negative",
124802
+ "type": {
124803
+ "text": "boolean"
124804
+ },
124805
+ "privacy": "public",
124806
+ "default": "false",
124807
+ "description": "Negative coloring variant flag.",
124808
+ "attribute": "negative",
124809
+ "reflects": true,
124810
+ "inheritedFrom": {
124811
+ "name": "SbbNegativeMixin",
124812
+ "module": "core/mixins/negative-mixin.js"
124813
+ }
124814
+ },
124815
+ {
124816
+ "kind": "field",
124817
+ "name": "_hydrationRequired",
124818
+ "type": {
124819
+ "text": "boolean"
124820
+ },
124821
+ "privacy": "private",
124822
+ "default": "!!this.shadowRoot",
124823
+ "inheritedFrom": {
124824
+ "name": "SbbElement",
124825
+ "module": "core/base-elements/element.js"
124826
+ }
124827
+ },
124828
+ {
124829
+ "kind": "field",
124830
+ "name": "_hydrationComplete",
124831
+ "privacy": "private",
124832
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
124833
+ "inheritedFrom": {
124834
+ "name": "SbbElement",
124835
+ "module": "core/base-elements/element.js"
124836
+ }
124837
+ },
124838
+ {
124839
+ "kind": "field",
124840
+ "name": "_resolveHydration",
124841
+ "type": {
124842
+ "text": "(hydrationRequired: boolean) => void"
124843
+ },
124844
+ "privacy": "private",
124845
+ "inheritedFrom": {
124846
+ "name": "SbbElement",
124847
+ "module": "core/base-elements/element.js"
124848
+ }
124849
+ },
124850
+ {
124851
+ "kind": "field",
124852
+ "name": "hydrationRequired",
124853
+ "type": {
124854
+ "text": "boolean"
124855
+ },
124856
+ "privacy": "protected",
124857
+ "description": "Returns whether hydration is required and not completed.",
124858
+ "readonly": true,
124859
+ "inheritedFrom": {
124860
+ "name": "SbbElement",
124861
+ "module": "core/base-elements/element.js"
124862
+ },
124863
+ "default": "!!this.shadowRoot"
124864
+ },
124865
+ {
124866
+ "kind": "method",
124867
+ "name": "toggleState",
124868
+ "privacy": "protected",
124869
+ "return": {
124870
+ "type": {
124871
+ "text": "void"
124872
+ }
124873
+ },
124874
+ "parameters": [
124875
+ {
124876
+ "name": "value",
124877
+ "type": {
124878
+ "text": "string"
124879
+ }
124880
+ },
124881
+ {
124882
+ "name": "force",
124883
+ "optional": true,
124884
+ "type": {
124885
+ "text": "boolean"
124886
+ }
124887
+ }
124888
+ ],
124889
+ "inheritedFrom": {
124890
+ "name": "SbbElement",
124891
+ "module": "core/base-elements/element.js"
124892
+ }
124893
+ },
124894
+ {
124895
+ "kind": "field",
124896
+ "name": "['_$sbbElement$']",
124897
+ "type": {
124898
+ "text": "boolean"
124899
+ },
124900
+ "privacy": "public",
124901
+ "static": true,
124902
+ "default": "true",
124903
+ "inheritedFrom": {
124904
+ "name": "SbbElement",
124905
+ "module": "core/base-elements/element.js"
124906
+ }
124907
+ },
124908
+ {
124909
+ "kind": "field",
124910
+ "name": "_controllers",
124911
+ "type": {
124912
+ "text": "Set<SbbReactiveController> | undefined"
124913
+ },
124914
+ "privacy": "private",
124915
+ "inheritedFrom": {
124916
+ "name": "SbbElement",
124917
+ "module": "core/base-elements/element.js"
124918
+ }
124919
+ }
124920
+ ],
124921
+ "attributes": [
124922
+ {
124923
+ "name": "focusable",
124924
+ "type": {
124925
+ "text": "boolean"
124926
+ },
124927
+ "default": "false",
124928
+ "description": "Whether the table wrapper is focusable.",
124929
+ "fieldName": "focusable"
124930
+ },
124931
+ {
124932
+ "name": "negative",
124933
+ "type": {
124934
+ "text": "boolean"
124935
+ },
124936
+ "default": "false",
124937
+ "description": "Negative coloring variant flag.",
124938
+ "fieldName": "negative",
124939
+ "inheritedFrom": {
124940
+ "name": "SbbNegativeMixin",
124941
+ "module": "core/mixins/negative-mixin.js"
124942
+ }
124943
+ }
124944
+ ],
124945
+ "mixins": [
124946
+ {
124947
+ "name": "SbbNegativeMixin",
124948
+ "module": "core/mixins.js"
124949
+ }
124950
+ ],
124951
+ "superclass": {
124952
+ "name": "SbbElement",
124953
+ "module": "core/base-elements.js"
124954
+ },
124955
+ "tagName": "sbb-table-wrapper",
124956
+ "customElement": true
124957
+ }
124958
+ ],
124959
+ "exports": [
124960
+ {
124961
+ "kind": "js",
124962
+ "name": "SbbTableWrapperElement",
124963
+ "declaration": {
124964
+ "name": "SbbTableWrapperElement",
124965
+ "module": "table/table-wrapper/table-wrapper.component.js"
124966
+ }
124967
+ }
124968
+ ]
124969
+ },
124970
124970
  {
124971
124971
  "kind": "javascript-module",
124972
124972
  "path": "tabs/common/styles.js",