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

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,228 +49946,6 @@
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
- },
50171
49949
  {
50172
49950
  "kind": "javascript-module",
50173
49951
  "path": "core/datetime/date-adapter.js",
@@ -52454,6 +52232,228 @@
52454
52232
  }
52455
52233
  ]
52456
52234
  },
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-link/menu-link.component.js",
87367
+ "path": "menu/menu-button/menu-button.component.js",
87368
87368
  "declarations": [
87369
87369
  {
87370
87370
  "kind": "class",
87371
- "description": "It displays a link element that can be used in the `sbb-menu` component.",
87372
- "name": "SbbMenuLinkElement",
87371
+ "description": "It displays a button element that can be used in the `sbb-menu` component.",
87372
+ "name": "SbbMenuButtonElement",
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-link`.",
87382
+ "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
87383
87383
  "name": ""
87384
87384
  },
87385
87385
  {
@@ -87390,16 +87390,17 @@
87390
87390
  "members": [
87391
87391
  {
87392
87392
  "kind": "field",
87393
- "name": "anchorRole",
87393
+ "name": "role",
87394
87394
  "type": {
87395
- "text": "string"
87395
+ "text": "ElementInternals['role']"
87396
87396
  },
87397
- "privacy": "protected",
87397
+ "privacy": "public",
87398
+ "static": true,
87398
87399
  "readonly": true,
87399
87400
  "default": "'menuitem'",
87400
87401
  "inheritedFrom": {
87401
- "name": "SbbLinkBaseElement",
87402
- "module": "core/base-elements/link-base-element.js"
87402
+ "name": "SbbButtonLikeBaseElement",
87403
+ "module": "core/base-elements/button-base-element.js"
87403
87404
  }
87404
87405
  },
87405
87406
  {
@@ -87418,6 +87419,50 @@
87418
87419
  "module": "core/mixins/disabled-mixin.js"
87419
87420
  }
87420
87421
  },
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
+ },
87421
87466
  {
87422
87467
  "kind": "field",
87423
87468
  "name": "styles",
@@ -87515,181 +87560,464 @@
87515
87560
  },
87516
87561
  {
87517
87562
  "kind": "field",
87518
- "name": "disabled",
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
+ },
87519
87581
  "privacy": "public",
87520
- "description": "Whether the component is disabled.",
87521
- "default": "false",
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",
87593
+ "privacy": "public",
87594
+ "description": "The type attribute to use for the button.",
87595
+ "default": "'button'",
87522
87596
  "type": {
87523
- "text": "boolean"
87597
+ "text": "SbbButtonType"
87524
87598
  },
87525
- "attribute": "disabled",
87526
- "reflects": true,
87599
+ "attribute": "type",
87527
87600
  "inheritedFrom": {
87528
- "name": "SbbDisabledMixin",
87529
- "module": "core/mixins/disabled-mixin.js"
87601
+ "name": "SbbButtonBaseElement",
87602
+ "module": "core/base-elements/button-base-element.js"
87530
87603
  }
87531
87604
  },
87532
87605
  {
87533
87606
  "kind": "field",
87534
- "name": "#disabled",
87535
- "privacy": "private",
87607
+ "name": "form",
87536
87608
  "type": {
87537
- "text": "boolean"
87609
+ "text": "HTMLFormElement | null"
87538
87610
  },
87539
- "default": "false",
87611
+ "privacy": "public",
87612
+ "description": "The `<form>` element to associate the button with.",
87540
87613
  "inheritedFrom": {
87541
- "name": "SbbDisabledMixin",
87542
- "module": "core/mixins/disabled-mixin.js"
87614
+ "name": "SbbButtonBaseElement",
87615
+ "module": "core/base-elements/button-base-element.js"
87616
+ },
87617
+ "attribute": "form"
87618
+ },
87619
+ {
87620
+ "kind": "field",
87621
+ "name": "_formId",
87622
+ "type": {
87623
+ "text": "string"
87624
+ },
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",
87636
+ "inheritedFrom": {
87637
+ "name": "SbbButtonBaseElement",
87638
+ "module": "core/base-elements/button-base-element.js"
87543
87639
  }
87544
87640
  },
87545
87641
  {
87546
87642
  "kind": "method",
87547
- "name": "isDisabledExternally",
87548
- "privacy": "protected",
87643
+ "name": "_requestSubmit",
87644
+ "privacy": "private",
87549
87645
  "return": {
87550
87646
  "type": {
87551
- "text": "boolean"
87647
+ "text": "void"
87552
87648
  }
87553
87649
  },
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.",
87650
+ "parameters": [
87651
+ {
87652
+ "name": "form",
87653
+ "type": {
87654
+ "text": "HTMLFormElement"
87655
+ }
87656
+ }
87657
+ ],
87555
87658
  "inheritedFrom": {
87556
- "name": "SbbDisabledMixin",
87557
- "module": "core/mixins/disabled-mixin.js"
87659
+ "name": "SbbButtonBaseElement",
87660
+ "module": "core/base-elements/button-base-element.js"
87558
87661
  }
87559
87662
  },
87560
87663
  {
87561
87664
  "kind": "field",
87562
- "name": "href",
87563
- "type": {
87564
- "text": "string"
87565
- },
87566
- "privacy": "public",
87567
- "default": "''",
87568
- "description": "The href value you want to link to.",
87569
- "attribute": "href",
87570
- "reflects": true,
87665
+ "name": "_formKeyDown",
87666
+ "privacy": "private",
87571
87667
  "inheritedFrom": {
87572
- "name": "SbbLinkBaseElement",
87573
- "module": "core/base-elements/link-base-element.js"
87668
+ "name": "SbbButtonBaseElement",
87669
+ "module": "core/base-elements/button-base-element.js"
87574
87670
  }
87575
87671
  },
87576
87672
  {
87577
87673
  "kind": "field",
87578
- "name": "target",
87674
+ "name": "formAssociated",
87579
87675
  "type": {
87580
- "text": "LinkTargetType | string"
87676
+ "text": "boolean"
87581
87677
  },
87582
87678
  "privacy": "public",
87583
- "default": "''",
87584
- "description": "Where to display the linked URL.",
87585
- "attribute": "target",
87586
- "reflects": true,
87679
+ "static": true,
87680
+ "default": "true",
87587
87681
  "inheritedFrom": {
87588
- "name": "SbbLinkBaseElement",
87589
- "module": "core/base-elements/link-base-element.js"
87682
+ "name": "SbbFormAssociatedMixin",
87683
+ "module": "core/mixins/form-associated-mixin.js"
87590
87684
  }
87591
87685
  },
87592
87686
  {
87593
87687
  "kind": "field",
87594
- "name": "rel",
87688
+ "name": "name",
87689
+ "privacy": "public",
87690
+ "description": "Name of the form element. Will be read from name attribute.",
87595
87691
  "type": {
87596
87692
  "text": "string"
87597
87693
  },
87598
- "privacy": "public",
87599
- "default": "''",
87600
- "description": "The relationship of the linked URL as space-separated link types.",
87601
- "attribute": "rel",
87602
- "reflects": true,
87694
+ "attribute": "name",
87603
87695
  "inheritedFrom": {
87604
- "name": "SbbLinkBaseElement",
87605
- "module": "core/base-elements/link-base-element.js"
87696
+ "name": "SbbFormAssociatedMixin",
87697
+ "module": "core/mixins/form-associated-mixin.js"
87606
87698
  }
87607
87699
  },
87608
87700
  {
87609
87701
  "kind": "field",
87610
- "name": "download",
87702
+ "name": "validity",
87611
87703
  "type": {
87612
- "text": "boolean"
87704
+ "text": "ValidityState"
87613
87705
  },
87614
87706
  "privacy": "public",
87615
- "default": "false",
87616
- "description": "Whether the browser will show the download dialog on click.",
87617
- "attribute": "download",
87618
- "reflects": true,
87707
+ "description": "Returns the ValidityState object for this element.",
87708
+ "readonly": true,
87619
87709
  "inheritedFrom": {
87620
- "name": "SbbLinkBaseElement",
87621
- "module": "core/base-elements/link-base-element.js"
87710
+ "name": "SbbFormAssociatedMixin",
87711
+ "module": "core/mixins/form-associated-mixin.js"
87622
87712
  }
87623
87713
  },
87624
87714
  {
87625
87715
  "kind": "field",
87626
- "name": "accessibilityLabel",
87716
+ "name": "validationMessage",
87627
87717
  "type": {
87628
87718
  "text": "string"
87629
87719
  },
87630
87720
  "privacy": "public",
87631
- "default": "''",
87632
- "description": "This will be forwarded as aria-label to the inner anchor element.",
87633
- "attribute": "accessibility-label",
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,
87634
87723
  "inheritedFrom": {
87635
- "name": "SbbLinkBaseElement",
87636
- "module": "core/base-elements/link-base-element.js"
87724
+ "name": "SbbFormAssociatedMixin",
87725
+ "module": "core/mixins/form-associated-mixin.js"
87637
87726
  }
87638
87727
  },
87639
87728
  {
87640
87729
  "kind": "field",
87641
- "name": "accessibilityCurrent",
87730
+ "name": "willValidate",
87642
87731
  "type": {
87643
- "text": "string"
87732
+ "text": "boolean"
87644
87733
  },
87645
87734
  "privacy": "public",
87646
- "default": "''",
87647
- "description": "This will be forwarded as aria-current to the inner anchor element.",
87648
- "attribute": "accessibility-current",
87735
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
87736
+ "readonly": true,
87649
87737
  "inheritedFrom": {
87650
- "name": "SbbLinkBaseElement",
87651
- "module": "core/base-elements/link-base-element.js"
87738
+ "name": "SbbFormAssociatedMixin",
87739
+ "module": "core/mixins/form-associated-mixin.js"
87652
87740
  }
87653
87741
  },
87654
87742
  {
87655
87743
  "kind": "field",
87656
- "name": "language",
87657
- "privacy": "protected",
87658
- "default": "new SbbLanguageController(this)",
87744
+ "name": "_validityStates",
87745
+ "privacy": "private",
87746
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
87659
87747
  "inheritedFrom": {
87660
- "name": "SbbLinkBaseElement",
87661
- "module": "core/base-elements/link-base-element.js"
87748
+ "name": "SbbFormAssociatedMixin",
87749
+ "module": "core/mixins/form-associated-mixin.js"
87662
87750
  }
87663
87751
  },
87664
87752
  {
87665
87753
  "kind": "field",
87666
- "name": "_evaluateRelAttribute",
87754
+ "name": "formDisabled",
87755
+ "type": {
87756
+ "text": "boolean"
87757
+ },
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
+ "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.",
87776
+ "inheritedFrom": {
87777
+ "name": "SbbFormAssociatedMixin",
87778
+ "module": "core/mixins/form-associated-mixin.js"
87779
+ }
87780
+ },
87781
+ {
87782
+ "kind": "method",
87783
+ "name": "reportValidity",
87784
+ "privacy": "public",
87785
+ "return": {
87786
+ "type": {
87787
+ "text": "boolean"
87788
+ }
87789
+ },
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
+ "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",
87667
87822
  "privacy": "private",
87823
+ "return": {
87824
+ "type": {
87825
+ "text": "boolean"
87826
+ }
87827
+ },
87668
87828
  "inheritedFrom": {
87669
- "name": "SbbLinkBaseElement",
87670
- "module": "core/base-elements/link-base-element.js"
87829
+ "name": "SbbFormAssociatedMixin",
87830
+ "module": "core/mixins/form-associated-mixin.js"
87671
87831
  }
87672
87832
  },
87673
87833
  {
87674
87834
  "kind": "method",
87675
- "name": "renderLink",
87835
+ "name": "updateFormValue",
87676
87836
  "privacy": "protected",
87677
87837
  "return": {
87678
87838
  "type": {
87679
- "text": "TemplateResult"
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"
87680
87869
  }
87681
87870
  },
87682
87871
  "parameters": [
87683
87872
  {
87684
- "name": "renderContent",
87873
+ "name": "flag",
87685
87874
  "type": {
87686
- "text": "TemplateResult"
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]"
87687
87889
  }
87688
87890
  }
87689
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).",
87690
87893
  "inheritedFrom": {
87691
- "name": "SbbLinkBaseElement",
87692
- "module": "core/base-elements/link-base-element.js"
87894
+ "name": "SbbFormAssociatedMixin",
87895
+ "module": "core/mixins/form-associated-mixin.js"
87896
+ }
87897
+ },
87898
+ {
87899
+ "kind": "method",
87900
+ "name": "removeValidityFlag",
87901
+ "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.",
87916
+ "inheritedFrom": {
87917
+ "name": "SbbFormAssociatedMixin",
87918
+ "module": "core/mixins/form-associated-mixin.js"
87919
+ }
87920
+ },
87921
+ {
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.",
87931
+ "inheritedFrom": {
87932
+ "name": "SbbFormAssociatedMixin",
87933
+ "module": "core/mixins/form-associated-mixin.js"
87934
+ }
87935
+ },
87936
+ {
87937
+ "kind": "method",
87938
+ "name": "shouldValidate",
87939
+ "privacy": "protected",
87940
+ "return": {
87941
+ "type": {
87942
+ "text": "boolean"
87943
+ }
87944
+ },
87945
+ "parameters": [
87946
+ {
87947
+ "name": "name",
87948
+ "type": {
87949
+ "text": "PropertyKey | undefined"
87950
+ }
87951
+ }
87952
+ ],
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
+ "inheritedFrom": {
88019
+ "name": "SbbButtonLikeBaseElement",
88020
+ "module": "core/base-elements/button-base-element.js"
87693
88021
  }
87694
88022
  },
87695
88023
  {
@@ -87764,7 +88092,7 @@
87764
88092
  ],
87765
88093
  "mixins": [
87766
88094
  {
87767
- "name": "SbbDisabledInteractiveMixin",
88095
+ "name": "SbbDisabledTabIndexActionMixin",
87768
88096
  "module": "core/mixins.js"
87769
88097
  },
87770
88098
  {
@@ -87773,10 +88101,10 @@
87773
88101
  }
87774
88102
  ],
87775
88103
  "superclass": {
87776
- "name": "SbbLinkBaseElement",
88104
+ "name": "SbbButtonBaseElement",
87777
88105
  "module": "core/base-elements.js"
87778
88106
  },
87779
- "tagName": "sbb-menu-link",
88107
+ "tagName": "sbb-menu-button",
87780
88108
  "customElement": true,
87781
88109
  "attributes": [
87782
88110
  {
@@ -87792,19 +88120,6 @@
87792
88120
  "module": "core/mixins/disabled-mixin.js"
87793
88121
  }
87794
88122
  },
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
- },
87808
88123
  {
87809
88124
  "name": "disabled",
87810
88125
  "description": "Whether the component is disabled.",
@@ -87819,81 +88134,66 @@
87819
88134
  }
87820
88135
  },
87821
88136
  {
87822
- "name": "href",
88137
+ "name": "icon-name",
87823
88138
  "type": {
87824
88139
  "text": "string"
87825
88140
  },
87826
88141
  "default": "''",
87827
- "description": "The href value you want to link to.",
87828
- "fieldName": "href",
87829
- "inheritedFrom": {
87830
- "name": "SbbLinkBaseElement",
87831
- "module": "core/base-elements/link-base-element.js"
87832
- }
87833
- },
87834
- {
87835
- "name": "target",
87836
- "type": {
87837
- "text": "LinkTargetType | string"
87838
- },
87839
- "default": "''",
87840
- "description": "Where to display the linked URL.",
87841
- "fieldName": "target",
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",
87842
88144
  "inheritedFrom": {
87843
- "name": "SbbLinkBaseElement",
87844
- "module": "core/base-elements/link-base-element.js"
88145
+ "name": "SbbIconNameMixin",
88146
+ "module": "icon/icon-name-mixin.js"
87845
88147
  }
87846
88148
  },
87847
88149
  {
87848
- "name": "rel",
88150
+ "name": "value",
87849
88151
  "type": {
87850
88152
  "text": "string"
87851
88153
  },
87852
88154
  "default": "''",
87853
- "description": "The relationship of the linked URL as space-separated link types.",
87854
- "fieldName": "rel",
88155
+ "description": "Value of the form element.",
88156
+ "fieldName": "value",
87855
88157
  "inheritedFrom": {
87856
- "name": "SbbLinkBaseElement",
87857
- "module": "core/base-elements/link-base-element.js"
88158
+ "name": "SbbButtonBaseElement",
88159
+ "module": "core/base-elements/button-base-element.js"
87858
88160
  }
87859
88161
  },
87860
88162
  {
87861
- "name": "download",
88163
+ "name": "type",
88164
+ "description": "The type attribute to use for the button.",
88165
+ "default": "'button'",
87862
88166
  "type": {
87863
- "text": "boolean"
88167
+ "text": "SbbButtonType"
87864
88168
  },
87865
- "default": "false",
87866
- "description": "Whether the browser will show the download dialog on click.",
87867
- "fieldName": "download",
88169
+ "fieldName": "type",
87868
88170
  "inheritedFrom": {
87869
- "name": "SbbLinkBaseElement",
87870
- "module": "core/base-elements/link-base-element.js"
88171
+ "name": "SbbButtonBaseElement",
88172
+ "module": "core/base-elements/button-base-element.js"
87871
88173
  }
87872
88174
  },
87873
88175
  {
87874
- "name": "accessibility-label",
88176
+ "name": "form",
88177
+ "description": "The `<form>` element to associate the button with.",
87875
88178
  "type": {
87876
- "text": "string"
88179
+ "text": "HTMLFormElement | null"
87877
88180
  },
87878
- "default": "''",
87879
- "description": "This will be forwarded as aria-label to the inner anchor element.",
87880
- "fieldName": "accessibilityLabel",
88181
+ "fieldName": "form",
87881
88182
  "inheritedFrom": {
87882
- "name": "SbbLinkBaseElement",
87883
- "module": "core/base-elements/link-base-element.js"
88183
+ "name": "SbbButtonBaseElement",
88184
+ "module": "core/base-elements/button-base-element.js"
87884
88185
  }
87885
88186
  },
87886
88187
  {
87887
- "name": "accessibility-current",
88188
+ "name": "name",
88189
+ "description": "Name of the form element. Will be read from name attribute.",
87888
88190
  "type": {
87889
88191
  "text": "string"
87890
88192
  },
87891
- "default": "''",
87892
- "description": "This will be forwarded as aria-current to the inner anchor element.",
87893
- "fieldName": "accessibilityCurrent",
88193
+ "fieldName": "name",
87894
88194
  "inheritedFrom": {
87895
- "name": "SbbLinkBaseElement",
87896
- "module": "core/base-elements/link-base-element.js"
88195
+ "name": "SbbFormAssociatedMixin",
88196
+ "module": "core/mixins/form-associated-mixin.js"
87897
88197
  }
87898
88198
  }
87899
88199
  ]
@@ -87902,30 +88202,30 @@
87902
88202
  "exports": [
87903
88203
  {
87904
88204
  "kind": "js",
87905
- "name": "SbbMenuLinkElement",
88205
+ "name": "SbbMenuButtonElement",
87906
88206
  "declaration": {
87907
- "name": "SbbMenuLinkElement",
87908
- "module": "menu/menu-link/menu-link.component.js"
88207
+ "name": "SbbMenuButtonElement",
88208
+ "module": "menu/menu-button/menu-button.component.js"
87909
88209
  }
87910
88210
  },
87911
88211
  {
87912
88212
  "kind": "custom-element-definition",
87913
- "name": "sbb-menu-link",
88213
+ "name": "sbb-menu-button",
87914
88214
  "declaration": {
87915
- "name": "SbbMenuLinkElement",
87916
- "module": "menu/menu-link/menu-link.component.js"
88215
+ "name": "SbbMenuButtonElement",
88216
+ "module": "menu/menu-button/menu-button.component.js"
87917
88217
  }
87918
88218
  }
87919
88219
  ]
87920
88220
  },
87921
88221
  {
87922
88222
  "kind": "javascript-module",
87923
- "path": "menu/menu-button/menu-button.component.js",
88223
+ "path": "menu/menu-link/menu-link.component.js",
87924
88224
  "declarations": [
87925
88225
  {
87926
88226
  "kind": "class",
87927
- "description": "It displays a button element that can be used in the `sbb-menu` component.",
87928
- "name": "SbbMenuButtonElement",
88227
+ "description": "It displays a link element that can be used in the `sbb-menu` component.",
88228
+ "name": "SbbMenuLinkElement",
87929
88229
  "cssProperties": [
87930
88230
  {
87931
88231
  "description": "Can be used to modify horizontal padding.",
@@ -87935,7 +88235,7 @@
87935
88235
  ],
87936
88236
  "slots": [
87937
88237
  {
87938
- "description": "Use the unnamed slot to add content to the `sbb-menu-button`.",
88238
+ "description": "Use the unnamed slot to add content to the `sbb-menu-link`.",
87939
88239
  "name": ""
87940
88240
  },
87941
88241
  {
@@ -87946,17 +88246,16 @@
87946
88246
  "members": [
87947
88247
  {
87948
88248
  "kind": "field",
87949
- "name": "role",
88249
+ "name": "anchorRole",
87950
88250
  "type": {
87951
- "text": "ElementInternals['role']"
88251
+ "text": "string"
87952
88252
  },
87953
- "privacy": "public",
87954
- "static": true,
88253
+ "privacy": "protected",
87955
88254
  "readonly": true,
87956
88255
  "default": "'menuitem'",
87957
88256
  "inheritedFrom": {
87958
- "name": "SbbButtonLikeBaseElement",
87959
- "module": "core/base-elements/button-base-element.js"
88257
+ "name": "SbbLinkBaseElement",
88258
+ "module": "core/base-elements/link-base-element.js"
87960
88259
  }
87961
88260
  },
87962
88261
  {
@@ -87975,50 +88274,6 @@
87975
88274
  "module": "core/mixins/disabled-mixin.js"
87976
88275
  }
87977
88276
  },
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
- },
88022
88277
  {
88023
88278
  "kind": "field",
88024
88279
  "name": "styles",
@@ -88116,464 +88371,181 @@
88116
88371
  },
88117
88372
  {
88118
88373
  "kind": "field",
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
- },
88137
- "privacy": "public",
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",
88374
+ "name": "disabled",
88149
88375
  "privacy": "public",
88150
- "description": "The type attribute to use for the button.",
88151
- "default": "'button'",
88376
+ "description": "Whether the component is disabled.",
88377
+ "default": "false",
88152
88378
  "type": {
88153
- "text": "SbbButtonType"
88379
+ "text": "boolean"
88154
88380
  },
88155
- "attribute": "type",
88381
+ "attribute": "disabled",
88382
+ "reflects": true,
88156
88383
  "inheritedFrom": {
88157
- "name": "SbbButtonBaseElement",
88158
- "module": "core/base-elements/button-base-element.js"
88384
+ "name": "SbbDisabledMixin",
88385
+ "module": "core/mixins/disabled-mixin.js"
88159
88386
  }
88160
88387
  },
88161
88388
  {
88162
88389
  "kind": "field",
88163
- "name": "form",
88164
- "type": {
88165
- "text": "HTMLFormElement | null"
88166
- },
88167
- "privacy": "public",
88168
- "description": "The `<form>` element to associate the button with.",
88169
- "inheritedFrom": {
88170
- "name": "SbbButtonBaseElement",
88171
- "module": "core/base-elements/button-base-element.js"
88172
- },
88173
- "attribute": "form"
88174
- },
88175
- {
88176
- "kind": "field",
88177
- "name": "_formId",
88390
+ "name": "#disabled",
88391
+ "privacy": "private",
88178
88392
  "type": {
88179
- "text": "string"
88393
+ "text": "boolean"
88180
88394
  },
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",
88395
+ "default": "false",
88192
88396
  "inheritedFrom": {
88193
- "name": "SbbButtonBaseElement",
88194
- "module": "core/base-elements/button-base-element.js"
88397
+ "name": "SbbDisabledMixin",
88398
+ "module": "core/mixins/disabled-mixin.js"
88195
88399
  }
88196
88400
  },
88197
88401
  {
88198
88402
  "kind": "method",
88199
- "name": "_requestSubmit",
88200
- "privacy": "private",
88403
+ "name": "isDisabledExternally",
88404
+ "privacy": "protected",
88201
88405
  "return": {
88202
88406
  "type": {
88203
- "text": "void"
88204
- }
88205
- },
88206
- "parameters": [
88207
- {
88208
- "name": "form",
88209
- "type": {
88210
- "text": "HTMLFormElement"
88211
- }
88407
+ "text": "boolean"
88212
88408
  }
88213
- ],
88214
- "inheritedFrom": {
88215
- "name": "SbbButtonBaseElement",
88216
- "module": "core/base-elements/button-base-element.js"
88217
- }
88218
- },
88219
- {
88220
- "kind": "field",
88221
- "name": "_formKeyDown",
88222
- "privacy": "private",
88223
- "inheritedFrom": {
88224
- "name": "SbbButtonBaseElement",
88225
- "module": "core/base-elements/button-base-element.js"
88226
- }
88227
- },
88228
- {
88229
- "kind": "field",
88230
- "name": "formAssociated",
88231
- "type": {
88232
- "text": "boolean"
88233
88409
  },
88234
- "privacy": "public",
88235
- "static": true,
88236
- "default": "true",
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.",
88237
88411
  "inheritedFrom": {
88238
- "name": "SbbFormAssociatedMixin",
88239
- "module": "core/mixins/form-associated-mixin.js"
88412
+ "name": "SbbDisabledMixin",
88413
+ "module": "core/mixins/disabled-mixin.js"
88240
88414
  }
88241
88415
  },
88242
88416
  {
88243
88417
  "kind": "field",
88244
- "name": "name",
88245
- "privacy": "public",
88246
- "description": "Name of the form element. Will be read from name attribute.",
88418
+ "name": "href",
88247
88419
  "type": {
88248
88420
  "text": "string"
88249
88421
  },
88250
- "attribute": "name",
88422
+ "privacy": "public",
88423
+ "default": "''",
88424
+ "description": "The href value you want to link to.",
88425
+ "attribute": "href",
88426
+ "reflects": true,
88251
88427
  "inheritedFrom": {
88252
- "name": "SbbFormAssociatedMixin",
88253
- "module": "core/mixins/form-associated-mixin.js"
88428
+ "name": "SbbLinkBaseElement",
88429
+ "module": "core/base-elements/link-base-element.js"
88254
88430
  }
88255
88431
  },
88256
88432
  {
88257
88433
  "kind": "field",
88258
- "name": "validity",
88434
+ "name": "target",
88259
88435
  "type": {
88260
- "text": "ValidityState"
88436
+ "text": "LinkTargetType | string"
88261
88437
  },
88262
88438
  "privacy": "public",
88263
- "description": "Returns the ValidityState object for this element.",
88264
- "readonly": true,
88439
+ "default": "''",
88440
+ "description": "Where to display the linked URL.",
88441
+ "attribute": "target",
88442
+ "reflects": true,
88265
88443
  "inheritedFrom": {
88266
- "name": "SbbFormAssociatedMixin",
88267
- "module": "core/mixins/form-associated-mixin.js"
88444
+ "name": "SbbLinkBaseElement",
88445
+ "module": "core/base-elements/link-base-element.js"
88268
88446
  }
88269
88447
  },
88270
88448
  {
88271
88449
  "kind": "field",
88272
- "name": "validationMessage",
88450
+ "name": "rel",
88273
88451
  "type": {
88274
88452
  "text": "string"
88275
88453
  },
88276
88454
  "privacy": "public",
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,
88455
+ "default": "''",
88456
+ "description": "The relationship of the linked URL as space-separated link types.",
88457
+ "attribute": "rel",
88458
+ "reflects": true,
88279
88459
  "inheritedFrom": {
88280
- "name": "SbbFormAssociatedMixin",
88281
- "module": "core/mixins/form-associated-mixin.js"
88460
+ "name": "SbbLinkBaseElement",
88461
+ "module": "core/base-elements/link-base-element.js"
88282
88462
  }
88283
88463
  },
88284
88464
  {
88285
88465
  "kind": "field",
88286
- "name": "willValidate",
88466
+ "name": "download",
88287
88467
  "type": {
88288
88468
  "text": "boolean"
88289
88469
  },
88290
88470
  "privacy": "public",
88291
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
88292
- "readonly": true,
88293
- "inheritedFrom": {
88294
- "name": "SbbFormAssociatedMixin",
88295
- "module": "core/mixins/form-associated-mixin.js"
88296
- }
88297
- },
88298
- {
88299
- "kind": "field",
88300
- "name": "_validityStates",
88301
- "privacy": "private",
88302
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
88471
+ "default": "false",
88472
+ "description": "Whether the browser will show the download dialog on click.",
88473
+ "attribute": "download",
88474
+ "reflects": true,
88303
88475
  "inheritedFrom": {
88304
- "name": "SbbFormAssociatedMixin",
88305
- "module": "core/mixins/form-associated-mixin.js"
88476
+ "name": "SbbLinkBaseElement",
88477
+ "module": "core/base-elements/link-base-element.js"
88306
88478
  }
88307
88479
  },
88308
88480
  {
88309
88481
  "kind": "field",
88310
- "name": "formDisabled",
88482
+ "name": "accessibilityLabel",
88311
88483
  "type": {
88312
- "text": "boolean"
88484
+ "text": "string"
88313
88485
  },
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
88486
  "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.",
88487
+ "default": "''",
88488
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
88489
+ "attribute": "accessibility-label",
88332
88490
  "inheritedFrom": {
88333
- "name": "SbbFormAssociatedMixin",
88334
- "module": "core/mixins/form-associated-mixin.js"
88491
+ "name": "SbbLinkBaseElement",
88492
+ "module": "core/base-elements/link-base-element.js"
88335
88493
  }
88336
88494
  },
88337
88495
  {
88338
- "kind": "method",
88339
- "name": "reportValidity",
88340
- "privacy": "public",
88341
- "return": {
88342
- "type": {
88343
- "text": "boolean"
88344
- }
88496
+ "kind": "field",
88497
+ "name": "accessibilityCurrent",
88498
+ "type": {
88499
+ "text": "string"
88345
88500
  },
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
88501
  "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",
88378
- "privacy": "private",
88379
- "return": {
88380
- "type": {
88381
- "text": "boolean"
88382
- }
88383
- },
88384
- "inheritedFrom": {
88385
- "name": "SbbFormAssociatedMixin",
88386
- "module": "core/mixins/form-associated-mixin.js"
88387
- }
88388
- },
88389
- {
88390
- "kind": "method",
88391
- "name": "updateFormValue",
88392
- "privacy": "protected",
88393
- "return": {
88394
- "type": {
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"
88425
- }
88426
- },
88427
- "parameters": [
88428
- {
88429
- "name": "flag",
88430
- "type": {
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]"
88445
- }
88446
- }
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).",
88502
+ "default": "''",
88503
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
88504
+ "attribute": "accessibility-current",
88449
88505
  "inheritedFrom": {
88450
- "name": "SbbFormAssociatedMixin",
88451
- "module": "core/mixins/form-associated-mixin.js"
88506
+ "name": "SbbLinkBaseElement",
88507
+ "module": "core/base-elements/link-base-element.js"
88452
88508
  }
88453
88509
  },
88454
88510
  {
88455
- "kind": "method",
88456
- "name": "removeValidityFlag",
88511
+ "kind": "field",
88512
+ "name": "language",
88457
88513
  "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.",
88514
+ "default": "new SbbLanguageController(this)",
88472
88515
  "inheritedFrom": {
88473
- "name": "SbbFormAssociatedMixin",
88474
- "module": "core/mixins/form-associated-mixin.js"
88516
+ "name": "SbbLinkBaseElement",
88517
+ "module": "core/base-elements/link-base-element.js"
88475
88518
  }
88476
88519
  },
88477
88520
  {
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.",
88521
+ "kind": "field",
88522
+ "name": "_evaluateRelAttribute",
88523
+ "privacy": "private",
88487
88524
  "inheritedFrom": {
88488
- "name": "SbbFormAssociatedMixin",
88489
- "module": "core/mixins/form-associated-mixin.js"
88525
+ "name": "SbbLinkBaseElement",
88526
+ "module": "core/base-elements/link-base-element.js"
88490
88527
  }
88491
88528
  },
88492
88529
  {
88493
88530
  "kind": "method",
88494
- "name": "shouldValidate",
88531
+ "name": "renderLink",
88495
88532
  "privacy": "protected",
88496
88533
  "return": {
88497
88534
  "type": {
88498
- "text": "boolean"
88535
+ "text": "TemplateResult"
88499
88536
  }
88500
88537
  },
88501
88538
  "parameters": [
88502
88539
  {
88503
- "name": "name",
88540
+ "name": "renderContent",
88504
88541
  "type": {
88505
- "text": "PropertyKey | undefined"
88542
+ "text": "TemplateResult"
88506
88543
  }
88507
88544
  }
88508
88545
  ],
88509
- "description": "Whether validation should be run on a property change with the given name.",
88510
88546
  "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"
88547
+ "name": "SbbLinkBaseElement",
88548
+ "module": "core/base-elements/link-base-element.js"
88577
88549
  }
88578
88550
  },
88579
88551
  {
@@ -88648,7 +88620,7 @@
88648
88620
  ],
88649
88621
  "mixins": [
88650
88622
  {
88651
- "name": "SbbDisabledTabIndexActionMixin",
88623
+ "name": "SbbDisabledInteractiveMixin",
88652
88624
  "module": "core/mixins.js"
88653
88625
  },
88654
88626
  {
@@ -88657,10 +88629,10 @@
88657
88629
  }
88658
88630
  ],
88659
88631
  "superclass": {
88660
- "name": "SbbButtonBaseElement",
88632
+ "name": "SbbLinkBaseElement",
88661
88633
  "module": "core/base-elements.js"
88662
88634
  },
88663
- "tagName": "sbb-menu-button",
88635
+ "tagName": "sbb-menu-link",
88664
88636
  "customElement": true,
88665
88637
  "attributes": [
88666
88638
  {
@@ -88676,6 +88648,19 @@
88676
88648
  "module": "core/mixins/disabled-mixin.js"
88677
88649
  }
88678
88650
  },
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
+ },
88679
88664
  {
88680
88665
  "name": "disabled",
88681
88666
  "description": "Whether the component is disabled.",
@@ -88690,66 +88675,81 @@
88690
88675
  }
88691
88676
  },
88692
88677
  {
88693
- "name": "icon-name",
88678
+ "name": "href",
88694
88679
  "type": {
88695
88680
  "text": "string"
88696
88681
  },
88697
88682
  "default": "''",
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",
88683
+ "description": "The href value you want to link to.",
88684
+ "fieldName": "href",
88700
88685
  "inheritedFrom": {
88701
- "name": "SbbIconNameMixin",
88702
- "module": "icon/icon-name-mixin.js"
88686
+ "name": "SbbLinkBaseElement",
88687
+ "module": "core/base-elements/link-base-element.js"
88703
88688
  }
88704
88689
  },
88705
88690
  {
88706
- "name": "value",
88691
+ "name": "target",
88692
+ "type": {
88693
+ "text": "LinkTargetType | string"
88694
+ },
88695
+ "default": "''",
88696
+ "description": "Where to display the linked URL.",
88697
+ "fieldName": "target",
88698
+ "inheritedFrom": {
88699
+ "name": "SbbLinkBaseElement",
88700
+ "module": "core/base-elements/link-base-element.js"
88701
+ }
88702
+ },
88703
+ {
88704
+ "name": "rel",
88707
88705
  "type": {
88708
88706
  "text": "string"
88709
88707
  },
88710
88708
  "default": "''",
88711
- "description": "Value of the form element.",
88712
- "fieldName": "value",
88709
+ "description": "The relationship of the linked URL as space-separated link types.",
88710
+ "fieldName": "rel",
88713
88711
  "inheritedFrom": {
88714
- "name": "SbbButtonBaseElement",
88715
- "module": "core/base-elements/button-base-element.js"
88712
+ "name": "SbbLinkBaseElement",
88713
+ "module": "core/base-elements/link-base-element.js"
88716
88714
  }
88717
88715
  },
88718
88716
  {
88719
- "name": "type",
88720
- "description": "The type attribute to use for the button.",
88721
- "default": "'button'",
88717
+ "name": "download",
88722
88718
  "type": {
88723
- "text": "SbbButtonType"
88719
+ "text": "boolean"
88724
88720
  },
88725
- "fieldName": "type",
88721
+ "default": "false",
88722
+ "description": "Whether the browser will show the download dialog on click.",
88723
+ "fieldName": "download",
88726
88724
  "inheritedFrom": {
88727
- "name": "SbbButtonBaseElement",
88728
- "module": "core/base-elements/button-base-element.js"
88725
+ "name": "SbbLinkBaseElement",
88726
+ "module": "core/base-elements/link-base-element.js"
88729
88727
  }
88730
88728
  },
88731
88729
  {
88732
- "name": "form",
88733
- "description": "The `<form>` element to associate the button with.",
88730
+ "name": "accessibility-label",
88734
88731
  "type": {
88735
- "text": "HTMLFormElement | null"
88732
+ "text": "string"
88736
88733
  },
88737
- "fieldName": "form",
88734
+ "default": "''",
88735
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
88736
+ "fieldName": "accessibilityLabel",
88738
88737
  "inheritedFrom": {
88739
- "name": "SbbButtonBaseElement",
88740
- "module": "core/base-elements/button-base-element.js"
88738
+ "name": "SbbLinkBaseElement",
88739
+ "module": "core/base-elements/link-base-element.js"
88741
88740
  }
88742
88741
  },
88743
88742
  {
88744
- "name": "name",
88745
- "description": "Name of the form element. Will be read from name attribute.",
88743
+ "name": "accessibility-current",
88746
88744
  "type": {
88747
88745
  "text": "string"
88748
88746
  },
88749
- "fieldName": "name",
88747
+ "default": "''",
88748
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
88749
+ "fieldName": "accessibilityCurrent",
88750
88750
  "inheritedFrom": {
88751
- "name": "SbbFormAssociatedMixin",
88752
- "module": "core/mixins/form-associated-mixin.js"
88751
+ "name": "SbbLinkBaseElement",
88752
+ "module": "core/base-elements/link-base-element.js"
88753
88753
  }
88754
88754
  }
88755
88755
  ]
@@ -88758,18 +88758,18 @@
88758
88758
  "exports": [
88759
88759
  {
88760
88760
  "kind": "js",
88761
- "name": "SbbMenuButtonElement",
88761
+ "name": "SbbMenuLinkElement",
88762
88762
  "declaration": {
88763
- "name": "SbbMenuButtonElement",
88764
- "module": "menu/menu-button/menu-button.component.js"
88763
+ "name": "SbbMenuLinkElement",
88764
+ "module": "menu/menu-link/menu-link.component.js"
88765
88765
  }
88766
88766
  },
88767
88767
  {
88768
88768
  "kind": "custom-element-definition",
88769
- "name": "sbb-menu-button",
88769
+ "name": "sbb-menu-link",
88770
88770
  "declaration": {
88771
- "name": "SbbMenuButtonElement",
88772
- "module": "menu/menu-button/menu-button.component.js"
88771
+ "name": "SbbMenuLinkElement",
88772
+ "module": "menu/menu-link/menu-link.component.js"
88773
88773
  }
88774
88774
  }
88775
88775
  ]