@sbb-esta/lyne-elements-dev 4.6.0-dev.1772272823 → 4.6.0-dev.1772298414

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 +834 -834
  2. package/package.json +2 -2
@@ -49946,6 +49946,228 @@
49946
49946
  }
49947
49947
  ]
49948
49948
  },
49949
+ {
49950
+ "kind": "javascript-module",
49951
+ "path": "core/decorators/base.js",
49952
+ "declarations": [],
49953
+ "exports": []
49954
+ },
49955
+ {
49956
+ "kind": "javascript-module",
49957
+ "path": "core/decorators/force-type.js",
49958
+ "declarations": [
49959
+ {
49960
+ "kind": "function",
49961
+ "name": "forceType",
49962
+ "return": {
49963
+ "type": {
49964
+ "text": "PropertyDecorator"
49965
+ }
49966
+ },
49967
+ "parameters": [
49968
+ {
49969
+ "name": "convert",
49970
+ "optional": true,
49971
+ "type": {
49972
+ "text": "(v: unknown) => V"
49973
+ }
49974
+ }
49975
+ ],
49976
+ "description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
49977
+ }
49978
+ ],
49979
+ "exports": [
49980
+ {
49981
+ "kind": "js",
49982
+ "name": "forceType",
49983
+ "declaration": {
49984
+ "name": "forceType",
49985
+ "module": "core/decorators/force-type.js"
49986
+ }
49987
+ }
49988
+ ]
49989
+ },
49990
+ {
49991
+ "kind": "javascript-module",
49992
+ "path": "core/decorators/get-override.js",
49993
+ "declarations": [
49994
+ {
49995
+ "kind": "function",
49996
+ "name": "getOverride",
49997
+ "parameters": [
49998
+ {
49999
+ "name": "callback",
50000
+ "type": {
50001
+ "text": "(instance: C, innerValue: V) => V"
50002
+ }
50003
+ }
50004
+ ],
50005
+ "description": "Decorator that overrides the underlying getter of the accessor."
50006
+ }
50007
+ ],
50008
+ "exports": [
50009
+ {
50010
+ "kind": "js",
50011
+ "name": "getOverride",
50012
+ "declaration": {
50013
+ "name": "getOverride",
50014
+ "module": "core/decorators/get-override.js"
50015
+ }
50016
+ }
50017
+ ]
50018
+ },
50019
+ {
50020
+ "kind": "javascript-module",
50021
+ "path": "core/decorators/handle-distinct-change.js",
50022
+ "declarations": [
50023
+ {
50024
+ "kind": "function",
50025
+ "name": "handleDistinctChange",
50026
+ "parameters": [
50027
+ {
50028
+ "name": "callback",
50029
+ "type": {
50030
+ "text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
50031
+ }
50032
+ }
50033
+ ],
50034
+ "description": "Decorator that calls the given callback when the value\nof the associated property is changed."
50035
+ }
50036
+ ],
50037
+ "exports": [
50038
+ {
50039
+ "kind": "js",
50040
+ "name": "handleDistinctChange",
50041
+ "declaration": {
50042
+ "name": "handleDistinctChange",
50043
+ "module": "core/decorators/handle-distinct-change.js"
50044
+ }
50045
+ }
50046
+ ]
50047
+ },
50048
+ {
50049
+ "kind": "javascript-module",
50050
+ "path": "core/decorators/host-attributes.js",
50051
+ "declarations": [
50052
+ {
50053
+ "kind": "function",
50054
+ "name": "hostAttributes",
50055
+ "parameters": [
50056
+ {
50057
+ "name": "attributes",
50058
+ "type": {
50059
+ "text": "Record<string, string | null>"
50060
+ },
50061
+ "description": "A record of attributes to apply to the element."
50062
+ }
50063
+ ],
50064
+ "description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value."
50065
+ }
50066
+ ],
50067
+ "exports": [
50068
+ {
50069
+ "kind": "js",
50070
+ "name": "hostAttributes",
50071
+ "declaration": {
50072
+ "name": "hostAttributes",
50073
+ "module": "core/decorators/host-attributes.js"
50074
+ }
50075
+ }
50076
+ ]
50077
+ },
50078
+ {
50079
+ "kind": "javascript-module",
50080
+ "path": "core/decorators/id-reference.js",
50081
+ "declarations": [
50082
+ {
50083
+ "kind": "function",
50084
+ "name": "idReference",
50085
+ "description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
50086
+ }
50087
+ ],
50088
+ "exports": [
50089
+ {
50090
+ "kind": "js",
50091
+ "name": "idReference",
50092
+ "declaration": {
50093
+ "name": "idReference",
50094
+ "module": "core/decorators/id-reference.js"
50095
+ }
50096
+ }
50097
+ ]
50098
+ },
50099
+ {
50100
+ "kind": "javascript-module",
50101
+ "path": "core/decorators/omit-empty-converter.js",
50102
+ "declarations": [
50103
+ {
50104
+ "kind": "variable",
50105
+ "name": "omitEmptyConverter",
50106
+ "type": {
50107
+ "text": "ComplexAttributeConverter"
50108
+ },
50109
+ "default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
50110
+ "description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
50111
+ }
50112
+ ],
50113
+ "exports": [
50114
+ {
50115
+ "kind": "js",
50116
+ "name": "omitEmptyConverter",
50117
+ "declaration": {
50118
+ "name": "omitEmptyConverter",
50119
+ "module": "core/decorators/omit-empty-converter.js"
50120
+ }
50121
+ }
50122
+ ]
50123
+ },
50124
+ {
50125
+ "kind": "javascript-module",
50126
+ "path": "core/decorators/plain-date.js",
50127
+ "declarations": [
50128
+ {
50129
+ "kind": "variable",
50130
+ "name": "plainDateConverter",
50131
+ "type": {
50132
+ "text": "ComplexAttributeConverter"
50133
+ },
50134
+ "default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
50135
+ "description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
50136
+ },
50137
+ {
50138
+ "kind": "function",
50139
+ "name": "plainDate",
50140
+ "parameters": [
50141
+ {
50142
+ "name": "config",
50143
+ "optional": true,
50144
+ "type": {
50145
+ "text": "SbbPlainDateConfiguration"
50146
+ }
50147
+ }
50148
+ ],
50149
+ "description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
50150
+ }
50151
+ ],
50152
+ "exports": [
50153
+ {
50154
+ "kind": "js",
50155
+ "name": "plainDateConverter",
50156
+ "declaration": {
50157
+ "name": "plainDateConverter",
50158
+ "module": "core/decorators/plain-date.js"
50159
+ }
50160
+ },
50161
+ {
50162
+ "kind": "js",
50163
+ "name": "plainDate",
50164
+ "declaration": {
50165
+ "name": "plainDate",
50166
+ "module": "core/decorators/plain-date.js"
50167
+ }
50168
+ }
50169
+ ]
50170
+ },
49949
50171
  {
49950
50172
  "kind": "javascript-module",
49951
50173
  "path": "core/datetime/date-adapter.js",
@@ -52232,228 +52454,6 @@
52232
52454
  }
52233
52455
  ]
52234
52456
  },
52235
- {
52236
- "kind": "javascript-module",
52237
- "path": "core/decorators/base.js",
52238
- "declarations": [],
52239
- "exports": []
52240
- },
52241
- {
52242
- "kind": "javascript-module",
52243
- "path": "core/decorators/force-type.js",
52244
- "declarations": [
52245
- {
52246
- "kind": "function",
52247
- "name": "forceType",
52248
- "return": {
52249
- "type": {
52250
- "text": "PropertyDecorator"
52251
- }
52252
- },
52253
- "parameters": [
52254
- {
52255
- "name": "convert",
52256
- "optional": true,
52257
- "type": {
52258
- "text": "(v: unknown) => V"
52259
- }
52260
- }
52261
- ],
52262
- "description": "Decorator that forces the value of a property or getter/setter\nto the defined type."
52263
- }
52264
- ],
52265
- "exports": [
52266
- {
52267
- "kind": "js",
52268
- "name": "forceType",
52269
- "declaration": {
52270
- "name": "forceType",
52271
- "module": "core/decorators/force-type.js"
52272
- }
52273
- }
52274
- ]
52275
- },
52276
- {
52277
- "kind": "javascript-module",
52278
- "path": "core/decorators/get-override.js",
52279
- "declarations": [
52280
- {
52281
- "kind": "function",
52282
- "name": "getOverride",
52283
- "parameters": [
52284
- {
52285
- "name": "callback",
52286
- "type": {
52287
- "text": "(instance: C, innerValue: V) => V"
52288
- }
52289
- }
52290
- ],
52291
- "description": "Decorator that overrides the underlying getter of the accessor."
52292
- }
52293
- ],
52294
- "exports": [
52295
- {
52296
- "kind": "js",
52297
- "name": "getOverride",
52298
- "declaration": {
52299
- "name": "getOverride",
52300
- "module": "core/decorators/get-override.js"
52301
- }
52302
- }
52303
- ]
52304
- },
52305
- {
52306
- "kind": "javascript-module",
52307
- "path": "core/decorators/handle-distinct-change.js",
52308
- "declarations": [
52309
- {
52310
- "kind": "function",
52311
- "name": "handleDistinctChange",
52312
- "parameters": [
52313
- {
52314
- "name": "callback",
52315
- "type": {
52316
- "text": "(instance: C, newValue: V, oldValue: V | undefined) => void"
52317
- }
52318
- }
52319
- ],
52320
- "description": "Decorator that calls the given callback when the value\nof the associated property is changed."
52321
- }
52322
- ],
52323
- "exports": [
52324
- {
52325
- "kind": "js",
52326
- "name": "handleDistinctChange",
52327
- "declaration": {
52328
- "name": "handleDistinctChange",
52329
- "module": "core/decorators/handle-distinct-change.js"
52330
- }
52331
- }
52332
- ]
52333
- },
52334
- {
52335
- "kind": "javascript-module",
52336
- "path": "core/decorators/host-attributes.js",
52337
- "declarations": [
52338
- {
52339
- "kind": "function",
52340
- "name": "hostAttributes",
52341
- "parameters": [
52342
- {
52343
- "name": "attributes",
52344
- "type": {
52345
- "text": "Record<string, string | null>"
52346
- },
52347
- "description": "A record of attributes to apply to the element."
52348
- }
52349
- ],
52350
- "description": "Applies the given attributes to the related element.\nIf an empty string is passed as a value, the attribute will be set\nwithout value."
52351
- }
52352
- ],
52353
- "exports": [
52354
- {
52355
- "kind": "js",
52356
- "name": "hostAttributes",
52357
- "declaration": {
52358
- "name": "hostAttributes",
52359
- "module": "core/decorators/host-attributes.js"
52360
- }
52361
- }
52362
- ]
52363
- },
52364
- {
52365
- "kind": "javascript-module",
52366
- "path": "core/decorators/id-reference.js",
52367
- "declarations": [
52368
- {
52369
- "kind": "function",
52370
- "name": "idReference",
52371
- "description": "Accessor decorator that resolves id references dynamically.\nIf a string is passed (e.g. from an attribute), it will be resolved to the element with that id.\nThis decorator observes the connected document fragment for changes to the id attribute\nand child elements and if any id reference is established or removed, it will\nupdate the associated property."
52372
- }
52373
- ],
52374
- "exports": [
52375
- {
52376
- "kind": "js",
52377
- "name": "idReference",
52378
- "declaration": {
52379
- "name": "idReference",
52380
- "module": "core/decorators/id-reference.js"
52381
- }
52382
- }
52383
- ]
52384
- },
52385
- {
52386
- "kind": "javascript-module",
52387
- "path": "core/decorators/omit-empty-converter.js",
52388
- "declarations": [
52389
- {
52390
- "kind": "variable",
52391
- "name": "omitEmptyConverter",
52392
- "type": {
52393
- "text": "ComplexAttributeConverter"
52394
- },
52395
- "default": "{ toAttribute(value, type) { return ((type === String || type === undefined) && value === '') || (type === Number && isNaN(value as number)) ? null : defaultConverter.toAttribute!(value, type); }, }",
52396
- "description": "Converts empty values to null, which will not be rendered as attributes.\ne.g. for string properties, an empty value '' will not be rendered as an\nempty attribute, as would be the default with lit."
52397
- }
52398
- ],
52399
- "exports": [
52400
- {
52401
- "kind": "js",
52402
- "name": "omitEmptyConverter",
52403
- "declaration": {
52404
- "name": "omitEmptyConverter",
52405
- "module": "core/decorators/omit-empty-converter.js"
52406
- }
52407
- }
52408
- ]
52409
- },
52410
- {
52411
- "kind": "javascript-module",
52412
- "path": "core/decorators/plain-date.js",
52413
- "declarations": [
52414
- {
52415
- "kind": "variable",
52416
- "name": "plainDateConverter",
52417
- "type": {
52418
- "text": "ComplexAttributeConverter"
52419
- },
52420
- "default": "{ toAttribute(value, _type) { const dateAdapter = readConfig().datetime?.dateAdapter ?? defaultDateAdapter; return dateAdapter.isValid(value) ? dateAdapter.toIso8601(value) : null; }, }",
52421
- "description": "Will convert date object values to ISO8601 formatted strings as attributes.\nShould be used together with the `plainDate` decorator."
52422
- },
52423
- {
52424
- "kind": "function",
52425
- "name": "plainDate",
52426
- "parameters": [
52427
- {
52428
- "name": "config",
52429
- "optional": true,
52430
- "type": {
52431
- "text": "SbbPlainDateConfiguration"
52432
- }
52433
- }
52434
- ],
52435
- "description": "Decorator that tries to deserialize the given value to a date object\nand adapts the getter to only return a copy of the internal value,\nin order to avoid outside manipulation of date objects."
52436
- }
52437
- ],
52438
- "exports": [
52439
- {
52440
- "kind": "js",
52441
- "name": "plainDateConverter",
52442
- "declaration": {
52443
- "name": "plainDateConverter",
52444
- "module": "core/decorators/plain-date.js"
52445
- }
52446
- },
52447
- {
52448
- "kind": "js",
52449
- "name": "plainDate",
52450
- "declaration": {
52451
- "name": "plainDate",
52452
- "module": "core/decorators/plain-date.js"
52453
- }
52454
- }
52455
- ]
52456
- },
52457
52457
  {
52458
52458
  "kind": "javascript-module",
52459
52459
  "path": "core/dom/animation.js",
@@ -87364,12 +87364,12 @@
87364
87364
  },
87365
87365
  {
87366
87366
  "kind": "javascript-module",
87367
- "path": "menu/menu-button/menu-button.component.js",
87367
+ "path": "menu/menu-link/menu-link.component.js",
87368
87368
  "declarations": [
87369
87369
  {
87370
87370
  "kind": "class",
87371
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
87372
- "name": "SbbMenuButtonElement",
87371
+ "description": "It displays a link element that can be used in the `sbb-menu` component.",
87372
+ "name": "SbbMenuLinkElement",
87373
87373
  "cssProperties": [
87374
87374
  {
87375
87375
  "description": "Can be used to modify horizontal padding.",
@@ -87379,7 +87379,7 @@
87379
87379
  ],
87380
87380
  "slots": [
87381
87381
  {
87382
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
87382
+ "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
87383
87383
  "name": ""
87384
87384
  },
87385
87385
  {
@@ -87390,17 +87390,16 @@
87390
87390
  "members": [
87391
87391
  {
87392
87392
  "kind": "field",
87393
- "name": "role",
87393
+ "name": "anchorRole",
87394
87394
  "type": {
87395
- "text": "ElementInternals['role']"
87395
+ "text": "string"
87396
87396
  },
87397
- "privacy": "public",
87398
- "static": true,
87397
+ "privacy": "protected",
87399
87398
  "readonly": true,
87400
87399
  "default": "'menuitem'",
87401
87400
  "inheritedFrom": {
87402
- "name": "SbbButtonLikeBaseElement",
87403
- "module": "core/base-elements/button-base-element.js"
87401
+ "name": "SbbLinkBaseElement",
87402
+ "module": "core/base-elements/link-base-element.js"
87404
87403
  }
87405
87404
  },
87406
87405
  {
@@ -87419,50 +87418,6 @@
87419
87418
  "module": "core/mixins/disabled-mixin.js"
87420
87419
  }
87421
87420
  },
87422
- {
87423
- "kind": "field",
87424
- "name": "disabled",
87425
- "privacy": "public",
87426
- "description": "Whether the component is disabled.",
87427
- "default": "false",
87428
- "type": {
87429
- "text": "boolean"
87430
- },
87431
- "attribute": "disabled",
87432
- "reflects": true,
87433
- "inheritedFrom": {
87434
- "name": "SbbDisabledMixin",
87435
- "module": "core/mixins/disabled-mixin.js"
87436
- }
87437
- },
87438
- {
87439
- "kind": "field",
87440
- "name": "#disabled",
87441
- "privacy": "private",
87442
- "type": {
87443
- "text": "boolean"
87444
- },
87445
- "default": "false",
87446
- "inheritedFrom": {
87447
- "name": "SbbDisabledMixin",
87448
- "module": "core/mixins/disabled-mixin.js"
87449
- }
87450
- },
87451
- {
87452
- "kind": "method",
87453
- "name": "isDisabledExternally",
87454
- "privacy": "protected",
87455
- "return": {
87456
- "type": {
87457
- "text": "boolean"
87458
- }
87459
- },
87460
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
87461
- "inheritedFrom": {
87462
- "name": "SbbDisabledMixin",
87463
- "module": "core/mixins/disabled-mixin.js"
87464
- }
87465
- },
87466
87421
  {
87467
87422
  "kind": "field",
87468
87423
  "name": "styles",
@@ -87560,464 +87515,181 @@
87560
87515
  },
87561
87516
  {
87562
87517
  "kind": "field",
87563
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
87564
- "type": {
87565
- "text": "array"
87566
- },
87567
- "privacy": "private",
87568
- "readonly": true,
87569
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
87570
- "inheritedFrom": {
87571
- "name": "SbbButtonBaseElement",
87572
- "module": "core/base-elements/button-base-element.js"
87573
- }
87574
- },
87575
- {
87576
- "kind": "field",
87577
- "name": "value",
87578
- "type": {
87579
- "text": "string"
87580
- },
87581
- "privacy": "public",
87582
- "inheritedFrom": {
87583
- "name": "SbbButtonBaseElement",
87584
- "module": "core/base-elements/button-base-element.js"
87585
- },
87586
- "default": "''",
87587
- "description": "Value of the form element.",
87588
- "attribute": "value"
87589
- },
87590
- {
87591
- "kind": "field",
87592
- "name": "type",
87518
+ "name": "disabled",
87593
87519
  "privacy": "public",
87594
- "description": "The type attribute to use for the button.",
87595
- "default": "'button'",
87520
+ "description": "Whether the component is disabled.",
87521
+ "default": "false",
87596
87522
  "type": {
87597
- "text": "SbbButtonType"
87523
+ "text": "boolean"
87598
87524
  },
87599
- "attribute": "type",
87525
+ "attribute": "disabled",
87526
+ "reflects": true,
87600
87527
  "inheritedFrom": {
87601
- "name": "SbbButtonBaseElement",
87602
- "module": "core/base-elements/button-base-element.js"
87528
+ "name": "SbbDisabledMixin",
87529
+ "module": "core/mixins/disabled-mixin.js"
87603
87530
  }
87604
87531
  },
87605
87532
  {
87606
87533
  "kind": "field",
87607
- "name": "form",
87608
- "type": {
87609
- "text": "HTMLFormElement | null"
87610
- },
87611
- "privacy": "public",
87612
- "description": "The `<form>` element to associate the button with.",
87613
- "inheritedFrom": {
87614
- "name": "SbbButtonBaseElement",
87615
- "module": "core/base-elements/button-base-element.js"
87616
- },
87617
- "attribute": "form"
87618
- },
87619
- {
87620
- "kind": "field",
87621
- "name": "_formId",
87534
+ "name": "#disabled",
87535
+ "privacy": "private",
87622
87536
  "type": {
87623
- "text": "string"
87537
+ "text": "boolean"
87624
87538
  },
87625
- "privacy": "private",
87626
- "default": "''",
87627
- "inheritedFrom": {
87628
- "name": "SbbButtonBaseElement",
87629
- "module": "core/base-elements/button-base-element.js"
87630
- }
87631
- },
87632
- {
87633
- "kind": "field",
87634
- "name": "_handleButtonClick",
87635
- "privacy": "private",
87539
+ "default": "false",
87636
87540
  "inheritedFrom": {
87637
- "name": "SbbButtonBaseElement",
87638
- "module": "core/base-elements/button-base-element.js"
87541
+ "name": "SbbDisabledMixin",
87542
+ "module": "core/mixins/disabled-mixin.js"
87639
87543
  }
87640
87544
  },
87641
87545
  {
87642
87546
  "kind": "method",
87643
- "name": "_requestSubmit",
87644
- "privacy": "private",
87547
+ "name": "isDisabledExternally",
87548
+ "privacy": "protected",
87645
87549
  "return": {
87646
87550
  "type": {
87647
- "text": "void"
87648
- }
87649
- },
87650
- "parameters": [
87651
- {
87652
- "name": "form",
87653
- "type": {
87654
- "text": "HTMLFormElement"
87655
- }
87551
+ "text": "boolean"
87656
87552
  }
87657
- ],
87658
- "inheritedFrom": {
87659
- "name": "SbbButtonBaseElement",
87660
- "module": "core/base-elements/button-base-element.js"
87661
- }
87662
- },
87663
- {
87664
- "kind": "field",
87665
- "name": "_formKeyDown",
87666
- "privacy": "private",
87667
- "inheritedFrom": {
87668
- "name": "SbbButtonBaseElement",
87669
- "module": "core/base-elements/button-base-element.js"
87670
- }
87671
- },
87672
- {
87673
- "kind": "field",
87674
- "name": "formAssociated",
87675
- "type": {
87676
- "text": "boolean"
87677
87553
  },
87678
- "privacy": "public",
87679
- "static": true,
87680
- "default": "true",
87554
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
87681
87555
  "inheritedFrom": {
87682
- "name": "SbbFormAssociatedMixin",
87683
- "module": "core/mixins/form-associated-mixin.js"
87556
+ "name": "SbbDisabledMixin",
87557
+ "module": "core/mixins/disabled-mixin.js"
87684
87558
  }
87685
87559
  },
87686
87560
  {
87687
87561
  "kind": "field",
87688
- "name": "name",
87689
- "privacy": "public",
87690
- "description": "Name of the form element. Will be read from name attribute.",
87562
+ "name": "href",
87691
87563
  "type": {
87692
87564
  "text": "string"
87693
87565
  },
87694
- "attribute": "name",
87566
+ "privacy": "public",
87567
+ "default": "''",
87568
+ "description": "The href value you want to link to.",
87569
+ "attribute": "href",
87570
+ "reflects": true,
87695
87571
  "inheritedFrom": {
87696
- "name": "SbbFormAssociatedMixin",
87697
- "module": "core/mixins/form-associated-mixin.js"
87572
+ "name": "SbbLinkBaseElement",
87573
+ "module": "core/base-elements/link-base-element.js"
87698
87574
  }
87699
87575
  },
87700
87576
  {
87701
87577
  "kind": "field",
87702
- "name": "validity",
87578
+ "name": "target",
87703
87579
  "type": {
87704
- "text": "ValidityState"
87580
+ "text": "LinkTargetType | string"
87705
87581
  },
87706
87582
  "privacy": "public",
87707
- "description": "Returns the ValidityState object for this element.",
87708
- "readonly": true,
87583
+ "default": "''",
87584
+ "description": "Where to display the linked URL.",
87585
+ "attribute": "target",
87586
+ "reflects": true,
87709
87587
  "inheritedFrom": {
87710
- "name": "SbbFormAssociatedMixin",
87711
- "module": "core/mixins/form-associated-mixin.js"
87588
+ "name": "SbbLinkBaseElement",
87589
+ "module": "core/base-elements/link-base-element.js"
87712
87590
  }
87713
87591
  },
87714
87592
  {
87715
87593
  "kind": "field",
87716
- "name": "validationMessage",
87594
+ "name": "rel",
87717
87595
  "type": {
87718
87596
  "text": "string"
87719
87597
  },
87720
87598
  "privacy": "public",
87721
- "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.",
87722
- "readonly": true,
87599
+ "default": "''",
87600
+ "description": "The relationship of the linked URL as space-separated link types.",
87601
+ "attribute": "rel",
87602
+ "reflects": true,
87723
87603
  "inheritedFrom": {
87724
- "name": "SbbFormAssociatedMixin",
87725
- "module": "core/mixins/form-associated-mixin.js"
87604
+ "name": "SbbLinkBaseElement",
87605
+ "module": "core/base-elements/link-base-element.js"
87726
87606
  }
87727
87607
  },
87728
87608
  {
87729
87609
  "kind": "field",
87730
- "name": "willValidate",
87610
+ "name": "download",
87731
87611
  "type": {
87732
87612
  "text": "boolean"
87733
87613
  },
87734
87614
  "privacy": "public",
87735
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
87736
- "readonly": true,
87737
- "inheritedFrom": {
87738
- "name": "SbbFormAssociatedMixin",
87739
- "module": "core/mixins/form-associated-mixin.js"
87740
- }
87741
- },
87742
- {
87743
- "kind": "field",
87744
- "name": "_validityStates",
87745
- "privacy": "private",
87746
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
87615
+ "default": "false",
87616
+ "description": "Whether the browser will show the download dialog on click.",
87617
+ "attribute": "download",
87618
+ "reflects": true,
87747
87619
  "inheritedFrom": {
87748
- "name": "SbbFormAssociatedMixin",
87749
- "module": "core/mixins/form-associated-mixin.js"
87620
+ "name": "SbbLinkBaseElement",
87621
+ "module": "core/base-elements/link-base-element.js"
87750
87622
  }
87751
87623
  },
87752
87624
  {
87753
87625
  "kind": "field",
87754
- "name": "formDisabled",
87626
+ "name": "accessibilityLabel",
87755
87627
  "type": {
87756
- "text": "boolean"
87628
+ "text": "string"
87757
87629
  },
87758
- "privacy": "protected",
87759
- "default": "false",
87760
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
87761
- "inheritedFrom": {
87762
- "name": "SbbFormAssociatedMixin",
87763
- "module": "core/mixins/form-associated-mixin.js"
87764
- }
87765
- },
87766
- {
87767
- "kind": "method",
87768
- "name": "checkValidity",
87769
87630
  "privacy": "public",
87770
- "return": {
87771
- "type": {
87772
- "text": "boolean"
87773
- }
87774
- },
87775
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
87631
+ "default": "''",
87632
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
87633
+ "attribute": "accessibility-label",
87776
87634
  "inheritedFrom": {
87777
- "name": "SbbFormAssociatedMixin",
87778
- "module": "core/mixins/form-associated-mixin.js"
87635
+ "name": "SbbLinkBaseElement",
87636
+ "module": "core/base-elements/link-base-element.js"
87779
87637
  }
87780
87638
  },
87781
87639
  {
87782
- "kind": "method",
87783
- "name": "reportValidity",
87784
- "privacy": "public",
87785
- "return": {
87786
- "type": {
87787
- "text": "boolean"
87788
- }
87640
+ "kind": "field",
87641
+ "name": "accessibilityCurrent",
87642
+ "type": {
87643
+ "text": "string"
87789
87644
  },
87790
- "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.",
87791
- "inheritedFrom": {
87792
- "name": "SbbFormAssociatedMixin",
87793
- "module": "core/mixins/form-associated-mixin.js"
87794
- }
87795
- },
87796
- {
87797
- "kind": "method",
87798
- "name": "setCustomValidity",
87799
87645
  "privacy": "public",
87800
- "return": {
87801
- "type": {
87802
- "text": "void"
87803
- }
87804
- },
87805
- "parameters": [
87806
- {
87807
- "name": "message",
87808
- "type": {
87809
- "text": "string"
87810
- }
87811
- }
87812
- ],
87813
- "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.",
87814
- "inheritedFrom": {
87815
- "name": "SbbFormAssociatedMixin",
87816
- "module": "core/mixins/form-associated-mixin.js"
87817
- }
87818
- },
87819
- {
87820
- "kind": "method",
87821
- "name": "_hasDisabledAncestor",
87822
- "privacy": "private",
87823
- "return": {
87824
- "type": {
87825
- "text": "boolean"
87826
- }
87827
- },
87828
- "inheritedFrom": {
87829
- "name": "SbbFormAssociatedMixin",
87830
- "module": "core/mixins/form-associated-mixin.js"
87831
- }
87832
- },
87833
- {
87834
- "kind": "method",
87835
- "name": "updateFormValue",
87836
- "privacy": "protected",
87837
- "return": {
87838
- "type": {
87839
- "text": "void"
87840
- }
87841
- },
87842
- "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",
87843
- "inheritedFrom": {
87844
- "name": "SbbFormAssociatedMixin",
87845
- "module": "core/mixins/form-associated-mixin.js"
87846
- }
87847
- },
87848
- {
87849
- "kind": "method",
87850
- "name": "formState",
87851
- "privacy": "protected",
87852
- "return": {
87853
- "type": {
87854
- "text": "FormRestoreState"
87855
- }
87856
- },
87857
- "inheritedFrom": {
87858
- "name": "SbbFormAssociatedMixin",
87859
- "module": "core/mixins/form-associated-mixin.js"
87860
- }
87861
- },
87862
- {
87863
- "kind": "method",
87864
- "name": "setValidityFlag",
87865
- "privacy": "protected",
87866
- "return": {
87867
- "type": {
87868
- "text": "void"
87869
- }
87870
- },
87871
- "parameters": [
87872
- {
87873
- "name": "flag",
87874
- "type": {
87875
- "text": "T"
87876
- }
87877
- },
87878
- {
87879
- "name": "message",
87880
- "type": {
87881
- "text": "string"
87882
- }
87883
- },
87884
- {
87885
- "name": "flagValue",
87886
- "optional": true,
87887
- "type": {
87888
- "text": "ValidityStateFlags[T]"
87889
- }
87890
- }
87891
- ],
87892
- "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).",
87646
+ "default": "''",
87647
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
87648
+ "attribute": "accessibility-current",
87893
87649
  "inheritedFrom": {
87894
- "name": "SbbFormAssociatedMixin",
87895
- "module": "core/mixins/form-associated-mixin.js"
87650
+ "name": "SbbLinkBaseElement",
87651
+ "module": "core/base-elements/link-base-element.js"
87896
87652
  }
87897
87653
  },
87898
87654
  {
87899
- "kind": "method",
87900
- "name": "removeValidityFlag",
87655
+ "kind": "field",
87656
+ "name": "language",
87901
87657
  "privacy": "protected",
87902
- "return": {
87903
- "type": {
87904
- "text": "void"
87905
- }
87906
- },
87907
- "parameters": [
87908
- {
87909
- "name": "flag",
87910
- "type": {
87911
- "text": "T"
87912
- }
87913
- }
87914
- ],
87915
- "description": "Removes the validity state flag entry and updates validity state.",
87658
+ "default": "new SbbLanguageController(this)",
87916
87659
  "inheritedFrom": {
87917
- "name": "SbbFormAssociatedMixin",
87918
- "module": "core/mixins/form-associated-mixin.js"
87660
+ "name": "SbbLinkBaseElement",
87661
+ "module": "core/base-elements/link-base-element.js"
87919
87662
  }
87920
87663
  },
87921
87664
  {
87922
- "kind": "method",
87923
- "name": "validate",
87924
- "privacy": "protected",
87925
- "return": {
87926
- "type": {
87927
- "text": "void"
87928
- }
87929
- },
87930
- "description": "To be called whenever the current element needs to be validated.",
87665
+ "kind": "field",
87666
+ "name": "_evaluateRelAttribute",
87667
+ "privacy": "private",
87931
87668
  "inheritedFrom": {
87932
- "name": "SbbFormAssociatedMixin",
87933
- "module": "core/mixins/form-associated-mixin.js"
87669
+ "name": "SbbLinkBaseElement",
87670
+ "module": "core/base-elements/link-base-element.js"
87934
87671
  }
87935
87672
  },
87936
87673
  {
87937
87674
  "kind": "method",
87938
- "name": "shouldValidate",
87675
+ "name": "renderLink",
87939
87676
  "privacy": "protected",
87940
87677
  "return": {
87941
87678
  "type": {
87942
- "text": "boolean"
87679
+ "text": "TemplateResult"
87943
87680
  }
87944
87681
  },
87945
87682
  "parameters": [
87946
87683
  {
87947
- "name": "name",
87684
+ "name": "renderContent",
87948
87685
  "type": {
87949
- "text": "PropertyKey | undefined"
87686
+ "text": "TemplateResult"
87950
87687
  }
87951
87688
  }
87952
87689
  ],
87953
- "description": "Whether validation should be run on a property change with the given name.",
87954
- "inheritedFrom": {
87955
- "name": "SbbFormAssociatedMixin",
87956
- "module": "core/mixins/form-associated-mixin.js"
87957
- }
87958
- },
87959
- {
87960
- "kind": "method",
87961
- "name": "_setInternalValidity",
87962
- "privacy": "private",
87963
- "return": {
87964
- "type": {
87965
- "text": "void"
87966
- }
87967
- },
87968
- "inheritedFrom": {
87969
- "name": "SbbFormAssociatedMixin",
87970
- "module": "core/mixins/form-associated-mixin.js"
87971
- }
87972
- },
87973
- {
87974
- "kind": "field",
87975
- "name": "_preventScrollOnSpaceKeydown",
87976
- "privacy": "private",
87977
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
87978
- "parameters": [
87979
- {
87980
- "description": "The origin event.",
87981
- "name": "event"
87982
- }
87983
- ],
87984
- "inheritedFrom": {
87985
- "name": "SbbButtonLikeBaseElement",
87986
- "module": "core/base-elements/button-base-element.js"
87987
- }
87988
- },
87989
- {
87990
- "kind": "field",
87991
- "name": "_removeActiveMarker",
87992
- "privacy": "private",
87993
- "inheritedFrom": {
87994
- "name": "SbbButtonLikeBaseElement",
87995
- "module": "core/base-elements/button-base-element.js"
87996
- }
87997
- },
87998
- {
87999
- "kind": "field",
88000
- "name": "_dispatchClickEventOnSpaceKeyup",
88001
- "privacy": "private",
88002
- "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.",
88003
- "parameters": [
88004
- {
88005
- "description": "The origin event.",
88006
- "name": "event"
88007
- }
88008
- ],
88009
- "inheritedFrom": {
88010
- "name": "SbbButtonLikeBaseElement",
88011
- "module": "core/base-elements/button-base-element.js"
88012
- }
88013
- },
88014
- {
88015
- "kind": "field",
88016
- "name": "_dispatchClickEvent",
88017
- "privacy": "private",
88018
87690
  "inheritedFrom": {
88019
- "name": "SbbButtonLikeBaseElement",
88020
- "module": "core/base-elements/button-base-element.js"
87691
+ "name": "SbbLinkBaseElement",
87692
+ "module": "core/base-elements/link-base-element.js"
88021
87693
  }
88022
87694
  },
88023
87695
  {
@@ -88092,7 +87764,7 @@
88092
87764
  ],
88093
87765
  "mixins": [
88094
87766
  {
88095
- "name": "SbbDisabledTabIndexActionMixin",
87767
+ "name": "SbbDisabledInteractiveMixin",
88096
87768
  "module": "core/mixins.js"
88097
87769
  },
88098
87770
  {
@@ -88101,10 +87773,10 @@
88101
87773
  }
88102
87774
  ],
88103
87775
  "superclass": {
88104
- "name": "SbbButtonBaseElement",
87776
+ "name": "SbbLinkBaseElement",
88105
87777
  "module": "core/base-elements.js"
88106
87778
  },
88107
- "tagName": "sbb-menu-button",
87779
+ "tagName": "sbb-menu-link",
88108
87780
  "customElement": true,
88109
87781
  "attributes": [
88110
87782
  {
@@ -88120,6 +87792,19 @@
88120
87792
  "module": "core/mixins/disabled-mixin.js"
88121
87793
  }
88122
87794
  },
87795
+ {
87796
+ "name": "icon-name",
87797
+ "type": {
87798
+ "text": "string"
87799
+ },
87800
+ "default": "''",
87801
+ "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.",
87802
+ "fieldName": "iconName",
87803
+ "inheritedFrom": {
87804
+ "name": "SbbIconNameMixin",
87805
+ "module": "icon/icon-name-mixin.js"
87806
+ }
87807
+ },
88123
87808
  {
88124
87809
  "name": "disabled",
88125
87810
  "description": "Whether the component is disabled.",
@@ -88134,66 +87819,81 @@
88134
87819
  }
88135
87820
  },
88136
87821
  {
88137
- "name": "icon-name",
87822
+ "name": "href",
88138
87823
  "type": {
88139
87824
  "text": "string"
88140
87825
  },
88141
87826
  "default": "''",
88142
- "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.",
88143
- "fieldName": "iconName",
87827
+ "description": "The href value you want to link to.",
87828
+ "fieldName": "href",
88144
87829
  "inheritedFrom": {
88145
- "name": "SbbIconNameMixin",
88146
- "module": "icon/icon-name-mixin.js"
87830
+ "name": "SbbLinkBaseElement",
87831
+ "module": "core/base-elements/link-base-element.js"
88147
87832
  }
88148
87833
  },
88149
87834
  {
88150
- "name": "value",
87835
+ "name": "target",
87836
+ "type": {
87837
+ "text": "LinkTargetType | string"
87838
+ },
87839
+ "default": "''",
87840
+ "description": "Where to display the linked URL.",
87841
+ "fieldName": "target",
87842
+ "inheritedFrom": {
87843
+ "name": "SbbLinkBaseElement",
87844
+ "module": "core/base-elements/link-base-element.js"
87845
+ }
87846
+ },
87847
+ {
87848
+ "name": "rel",
88151
87849
  "type": {
88152
87850
  "text": "string"
88153
87851
  },
88154
87852
  "default": "''",
88155
- "description": "Value of the form element.",
88156
- "fieldName": "value",
87853
+ "description": "The relationship of the linked URL as space-separated link types.",
87854
+ "fieldName": "rel",
88157
87855
  "inheritedFrom": {
88158
- "name": "SbbButtonBaseElement",
88159
- "module": "core/base-elements/button-base-element.js"
87856
+ "name": "SbbLinkBaseElement",
87857
+ "module": "core/base-elements/link-base-element.js"
88160
87858
  }
88161
87859
  },
88162
87860
  {
88163
- "name": "type",
88164
- "description": "The type attribute to use for the button.",
88165
- "default": "'button'",
87861
+ "name": "download",
88166
87862
  "type": {
88167
- "text": "SbbButtonType"
87863
+ "text": "boolean"
88168
87864
  },
88169
- "fieldName": "type",
87865
+ "default": "false",
87866
+ "description": "Whether the browser will show the download dialog on click.",
87867
+ "fieldName": "download",
88170
87868
  "inheritedFrom": {
88171
- "name": "SbbButtonBaseElement",
88172
- "module": "core/base-elements/button-base-element.js"
87869
+ "name": "SbbLinkBaseElement",
87870
+ "module": "core/base-elements/link-base-element.js"
88173
87871
  }
88174
87872
  },
88175
87873
  {
88176
- "name": "form",
88177
- "description": "The `<form>` element to associate the button with.",
87874
+ "name": "accessibility-label",
88178
87875
  "type": {
88179
- "text": "HTMLFormElement | null"
87876
+ "text": "string"
88180
87877
  },
88181
- "fieldName": "form",
87878
+ "default": "''",
87879
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
87880
+ "fieldName": "accessibilityLabel",
88182
87881
  "inheritedFrom": {
88183
- "name": "SbbButtonBaseElement",
88184
- "module": "core/base-elements/button-base-element.js"
87882
+ "name": "SbbLinkBaseElement",
87883
+ "module": "core/base-elements/link-base-element.js"
88185
87884
  }
88186
87885
  },
88187
87886
  {
88188
- "name": "name",
88189
- "description": "Name of the form element. Will be read from name attribute.",
87887
+ "name": "accessibility-current",
88190
87888
  "type": {
88191
87889
  "text": "string"
88192
87890
  },
88193
- "fieldName": "name",
87891
+ "default": "''",
87892
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
87893
+ "fieldName": "accessibilityCurrent",
88194
87894
  "inheritedFrom": {
88195
- "name": "SbbFormAssociatedMixin",
88196
- "module": "core/mixins/form-associated-mixin.js"
87895
+ "name": "SbbLinkBaseElement",
87896
+ "module": "core/base-elements/link-base-element.js"
88197
87897
  }
88198
87898
  }
88199
87899
  ]
@@ -88202,30 +87902,30 @@
88202
87902
  "exports": [
88203
87903
  {
88204
87904
  "kind": "js",
88205
- "name": "SbbMenuButtonElement",
87905
+ "name": "SbbMenuLinkElement",
88206
87906
  "declaration": {
88207
- "name": "SbbMenuButtonElement",
88208
- "module": "menu/menu-button/menu-button.component.js"
87907
+ "name": "SbbMenuLinkElement",
87908
+ "module": "menu/menu-link/menu-link.component.js"
88209
87909
  }
88210
87910
  },
88211
87911
  {
88212
87912
  "kind": "custom-element-definition",
88213
- "name": "sbb-menu-button",
87913
+ "name": "sbb-menu-link",
88214
87914
  "declaration": {
88215
- "name": "SbbMenuButtonElement",
88216
- "module": "menu/menu-button/menu-button.component.js"
87915
+ "name": "SbbMenuLinkElement",
87916
+ "module": "menu/menu-link/menu-link.component.js"
88217
87917
  }
88218
87918
  }
88219
87919
  ]
88220
87920
  },
88221
87921
  {
88222
87922
  "kind": "javascript-module",
88223
- "path": "menu/menu-link/menu-link.component.js",
87923
+ "path": "menu/menu-button/menu-button.component.js",
88224
87924
  "declarations": [
88225
87925
  {
88226
87926
  "kind": "class",
88227
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
88228
- "name": "SbbMenuLinkElement",
87927
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
87928
+ "name": "SbbMenuButtonElement",
88229
87929
  "cssProperties": [
88230
87930
  {
88231
87931
  "description": "Can be used to modify horizontal padding.",
@@ -88235,7 +87935,7 @@
88235
87935
  ],
88236
87936
  "slots": [
88237
87937
  {
88238
- "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
87938
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
88239
87939
  "name": ""
88240
87940
  },
88241
87941
  {
@@ -88246,16 +87946,17 @@
88246
87946
  "members": [
88247
87947
  {
88248
87948
  "kind": "field",
88249
- "name": "anchorRole",
87949
+ "name": "role",
88250
87950
  "type": {
88251
- "text": "string"
87951
+ "text": "ElementInternals['role']"
88252
87952
  },
88253
- "privacy": "protected",
87953
+ "privacy": "public",
87954
+ "static": true,
88254
87955
  "readonly": true,
88255
87956
  "default": "'menuitem'",
88256
87957
  "inheritedFrom": {
88257
- "name": "SbbLinkBaseElement",
88258
- "module": "core/base-elements/link-base-element.js"
87958
+ "name": "SbbButtonLikeBaseElement",
87959
+ "module": "core/base-elements/button-base-element.js"
88259
87960
  }
88260
87961
  },
88261
87962
  {
@@ -88274,6 +87975,50 @@
88274
87975
  "module": "core/mixins/disabled-mixin.js"
88275
87976
  }
88276
87977
  },
87978
+ {
87979
+ "kind": "field",
87980
+ "name": "disabled",
87981
+ "privacy": "public",
87982
+ "description": "Whether the component is disabled.",
87983
+ "default": "false",
87984
+ "type": {
87985
+ "text": "boolean"
87986
+ },
87987
+ "attribute": "disabled",
87988
+ "reflects": true,
87989
+ "inheritedFrom": {
87990
+ "name": "SbbDisabledMixin",
87991
+ "module": "core/mixins/disabled-mixin.js"
87992
+ }
87993
+ },
87994
+ {
87995
+ "kind": "field",
87996
+ "name": "#disabled",
87997
+ "privacy": "private",
87998
+ "type": {
87999
+ "text": "boolean"
88000
+ },
88001
+ "default": "false",
88002
+ "inheritedFrom": {
88003
+ "name": "SbbDisabledMixin",
88004
+ "module": "core/mixins/disabled-mixin.js"
88005
+ }
88006
+ },
88007
+ {
88008
+ "kind": "method",
88009
+ "name": "isDisabledExternally",
88010
+ "privacy": "protected",
88011
+ "return": {
88012
+ "type": {
88013
+ "text": "boolean"
88014
+ }
88015
+ },
88016
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
88017
+ "inheritedFrom": {
88018
+ "name": "SbbDisabledMixin",
88019
+ "module": "core/mixins/disabled-mixin.js"
88020
+ }
88021
+ },
88277
88022
  {
88278
88023
  "kind": "field",
88279
88024
  "name": "styles",
@@ -88371,181 +88116,464 @@
88371
88116
  },
88372
88117
  {
88373
88118
  "kind": "field",
88374
- "name": "disabled",
88119
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
88120
+ "type": {
88121
+ "text": "array"
88122
+ },
88123
+ "privacy": "private",
88124
+ "readonly": true,
88125
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
88126
+ "inheritedFrom": {
88127
+ "name": "SbbButtonBaseElement",
88128
+ "module": "core/base-elements/button-base-element.js"
88129
+ }
88130
+ },
88131
+ {
88132
+ "kind": "field",
88133
+ "name": "value",
88134
+ "type": {
88135
+ "text": "string"
88136
+ },
88375
88137
  "privacy": "public",
88376
- "description": "Whether the component is disabled.",
88377
- "default": "false",
88138
+ "inheritedFrom": {
88139
+ "name": "SbbButtonBaseElement",
88140
+ "module": "core/base-elements/button-base-element.js"
88141
+ },
88142
+ "default": "''",
88143
+ "description": "Value of the form element.",
88144
+ "attribute": "value"
88145
+ },
88146
+ {
88147
+ "kind": "field",
88148
+ "name": "type",
88149
+ "privacy": "public",
88150
+ "description": "The type attribute to use for the button.",
88151
+ "default": "'button'",
88378
88152
  "type": {
88379
- "text": "boolean"
88153
+ "text": "SbbButtonType"
88380
88154
  },
88381
- "attribute": "disabled",
88382
- "reflects": true,
88155
+ "attribute": "type",
88383
88156
  "inheritedFrom": {
88384
- "name": "SbbDisabledMixin",
88385
- "module": "core/mixins/disabled-mixin.js"
88157
+ "name": "SbbButtonBaseElement",
88158
+ "module": "core/base-elements/button-base-element.js"
88386
88159
  }
88387
88160
  },
88388
88161
  {
88389
88162
  "kind": "field",
88390
- "name": "#disabled",
88391
- "privacy": "private",
88163
+ "name": "form",
88392
88164
  "type": {
88393
- "text": "boolean"
88165
+ "text": "HTMLFormElement | null"
88394
88166
  },
88395
- "default": "false",
88167
+ "privacy": "public",
88168
+ "description": "The `<form>` element to associate the button with.",
88396
88169
  "inheritedFrom": {
88397
- "name": "SbbDisabledMixin",
88398
- "module": "core/mixins/disabled-mixin.js"
88170
+ "name": "SbbButtonBaseElement",
88171
+ "module": "core/base-elements/button-base-element.js"
88172
+ },
88173
+ "attribute": "form"
88174
+ },
88175
+ {
88176
+ "kind": "field",
88177
+ "name": "_formId",
88178
+ "type": {
88179
+ "text": "string"
88180
+ },
88181
+ "privacy": "private",
88182
+ "default": "''",
88183
+ "inheritedFrom": {
88184
+ "name": "SbbButtonBaseElement",
88185
+ "module": "core/base-elements/button-base-element.js"
88186
+ }
88187
+ },
88188
+ {
88189
+ "kind": "field",
88190
+ "name": "_handleButtonClick",
88191
+ "privacy": "private",
88192
+ "inheritedFrom": {
88193
+ "name": "SbbButtonBaseElement",
88194
+ "module": "core/base-elements/button-base-element.js"
88399
88195
  }
88400
88196
  },
88401
88197
  {
88402
88198
  "kind": "method",
88403
- "name": "isDisabledExternally",
88404
- "privacy": "protected",
88199
+ "name": "_requestSubmit",
88200
+ "privacy": "private",
88405
88201
  "return": {
88406
88202
  "type": {
88407
- "text": "boolean"
88203
+ "text": "void"
88408
88204
  }
88409
88205
  },
88410
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
88206
+ "parameters": [
88207
+ {
88208
+ "name": "form",
88209
+ "type": {
88210
+ "text": "HTMLFormElement"
88211
+ }
88212
+ }
88213
+ ],
88411
88214
  "inheritedFrom": {
88412
- "name": "SbbDisabledMixin",
88413
- "module": "core/mixins/disabled-mixin.js"
88215
+ "name": "SbbButtonBaseElement",
88216
+ "module": "core/base-elements/button-base-element.js"
88414
88217
  }
88415
88218
  },
88416
88219
  {
88417
88220
  "kind": "field",
88418
- "name": "href",
88419
- "type": {
88420
- "text": "string"
88421
- },
88422
- "privacy": "public",
88423
- "default": "''",
88424
- "description": "The href value you want to link to.",
88425
- "attribute": "href",
88426
- "reflects": true,
88221
+ "name": "_formKeyDown",
88222
+ "privacy": "private",
88427
88223
  "inheritedFrom": {
88428
- "name": "SbbLinkBaseElement",
88429
- "module": "core/base-elements/link-base-element.js"
88224
+ "name": "SbbButtonBaseElement",
88225
+ "module": "core/base-elements/button-base-element.js"
88430
88226
  }
88431
88227
  },
88432
88228
  {
88433
88229
  "kind": "field",
88434
- "name": "target",
88230
+ "name": "formAssociated",
88435
88231
  "type": {
88436
- "text": "LinkTargetType | string"
88232
+ "text": "boolean"
88437
88233
  },
88438
88234
  "privacy": "public",
88439
- "default": "''",
88440
- "description": "Where to display the linked URL.",
88441
- "attribute": "target",
88442
- "reflects": true,
88235
+ "static": true,
88236
+ "default": "true",
88443
88237
  "inheritedFrom": {
88444
- "name": "SbbLinkBaseElement",
88445
- "module": "core/base-elements/link-base-element.js"
88238
+ "name": "SbbFormAssociatedMixin",
88239
+ "module": "core/mixins/form-associated-mixin.js"
88446
88240
  }
88447
88241
  },
88448
88242
  {
88449
88243
  "kind": "field",
88450
- "name": "rel",
88244
+ "name": "name",
88245
+ "privacy": "public",
88246
+ "description": "Name of the form element. Will be read from name attribute.",
88451
88247
  "type": {
88452
88248
  "text": "string"
88453
88249
  },
88454
- "privacy": "public",
88455
- "default": "''",
88456
- "description": "The relationship of the linked URL as space-separated link types.",
88457
- "attribute": "rel",
88458
- "reflects": true,
88250
+ "attribute": "name",
88459
88251
  "inheritedFrom": {
88460
- "name": "SbbLinkBaseElement",
88461
- "module": "core/base-elements/link-base-element.js"
88252
+ "name": "SbbFormAssociatedMixin",
88253
+ "module": "core/mixins/form-associated-mixin.js"
88462
88254
  }
88463
88255
  },
88464
88256
  {
88465
88257
  "kind": "field",
88466
- "name": "download",
88258
+ "name": "validity",
88467
88259
  "type": {
88468
- "text": "boolean"
88260
+ "text": "ValidityState"
88469
88261
  },
88470
88262
  "privacy": "public",
88471
- "default": "false",
88472
- "description": "Whether the browser will show the download dialog on click.",
88473
- "attribute": "download",
88474
- "reflects": true,
88263
+ "description": "Returns the ValidityState object for this element.",
88264
+ "readonly": true,
88475
88265
  "inheritedFrom": {
88476
- "name": "SbbLinkBaseElement",
88477
- "module": "core/base-elements/link-base-element.js"
88266
+ "name": "SbbFormAssociatedMixin",
88267
+ "module": "core/mixins/form-associated-mixin.js"
88478
88268
  }
88479
88269
  },
88480
88270
  {
88481
88271
  "kind": "field",
88482
- "name": "accessibilityLabel",
88272
+ "name": "validationMessage",
88483
88273
  "type": {
88484
88274
  "text": "string"
88485
88275
  },
88486
88276
  "privacy": "public",
88487
- "default": "''",
88488
- "description": "This will be forwarded as aria-label to the inner anchor element.",
88489
- "attribute": "accessibility-label",
88277
+ "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.",
88278
+ "readonly": true,
88490
88279
  "inheritedFrom": {
88491
- "name": "SbbLinkBaseElement",
88492
- "module": "core/base-elements/link-base-element.js"
88280
+ "name": "SbbFormAssociatedMixin",
88281
+ "module": "core/mixins/form-associated-mixin.js"
88493
88282
  }
88494
88283
  },
88495
88284
  {
88496
88285
  "kind": "field",
88497
- "name": "accessibilityCurrent",
88286
+ "name": "willValidate",
88498
88287
  "type": {
88499
- "text": "string"
88288
+ "text": "boolean"
88500
88289
  },
88501
88290
  "privacy": "public",
88502
- "default": "''",
88503
- "description": "This will be forwarded as aria-current to the inner anchor element.",
88504
- "attribute": "accessibility-current",
88291
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
88292
+ "readonly": true,
88505
88293
  "inheritedFrom": {
88506
- "name": "SbbLinkBaseElement",
88507
- "module": "core/base-elements/link-base-element.js"
88294
+ "name": "SbbFormAssociatedMixin",
88295
+ "module": "core/mixins/form-associated-mixin.js"
88508
88296
  }
88509
88297
  },
88510
88298
  {
88511
88299
  "kind": "field",
88512
- "name": "language",
88513
- "privacy": "protected",
88514
- "default": "new SbbLanguageController(this)",
88300
+ "name": "_validityStates",
88301
+ "privacy": "private",
88302
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
88515
88303
  "inheritedFrom": {
88516
- "name": "SbbLinkBaseElement",
88517
- "module": "core/base-elements/link-base-element.js"
88304
+ "name": "SbbFormAssociatedMixin",
88305
+ "module": "core/mixins/form-associated-mixin.js"
88518
88306
  }
88519
88307
  },
88520
88308
  {
88521
88309
  "kind": "field",
88522
- "name": "_evaluateRelAttribute",
88310
+ "name": "formDisabled",
88311
+ "type": {
88312
+ "text": "boolean"
88313
+ },
88314
+ "privacy": "protected",
88315
+ "default": "false",
88316
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
88317
+ "inheritedFrom": {
88318
+ "name": "SbbFormAssociatedMixin",
88319
+ "module": "core/mixins/form-associated-mixin.js"
88320
+ }
88321
+ },
88322
+ {
88323
+ "kind": "method",
88324
+ "name": "checkValidity",
88325
+ "privacy": "public",
88326
+ "return": {
88327
+ "type": {
88328
+ "text": "boolean"
88329
+ }
88330
+ },
88331
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
88332
+ "inheritedFrom": {
88333
+ "name": "SbbFormAssociatedMixin",
88334
+ "module": "core/mixins/form-associated-mixin.js"
88335
+ }
88336
+ },
88337
+ {
88338
+ "kind": "method",
88339
+ "name": "reportValidity",
88340
+ "privacy": "public",
88341
+ "return": {
88342
+ "type": {
88343
+ "text": "boolean"
88344
+ }
88345
+ },
88346
+ "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.",
88347
+ "inheritedFrom": {
88348
+ "name": "SbbFormAssociatedMixin",
88349
+ "module": "core/mixins/form-associated-mixin.js"
88350
+ }
88351
+ },
88352
+ {
88353
+ "kind": "method",
88354
+ "name": "setCustomValidity",
88355
+ "privacy": "public",
88356
+ "return": {
88357
+ "type": {
88358
+ "text": "void"
88359
+ }
88360
+ },
88361
+ "parameters": [
88362
+ {
88363
+ "name": "message",
88364
+ "type": {
88365
+ "text": "string"
88366
+ }
88367
+ }
88368
+ ],
88369
+ "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.",
88370
+ "inheritedFrom": {
88371
+ "name": "SbbFormAssociatedMixin",
88372
+ "module": "core/mixins/form-associated-mixin.js"
88373
+ }
88374
+ },
88375
+ {
88376
+ "kind": "method",
88377
+ "name": "_hasDisabledAncestor",
88523
88378
  "privacy": "private",
88379
+ "return": {
88380
+ "type": {
88381
+ "text": "boolean"
88382
+ }
88383
+ },
88524
88384
  "inheritedFrom": {
88525
- "name": "SbbLinkBaseElement",
88526
- "module": "core/base-elements/link-base-element.js"
88385
+ "name": "SbbFormAssociatedMixin",
88386
+ "module": "core/mixins/form-associated-mixin.js"
88527
88387
  }
88528
88388
  },
88529
88389
  {
88530
88390
  "kind": "method",
88531
- "name": "renderLink",
88391
+ "name": "updateFormValue",
88532
88392
  "privacy": "protected",
88533
88393
  "return": {
88534
88394
  "type": {
88535
- "text": "TemplateResult"
88395
+ "text": "void"
88396
+ }
88397
+ },
88398
+ "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",
88399
+ "inheritedFrom": {
88400
+ "name": "SbbFormAssociatedMixin",
88401
+ "module": "core/mixins/form-associated-mixin.js"
88402
+ }
88403
+ },
88404
+ {
88405
+ "kind": "method",
88406
+ "name": "formState",
88407
+ "privacy": "protected",
88408
+ "return": {
88409
+ "type": {
88410
+ "text": "FormRestoreState"
88411
+ }
88412
+ },
88413
+ "inheritedFrom": {
88414
+ "name": "SbbFormAssociatedMixin",
88415
+ "module": "core/mixins/form-associated-mixin.js"
88416
+ }
88417
+ },
88418
+ {
88419
+ "kind": "method",
88420
+ "name": "setValidityFlag",
88421
+ "privacy": "protected",
88422
+ "return": {
88423
+ "type": {
88424
+ "text": "void"
88536
88425
  }
88537
88426
  },
88538
88427
  "parameters": [
88539
88428
  {
88540
- "name": "renderContent",
88429
+ "name": "flag",
88541
88430
  "type": {
88542
- "text": "TemplateResult"
88431
+ "text": "T"
88432
+ }
88433
+ },
88434
+ {
88435
+ "name": "message",
88436
+ "type": {
88437
+ "text": "string"
88438
+ }
88439
+ },
88440
+ {
88441
+ "name": "flagValue",
88442
+ "optional": true,
88443
+ "type": {
88444
+ "text": "ValidityStateFlags[T]"
88543
88445
  }
88544
88446
  }
88545
88447
  ],
88448
+ "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).",
88546
88449
  "inheritedFrom": {
88547
- "name": "SbbLinkBaseElement",
88548
- "module": "core/base-elements/link-base-element.js"
88450
+ "name": "SbbFormAssociatedMixin",
88451
+ "module": "core/mixins/form-associated-mixin.js"
88452
+ }
88453
+ },
88454
+ {
88455
+ "kind": "method",
88456
+ "name": "removeValidityFlag",
88457
+ "privacy": "protected",
88458
+ "return": {
88459
+ "type": {
88460
+ "text": "void"
88461
+ }
88462
+ },
88463
+ "parameters": [
88464
+ {
88465
+ "name": "flag",
88466
+ "type": {
88467
+ "text": "T"
88468
+ }
88469
+ }
88470
+ ],
88471
+ "description": "Removes the validity state flag entry and updates validity state.",
88472
+ "inheritedFrom": {
88473
+ "name": "SbbFormAssociatedMixin",
88474
+ "module": "core/mixins/form-associated-mixin.js"
88475
+ }
88476
+ },
88477
+ {
88478
+ "kind": "method",
88479
+ "name": "validate",
88480
+ "privacy": "protected",
88481
+ "return": {
88482
+ "type": {
88483
+ "text": "void"
88484
+ }
88485
+ },
88486
+ "description": "To be called whenever the current element needs to be validated.",
88487
+ "inheritedFrom": {
88488
+ "name": "SbbFormAssociatedMixin",
88489
+ "module": "core/mixins/form-associated-mixin.js"
88490
+ }
88491
+ },
88492
+ {
88493
+ "kind": "method",
88494
+ "name": "shouldValidate",
88495
+ "privacy": "protected",
88496
+ "return": {
88497
+ "type": {
88498
+ "text": "boolean"
88499
+ }
88500
+ },
88501
+ "parameters": [
88502
+ {
88503
+ "name": "name",
88504
+ "type": {
88505
+ "text": "PropertyKey | undefined"
88506
+ }
88507
+ }
88508
+ ],
88509
+ "description": "Whether validation should be run on a property change with the given name.",
88510
+ "inheritedFrom": {
88511
+ "name": "SbbFormAssociatedMixin",
88512
+ "module": "core/mixins/form-associated-mixin.js"
88513
+ }
88514
+ },
88515
+ {
88516
+ "kind": "method",
88517
+ "name": "_setInternalValidity",
88518
+ "privacy": "private",
88519
+ "return": {
88520
+ "type": {
88521
+ "text": "void"
88522
+ }
88523
+ },
88524
+ "inheritedFrom": {
88525
+ "name": "SbbFormAssociatedMixin",
88526
+ "module": "core/mixins/form-associated-mixin.js"
88527
+ }
88528
+ },
88529
+ {
88530
+ "kind": "field",
88531
+ "name": "_preventScrollOnSpaceKeydown",
88532
+ "privacy": "private",
88533
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
88534
+ "parameters": [
88535
+ {
88536
+ "description": "The origin event.",
88537
+ "name": "event"
88538
+ }
88539
+ ],
88540
+ "inheritedFrom": {
88541
+ "name": "SbbButtonLikeBaseElement",
88542
+ "module": "core/base-elements/button-base-element.js"
88543
+ }
88544
+ },
88545
+ {
88546
+ "kind": "field",
88547
+ "name": "_removeActiveMarker",
88548
+ "privacy": "private",
88549
+ "inheritedFrom": {
88550
+ "name": "SbbButtonLikeBaseElement",
88551
+ "module": "core/base-elements/button-base-element.js"
88552
+ }
88553
+ },
88554
+ {
88555
+ "kind": "field",
88556
+ "name": "_dispatchClickEventOnSpaceKeyup",
88557
+ "privacy": "private",
88558
+ "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.",
88559
+ "parameters": [
88560
+ {
88561
+ "description": "The origin event.",
88562
+ "name": "event"
88563
+ }
88564
+ ],
88565
+ "inheritedFrom": {
88566
+ "name": "SbbButtonLikeBaseElement",
88567
+ "module": "core/base-elements/button-base-element.js"
88568
+ }
88569
+ },
88570
+ {
88571
+ "kind": "field",
88572
+ "name": "_dispatchClickEvent",
88573
+ "privacy": "private",
88574
+ "inheritedFrom": {
88575
+ "name": "SbbButtonLikeBaseElement",
88576
+ "module": "core/base-elements/button-base-element.js"
88549
88577
  }
88550
88578
  },
88551
88579
  {
@@ -88620,7 +88648,7 @@
88620
88648
  ],
88621
88649
  "mixins": [
88622
88650
  {
88623
- "name": "SbbDisabledInteractiveMixin",
88651
+ "name": "SbbDisabledTabIndexActionMixin",
88624
88652
  "module": "core/mixins.js"
88625
88653
  },
88626
88654
  {
@@ -88629,10 +88657,10 @@
88629
88657
  }
88630
88658
  ],
88631
88659
  "superclass": {
88632
- "name": "SbbLinkBaseElement",
88660
+ "name": "SbbButtonBaseElement",
88633
88661
  "module": "core/base-elements.js"
88634
88662
  },
88635
- "tagName": "sbb-menu-link",
88663
+ "tagName": "sbb-menu-button",
88636
88664
  "customElement": true,
88637
88665
  "attributes": [
88638
88666
  {
@@ -88648,19 +88676,6 @@
88648
88676
  "module": "core/mixins/disabled-mixin.js"
88649
88677
  }
88650
88678
  },
88651
- {
88652
- "name": "icon-name",
88653
- "type": {
88654
- "text": "string"
88655
- },
88656
- "default": "''",
88657
- "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.",
88658
- "fieldName": "iconName",
88659
- "inheritedFrom": {
88660
- "name": "SbbIconNameMixin",
88661
- "module": "icon/icon-name-mixin.js"
88662
- }
88663
- },
88664
88679
  {
88665
88680
  "name": "disabled",
88666
88681
  "description": "Whether the component is disabled.",
@@ -88675,81 +88690,66 @@
88675
88690
  }
88676
88691
  },
88677
88692
  {
88678
- "name": "href",
88693
+ "name": "icon-name",
88679
88694
  "type": {
88680
88695
  "text": "string"
88681
88696
  },
88682
88697
  "default": "''",
88683
- "description": "The href value you want to link to.",
88684
- "fieldName": "href",
88685
- "inheritedFrom": {
88686
- "name": "SbbLinkBaseElement",
88687
- "module": "core/base-elements/link-base-element.js"
88688
- }
88689
- },
88690
- {
88691
- "name": "target",
88692
- "type": {
88693
- "text": "LinkTargetType | string"
88694
- },
88695
- "default": "''",
88696
- "description": "Where to display the linked URL.",
88697
- "fieldName": "target",
88698
+ "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.",
88699
+ "fieldName": "iconName",
88698
88700
  "inheritedFrom": {
88699
- "name": "SbbLinkBaseElement",
88700
- "module": "core/base-elements/link-base-element.js"
88701
+ "name": "SbbIconNameMixin",
88702
+ "module": "icon/icon-name-mixin.js"
88701
88703
  }
88702
88704
  },
88703
88705
  {
88704
- "name": "rel",
88706
+ "name": "value",
88705
88707
  "type": {
88706
88708
  "text": "string"
88707
88709
  },
88708
88710
  "default": "''",
88709
- "description": "The relationship of the linked URL as space-separated link types.",
88710
- "fieldName": "rel",
88711
+ "description": "Value of the form element.",
88712
+ "fieldName": "value",
88711
88713
  "inheritedFrom": {
88712
- "name": "SbbLinkBaseElement",
88713
- "module": "core/base-elements/link-base-element.js"
88714
+ "name": "SbbButtonBaseElement",
88715
+ "module": "core/base-elements/button-base-element.js"
88714
88716
  }
88715
88717
  },
88716
88718
  {
88717
- "name": "download",
88719
+ "name": "type",
88720
+ "description": "The type attribute to use for the button.",
88721
+ "default": "'button'",
88718
88722
  "type": {
88719
- "text": "boolean"
88723
+ "text": "SbbButtonType"
88720
88724
  },
88721
- "default": "false",
88722
- "description": "Whether the browser will show the download dialog on click.",
88723
- "fieldName": "download",
88725
+ "fieldName": "type",
88724
88726
  "inheritedFrom": {
88725
- "name": "SbbLinkBaseElement",
88726
- "module": "core/base-elements/link-base-element.js"
88727
+ "name": "SbbButtonBaseElement",
88728
+ "module": "core/base-elements/button-base-element.js"
88727
88729
  }
88728
88730
  },
88729
88731
  {
88730
- "name": "accessibility-label",
88732
+ "name": "form",
88733
+ "description": "The `<form>` element to associate the button with.",
88731
88734
  "type": {
88732
- "text": "string"
88735
+ "text": "HTMLFormElement | null"
88733
88736
  },
88734
- "default": "''",
88735
- "description": "This will be forwarded as aria-label to the inner anchor element.",
88736
- "fieldName": "accessibilityLabel",
88737
+ "fieldName": "form",
88737
88738
  "inheritedFrom": {
88738
- "name": "SbbLinkBaseElement",
88739
- "module": "core/base-elements/link-base-element.js"
88739
+ "name": "SbbButtonBaseElement",
88740
+ "module": "core/base-elements/button-base-element.js"
88740
88741
  }
88741
88742
  },
88742
88743
  {
88743
- "name": "accessibility-current",
88744
+ "name": "name",
88745
+ "description": "Name of the form element. Will be read from name attribute.",
88744
88746
  "type": {
88745
88747
  "text": "string"
88746
88748
  },
88747
- "default": "''",
88748
- "description": "This will be forwarded as aria-current to the inner anchor element.",
88749
- "fieldName": "accessibilityCurrent",
88749
+ "fieldName": "name",
88750
88750
  "inheritedFrom": {
88751
- "name": "SbbLinkBaseElement",
88752
- "module": "core/base-elements/link-base-element.js"
88751
+ "name": "SbbFormAssociatedMixin",
88752
+ "module": "core/mixins/form-associated-mixin.js"
88753
88753
  }
88754
88754
  }
88755
88755
  ]
@@ -88758,18 +88758,18 @@
88758
88758
  "exports": [
88759
88759
  {
88760
88760
  "kind": "js",
88761
- "name": "SbbMenuLinkElement",
88761
+ "name": "SbbMenuButtonElement",
88762
88762
  "declaration": {
88763
- "name": "SbbMenuLinkElement",
88764
- "module": "menu/menu-link/menu-link.component.js"
88763
+ "name": "SbbMenuButtonElement",
88764
+ "module": "menu/menu-button/menu-button.component.js"
88765
88765
  }
88766
88766
  },
88767
88767
  {
88768
88768
  "kind": "custom-element-definition",
88769
- "name": "sbb-menu-link",
88769
+ "name": "sbb-menu-button",
88770
88770
  "declaration": {
88771
- "name": "SbbMenuLinkElement",
88772
- "module": "menu/menu-link/menu-link.component.js"
88771
+ "name": "SbbMenuButtonElement",
88772
+ "module": "menu/menu-button/menu-button.component.js"
88773
88773
  }
88774
88774
  }
88775
88775
  ]