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

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 +842 -842
  2. package/package.json +2 -2
@@ -60763,240 +60763,6 @@
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
- },
61000
60766
  {
61001
60767
  "kind": "javascript-module",
61002
60768
  "path": "container/sticky-bar/sticky-bar.component.js",
@@ -61459,6 +61225,240 @@
61459
61225
  }
61460
61226
  ]
61461
61227
  },
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-link/menu-link.component.js",
107336
+ "path": "menu/menu-button/menu-button.component.js",
107337
107337
  "declarations": [
107338
107338
  {
107339
107339
  "kind": "class",
107340
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
107341
- "name": "SbbMenuLinkElement",
107340
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
107341
+ "name": "SbbMenuButtonElement",
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-link`.",
107351
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
107352
107352
  "name": ""
107353
107353
  },
107354
107354
  {
@@ -107370,20 +107370,21 @@
107370
107370
  "name": "SbbElement",
107371
107371
  "module": "core/base-elements/element.js"
107372
107372
  },
107373
- "default": "'sbb-menu-link'"
107373
+ "default": "'sbb-menu-button'"
107374
107374
  },
107375
107375
  {
107376
107376
  "kind": "field",
107377
- "name": "anchorRole",
107377
+ "name": "role",
107378
107378
  "type": {
107379
- "text": "string"
107379
+ "text": "ElementInternals['role']"
107380
107380
  },
107381
- "privacy": "protected",
107381
+ "privacy": "public",
107382
+ "static": true,
107382
107383
  "readonly": true,
107383
107384
  "default": "'menuitem'",
107384
107385
  "inheritedFrom": {
107385
- "name": "SbbLinkBaseElement",
107386
- "module": "core/base-elements/link-base-element.js"
107386
+ "name": "SbbButtonLikeBaseElement",
107387
+ "module": "core/base-elements/button-base-element.js"
107387
107388
  }
107388
107389
  },
107389
107390
  {
@@ -107402,6 +107403,50 @@
107402
107403
  "module": "core/mixins/disabled-mixin.js"
107403
107404
  }
107404
107405
  },
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
+ },
107405
107450
  {
107406
107451
  "kind": "field",
107407
107452
  "name": "styles",
@@ -107499,181 +107544,464 @@
107499
107544
  },
107500
107545
  {
107501
107546
  "kind": "field",
107502
- "name": "disabled",
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
+ },
107503
107565
  "privacy": "public",
107504
- "description": "Whether the component is disabled.",
107505
- "default": "false",
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",
107577
+ "privacy": "public",
107578
+ "description": "The type attribute to use for the button.",
107579
+ "default": "'button'",
107506
107580
  "type": {
107507
- "text": "boolean"
107581
+ "text": "SbbButtonType"
107508
107582
  },
107509
- "attribute": "disabled",
107510
- "reflects": true,
107583
+ "attribute": "type",
107511
107584
  "inheritedFrom": {
107512
- "name": "SbbDisabledMixin",
107513
- "module": "core/mixins/disabled-mixin.js"
107585
+ "name": "SbbButtonBaseElement",
107586
+ "module": "core/base-elements/button-base-element.js"
107514
107587
  }
107515
107588
  },
107516
107589
  {
107517
107590
  "kind": "field",
107518
- "name": "#disabled",
107519
- "privacy": "private",
107591
+ "name": "form",
107520
107592
  "type": {
107521
- "text": "boolean"
107593
+ "text": "HTMLFormElement | null"
107522
107594
  },
107523
- "default": "false",
107595
+ "privacy": "public",
107596
+ "description": "The `<form>` element to associate the button with.",
107524
107597
  "inheritedFrom": {
107525
- "name": "SbbDisabledMixin",
107526
- "module": "core/mixins/disabled-mixin.js"
107598
+ "name": "SbbButtonBaseElement",
107599
+ "module": "core/base-elements/button-base-element.js"
107600
+ },
107601
+ "attribute": "form"
107602
+ },
107603
+ {
107604
+ "kind": "field",
107605
+ "name": "_formId",
107606
+ "type": {
107607
+ "text": "string"
107608
+ },
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",
107620
+ "inheritedFrom": {
107621
+ "name": "SbbButtonBaseElement",
107622
+ "module": "core/base-elements/button-base-element.js"
107527
107623
  }
107528
107624
  },
107529
107625
  {
107530
107626
  "kind": "method",
107531
- "name": "isDisabledExternally",
107532
- "privacy": "protected",
107627
+ "name": "_requestSubmit",
107628
+ "privacy": "private",
107533
107629
  "return": {
107534
107630
  "type": {
107535
- "text": "boolean"
107631
+ "text": "void"
107536
107632
  }
107537
107633
  },
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.",
107634
+ "parameters": [
107635
+ {
107636
+ "name": "form",
107637
+ "type": {
107638
+ "text": "HTMLFormElement"
107639
+ }
107640
+ }
107641
+ ],
107539
107642
  "inheritedFrom": {
107540
- "name": "SbbDisabledMixin",
107541
- "module": "core/mixins/disabled-mixin.js"
107643
+ "name": "SbbButtonBaseElement",
107644
+ "module": "core/base-elements/button-base-element.js"
107542
107645
  }
107543
107646
  },
107544
107647
  {
107545
107648
  "kind": "field",
107546
- "name": "href",
107547
- "type": {
107548
- "text": "string"
107549
- },
107550
- "privacy": "public",
107551
- "default": "''",
107552
- "description": "The href value you want to link to.",
107553
- "attribute": "href",
107554
- "reflects": true,
107649
+ "name": "_formKeyDown",
107650
+ "privacy": "private",
107555
107651
  "inheritedFrom": {
107556
- "name": "SbbLinkBaseElement",
107557
- "module": "core/base-elements/link-base-element.js"
107652
+ "name": "SbbButtonBaseElement",
107653
+ "module": "core/base-elements/button-base-element.js"
107558
107654
  }
107559
107655
  },
107560
107656
  {
107561
107657
  "kind": "field",
107562
- "name": "target",
107658
+ "name": "formAssociated",
107563
107659
  "type": {
107564
- "text": "LinkTargetType | string"
107660
+ "text": "boolean"
107565
107661
  },
107566
107662
  "privacy": "public",
107567
- "default": "''",
107568
- "description": "Where to display the linked URL.",
107569
- "attribute": "target",
107570
- "reflects": true,
107663
+ "static": true,
107664
+ "default": "true",
107571
107665
  "inheritedFrom": {
107572
- "name": "SbbLinkBaseElement",
107573
- "module": "core/base-elements/link-base-element.js"
107666
+ "name": "SbbFormAssociatedMixin",
107667
+ "module": "core/mixins/form-associated-mixin.js"
107574
107668
  }
107575
107669
  },
107576
107670
  {
107577
107671
  "kind": "field",
107578
- "name": "rel",
107672
+ "name": "name",
107673
+ "privacy": "public",
107674
+ "description": "Name of the form element. Will be read from name attribute.",
107579
107675
  "type": {
107580
107676
  "text": "string"
107581
107677
  },
107582
- "privacy": "public",
107583
- "default": "''",
107584
- "description": "The relationship of the linked URL as space-separated link types.",
107585
- "attribute": "rel",
107586
- "reflects": true,
107678
+ "attribute": "name",
107587
107679
  "inheritedFrom": {
107588
- "name": "SbbLinkBaseElement",
107589
- "module": "core/base-elements/link-base-element.js"
107680
+ "name": "SbbFormAssociatedMixin",
107681
+ "module": "core/mixins/form-associated-mixin.js"
107590
107682
  }
107591
107683
  },
107592
107684
  {
107593
107685
  "kind": "field",
107594
- "name": "download",
107686
+ "name": "validity",
107595
107687
  "type": {
107596
- "text": "boolean"
107688
+ "text": "ValidityState"
107597
107689
  },
107598
107690
  "privacy": "public",
107599
- "default": "false",
107600
- "description": "Whether the browser will show the download dialog on click.",
107601
- "attribute": "download",
107602
- "reflects": true,
107691
+ "description": "Returns the ValidityState object for this element.",
107692
+ "readonly": true,
107603
107693
  "inheritedFrom": {
107604
- "name": "SbbLinkBaseElement",
107605
- "module": "core/base-elements/link-base-element.js"
107694
+ "name": "SbbFormAssociatedMixin",
107695
+ "module": "core/mixins/form-associated-mixin.js"
107606
107696
  }
107607
107697
  },
107608
107698
  {
107609
107699
  "kind": "field",
107610
- "name": "accessibilityLabel",
107700
+ "name": "validationMessage",
107611
107701
  "type": {
107612
107702
  "text": "string"
107613
107703
  },
107614
107704
  "privacy": "public",
107615
- "default": "''",
107616
- "description": "This will be forwarded as aria-label to the inner anchor element.",
107617
- "attribute": "accessibility-label",
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,
107618
107707
  "inheritedFrom": {
107619
- "name": "SbbLinkBaseElement",
107620
- "module": "core/base-elements/link-base-element.js"
107708
+ "name": "SbbFormAssociatedMixin",
107709
+ "module": "core/mixins/form-associated-mixin.js"
107621
107710
  }
107622
107711
  },
107623
107712
  {
107624
107713
  "kind": "field",
107625
- "name": "accessibilityCurrent",
107714
+ "name": "willValidate",
107626
107715
  "type": {
107627
- "text": "string"
107716
+ "text": "boolean"
107628
107717
  },
107629
107718
  "privacy": "public",
107630
- "default": "''",
107631
- "description": "This will be forwarded as aria-current to the inner anchor element.",
107632
- "attribute": "accessibility-current",
107719
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
107720
+ "readonly": true,
107633
107721
  "inheritedFrom": {
107634
- "name": "SbbLinkBaseElement",
107635
- "module": "core/base-elements/link-base-element.js"
107722
+ "name": "SbbFormAssociatedMixin",
107723
+ "module": "core/mixins/form-associated-mixin.js"
107636
107724
  }
107637
107725
  },
107638
107726
  {
107639
107727
  "kind": "field",
107640
- "name": "language",
107641
- "privacy": "protected",
107642
- "default": "new SbbLanguageController(this)",
107728
+ "name": "_validityStates",
107729
+ "privacy": "private",
107730
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
107643
107731
  "inheritedFrom": {
107644
- "name": "SbbLinkBaseElement",
107645
- "module": "core/base-elements/link-base-element.js"
107732
+ "name": "SbbFormAssociatedMixin",
107733
+ "module": "core/mixins/form-associated-mixin.js"
107646
107734
  }
107647
107735
  },
107648
107736
  {
107649
107737
  "kind": "field",
107650
- "name": "_evaluateRelAttribute",
107738
+ "name": "formDisabled",
107739
+ "type": {
107740
+ "text": "boolean"
107741
+ },
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
+ "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.",
107760
+ "inheritedFrom": {
107761
+ "name": "SbbFormAssociatedMixin",
107762
+ "module": "core/mixins/form-associated-mixin.js"
107763
+ }
107764
+ },
107765
+ {
107766
+ "kind": "method",
107767
+ "name": "reportValidity",
107768
+ "privacy": "public",
107769
+ "return": {
107770
+ "type": {
107771
+ "text": "boolean"
107772
+ }
107773
+ },
107774
+ "description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
107775
+ "inheritedFrom": {
107776
+ "name": "SbbFormAssociatedMixin",
107777
+ "module": "core/mixins/form-associated-mixin.js"
107778
+ }
107779
+ },
107780
+ {
107781
+ "kind": "method",
107782
+ "name": "setCustomValidity",
107783
+ "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",
107651
107806
  "privacy": "private",
107807
+ "return": {
107808
+ "type": {
107809
+ "text": "boolean"
107810
+ }
107811
+ },
107652
107812
  "inheritedFrom": {
107653
- "name": "SbbLinkBaseElement",
107654
- "module": "core/base-elements/link-base-element.js"
107813
+ "name": "SbbFormAssociatedMixin",
107814
+ "module": "core/mixins/form-associated-mixin.js"
107655
107815
  }
107656
107816
  },
107657
107817
  {
107658
107818
  "kind": "method",
107659
- "name": "renderLink",
107819
+ "name": "updateFormValue",
107660
107820
  "privacy": "protected",
107661
107821
  "return": {
107662
107822
  "type": {
107663
- "text": "TemplateResult"
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"
107664
107853
  }
107665
107854
  },
107666
107855
  "parameters": [
107667
107856
  {
107668
- "name": "renderContent",
107857
+ "name": "flag",
107669
107858
  "type": {
107670
- "text": "TemplateResult"
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]"
107671
107873
  }
107672
107874
  }
107673
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).",
107674
107877
  "inheritedFrom": {
107675
- "name": "SbbLinkBaseElement",
107676
- "module": "core/base-elements/link-base-element.js"
107878
+ "name": "SbbFormAssociatedMixin",
107879
+ "module": "core/mixins/form-associated-mixin.js"
107880
+ }
107881
+ },
107882
+ {
107883
+ "kind": "method",
107884
+ "name": "removeValidityFlag",
107885
+ "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.",
107900
+ "inheritedFrom": {
107901
+ "name": "SbbFormAssociatedMixin",
107902
+ "module": "core/mixins/form-associated-mixin.js"
107903
+ }
107904
+ },
107905
+ {
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.",
107915
+ "inheritedFrom": {
107916
+ "name": "SbbFormAssociatedMixin",
107917
+ "module": "core/mixins/form-associated-mixin.js"
107918
+ }
107919
+ },
107920
+ {
107921
+ "kind": "method",
107922
+ "name": "shouldValidate",
107923
+ "privacy": "protected",
107924
+ "return": {
107925
+ "type": {
107926
+ "text": "boolean"
107927
+ }
107928
+ },
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.",
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
+ "inheritedFrom": {
108003
+ "name": "SbbButtonLikeBaseElement",
108004
+ "module": "core/base-elements/button-base-element.js"
107677
108005
  }
107678
108006
  },
107679
108007
  {
@@ -107824,7 +108152,7 @@
107824
108152
  ],
107825
108153
  "mixins": [
107826
108154
  {
107827
- "name": "SbbDisabledInteractiveMixin",
108155
+ "name": "SbbDisabledTabIndexActionMixin",
107828
108156
  "module": "core/mixins.js"
107829
108157
  },
107830
108158
  {
@@ -107833,10 +108161,10 @@
107833
108161
  }
107834
108162
  ],
107835
108163
  "superclass": {
107836
- "name": "SbbLinkBaseElement",
108164
+ "name": "SbbButtonBaseElement",
107837
108165
  "module": "core/base-elements.js"
107838
108166
  },
107839
- "tagName": "sbb-menu-link",
108167
+ "tagName": "sbb-menu-button",
107840
108168
  "customElement": true,
107841
108169
  "attributes": [
107842
108170
  {
@@ -107852,19 +108180,6 @@
107852
108180
  "module": "core/mixins/disabled-mixin.js"
107853
108181
  }
107854
108182
  },
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
- },
107868
108183
  {
107869
108184
  "name": "disabled",
107870
108185
  "description": "Whether the component is disabled.",
@@ -107879,81 +108194,66 @@
107879
108194
  }
107880
108195
  },
107881
108196
  {
107882
- "name": "href",
108197
+ "name": "icon-name",
107883
108198
  "type": {
107884
108199
  "text": "string"
107885
108200
  },
107886
108201
  "default": "''",
107887
- "description": "The href value you want to link to.",
107888
- "fieldName": "href",
107889
- "inheritedFrom": {
107890
- "name": "SbbLinkBaseElement",
107891
- "module": "core/base-elements/link-base-element.js"
107892
- }
107893
- },
107894
- {
107895
- "name": "target",
107896
- "type": {
107897
- "text": "LinkTargetType | string"
107898
- },
107899
- "default": "''",
107900
- "description": "Where to display the linked URL.",
107901
- "fieldName": "target",
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",
107902
108204
  "inheritedFrom": {
107903
- "name": "SbbLinkBaseElement",
107904
- "module": "core/base-elements/link-base-element.js"
108205
+ "name": "SbbIconNameMixin",
108206
+ "module": "icon/icon-name-mixin.js"
107905
108207
  }
107906
108208
  },
107907
108209
  {
107908
- "name": "rel",
108210
+ "name": "value",
107909
108211
  "type": {
107910
108212
  "text": "string"
107911
108213
  },
107912
108214
  "default": "''",
107913
- "description": "The relationship of the linked URL as space-separated link types.",
107914
- "fieldName": "rel",
108215
+ "description": "Value of the form element.",
108216
+ "fieldName": "value",
107915
108217
  "inheritedFrom": {
107916
- "name": "SbbLinkBaseElement",
107917
- "module": "core/base-elements/link-base-element.js"
108218
+ "name": "SbbButtonBaseElement",
108219
+ "module": "core/base-elements/button-base-element.js"
107918
108220
  }
107919
108221
  },
107920
108222
  {
107921
- "name": "download",
108223
+ "name": "type",
108224
+ "description": "The type attribute to use for the button.",
108225
+ "default": "'button'",
107922
108226
  "type": {
107923
- "text": "boolean"
108227
+ "text": "SbbButtonType"
107924
108228
  },
107925
- "default": "false",
107926
- "description": "Whether the browser will show the download dialog on click.",
107927
- "fieldName": "download",
108229
+ "fieldName": "type",
107928
108230
  "inheritedFrom": {
107929
- "name": "SbbLinkBaseElement",
107930
- "module": "core/base-elements/link-base-element.js"
108231
+ "name": "SbbButtonBaseElement",
108232
+ "module": "core/base-elements/button-base-element.js"
107931
108233
  }
107932
108234
  },
107933
108235
  {
107934
- "name": "accessibility-label",
108236
+ "name": "form",
108237
+ "description": "The `<form>` element to associate the button with.",
107935
108238
  "type": {
107936
- "text": "string"
108239
+ "text": "HTMLFormElement | null"
107937
108240
  },
107938
- "default": "''",
107939
- "description": "This will be forwarded as aria-label to the inner anchor element.",
107940
- "fieldName": "accessibilityLabel",
108241
+ "fieldName": "form",
107941
108242
  "inheritedFrom": {
107942
- "name": "SbbLinkBaseElement",
107943
- "module": "core/base-elements/link-base-element.js"
108243
+ "name": "SbbButtonBaseElement",
108244
+ "module": "core/base-elements/button-base-element.js"
107944
108245
  }
107945
108246
  },
107946
108247
  {
107947
- "name": "accessibility-current",
108248
+ "name": "name",
108249
+ "description": "Name of the form element. Will be read from name attribute.",
107948
108250
  "type": {
107949
108251
  "text": "string"
107950
108252
  },
107951
- "default": "''",
107952
- "description": "This will be forwarded as aria-current to the inner anchor element.",
107953
- "fieldName": "accessibilityCurrent",
108253
+ "fieldName": "name",
107954
108254
  "inheritedFrom": {
107955
- "name": "SbbLinkBaseElement",
107956
- "module": "core/base-elements/link-base-element.js"
108255
+ "name": "SbbFormAssociatedMixin",
108256
+ "module": "core/mixins/form-associated-mixin.js"
107957
108257
  }
107958
108258
  }
107959
108259
  ]
@@ -107962,22 +108262,22 @@
107962
108262
  "exports": [
107963
108263
  {
107964
108264
  "kind": "js",
107965
- "name": "SbbMenuLinkElement",
108265
+ "name": "SbbMenuButtonElement",
107966
108266
  "declaration": {
107967
- "name": "SbbMenuLinkElement",
107968
- "module": "menu/menu-link/menu-link.component.js"
108267
+ "name": "SbbMenuButtonElement",
108268
+ "module": "menu/menu-button/menu-button.component.js"
107969
108269
  }
107970
108270
  }
107971
108271
  ]
107972
108272
  },
107973
108273
  {
107974
108274
  "kind": "javascript-module",
107975
- "path": "menu/menu-button/menu-button.component.js",
108275
+ "path": "menu/menu-link/menu-link.component.js",
107976
108276
  "declarations": [
107977
108277
  {
107978
108278
  "kind": "class",
107979
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
107980
- "name": "SbbMenuButtonElement",
108279
+ "description": "It displays a link element that can be used in the `sbb-menu` component.",
108280
+ "name": "SbbMenuLinkElement",
107981
108281
  "cssProperties": [
107982
108282
  {
107983
108283
  "description": "Can be used to modify horizontal padding.",
@@ -107987,7 +108287,7 @@
107987
108287
  ],
107988
108288
  "slots": [
107989
108289
  {
107990
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
108290
+ "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
107991
108291
  "name": ""
107992
108292
  },
107993
108293
  {
@@ -108009,21 +108309,20 @@
108009
108309
  "name": "SbbElement",
108010
108310
  "module": "core/base-elements/element.js"
108011
108311
  },
108012
- "default": "'sbb-menu-button'"
108312
+ "default": "'sbb-menu-link'"
108013
108313
  },
108014
108314
  {
108015
108315
  "kind": "field",
108016
- "name": "role",
108316
+ "name": "anchorRole",
108017
108317
  "type": {
108018
- "text": "ElementInternals['role']"
108318
+ "text": "string"
108019
108319
  },
108020
- "privacy": "public",
108021
- "static": true,
108320
+ "privacy": "protected",
108022
108321
  "readonly": true,
108023
108322
  "default": "'menuitem'",
108024
108323
  "inheritedFrom": {
108025
- "name": "SbbButtonLikeBaseElement",
108026
- "module": "core/base-elements/button-base-element.js"
108324
+ "name": "SbbLinkBaseElement",
108325
+ "module": "core/base-elements/link-base-element.js"
108027
108326
  }
108028
108327
  },
108029
108328
  {
@@ -108042,50 +108341,6 @@
108042
108341
  "module": "core/mixins/disabled-mixin.js"
108043
108342
  }
108044
108343
  },
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
- },
108089
108344
  {
108090
108345
  "kind": "field",
108091
108346
  "name": "styles",
@@ -108183,464 +108438,181 @@
108183
108438
  },
108184
108439
  {
108185
108440
  "kind": "field",
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
- },
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
- },
108213
- {
108214
- "kind": "field",
108215
- "name": "type",
108441
+ "name": "disabled",
108216
108442
  "privacy": "public",
108217
- "description": "The type attribute to use for the button.",
108218
- "default": "'button'",
108443
+ "description": "Whether the component is disabled.",
108444
+ "default": "false",
108219
108445
  "type": {
108220
- "text": "SbbButtonType"
108446
+ "text": "boolean"
108221
108447
  },
108222
- "attribute": "type",
108448
+ "attribute": "disabled",
108449
+ "reflects": true,
108223
108450
  "inheritedFrom": {
108224
- "name": "SbbButtonBaseElement",
108225
- "module": "core/base-elements/button-base-element.js"
108451
+ "name": "SbbDisabledMixin",
108452
+ "module": "core/mixins/disabled-mixin.js"
108226
108453
  }
108227
108454
  },
108228
108455
  {
108229
108456
  "kind": "field",
108230
- "name": "form",
108231
- "type": {
108232
- "text": "HTMLFormElement | null"
108233
- },
108234
- "privacy": "public",
108235
- "description": "The `<form>` element to associate the button with.",
108236
- "inheritedFrom": {
108237
- "name": "SbbButtonBaseElement",
108238
- "module": "core/base-elements/button-base-element.js"
108239
- },
108240
- "attribute": "form"
108241
- },
108242
- {
108243
- "kind": "field",
108244
- "name": "_formId",
108457
+ "name": "#disabled",
108458
+ "privacy": "private",
108245
108459
  "type": {
108246
- "text": "string"
108460
+ "text": "boolean"
108247
108461
  },
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",
108462
+ "default": "false",
108259
108463
  "inheritedFrom": {
108260
- "name": "SbbButtonBaseElement",
108261
- "module": "core/base-elements/button-base-element.js"
108464
+ "name": "SbbDisabledMixin",
108465
+ "module": "core/mixins/disabled-mixin.js"
108262
108466
  }
108263
108467
  },
108264
108468
  {
108265
108469
  "kind": "method",
108266
- "name": "_requestSubmit",
108267
- "privacy": "private",
108470
+ "name": "isDisabledExternally",
108471
+ "privacy": "protected",
108268
108472
  "return": {
108269
108473
  "type": {
108270
- "text": "void"
108271
- }
108272
- },
108273
- "parameters": [
108274
- {
108275
- "name": "form",
108276
- "type": {
108277
- "text": "HTMLFormElement"
108278
- }
108474
+ "text": "boolean"
108279
108475
  }
108280
- ],
108281
- "inheritedFrom": {
108282
- "name": "SbbButtonBaseElement",
108283
- "module": "core/base-elements/button-base-element.js"
108284
- }
108285
- },
108286
- {
108287
- "kind": "field",
108288
- "name": "_formKeyDown",
108289
- "privacy": "private",
108290
- "inheritedFrom": {
108291
- "name": "SbbButtonBaseElement",
108292
- "module": "core/base-elements/button-base-element.js"
108293
- }
108294
- },
108295
- {
108296
- "kind": "field",
108297
- "name": "formAssociated",
108298
- "type": {
108299
- "text": "boolean"
108300
108476
  },
108301
- "privacy": "public",
108302
- "static": true,
108303
- "default": "true",
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.",
108304
108478
  "inheritedFrom": {
108305
- "name": "SbbFormAssociatedMixin",
108306
- "module": "core/mixins/form-associated-mixin.js"
108479
+ "name": "SbbDisabledMixin",
108480
+ "module": "core/mixins/disabled-mixin.js"
108307
108481
  }
108308
108482
  },
108309
108483
  {
108310
108484
  "kind": "field",
108311
- "name": "name",
108312
- "privacy": "public",
108313
- "description": "Name of the form element. Will be read from name attribute.",
108485
+ "name": "href",
108314
108486
  "type": {
108315
108487
  "text": "string"
108316
108488
  },
108317
- "attribute": "name",
108489
+ "privacy": "public",
108490
+ "default": "''",
108491
+ "description": "The href value you want to link to.",
108492
+ "attribute": "href",
108493
+ "reflects": true,
108318
108494
  "inheritedFrom": {
108319
- "name": "SbbFormAssociatedMixin",
108320
- "module": "core/mixins/form-associated-mixin.js"
108495
+ "name": "SbbLinkBaseElement",
108496
+ "module": "core/base-elements/link-base-element.js"
108321
108497
  }
108322
108498
  },
108323
108499
  {
108324
108500
  "kind": "field",
108325
- "name": "validity",
108501
+ "name": "target",
108326
108502
  "type": {
108327
- "text": "ValidityState"
108503
+ "text": "LinkTargetType | string"
108328
108504
  },
108329
108505
  "privacy": "public",
108330
- "description": "Returns the ValidityState object for this element.",
108331
- "readonly": true,
108506
+ "default": "''",
108507
+ "description": "Where to display the linked URL.",
108508
+ "attribute": "target",
108509
+ "reflects": true,
108332
108510
  "inheritedFrom": {
108333
- "name": "SbbFormAssociatedMixin",
108334
- "module": "core/mixins/form-associated-mixin.js"
108511
+ "name": "SbbLinkBaseElement",
108512
+ "module": "core/base-elements/link-base-element.js"
108335
108513
  }
108336
108514
  },
108337
108515
  {
108338
108516
  "kind": "field",
108339
- "name": "validationMessage",
108517
+ "name": "rel",
108340
108518
  "type": {
108341
108519
  "text": "string"
108342
108520
  },
108343
108521
  "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.",
108345
- "readonly": true,
108522
+ "default": "''",
108523
+ "description": "The relationship of the linked URL as space-separated link types.",
108524
+ "attribute": "rel",
108525
+ "reflects": true,
108346
108526
  "inheritedFrom": {
108347
- "name": "SbbFormAssociatedMixin",
108348
- "module": "core/mixins/form-associated-mixin.js"
108527
+ "name": "SbbLinkBaseElement",
108528
+ "module": "core/base-elements/link-base-element.js"
108349
108529
  }
108350
108530
  },
108351
108531
  {
108352
108532
  "kind": "field",
108353
- "name": "willValidate",
108533
+ "name": "download",
108354
108534
  "type": {
108355
108535
  "text": "boolean"
108356
108536
  },
108357
108537
  "privacy": "public",
108358
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
108359
- "readonly": true,
108360
- "inheritedFrom": {
108361
- "name": "SbbFormAssociatedMixin",
108362
- "module": "core/mixins/form-associated-mixin.js"
108363
- }
108364
- },
108365
- {
108366
- "kind": "field",
108367
- "name": "_validityStates",
108368
- "privacy": "private",
108369
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
108538
+ "default": "false",
108539
+ "description": "Whether the browser will show the download dialog on click.",
108540
+ "attribute": "download",
108541
+ "reflects": true,
108370
108542
  "inheritedFrom": {
108371
- "name": "SbbFormAssociatedMixin",
108372
- "module": "core/mixins/form-associated-mixin.js"
108543
+ "name": "SbbLinkBaseElement",
108544
+ "module": "core/base-elements/link-base-element.js"
108373
108545
  }
108374
108546
  },
108375
108547
  {
108376
108548
  "kind": "field",
108377
- "name": "formDisabled",
108549
+ "name": "accessibilityLabel",
108378
108550
  "type": {
108379
- "text": "boolean"
108551
+ "text": "string"
108380
108552
  },
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
108553
  "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.",
108554
+ "default": "''",
108555
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
108556
+ "attribute": "accessibility-label",
108399
108557
  "inheritedFrom": {
108400
- "name": "SbbFormAssociatedMixin",
108401
- "module": "core/mixins/form-associated-mixin.js"
108558
+ "name": "SbbLinkBaseElement",
108559
+ "module": "core/base-elements/link-base-element.js"
108402
108560
  }
108403
108561
  },
108404
108562
  {
108405
- "kind": "method",
108406
- "name": "reportValidity",
108407
- "privacy": "public",
108408
- "return": {
108409
- "type": {
108410
- "text": "boolean"
108411
- }
108563
+ "kind": "field",
108564
+ "name": "accessibilityCurrent",
108565
+ "type": {
108566
+ "text": "string"
108412
108567
  },
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
108568
  "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",
108459
- "privacy": "protected",
108460
- "return": {
108461
- "type": {
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"
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).",
108569
+ "default": "''",
108570
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
108571
+ "attribute": "accessibility-current",
108516
108572
  "inheritedFrom": {
108517
- "name": "SbbFormAssociatedMixin",
108518
- "module": "core/mixins/form-associated-mixin.js"
108573
+ "name": "SbbLinkBaseElement",
108574
+ "module": "core/base-elements/link-base-element.js"
108519
108575
  }
108520
108576
  },
108521
108577
  {
108522
- "kind": "method",
108523
- "name": "removeValidityFlag",
108578
+ "kind": "field",
108579
+ "name": "language",
108524
108580
  "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.",
108581
+ "default": "new SbbLanguageController(this)",
108539
108582
  "inheritedFrom": {
108540
- "name": "SbbFormAssociatedMixin",
108541
- "module": "core/mixins/form-associated-mixin.js"
108583
+ "name": "SbbLinkBaseElement",
108584
+ "module": "core/base-elements/link-base-element.js"
108542
108585
  }
108543
108586
  },
108544
108587
  {
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.",
108588
+ "kind": "field",
108589
+ "name": "_evaluateRelAttribute",
108590
+ "privacy": "private",
108554
108591
  "inheritedFrom": {
108555
- "name": "SbbFormAssociatedMixin",
108556
- "module": "core/mixins/form-associated-mixin.js"
108592
+ "name": "SbbLinkBaseElement",
108593
+ "module": "core/base-elements/link-base-element.js"
108557
108594
  }
108558
108595
  },
108559
108596
  {
108560
108597
  "kind": "method",
108561
- "name": "shouldValidate",
108598
+ "name": "renderLink",
108562
108599
  "privacy": "protected",
108563
108600
  "return": {
108564
108601
  "type": {
108565
- "text": "boolean"
108602
+ "text": "TemplateResult"
108566
108603
  }
108567
108604
  },
108568
108605
  "parameters": [
108569
108606
  {
108570
- "name": "name",
108607
+ "name": "renderContent",
108571
108608
  "type": {
108572
- "text": "PropertyKey | undefined"
108609
+ "text": "TemplateResult"
108573
108610
  }
108574
108611
  }
108575
108612
  ],
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
108613
  "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"
108614
+ "name": "SbbLinkBaseElement",
108615
+ "module": "core/base-elements/link-base-element.js"
108644
108616
  }
108645
108617
  },
108646
108618
  {
@@ -108791,7 +108763,7 @@
108791
108763
  ],
108792
108764
  "mixins": [
108793
108765
  {
108794
- "name": "SbbDisabledTabIndexActionMixin",
108766
+ "name": "SbbDisabledInteractiveMixin",
108795
108767
  "module": "core/mixins.js"
108796
108768
  },
108797
108769
  {
@@ -108800,10 +108772,10 @@
108800
108772
  }
108801
108773
  ],
108802
108774
  "superclass": {
108803
- "name": "SbbButtonBaseElement",
108775
+ "name": "SbbLinkBaseElement",
108804
108776
  "module": "core/base-elements.js"
108805
108777
  },
108806
- "tagName": "sbb-menu-button",
108778
+ "tagName": "sbb-menu-link",
108807
108779
  "customElement": true,
108808
108780
  "attributes": [
108809
108781
  {
@@ -108819,6 +108791,19 @@
108819
108791
  "module": "core/mixins/disabled-mixin.js"
108820
108792
  }
108821
108793
  },
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
+ },
108822
108807
  {
108823
108808
  "name": "disabled",
108824
108809
  "description": "Whether the component is disabled.",
@@ -108833,66 +108818,81 @@
108833
108818
  }
108834
108819
  },
108835
108820
  {
108836
- "name": "icon-name",
108821
+ "name": "href",
108837
108822
  "type": {
108838
108823
  "text": "string"
108839
108824
  },
108840
108825
  "default": "''",
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",
108826
+ "description": "The href value you want to link to.",
108827
+ "fieldName": "href",
108843
108828
  "inheritedFrom": {
108844
- "name": "SbbIconNameMixin",
108845
- "module": "icon/icon-name-mixin.js"
108829
+ "name": "SbbLinkBaseElement",
108830
+ "module": "core/base-elements/link-base-element.js"
108846
108831
  }
108847
108832
  },
108848
108833
  {
108849
- "name": "value",
108834
+ "name": "target",
108835
+ "type": {
108836
+ "text": "LinkTargetType | string"
108837
+ },
108838
+ "default": "''",
108839
+ "description": "Where to display the linked URL.",
108840
+ "fieldName": "target",
108841
+ "inheritedFrom": {
108842
+ "name": "SbbLinkBaseElement",
108843
+ "module": "core/base-elements/link-base-element.js"
108844
+ }
108845
+ },
108846
+ {
108847
+ "name": "rel",
108850
108848
  "type": {
108851
108849
  "text": "string"
108852
108850
  },
108853
108851
  "default": "''",
108854
- "description": "Value of the form element.",
108855
- "fieldName": "value",
108852
+ "description": "The relationship of the linked URL as space-separated link types.",
108853
+ "fieldName": "rel",
108856
108854
  "inheritedFrom": {
108857
- "name": "SbbButtonBaseElement",
108858
- "module": "core/base-elements/button-base-element.js"
108855
+ "name": "SbbLinkBaseElement",
108856
+ "module": "core/base-elements/link-base-element.js"
108859
108857
  }
108860
108858
  },
108861
108859
  {
108862
- "name": "type",
108863
- "description": "The type attribute to use for the button.",
108864
- "default": "'button'",
108860
+ "name": "download",
108865
108861
  "type": {
108866
- "text": "SbbButtonType"
108862
+ "text": "boolean"
108867
108863
  },
108868
- "fieldName": "type",
108864
+ "default": "false",
108865
+ "description": "Whether the browser will show the download dialog on click.",
108866
+ "fieldName": "download",
108869
108867
  "inheritedFrom": {
108870
- "name": "SbbButtonBaseElement",
108871
- "module": "core/base-elements/button-base-element.js"
108868
+ "name": "SbbLinkBaseElement",
108869
+ "module": "core/base-elements/link-base-element.js"
108872
108870
  }
108873
108871
  },
108874
108872
  {
108875
- "name": "form",
108876
- "description": "The `<form>` element to associate the button with.",
108873
+ "name": "accessibility-label",
108877
108874
  "type": {
108878
- "text": "HTMLFormElement | null"
108875
+ "text": "string"
108879
108876
  },
108880
- "fieldName": "form",
108877
+ "default": "''",
108878
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
108879
+ "fieldName": "accessibilityLabel",
108881
108880
  "inheritedFrom": {
108882
- "name": "SbbButtonBaseElement",
108883
- "module": "core/base-elements/button-base-element.js"
108881
+ "name": "SbbLinkBaseElement",
108882
+ "module": "core/base-elements/link-base-element.js"
108884
108883
  }
108885
108884
  },
108886
108885
  {
108887
- "name": "name",
108888
- "description": "Name of the form element. Will be read from name attribute.",
108886
+ "name": "accessibility-current",
108889
108887
  "type": {
108890
108888
  "text": "string"
108891
108889
  },
108892
- "fieldName": "name",
108890
+ "default": "''",
108891
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
108892
+ "fieldName": "accessibilityCurrent",
108893
108893
  "inheritedFrom": {
108894
- "name": "SbbFormAssociatedMixin",
108895
- "module": "core/mixins/form-associated-mixin.js"
108894
+ "name": "SbbLinkBaseElement",
108895
+ "module": "core/base-elements/link-base-element.js"
108896
108896
  }
108897
108897
  }
108898
108898
  ]
@@ -108901,10 +108901,10 @@
108901
108901
  "exports": [
108902
108902
  {
108903
108903
  "kind": "js",
108904
- "name": "SbbMenuButtonElement",
108904
+ "name": "SbbMenuLinkElement",
108905
108905
  "declaration": {
108906
- "name": "SbbMenuButtonElement",
108907
- "module": "menu/menu-button/menu-button.component.js"
108906
+ "name": "SbbMenuLinkElement",
108907
+ "module": "menu/menu-link/menu-link.component.js"
108908
108908
  }
108909
108909
  }
108910
108910
  ]