@sbb-esta/lyne-elements-dev 4.13.0-dev.1780463572 → 4.13.0-dev.1780466217

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 +1251 -1251
  2. package/package.json +2 -2
@@ -94748,253 +94748,6 @@
94748
94748
  }
94749
94749
  ]
94750
94750
  },
94751
- {
94752
- "kind": "javascript-module",
94753
- "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
94754
- "declarations": [
94755
- {
94756
- "kind": "class",
94757
- "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
94758
- "name": "SbbFormFieldTextCounterElement",
94759
- "slots": [
94760
- {
94761
- "description": "Use the unnamed slot to display a custom description text after the counter.",
94762
- "name": "",
94763
- "inheritedFrom": {
94764
- "name": "SbbHintElement",
94765
- "module": "form-field/hint/hint.component.js"
94766
- }
94767
- }
94768
- ],
94769
- "members": [
94770
- {
94771
- "kind": "field",
94772
- "name": "elementName",
94773
- "type": {
94774
- "text": "string"
94775
- },
94776
- "privacy": "public",
94777
- "static": true,
94778
- "readonly": true,
94779
- "default": "'sbb-form-field-text-counter'",
94780
- "inheritedFrom": {
94781
- "name": "SbbElement",
94782
- "module": "core/base-elements/element.js"
94783
- }
94784
- },
94785
- {
94786
- "kind": "field",
94787
- "name": "_remainingCharacters",
94788
- "type": {
94789
- "text": "number"
94790
- },
94791
- "privacy": "private",
94792
- "default": "0"
94793
- },
94794
- {
94795
- "kind": "field",
94796
- "name": "_language",
94797
- "privacy": "private",
94798
- "default": "new SbbLanguageController(this)"
94799
- },
94800
- {
94801
- "kind": "field",
94802
- "name": "_abortController",
94803
- "type": {
94804
- "text": "AbortController | null"
94805
- },
94806
- "privacy": "private",
94807
- "default": "null"
94808
- },
94809
- {
94810
- "kind": "method",
94811
- "name": "_onInputUpdate",
94812
- "privacy": "private",
94813
- "return": {
94814
- "type": {
94815
- "text": "void"
94816
- }
94817
- }
94818
- },
94819
- {
94820
- "kind": "method",
94821
- "name": "_infoText",
94822
- "privacy": "private",
94823
- "return": {
94824
- "type": {
94825
- "text": "string"
94826
- }
94827
- }
94828
- },
94829
- {
94830
- "kind": "field",
94831
- "name": "negative",
94832
- "type": {
94833
- "text": "boolean"
94834
- },
94835
- "privacy": "public",
94836
- "default": "false",
94837
- "description": "Negative coloring variant flag.",
94838
- "attribute": "negative",
94839
- "reflects": true,
94840
- "inheritedFrom": {
94841
- "name": "SbbNegativeMixin",
94842
- "module": "core/mixins/negative-mixin.js"
94843
- }
94844
- },
94845
- {
94846
- "kind": "field",
94847
- "name": "formField",
94848
- "type": {
94849
- "text": "SbbFormFieldElement | null"
94850
- },
94851
- "privacy": "protected",
94852
- "default": "null",
94853
- "inheritedFrom": {
94854
- "name": "SbbHintElement",
94855
- "module": "form-field/hint/hint.component.js"
94856
- }
94857
- },
94858
- {
94859
- "kind": "field",
94860
- "name": "_hydrationRequired",
94861
- "type": {
94862
- "text": "boolean"
94863
- },
94864
- "privacy": "private",
94865
- "default": "!!this.shadowRoot",
94866
- "inheritedFrom": {
94867
- "name": "SbbElement",
94868
- "module": "core/base-elements/element.js"
94869
- }
94870
- },
94871
- {
94872
- "kind": "field",
94873
- "name": "_hydrationComplete",
94874
- "privacy": "private",
94875
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
94876
- "inheritedFrom": {
94877
- "name": "SbbElement",
94878
- "module": "core/base-elements/element.js"
94879
- }
94880
- },
94881
- {
94882
- "kind": "field",
94883
- "name": "_resolveHydration",
94884
- "type": {
94885
- "text": "(hydrationRequired: boolean) => void"
94886
- },
94887
- "privacy": "private",
94888
- "inheritedFrom": {
94889
- "name": "SbbElement",
94890
- "module": "core/base-elements/element.js"
94891
- }
94892
- },
94893
- {
94894
- "kind": "field",
94895
- "name": "hydrationRequired",
94896
- "type": {
94897
- "text": "boolean"
94898
- },
94899
- "privacy": "protected",
94900
- "description": "Returns whether hydration is required and not completed.",
94901
- "readonly": true,
94902
- "inheritedFrom": {
94903
- "name": "SbbElement",
94904
- "module": "core/base-elements/element.js"
94905
- },
94906
- "default": "!!this.shadowRoot"
94907
- },
94908
- {
94909
- "kind": "method",
94910
- "name": "toggleState",
94911
- "privacy": "protected",
94912
- "return": {
94913
- "type": {
94914
- "text": "void"
94915
- }
94916
- },
94917
- "parameters": [
94918
- {
94919
- "name": "value",
94920
- "type": {
94921
- "text": "string"
94922
- }
94923
- },
94924
- {
94925
- "name": "force",
94926
- "optional": true,
94927
- "type": {
94928
- "text": "boolean"
94929
- }
94930
- }
94931
- ],
94932
- "inheritedFrom": {
94933
- "name": "SbbElement",
94934
- "module": "core/base-elements/element.js"
94935
- }
94936
- },
94937
- {
94938
- "kind": "field",
94939
- "name": "['_$sbbElement$']",
94940
- "type": {
94941
- "text": "boolean"
94942
- },
94943
- "privacy": "public",
94944
- "static": true,
94945
- "default": "true",
94946
- "inheritedFrom": {
94947
- "name": "SbbElement",
94948
- "module": "core/base-elements/element.js"
94949
- }
94950
- },
94951
- {
94952
- "kind": "field",
94953
- "name": "_controllers",
94954
- "type": {
94955
- "text": "Set<SbbReactiveController> | undefined"
94956
- },
94957
- "privacy": "private",
94958
- "inheritedFrom": {
94959
- "name": "SbbElement",
94960
- "module": "core/base-elements/element.js"
94961
- }
94962
- }
94963
- ],
94964
- "superclass": {
94965
- "name": "SbbHintElement",
94966
- "module": "form-field/hint/hint.component.js"
94967
- },
94968
- "tagName": "sbb-form-field-text-counter",
94969
- "customElement": true,
94970
- "attributes": [
94971
- {
94972
- "name": "negative",
94973
- "type": {
94974
- "text": "boolean"
94975
- },
94976
- "default": "false",
94977
- "description": "Negative coloring variant flag.",
94978
- "fieldName": "negative",
94979
- "inheritedFrom": {
94980
- "name": "SbbNegativeMixin",
94981
- "module": "core/mixins/negative-mixin.js"
94982
- }
94983
- }
94984
- ]
94985
- }
94986
- ],
94987
- "exports": [
94988
- {
94989
- "kind": "js",
94990
- "name": "SbbFormFieldTextCounterElement",
94991
- "declaration": {
94992
- "name": "SbbFormFieldTextCounterElement",
94993
- "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
94994
- }
94995
- }
94996
- ]
94997
- },
94998
94751
  {
94999
94752
  "kind": "javascript-module",
95000
94753
  "path": "form-field/form-field-clear/form-field-clear.component.js",
@@ -95805,17 +95558,264 @@
95805
95558
  },
95806
95559
  {
95807
95560
  "kind": "javascript-module",
95808
- "path": "form-field/hint/hint.component.js",
95561
+ "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
95809
95562
  "declarations": [
95810
95563
  {
95811
95564
  "kind": "class",
95812
- "description": "It displays a hint message in the `sbb-form-field`.",
95813
- "name": "SbbHintElement",
95565
+ "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
95566
+ "name": "SbbFormFieldTextCounterElement",
95814
95567
  "slots": [
95815
95568
  {
95816
- "description": "Use the unnamed slot to display the hint message.",
95817
- "name": ""
95818
- }
95569
+ "description": "Use the unnamed slot to display a custom description text after the counter.",
95570
+ "name": "",
95571
+ "inheritedFrom": {
95572
+ "name": "SbbHintElement",
95573
+ "module": "form-field/hint/hint.component.js"
95574
+ }
95575
+ }
95576
+ ],
95577
+ "members": [
95578
+ {
95579
+ "kind": "field",
95580
+ "name": "elementName",
95581
+ "type": {
95582
+ "text": "string"
95583
+ },
95584
+ "privacy": "public",
95585
+ "static": true,
95586
+ "readonly": true,
95587
+ "default": "'sbb-form-field-text-counter'",
95588
+ "inheritedFrom": {
95589
+ "name": "SbbElement",
95590
+ "module": "core/base-elements/element.js"
95591
+ }
95592
+ },
95593
+ {
95594
+ "kind": "field",
95595
+ "name": "_remainingCharacters",
95596
+ "type": {
95597
+ "text": "number"
95598
+ },
95599
+ "privacy": "private",
95600
+ "default": "0"
95601
+ },
95602
+ {
95603
+ "kind": "field",
95604
+ "name": "_language",
95605
+ "privacy": "private",
95606
+ "default": "new SbbLanguageController(this)"
95607
+ },
95608
+ {
95609
+ "kind": "field",
95610
+ "name": "_abortController",
95611
+ "type": {
95612
+ "text": "AbortController | null"
95613
+ },
95614
+ "privacy": "private",
95615
+ "default": "null"
95616
+ },
95617
+ {
95618
+ "kind": "method",
95619
+ "name": "_onInputUpdate",
95620
+ "privacy": "private",
95621
+ "return": {
95622
+ "type": {
95623
+ "text": "void"
95624
+ }
95625
+ }
95626
+ },
95627
+ {
95628
+ "kind": "method",
95629
+ "name": "_infoText",
95630
+ "privacy": "private",
95631
+ "return": {
95632
+ "type": {
95633
+ "text": "string"
95634
+ }
95635
+ }
95636
+ },
95637
+ {
95638
+ "kind": "field",
95639
+ "name": "negative",
95640
+ "type": {
95641
+ "text": "boolean"
95642
+ },
95643
+ "privacy": "public",
95644
+ "default": "false",
95645
+ "description": "Negative coloring variant flag.",
95646
+ "attribute": "negative",
95647
+ "reflects": true,
95648
+ "inheritedFrom": {
95649
+ "name": "SbbNegativeMixin",
95650
+ "module": "core/mixins/negative-mixin.js"
95651
+ }
95652
+ },
95653
+ {
95654
+ "kind": "field",
95655
+ "name": "formField",
95656
+ "type": {
95657
+ "text": "SbbFormFieldElement | null"
95658
+ },
95659
+ "privacy": "protected",
95660
+ "default": "null",
95661
+ "inheritedFrom": {
95662
+ "name": "SbbHintElement",
95663
+ "module": "form-field/hint/hint.component.js"
95664
+ }
95665
+ },
95666
+ {
95667
+ "kind": "field",
95668
+ "name": "_hydrationRequired",
95669
+ "type": {
95670
+ "text": "boolean"
95671
+ },
95672
+ "privacy": "private",
95673
+ "default": "!!this.shadowRoot",
95674
+ "inheritedFrom": {
95675
+ "name": "SbbElement",
95676
+ "module": "core/base-elements/element.js"
95677
+ }
95678
+ },
95679
+ {
95680
+ "kind": "field",
95681
+ "name": "_hydrationComplete",
95682
+ "privacy": "private",
95683
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
95684
+ "inheritedFrom": {
95685
+ "name": "SbbElement",
95686
+ "module": "core/base-elements/element.js"
95687
+ }
95688
+ },
95689
+ {
95690
+ "kind": "field",
95691
+ "name": "_resolveHydration",
95692
+ "type": {
95693
+ "text": "(hydrationRequired: boolean) => void"
95694
+ },
95695
+ "privacy": "private",
95696
+ "inheritedFrom": {
95697
+ "name": "SbbElement",
95698
+ "module": "core/base-elements/element.js"
95699
+ }
95700
+ },
95701
+ {
95702
+ "kind": "field",
95703
+ "name": "hydrationRequired",
95704
+ "type": {
95705
+ "text": "boolean"
95706
+ },
95707
+ "privacy": "protected",
95708
+ "description": "Returns whether hydration is required and not completed.",
95709
+ "readonly": true,
95710
+ "inheritedFrom": {
95711
+ "name": "SbbElement",
95712
+ "module": "core/base-elements/element.js"
95713
+ },
95714
+ "default": "!!this.shadowRoot"
95715
+ },
95716
+ {
95717
+ "kind": "method",
95718
+ "name": "toggleState",
95719
+ "privacy": "protected",
95720
+ "return": {
95721
+ "type": {
95722
+ "text": "void"
95723
+ }
95724
+ },
95725
+ "parameters": [
95726
+ {
95727
+ "name": "value",
95728
+ "type": {
95729
+ "text": "string"
95730
+ }
95731
+ },
95732
+ {
95733
+ "name": "force",
95734
+ "optional": true,
95735
+ "type": {
95736
+ "text": "boolean"
95737
+ }
95738
+ }
95739
+ ],
95740
+ "inheritedFrom": {
95741
+ "name": "SbbElement",
95742
+ "module": "core/base-elements/element.js"
95743
+ }
95744
+ },
95745
+ {
95746
+ "kind": "field",
95747
+ "name": "['_$sbbElement$']",
95748
+ "type": {
95749
+ "text": "boolean"
95750
+ },
95751
+ "privacy": "public",
95752
+ "static": true,
95753
+ "default": "true",
95754
+ "inheritedFrom": {
95755
+ "name": "SbbElement",
95756
+ "module": "core/base-elements/element.js"
95757
+ }
95758
+ },
95759
+ {
95760
+ "kind": "field",
95761
+ "name": "_controllers",
95762
+ "type": {
95763
+ "text": "Set<SbbReactiveController> | undefined"
95764
+ },
95765
+ "privacy": "private",
95766
+ "inheritedFrom": {
95767
+ "name": "SbbElement",
95768
+ "module": "core/base-elements/element.js"
95769
+ }
95770
+ }
95771
+ ],
95772
+ "superclass": {
95773
+ "name": "SbbHintElement",
95774
+ "module": "form-field/hint/hint.component.js"
95775
+ },
95776
+ "tagName": "sbb-form-field-text-counter",
95777
+ "customElement": true,
95778
+ "attributes": [
95779
+ {
95780
+ "name": "negative",
95781
+ "type": {
95782
+ "text": "boolean"
95783
+ },
95784
+ "default": "false",
95785
+ "description": "Negative coloring variant flag.",
95786
+ "fieldName": "negative",
95787
+ "inheritedFrom": {
95788
+ "name": "SbbNegativeMixin",
95789
+ "module": "core/mixins/negative-mixin.js"
95790
+ }
95791
+ }
95792
+ ]
95793
+ }
95794
+ ],
95795
+ "exports": [
95796
+ {
95797
+ "kind": "js",
95798
+ "name": "SbbFormFieldTextCounterElement",
95799
+ "declaration": {
95800
+ "name": "SbbFormFieldTextCounterElement",
95801
+ "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
95802
+ }
95803
+ }
95804
+ ]
95805
+ },
95806
+ {
95807
+ "kind": "javascript-module",
95808
+ "path": "form-field/hint/hint.component.js",
95809
+ "declarations": [
95810
+ {
95811
+ "kind": "class",
95812
+ "description": "It displays a hint message in the `sbb-form-field`.",
95813
+ "name": "SbbHintElement",
95814
+ "slots": [
95815
+ {
95816
+ "description": "Use the unnamed slot to display the hint message.",
95817
+ "name": ""
95818
+ }
95819
95819
  ],
95820
95820
  "members": [
95821
95821
  {
@@ -107333,12 +107333,12 @@
107333
107333
  },
107334
107334
  {
107335
107335
  "kind": "javascript-module",
107336
- "path": "menu/menu-button/menu-button.component.js",
107336
+ "path": "menu/menu-link/menu-link.component.js",
107337
107337
  "declarations": [
107338
107338
  {
107339
107339
  "kind": "class",
107340
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
107341
- "name": "SbbMenuButtonElement",
107340
+ "description": "It displays a link element that can be used in the `sbb-menu` component.",
107341
+ "name": "SbbMenuLinkElement",
107342
107342
  "cssProperties": [
107343
107343
  {
107344
107344
  "description": "Can be used to modify horizontal padding.",
@@ -107348,7 +107348,7 @@
107348
107348
  ],
107349
107349
  "slots": [
107350
107350
  {
107351
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107351
+ "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
107352
107352
  "name": ""
107353
107353
  },
107354
107354
  {
@@ -107370,21 +107370,20 @@
107370
107370
  "name": "SbbElement",
107371
107371
  "module": "core/base-elements/element.js"
107372
107372
  },
107373
- "default": "'sbb-menu-button'"
107373
+ "default": "'sbb-menu-link'"
107374
107374
  },
107375
107375
  {
107376
107376
  "kind": "field",
107377
- "name": "role",
107377
+ "name": "anchorRole",
107378
107378
  "type": {
107379
- "text": "ElementInternals['role']"
107379
+ "text": "string"
107380
107380
  },
107381
- "privacy": "public",
107382
- "static": true,
107381
+ "privacy": "protected",
107383
107382
  "readonly": true,
107384
107383
  "default": "'menuitem'",
107385
107384
  "inheritedFrom": {
107386
- "name": "SbbButtonLikeBaseElement",
107387
- "module": "core/base-elements/button-base-element.js"
107385
+ "name": "SbbLinkBaseElement",
107386
+ "module": "core/base-elements/link-base-element.js"
107388
107387
  }
107389
107388
  },
107390
107389
  {
@@ -107403,50 +107402,6 @@
107403
107402
  "module": "core/mixins/disabled-mixin.js"
107404
107403
  }
107405
107404
  },
107406
- {
107407
- "kind": "field",
107408
- "name": "disabled",
107409
- "privacy": "public",
107410
- "description": "Whether the component is disabled.",
107411
- "default": "false",
107412
- "type": {
107413
- "text": "boolean"
107414
- },
107415
- "attribute": "disabled",
107416
- "reflects": true,
107417
- "inheritedFrom": {
107418
- "name": "SbbDisabledMixin",
107419
- "module": "core/mixins/disabled-mixin.js"
107420
- }
107421
- },
107422
- {
107423
- "kind": "field",
107424
- "name": "#disabled",
107425
- "privacy": "private",
107426
- "type": {
107427
- "text": "boolean"
107428
- },
107429
- "default": "false",
107430
- "inheritedFrom": {
107431
- "name": "SbbDisabledMixin",
107432
- "module": "core/mixins/disabled-mixin.js"
107433
- }
107434
- },
107435
- {
107436
- "kind": "method",
107437
- "name": "isDisabledExternally",
107438
- "privacy": "protected",
107439
- "return": {
107440
- "type": {
107441
- "text": "boolean"
107442
- }
107443
- },
107444
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107445
- "inheritedFrom": {
107446
- "name": "SbbDisabledMixin",
107447
- "module": "core/mixins/disabled-mixin.js"
107448
- }
107449
- },
107450
107405
  {
107451
107406
  "kind": "field",
107452
107407
  "name": "styles",
@@ -107544,308 +107499,276 @@
107544
107499
  },
107545
107500
  {
107546
107501
  "kind": "field",
107547
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
107502
+ "name": "disabled",
107503
+ "privacy": "public",
107504
+ "description": "Whether the component is disabled.",
107505
+ "default": "false",
107548
107506
  "type": {
107549
- "text": "array"
107507
+ "text": "boolean"
107550
107508
  },
107551
- "privacy": "private",
107552
- "readonly": true,
107553
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
107509
+ "attribute": "disabled",
107510
+ "reflects": true,
107554
107511
  "inheritedFrom": {
107555
- "name": "SbbButtonBaseElement",
107556
- "module": "core/base-elements/button-base-element.js"
107512
+ "name": "SbbDisabledMixin",
107513
+ "module": "core/mixins/disabled-mixin.js"
107557
107514
  }
107558
107515
  },
107559
107516
  {
107560
107517
  "kind": "field",
107561
- "name": "value",
107518
+ "name": "#disabled",
107519
+ "privacy": "private",
107562
107520
  "type": {
107563
- "text": "string"
107521
+ "text": "boolean"
107564
107522
  },
107565
- "privacy": "public",
107523
+ "default": "false",
107566
107524
  "inheritedFrom": {
107567
- "name": "SbbButtonBaseElement",
107568
- "module": "core/base-elements/button-base-element.js"
107569
- },
107570
- "default": "''",
107571
- "description": "Value of the form element.",
107572
- "attribute": "value"
107525
+ "name": "SbbDisabledMixin",
107526
+ "module": "core/mixins/disabled-mixin.js"
107527
+ }
107573
107528
  },
107574
107529
  {
107575
- "kind": "field",
107576
- "name": "type",
107577
- "privacy": "public",
107578
- "description": "The type attribute to use for the button.",
107579
- "default": "'button'",
107580
- "type": {
107581
- "text": "SbbButtonType"
107530
+ "kind": "method",
107531
+ "name": "isDisabledExternally",
107532
+ "privacy": "protected",
107533
+ "return": {
107534
+ "type": {
107535
+ "text": "boolean"
107536
+ }
107582
107537
  },
107583
- "attribute": "type",
107538
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
107584
107539
  "inheritedFrom": {
107585
- "name": "SbbButtonBaseElement",
107586
- "module": "core/base-elements/button-base-element.js"
107540
+ "name": "SbbDisabledMixin",
107541
+ "module": "core/mixins/disabled-mixin.js"
107587
107542
  }
107588
107543
  },
107589
107544
  {
107590
107545
  "kind": "field",
107591
- "name": "form",
107546
+ "name": "href",
107592
107547
  "type": {
107593
- "text": "HTMLFormElement | null"
107548
+ "text": "string"
107594
107549
  },
107595
107550
  "privacy": "public",
107596
- "description": "The `<form>` element to associate the button with.",
107551
+ "default": "''",
107552
+ "description": "The href value you want to link to.",
107553
+ "attribute": "href",
107554
+ "reflects": true,
107597
107555
  "inheritedFrom": {
107598
- "name": "SbbButtonBaseElement",
107599
- "module": "core/base-elements/button-base-element.js"
107600
- },
107601
- "attribute": "form"
107556
+ "name": "SbbLinkBaseElement",
107557
+ "module": "core/base-elements/link-base-element.js"
107558
+ }
107602
107559
  },
107603
107560
  {
107604
107561
  "kind": "field",
107605
- "name": "_formId",
107562
+ "name": "target",
107606
107563
  "type": {
107607
- "text": "string"
107564
+ "text": "LinkTargetType | string"
107608
107565
  },
107609
- "privacy": "private",
107566
+ "privacy": "public",
107610
107567
  "default": "''",
107568
+ "description": "Where to display the linked URL.",
107569
+ "attribute": "target",
107570
+ "reflects": true,
107611
107571
  "inheritedFrom": {
107612
- "name": "SbbButtonBaseElement",
107613
- "module": "core/base-elements/button-base-element.js"
107572
+ "name": "SbbLinkBaseElement",
107573
+ "module": "core/base-elements/link-base-element.js"
107614
107574
  }
107615
107575
  },
107616
107576
  {
107617
107577
  "kind": "field",
107618
- "name": "_handleButtonClick",
107619
- "privacy": "private",
107620
- "inheritedFrom": {
107621
- "name": "SbbButtonBaseElement",
107622
- "module": "core/base-elements/button-base-element.js"
107623
- }
107624
- },
107625
- {
107626
- "kind": "method",
107627
- "name": "_requestSubmit",
107628
- "privacy": "private",
107629
- "return": {
107630
- "type": {
107631
- "text": "void"
107632
- }
107578
+ "name": "rel",
107579
+ "type": {
107580
+ "text": "string"
107633
107581
  },
107634
- "parameters": [
107635
- {
107636
- "name": "form",
107637
- "type": {
107638
- "text": "HTMLFormElement"
107639
- }
107640
- }
107641
- ],
107642
- "inheritedFrom": {
107643
- "name": "SbbButtonBaseElement",
107644
- "module": "core/base-elements/button-base-element.js"
107645
- }
107646
- },
107647
- {
107648
- "kind": "field",
107649
- "name": "_formKeyDown",
107650
- "privacy": "private",
107582
+ "privacy": "public",
107583
+ "default": "''",
107584
+ "description": "The relationship of the linked URL as space-separated link types.",
107585
+ "attribute": "rel",
107586
+ "reflects": true,
107651
107587
  "inheritedFrom": {
107652
- "name": "SbbButtonBaseElement",
107653
- "module": "core/base-elements/button-base-element.js"
107588
+ "name": "SbbLinkBaseElement",
107589
+ "module": "core/base-elements/link-base-element.js"
107654
107590
  }
107655
107591
  },
107656
107592
  {
107657
107593
  "kind": "field",
107658
- "name": "formAssociated",
107594
+ "name": "download",
107659
107595
  "type": {
107660
107596
  "text": "boolean"
107661
107597
  },
107662
107598
  "privacy": "public",
107663
- "static": true,
107664
- "default": "true",
107599
+ "default": "false",
107600
+ "description": "Whether the browser will show the download dialog on click.",
107601
+ "attribute": "download",
107602
+ "reflects": true,
107665
107603
  "inheritedFrom": {
107666
- "name": "SbbFormAssociatedMixin",
107667
- "module": "core/mixins/form-associated-mixin.js"
107604
+ "name": "SbbLinkBaseElement",
107605
+ "module": "core/base-elements/link-base-element.js"
107668
107606
  }
107669
107607
  },
107670
107608
  {
107671
107609
  "kind": "field",
107672
- "name": "name",
107673
- "privacy": "public",
107674
- "description": "Name of the form element. Will be read from name attribute.",
107610
+ "name": "accessibilityLabel",
107675
107611
  "type": {
107676
107612
  "text": "string"
107677
107613
  },
107678
- "attribute": "name",
107679
- "inheritedFrom": {
107680
- "name": "SbbFormAssociatedMixin",
107681
- "module": "core/mixins/form-associated-mixin.js"
107682
- }
107683
- },
107684
- {
107685
- "kind": "field",
107686
- "name": "validity",
107687
- "type": {
107688
- "text": "ValidityState"
107689
- },
107690
107614
  "privacy": "public",
107691
- "description": "Returns the ValidityState object for this element.",
107692
- "readonly": true,
107615
+ "default": "''",
107616
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
107617
+ "attribute": "accessibility-label",
107693
107618
  "inheritedFrom": {
107694
- "name": "SbbFormAssociatedMixin",
107695
- "module": "core/mixins/form-associated-mixin.js"
107619
+ "name": "SbbLinkBaseElement",
107620
+ "module": "core/base-elements/link-base-element.js"
107696
107621
  }
107697
107622
  },
107698
107623
  {
107699
107624
  "kind": "field",
107700
- "name": "validationMessage",
107625
+ "name": "accessibilityCurrent",
107701
107626
  "type": {
107702
107627
  "text": "string"
107703
107628
  },
107704
107629
  "privacy": "public",
107705
- "description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
107706
- "readonly": true,
107630
+ "default": "''",
107631
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
107632
+ "attribute": "accessibility-current",
107707
107633
  "inheritedFrom": {
107708
- "name": "SbbFormAssociatedMixin",
107709
- "module": "core/mixins/form-associated-mixin.js"
107634
+ "name": "SbbLinkBaseElement",
107635
+ "module": "core/base-elements/link-base-element.js"
107710
107636
  }
107711
107637
  },
107712
107638
  {
107713
107639
  "kind": "field",
107714
- "name": "willValidate",
107715
- "type": {
107716
- "text": "boolean"
107717
- },
107718
- "privacy": "public",
107719
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
107720
- "readonly": true,
107640
+ "name": "language",
107641
+ "privacy": "protected",
107642
+ "default": "new SbbLanguageController(this)",
107721
107643
  "inheritedFrom": {
107722
- "name": "SbbFormAssociatedMixin",
107723
- "module": "core/mixins/form-associated-mixin.js"
107644
+ "name": "SbbLinkBaseElement",
107645
+ "module": "core/base-elements/link-base-element.js"
107724
107646
  }
107725
107647
  },
107726
107648
  {
107727
107649
  "kind": "field",
107728
- "name": "_validityStates",
107650
+ "name": "_evaluateRelAttribute",
107729
107651
  "privacy": "private",
107730
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
107731
107652
  "inheritedFrom": {
107732
- "name": "SbbFormAssociatedMixin",
107733
- "module": "core/mixins/form-associated-mixin.js"
107653
+ "name": "SbbLinkBaseElement",
107654
+ "module": "core/base-elements/link-base-element.js"
107734
107655
  }
107735
107656
  },
107736
107657
  {
107737
- "kind": "field",
107738
- "name": "formDisabled",
107739
- "type": {
107740
- "text": "boolean"
107741
- },
107658
+ "kind": "method",
107659
+ "name": "renderLink",
107742
107660
  "privacy": "protected",
107743
- "default": "false",
107744
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
107661
+ "return": {
107662
+ "type": {
107663
+ "text": "TemplateResult"
107664
+ }
107665
+ },
107666
+ "parameters": [
107667
+ {
107668
+ "name": "renderContent",
107669
+ "type": {
107670
+ "text": "TemplateResult"
107671
+ }
107672
+ }
107673
+ ],
107745
107674
  "inheritedFrom": {
107746
- "name": "SbbFormAssociatedMixin",
107747
- "module": "core/mixins/form-associated-mixin.js"
107675
+ "name": "SbbLinkBaseElement",
107676
+ "module": "core/base-elements/link-base-element.js"
107748
107677
  }
107749
107678
  },
107750
107679
  {
107751
- "kind": "method",
107752
- "name": "checkValidity",
107753
- "privacy": "public",
107754
- "return": {
107755
- "type": {
107756
- "text": "boolean"
107757
- }
107680
+ "kind": "field",
107681
+ "name": "maybeDisabled",
107682
+ "type": {
107683
+ "text": "boolean | undefined"
107758
107684
  },
107759
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
107685
+ "privacy": "protected",
107686
+ "readonly": true,
107760
107687
  "inheritedFrom": {
107761
- "name": "SbbFormAssociatedMixin",
107762
- "module": "core/mixins/form-associated-mixin.js"
107688
+ "name": "SbbActionBaseElement",
107689
+ "module": "core/base-elements/action-base-element.js"
107763
107690
  }
107764
107691
  },
107765
107692
  {
107766
- "kind": "method",
107767
- "name": "reportValidity",
107768
- "privacy": "public",
107769
- "return": {
107770
- "type": {
107771
- "text": "boolean"
107772
- }
107693
+ "kind": "field",
107694
+ "name": "maybeDisabledInteractive",
107695
+ "type": {
107696
+ "text": "boolean | undefined"
107773
107697
  },
107774
- "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
107698
+ "privacy": "protected",
107699
+ "readonly": true,
107775
107700
  "inheritedFrom": {
107776
- "name": "SbbFormAssociatedMixin",
107777
- "module": "core/mixins/form-associated-mixin.js"
107701
+ "name": "SbbActionBaseElement",
107702
+ "module": "core/base-elements/action-base-element.js"
107778
107703
  }
107779
107704
  },
107780
107705
  {
107781
107706
  "kind": "method",
107782
- "name": "setCustomValidity",
107783
- "privacy": "public",
107707
+ "name": "setupBaseEventHandlers",
107708
+ "privacy": "protected",
107784
107709
  "return": {
107785
107710
  "type": {
107786
107711
  "text": "void"
107787
107712
  }
107788
107713
  },
107789
- "parameters": [
107790
- {
107791
- "name": "message",
107792
- "type": {
107793
- "text": "string"
107794
- }
107795
- }
107796
- ],
107797
- "description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
107798
107714
  "inheritedFrom": {
107799
- "name": "SbbFormAssociatedMixin",
107800
- "module": "core/mixins/form-associated-mixin.js"
107715
+ "name": "SbbActionBaseElement",
107716
+ "module": "core/base-elements/action-base-element.js"
107801
107717
  }
107802
107718
  },
107803
107719
  {
107804
- "kind": "method",
107805
- "name": "_hasDisabledAncestor",
107806
- "privacy": "private",
107807
- "return": {
107808
- "type": {
107809
- "text": "boolean"
107810
- }
107720
+ "kind": "field",
107721
+ "name": "_hydrationRequired",
107722
+ "type": {
107723
+ "text": "boolean"
107811
107724
  },
107725
+ "privacy": "private",
107726
+ "default": "!!this.shadowRoot",
107812
107727
  "inheritedFrom": {
107813
- "name": "SbbFormAssociatedMixin",
107814
- "module": "core/mixins/form-associated-mixin.js"
107728
+ "name": "SbbElement",
107729
+ "module": "core/base-elements/element.js"
107815
107730
  }
107816
107731
  },
107817
107732
  {
107818
- "kind": "method",
107819
- "name": "updateFormValue",
107820
- "privacy": "protected",
107821
- "return": {
107822
- "type": {
107823
- "text": "void"
107824
- }
107825
- },
107826
- "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
107733
+ "kind": "field",
107734
+ "name": "_hydrationComplete",
107735
+ "privacy": "private",
107736
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
107827
107737
  "inheritedFrom": {
107828
- "name": "SbbFormAssociatedMixin",
107829
- "module": "core/mixins/form-associated-mixin.js"
107738
+ "name": "SbbElement",
107739
+ "module": "core/base-elements/element.js"
107830
107740
  }
107831
107741
  },
107832
107742
  {
107833
- "kind": "method",
107834
- "name": "formState",
107835
- "privacy": "protected",
107836
- "return": {
107837
- "type": {
107838
- "text": "FormRestoreState"
107839
- }
107743
+ "kind": "field",
107744
+ "name": "_resolveHydration",
107745
+ "type": {
107746
+ "text": "(hydrationRequired: boolean) => void"
107840
107747
  },
107748
+ "privacy": "private",
107841
107749
  "inheritedFrom": {
107842
- "name": "SbbFormAssociatedMixin",
107843
- "module": "core/mixins/form-associated-mixin.js"
107750
+ "name": "SbbElement",
107751
+ "module": "core/base-elements/element.js"
107844
107752
  }
107845
107753
  },
107754
+ {
107755
+ "kind": "field",
107756
+ "name": "hydrationRequired",
107757
+ "type": {
107758
+ "text": "boolean"
107759
+ },
107760
+ "privacy": "protected",
107761
+ "description": "Returns whether hydration is required and not completed.",
107762
+ "readonly": true,
107763
+ "inheritedFrom": {
107764
+ "name": "SbbElement",
107765
+ "module": "core/base-elements/element.js"
107766
+ },
107767
+ "default": "!!this.shadowRoot"
107768
+ },
107846
107769
  {
107847
107770
  "kind": "method",
107848
- "name": "setValidityFlag",
107771
+ "name": "toggleState",
107849
107772
  "privacy": "protected",
107850
107773
  "return": {
107851
107774
  "type": {
@@ -107854,765 +107777,870 @@
107854
107777
  },
107855
107778
  "parameters": [
107856
107779
  {
107857
- "name": "flag",
107858
- "type": {
107859
- "text": "T"
107860
- }
107861
- },
107862
- {
107863
- "name": "message",
107780
+ "name": "value",
107864
107781
  "type": {
107865
107782
  "text": "string"
107866
107783
  }
107867
107784
  },
107868
107785
  {
107869
- "name": "flagValue",
107786
+ "name": "force",
107870
107787
  "optional": true,
107871
107788
  "type": {
107872
- "text": "ValidityStateFlags[T]"
107789
+ "text": "boolean"
107873
107790
  }
107874
107791
  }
107875
107792
  ],
107876
- "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
107877
107793
  "inheritedFrom": {
107878
- "name": "SbbFormAssociatedMixin",
107879
- "module": "core/mixins/form-associated-mixin.js"
107794
+ "name": "SbbElement",
107795
+ "module": "core/base-elements/element.js"
107880
107796
  }
107881
107797
  },
107882
107798
  {
107883
- "kind": "method",
107884
- "name": "removeValidityFlag",
107885
- "privacy": "protected",
107886
- "return": {
107887
- "type": {
107888
- "text": "void"
107889
- }
107799
+ "kind": "field",
107800
+ "name": "['_$sbbElement$']",
107801
+ "type": {
107802
+ "text": "boolean"
107890
107803
  },
107891
- "parameters": [
107892
- {
107893
- "name": "flag",
107894
- "type": {
107895
- "text": "T"
107896
- }
107897
- }
107898
- ],
107899
- "description": "Removes the validity state flag entry and updates validity state.",
107804
+ "privacy": "public",
107805
+ "static": true,
107806
+ "default": "true",
107900
107807
  "inheritedFrom": {
107901
- "name": "SbbFormAssociatedMixin",
107902
- "module": "core/mixins/form-associated-mixin.js"
107808
+ "name": "SbbElement",
107809
+ "module": "core/base-elements/element.js"
107903
107810
  }
107904
107811
  },
107905
107812
  {
107906
- "kind": "method",
107907
- "name": "validate",
107908
- "privacy": "protected",
107909
- "return": {
107910
- "type": {
107911
- "text": "void"
107912
- }
107813
+ "kind": "field",
107814
+ "name": "_controllers",
107815
+ "type": {
107816
+ "text": "Set<SbbReactiveController> | undefined"
107913
107817
  },
107914
- "description": "To be called whenever the current element needs to be validated.",
107818
+ "privacy": "private",
107915
107819
  "inheritedFrom": {
107916
- "name": "SbbFormAssociatedMixin",
107917
- "module": "core/mixins/form-associated-mixin.js"
107820
+ "name": "SbbElement",
107821
+ "module": "core/base-elements/element.js"
107918
107822
  }
107823
+ }
107824
+ ],
107825
+ "mixins": [
107826
+ {
107827
+ "name": "SbbDisabledInteractiveMixin",
107828
+ "module": "core/mixins.js"
107919
107829
  },
107920
107830
  {
107921
- "kind": "method",
107922
- "name": "shouldValidate",
107923
- "privacy": "protected",
107924
- "return": {
107925
- "type": {
107926
- "text": "boolean"
107927
- }
107831
+ "name": "SbbMenuActionCommonElementMixin",
107832
+ "module": "menu/common/menu-action-common.js"
107833
+ }
107834
+ ],
107835
+ "superclass": {
107836
+ "name": "SbbLinkBaseElement",
107837
+ "module": "core/base-elements.js"
107838
+ },
107839
+ "tagName": "sbb-menu-link",
107840
+ "customElement": true,
107841
+ "attributes": [
107842
+ {
107843
+ "name": "disabled-interactive",
107844
+ "type": {
107845
+ "text": "boolean"
107928
107846
  },
107929
- "parameters": [
107930
- {
107931
- "name": "name",
107932
- "type": {
107933
- "text": "PropertyKey | undefined"
107934
- }
107935
- }
107936
- ],
107937
- "description": "Whether validation should be run on a property change with the given name.",
107847
+ "default": "false",
107848
+ "description": "Whether the button should be aria-disabled but stay interactive.",
107849
+ "fieldName": "disabledInteractive",
107938
107850
  "inheritedFrom": {
107939
- "name": "SbbFormAssociatedMixin",
107940
- "module": "core/mixins/form-associated-mixin.js"
107851
+ "name": "SbbDisabledInteractiveMixin",
107852
+ "module": "core/mixins/disabled-mixin.js"
107941
107853
  }
107942
107854
  },
107943
107855
  {
107944
- "kind": "method",
107945
- "name": "_setInternalValidity",
107946
- "privacy": "private",
107947
- "return": {
107948
- "type": {
107949
- "text": "void"
107950
- }
107951
- },
107856
+ "name": "icon-name",
107857
+ "type": {
107858
+ "text": "string"
107859
+ },
107860
+ "default": "''",
107861
+ "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.",
107862
+ "fieldName": "iconName",
107952
107863
  "inheritedFrom": {
107953
- "name": "SbbFormAssociatedMixin",
107954
- "module": "core/mixins/form-associated-mixin.js"
107864
+ "name": "SbbIconNameMixin",
107865
+ "module": "icon/icon-name-mixin.js"
107955
107866
  }
107956
107867
  },
107957
107868
  {
107958
- "kind": "field",
107959
- "name": "_preventScrollOnSpaceKeydown",
107960
- "privacy": "private",
107961
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
107962
- "parameters": [
107963
- {
107964
- "description": "The origin event.",
107965
- "name": "event"
107966
- }
107967
- ],
107869
+ "name": "disabled",
107870
+ "description": "Whether the component is disabled.",
107871
+ "default": "false",
107872
+ "type": {
107873
+ "text": "boolean"
107874
+ },
107875
+ "fieldName": "disabled",
107968
107876
  "inheritedFrom": {
107969
- "name": "SbbButtonLikeBaseElement",
107970
- "module": "core/base-elements/button-base-element.js"
107877
+ "name": "SbbDisabledMixin",
107878
+ "module": "core/mixins/disabled-mixin.js"
107971
107879
  }
107972
107880
  },
107973
107881
  {
107974
- "kind": "field",
107975
- "name": "_removeActiveMarker",
107976
- "privacy": "private",
107882
+ "name": "href",
107883
+ "type": {
107884
+ "text": "string"
107885
+ },
107886
+ "default": "''",
107887
+ "description": "The href value you want to link to.",
107888
+ "fieldName": "href",
107977
107889
  "inheritedFrom": {
107978
- "name": "SbbButtonLikeBaseElement",
107979
- "module": "core/base-elements/button-base-element.js"
107890
+ "name": "SbbLinkBaseElement",
107891
+ "module": "core/base-elements/link-base-element.js"
107980
107892
  }
107981
107893
  },
107982
107894
  {
107983
- "kind": "field",
107984
- "name": "_dispatchClickEventOnSpaceKeyup",
107985
- "privacy": "private",
107986
- "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
107987
- "parameters": [
107988
- {
107989
- "description": "The origin event.",
107990
- "name": "event"
107991
- }
107992
- ],
107895
+ "name": "target",
107896
+ "type": {
107897
+ "text": "LinkTargetType | string"
107898
+ },
107899
+ "default": "''",
107900
+ "description": "Where to display the linked URL.",
107901
+ "fieldName": "target",
107993
107902
  "inheritedFrom": {
107994
- "name": "SbbButtonLikeBaseElement",
107995
- "module": "core/base-elements/button-base-element.js"
107903
+ "name": "SbbLinkBaseElement",
107904
+ "module": "core/base-elements/link-base-element.js"
107996
107905
  }
107997
107906
  },
107998
107907
  {
107999
- "kind": "field",
108000
- "name": "_dispatchClickEvent",
108001
- "privacy": "private",
107908
+ "name": "rel",
107909
+ "type": {
107910
+ "text": "string"
107911
+ },
107912
+ "default": "''",
107913
+ "description": "The relationship of the linked URL as space-separated link types.",
107914
+ "fieldName": "rel",
108002
107915
  "inheritedFrom": {
108003
- "name": "SbbButtonLikeBaseElement",
108004
- "module": "core/base-elements/button-base-element.js"
107916
+ "name": "SbbLinkBaseElement",
107917
+ "module": "core/base-elements/link-base-element.js"
108005
107918
  }
108006
107919
  },
108007
107920
  {
108008
- "kind": "field",
108009
- "name": "maybeDisabled",
107921
+ "name": "download",
108010
107922
  "type": {
108011
- "text": "boolean | undefined"
107923
+ "text": "boolean"
108012
107924
  },
108013
- "privacy": "protected",
108014
- "readonly": true,
107925
+ "default": "false",
107926
+ "description": "Whether the browser will show the download dialog on click.",
107927
+ "fieldName": "download",
108015
107928
  "inheritedFrom": {
108016
- "name": "SbbActionBaseElement",
108017
- "module": "core/base-elements/action-base-element.js"
107929
+ "name": "SbbLinkBaseElement",
107930
+ "module": "core/base-elements/link-base-element.js"
108018
107931
  }
108019
107932
  },
108020
107933
  {
108021
- "kind": "field",
108022
- "name": "maybeDisabledInteractive",
107934
+ "name": "accessibility-label",
108023
107935
  "type": {
108024
- "text": "boolean | undefined"
107936
+ "text": "string"
108025
107937
  },
108026
- "privacy": "protected",
108027
- "readonly": true,
107938
+ "default": "''",
107939
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
107940
+ "fieldName": "accessibilityLabel",
108028
107941
  "inheritedFrom": {
108029
- "name": "SbbActionBaseElement",
108030
- "module": "core/base-elements/action-base-element.js"
107942
+ "name": "SbbLinkBaseElement",
107943
+ "module": "core/base-elements/link-base-element.js"
108031
107944
  }
108032
107945
  },
108033
107946
  {
108034
- "kind": "method",
108035
- "name": "setupBaseEventHandlers",
108036
- "privacy": "protected",
108037
- "return": {
108038
- "type": {
108039
- "text": "void"
108040
- }
107947
+ "name": "accessibility-current",
107948
+ "type": {
107949
+ "text": "string"
108041
107950
  },
107951
+ "default": "''",
107952
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
107953
+ "fieldName": "accessibilityCurrent",
108042
107954
  "inheritedFrom": {
108043
- "name": "SbbActionBaseElement",
108044
- "module": "core/base-elements/action-base-element.js"
107955
+ "name": "SbbLinkBaseElement",
107956
+ "module": "core/base-elements/link-base-element.js"
108045
107957
  }
107958
+ }
107959
+ ]
107960
+ }
107961
+ ],
107962
+ "exports": [
107963
+ {
107964
+ "kind": "js",
107965
+ "name": "SbbMenuLinkElement",
107966
+ "declaration": {
107967
+ "name": "SbbMenuLinkElement",
107968
+ "module": "menu/menu-link/menu-link.component.js"
107969
+ }
107970
+ }
107971
+ ]
107972
+ },
107973
+ {
107974
+ "kind": "javascript-module",
107975
+ "path": "menu/menu-button/menu-button.component.js",
107976
+ "declarations": [
107977
+ {
107978
+ "kind": "class",
107979
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
107980
+ "name": "SbbMenuButtonElement",
107981
+ "cssProperties": [
107982
+ {
107983
+ "description": "Can be used to modify horizontal padding.",
107984
+ "name": "--sbb-menu-action-outer-horizontal-padding",
107985
+ "default": "var(--sbb-spacing-fixed-3x)"
107986
+ }
107987
+ ],
107988
+ "slots": [
107989
+ {
107990
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107991
+ "name": ""
108046
107992
  },
107993
+ {
107994
+ "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
107995
+ "name": "icon"
107996
+ }
107997
+ ],
107998
+ "members": [
108047
107999
  {
108048
108000
  "kind": "field",
108049
- "name": "_hydrationRequired",
108001
+ "name": "elementName",
108050
108002
  "type": {
108051
- "text": "boolean"
108003
+ "text": "string"
108052
108004
  },
108053
- "privacy": "private",
108054
- "default": "!!this.shadowRoot",
108005
+ "privacy": "public",
108006
+ "static": true,
108007
+ "readonly": true,
108055
108008
  "inheritedFrom": {
108056
108009
  "name": "SbbElement",
108057
108010
  "module": "core/base-elements/element.js"
108011
+ },
108012
+ "default": "'sbb-menu-button'"
108013
+ },
108014
+ {
108015
+ "kind": "field",
108016
+ "name": "role",
108017
+ "type": {
108018
+ "text": "ElementInternals['role']"
108019
+ },
108020
+ "privacy": "public",
108021
+ "static": true,
108022
+ "readonly": true,
108023
+ "default": "'menuitem'",
108024
+ "inheritedFrom": {
108025
+ "name": "SbbButtonLikeBaseElement",
108026
+ "module": "core/base-elements/button-base-element.js"
108058
108027
  }
108059
108028
  },
108060
108029
  {
108061
108030
  "kind": "field",
108062
- "name": "_hydrationComplete",
108063
- "privacy": "private",
108064
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
108031
+ "name": "disabledInteractive",
108032
+ "type": {
108033
+ "text": "boolean"
108034
+ },
108035
+ "privacy": "public",
108036
+ "default": "false",
108037
+ "description": "Whether the button should be aria-disabled but stay interactive.",
108038
+ "attribute": "disabled-interactive",
108039
+ "reflects": true,
108065
108040
  "inheritedFrom": {
108066
- "name": "SbbElement",
108067
- "module": "core/base-elements/element.js"
108041
+ "name": "SbbDisabledInteractiveMixin",
108042
+ "module": "core/mixins/disabled-mixin.js"
108068
108043
  }
108069
108044
  },
108070
108045
  {
108071
108046
  "kind": "field",
108072
- "name": "_resolveHydration",
108047
+ "name": "disabled",
108048
+ "privacy": "public",
108049
+ "description": "Whether the component is disabled.",
108050
+ "default": "false",
108073
108051
  "type": {
108074
- "text": "(hydrationRequired: boolean) => void"
108052
+ "text": "boolean"
108075
108053
  },
108076
- "privacy": "private",
108054
+ "attribute": "disabled",
108055
+ "reflects": true,
108077
108056
  "inheritedFrom": {
108078
- "name": "SbbElement",
108079
- "module": "core/base-elements/element.js"
108057
+ "name": "SbbDisabledMixin",
108058
+ "module": "core/mixins/disabled-mixin.js"
108080
108059
  }
108081
108060
  },
108082
108061
  {
108083
108062
  "kind": "field",
108084
- "name": "hydrationRequired",
108063
+ "name": "#disabled",
108064
+ "privacy": "private",
108085
108065
  "type": {
108086
108066
  "text": "boolean"
108087
108067
  },
108068
+ "default": "false",
108069
+ "inheritedFrom": {
108070
+ "name": "SbbDisabledMixin",
108071
+ "module": "core/mixins/disabled-mixin.js"
108072
+ }
108073
+ },
108074
+ {
108075
+ "kind": "method",
108076
+ "name": "isDisabledExternally",
108077
+ "privacy": "protected",
108078
+ "return": {
108079
+ "type": {
108080
+ "text": "boolean"
108081
+ }
108082
+ },
108083
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
108084
+ "inheritedFrom": {
108085
+ "name": "SbbDisabledMixin",
108086
+ "module": "core/mixins/disabled-mixin.js"
108087
+ }
108088
+ },
108089
+ {
108090
+ "kind": "field",
108091
+ "name": "styles",
108092
+ "type": {
108093
+ "text": "CSSResultGroup"
108094
+ },
108095
+ "privacy": "public",
108096
+ "static": true,
108097
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
108098
+ "inheritedFrom": {
108099
+ "name": "SbbMenuActionCommonElementMixin",
108100
+ "module": "menu/common/menu-action-common.js"
108101
+ }
108102
+ },
108103
+ {
108104
+ "kind": "method",
108105
+ "name": "renderTemplate",
108088
108106
  "privacy": "protected",
108089
- "description": "Returns whether hydration is required and not completed.",
108090
- "readonly": true,
108107
+ "return": {
108108
+ "type": {
108109
+ "text": "TemplateResult"
108110
+ }
108111
+ },
108112
+ "description": "Override this method to render the component template.",
108091
108113
  "inheritedFrom": {
108092
- "name": "SbbElement",
108093
- "module": "core/base-elements/element.js"
108114
+ "name": "SbbActionBaseElement",
108115
+ "module": "core/base-elements/action-base-element.js"
108116
+ }
108117
+ },
108118
+ {
108119
+ "kind": "field",
108120
+ "name": "iconName",
108121
+ "type": {
108122
+ "text": "string"
108094
108123
  },
108095
- "default": "!!this.shadowRoot"
108124
+ "privacy": "public",
108125
+ "default": "''",
108126
+ "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.",
108127
+ "attribute": "icon-name",
108128
+ "inheritedFrom": {
108129
+ "name": "SbbIconNameMixin",
108130
+ "module": "icon/icon-name-mixin.js"
108131
+ }
108096
108132
  },
108097
108133
  {
108098
108134
  "kind": "method",
108099
- "name": "toggleState",
108135
+ "name": "renderIconSlot",
108100
108136
  "privacy": "protected",
108101
108137
  "return": {
108102
108138
  "type": {
108103
- "text": "void"
108139
+ "text": "TemplateResult"
108104
108140
  }
108105
108141
  },
108106
108142
  "parameters": [
108107
108143
  {
108108
- "name": "value",
108109
- "type": {
108110
- "text": "string"
108111
- }
108112
- },
108113
- {
108114
- "name": "force",
108144
+ "name": "classname",
108115
108145
  "optional": true,
108116
108146
  "type": {
108117
- "text": "boolean"
108147
+ "text": "string"
108118
108148
  }
108119
108149
  }
108120
108150
  ],
108121
108151
  "inheritedFrom": {
108122
- "name": "SbbElement",
108123
- "module": "core/base-elements/element.js"
108152
+ "name": "SbbIconNameMixin",
108153
+ "module": "icon/icon-name-mixin.js"
108124
108154
  }
108125
108155
  },
108126
108156
  {
108127
- "kind": "field",
108128
- "name": "['_$sbbElement$']",
108129
- "type": {
108130
- "text": "boolean"
108157
+ "kind": "method",
108158
+ "name": "renderIconName",
108159
+ "privacy": "protected",
108160
+ "return": {
108161
+ "type": {
108162
+ "text": "string"
108163
+ }
108131
108164
  },
108132
- "privacy": "public",
108133
- "static": true,
108134
- "default": "true",
108135
108165
  "inheritedFrom": {
108136
- "name": "SbbElement",
108137
- "module": "core/base-elements/element.js"
108166
+ "name": "SbbIconNameMixin",
108167
+ "module": "icon/icon-name-mixin.js"
108168
+ }
108169
+ },
108170
+ {
108171
+ "kind": "method",
108172
+ "name": "_renderIconName",
108173
+ "privacy": "private",
108174
+ "return": {
108175
+ "type": {
108176
+ "text": "string"
108177
+ }
108178
+ },
108179
+ "inheritedFrom": {
108180
+ "name": "SbbIconNameMixin",
108181
+ "module": "icon/icon-name-mixin.js"
108138
108182
  }
108139
108183
  },
108140
108184
  {
108141
108185
  "kind": "field",
108142
- "name": "_controllers",
108186
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
108143
108187
  "type": {
108144
- "text": "Set<SbbReactiveController> | undefined"
108188
+ "text": "array"
108145
108189
  },
108146
108190
  "privacy": "private",
108191
+ "readonly": true,
108192
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
108147
108193
  "inheritedFrom": {
108148
- "name": "SbbElement",
108149
- "module": "core/base-elements/element.js"
108194
+ "name": "SbbButtonBaseElement",
108195
+ "module": "core/base-elements/button-base-element.js"
108150
108196
  }
108151
- }
108152
- ],
108153
- "mixins": [
108154
- {
108155
- "name": "SbbDisabledTabIndexActionMixin",
108156
- "module": "core/mixins.js"
108157
108197
  },
108158
108198
  {
108159
- "name": "SbbMenuActionCommonElementMixin",
108160
- "module": "menu/common/menu-action-common.js"
108161
- }
108162
- ],
108163
- "superclass": {
108164
- "name": "SbbButtonBaseElement",
108165
- "module": "core/base-elements.js"
108166
- },
108167
- "tagName": "sbb-menu-button",
108168
- "customElement": true,
108169
- "attributes": [
108199
+ "kind": "field",
108200
+ "name": "value",
108201
+ "type": {
108202
+ "text": "string"
108203
+ },
108204
+ "privacy": "public",
108205
+ "inheritedFrom": {
108206
+ "name": "SbbButtonBaseElement",
108207
+ "module": "core/base-elements/button-base-element.js"
108208
+ },
108209
+ "default": "''",
108210
+ "description": "Value of the form element.",
108211
+ "attribute": "value"
108212
+ },
108170
108213
  {
108171
- "name": "disabled-interactive",
108214
+ "kind": "field",
108215
+ "name": "type",
108216
+ "privacy": "public",
108217
+ "description": "The type attribute to use for the button.",
108218
+ "default": "'button'",
108172
108219
  "type": {
108173
- "text": "boolean"
108220
+ "text": "SbbButtonType"
108174
108221
  },
108175
- "default": "false",
108176
- "description": "Whether the button should be aria-disabled but stay interactive.",
108177
- "fieldName": "disabledInteractive",
108222
+ "attribute": "type",
108178
108223
  "inheritedFrom": {
108179
- "name": "SbbDisabledInteractiveMixin",
108180
- "module": "core/mixins/disabled-mixin.js"
108224
+ "name": "SbbButtonBaseElement",
108225
+ "module": "core/base-elements/button-base-element.js"
108181
108226
  }
108182
108227
  },
108183
108228
  {
108184
- "name": "disabled",
108185
- "description": "Whether the component is disabled.",
108186
- "default": "false",
108229
+ "kind": "field",
108230
+ "name": "form",
108187
108231
  "type": {
108188
- "text": "boolean"
108232
+ "text": "HTMLFormElement | null"
108189
108233
  },
108190
- "fieldName": "disabled",
108234
+ "privacy": "public",
108235
+ "description": "The `<form>` element to associate the button with.",
108191
108236
  "inheritedFrom": {
108192
- "name": "SbbDisabledMixin",
108193
- "module": "core/mixins/disabled-mixin.js"
108194
- }
108237
+ "name": "SbbButtonBaseElement",
108238
+ "module": "core/base-elements/button-base-element.js"
108239
+ },
108240
+ "attribute": "form"
108195
108241
  },
108196
108242
  {
108197
- "name": "icon-name",
108243
+ "kind": "field",
108244
+ "name": "_formId",
108198
108245
  "type": {
108199
108246
  "text": "string"
108200
108247
  },
108248
+ "privacy": "private",
108201
108249
  "default": "''",
108202
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
108203
- "fieldName": "iconName",
108204
108250
  "inheritedFrom": {
108205
- "name": "SbbIconNameMixin",
108206
- "module": "icon/icon-name-mixin.js"
108251
+ "name": "SbbButtonBaseElement",
108252
+ "module": "core/base-elements/button-base-element.js"
108207
108253
  }
108208
108254
  },
108209
108255
  {
108210
- "name": "value",
108211
- "type": {
108212
- "text": "string"
108256
+ "kind": "field",
108257
+ "name": "_handleButtonClick",
108258
+ "privacy": "private",
108259
+ "inheritedFrom": {
108260
+ "name": "SbbButtonBaseElement",
108261
+ "module": "core/base-elements/button-base-element.js"
108262
+ }
108263
+ },
108264
+ {
108265
+ "kind": "method",
108266
+ "name": "_requestSubmit",
108267
+ "privacy": "private",
108268
+ "return": {
108269
+ "type": {
108270
+ "text": "void"
108271
+ }
108213
108272
  },
108214
- "default": "''",
108215
- "description": "Value of the form element.",
108216
- "fieldName": "value",
108273
+ "parameters": [
108274
+ {
108275
+ "name": "form",
108276
+ "type": {
108277
+ "text": "HTMLFormElement"
108278
+ }
108279
+ }
108280
+ ],
108217
108281
  "inheritedFrom": {
108218
108282
  "name": "SbbButtonBaseElement",
108219
108283
  "module": "core/base-elements/button-base-element.js"
108220
108284
  }
108221
108285
  },
108222
108286
  {
108223
- "name": "type",
108224
- "description": "The type attribute to use for the button.",
108225
- "default": "'button'",
108226
- "type": {
108227
- "text": "SbbButtonType"
108228
- },
108229
- "fieldName": "type",
108287
+ "kind": "field",
108288
+ "name": "_formKeyDown",
108289
+ "privacy": "private",
108230
108290
  "inheritedFrom": {
108231
108291
  "name": "SbbButtonBaseElement",
108232
108292
  "module": "core/base-elements/button-base-element.js"
108233
108293
  }
108234
108294
  },
108235
108295
  {
108236
- "name": "form",
108237
- "description": "The `<form>` element to associate the button with.",
108296
+ "kind": "field",
108297
+ "name": "formAssociated",
108238
108298
  "type": {
108239
- "text": "HTMLFormElement | null"
108299
+ "text": "boolean"
108240
108300
  },
108241
- "fieldName": "form",
108301
+ "privacy": "public",
108302
+ "static": true,
108303
+ "default": "true",
108242
108304
  "inheritedFrom": {
108243
- "name": "SbbButtonBaseElement",
108244
- "module": "core/base-elements/button-base-element.js"
108305
+ "name": "SbbFormAssociatedMixin",
108306
+ "module": "core/mixins/form-associated-mixin.js"
108245
108307
  }
108246
108308
  },
108247
108309
  {
108310
+ "kind": "field",
108248
108311
  "name": "name",
108312
+ "privacy": "public",
108249
108313
  "description": "Name of the form element. Will be read from name attribute.",
108250
108314
  "type": {
108251
108315
  "text": "string"
108252
108316
  },
108253
- "fieldName": "name",
108317
+ "attribute": "name",
108254
108318
  "inheritedFrom": {
108255
108319
  "name": "SbbFormAssociatedMixin",
108256
108320
  "module": "core/mixins/form-associated-mixin.js"
108257
108321
  }
108258
- }
108259
- ]
108260
- }
108261
- ],
108262
- "exports": [
108263
- {
108264
- "kind": "js",
108265
- "name": "SbbMenuButtonElement",
108266
- "declaration": {
108267
- "name": "SbbMenuButtonElement",
108268
- "module": "menu/menu-button/menu-button.component.js"
108269
- }
108270
- }
108271
- ]
108272
- },
108273
- {
108274
- "kind": "javascript-module",
108275
- "path": "menu/menu-link/menu-link.component.js",
108276
- "declarations": [
108277
- {
108278
- "kind": "class",
108279
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
108280
- "name": "SbbMenuLinkElement",
108281
- "cssProperties": [
108282
- {
108283
- "description": "Can be used to modify horizontal padding.",
108284
- "name": "--sbb-menu-action-outer-horizontal-padding",
108285
- "default": "var(--sbb-spacing-fixed-3x)"
108286
- }
108287
- ],
108288
- "slots": [
108289
- {
108290
- "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
108291
- "name": ""
108292
108322
  },
108293
- {
108294
- "description": "Use this slot to provide an icon. If `icon-name` is set, a `sbb-icon` will be used.",
108295
- "name": "icon"
108296
- }
108297
- ],
108298
- "members": [
108299
108323
  {
108300
108324
  "kind": "field",
108301
- "name": "elementName",
108325
+ "name": "validity",
108302
108326
  "type": {
108303
- "text": "string"
108327
+ "text": "ValidityState"
108304
108328
  },
108305
108329
  "privacy": "public",
108306
- "static": true,
108330
+ "description": "Returns the ValidityState object for this element.",
108307
108331
  "readonly": true,
108308
108332
  "inheritedFrom": {
108309
- "name": "SbbElement",
108310
- "module": "core/base-elements/element.js"
108311
- },
108312
- "default": "'sbb-menu-link'"
108333
+ "name": "SbbFormAssociatedMixin",
108334
+ "module": "core/mixins/form-associated-mixin.js"
108335
+ }
108313
108336
  },
108314
108337
  {
108315
108338
  "kind": "field",
108316
- "name": "anchorRole",
108339
+ "name": "validationMessage",
108317
108340
  "type": {
108318
108341
  "text": "string"
108319
108342
  },
108320
- "privacy": "protected",
108343
+ "privacy": "public",
108344
+ "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.",
108321
108345
  "readonly": true,
108322
- "default": "'menuitem'",
108323
108346
  "inheritedFrom": {
108324
- "name": "SbbLinkBaseElement",
108325
- "module": "core/base-elements/link-base-element.js"
108347
+ "name": "SbbFormAssociatedMixin",
108348
+ "module": "core/mixins/form-associated-mixin.js"
108326
108349
  }
108327
108350
  },
108328
108351
  {
108329
108352
  "kind": "field",
108330
- "name": "disabledInteractive",
108353
+ "name": "willValidate",
108331
108354
  "type": {
108332
108355
  "text": "boolean"
108333
108356
  },
108334
108357
  "privacy": "public",
108335
- "default": "false",
108336
- "description": "Whether the button should be aria-disabled but stay interactive.",
108337
- "attribute": "disabled-interactive",
108338
- "reflects": true,
108358
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
108359
+ "readonly": true,
108339
108360
  "inheritedFrom": {
108340
- "name": "SbbDisabledInteractiveMixin",
108341
- "module": "core/mixins/disabled-mixin.js"
108361
+ "name": "SbbFormAssociatedMixin",
108362
+ "module": "core/mixins/form-associated-mixin.js"
108342
108363
  }
108343
108364
  },
108344
108365
  {
108345
108366
  "kind": "field",
108346
- "name": "styles",
108367
+ "name": "_validityStates",
108368
+ "privacy": "private",
108369
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
108370
+ "inheritedFrom": {
108371
+ "name": "SbbFormAssociatedMixin",
108372
+ "module": "core/mixins/form-associated-mixin.js"
108373
+ }
108374
+ },
108375
+ {
108376
+ "kind": "field",
108377
+ "name": "formDisabled",
108347
108378
  "type": {
108348
- "text": "CSSResultGroup"
108379
+ "text": "boolean"
108380
+ },
108381
+ "privacy": "protected",
108382
+ "default": "false",
108383
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
108384
+ "inheritedFrom": {
108385
+ "name": "SbbFormAssociatedMixin",
108386
+ "module": "core/mixins/form-associated-mixin.js"
108387
+ }
108388
+ },
108389
+ {
108390
+ "kind": "method",
108391
+ "name": "checkValidity",
108392
+ "privacy": "public",
108393
+ "return": {
108394
+ "type": {
108395
+ "text": "boolean"
108396
+ }
108349
108397
  },
108398
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
108399
+ "inheritedFrom": {
108400
+ "name": "SbbFormAssociatedMixin",
108401
+ "module": "core/mixins/form-associated-mixin.js"
108402
+ }
108403
+ },
108404
+ {
108405
+ "kind": "method",
108406
+ "name": "reportValidity",
108350
108407
  "privacy": "public",
108351
- "static": true,
108352
- "default": "[boxSizingStyles, unsafeCSS(style)]",
108408
+ "return": {
108409
+ "type": {
108410
+ "text": "boolean"
108411
+ }
108412
+ },
108413
+ "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.",
108353
108414
  "inheritedFrom": {
108354
- "name": "SbbMenuActionCommonElementMixin",
108355
- "module": "menu/common/menu-action-common.js"
108415
+ "name": "SbbFormAssociatedMixin",
108416
+ "module": "core/mixins/form-associated-mixin.js"
108356
108417
  }
108357
108418
  },
108358
108419
  {
108359
108420
  "kind": "method",
108360
- "name": "renderTemplate",
108421
+ "name": "setCustomValidity",
108422
+ "privacy": "public",
108423
+ "return": {
108424
+ "type": {
108425
+ "text": "void"
108426
+ }
108427
+ },
108428
+ "parameters": [
108429
+ {
108430
+ "name": "message",
108431
+ "type": {
108432
+ "text": "string"
108433
+ }
108434
+ }
108435
+ ],
108436
+ "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.",
108437
+ "inheritedFrom": {
108438
+ "name": "SbbFormAssociatedMixin",
108439
+ "module": "core/mixins/form-associated-mixin.js"
108440
+ }
108441
+ },
108442
+ {
108443
+ "kind": "method",
108444
+ "name": "_hasDisabledAncestor",
108445
+ "privacy": "private",
108446
+ "return": {
108447
+ "type": {
108448
+ "text": "boolean"
108449
+ }
108450
+ },
108451
+ "inheritedFrom": {
108452
+ "name": "SbbFormAssociatedMixin",
108453
+ "module": "core/mixins/form-associated-mixin.js"
108454
+ }
108455
+ },
108456
+ {
108457
+ "kind": "method",
108458
+ "name": "updateFormValue",
108361
108459
  "privacy": "protected",
108362
108460
  "return": {
108363
108461
  "type": {
108364
- "text": "TemplateResult"
108462
+ "text": "void"
108365
108463
  }
108366
108464
  },
108367
- "description": "Override this method to render the component template.",
108465
+ "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",
108368
108466
  "inheritedFrom": {
108369
- "name": "SbbActionBaseElement",
108370
- "module": "core/base-elements/action-base-element.js"
108467
+ "name": "SbbFormAssociatedMixin",
108468
+ "module": "core/mixins/form-associated-mixin.js"
108371
108469
  }
108372
108470
  },
108373
108471
  {
108374
- "kind": "field",
108375
- "name": "iconName",
108376
- "type": {
108377
- "text": "string"
108472
+ "kind": "method",
108473
+ "name": "formState",
108474
+ "privacy": "protected",
108475
+ "return": {
108476
+ "type": {
108477
+ "text": "FormRestoreState"
108478
+ }
108378
108479
  },
108379
- "privacy": "public",
108380
- "default": "''",
108381
- "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.",
108382
- "attribute": "icon-name",
108383
108480
  "inheritedFrom": {
108384
- "name": "SbbIconNameMixin",
108385
- "module": "icon/icon-name-mixin.js"
108481
+ "name": "SbbFormAssociatedMixin",
108482
+ "module": "core/mixins/form-associated-mixin.js"
108483
+ }
108484
+ },
108485
+ {
108486
+ "kind": "method",
108487
+ "name": "setValidityFlag",
108488
+ "privacy": "protected",
108489
+ "return": {
108490
+ "type": {
108491
+ "text": "void"
108492
+ }
108493
+ },
108494
+ "parameters": [
108495
+ {
108496
+ "name": "flag",
108497
+ "type": {
108498
+ "text": "T"
108499
+ }
108500
+ },
108501
+ {
108502
+ "name": "message",
108503
+ "type": {
108504
+ "text": "string"
108505
+ }
108506
+ },
108507
+ {
108508
+ "name": "flagValue",
108509
+ "optional": true,
108510
+ "type": {
108511
+ "text": "ValidityStateFlags[T]"
108512
+ }
108513
+ }
108514
+ ],
108515
+ "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).",
108516
+ "inheritedFrom": {
108517
+ "name": "SbbFormAssociatedMixin",
108518
+ "module": "core/mixins/form-associated-mixin.js"
108386
108519
  }
108387
108520
  },
108388
108521
  {
108389
108522
  "kind": "method",
108390
- "name": "renderIconSlot",
108523
+ "name": "removeValidityFlag",
108391
108524
  "privacy": "protected",
108392
108525
  "return": {
108393
108526
  "type": {
108394
- "text": "TemplateResult"
108527
+ "text": "void"
108395
108528
  }
108396
108529
  },
108397
108530
  "parameters": [
108398
108531
  {
108399
- "name": "classname",
108400
- "optional": true,
108532
+ "name": "flag",
108401
108533
  "type": {
108402
- "text": "string"
108534
+ "text": "T"
108403
108535
  }
108404
108536
  }
108405
108537
  ],
108538
+ "description": "Removes the validity state flag entry and updates validity state.",
108406
108539
  "inheritedFrom": {
108407
- "name": "SbbIconNameMixin",
108408
- "module": "icon/icon-name-mixin.js"
108540
+ "name": "SbbFormAssociatedMixin",
108541
+ "module": "core/mixins/form-associated-mixin.js"
108409
108542
  }
108410
108543
  },
108411
108544
  {
108412
108545
  "kind": "method",
108413
- "name": "renderIconName",
108546
+ "name": "validate",
108414
108547
  "privacy": "protected",
108415
108548
  "return": {
108416
108549
  "type": {
108417
- "text": "string"
108550
+ "text": "void"
108418
108551
  }
108419
108552
  },
108553
+ "description": "To be called whenever the current element needs to be validated.",
108420
108554
  "inheritedFrom": {
108421
- "name": "SbbIconNameMixin",
108422
- "module": "icon/icon-name-mixin.js"
108555
+ "name": "SbbFormAssociatedMixin",
108556
+ "module": "core/mixins/form-associated-mixin.js"
108423
108557
  }
108424
108558
  },
108425
108559
  {
108426
108560
  "kind": "method",
108427
- "name": "_renderIconName",
108428
- "privacy": "private",
108561
+ "name": "shouldValidate",
108562
+ "privacy": "protected",
108429
108563
  "return": {
108430
108564
  "type": {
108431
- "text": "string"
108565
+ "text": "boolean"
108432
108566
  }
108433
108567
  },
108568
+ "parameters": [
108569
+ {
108570
+ "name": "name",
108571
+ "type": {
108572
+ "text": "PropertyKey | undefined"
108573
+ }
108574
+ }
108575
+ ],
108576
+ "description": "Whether validation should be run on a property change with the given name.",
108434
108577
  "inheritedFrom": {
108435
- "name": "SbbIconNameMixin",
108436
- "module": "icon/icon-name-mixin.js"
108437
- }
108438
- },
108439
- {
108440
- "kind": "field",
108441
- "name": "disabled",
108442
- "privacy": "public",
108443
- "description": "Whether the component is disabled.",
108444
- "default": "false",
108445
- "type": {
108446
- "text": "boolean"
108447
- },
108448
- "attribute": "disabled",
108449
- "reflects": true,
108450
- "inheritedFrom": {
108451
- "name": "SbbDisabledMixin",
108452
- "module": "core/mixins/disabled-mixin.js"
108453
- }
108454
- },
108455
- {
108456
- "kind": "field",
108457
- "name": "#disabled",
108458
- "privacy": "private",
108459
- "type": {
108460
- "text": "boolean"
108461
- },
108462
- "default": "false",
108463
- "inheritedFrom": {
108464
- "name": "SbbDisabledMixin",
108465
- "module": "core/mixins/disabled-mixin.js"
108578
+ "name": "SbbFormAssociatedMixin",
108579
+ "module": "core/mixins/form-associated-mixin.js"
108466
108580
  }
108467
108581
  },
108468
108582
  {
108469
108583
  "kind": "method",
108470
- "name": "isDisabledExternally",
108471
- "privacy": "protected",
108584
+ "name": "_setInternalValidity",
108585
+ "privacy": "private",
108472
108586
  "return": {
108473
108587
  "type": {
108474
- "text": "boolean"
108588
+ "text": "void"
108475
108589
  }
108476
108590
  },
108477
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
108478
- "inheritedFrom": {
108479
- "name": "SbbDisabledMixin",
108480
- "module": "core/mixins/disabled-mixin.js"
108481
- }
108482
- },
108483
- {
108484
- "kind": "field",
108485
- "name": "href",
108486
- "type": {
108487
- "text": "string"
108488
- },
108489
- "privacy": "public",
108490
- "default": "''",
108491
- "description": "The href value you want to link to.",
108492
- "attribute": "href",
108493
- "reflects": true,
108494
- "inheritedFrom": {
108495
- "name": "SbbLinkBaseElement",
108496
- "module": "core/base-elements/link-base-element.js"
108497
- }
108498
- },
108499
- {
108500
- "kind": "field",
108501
- "name": "target",
108502
- "type": {
108503
- "text": "LinkTargetType | string"
108504
- },
108505
- "privacy": "public",
108506
- "default": "''",
108507
- "description": "Where to display the linked URL.",
108508
- "attribute": "target",
108509
- "reflects": true,
108510
- "inheritedFrom": {
108511
- "name": "SbbLinkBaseElement",
108512
- "module": "core/base-elements/link-base-element.js"
108513
- }
108514
- },
108515
- {
108516
- "kind": "field",
108517
- "name": "rel",
108518
- "type": {
108519
- "text": "string"
108520
- },
108521
- "privacy": "public",
108522
- "default": "''",
108523
- "description": "The relationship of the linked URL as space-separated link types.",
108524
- "attribute": "rel",
108525
- "reflects": true,
108526
- "inheritedFrom": {
108527
- "name": "SbbLinkBaseElement",
108528
- "module": "core/base-elements/link-base-element.js"
108529
- }
108530
- },
108531
- {
108532
- "kind": "field",
108533
- "name": "download",
108534
- "type": {
108535
- "text": "boolean"
108536
- },
108537
- "privacy": "public",
108538
- "default": "false",
108539
- "description": "Whether the browser will show the download dialog on click.",
108540
- "attribute": "download",
108541
- "reflects": true,
108542
108591
  "inheritedFrom": {
108543
- "name": "SbbLinkBaseElement",
108544
- "module": "core/base-elements/link-base-element.js"
108592
+ "name": "SbbFormAssociatedMixin",
108593
+ "module": "core/mixins/form-associated-mixin.js"
108545
108594
  }
108546
108595
  },
108547
108596
  {
108548
108597
  "kind": "field",
108549
- "name": "accessibilityLabel",
108550
- "type": {
108551
- "text": "string"
108552
- },
108553
- "privacy": "public",
108554
- "default": "''",
108555
- "description": "This will be forwarded as aria-label to the inner anchor element.",
108556
- "attribute": "accessibility-label",
108598
+ "name": "_preventScrollOnSpaceKeydown",
108599
+ "privacy": "private",
108600
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
108601
+ "parameters": [
108602
+ {
108603
+ "description": "The origin event.",
108604
+ "name": "event"
108605
+ }
108606
+ ],
108557
108607
  "inheritedFrom": {
108558
- "name": "SbbLinkBaseElement",
108559
- "module": "core/base-elements/link-base-element.js"
108608
+ "name": "SbbButtonLikeBaseElement",
108609
+ "module": "core/base-elements/button-base-element.js"
108560
108610
  }
108561
108611
  },
108562
108612
  {
108563
108613
  "kind": "field",
108564
- "name": "accessibilityCurrent",
108565
- "type": {
108566
- "text": "string"
108567
- },
108568
- "privacy": "public",
108569
- "default": "''",
108570
- "description": "This will be forwarded as aria-current to the inner anchor element.",
108571
- "attribute": "accessibility-current",
108614
+ "name": "_removeActiveMarker",
108615
+ "privacy": "private",
108572
108616
  "inheritedFrom": {
108573
- "name": "SbbLinkBaseElement",
108574
- "module": "core/base-elements/link-base-element.js"
108617
+ "name": "SbbButtonLikeBaseElement",
108618
+ "module": "core/base-elements/button-base-element.js"
108575
108619
  }
108576
108620
  },
108577
108621
  {
108578
108622
  "kind": "field",
108579
- "name": "language",
108580
- "privacy": "protected",
108581
- "default": "new SbbLanguageController(this)",
108623
+ "name": "_dispatchClickEventOnSpaceKeyup",
108624
+ "privacy": "private",
108625
+ "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.",
108626
+ "parameters": [
108627
+ {
108628
+ "description": "The origin event.",
108629
+ "name": "event"
108630
+ }
108631
+ ],
108582
108632
  "inheritedFrom": {
108583
- "name": "SbbLinkBaseElement",
108584
- "module": "core/base-elements/link-base-element.js"
108633
+ "name": "SbbButtonLikeBaseElement",
108634
+ "module": "core/base-elements/button-base-element.js"
108585
108635
  }
108586
108636
  },
108587
108637
  {
108588
108638
  "kind": "field",
108589
- "name": "_evaluateRelAttribute",
108639
+ "name": "_dispatchClickEvent",
108590
108640
  "privacy": "private",
108591
108641
  "inheritedFrom": {
108592
- "name": "SbbLinkBaseElement",
108593
- "module": "core/base-elements/link-base-element.js"
108594
- }
108595
- },
108596
- {
108597
- "kind": "method",
108598
- "name": "renderLink",
108599
- "privacy": "protected",
108600
- "return": {
108601
- "type": {
108602
- "text": "TemplateResult"
108603
- }
108604
- },
108605
- "parameters": [
108606
- {
108607
- "name": "renderContent",
108608
- "type": {
108609
- "text": "TemplateResult"
108610
- }
108611
- }
108612
- ],
108613
- "inheritedFrom": {
108614
- "name": "SbbLinkBaseElement",
108615
- "module": "core/base-elements/link-base-element.js"
108642
+ "name": "SbbButtonLikeBaseElement",
108643
+ "module": "core/base-elements/button-base-element.js"
108616
108644
  }
108617
108645
  },
108618
108646
  {
@@ -108763,7 +108791,7 @@
108763
108791
  ],
108764
108792
  "mixins": [
108765
108793
  {
108766
- "name": "SbbDisabledInteractiveMixin",
108794
+ "name": "SbbDisabledTabIndexActionMixin",
108767
108795
  "module": "core/mixins.js"
108768
108796
  },
108769
108797
  {
@@ -108772,10 +108800,10 @@
108772
108800
  }
108773
108801
  ],
108774
108802
  "superclass": {
108775
- "name": "SbbLinkBaseElement",
108803
+ "name": "SbbButtonBaseElement",
108776
108804
  "module": "core/base-elements.js"
108777
108805
  },
108778
- "tagName": "sbb-menu-link",
108806
+ "tagName": "sbb-menu-button",
108779
108807
  "customElement": true,
108780
108808
  "attributes": [
108781
108809
  {
@@ -108791,19 +108819,6 @@
108791
108819
  "module": "core/mixins/disabled-mixin.js"
108792
108820
  }
108793
108821
  },
108794
- {
108795
- "name": "icon-name",
108796
- "type": {
108797
- "text": "string"
108798
- },
108799
- "default": "''",
108800
- "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.",
108801
- "fieldName": "iconName",
108802
- "inheritedFrom": {
108803
- "name": "SbbIconNameMixin",
108804
- "module": "icon/icon-name-mixin.js"
108805
- }
108806
- },
108807
108822
  {
108808
108823
  "name": "disabled",
108809
108824
  "description": "Whether the component is disabled.",
@@ -108811,88 +108826,73 @@
108811
108826
  "type": {
108812
108827
  "text": "boolean"
108813
108828
  },
108814
- "fieldName": "disabled",
108815
- "inheritedFrom": {
108816
- "name": "SbbDisabledMixin",
108817
- "module": "core/mixins/disabled-mixin.js"
108818
- }
108819
- },
108820
- {
108821
- "name": "href",
108822
- "type": {
108823
- "text": "string"
108824
- },
108825
- "default": "''",
108826
- "description": "The href value you want to link to.",
108827
- "fieldName": "href",
108829
+ "fieldName": "disabled",
108828
108830
  "inheritedFrom": {
108829
- "name": "SbbLinkBaseElement",
108830
- "module": "core/base-elements/link-base-element.js"
108831
+ "name": "SbbDisabledMixin",
108832
+ "module": "core/mixins/disabled-mixin.js"
108831
108833
  }
108832
108834
  },
108833
108835
  {
108834
- "name": "target",
108836
+ "name": "icon-name",
108835
108837
  "type": {
108836
- "text": "LinkTargetType | string"
108838
+ "text": "string"
108837
108839
  },
108838
108840
  "default": "''",
108839
- "description": "Where to display the linked URL.",
108840
- "fieldName": "target",
108841
+ "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.",
108842
+ "fieldName": "iconName",
108841
108843
  "inheritedFrom": {
108842
- "name": "SbbLinkBaseElement",
108843
- "module": "core/base-elements/link-base-element.js"
108844
+ "name": "SbbIconNameMixin",
108845
+ "module": "icon/icon-name-mixin.js"
108844
108846
  }
108845
108847
  },
108846
108848
  {
108847
- "name": "rel",
108849
+ "name": "value",
108848
108850
  "type": {
108849
108851
  "text": "string"
108850
108852
  },
108851
108853
  "default": "''",
108852
- "description": "The relationship of the linked URL as space-separated link types.",
108853
- "fieldName": "rel",
108854
+ "description": "Value of the form element.",
108855
+ "fieldName": "value",
108854
108856
  "inheritedFrom": {
108855
- "name": "SbbLinkBaseElement",
108856
- "module": "core/base-elements/link-base-element.js"
108857
+ "name": "SbbButtonBaseElement",
108858
+ "module": "core/base-elements/button-base-element.js"
108857
108859
  }
108858
108860
  },
108859
108861
  {
108860
- "name": "download",
108862
+ "name": "type",
108863
+ "description": "The type attribute to use for the button.",
108864
+ "default": "'button'",
108861
108865
  "type": {
108862
- "text": "boolean"
108866
+ "text": "SbbButtonType"
108863
108867
  },
108864
- "default": "false",
108865
- "description": "Whether the browser will show the download dialog on click.",
108866
- "fieldName": "download",
108868
+ "fieldName": "type",
108867
108869
  "inheritedFrom": {
108868
- "name": "SbbLinkBaseElement",
108869
- "module": "core/base-elements/link-base-element.js"
108870
+ "name": "SbbButtonBaseElement",
108871
+ "module": "core/base-elements/button-base-element.js"
108870
108872
  }
108871
108873
  },
108872
108874
  {
108873
- "name": "accessibility-label",
108875
+ "name": "form",
108876
+ "description": "The `<form>` element to associate the button with.",
108874
108877
  "type": {
108875
- "text": "string"
108878
+ "text": "HTMLFormElement | null"
108876
108879
  },
108877
- "default": "''",
108878
- "description": "This will be forwarded as aria-label to the inner anchor element.",
108879
- "fieldName": "accessibilityLabel",
108880
+ "fieldName": "form",
108880
108881
  "inheritedFrom": {
108881
- "name": "SbbLinkBaseElement",
108882
- "module": "core/base-elements/link-base-element.js"
108882
+ "name": "SbbButtonBaseElement",
108883
+ "module": "core/base-elements/button-base-element.js"
108883
108884
  }
108884
108885
  },
108885
108886
  {
108886
- "name": "accessibility-current",
108887
+ "name": "name",
108888
+ "description": "Name of the form element. Will be read from name attribute.",
108887
108889
  "type": {
108888
108890
  "text": "string"
108889
108891
  },
108890
- "default": "''",
108891
- "description": "This will be forwarded as aria-current to the inner anchor element.",
108892
- "fieldName": "accessibilityCurrent",
108892
+ "fieldName": "name",
108893
108893
  "inheritedFrom": {
108894
- "name": "SbbLinkBaseElement",
108895
- "module": "core/base-elements/link-base-element.js"
108894
+ "name": "SbbFormAssociatedMixin",
108895
+ "module": "core/mixins/form-associated-mixin.js"
108896
108896
  }
108897
108897
  }
108898
108898
  ]
@@ -108901,10 +108901,10 @@
108901
108901
  "exports": [
108902
108902
  {
108903
108903
  "kind": "js",
108904
- "name": "SbbMenuLinkElement",
108904
+ "name": "SbbMenuButtonElement",
108905
108905
  "declaration": {
108906
- "name": "SbbMenuLinkElement",
108907
- "module": "menu/menu-link/menu-link.component.js"
108906
+ "name": "SbbMenuButtonElement",
108907
+ "module": "menu/menu-button/menu-button.component.js"
108908
108908
  }
108909
108909
  }
108910
108910
  ]
@@ -110000,245 +110000,75 @@
110000
110000
  },
110001
110001
  "default": "''",
110002
110002
  "description": "The color of the marker.",
110003
- "fieldName": "color"
110004
- },
110005
- {
110006
- "name": "value",
110007
- "type": {
110008
- "text": "string"
110009
- },
110010
- "default": "''",
110011
- "description": "Value of the form element.",
110012
- "fieldName": "value",
110013
- "inheritedFrom": {
110014
- "name": "SbbButtonBaseElement",
110015
- "module": "core/base-elements/button-base-element.js"
110016
- }
110017
- },
110018
- {
110019
- "name": "type",
110020
- "description": "The type attribute to use for the button.",
110021
- "default": "'button'",
110022
- "type": {
110023
- "text": "SbbButtonType"
110024
- },
110025
- "fieldName": "type",
110026
- "inheritedFrom": {
110027
- "name": "SbbButtonBaseElement",
110028
- "module": "core/base-elements/button-base-element.js"
110029
- }
110030
- },
110031
- {
110032
- "name": "form",
110033
- "description": "The `<form>` element to associate the button with.",
110034
- "type": {
110035
- "text": "HTMLFormElement | null"
110036
- },
110037
- "fieldName": "form",
110038
- "inheritedFrom": {
110039
- "name": "SbbButtonBaseElement",
110040
- "module": "core/base-elements/button-base-element.js"
110041
- }
110042
- },
110043
- {
110044
- "name": "name",
110045
- "description": "Name of the form element. Will be read from name attribute.",
110046
- "type": {
110047
- "text": "string"
110048
- },
110049
- "fieldName": "name",
110050
- "inheritedFrom": {
110051
- "name": "SbbFormAssociatedMixin",
110052
- "module": "core/mixins/form-associated-mixin.js"
110053
- }
110054
- }
110055
- ],
110056
- "superclass": {
110057
- "name": "SbbButtonBaseElement",
110058
- "module": "core/base-elements.js"
110059
- },
110060
- "tagName": "sbb-mini-calendar-day",
110061
- "customElement": true,
110062
- "classGenerics": "T = Date"
110063
- }
110064
- ],
110065
- "exports": [
110066
- {
110067
- "kind": "js",
110068
- "name": "SbbMiniCalendarDayElement",
110069
- "declaration": {
110070
- "name": "SbbMiniCalendarDayElement",
110071
- "module": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js"
110072
- }
110073
- }
110074
- ]
110075
- },
110076
- {
110077
- "kind": "javascript-module",
110078
- "path": "navigation/common/navigation-action-common.js",
110079
- "declarations": [
110080
- {
110081
- "kind": "class",
110082
- "description": "",
110083
- "name": "SbbNavigationActionCommonElementMixinType",
110084
- "members": [
110085
- {
110086
- "kind": "field",
110087
- "name": "size",
110088
- "type": {
110089
- "text": "SbbNavigationActionSize"
110090
- },
110091
- "privacy": "public"
110092
- },
110093
- {
110094
- "kind": "field",
110095
- "name": "marker",
110096
- "type": {
110097
- "text": "SbbNavigationMarkerElement | null"
110098
- },
110099
- "privacy": "public",
110100
- "readonly": true
110101
- },
110102
- {
110103
- "kind": "field",
110104
- "name": "section",
110105
- "type": {
110106
- "text": "SbbNavigationSectionElement | null"
110107
- },
110108
- "privacy": "public",
110109
- "readonly": true
110110
- },
110111
- {
110112
- "kind": "field",
110113
- "name": "connectedSection",
110114
- "type": {
110115
- "text": "SbbNavigationSectionElement | undefined"
110116
- },
110117
- "privacy": "public"
110118
- }
110119
- ]
110120
- },
110121
- {
110122
- "kind": "mixin",
110123
- "description": "",
110124
- "name": "SbbNavigationActionCommonElementMixin",
110125
- "members": [
110126
- {
110127
- "kind": "field",
110128
- "name": "styles",
110129
- "type": {
110130
- "text": "CSSResultGroup"
110131
- },
110132
- "privacy": "public",
110133
- "static": true,
110134
- "default": "[boxSizingStyles, unsafeCSS(style)]"
110135
- },
110136
- {
110137
- "kind": "field",
110138
- "name": "size",
110139
- "type": {
110140
- "text": "SbbNavigationActionSize"
110141
- },
110142
- "privacy": "public",
110143
- "description": "Action size variant, either s, m or l.",
110144
- "default": "'l' / 's' (lean)",
110145
- "attribute": "size",
110146
- "reflects": true
110147
- },
110148
- {
110149
- "kind": "field",
110150
- "name": "connectedSection",
110151
- "type": {
110152
- "text": "SbbNavigationSectionElement | undefined"
110153
- },
110154
- "privacy": "public",
110155
- "description": "The section that is being controlled by the action, if any."
110156
- },
110157
- {
110158
- "kind": "field",
110159
- "name": "marker",
110160
- "type": {
110161
- "text": "SbbNavigationMarkerElement | null"
110162
- },
110163
- "privacy": "public",
110164
- "description": "The navigation marker in which the action is nested.",
110165
- "readonly": true
110166
- },
110167
- {
110168
- "kind": "field",
110169
- "name": "section",
110170
- "type": {
110171
- "text": "SbbNavigationSectionElement | null"
110172
- },
110173
- "privacy": "public",
110174
- "description": "The section in which the action is nested.",
110175
- "readonly": true
110176
- },
110177
- {
110178
- "kind": "field",
110179
- "name": "_navigationMarker",
110180
- "type": {
110181
- "text": "SbbNavigationMarkerElement | null"
110182
- },
110183
- "privacy": "private",
110184
- "default": "null"
110003
+ "fieldName": "color"
110185
110004
  },
110186
110005
  {
110187
- "kind": "field",
110188
- "name": "_navigationSection",
110006
+ "name": "value",
110189
110007
  "type": {
110190
- "text": "SbbNavigationSectionElement | null"
110008
+ "text": "string"
110191
110009
  },
110192
- "privacy": "private",
110193
- "default": "null"
110010
+ "default": "''",
110011
+ "description": "Value of the form element.",
110012
+ "fieldName": "value",
110013
+ "inheritedFrom": {
110014
+ "name": "SbbButtonBaseElement",
110015
+ "module": "core/base-elements/button-base-element.js"
110016
+ }
110194
110017
  },
110195
110018
  {
110196
- "kind": "method",
110197
- "name": "renderTemplate",
110198
- "privacy": "protected",
110199
- "return": {
110200
- "type": {
110201
- "text": "TemplateResult"
110202
- }
110019
+ "name": "type",
110020
+ "description": "The type attribute to use for the button.",
110021
+ "default": "'button'",
110022
+ "type": {
110023
+ "text": "SbbButtonType"
110024
+ },
110025
+ "fieldName": "type",
110026
+ "inheritedFrom": {
110027
+ "name": "SbbButtonBaseElement",
110028
+ "module": "core/base-elements/button-base-element.js"
110203
110029
  }
110204
- }
110205
- ],
110206
- "attributes": [
110030
+ },
110207
110031
  {
110208
- "name": "size",
110032
+ "name": "form",
110033
+ "description": "The `<form>` element to associate the button with.",
110209
110034
  "type": {
110210
- "text": "SbbNavigationActionSize"
110035
+ "text": "HTMLFormElement | null"
110211
110036
  },
110212
- "description": "Action size variant, either s, m or l.",
110213
- "default": "'l' / 's' (lean)",
110214
- "fieldName": "size"
110215
- }
110216
- ],
110217
- "parameters": [
110037
+ "fieldName": "form",
110038
+ "inheritedFrom": {
110039
+ "name": "SbbButtonBaseElement",
110040
+ "module": "core/base-elements/button-base-element.js"
110041
+ }
110042
+ },
110218
110043
  {
110219
- "name": "superClass",
110044
+ "name": "name",
110045
+ "description": "Name of the form element. Will be read from name attribute.",
110220
110046
  "type": {
110221
- "text": "T"
110047
+ "text": "string"
110048
+ },
110049
+ "fieldName": "name",
110050
+ "inheritedFrom": {
110051
+ "name": "SbbFormAssociatedMixin",
110052
+ "module": "core/mixins/form-associated-mixin.js"
110222
110053
  }
110223
110054
  }
110224
- ]
110055
+ ],
110056
+ "superclass": {
110057
+ "name": "SbbButtonBaseElement",
110058
+ "module": "core/base-elements.js"
110059
+ },
110060
+ "tagName": "sbb-mini-calendar-day",
110061
+ "customElement": true,
110062
+ "classGenerics": "T = Date"
110225
110063
  }
110226
110064
  ],
110227
110065
  "exports": [
110228
110066
  {
110229
110067
  "kind": "js",
110230
- "name": "SbbNavigationActionCommonElementMixinType",
110231
- "declaration": {
110232
- "name": "SbbNavigationActionCommonElementMixinType",
110233
- "module": "navigation/common/navigation-action-common.js"
110234
- }
110235
- },
110236
- {
110237
- "kind": "js",
110238
- "name": "SbbNavigationActionCommonElementMixin",
110068
+ "name": "SbbMiniCalendarDayElement",
110239
110069
  "declaration": {
110240
- "name": "SbbNavigationActionCommonElementMixin",
110241
- "module": "navigation/common/navigation-action-common.js"
110070
+ "name": "SbbMiniCalendarDayElement",
110071
+ "module": "mini-calendar/mini-calendar-day/mini-calendar-day.component.js"
110242
110072
  }
110243
110073
  }
110244
110074
  ]
@@ -110461,6 +110291,176 @@
110461
110291
  }
110462
110292
  ]
110463
110293
  },
110294
+ {
110295
+ "kind": "javascript-module",
110296
+ "path": "navigation/common/navigation-action-common.js",
110297
+ "declarations": [
110298
+ {
110299
+ "kind": "class",
110300
+ "description": "",
110301
+ "name": "SbbNavigationActionCommonElementMixinType",
110302
+ "members": [
110303
+ {
110304
+ "kind": "field",
110305
+ "name": "size",
110306
+ "type": {
110307
+ "text": "SbbNavigationActionSize"
110308
+ },
110309
+ "privacy": "public"
110310
+ },
110311
+ {
110312
+ "kind": "field",
110313
+ "name": "marker",
110314
+ "type": {
110315
+ "text": "SbbNavigationMarkerElement | null"
110316
+ },
110317
+ "privacy": "public",
110318
+ "readonly": true
110319
+ },
110320
+ {
110321
+ "kind": "field",
110322
+ "name": "section",
110323
+ "type": {
110324
+ "text": "SbbNavigationSectionElement | null"
110325
+ },
110326
+ "privacy": "public",
110327
+ "readonly": true
110328
+ },
110329
+ {
110330
+ "kind": "field",
110331
+ "name": "connectedSection",
110332
+ "type": {
110333
+ "text": "SbbNavigationSectionElement | undefined"
110334
+ },
110335
+ "privacy": "public"
110336
+ }
110337
+ ]
110338
+ },
110339
+ {
110340
+ "kind": "mixin",
110341
+ "description": "",
110342
+ "name": "SbbNavigationActionCommonElementMixin",
110343
+ "members": [
110344
+ {
110345
+ "kind": "field",
110346
+ "name": "styles",
110347
+ "type": {
110348
+ "text": "CSSResultGroup"
110349
+ },
110350
+ "privacy": "public",
110351
+ "static": true,
110352
+ "default": "[boxSizingStyles, unsafeCSS(style)]"
110353
+ },
110354
+ {
110355
+ "kind": "field",
110356
+ "name": "size",
110357
+ "type": {
110358
+ "text": "SbbNavigationActionSize"
110359
+ },
110360
+ "privacy": "public",
110361
+ "description": "Action size variant, either s, m or l.",
110362
+ "default": "'l' / 's' (lean)",
110363
+ "attribute": "size",
110364
+ "reflects": true
110365
+ },
110366
+ {
110367
+ "kind": "field",
110368
+ "name": "connectedSection",
110369
+ "type": {
110370
+ "text": "SbbNavigationSectionElement | undefined"
110371
+ },
110372
+ "privacy": "public",
110373
+ "description": "The section that is being controlled by the action, if any."
110374
+ },
110375
+ {
110376
+ "kind": "field",
110377
+ "name": "marker",
110378
+ "type": {
110379
+ "text": "SbbNavigationMarkerElement | null"
110380
+ },
110381
+ "privacy": "public",
110382
+ "description": "The navigation marker in which the action is nested.",
110383
+ "readonly": true
110384
+ },
110385
+ {
110386
+ "kind": "field",
110387
+ "name": "section",
110388
+ "type": {
110389
+ "text": "SbbNavigationSectionElement | null"
110390
+ },
110391
+ "privacy": "public",
110392
+ "description": "The section in which the action is nested.",
110393
+ "readonly": true
110394
+ },
110395
+ {
110396
+ "kind": "field",
110397
+ "name": "_navigationMarker",
110398
+ "type": {
110399
+ "text": "SbbNavigationMarkerElement | null"
110400
+ },
110401
+ "privacy": "private",
110402
+ "default": "null"
110403
+ },
110404
+ {
110405
+ "kind": "field",
110406
+ "name": "_navigationSection",
110407
+ "type": {
110408
+ "text": "SbbNavigationSectionElement | null"
110409
+ },
110410
+ "privacy": "private",
110411
+ "default": "null"
110412
+ },
110413
+ {
110414
+ "kind": "method",
110415
+ "name": "renderTemplate",
110416
+ "privacy": "protected",
110417
+ "return": {
110418
+ "type": {
110419
+ "text": "TemplateResult"
110420
+ }
110421
+ }
110422
+ }
110423
+ ],
110424
+ "attributes": [
110425
+ {
110426
+ "name": "size",
110427
+ "type": {
110428
+ "text": "SbbNavigationActionSize"
110429
+ },
110430
+ "description": "Action size variant, either s, m or l.",
110431
+ "default": "'l' / 's' (lean)",
110432
+ "fieldName": "size"
110433
+ }
110434
+ ],
110435
+ "parameters": [
110436
+ {
110437
+ "name": "superClass",
110438
+ "type": {
110439
+ "text": "T"
110440
+ }
110441
+ }
110442
+ ]
110443
+ }
110444
+ ],
110445
+ "exports": [
110446
+ {
110447
+ "kind": "js",
110448
+ "name": "SbbNavigationActionCommonElementMixinType",
110449
+ "declaration": {
110450
+ "name": "SbbNavigationActionCommonElementMixinType",
110451
+ "module": "navigation/common/navigation-action-common.js"
110452
+ }
110453
+ },
110454
+ {
110455
+ "kind": "js",
110456
+ "name": "SbbNavigationActionCommonElementMixin",
110457
+ "declaration": {
110458
+ "name": "SbbNavigationActionCommonElementMixin",
110459
+ "module": "navigation/common/navigation-action-common.js"
110460
+ }
110461
+ }
110462
+ ]
110463
+ },
110464
110464
  {
110465
110465
  "kind": "javascript-module",
110466
110466
  "path": "navigation/navigation/navigation.component.js",