@sbb-esta/lyne-elements-dev 4.13.0-dev.1780474972 → 4.13.0-dev.1780487917

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.
@@ -60763,6 +60763,240 @@
60763
60763
  }
60764
60764
  ]
60765
60765
  },
60766
+ {
60767
+ "kind": "javascript-module",
60768
+ "path": "container/container/container.component.js",
60769
+ "declarations": [
60770
+ {
60771
+ "kind": "class",
60772
+ "description": "It displays its content with the default page spacing.",
60773
+ "name": "SbbContainerElement",
60774
+ "cssProperties": [
60775
+ {
60776
+ "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
60777
+ "name": "--sbb-page-spacing-padding"
60778
+ }
60779
+ ],
60780
+ "slots": [
60781
+ {
60782
+ "description": "Use the unnamed slot to add anything to the container.",
60783
+ "name": ""
60784
+ },
60785
+ {
60786
+ "description": "The slot used by the sbb-sticky-bar component.",
60787
+ "name": "sticky-bar"
60788
+ },
60789
+ {
60790
+ "description": "The slot used to slot an `sbb-image` to use as background.",
60791
+ "name": "image"
60792
+ }
60793
+ ],
60794
+ "members": [
60795
+ {
60796
+ "kind": "field",
60797
+ "name": "elementName",
60798
+ "type": {
60799
+ "text": "string"
60800
+ },
60801
+ "privacy": "public",
60802
+ "static": true,
60803
+ "readonly": true,
60804
+ "default": "'sbb-container'",
60805
+ "inheritedFrom": {
60806
+ "name": "SbbElement",
60807
+ "module": "core/base-elements/element.js"
60808
+ }
60809
+ },
60810
+ {
60811
+ "kind": "field",
60812
+ "name": "expanded",
60813
+ "type": {
60814
+ "text": "boolean"
60815
+ },
60816
+ "privacy": "public",
60817
+ "default": "false",
60818
+ "description": "Whether the container is expanded.",
60819
+ "attribute": "expanded",
60820
+ "reflects": true
60821
+ },
60822
+ {
60823
+ "kind": "field",
60824
+ "name": "backgroundExpanded",
60825
+ "type": {
60826
+ "text": "boolean"
60827
+ },
60828
+ "privacy": "public",
60829
+ "default": "false",
60830
+ "description": "Whether the background color is shown on full container width on large screens.",
60831
+ "attribute": "background-expanded",
60832
+ "reflects": true
60833
+ },
60834
+ {
60835
+ "kind": "field",
60836
+ "name": "color",
60837
+ "type": {
60838
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60839
+ },
60840
+ "privacy": "public",
60841
+ "default": "'white'",
60842
+ "description": "Color of the container, like transparent, white etc.",
60843
+ "attribute": "color",
60844
+ "reflects": true
60845
+ },
60846
+ {
60847
+ "kind": "field",
60848
+ "name": "_hydrationRequired",
60849
+ "type": {
60850
+ "text": "boolean"
60851
+ },
60852
+ "privacy": "private",
60853
+ "default": "!!this.shadowRoot",
60854
+ "inheritedFrom": {
60855
+ "name": "SbbHydrationMixin",
60856
+ "module": "core/mixins/hydration-mixin.js"
60857
+ }
60858
+ },
60859
+ {
60860
+ "kind": "field",
60861
+ "name": "_hydrationComplete",
60862
+ "privacy": "private",
60863
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
60864
+ "inheritedFrom": {
60865
+ "name": "SbbHydrationMixin",
60866
+ "module": "core/mixins/hydration-mixin.js"
60867
+ }
60868
+ },
60869
+ {
60870
+ "kind": "field",
60871
+ "name": "_resolveHydration",
60872
+ "type": {
60873
+ "text": "(hydrationRequired: boolean) => void"
60874
+ },
60875
+ "privacy": "private",
60876
+ "inheritedFrom": {
60877
+ "name": "SbbHydrationMixin",
60878
+ "module": "core/mixins/hydration-mixin.js"
60879
+ }
60880
+ },
60881
+ {
60882
+ "kind": "field",
60883
+ "name": "hydrationRequired",
60884
+ "type": {
60885
+ "text": "boolean"
60886
+ },
60887
+ "privacy": "protected",
60888
+ "description": "Returns whether hydration is required and not completed.",
60889
+ "readonly": true,
60890
+ "inheritedFrom": {
60891
+ "name": "SbbHydrationMixin",
60892
+ "module": "core/mixins/hydration-mixin.js"
60893
+ },
60894
+ "default": "!!this.shadowRoot"
60895
+ },
60896
+ {
60897
+ "kind": "method",
60898
+ "name": "toggleState",
60899
+ "privacy": "protected",
60900
+ "return": {
60901
+ "type": {
60902
+ "text": "void"
60903
+ }
60904
+ },
60905
+ "parameters": [
60906
+ {
60907
+ "name": "value",
60908
+ "type": {
60909
+ "text": "string"
60910
+ }
60911
+ },
60912
+ {
60913
+ "name": "force",
60914
+ "optional": true,
60915
+ "type": {
60916
+ "text": "boolean"
60917
+ }
60918
+ }
60919
+ ],
60920
+ "inheritedFrom": {
60921
+ "name": "SbbElementInternalsMixin",
60922
+ "module": "core/mixins/element-internals-mixin.js"
60923
+ }
60924
+ },
60925
+ {
60926
+ "kind": "field",
60927
+ "name": "['_$sbbElement$']",
60928
+ "type": {
60929
+ "text": "boolean"
60930
+ },
60931
+ "privacy": "public",
60932
+ "static": true,
60933
+ "default": "true",
60934
+ "inheritedFrom": {
60935
+ "name": "SbbElement",
60936
+ "module": "core/base-elements/element.js"
60937
+ }
60938
+ },
60939
+ {
60940
+ "kind": "field",
60941
+ "name": "_controllers",
60942
+ "type": {
60943
+ "text": "Set<SbbReactiveController> | undefined"
60944
+ },
60945
+ "privacy": "private",
60946
+ "inheritedFrom": {
60947
+ "name": "SbbElement",
60948
+ "module": "core/base-elements/element.js"
60949
+ }
60950
+ }
60951
+ ],
60952
+ "attributes": [
60953
+ {
60954
+ "name": "expanded",
60955
+ "type": {
60956
+ "text": "boolean"
60957
+ },
60958
+ "default": "false",
60959
+ "description": "Whether the container is expanded.",
60960
+ "fieldName": "expanded"
60961
+ },
60962
+ {
60963
+ "name": "background-expanded",
60964
+ "type": {
60965
+ "text": "boolean"
60966
+ },
60967
+ "default": "false",
60968
+ "description": "Whether the background color is shown on full container width on large screens.",
60969
+ "fieldName": "backgroundExpanded"
60970
+ },
60971
+ {
60972
+ "name": "color",
60973
+ "type": {
60974
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60975
+ },
60976
+ "default": "'white'",
60977
+ "description": "Color of the container, like transparent, white etc.",
60978
+ "fieldName": "color"
60979
+ }
60980
+ ],
60981
+ "superclass": {
60982
+ "name": "SbbElement",
60983
+ "module": "core/base-elements.js"
60984
+ },
60985
+ "tagName": "sbb-container",
60986
+ "customElement": true
60987
+ }
60988
+ ],
60989
+ "exports": [
60990
+ {
60991
+ "kind": "js",
60992
+ "name": "SbbContainerElement",
60993
+ "declaration": {
60994
+ "name": "SbbContainerElement",
60995
+ "module": "container/container/container.component.js"
60996
+ }
60997
+ }
60998
+ ]
60999
+ },
60766
61000
  {
60767
61001
  "kind": "javascript-module",
60768
61002
  "path": "container/sticky-bar/sticky-bar.component.js",
@@ -61225,240 +61459,6 @@
61225
61459
  }
61226
61460
  ]
61227
61461
  },
61228
- {
61229
- "kind": "javascript-module",
61230
- "path": "container/container/container.component.js",
61231
- "declarations": [
61232
- {
61233
- "kind": "class",
61234
- "description": "It displays its content with the default page spacing.",
61235
- "name": "SbbContainerElement",
61236
- "cssProperties": [
61237
- {
61238
- "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
61239
- "name": "--sbb-page-spacing-padding"
61240
- }
61241
- ],
61242
- "slots": [
61243
- {
61244
- "description": "Use the unnamed slot to add anything to the container.",
61245
- "name": ""
61246
- },
61247
- {
61248
- "description": "The slot used by the sbb-sticky-bar component.",
61249
- "name": "sticky-bar"
61250
- },
61251
- {
61252
- "description": "The slot used to slot an `sbb-image` to use as background.",
61253
- "name": "image"
61254
- }
61255
- ],
61256
- "members": [
61257
- {
61258
- "kind": "field",
61259
- "name": "elementName",
61260
- "type": {
61261
- "text": "string"
61262
- },
61263
- "privacy": "public",
61264
- "static": true,
61265
- "readonly": true,
61266
- "default": "'sbb-container'",
61267
- "inheritedFrom": {
61268
- "name": "SbbElement",
61269
- "module": "core/base-elements/element.js"
61270
- }
61271
- },
61272
- {
61273
- "kind": "field",
61274
- "name": "expanded",
61275
- "type": {
61276
- "text": "boolean"
61277
- },
61278
- "privacy": "public",
61279
- "default": "false",
61280
- "description": "Whether the container is expanded.",
61281
- "attribute": "expanded",
61282
- "reflects": true
61283
- },
61284
- {
61285
- "kind": "field",
61286
- "name": "backgroundExpanded",
61287
- "type": {
61288
- "text": "boolean"
61289
- },
61290
- "privacy": "public",
61291
- "default": "false",
61292
- "description": "Whether the background color is shown on full container width on large screens.",
61293
- "attribute": "background-expanded",
61294
- "reflects": true
61295
- },
61296
- {
61297
- "kind": "field",
61298
- "name": "color",
61299
- "type": {
61300
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
61301
- },
61302
- "privacy": "public",
61303
- "default": "'white'",
61304
- "description": "Color of the container, like transparent, white etc.",
61305
- "attribute": "color",
61306
- "reflects": true
61307
- },
61308
- {
61309
- "kind": "field",
61310
- "name": "_hydrationRequired",
61311
- "type": {
61312
- "text": "boolean"
61313
- },
61314
- "privacy": "private",
61315
- "default": "!!this.shadowRoot",
61316
- "inheritedFrom": {
61317
- "name": "SbbHydrationMixin",
61318
- "module": "core/mixins/hydration-mixin.js"
61319
- }
61320
- },
61321
- {
61322
- "kind": "field",
61323
- "name": "_hydrationComplete",
61324
- "privacy": "private",
61325
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
61326
- "inheritedFrom": {
61327
- "name": "SbbHydrationMixin",
61328
- "module": "core/mixins/hydration-mixin.js"
61329
- }
61330
- },
61331
- {
61332
- "kind": "field",
61333
- "name": "_resolveHydration",
61334
- "type": {
61335
- "text": "(hydrationRequired: boolean) => void"
61336
- },
61337
- "privacy": "private",
61338
- "inheritedFrom": {
61339
- "name": "SbbHydrationMixin",
61340
- "module": "core/mixins/hydration-mixin.js"
61341
- }
61342
- },
61343
- {
61344
- "kind": "field",
61345
- "name": "hydrationRequired",
61346
- "type": {
61347
- "text": "boolean"
61348
- },
61349
- "privacy": "protected",
61350
- "description": "Returns whether hydration is required and not completed.",
61351
- "readonly": true,
61352
- "inheritedFrom": {
61353
- "name": "SbbHydrationMixin",
61354
- "module": "core/mixins/hydration-mixin.js"
61355
- },
61356
- "default": "!!this.shadowRoot"
61357
- },
61358
- {
61359
- "kind": "method",
61360
- "name": "toggleState",
61361
- "privacy": "protected",
61362
- "return": {
61363
- "type": {
61364
- "text": "void"
61365
- }
61366
- },
61367
- "parameters": [
61368
- {
61369
- "name": "value",
61370
- "type": {
61371
- "text": "string"
61372
- }
61373
- },
61374
- {
61375
- "name": "force",
61376
- "optional": true,
61377
- "type": {
61378
- "text": "boolean"
61379
- }
61380
- }
61381
- ],
61382
- "inheritedFrom": {
61383
- "name": "SbbElementInternalsMixin",
61384
- "module": "core/mixins/element-internals-mixin.js"
61385
- }
61386
- },
61387
- {
61388
- "kind": "field",
61389
- "name": "['_$sbbElement$']",
61390
- "type": {
61391
- "text": "boolean"
61392
- },
61393
- "privacy": "public",
61394
- "static": true,
61395
- "default": "true",
61396
- "inheritedFrom": {
61397
- "name": "SbbElement",
61398
- "module": "core/base-elements/element.js"
61399
- }
61400
- },
61401
- {
61402
- "kind": "field",
61403
- "name": "_controllers",
61404
- "type": {
61405
- "text": "Set<SbbReactiveController> | undefined"
61406
- },
61407
- "privacy": "private",
61408
- "inheritedFrom": {
61409
- "name": "SbbElement",
61410
- "module": "core/base-elements/element.js"
61411
- }
61412
- }
61413
- ],
61414
- "attributes": [
61415
- {
61416
- "name": "expanded",
61417
- "type": {
61418
- "text": "boolean"
61419
- },
61420
- "default": "false",
61421
- "description": "Whether the container is expanded.",
61422
- "fieldName": "expanded"
61423
- },
61424
- {
61425
- "name": "background-expanded",
61426
- "type": {
61427
- "text": "boolean"
61428
- },
61429
- "default": "false",
61430
- "description": "Whether the background color is shown on full container width on large screens.",
61431
- "fieldName": "backgroundExpanded"
61432
- },
61433
- {
61434
- "name": "color",
61435
- "type": {
61436
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
61437
- },
61438
- "default": "'white'",
61439
- "description": "Color of the container, like transparent, white etc.",
61440
- "fieldName": "color"
61441
- }
61442
- ],
61443
- "superclass": {
61444
- "name": "SbbElement",
61445
- "module": "core/base-elements.js"
61446
- },
61447
- "tagName": "sbb-container",
61448
- "customElement": true
61449
- }
61450
- ],
61451
- "exports": [
61452
- {
61453
- "kind": "js",
61454
- "name": "SbbContainerElement",
61455
- "declaration": {
61456
- "name": "SbbContainerElement",
61457
- "module": "container/container/container.component.js"
61458
- }
61459
- }
61460
- ]
61461
- },
61462
61462
  {
61463
61463
  "kind": "javascript-module",
61464
61464
  "path": "core/a11y/arrow-navigation.js",
@@ -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,464 +107499,181 @@
107544
107499
  },
107545
107500
  {
107546
107501
  "kind": "field",
107547
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
107548
- "type": {
107549
- "text": "array"
107550
- },
107551
- "privacy": "private",
107552
- "readonly": true,
107553
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
107554
- "inheritedFrom": {
107555
- "name": "SbbButtonBaseElement",
107556
- "module": "core/base-elements/button-base-element.js"
107557
- }
107558
- },
107559
- {
107560
- "kind": "field",
107561
- "name": "value",
107562
- "type": {
107563
- "text": "string"
107564
- },
107565
- "privacy": "public",
107566
- "inheritedFrom": {
107567
- "name": "SbbButtonBaseElement",
107568
- "module": "core/base-elements/button-base-element.js"
107569
- },
107570
- "default": "''",
107571
- "description": "Value of the form element.",
107572
- "attribute": "value"
107573
- },
107574
- {
107575
- "kind": "field",
107576
- "name": "type",
107502
+ "name": "disabled",
107577
107503
  "privacy": "public",
107578
- "description": "The type attribute to use for the button.",
107579
- "default": "'button'",
107504
+ "description": "Whether the component is disabled.",
107505
+ "default": "false",
107580
107506
  "type": {
107581
- "text": "SbbButtonType"
107507
+ "text": "boolean"
107582
107508
  },
107583
- "attribute": "type",
107509
+ "attribute": "disabled",
107510
+ "reflects": true,
107584
107511
  "inheritedFrom": {
107585
- "name": "SbbButtonBaseElement",
107586
- "module": "core/base-elements/button-base-element.js"
107512
+ "name": "SbbDisabledMixin",
107513
+ "module": "core/mixins/disabled-mixin.js"
107587
107514
  }
107588
107515
  },
107589
107516
  {
107590
107517
  "kind": "field",
107591
- "name": "form",
107592
- "type": {
107593
- "text": "HTMLFormElement | null"
107594
- },
107595
- "privacy": "public",
107596
- "description": "The `<form>` element to associate the button with.",
107597
- "inheritedFrom": {
107598
- "name": "SbbButtonBaseElement",
107599
- "module": "core/base-elements/button-base-element.js"
107600
- },
107601
- "attribute": "form"
107602
- },
107603
- {
107604
- "kind": "field",
107605
- "name": "_formId",
107518
+ "name": "#disabled",
107519
+ "privacy": "private",
107606
107520
  "type": {
107607
- "text": "string"
107521
+ "text": "boolean"
107608
107522
  },
107609
- "privacy": "private",
107610
- "default": "''",
107611
- "inheritedFrom": {
107612
- "name": "SbbButtonBaseElement",
107613
- "module": "core/base-elements/button-base-element.js"
107614
- }
107615
- },
107616
- {
107617
- "kind": "field",
107618
- "name": "_handleButtonClick",
107619
- "privacy": "private",
107523
+ "default": "false",
107620
107524
  "inheritedFrom": {
107621
- "name": "SbbButtonBaseElement",
107622
- "module": "core/base-elements/button-base-element.js"
107525
+ "name": "SbbDisabledMixin",
107526
+ "module": "core/mixins/disabled-mixin.js"
107623
107527
  }
107624
107528
  },
107625
107529
  {
107626
107530
  "kind": "method",
107627
- "name": "_requestSubmit",
107628
- "privacy": "private",
107531
+ "name": "isDisabledExternally",
107532
+ "privacy": "protected",
107629
107533
  "return": {
107630
107534
  "type": {
107631
- "text": "void"
107632
- }
107633
- },
107634
- "parameters": [
107635
- {
107636
- "name": "form",
107637
- "type": {
107638
- "text": "HTMLFormElement"
107639
- }
107535
+ "text": "boolean"
107640
107536
  }
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",
107651
- "inheritedFrom": {
107652
- "name": "SbbButtonBaseElement",
107653
- "module": "core/base-elements/button-base-element.js"
107654
- }
107655
- },
107656
- {
107657
- "kind": "field",
107658
- "name": "formAssociated",
107659
- "type": {
107660
- "text": "boolean"
107661
107537
  },
107662
- "privacy": "public",
107663
- "static": true,
107664
- "default": "true",
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.",
107665
107539
  "inheritedFrom": {
107666
- "name": "SbbFormAssociatedMixin",
107667
- "module": "core/mixins/form-associated-mixin.js"
107540
+ "name": "SbbDisabledMixin",
107541
+ "module": "core/mixins/disabled-mixin.js"
107668
107542
  }
107669
107543
  },
107670
107544
  {
107671
107545
  "kind": "field",
107672
- "name": "name",
107673
- "privacy": "public",
107674
- "description": "Name of the form element. Will be read from name attribute.",
107546
+ "name": "href",
107675
107547
  "type": {
107676
107548
  "text": "string"
107677
107549
  },
107678
- "attribute": "name",
107550
+ "privacy": "public",
107551
+ "default": "''",
107552
+ "description": "The href value you want to link to.",
107553
+ "attribute": "href",
107554
+ "reflects": true,
107679
107555
  "inheritedFrom": {
107680
- "name": "SbbFormAssociatedMixin",
107681
- "module": "core/mixins/form-associated-mixin.js"
107556
+ "name": "SbbLinkBaseElement",
107557
+ "module": "core/base-elements/link-base-element.js"
107682
107558
  }
107683
107559
  },
107684
107560
  {
107685
107561
  "kind": "field",
107686
- "name": "validity",
107562
+ "name": "target",
107687
107563
  "type": {
107688
- "text": "ValidityState"
107564
+ "text": "LinkTargetType | string"
107689
107565
  },
107690
107566
  "privacy": "public",
107691
- "description": "Returns the ValidityState object for this element.",
107692
- "readonly": true,
107567
+ "default": "''",
107568
+ "description": "Where to display the linked URL.",
107569
+ "attribute": "target",
107570
+ "reflects": true,
107693
107571
  "inheritedFrom": {
107694
- "name": "SbbFormAssociatedMixin",
107695
- "module": "core/mixins/form-associated-mixin.js"
107572
+ "name": "SbbLinkBaseElement",
107573
+ "module": "core/base-elements/link-base-element.js"
107696
107574
  }
107697
107575
  },
107698
107576
  {
107699
107577
  "kind": "field",
107700
- "name": "validationMessage",
107578
+ "name": "rel",
107701
107579
  "type": {
107702
107580
  "text": "string"
107703
107581
  },
107704
107582
  "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,
107583
+ "default": "''",
107584
+ "description": "The relationship of the linked URL as space-separated link types.",
107585
+ "attribute": "rel",
107586
+ "reflects": true,
107707
107587
  "inheritedFrom": {
107708
- "name": "SbbFormAssociatedMixin",
107709
- "module": "core/mixins/form-associated-mixin.js"
107588
+ "name": "SbbLinkBaseElement",
107589
+ "module": "core/base-elements/link-base-element.js"
107710
107590
  }
107711
107591
  },
107712
107592
  {
107713
107593
  "kind": "field",
107714
- "name": "willValidate",
107594
+ "name": "download",
107715
107595
  "type": {
107716
107596
  "text": "boolean"
107717
107597
  },
107718
107598
  "privacy": "public",
107719
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
107720
- "readonly": true,
107721
- "inheritedFrom": {
107722
- "name": "SbbFormAssociatedMixin",
107723
- "module": "core/mixins/form-associated-mixin.js"
107724
- }
107725
- },
107726
- {
107727
- "kind": "field",
107728
- "name": "_validityStates",
107729
- "privacy": "private",
107730
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
107599
+ "default": "false",
107600
+ "description": "Whether the browser will show the download dialog on click.",
107601
+ "attribute": "download",
107602
+ "reflects": true,
107731
107603
  "inheritedFrom": {
107732
- "name": "SbbFormAssociatedMixin",
107733
- "module": "core/mixins/form-associated-mixin.js"
107604
+ "name": "SbbLinkBaseElement",
107605
+ "module": "core/base-elements/link-base-element.js"
107734
107606
  }
107735
107607
  },
107736
107608
  {
107737
107609
  "kind": "field",
107738
- "name": "formDisabled",
107610
+ "name": "accessibilityLabel",
107739
107611
  "type": {
107740
- "text": "boolean"
107612
+ "text": "string"
107741
107613
  },
107742
- "privacy": "protected",
107743
- "default": "false",
107744
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
107745
- "inheritedFrom": {
107746
- "name": "SbbFormAssociatedMixin",
107747
- "module": "core/mixins/form-associated-mixin.js"
107748
- }
107749
- },
107750
- {
107751
- "kind": "method",
107752
- "name": "checkValidity",
107753
107614
  "privacy": "public",
107754
- "return": {
107755
- "type": {
107756
- "text": "boolean"
107757
- }
107758
- },
107759
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
107615
+ "default": "''",
107616
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
107617
+ "attribute": "accessibility-label",
107760
107618
  "inheritedFrom": {
107761
- "name": "SbbFormAssociatedMixin",
107762
- "module": "core/mixins/form-associated-mixin.js"
107619
+ "name": "SbbLinkBaseElement",
107620
+ "module": "core/base-elements/link-base-element.js"
107763
107621
  }
107764
107622
  },
107765
107623
  {
107766
- "kind": "method",
107767
- "name": "reportValidity",
107768
- "privacy": "public",
107769
- "return": {
107770
- "type": {
107771
- "text": "boolean"
107772
- }
107624
+ "kind": "field",
107625
+ "name": "accessibilityCurrent",
107626
+ "type": {
107627
+ "text": "string"
107773
107628
  },
107774
- "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
107775
- "inheritedFrom": {
107776
- "name": "SbbFormAssociatedMixin",
107777
- "module": "core/mixins/form-associated-mixin.js"
107778
- }
107779
- },
107780
- {
107781
- "kind": "method",
107782
- "name": "setCustomValidity",
107783
107629
  "privacy": "public",
107784
- "return": {
107785
- "type": {
107786
- "text": "void"
107787
- }
107788
- },
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
- "inheritedFrom": {
107799
- "name": "SbbFormAssociatedMixin",
107800
- "module": "core/mixins/form-associated-mixin.js"
107801
- }
107802
- },
107803
- {
107804
- "kind": "method",
107805
- "name": "_hasDisabledAncestor",
107806
- "privacy": "private",
107807
- "return": {
107808
- "type": {
107809
- "text": "boolean"
107810
- }
107811
- },
107812
- "inheritedFrom": {
107813
- "name": "SbbFormAssociatedMixin",
107814
- "module": "core/mixins/form-associated-mixin.js"
107815
- }
107816
- },
107817
- {
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",
107827
- "inheritedFrom": {
107828
- "name": "SbbFormAssociatedMixin",
107829
- "module": "core/mixins/form-associated-mixin.js"
107830
- }
107831
- },
107832
- {
107833
- "kind": "method",
107834
- "name": "formState",
107835
- "privacy": "protected",
107836
- "return": {
107837
- "type": {
107838
- "text": "FormRestoreState"
107839
- }
107840
- },
107841
- "inheritedFrom": {
107842
- "name": "SbbFormAssociatedMixin",
107843
- "module": "core/mixins/form-associated-mixin.js"
107844
- }
107845
- },
107846
- {
107847
- "kind": "method",
107848
- "name": "setValidityFlag",
107849
- "privacy": "protected",
107850
- "return": {
107851
- "type": {
107852
- "text": "void"
107853
- }
107854
- },
107855
- "parameters": [
107856
- {
107857
- "name": "flag",
107858
- "type": {
107859
- "text": "T"
107860
- }
107861
- },
107862
- {
107863
- "name": "message",
107864
- "type": {
107865
- "text": "string"
107866
- }
107867
- },
107868
- {
107869
- "name": "flagValue",
107870
- "optional": true,
107871
- "type": {
107872
- "text": "ValidityStateFlags[T]"
107873
- }
107874
- }
107875
- ],
107876
- "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
107630
+ "default": "''",
107631
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
107632
+ "attribute": "accessibility-current",
107877
107633
  "inheritedFrom": {
107878
- "name": "SbbFormAssociatedMixin",
107879
- "module": "core/mixins/form-associated-mixin.js"
107634
+ "name": "SbbLinkBaseElement",
107635
+ "module": "core/base-elements/link-base-element.js"
107880
107636
  }
107881
107637
  },
107882
107638
  {
107883
- "kind": "method",
107884
- "name": "removeValidityFlag",
107639
+ "kind": "field",
107640
+ "name": "language",
107885
107641
  "privacy": "protected",
107886
- "return": {
107887
- "type": {
107888
- "text": "void"
107889
- }
107890
- },
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.",
107642
+ "default": "new SbbLanguageController(this)",
107900
107643
  "inheritedFrom": {
107901
- "name": "SbbFormAssociatedMixin",
107902
- "module": "core/mixins/form-associated-mixin.js"
107644
+ "name": "SbbLinkBaseElement",
107645
+ "module": "core/base-elements/link-base-element.js"
107903
107646
  }
107904
107647
  },
107905
107648
  {
107906
- "kind": "method",
107907
- "name": "validate",
107908
- "privacy": "protected",
107909
- "return": {
107910
- "type": {
107911
- "text": "void"
107912
- }
107913
- },
107914
- "description": "To be called whenever the current element needs to be validated.",
107649
+ "kind": "field",
107650
+ "name": "_evaluateRelAttribute",
107651
+ "privacy": "private",
107915
107652
  "inheritedFrom": {
107916
- "name": "SbbFormAssociatedMixin",
107917
- "module": "core/mixins/form-associated-mixin.js"
107653
+ "name": "SbbLinkBaseElement",
107654
+ "module": "core/base-elements/link-base-element.js"
107918
107655
  }
107919
107656
  },
107920
107657
  {
107921
107658
  "kind": "method",
107922
- "name": "shouldValidate",
107659
+ "name": "renderLink",
107923
107660
  "privacy": "protected",
107924
107661
  "return": {
107925
107662
  "type": {
107926
- "text": "boolean"
107663
+ "text": "TemplateResult"
107927
107664
  }
107928
107665
  },
107929
107666
  "parameters": [
107930
107667
  {
107931
- "name": "name",
107668
+ "name": "renderContent",
107932
107669
  "type": {
107933
- "text": "PropertyKey | undefined"
107670
+ "text": "TemplateResult"
107934
107671
  }
107935
107672
  }
107936
107673
  ],
107937
- "description": "Whether validation should be run on a property change with the given name.",
107938
- "inheritedFrom": {
107939
- "name": "SbbFormAssociatedMixin",
107940
- "module": "core/mixins/form-associated-mixin.js"
107941
- }
107942
- },
107943
- {
107944
- "kind": "method",
107945
- "name": "_setInternalValidity",
107946
- "privacy": "private",
107947
- "return": {
107948
- "type": {
107949
- "text": "void"
107950
- }
107951
- },
107952
- "inheritedFrom": {
107953
- "name": "SbbFormAssociatedMixin",
107954
- "module": "core/mixins/form-associated-mixin.js"
107955
- }
107956
- },
107957
- {
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
- ],
107968
- "inheritedFrom": {
107969
- "name": "SbbButtonLikeBaseElement",
107970
- "module": "core/base-elements/button-base-element.js"
107971
- }
107972
- },
107973
- {
107974
- "kind": "field",
107975
- "name": "_removeActiveMarker",
107976
- "privacy": "private",
107977
- "inheritedFrom": {
107978
- "name": "SbbButtonLikeBaseElement",
107979
- "module": "core/base-elements/button-base-element.js"
107980
- }
107981
- },
107982
- {
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
- ],
107993
- "inheritedFrom": {
107994
- "name": "SbbButtonLikeBaseElement",
107995
- "module": "core/base-elements/button-base-element.js"
107996
- }
107997
- },
107998
- {
107999
- "kind": "field",
108000
- "name": "_dispatchClickEvent",
108001
- "privacy": "private",
108002
107674
  "inheritedFrom": {
108003
- "name": "SbbButtonLikeBaseElement",
108004
- "module": "core/base-elements/button-base-element.js"
107675
+ "name": "SbbLinkBaseElement",
107676
+ "module": "core/base-elements/link-base-element.js"
108005
107677
  }
108006
107678
  },
108007
107679
  {
@@ -108152,7 +107824,7 @@
108152
107824
  ],
108153
107825
  "mixins": [
108154
107826
  {
108155
- "name": "SbbDisabledTabIndexActionMixin",
107827
+ "name": "SbbDisabledInteractiveMixin",
108156
107828
  "module": "core/mixins.js"
108157
107829
  },
108158
107830
  {
@@ -108161,10 +107833,10 @@
108161
107833
  }
108162
107834
  ],
108163
107835
  "superclass": {
108164
- "name": "SbbButtonBaseElement",
107836
+ "name": "SbbLinkBaseElement",
108165
107837
  "module": "core/base-elements.js"
108166
107838
  },
108167
- "tagName": "sbb-menu-button",
107839
+ "tagName": "sbb-menu-link",
108168
107840
  "customElement": true,
108169
107841
  "attributes": [
108170
107842
  {
@@ -108180,6 +107852,19 @@
108180
107852
  "module": "core/mixins/disabled-mixin.js"
108181
107853
  }
108182
107854
  },
107855
+ {
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",
107863
+ "inheritedFrom": {
107864
+ "name": "SbbIconNameMixin",
107865
+ "module": "icon/icon-name-mixin.js"
107866
+ }
107867
+ },
108183
107868
  {
108184
107869
  "name": "disabled",
108185
107870
  "description": "Whether the component is disabled.",
@@ -108194,66 +107879,81 @@
108194
107879
  }
108195
107880
  },
108196
107881
  {
108197
- "name": "icon-name",
107882
+ "name": "href",
108198
107883
  "type": {
108199
107884
  "text": "string"
108200
107885
  },
108201
107886
  "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",
107887
+ "description": "The href value you want to link to.",
107888
+ "fieldName": "href",
108204
107889
  "inheritedFrom": {
108205
- "name": "SbbIconNameMixin",
108206
- "module": "icon/icon-name-mixin.js"
107890
+ "name": "SbbLinkBaseElement",
107891
+ "module": "core/base-elements/link-base-element.js"
108207
107892
  }
108208
107893
  },
108209
107894
  {
108210
- "name": "value",
107895
+ "name": "target",
107896
+ "type": {
107897
+ "text": "LinkTargetType | string"
107898
+ },
107899
+ "default": "''",
107900
+ "description": "Where to display the linked URL.",
107901
+ "fieldName": "target",
107902
+ "inheritedFrom": {
107903
+ "name": "SbbLinkBaseElement",
107904
+ "module": "core/base-elements/link-base-element.js"
107905
+ }
107906
+ },
107907
+ {
107908
+ "name": "rel",
108211
107909
  "type": {
108212
107910
  "text": "string"
108213
107911
  },
108214
107912
  "default": "''",
108215
- "description": "Value of the form element.",
108216
- "fieldName": "value",
107913
+ "description": "The relationship of the linked URL as space-separated link types.",
107914
+ "fieldName": "rel",
108217
107915
  "inheritedFrom": {
108218
- "name": "SbbButtonBaseElement",
108219
- "module": "core/base-elements/button-base-element.js"
107916
+ "name": "SbbLinkBaseElement",
107917
+ "module": "core/base-elements/link-base-element.js"
108220
107918
  }
108221
107919
  },
108222
107920
  {
108223
- "name": "type",
108224
- "description": "The type attribute to use for the button.",
108225
- "default": "'button'",
107921
+ "name": "download",
108226
107922
  "type": {
108227
- "text": "SbbButtonType"
107923
+ "text": "boolean"
108228
107924
  },
108229
- "fieldName": "type",
107925
+ "default": "false",
107926
+ "description": "Whether the browser will show the download dialog on click.",
107927
+ "fieldName": "download",
108230
107928
  "inheritedFrom": {
108231
- "name": "SbbButtonBaseElement",
108232
- "module": "core/base-elements/button-base-element.js"
107929
+ "name": "SbbLinkBaseElement",
107930
+ "module": "core/base-elements/link-base-element.js"
108233
107931
  }
108234
107932
  },
108235
107933
  {
108236
- "name": "form",
108237
- "description": "The `<form>` element to associate the button with.",
107934
+ "name": "accessibility-label",
108238
107935
  "type": {
108239
- "text": "HTMLFormElement | null"
107936
+ "text": "string"
108240
107937
  },
108241
- "fieldName": "form",
107938
+ "default": "''",
107939
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
107940
+ "fieldName": "accessibilityLabel",
108242
107941
  "inheritedFrom": {
108243
- "name": "SbbButtonBaseElement",
108244
- "module": "core/base-elements/button-base-element.js"
107942
+ "name": "SbbLinkBaseElement",
107943
+ "module": "core/base-elements/link-base-element.js"
108245
107944
  }
108246
107945
  },
108247
107946
  {
108248
- "name": "name",
108249
- "description": "Name of the form element. Will be read from name attribute.",
107947
+ "name": "accessibility-current",
108250
107948
  "type": {
108251
107949
  "text": "string"
108252
107950
  },
108253
- "fieldName": "name",
107951
+ "default": "''",
107952
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
107953
+ "fieldName": "accessibilityCurrent",
108254
107954
  "inheritedFrom": {
108255
- "name": "SbbFormAssociatedMixin",
108256
- "module": "core/mixins/form-associated-mixin.js"
107955
+ "name": "SbbLinkBaseElement",
107956
+ "module": "core/base-elements/link-base-element.js"
108257
107957
  }
108258
107958
  }
108259
107959
  ]
@@ -108262,22 +107962,22 @@
108262
107962
  "exports": [
108263
107963
  {
108264
107964
  "kind": "js",
108265
- "name": "SbbMenuButtonElement",
107965
+ "name": "SbbMenuLinkElement",
108266
107966
  "declaration": {
108267
- "name": "SbbMenuButtonElement",
108268
- "module": "menu/menu-button/menu-button.component.js"
107967
+ "name": "SbbMenuLinkElement",
107968
+ "module": "menu/menu-link/menu-link.component.js"
108269
107969
  }
108270
107970
  }
108271
107971
  ]
108272
107972
  },
108273
107973
  {
108274
107974
  "kind": "javascript-module",
108275
- "path": "menu/menu-link/menu-link.component.js",
107975
+ "path": "menu/menu-button/menu-button.component.js",
108276
107976
  "declarations": [
108277
107977
  {
108278
107978
  "kind": "class",
108279
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
108280
- "name": "SbbMenuLinkElement",
107979
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
107980
+ "name": "SbbMenuButtonElement",
108281
107981
  "cssProperties": [
108282
107982
  {
108283
107983
  "description": "Can be used to modify horizontal padding.",
@@ -108287,7 +107987,7 @@
108287
107987
  ],
108288
107988
  "slots": [
108289
107989
  {
108290
- "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
107990
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
108291
107991
  "name": ""
108292
107992
  },
108293
107993
  {
@@ -108309,20 +108009,21 @@
108309
108009
  "name": "SbbElement",
108310
108010
  "module": "core/base-elements/element.js"
108311
108011
  },
108312
- "default": "'sbb-menu-link'"
108012
+ "default": "'sbb-menu-button'"
108313
108013
  },
108314
108014
  {
108315
108015
  "kind": "field",
108316
- "name": "anchorRole",
108016
+ "name": "role",
108317
108017
  "type": {
108318
- "text": "string"
108018
+ "text": "ElementInternals['role']"
108319
108019
  },
108320
- "privacy": "protected",
108020
+ "privacy": "public",
108021
+ "static": true,
108321
108022
  "readonly": true,
108322
108023
  "default": "'menuitem'",
108323
108024
  "inheritedFrom": {
108324
- "name": "SbbLinkBaseElement",
108325
- "module": "core/base-elements/link-base-element.js"
108025
+ "name": "SbbButtonLikeBaseElement",
108026
+ "module": "core/base-elements/button-base-element.js"
108326
108027
  }
108327
108028
  },
108328
108029
  {
@@ -108341,6 +108042,50 @@
108341
108042
  "module": "core/mixins/disabled-mixin.js"
108342
108043
  }
108343
108044
  },
108045
+ {
108046
+ "kind": "field",
108047
+ "name": "disabled",
108048
+ "privacy": "public",
108049
+ "description": "Whether the component is disabled.",
108050
+ "default": "false",
108051
+ "type": {
108052
+ "text": "boolean"
108053
+ },
108054
+ "attribute": "disabled",
108055
+ "reflects": true,
108056
+ "inheritedFrom": {
108057
+ "name": "SbbDisabledMixin",
108058
+ "module": "core/mixins/disabled-mixin.js"
108059
+ }
108060
+ },
108061
+ {
108062
+ "kind": "field",
108063
+ "name": "#disabled",
108064
+ "privacy": "private",
108065
+ "type": {
108066
+ "text": "boolean"
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
+ },
108344
108089
  {
108345
108090
  "kind": "field",
108346
108091
  "name": "styles",
@@ -108438,181 +108183,464 @@
108438
108183
  },
108439
108184
  {
108440
108185
  "kind": "field",
108441
- "name": "disabled",
108186
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
108187
+ "type": {
108188
+ "text": "array"
108189
+ },
108190
+ "privacy": "private",
108191
+ "readonly": true,
108192
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
108193
+ "inheritedFrom": {
108194
+ "name": "SbbButtonBaseElement",
108195
+ "module": "core/base-elements/button-base-element.js"
108196
+ }
108197
+ },
108198
+ {
108199
+ "kind": "field",
108200
+ "name": "value",
108201
+ "type": {
108202
+ "text": "string"
108203
+ },
108442
108204
  "privacy": "public",
108443
- "description": "Whether the component is disabled.",
108444
- "default": "false",
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
+ },
108213
+ {
108214
+ "kind": "field",
108215
+ "name": "type",
108216
+ "privacy": "public",
108217
+ "description": "The type attribute to use for the button.",
108218
+ "default": "'button'",
108445
108219
  "type": {
108446
- "text": "boolean"
108220
+ "text": "SbbButtonType"
108447
108221
  },
108448
- "attribute": "disabled",
108449
- "reflects": true,
108222
+ "attribute": "type",
108450
108223
  "inheritedFrom": {
108451
- "name": "SbbDisabledMixin",
108452
- "module": "core/mixins/disabled-mixin.js"
108224
+ "name": "SbbButtonBaseElement",
108225
+ "module": "core/base-elements/button-base-element.js"
108453
108226
  }
108454
108227
  },
108455
108228
  {
108456
108229
  "kind": "field",
108457
- "name": "#disabled",
108458
- "privacy": "private",
108230
+ "name": "form",
108459
108231
  "type": {
108460
- "text": "boolean"
108232
+ "text": "HTMLFormElement | null"
108461
108233
  },
108462
- "default": "false",
108234
+ "privacy": "public",
108235
+ "description": "The `<form>` element to associate the button with.",
108463
108236
  "inheritedFrom": {
108464
- "name": "SbbDisabledMixin",
108465
- "module": "core/mixins/disabled-mixin.js"
108237
+ "name": "SbbButtonBaseElement",
108238
+ "module": "core/base-elements/button-base-element.js"
108239
+ },
108240
+ "attribute": "form"
108241
+ },
108242
+ {
108243
+ "kind": "field",
108244
+ "name": "_formId",
108245
+ "type": {
108246
+ "text": "string"
108247
+ },
108248
+ "privacy": "private",
108249
+ "default": "''",
108250
+ "inheritedFrom": {
108251
+ "name": "SbbButtonBaseElement",
108252
+ "module": "core/base-elements/button-base-element.js"
108253
+ }
108254
+ },
108255
+ {
108256
+ "kind": "field",
108257
+ "name": "_handleButtonClick",
108258
+ "privacy": "private",
108259
+ "inheritedFrom": {
108260
+ "name": "SbbButtonBaseElement",
108261
+ "module": "core/base-elements/button-base-element.js"
108466
108262
  }
108467
108263
  },
108468
108264
  {
108469
108265
  "kind": "method",
108470
- "name": "isDisabledExternally",
108471
- "privacy": "protected",
108266
+ "name": "_requestSubmit",
108267
+ "privacy": "private",
108472
108268
  "return": {
108473
108269
  "type": {
108474
- "text": "boolean"
108270
+ "text": "void"
108475
108271
  }
108476
108272
  },
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.",
108273
+ "parameters": [
108274
+ {
108275
+ "name": "form",
108276
+ "type": {
108277
+ "text": "HTMLFormElement"
108278
+ }
108279
+ }
108280
+ ],
108478
108281
  "inheritedFrom": {
108479
- "name": "SbbDisabledMixin",
108480
- "module": "core/mixins/disabled-mixin.js"
108282
+ "name": "SbbButtonBaseElement",
108283
+ "module": "core/base-elements/button-base-element.js"
108481
108284
  }
108482
108285
  },
108483
108286
  {
108484
108287
  "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,
108288
+ "name": "_formKeyDown",
108289
+ "privacy": "private",
108494
108290
  "inheritedFrom": {
108495
- "name": "SbbLinkBaseElement",
108496
- "module": "core/base-elements/link-base-element.js"
108291
+ "name": "SbbButtonBaseElement",
108292
+ "module": "core/base-elements/button-base-element.js"
108497
108293
  }
108498
108294
  },
108499
108295
  {
108500
108296
  "kind": "field",
108501
- "name": "target",
108297
+ "name": "formAssociated",
108502
108298
  "type": {
108503
- "text": "LinkTargetType | string"
108299
+ "text": "boolean"
108504
108300
  },
108505
108301
  "privacy": "public",
108506
- "default": "''",
108507
- "description": "Where to display the linked URL.",
108508
- "attribute": "target",
108509
- "reflects": true,
108302
+ "static": true,
108303
+ "default": "true",
108510
108304
  "inheritedFrom": {
108511
- "name": "SbbLinkBaseElement",
108512
- "module": "core/base-elements/link-base-element.js"
108305
+ "name": "SbbFormAssociatedMixin",
108306
+ "module": "core/mixins/form-associated-mixin.js"
108513
108307
  }
108514
108308
  },
108515
108309
  {
108516
108310
  "kind": "field",
108517
- "name": "rel",
108311
+ "name": "name",
108312
+ "privacy": "public",
108313
+ "description": "Name of the form element. Will be read from name attribute.",
108518
108314
  "type": {
108519
108315
  "text": "string"
108520
108316
  },
108521
- "privacy": "public",
108522
- "default": "''",
108523
- "description": "The relationship of the linked URL as space-separated link types.",
108524
- "attribute": "rel",
108525
- "reflects": true,
108317
+ "attribute": "name",
108526
108318
  "inheritedFrom": {
108527
- "name": "SbbLinkBaseElement",
108528
- "module": "core/base-elements/link-base-element.js"
108319
+ "name": "SbbFormAssociatedMixin",
108320
+ "module": "core/mixins/form-associated-mixin.js"
108529
108321
  }
108530
108322
  },
108531
108323
  {
108532
108324
  "kind": "field",
108533
- "name": "download",
108325
+ "name": "validity",
108534
108326
  "type": {
108535
- "text": "boolean"
108327
+ "text": "ValidityState"
108536
108328
  },
108537
108329
  "privacy": "public",
108538
- "default": "false",
108539
- "description": "Whether the browser will show the download dialog on click.",
108540
- "attribute": "download",
108541
- "reflects": true,
108330
+ "description": "Returns the ValidityState object for this element.",
108331
+ "readonly": true,
108542
108332
  "inheritedFrom": {
108543
- "name": "SbbLinkBaseElement",
108544
- "module": "core/base-elements/link-base-element.js"
108333
+ "name": "SbbFormAssociatedMixin",
108334
+ "module": "core/mixins/form-associated-mixin.js"
108545
108335
  }
108546
108336
  },
108547
108337
  {
108548
108338
  "kind": "field",
108549
- "name": "accessibilityLabel",
108339
+ "name": "validationMessage",
108550
108340
  "type": {
108551
108341
  "text": "string"
108552
108342
  },
108553
108343
  "privacy": "public",
108554
- "default": "''",
108555
- "description": "This will be forwarded as aria-label to the inner anchor element.",
108556
- "attribute": "accessibility-label",
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.",
108345
+ "readonly": true,
108557
108346
  "inheritedFrom": {
108558
- "name": "SbbLinkBaseElement",
108559
- "module": "core/base-elements/link-base-element.js"
108347
+ "name": "SbbFormAssociatedMixin",
108348
+ "module": "core/mixins/form-associated-mixin.js"
108560
108349
  }
108561
108350
  },
108562
108351
  {
108563
108352
  "kind": "field",
108564
- "name": "accessibilityCurrent",
108353
+ "name": "willValidate",
108565
108354
  "type": {
108566
- "text": "string"
108355
+ "text": "boolean"
108567
108356
  },
108568
108357
  "privacy": "public",
108569
- "default": "''",
108570
- "description": "This will be forwarded as aria-current to the inner anchor element.",
108571
- "attribute": "accessibility-current",
108358
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
108359
+ "readonly": true,
108572
108360
  "inheritedFrom": {
108573
- "name": "SbbLinkBaseElement",
108574
- "module": "core/base-elements/link-base-element.js"
108361
+ "name": "SbbFormAssociatedMixin",
108362
+ "module": "core/mixins/form-associated-mixin.js"
108575
108363
  }
108576
108364
  },
108577
108365
  {
108578
108366
  "kind": "field",
108579
- "name": "language",
108580
- "privacy": "protected",
108581
- "default": "new SbbLanguageController(this)",
108367
+ "name": "_validityStates",
108368
+ "privacy": "private",
108369
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
108582
108370
  "inheritedFrom": {
108583
- "name": "SbbLinkBaseElement",
108584
- "module": "core/base-elements/link-base-element.js"
108371
+ "name": "SbbFormAssociatedMixin",
108372
+ "module": "core/mixins/form-associated-mixin.js"
108585
108373
  }
108586
108374
  },
108587
108375
  {
108588
108376
  "kind": "field",
108589
- "name": "_evaluateRelAttribute",
108377
+ "name": "formDisabled",
108378
+ "type": {
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
+ }
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",
108407
+ "privacy": "public",
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.",
108414
+ "inheritedFrom": {
108415
+ "name": "SbbFormAssociatedMixin",
108416
+ "module": "core/mixins/form-associated-mixin.js"
108417
+ }
108418
+ },
108419
+ {
108420
+ "kind": "method",
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",
108590
108445
  "privacy": "private",
108446
+ "return": {
108447
+ "type": {
108448
+ "text": "boolean"
108449
+ }
108450
+ },
108591
108451
  "inheritedFrom": {
108592
- "name": "SbbLinkBaseElement",
108593
- "module": "core/base-elements/link-base-element.js"
108452
+ "name": "SbbFormAssociatedMixin",
108453
+ "module": "core/mixins/form-associated-mixin.js"
108594
108454
  }
108595
108455
  },
108596
108456
  {
108597
108457
  "kind": "method",
108598
- "name": "renderLink",
108458
+ "name": "updateFormValue",
108599
108459
  "privacy": "protected",
108600
108460
  "return": {
108601
108461
  "type": {
108602
- "text": "TemplateResult"
108462
+ "text": "void"
108463
+ }
108464
+ },
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",
108466
+ "inheritedFrom": {
108467
+ "name": "SbbFormAssociatedMixin",
108468
+ "module": "core/mixins/form-associated-mixin.js"
108469
+ }
108470
+ },
108471
+ {
108472
+ "kind": "method",
108473
+ "name": "formState",
108474
+ "privacy": "protected",
108475
+ "return": {
108476
+ "type": {
108477
+ "text": "FormRestoreState"
108478
+ }
108479
+ },
108480
+ "inheritedFrom": {
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"
108603
108492
  }
108604
108493
  },
108605
108494
  "parameters": [
108606
108495
  {
108607
- "name": "renderContent",
108496
+ "name": "flag",
108608
108497
  "type": {
108609
- "text": "TemplateResult"
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]"
108610
108512
  }
108611
108513
  }
108612
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).",
108613
108516
  "inheritedFrom": {
108614
- "name": "SbbLinkBaseElement",
108615
- "module": "core/base-elements/link-base-element.js"
108517
+ "name": "SbbFormAssociatedMixin",
108518
+ "module": "core/mixins/form-associated-mixin.js"
108519
+ }
108520
+ },
108521
+ {
108522
+ "kind": "method",
108523
+ "name": "removeValidityFlag",
108524
+ "privacy": "protected",
108525
+ "return": {
108526
+ "type": {
108527
+ "text": "void"
108528
+ }
108529
+ },
108530
+ "parameters": [
108531
+ {
108532
+ "name": "flag",
108533
+ "type": {
108534
+ "text": "T"
108535
+ }
108536
+ }
108537
+ ],
108538
+ "description": "Removes the validity state flag entry and updates validity state.",
108539
+ "inheritedFrom": {
108540
+ "name": "SbbFormAssociatedMixin",
108541
+ "module": "core/mixins/form-associated-mixin.js"
108542
+ }
108543
+ },
108544
+ {
108545
+ "kind": "method",
108546
+ "name": "validate",
108547
+ "privacy": "protected",
108548
+ "return": {
108549
+ "type": {
108550
+ "text": "void"
108551
+ }
108552
+ },
108553
+ "description": "To be called whenever the current element needs to be validated.",
108554
+ "inheritedFrom": {
108555
+ "name": "SbbFormAssociatedMixin",
108556
+ "module": "core/mixins/form-associated-mixin.js"
108557
+ }
108558
+ },
108559
+ {
108560
+ "kind": "method",
108561
+ "name": "shouldValidate",
108562
+ "privacy": "protected",
108563
+ "return": {
108564
+ "type": {
108565
+ "text": "boolean"
108566
+ }
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.",
108577
+ "inheritedFrom": {
108578
+ "name": "SbbFormAssociatedMixin",
108579
+ "module": "core/mixins/form-associated-mixin.js"
108580
+ }
108581
+ },
108582
+ {
108583
+ "kind": "method",
108584
+ "name": "_setInternalValidity",
108585
+ "privacy": "private",
108586
+ "return": {
108587
+ "type": {
108588
+ "text": "void"
108589
+ }
108590
+ },
108591
+ "inheritedFrom": {
108592
+ "name": "SbbFormAssociatedMixin",
108593
+ "module": "core/mixins/form-associated-mixin.js"
108594
+ }
108595
+ },
108596
+ {
108597
+ "kind": "field",
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
+ ],
108607
+ "inheritedFrom": {
108608
+ "name": "SbbButtonLikeBaseElement",
108609
+ "module": "core/base-elements/button-base-element.js"
108610
+ }
108611
+ },
108612
+ {
108613
+ "kind": "field",
108614
+ "name": "_removeActiveMarker",
108615
+ "privacy": "private",
108616
+ "inheritedFrom": {
108617
+ "name": "SbbButtonLikeBaseElement",
108618
+ "module": "core/base-elements/button-base-element.js"
108619
+ }
108620
+ },
108621
+ {
108622
+ "kind": "field",
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
+ ],
108632
+ "inheritedFrom": {
108633
+ "name": "SbbButtonLikeBaseElement",
108634
+ "module": "core/base-elements/button-base-element.js"
108635
+ }
108636
+ },
108637
+ {
108638
+ "kind": "field",
108639
+ "name": "_dispatchClickEvent",
108640
+ "privacy": "private",
108641
+ "inheritedFrom": {
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.",
@@ -108818,81 +108833,66 @@
108818
108833
  }
108819
108834
  },
108820
108835
  {
108821
- "name": "href",
108836
+ "name": "icon-name",
108822
108837
  "type": {
108823
108838
  "text": "string"
108824
108839
  },
108825
108840
  "default": "''",
108826
- "description": "The href value you want to link to.",
108827
- "fieldName": "href",
108828
- "inheritedFrom": {
108829
- "name": "SbbLinkBaseElement",
108830
- "module": "core/base-elements/link-base-element.js"
108831
- }
108832
- },
108833
- {
108834
- "name": "target",
108835
- "type": {
108836
- "text": "LinkTargetType | string"
108837
- },
108838
- "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
  ]