@sbb-esta/lyne-elements-dev 4.11.0-dev.1776956590 → 4.11.0-dev.1776958539

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.
@@ -31213,6 +31213,238 @@
31213
31213
  }
31214
31214
  ]
31215
31215
  },
31216
+ {
31217
+ "kind": "javascript-module",
31218
+ "path": "timetable-occupancy/timetable-occupancy.component.js",
31219
+ "declarations": [
31220
+ {
31221
+ "kind": "class",
31222
+ "description": "Used in `sbb-timetable-row`, it displays information about wagon occupancy.",
31223
+ "name": "SbbTimetableOccupancyElement",
31224
+ "members": [
31225
+ {
31226
+ "kind": "field",
31227
+ "name": "elementName",
31228
+ "type": {
31229
+ "text": "string"
31230
+ },
31231
+ "privacy": "public",
31232
+ "static": true,
31233
+ "readonly": true,
31234
+ "default": "'sbb-timetable-occupancy'",
31235
+ "inheritedFrom": {
31236
+ "name": "SbbElement",
31237
+ "module": "core/base-elements/element.js"
31238
+ }
31239
+ },
31240
+ {
31241
+ "kind": "field",
31242
+ "name": "firstClassOccupancy",
31243
+ "type": {
31244
+ "text": "SbbOccupancy | null"
31245
+ },
31246
+ "privacy": "public",
31247
+ "default": "null",
31248
+ "description": "Occupancy for first class wagons.",
31249
+ "attribute": "first-class-occupancy"
31250
+ },
31251
+ {
31252
+ "kind": "field",
31253
+ "name": "secondClassOccupancy",
31254
+ "type": {
31255
+ "text": "SbbOccupancy | null"
31256
+ },
31257
+ "privacy": "public",
31258
+ "default": "null",
31259
+ "description": "Occupancy for second class wagons.",
31260
+ "attribute": "second-class-occupancy"
31261
+ },
31262
+ {
31263
+ "kind": "field",
31264
+ "name": "_language",
31265
+ "privacy": "private",
31266
+ "default": "new SbbLanguageController(this)"
31267
+ },
31268
+ {
31269
+ "kind": "field",
31270
+ "name": "negative",
31271
+ "type": {
31272
+ "text": "boolean"
31273
+ },
31274
+ "privacy": "public",
31275
+ "default": "false",
31276
+ "description": "Negative coloring variant flag.",
31277
+ "attribute": "negative",
31278
+ "reflects": true,
31279
+ "inheritedFrom": {
31280
+ "name": "SbbNegativeMixin",
31281
+ "module": "core/mixins/negative-mixin.js"
31282
+ }
31283
+ },
31284
+ {
31285
+ "kind": "field",
31286
+ "name": "_hydrationRequired",
31287
+ "type": {
31288
+ "text": "boolean"
31289
+ },
31290
+ "privacy": "private",
31291
+ "default": "!!this.shadowRoot",
31292
+ "inheritedFrom": {
31293
+ "name": "SbbHydrationMixin",
31294
+ "module": "core/mixins/hydration-mixin.js"
31295
+ }
31296
+ },
31297
+ {
31298
+ "kind": "field",
31299
+ "name": "_hydrationComplete",
31300
+ "privacy": "private",
31301
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
31302
+ "inheritedFrom": {
31303
+ "name": "SbbHydrationMixin",
31304
+ "module": "core/mixins/hydration-mixin.js"
31305
+ }
31306
+ },
31307
+ {
31308
+ "kind": "field",
31309
+ "name": "_resolveHydration",
31310
+ "type": {
31311
+ "text": "(hydrationRequired: boolean) => void"
31312
+ },
31313
+ "privacy": "private",
31314
+ "inheritedFrom": {
31315
+ "name": "SbbHydrationMixin",
31316
+ "module": "core/mixins/hydration-mixin.js"
31317
+ }
31318
+ },
31319
+ {
31320
+ "kind": "field",
31321
+ "name": "hydrationRequired",
31322
+ "type": {
31323
+ "text": "boolean"
31324
+ },
31325
+ "privacy": "protected",
31326
+ "description": "Returns whether hydration is required and not completed.",
31327
+ "readonly": true,
31328
+ "inheritedFrom": {
31329
+ "name": "SbbHydrationMixin",
31330
+ "module": "core/mixins/hydration-mixin.js"
31331
+ },
31332
+ "default": "!!this.shadowRoot"
31333
+ },
31334
+ {
31335
+ "kind": "method",
31336
+ "name": "toggleState",
31337
+ "privacy": "protected",
31338
+ "return": {
31339
+ "type": {
31340
+ "text": "void"
31341
+ }
31342
+ },
31343
+ "parameters": [
31344
+ {
31345
+ "name": "value",
31346
+ "type": {
31347
+ "text": "string"
31348
+ }
31349
+ },
31350
+ {
31351
+ "name": "force",
31352
+ "optional": true,
31353
+ "type": {
31354
+ "text": "boolean"
31355
+ }
31356
+ }
31357
+ ],
31358
+ "inheritedFrom": {
31359
+ "name": "SbbElementInternalsMixin",
31360
+ "module": "core/mixins/element-internals-mixin.js"
31361
+ }
31362
+ },
31363
+ {
31364
+ "kind": "field",
31365
+ "name": "['_$sbbElement$']",
31366
+ "type": {
31367
+ "text": "boolean"
31368
+ },
31369
+ "privacy": "public",
31370
+ "static": true,
31371
+ "default": "true",
31372
+ "inheritedFrom": {
31373
+ "name": "SbbElement",
31374
+ "module": "core/base-elements/element.js"
31375
+ }
31376
+ },
31377
+ {
31378
+ "kind": "field",
31379
+ "name": "_controllers",
31380
+ "type": {
31381
+ "text": "Set<SbbReactiveController> | undefined"
31382
+ },
31383
+ "privacy": "private",
31384
+ "inheritedFrom": {
31385
+ "name": "SbbElement",
31386
+ "module": "core/base-elements/element.js"
31387
+ }
31388
+ }
31389
+ ],
31390
+ "attributes": [
31391
+ {
31392
+ "name": "first-class-occupancy",
31393
+ "type": {
31394
+ "text": "SbbOccupancy | null"
31395
+ },
31396
+ "default": "null",
31397
+ "description": "Occupancy for first class wagons.",
31398
+ "fieldName": "firstClassOccupancy"
31399
+ },
31400
+ {
31401
+ "name": "second-class-occupancy",
31402
+ "type": {
31403
+ "text": "SbbOccupancy | null"
31404
+ },
31405
+ "default": "null",
31406
+ "description": "Occupancy for second class wagons.",
31407
+ "fieldName": "secondClassOccupancy"
31408
+ },
31409
+ {
31410
+ "name": "negative",
31411
+ "type": {
31412
+ "text": "boolean"
31413
+ },
31414
+ "default": "false",
31415
+ "description": "Negative coloring variant flag.",
31416
+ "fieldName": "negative",
31417
+ "inheritedFrom": {
31418
+ "name": "SbbNegativeMixin",
31419
+ "module": "core/mixins/negative-mixin.js"
31420
+ }
31421
+ }
31422
+ ],
31423
+ "mixins": [
31424
+ {
31425
+ "name": "SbbNegativeMixin",
31426
+ "module": "core/mixins.js"
31427
+ }
31428
+ ],
31429
+ "superclass": {
31430
+ "name": "SbbElement",
31431
+ "module": "core/base-elements.js"
31432
+ },
31433
+ "tagName": "sbb-timetable-occupancy",
31434
+ "customElement": true
31435
+ }
31436
+ ],
31437
+ "exports": [
31438
+ {
31439
+ "kind": "js",
31440
+ "name": "SbbTimetableOccupancyElement",
31441
+ "declaration": {
31442
+ "name": "SbbTimetableOccupancyElement",
31443
+ "module": "timetable-occupancy/timetable-occupancy.component.js"
31444
+ }
31445
+ }
31446
+ ]
31447
+ },
31216
31448
  {
31217
31449
  "kind": "javascript-module",
31218
31450
  "path": "timetable-occupancy-icon/timetable-occupancy-icon.component.js",
@@ -31626,238 +31858,6 @@
31626
31858
  }
31627
31859
  ]
31628
31860
  },
31629
- {
31630
- "kind": "javascript-module",
31631
- "path": "timetable-occupancy/timetable-occupancy.component.js",
31632
- "declarations": [
31633
- {
31634
- "kind": "class",
31635
- "description": "Used in `sbb-timetable-row`, it displays information about wagon occupancy.",
31636
- "name": "SbbTimetableOccupancyElement",
31637
- "members": [
31638
- {
31639
- "kind": "field",
31640
- "name": "elementName",
31641
- "type": {
31642
- "text": "string"
31643
- },
31644
- "privacy": "public",
31645
- "static": true,
31646
- "readonly": true,
31647
- "default": "'sbb-timetable-occupancy'",
31648
- "inheritedFrom": {
31649
- "name": "SbbElement",
31650
- "module": "core/base-elements/element.js"
31651
- }
31652
- },
31653
- {
31654
- "kind": "field",
31655
- "name": "firstClassOccupancy",
31656
- "type": {
31657
- "text": "SbbOccupancy | null"
31658
- },
31659
- "privacy": "public",
31660
- "default": "null",
31661
- "description": "Occupancy for first class wagons.",
31662
- "attribute": "first-class-occupancy"
31663
- },
31664
- {
31665
- "kind": "field",
31666
- "name": "secondClassOccupancy",
31667
- "type": {
31668
- "text": "SbbOccupancy | null"
31669
- },
31670
- "privacy": "public",
31671
- "default": "null",
31672
- "description": "Occupancy for second class wagons.",
31673
- "attribute": "second-class-occupancy"
31674
- },
31675
- {
31676
- "kind": "field",
31677
- "name": "_language",
31678
- "privacy": "private",
31679
- "default": "new SbbLanguageController(this)"
31680
- },
31681
- {
31682
- "kind": "field",
31683
- "name": "negative",
31684
- "type": {
31685
- "text": "boolean"
31686
- },
31687
- "privacy": "public",
31688
- "default": "false",
31689
- "description": "Negative coloring variant flag.",
31690
- "attribute": "negative",
31691
- "reflects": true,
31692
- "inheritedFrom": {
31693
- "name": "SbbNegativeMixin",
31694
- "module": "core/mixins/negative-mixin.js"
31695
- }
31696
- },
31697
- {
31698
- "kind": "field",
31699
- "name": "_hydrationRequired",
31700
- "type": {
31701
- "text": "boolean"
31702
- },
31703
- "privacy": "private",
31704
- "default": "!!this.shadowRoot",
31705
- "inheritedFrom": {
31706
- "name": "SbbHydrationMixin",
31707
- "module": "core/mixins/hydration-mixin.js"
31708
- }
31709
- },
31710
- {
31711
- "kind": "field",
31712
- "name": "_hydrationComplete",
31713
- "privacy": "private",
31714
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
31715
- "inheritedFrom": {
31716
- "name": "SbbHydrationMixin",
31717
- "module": "core/mixins/hydration-mixin.js"
31718
- }
31719
- },
31720
- {
31721
- "kind": "field",
31722
- "name": "_resolveHydration",
31723
- "type": {
31724
- "text": "(hydrationRequired: boolean) => void"
31725
- },
31726
- "privacy": "private",
31727
- "inheritedFrom": {
31728
- "name": "SbbHydrationMixin",
31729
- "module": "core/mixins/hydration-mixin.js"
31730
- }
31731
- },
31732
- {
31733
- "kind": "field",
31734
- "name": "hydrationRequired",
31735
- "type": {
31736
- "text": "boolean"
31737
- },
31738
- "privacy": "protected",
31739
- "description": "Returns whether hydration is required and not completed.",
31740
- "readonly": true,
31741
- "inheritedFrom": {
31742
- "name": "SbbHydrationMixin",
31743
- "module": "core/mixins/hydration-mixin.js"
31744
- },
31745
- "default": "!!this.shadowRoot"
31746
- },
31747
- {
31748
- "kind": "method",
31749
- "name": "toggleState",
31750
- "privacy": "protected",
31751
- "return": {
31752
- "type": {
31753
- "text": "void"
31754
- }
31755
- },
31756
- "parameters": [
31757
- {
31758
- "name": "value",
31759
- "type": {
31760
- "text": "string"
31761
- }
31762
- },
31763
- {
31764
- "name": "force",
31765
- "optional": true,
31766
- "type": {
31767
- "text": "boolean"
31768
- }
31769
- }
31770
- ],
31771
- "inheritedFrom": {
31772
- "name": "SbbElementInternalsMixin",
31773
- "module": "core/mixins/element-internals-mixin.js"
31774
- }
31775
- },
31776
- {
31777
- "kind": "field",
31778
- "name": "['_$sbbElement$']",
31779
- "type": {
31780
- "text": "boolean"
31781
- },
31782
- "privacy": "public",
31783
- "static": true,
31784
- "default": "true",
31785
- "inheritedFrom": {
31786
- "name": "SbbElement",
31787
- "module": "core/base-elements/element.js"
31788
- }
31789
- },
31790
- {
31791
- "kind": "field",
31792
- "name": "_controllers",
31793
- "type": {
31794
- "text": "Set<SbbReactiveController> | undefined"
31795
- },
31796
- "privacy": "private",
31797
- "inheritedFrom": {
31798
- "name": "SbbElement",
31799
- "module": "core/base-elements/element.js"
31800
- }
31801
- }
31802
- ],
31803
- "attributes": [
31804
- {
31805
- "name": "first-class-occupancy",
31806
- "type": {
31807
- "text": "SbbOccupancy | null"
31808
- },
31809
- "default": "null",
31810
- "description": "Occupancy for first class wagons.",
31811
- "fieldName": "firstClassOccupancy"
31812
- },
31813
- {
31814
- "name": "second-class-occupancy",
31815
- "type": {
31816
- "text": "SbbOccupancy | null"
31817
- },
31818
- "default": "null",
31819
- "description": "Occupancy for second class wagons.",
31820
- "fieldName": "secondClassOccupancy"
31821
- },
31822
- {
31823
- "name": "negative",
31824
- "type": {
31825
- "text": "boolean"
31826
- },
31827
- "default": "false",
31828
- "description": "Negative coloring variant flag.",
31829
- "fieldName": "negative",
31830
- "inheritedFrom": {
31831
- "name": "SbbNegativeMixin",
31832
- "module": "core/mixins/negative-mixin.js"
31833
- }
31834
- }
31835
- ],
31836
- "mixins": [
31837
- {
31838
- "name": "SbbNegativeMixin",
31839
- "module": "core/mixins.js"
31840
- }
31841
- ],
31842
- "superclass": {
31843
- "name": "SbbElement",
31844
- "module": "core/base-elements.js"
31845
- },
31846
- "tagName": "sbb-timetable-occupancy",
31847
- "customElement": true
31848
- }
31849
- ],
31850
- "exports": [
31851
- {
31852
- "kind": "js",
31853
- "name": "SbbTimetableOccupancyElement",
31854
- "declaration": {
31855
- "name": "SbbTimetableOccupancyElement",
31856
- "module": "timetable-occupancy/timetable-occupancy.component.js"
31857
- }
31858
- }
31859
- ]
31860
- },
31861
31861
  {
31862
31862
  "kind": "javascript-module",
31863
31863
  "path": "title/title-base.js",
@@ -36066,439 +36066,6 @@
36066
36066
  }
36067
36067
  ]
36068
36068
  },
36069
- {
36070
- "kind": "javascript-module",
36071
- "path": "breadcrumb/breadcrumb-group/breadcrumb-group.component.js",
36072
- "declarations": [
36073
- {
36074
- "kind": "class",
36075
- "description": "It can be used as a container for one or more `sbb-breadcrumb` component.",
36076
- "name": "SbbBreadcrumbGroupElement",
36077
- "slots": [
36078
- {
36079
- "description": "Use the unnamed slot to add `sbb-breadcrumb` elements.",
36080
- "name": ""
36081
- }
36082
- ],
36083
- "members": [
36084
- {
36085
- "kind": "field",
36086
- "name": "elementName",
36087
- "type": {
36088
- "text": "string"
36089
- },
36090
- "privacy": "public",
36091
- "static": true,
36092
- "readonly": true,
36093
- "default": "'sbb-breadcrumb-group'",
36094
- "inheritedFrom": {
36095
- "name": "SbbElement",
36096
- "module": "core/base-elements/element.js"
36097
- }
36098
- },
36099
- {
36100
- "kind": "field",
36101
- "name": "role",
36102
- "type": {
36103
- "text": "string"
36104
- },
36105
- "privacy": "public",
36106
- "static": true,
36107
- "readonly": true,
36108
- "default": "'navigation'"
36109
- },
36110
- {
36111
- "kind": "field",
36112
- "name": "listChildLocalNames",
36113
- "type": {
36114
- "text": "array"
36115
- },
36116
- "privacy": "protected",
36117
- "readonly": true,
36118
- "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
36119
- "default": "['sbb-breadcrumb']",
36120
- "inheritedFrom": {
36121
- "name": "SbbNamedSlotListMixin",
36122
- "module": "core/mixins/named-slot-list-mixin.js"
36123
- }
36124
- },
36125
- {
36126
- "kind": "field",
36127
- "name": "_state",
36128
- "privacy": "private",
36129
- "description": "The state of the breadcrumb group.",
36130
- "type": {
36131
- "text": "'collapsed' | 'manually-expanded' | null"
36132
- }
36133
- },
36134
- {
36135
- "kind": "field",
36136
- "name": "_stateInternal",
36137
- "type": {
36138
- "text": "'collapsed' | 'manually-expanded' | null"
36139
- },
36140
- "privacy": "private",
36141
- "default": "null"
36142
- },
36143
- {
36144
- "kind": "field",
36145
- "name": "_resizeObserver",
36146
- "privacy": "private",
36147
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._evaluateCollapsedState(), })"
36148
- },
36149
- {
36150
- "kind": "field",
36151
- "name": "_language",
36152
- "privacy": "private",
36153
- "default": "new SbbLanguageController(this)"
36154
- },
36155
- {
36156
- "kind": "field",
36157
- "name": "_markForFocus",
36158
- "type": {
36159
- "text": "boolean"
36160
- },
36161
- "privacy": "private",
36162
- "default": "false"
36163
- },
36164
- {
36165
- "kind": "method",
36166
- "name": "_handleKeyDown",
36167
- "privacy": "private",
36168
- "return": {
36169
- "type": {
36170
- "text": "void"
36171
- }
36172
- },
36173
- "parameters": [
36174
- {
36175
- "name": "evt",
36176
- "type": {
36177
- "text": "KeyboardEvent"
36178
- }
36179
- }
36180
- ]
36181
- },
36182
- {
36183
- "kind": "method",
36184
- "name": "_syncBreadcrumbs",
36185
- "privacy": "private",
36186
- "return": {
36187
- "type": {
36188
- "text": "void"
36189
- }
36190
- },
36191
- "description": "Apply the aria-current attribute to the last sbb-breadcrumb element."
36192
- },
36193
- {
36194
- "kind": "method",
36195
- "name": "_focusNextCollapsed",
36196
- "privacy": "private",
36197
- "return": {
36198
- "type": {
36199
- "text": "void"
36200
- }
36201
- },
36202
- "parameters": [
36203
- {
36204
- "name": "evt",
36205
- "type": {
36206
- "text": "KeyboardEvent"
36207
- }
36208
- }
36209
- ],
36210
- "description": "Sets the focus on the correct element when the ellipsis breadcrumb is displayed and the user is navigating with keyboard's arrows."
36211
- },
36212
- {
36213
- "kind": "method",
36214
- "name": "_focusNext",
36215
- "privacy": "private",
36216
- "return": {
36217
- "type": {
36218
- "text": "void"
36219
- }
36220
- },
36221
- "parameters": [
36222
- {
36223
- "name": "evt",
36224
- "type": {
36225
- "text": "KeyboardEvent"
36226
- }
36227
- },
36228
- {
36229
- "name": "breadcrumbs",
36230
- "default": "this.listChildren",
36231
- "type": {
36232
- "text": "SbbBreadcrumbElement[]"
36233
- }
36234
- }
36235
- ]
36236
- },
36237
- {
36238
- "kind": "method",
36239
- "name": "_expandBreadcrumbs",
36240
- "privacy": "private",
36241
- "return": {
36242
- "type": {
36243
- "text": "void"
36244
- }
36245
- },
36246
- "description": "Note: due to"
36247
- },
36248
- {
36249
- "kind": "method",
36250
- "name": "_evaluateCollapsedState",
36251
- "privacy": "private",
36252
- "return": {
36253
- "type": {
36254
- "text": "void"
36255
- }
36256
- },
36257
- "description": "Evaluate if the expanded breadcrumb element fits in page width, otherwise it needs ellipsis"
36258
- },
36259
- {
36260
- "kind": "method",
36261
- "name": "_renderCollapsed",
36262
- "privacy": "private",
36263
- "return": {
36264
- "type": {
36265
- "text": "TemplateResult"
36266
- }
36267
- }
36268
- },
36269
- {
36270
- "kind": "method",
36271
- "name": "_renderExpanded",
36272
- "privacy": "private",
36273
- "return": {
36274
- "type": {
36275
- "text": "TemplateResult[]"
36276
- }
36277
- }
36278
- },
36279
- {
36280
- "kind": "field",
36281
- "name": "listChildren",
36282
- "type": {
36283
- "text": "C[]"
36284
- },
36285
- "privacy": "protected",
36286
- "default": "[]",
36287
- "description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
36288
- "inheritedFrom": {
36289
- "name": "SbbNamedSlotListMixin",
36290
- "module": "core/mixins/named-slot-list-mixin.js"
36291
- }
36292
- },
36293
- {
36294
- "kind": "field",
36295
- "name": "_handleSlotchange",
36296
- "privacy": "private",
36297
- "inheritedFrom": {
36298
- "name": "SbbNamedSlotListMixin",
36299
- "module": "core/mixins/named-slot-list-mixin.js"
36300
- }
36301
- },
36302
- {
36303
- "kind": "method",
36304
- "name": "renderList",
36305
- "privacy": "protected",
36306
- "return": {
36307
- "type": {
36308
- "text": "TemplateResult"
36309
- }
36310
- },
36311
- "parameters": [
36312
- {
36313
- "name": "attributes",
36314
- "default": "{}",
36315
- "type": {
36316
- "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
36317
- }
36318
- },
36319
- {
36320
- "name": "listItemAttributes",
36321
- "default": "{}",
36322
- "type": {
36323
- "text": "{ localNameVisualOnly?: string[] }"
36324
- }
36325
- }
36326
- ],
36327
- "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
36328
- "inheritedFrom": {
36329
- "name": "SbbNamedSlotListMixin",
36330
- "module": "core/mixins/named-slot-list-mixin.js"
36331
- }
36332
- },
36333
- {
36334
- "kind": "method",
36335
- "name": "listSlotEntries",
36336
- "privacy": "protected",
36337
- "return": {
36338
- "type": {
36339
- "text": "SbbNamedSlotProperties[]"
36340
- }
36341
- },
36342
- "parameters": [
36343
- {
36344
- "name": "listItemAttributes",
36345
- "type": {
36346
- "text": "{\n localNameVisualOnly?: string[];\n }"
36347
- }
36348
- }
36349
- ],
36350
- "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
36351
- "inheritedFrom": {
36352
- "name": "SbbNamedSlotListMixin",
36353
- "module": "core/mixins/named-slot-list-mixin.js"
36354
- }
36355
- },
36356
- {
36357
- "kind": "method",
36358
- "name": "renderHiddenSlot",
36359
- "privacy": "protected",
36360
- "return": {
36361
- "type": {
36362
- "text": "TemplateResult"
36363
- }
36364
- },
36365
- "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
36366
- "inheritedFrom": {
36367
- "name": "SbbNamedSlotListMixin",
36368
- "module": "core/mixins/named-slot-list-mixin.js"
36369
- }
36370
- },
36371
- {
36372
- "kind": "field",
36373
- "name": "_hydrationRequired",
36374
- "type": {
36375
- "text": "boolean"
36376
- },
36377
- "privacy": "private",
36378
- "default": "!!this.shadowRoot",
36379
- "inheritedFrom": {
36380
- "name": "SbbHydrationMixin",
36381
- "module": "core/mixins/hydration-mixin.js"
36382
- }
36383
- },
36384
- {
36385
- "kind": "field",
36386
- "name": "_hydrationComplete",
36387
- "privacy": "private",
36388
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
36389
- "inheritedFrom": {
36390
- "name": "SbbHydrationMixin",
36391
- "module": "core/mixins/hydration-mixin.js"
36392
- }
36393
- },
36394
- {
36395
- "kind": "field",
36396
- "name": "_resolveHydration",
36397
- "type": {
36398
- "text": "(hydrationRequired: boolean) => void"
36399
- },
36400
- "privacy": "private",
36401
- "inheritedFrom": {
36402
- "name": "SbbHydrationMixin",
36403
- "module": "core/mixins/hydration-mixin.js"
36404
- }
36405
- },
36406
- {
36407
- "kind": "field",
36408
- "name": "hydrationRequired",
36409
- "type": {
36410
- "text": "boolean"
36411
- },
36412
- "privacy": "protected",
36413
- "description": "Returns whether hydration is required and not completed.",
36414
- "readonly": true,
36415
- "inheritedFrom": {
36416
- "name": "SbbHydrationMixin",
36417
- "module": "core/mixins/hydration-mixin.js"
36418
- },
36419
- "default": "!!this.shadowRoot"
36420
- },
36421
- {
36422
- "kind": "method",
36423
- "name": "toggleState",
36424
- "privacy": "protected",
36425
- "return": {
36426
- "type": {
36427
- "text": "void"
36428
- }
36429
- },
36430
- "parameters": [
36431
- {
36432
- "name": "value",
36433
- "type": {
36434
- "text": "string"
36435
- }
36436
- },
36437
- {
36438
- "name": "force",
36439
- "optional": true,
36440
- "type": {
36441
- "text": "boolean"
36442
- }
36443
- }
36444
- ],
36445
- "inheritedFrom": {
36446
- "name": "SbbElementInternalsMixin",
36447
- "module": "core/mixins/element-internals-mixin.js"
36448
- }
36449
- },
36450
- {
36451
- "kind": "field",
36452
- "name": "['_$sbbElement$']",
36453
- "type": {
36454
- "text": "boolean"
36455
- },
36456
- "privacy": "public",
36457
- "static": true,
36458
- "default": "true",
36459
- "inheritedFrom": {
36460
- "name": "SbbElement",
36461
- "module": "core/base-elements/element.js"
36462
- }
36463
- },
36464
- {
36465
- "kind": "field",
36466
- "name": "_controllers",
36467
- "type": {
36468
- "text": "Set<SbbReactiveController> | undefined"
36469
- },
36470
- "privacy": "private",
36471
- "inheritedFrom": {
36472
- "name": "SbbElement",
36473
- "module": "core/base-elements/element.js"
36474
- }
36475
- }
36476
- ],
36477
- "mixins": [
36478
- {
36479
- "name": "SbbNamedSlotListMixin",
36480
- "module": "core/mixins.js"
36481
- }
36482
- ],
36483
- "superclass": {
36484
- "name": "SbbElement",
36485
- "module": "core/base-elements.js"
36486
- },
36487
- "tagName": "sbb-breadcrumb-group",
36488
- "customElement": true
36489
- }
36490
- ],
36491
- "exports": [
36492
- {
36493
- "kind": "js",
36494
- "name": "SbbBreadcrumbGroupElement",
36495
- "declaration": {
36496
- "name": "SbbBreadcrumbGroupElement",
36497
- "module": "breadcrumb/breadcrumb-group/breadcrumb-group.component.js"
36498
- }
36499
- }
36500
- ]
36501
- },
36502
36069
  {
36503
36070
  "kind": "javascript-module",
36504
36071
  "path": "breadcrumb/breadcrumb/breadcrumb.component.js",
@@ -37029,27 +36596,16 @@
37029
36596
  },
37030
36597
  {
37031
36598
  "kind": "javascript-module",
37032
- "path": "button/accent-button/accent-button.component.js",
36599
+ "path": "breadcrumb/breadcrumb-group/breadcrumb-group.component.js",
37033
36600
  "declarations": [
37034
36601
  {
37035
36602
  "kind": "class",
37036
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37037
- "name": "SbbAccentButtonElement",
37038
- "cssProperties": [
37039
- {
37040
- "description": "The delay before the loading animation starts, when setting the button into loading state.",
37041
- "name": "--sbb-button-loading-delay",
37042
- "default": "300ms"
37043
- }
37044
- ],
36603
+ "description": "It can be used as a container for one or more `sbb-breadcrumb` component.",
36604
+ "name": "SbbBreadcrumbGroupElement",
37045
36605
  "slots": [
37046
36606
  {
37047
- "description": "Use the unnamed slot to add content to the accent-button.",
36607
+ "description": "Use the unnamed slot to add `sbb-breadcrumb` elements.",
37048
36608
  "name": ""
37049
- },
37050
- {
37051
- "description": "Slot used to display the icon, if one is set.",
37052
- "name": "icon"
37053
36609
  }
37054
36610
  ],
37055
36611
  "members": [
@@ -37062,7 +36618,7 @@
37062
36618
  "privacy": "public",
37063
36619
  "static": true,
37064
36620
  "readonly": true,
37065
- "default": "'sbb-accent-button'",
36621
+ "default": "'sbb-breadcrumb-group'",
37066
36622
  "inheritedFrom": {
37067
36623
  "name": "SbbElement",
37068
36624
  "module": "core/base-elements/element.js"
@@ -37070,277 +36626,330 @@
37070
36626
  },
37071
36627
  {
37072
36628
  "kind": "field",
37073
- "name": "size",
36629
+ "name": "role",
37074
36630
  "type": {
37075
- "text": "SbbButtonSize"
36631
+ "text": "string"
37076
36632
  },
37077
36633
  "privacy": "public",
37078
- "description": "Size variant, either l, m or s.",
37079
- "default": "'l' / 's' (lean)",
37080
- "attribute": "size",
37081
- "reflects": true,
37082
- "inheritedFrom": {
37083
- "name": "SbbButtonCommonElementMixin",
37084
- "module": "button/common/button-common.js"
37085
- }
36634
+ "static": true,
36635
+ "readonly": true,
36636
+ "default": "'navigation'"
37086
36637
  },
37087
36638
  {
37088
36639
  "kind": "field",
37089
- "name": "loading",
36640
+ "name": "listChildLocalNames",
37090
36641
  "type": {
37091
- "text": "boolean"
36642
+ "text": "array"
37092
36643
  },
37093
- "privacy": "public",
37094
- "default": "false",
37095
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
37096
- "attribute": "loading",
37097
- "reflects": true,
36644
+ "privacy": "protected",
36645
+ "readonly": true,
36646
+ "description": "A list of lower-cased tag names to match against. (e.g. `sbb-link`)",
36647
+ "default": "['sbb-breadcrumb']",
37098
36648
  "inheritedFrom": {
37099
- "name": "SbbButtonCommonElementMixin",
37100
- "module": "button/common/button-common.js"
36649
+ "name": "SbbNamedSlotListMixin",
36650
+ "module": "core/mixins/named-slot-list-mixin.js"
37101
36651
  }
37102
36652
  },
37103
36653
  {
37104
- "kind": "method",
37105
- "name": "renderTemplate",
37106
- "privacy": "protected",
37107
- "return": {
37108
- "type": {
37109
- "text": "TemplateResult"
37110
- }
37111
- },
37112
- "description": "Override this method to render the component template.",
37113
- "inheritedFrom": {
37114
- "name": "SbbActionBaseElement",
37115
- "module": "core/base-elements/action-base-element.js"
36654
+ "kind": "field",
36655
+ "name": "_state",
36656
+ "privacy": "private",
36657
+ "description": "The state of the breadcrumb group.",
36658
+ "type": {
36659
+ "text": "'collapsed' | 'manually-expanded' | null"
37116
36660
  }
37117
36661
  },
37118
36662
  {
37119
36663
  "kind": "field",
37120
- "name": "negative",
36664
+ "name": "_stateInternal",
37121
36665
  "type": {
37122
- "text": "boolean"
36666
+ "text": "'collapsed' | 'manually-expanded' | null"
37123
36667
  },
37124
- "privacy": "public",
37125
- "default": "false",
37126
- "description": "Negative coloring variant flag.",
37127
- "attribute": "negative",
37128
- "reflects": true,
37129
- "inheritedFrom": {
37130
- "name": "SbbNegativeMixin",
37131
- "module": "core/mixins/negative-mixin.js"
37132
- }
36668
+ "privacy": "private",
36669
+ "default": "null"
37133
36670
  },
37134
36671
  {
37135
36672
  "kind": "field",
37136
- "name": "iconName",
36673
+ "name": "_resizeObserver",
36674
+ "privacy": "private",
36675
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => this._evaluateCollapsedState(), })"
36676
+ },
36677
+ {
36678
+ "kind": "field",
36679
+ "name": "_language",
36680
+ "privacy": "private",
36681
+ "default": "new SbbLanguageController(this)"
36682
+ },
36683
+ {
36684
+ "kind": "field",
36685
+ "name": "_markForFocus",
37137
36686
  "type": {
37138
- "text": "string"
36687
+ "text": "boolean"
37139
36688
  },
37140
- "privacy": "public",
37141
- "default": "''",
37142
- "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.",
37143
- "attribute": "icon-name",
37144
- "inheritedFrom": {
37145
- "name": "SbbIconNameMixin",
37146
- "module": "icon/icon-name-mixin.js"
37147
- }
36689
+ "privacy": "private",
36690
+ "default": "false"
37148
36691
  },
37149
36692
  {
37150
36693
  "kind": "method",
37151
- "name": "renderIconSlot",
37152
- "privacy": "protected",
36694
+ "name": "_handleKeyDown",
36695
+ "privacy": "private",
37153
36696
  "return": {
37154
36697
  "type": {
37155
- "text": "TemplateResult"
36698
+ "text": "void"
37156
36699
  }
37157
36700
  },
37158
36701
  "parameters": [
37159
36702
  {
37160
- "name": "classname",
37161
- "optional": true,
36703
+ "name": "evt",
37162
36704
  "type": {
37163
- "text": "string"
36705
+ "text": "KeyboardEvent"
36706
+ }
36707
+ }
36708
+ ]
36709
+ },
36710
+ {
36711
+ "kind": "method",
36712
+ "name": "_syncBreadcrumbs",
36713
+ "privacy": "private",
36714
+ "return": {
36715
+ "type": {
36716
+ "text": "void"
36717
+ }
36718
+ },
36719
+ "description": "Apply the aria-current attribute to the last sbb-breadcrumb element."
36720
+ },
36721
+ {
36722
+ "kind": "method",
36723
+ "name": "_focusNextCollapsed",
36724
+ "privacy": "private",
36725
+ "return": {
36726
+ "type": {
36727
+ "text": "void"
36728
+ }
36729
+ },
36730
+ "parameters": [
36731
+ {
36732
+ "name": "evt",
36733
+ "type": {
36734
+ "text": "KeyboardEvent"
37164
36735
  }
37165
36736
  }
37166
36737
  ],
37167
- "inheritedFrom": {
37168
- "name": "SbbIconNameMixin",
37169
- "module": "icon/icon-name-mixin.js"
37170
- }
36738
+ "description": "Sets the focus on the correct element when the ellipsis breadcrumb is displayed and the user is navigating with keyboard's arrows."
37171
36739
  },
37172
36740
  {
37173
36741
  "kind": "method",
37174
- "name": "renderIconName",
37175
- "privacy": "protected",
36742
+ "name": "_focusNext",
36743
+ "privacy": "private",
37176
36744
  "return": {
37177
36745
  "type": {
37178
- "text": "string"
36746
+ "text": "void"
37179
36747
  }
37180
36748
  },
37181
- "inheritedFrom": {
37182
- "name": "SbbIconNameMixin",
37183
- "module": "icon/icon-name-mixin.js"
37184
- }
36749
+ "parameters": [
36750
+ {
36751
+ "name": "evt",
36752
+ "type": {
36753
+ "text": "KeyboardEvent"
36754
+ }
36755
+ },
36756
+ {
36757
+ "name": "breadcrumbs",
36758
+ "default": "this.listChildren",
36759
+ "type": {
36760
+ "text": "SbbBreadcrumbElement[]"
36761
+ }
36762
+ }
36763
+ ]
37185
36764
  },
37186
36765
  {
37187
36766
  "kind": "method",
37188
- "name": "_renderIconName",
36767
+ "name": "_expandBreadcrumbs",
37189
36768
  "privacy": "private",
37190
36769
  "return": {
37191
36770
  "type": {
37192
- "text": "string"
36771
+ "text": "void"
37193
36772
  }
37194
36773
  },
37195
- "inheritedFrom": {
37196
- "name": "SbbIconNameMixin",
37197
- "module": "icon/icon-name-mixin.js"
37198
- }
36774
+ "description": "Note: due to"
37199
36775
  },
37200
36776
  {
37201
- "kind": "field",
37202
- "name": "disabledInteractive",
37203
- "type": {
37204
- "text": "boolean"
36777
+ "kind": "method",
36778
+ "name": "_evaluateCollapsedState",
36779
+ "privacy": "private",
36780
+ "return": {
36781
+ "type": {
36782
+ "text": "void"
36783
+ }
37205
36784
  },
37206
- "privacy": "public",
37207
- "default": "false",
37208
- "description": "Whether the button should be aria-disabled but stay interactive.",
37209
- "attribute": "disabled-interactive",
37210
- "reflects": true,
37211
- "inheritedFrom": {
37212
- "name": "SbbDisabledInteractiveMixin",
37213
- "module": "core/mixins/disabled-mixin.js"
36785
+ "description": "Evaluate if the expanded breadcrumb element fits in page width, otherwise it needs ellipsis"
36786
+ },
36787
+ {
36788
+ "kind": "method",
36789
+ "name": "_renderCollapsed",
36790
+ "privacy": "private",
36791
+ "return": {
36792
+ "type": {
36793
+ "text": "TemplateResult"
36794
+ }
36795
+ }
36796
+ },
36797
+ {
36798
+ "kind": "method",
36799
+ "name": "_renderExpanded",
36800
+ "privacy": "private",
36801
+ "return": {
36802
+ "type": {
36803
+ "text": "TemplateResult[]"
36804
+ }
37214
36805
  }
37215
36806
  },
37216
36807
  {
37217
36808
  "kind": "field",
37218
- "name": "disabled",
37219
- "privacy": "public",
37220
- "description": "Whether the component is disabled.",
37221
- "default": "false",
36809
+ "name": "listChildren",
37222
36810
  "type": {
37223
- "text": "boolean"
36811
+ "text": "C[]"
37224
36812
  },
37225
- "attribute": "disabled",
37226
- "reflects": true,
36813
+ "privacy": "protected",
36814
+ "default": "[]",
36815
+ "description": "A list of children with the defined tag names.\nThis array is only updated if there is an actual change\nto the child elements.",
37227
36816
  "inheritedFrom": {
37228
- "name": "SbbDisabledMixin",
37229
- "module": "core/mixins/disabled-mixin.js"
36817
+ "name": "SbbNamedSlotListMixin",
36818
+ "module": "core/mixins/named-slot-list-mixin.js"
37230
36819
  }
37231
36820
  },
37232
36821
  {
37233
36822
  "kind": "field",
37234
- "name": "#disabled",
36823
+ "name": "_handleSlotchange",
37235
36824
  "privacy": "private",
37236
- "type": {
37237
- "text": "boolean"
37238
- },
37239
- "default": "false",
37240
36825
  "inheritedFrom": {
37241
- "name": "SbbDisabledMixin",
37242
- "module": "core/mixins/disabled-mixin.js"
36826
+ "name": "SbbNamedSlotListMixin",
36827
+ "module": "core/mixins/named-slot-list-mixin.js"
37243
36828
  }
37244
36829
  },
37245
36830
  {
37246
36831
  "kind": "method",
37247
- "name": "isDisabledExternally",
36832
+ "name": "renderList",
37248
36833
  "privacy": "protected",
37249
36834
  "return": {
37250
36835
  "type": {
37251
- "text": "boolean"
36836
+ "text": "TemplateResult"
37252
36837
  }
37253
36838
  },
37254
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
36839
+ "parameters": [
36840
+ {
36841
+ "name": "attributes",
36842
+ "default": "{}",
36843
+ "type": {
36844
+ "text": "{ class?: string; ariaLabel?: string; ariaLabelledby?: string }"
36845
+ }
36846
+ },
36847
+ {
36848
+ "name": "listItemAttributes",
36849
+ "default": "{}",
36850
+ "type": {
36851
+ "text": "{ localNameVisualOnly?: string[] }"
36852
+ }
36853
+ }
36854
+ ],
36855
+ "description": "Renders list and list slots for slotted children or a number of list slots\ncorresponding to the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
37255
36856
  "inheritedFrom": {
37256
- "name": "SbbDisabledMixin",
37257
- "module": "core/mixins/disabled-mixin.js"
36857
+ "name": "SbbNamedSlotListMixin",
36858
+ "module": "core/mixins/named-slot-list-mixin.js"
37258
36859
  }
37259
36860
  },
37260
36861
  {
37261
- "kind": "field",
37262
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
37263
- "type": {
37264
- "text": "array"
36862
+ "kind": "method",
36863
+ "name": "listSlotEntries",
36864
+ "privacy": "protected",
36865
+ "return": {
36866
+ "type": {
36867
+ "text": "SbbNamedSlotProperties[]"
36868
+ }
37265
36869
  },
37266
- "privacy": "private",
37267
- "readonly": true,
37268
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
36870
+ "parameters": [
36871
+ {
36872
+ "name": "listItemAttributes",
36873
+ "type": {
36874
+ "text": "{\n localNameVisualOnly?: string[];\n }"
36875
+ }
36876
+ }
36877
+ ],
36878
+ "description": "Returns an array of SbbNamedSlotProperties, which holds the list slot names and the hidden property;\nits length corresponds to the number of matched children or the `data-ssr-child-count` attribute value.\n\nThis is a possible optimization for SSR, as in an SSR Lit environment\nother elements are not available, but might be available in the meta\nframework wrapper (like e.g. React). This allows to provide the number of\nchildren to be passed via the `data-ssr-child-count` attribute value.",
37269
36879
  "inheritedFrom": {
37270
- "name": "SbbButtonBaseElement",
37271
- "module": "core/base-elements/button-base-element.js"
36880
+ "name": "SbbNamedSlotListMixin",
36881
+ "module": "core/mixins/named-slot-list-mixin.js"
37272
36882
  }
37273
36883
  },
37274
36884
  {
37275
- "kind": "field",
37276
- "name": "value",
37277
- "type": {
37278
- "text": "string"
36885
+ "kind": "method",
36886
+ "name": "renderHiddenSlot",
36887
+ "privacy": "protected",
36888
+ "return": {
36889
+ "type": {
36890
+ "text": "TemplateResult"
36891
+ }
37279
36892
  },
37280
- "privacy": "public",
37281
- "default": "''",
37282
- "description": "Value of the form element.",
37283
- "attribute": "value",
36893
+ "description": "Returns a hidden slot, which is intended as the children change detection.\nWhen an element without a slot attribute is slotted to the element, it triggers\nthe slotchange event, which can be used to assign it to the appropriate named slot.",
37284
36894
  "inheritedFrom": {
37285
- "name": "SbbButtonBaseElement",
37286
- "module": "core/base-elements/button-base-element.js"
36895
+ "name": "SbbNamedSlotListMixin",
36896
+ "module": "core/mixins/named-slot-list-mixin.js"
37287
36897
  }
37288
36898
  },
37289
36899
  {
37290
36900
  "kind": "field",
37291
- "name": "type",
37292
- "privacy": "public",
37293
- "description": "The type attribute to use for the button.",
37294
- "default": "'button'",
36901
+ "name": "_hydrationRequired",
37295
36902
  "type": {
37296
- "text": "SbbButtonType"
36903
+ "text": "boolean"
37297
36904
  },
37298
- "attribute": "type",
36905
+ "privacy": "private",
36906
+ "default": "!!this.shadowRoot",
37299
36907
  "inheritedFrom": {
37300
- "name": "SbbButtonBaseElement",
37301
- "module": "core/base-elements/button-base-element.js"
36908
+ "name": "SbbHydrationMixin",
36909
+ "module": "core/mixins/hydration-mixin.js"
37302
36910
  }
37303
36911
  },
37304
36912
  {
37305
36913
  "kind": "field",
37306
- "name": "form",
37307
- "type": {
37308
- "text": "HTMLFormElement | null"
37309
- },
37310
- "privacy": "public",
37311
- "description": "The `<form>` element to associate the button with.",
37312
- "attribute": "form",
36914
+ "name": "_hydrationComplete",
36915
+ "privacy": "private",
36916
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
37313
36917
  "inheritedFrom": {
37314
- "name": "SbbButtonBaseElement",
37315
- "module": "core/base-elements/button-base-element.js"
36918
+ "name": "SbbHydrationMixin",
36919
+ "module": "core/mixins/hydration-mixin.js"
37316
36920
  }
37317
36921
  },
37318
36922
  {
37319
36923
  "kind": "field",
37320
- "name": "_formId",
36924
+ "name": "_resolveHydration",
37321
36925
  "type": {
37322
- "text": "string"
36926
+ "text": "(hydrationRequired: boolean) => void"
37323
36927
  },
37324
36928
  "privacy": "private",
37325
- "default": "''",
37326
36929
  "inheritedFrom": {
37327
- "name": "SbbButtonBaseElement",
37328
- "module": "core/base-elements/button-base-element.js"
36930
+ "name": "SbbHydrationMixin",
36931
+ "module": "core/mixins/hydration-mixin.js"
37329
36932
  }
37330
36933
  },
37331
36934
  {
37332
36935
  "kind": "field",
37333
- "name": "_handleButtonClick",
37334
- "privacy": "private",
36936
+ "name": "hydrationRequired",
36937
+ "type": {
36938
+ "text": "boolean"
36939
+ },
36940
+ "privacy": "protected",
36941
+ "description": "Returns whether hydration is required and not completed.",
36942
+ "readonly": true,
37335
36943
  "inheritedFrom": {
37336
- "name": "SbbButtonBaseElement",
37337
- "module": "core/base-elements/button-base-element.js"
37338
- }
36944
+ "name": "SbbHydrationMixin",
36945
+ "module": "core/mixins/hydration-mixin.js"
36946
+ },
36947
+ "default": "!!this.shadowRoot"
37339
36948
  },
37340
36949
  {
37341
36950
  "kind": "method",
37342
- "name": "_requestSubmit",
37343
- "privacy": "private",
36951
+ "name": "toggleState",
36952
+ "privacy": "protected",
37344
36953
  "return": {
37345
36954
  "type": {
37346
36955
  "text": "void"
@@ -37348,29 +36957,27 @@
37348
36957
  },
37349
36958
  "parameters": [
37350
36959
  {
37351
- "name": "form",
36960
+ "name": "value",
37352
36961
  "type": {
37353
- "text": "HTMLFormElement"
36962
+ "text": "string"
36963
+ }
36964
+ },
36965
+ {
36966
+ "name": "force",
36967
+ "optional": true,
36968
+ "type": {
36969
+ "text": "boolean"
37354
36970
  }
37355
36971
  }
37356
36972
  ],
37357
36973
  "inheritedFrom": {
37358
- "name": "SbbButtonBaseElement",
37359
- "module": "core/base-elements/button-base-element.js"
37360
- }
37361
- },
37362
- {
37363
- "kind": "field",
37364
- "name": "_formKeyDown",
37365
- "privacy": "private",
37366
- "inheritedFrom": {
37367
- "name": "SbbButtonBaseElement",
37368
- "module": "core/base-elements/button-base-element.js"
36974
+ "name": "SbbElementInternalsMixin",
36975
+ "module": "core/mixins/element-internals-mixin.js"
37369
36976
  }
37370
36977
  },
37371
36978
  {
37372
36979
  "kind": "field",
37373
- "name": "formAssociated",
36980
+ "name": "['_$sbbElement$']",
37374
36981
  "type": {
37375
36982
  "text": "boolean"
37376
36983
  },
@@ -37378,360 +36985,425 @@
37378
36985
  "static": true,
37379
36986
  "default": "true",
37380
36987
  "inheritedFrom": {
37381
- "name": "SbbFormAssociatedMixin",
37382
- "module": "core/mixins/form-associated-mixin.js"
36988
+ "name": "SbbElement",
36989
+ "module": "core/base-elements/element.js"
37383
36990
  }
37384
36991
  },
37385
36992
  {
37386
36993
  "kind": "field",
37387
- "name": "name",
37388
- "privacy": "public",
37389
- "description": "Name of the form element. Will be read from name attribute.",
36994
+ "name": "_controllers",
37390
36995
  "type": {
37391
- "text": "string"
36996
+ "text": "Set<SbbReactiveController> | undefined"
37392
36997
  },
37393
- "attribute": "name",
36998
+ "privacy": "private",
37394
36999
  "inheritedFrom": {
37395
- "name": "SbbFormAssociatedMixin",
37396
- "module": "core/mixins/form-associated-mixin.js"
37000
+ "name": "SbbElement",
37001
+ "module": "core/base-elements/element.js"
37397
37002
  }
37003
+ }
37004
+ ],
37005
+ "mixins": [
37006
+ {
37007
+ "name": "SbbNamedSlotListMixin",
37008
+ "module": "core/mixins.js"
37009
+ }
37010
+ ],
37011
+ "superclass": {
37012
+ "name": "SbbElement",
37013
+ "module": "core/base-elements.js"
37014
+ },
37015
+ "tagName": "sbb-breadcrumb-group",
37016
+ "customElement": true
37017
+ }
37018
+ ],
37019
+ "exports": [
37020
+ {
37021
+ "kind": "js",
37022
+ "name": "SbbBreadcrumbGroupElement",
37023
+ "declaration": {
37024
+ "name": "SbbBreadcrumbGroupElement",
37025
+ "module": "breadcrumb/breadcrumb-group/breadcrumb-group.component.js"
37026
+ }
37027
+ }
37028
+ ]
37029
+ },
37030
+ {
37031
+ "kind": "javascript-module",
37032
+ "path": "button/accent-button-link/accent-button-link.component.js",
37033
+ "declarations": [
37034
+ {
37035
+ "kind": "class",
37036
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37037
+ "name": "SbbAccentButtonLinkElement",
37038
+ "cssProperties": [
37039
+ {
37040
+ "description": "The delay before the loading animation starts, when setting the button into loading state.",
37041
+ "name": "--sbb-button-loading-delay",
37042
+ "default": "300ms"
37043
+ }
37044
+ ],
37045
+ "slots": [
37046
+ {
37047
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
37048
+ "name": ""
37398
37049
  },
37050
+ {
37051
+ "description": "Slot used to display the icon, if one is set.",
37052
+ "name": "icon"
37053
+ }
37054
+ ],
37055
+ "members": [
37399
37056
  {
37400
37057
  "kind": "field",
37401
- "name": "validity",
37058
+ "name": "elementName",
37402
37059
  "type": {
37403
- "text": "ValidityState"
37060
+ "text": "string"
37404
37061
  },
37405
37062
  "privacy": "public",
37406
- "description": "Returns the ValidityState object for this element.",
37063
+ "static": true,
37407
37064
  "readonly": true,
37065
+ "default": "'sbb-accent-button-link'",
37408
37066
  "inheritedFrom": {
37409
- "name": "SbbFormAssociatedMixin",
37410
- "module": "core/mixins/form-associated-mixin.js"
37067
+ "name": "SbbElement",
37068
+ "module": "core/base-elements/element.js"
37411
37069
  }
37412
37070
  },
37413
37071
  {
37414
37072
  "kind": "field",
37415
- "name": "validationMessage",
37073
+ "name": "size",
37416
37074
  "type": {
37417
- "text": "string"
37075
+ "text": "SbbButtonSize"
37418
37076
  },
37419
37077
  "privacy": "public",
37420
- "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.",
37421
- "readonly": true,
37078
+ "description": "Size variant, either l, m or s.",
37079
+ "default": "'l' / 's' (lean)",
37080
+ "attribute": "size",
37081
+ "reflects": true,
37422
37082
  "inheritedFrom": {
37423
- "name": "SbbFormAssociatedMixin",
37424
- "module": "core/mixins/form-associated-mixin.js"
37083
+ "name": "SbbButtonCommonElementMixin",
37084
+ "module": "button/common/button-common.js"
37425
37085
  }
37426
37086
  },
37427
37087
  {
37428
37088
  "kind": "field",
37429
- "name": "willValidate",
37089
+ "name": "loading",
37430
37090
  "type": {
37431
37091
  "text": "boolean"
37432
37092
  },
37433
37093
  "privacy": "public",
37434
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
37435
- "readonly": true,
37094
+ "default": "false",
37095
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
37096
+ "attribute": "loading",
37097
+ "reflects": true,
37436
37098
  "inheritedFrom": {
37437
- "name": "SbbFormAssociatedMixin",
37438
- "module": "core/mixins/form-associated-mixin.js"
37099
+ "name": "SbbButtonCommonElementMixin",
37100
+ "module": "button/common/button-common.js"
37439
37101
  }
37440
37102
  },
37441
37103
  {
37442
- "kind": "field",
37443
- "name": "_validityStates",
37444
- "privacy": "private",
37445
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
37104
+ "kind": "method",
37105
+ "name": "renderTemplate",
37106
+ "privacy": "protected",
37107
+ "return": {
37108
+ "type": {
37109
+ "text": "TemplateResult"
37110
+ }
37111
+ },
37112
+ "description": "Override this method to render the component template.",
37446
37113
  "inheritedFrom": {
37447
- "name": "SbbFormAssociatedMixin",
37448
- "module": "core/mixins/form-associated-mixin.js"
37114
+ "name": "SbbActionBaseElement",
37115
+ "module": "core/base-elements/action-base-element.js"
37449
37116
  }
37450
37117
  },
37451
37118
  {
37452
37119
  "kind": "field",
37453
- "name": "formDisabled",
37120
+ "name": "negative",
37454
37121
  "type": {
37455
37122
  "text": "boolean"
37456
37123
  },
37457
- "privacy": "protected",
37124
+ "privacy": "public",
37458
37125
  "default": "false",
37459
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
37126
+ "description": "Negative coloring variant flag.",
37127
+ "attribute": "negative",
37128
+ "reflects": true,
37460
37129
  "inheritedFrom": {
37461
- "name": "SbbFormAssociatedMixin",
37462
- "module": "core/mixins/form-associated-mixin.js"
37130
+ "name": "SbbNegativeMixin",
37131
+ "module": "core/mixins/negative-mixin.js"
37463
37132
  }
37464
37133
  },
37465
37134
  {
37466
- "kind": "method",
37467
- "name": "checkValidity",
37468
- "privacy": "public",
37469
- "return": {
37470
- "type": {
37471
- "text": "boolean"
37472
- }
37135
+ "kind": "field",
37136
+ "name": "iconName",
37137
+ "type": {
37138
+ "text": "string"
37473
37139
  },
37474
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
37475
- "inheritedFrom": {
37476
- "name": "SbbFormAssociatedMixin",
37477
- "module": "core/mixins/form-associated-mixin.js"
37478
- }
37479
- },
37480
- {
37481
- "kind": "method",
37482
- "name": "reportValidity",
37483
37140
  "privacy": "public",
37484
- "return": {
37485
- "type": {
37486
- "text": "boolean"
37487
- }
37488
- },
37489
- "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.",
37141
+ "default": "''",
37142
+ "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.",
37143
+ "attribute": "icon-name",
37490
37144
  "inheritedFrom": {
37491
- "name": "SbbFormAssociatedMixin",
37492
- "module": "core/mixins/form-associated-mixin.js"
37145
+ "name": "SbbIconNameMixin",
37146
+ "module": "icon/icon-name-mixin.js"
37493
37147
  }
37494
37148
  },
37495
37149
  {
37496
37150
  "kind": "method",
37497
- "name": "setCustomValidity",
37498
- "privacy": "public",
37151
+ "name": "renderIconSlot",
37152
+ "privacy": "protected",
37499
37153
  "return": {
37500
37154
  "type": {
37501
- "text": "void"
37155
+ "text": "TemplateResult"
37502
37156
  }
37503
37157
  },
37504
37158
  "parameters": [
37505
37159
  {
37506
- "name": "message",
37160
+ "name": "classname",
37161
+ "optional": true,
37507
37162
  "type": {
37508
37163
  "text": "string"
37509
37164
  }
37510
37165
  }
37511
37166
  ],
37512
- "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.",
37513
37167
  "inheritedFrom": {
37514
- "name": "SbbFormAssociatedMixin",
37515
- "module": "core/mixins/form-associated-mixin.js"
37168
+ "name": "SbbIconNameMixin",
37169
+ "module": "icon/icon-name-mixin.js"
37516
37170
  }
37517
37171
  },
37518
37172
  {
37519
37173
  "kind": "method",
37520
- "name": "_hasDisabledAncestor",
37521
- "privacy": "private",
37174
+ "name": "renderIconName",
37175
+ "privacy": "protected",
37522
37176
  "return": {
37523
37177
  "type": {
37524
- "text": "boolean"
37178
+ "text": "string"
37525
37179
  }
37526
37180
  },
37527
37181
  "inheritedFrom": {
37528
- "name": "SbbFormAssociatedMixin",
37529
- "module": "core/mixins/form-associated-mixin.js"
37182
+ "name": "SbbIconNameMixin",
37183
+ "module": "icon/icon-name-mixin.js"
37530
37184
  }
37531
37185
  },
37532
37186
  {
37533
37187
  "kind": "method",
37534
- "name": "updateFormValue",
37535
- "privacy": "protected",
37188
+ "name": "_renderIconName",
37189
+ "privacy": "private",
37536
37190
  "return": {
37537
37191
  "type": {
37538
- "text": "void"
37192
+ "text": "string"
37539
37193
  }
37540
37194
  },
37541
- "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",
37542
37195
  "inheritedFrom": {
37543
- "name": "SbbFormAssociatedMixin",
37544
- "module": "core/mixins/form-associated-mixin.js"
37196
+ "name": "SbbIconNameMixin",
37197
+ "module": "icon/icon-name-mixin.js"
37545
37198
  }
37546
37199
  },
37547
37200
  {
37548
- "kind": "method",
37549
- "name": "formState",
37550
- "privacy": "protected",
37551
- "return": {
37552
- "type": {
37553
- "text": "FormRestoreState"
37554
- }
37201
+ "kind": "field",
37202
+ "name": "disabledInteractive",
37203
+ "type": {
37204
+ "text": "boolean"
37555
37205
  },
37206
+ "privacy": "public",
37207
+ "default": "false",
37208
+ "description": "Whether the button should be aria-disabled but stay interactive.",
37209
+ "attribute": "disabled-interactive",
37210
+ "reflects": true,
37556
37211
  "inheritedFrom": {
37557
- "name": "SbbFormAssociatedMixin",
37558
- "module": "core/mixins/form-associated-mixin.js"
37212
+ "name": "SbbDisabledInteractiveMixin",
37213
+ "module": "core/mixins/disabled-mixin.js"
37559
37214
  }
37560
37215
  },
37561
37216
  {
37562
- "kind": "method",
37563
- "name": "setValidityFlag",
37564
- "privacy": "protected",
37565
- "return": {
37566
- "type": {
37567
- "text": "void"
37568
- }
37217
+ "kind": "field",
37218
+ "name": "disabled",
37219
+ "privacy": "public",
37220
+ "description": "Whether the component is disabled.",
37221
+ "default": "false",
37222
+ "type": {
37223
+ "text": "boolean"
37569
37224
  },
37570
- "parameters": [
37571
- {
37572
- "name": "flag",
37573
- "type": {
37574
- "text": "T"
37575
- }
37576
- },
37577
- {
37578
- "name": "message",
37579
- "type": {
37580
- "text": "string"
37581
- }
37582
- },
37583
- {
37584
- "name": "flagValue",
37585
- "optional": true,
37586
- "type": {
37587
- "text": "ValidityStateFlags[T]"
37588
- }
37589
- }
37590
- ],
37591
- "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).",
37225
+ "attribute": "disabled",
37226
+ "reflects": true,
37592
37227
  "inheritedFrom": {
37593
- "name": "SbbFormAssociatedMixin",
37594
- "module": "core/mixins/form-associated-mixin.js"
37228
+ "name": "SbbDisabledMixin",
37229
+ "module": "core/mixins/disabled-mixin.js"
37595
37230
  }
37596
37231
  },
37597
37232
  {
37598
- "kind": "method",
37599
- "name": "removeValidityFlag",
37600
- "privacy": "protected",
37601
- "return": {
37602
- "type": {
37603
- "text": "void"
37604
- }
37233
+ "kind": "field",
37234
+ "name": "#disabled",
37235
+ "privacy": "private",
37236
+ "type": {
37237
+ "text": "boolean"
37605
37238
  },
37606
- "parameters": [
37607
- {
37608
- "name": "flag",
37609
- "type": {
37610
- "text": "T"
37611
- }
37612
- }
37613
- ],
37614
- "description": "Removes the validity state flag entry and updates validity state.",
37239
+ "default": "false",
37615
37240
  "inheritedFrom": {
37616
- "name": "SbbFormAssociatedMixin",
37617
- "module": "core/mixins/form-associated-mixin.js"
37241
+ "name": "SbbDisabledMixin",
37242
+ "module": "core/mixins/disabled-mixin.js"
37618
37243
  }
37619
37244
  },
37620
37245
  {
37621
37246
  "kind": "method",
37622
- "name": "validate",
37247
+ "name": "isDisabledExternally",
37623
37248
  "privacy": "protected",
37624
37249
  "return": {
37625
37250
  "type": {
37626
- "text": "void"
37251
+ "text": "boolean"
37627
37252
  }
37628
37253
  },
37629
- "description": "To be called whenever the current element needs to be validated.",
37254
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
37630
37255
  "inheritedFrom": {
37631
- "name": "SbbFormAssociatedMixin",
37632
- "module": "core/mixins/form-associated-mixin.js"
37256
+ "name": "SbbDisabledMixin",
37257
+ "module": "core/mixins/disabled-mixin.js"
37633
37258
  }
37634
37259
  },
37635
37260
  {
37636
- "kind": "method",
37637
- "name": "shouldValidate",
37638
- "privacy": "protected",
37639
- "return": {
37640
- "type": {
37641
- "text": "boolean"
37642
- }
37261
+ "kind": "field",
37262
+ "name": "href",
37263
+ "type": {
37264
+ "text": "string"
37643
37265
  },
37644
- "parameters": [
37645
- {
37646
- "name": "name",
37647
- "type": {
37648
- "text": "PropertyKey | undefined"
37649
- }
37650
- }
37651
- ],
37652
- "description": "Whether validation should be run on a property change with the given name.",
37266
+ "privacy": "public",
37267
+ "default": "''",
37268
+ "description": "The href value you want to link to.",
37269
+ "attribute": "href",
37270
+ "reflects": true,
37653
37271
  "inheritedFrom": {
37654
- "name": "SbbFormAssociatedMixin",
37655
- "module": "core/mixins/form-associated-mixin.js"
37272
+ "name": "SbbLinkBaseElement",
37273
+ "module": "core/base-elements/link-base-element.js"
37656
37274
  }
37657
37275
  },
37658
37276
  {
37659
- "kind": "method",
37660
- "name": "_setInternalValidity",
37661
- "privacy": "private",
37662
- "return": {
37663
- "type": {
37664
- "text": "void"
37665
- }
37277
+ "kind": "field",
37278
+ "name": "target",
37279
+ "type": {
37280
+ "text": "LinkTargetType | string"
37666
37281
  },
37282
+ "privacy": "public",
37283
+ "default": "''",
37284
+ "description": "Where to display the linked URL.",
37285
+ "attribute": "target",
37286
+ "reflects": true,
37667
37287
  "inheritedFrom": {
37668
- "name": "SbbFormAssociatedMixin",
37669
- "module": "core/mixins/form-associated-mixin.js"
37288
+ "name": "SbbLinkBaseElement",
37289
+ "module": "core/base-elements/link-base-element.js"
37670
37290
  }
37671
37291
  },
37672
37292
  {
37673
37293
  "kind": "field",
37674
- "name": "role",
37294
+ "name": "rel",
37675
37295
  "type": {
37676
- "text": "ElementInternals['role']"
37296
+ "text": "string"
37677
37297
  },
37678
37298
  "privacy": "public",
37679
- "static": true,
37680
- "readonly": true,
37681
- "default": "'button'",
37299
+ "default": "''",
37300
+ "description": "The relationship of the linked URL as space-separated link types.",
37301
+ "attribute": "rel",
37302
+ "reflects": true,
37682
37303
  "inheritedFrom": {
37683
- "name": "SbbButtonLikeBaseElement",
37684
- "module": "core/base-elements/button-base-element.js"
37304
+ "name": "SbbLinkBaseElement",
37305
+ "module": "core/base-elements/link-base-element.js"
37685
37306
  }
37686
37307
  },
37687
37308
  {
37688
37309
  "kind": "field",
37689
- "name": "_preventScrollOnSpaceKeydown",
37690
- "privacy": "private",
37691
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
37692
- "parameters": [
37693
- {
37694
- "description": "The origin event.",
37695
- "name": "event"
37696
- }
37697
- ],
37310
+ "name": "download",
37311
+ "type": {
37312
+ "text": "boolean"
37313
+ },
37314
+ "privacy": "public",
37315
+ "default": "false",
37316
+ "description": "Whether the browser will show the download dialog on click.",
37317
+ "attribute": "download",
37318
+ "reflects": true,
37319
+ "inheritedFrom": {
37320
+ "name": "SbbLinkBaseElement",
37321
+ "module": "core/base-elements/link-base-element.js"
37322
+ }
37323
+ },
37324
+ {
37325
+ "kind": "field",
37326
+ "name": "accessibilityLabel",
37327
+ "type": {
37328
+ "text": "string"
37329
+ },
37330
+ "privacy": "public",
37331
+ "default": "''",
37332
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37333
+ "attribute": "accessibility-label",
37334
+ "inheritedFrom": {
37335
+ "name": "SbbLinkBaseElement",
37336
+ "module": "core/base-elements/link-base-element.js"
37337
+ }
37338
+ },
37339
+ {
37340
+ "kind": "field",
37341
+ "name": "accessibilityCurrent",
37342
+ "type": {
37343
+ "text": "string"
37344
+ },
37345
+ "privacy": "public",
37346
+ "default": "''",
37347
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37348
+ "attribute": "accessibility-current",
37349
+ "inheritedFrom": {
37350
+ "name": "SbbLinkBaseElement",
37351
+ "module": "core/base-elements/link-base-element.js"
37352
+ }
37353
+ },
37354
+ {
37355
+ "kind": "field",
37356
+ "name": "language",
37357
+ "privacy": "protected",
37358
+ "default": "new SbbLanguageController(this)",
37359
+ "inheritedFrom": {
37360
+ "name": "SbbLinkBaseElement",
37361
+ "module": "core/base-elements/link-base-element.js"
37362
+ }
37363
+ },
37364
+ {
37365
+ "kind": "field",
37366
+ "name": "anchorRole",
37367
+ "type": {
37368
+ "text": "string | null"
37369
+ },
37370
+ "privacy": "protected",
37371
+ "readonly": true,
37372
+ "default": "null",
37698
37373
  "inheritedFrom": {
37699
- "name": "SbbButtonLikeBaseElement",
37700
- "module": "core/base-elements/button-base-element.js"
37374
+ "name": "SbbLinkBaseElement",
37375
+ "module": "core/base-elements/link-base-element.js"
37701
37376
  }
37702
37377
  },
37703
37378
  {
37704
37379
  "kind": "field",
37705
- "name": "_removeActiveMarker",
37380
+ "name": "_evaluateRelAttribute",
37706
37381
  "privacy": "private",
37707
37382
  "inheritedFrom": {
37708
- "name": "SbbButtonLikeBaseElement",
37709
- "module": "core/base-elements/button-base-element.js"
37383
+ "name": "SbbLinkBaseElement",
37384
+ "module": "core/base-elements/link-base-element.js"
37710
37385
  }
37711
37386
  },
37712
37387
  {
37713
- "kind": "field",
37714
- "name": "_dispatchClickEventOnSpaceKeyup",
37715
- "privacy": "private",
37716
- "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.",
37388
+ "kind": "method",
37389
+ "name": "renderLink",
37390
+ "privacy": "protected",
37391
+ "return": {
37392
+ "type": {
37393
+ "text": "TemplateResult"
37394
+ }
37395
+ },
37717
37396
  "parameters": [
37718
37397
  {
37719
- "description": "The origin event.",
37720
- "name": "event"
37398
+ "name": "renderContent",
37399
+ "type": {
37400
+ "text": "TemplateResult"
37401
+ }
37721
37402
  }
37722
37403
  ],
37723
37404
  "inheritedFrom": {
37724
- "name": "SbbButtonLikeBaseElement",
37725
- "module": "core/base-elements/button-base-element.js"
37726
- }
37727
- },
37728
- {
37729
- "kind": "field",
37730
- "name": "_dispatchClickEvent",
37731
- "privacy": "private",
37732
- "inheritedFrom": {
37733
- "name": "SbbButtonLikeBaseElement",
37734
- "module": "core/base-elements/button-base-element.js"
37405
+ "name": "SbbLinkBaseElement",
37406
+ "module": "core/base-elements/link-base-element.js"
37735
37407
  }
37736
37408
  },
37737
37409
  {
@@ -37886,15 +37558,19 @@
37886
37558
  "module": "button/common/button-common.js"
37887
37559
  },
37888
37560
  {
37889
- "name": "SbbDisabledTabIndexActionMixin",
37561
+ "name": "SbbDisabledInteractiveMixin",
37562
+ "module": "core/mixins.js"
37563
+ },
37564
+ {
37565
+ "name": "SbbDisabledMixin",
37890
37566
  "module": "core/mixins.js"
37891
37567
  }
37892
37568
  ],
37893
37569
  "superclass": {
37894
- "name": "SbbButtonBaseElement",
37570
+ "name": "SbbLinkBaseElement",
37895
37571
  "module": "core/base-elements.js"
37896
37572
  },
37897
- "tagName": "sbb-accent-button",
37573
+ "tagName": "sbb-accent-button-link",
37898
37574
  "customElement": true,
37899
37575
  "attributes": [
37900
37576
  {
@@ -37976,53 +37652,81 @@
37976
37652
  }
37977
37653
  },
37978
37654
  {
37979
- "name": "value",
37655
+ "name": "href",
37980
37656
  "type": {
37981
37657
  "text": "string"
37982
37658
  },
37983
37659
  "default": "''",
37984
- "description": "Value of the form element.",
37985
- "fieldName": "value",
37660
+ "description": "The href value you want to link to.",
37661
+ "fieldName": "href",
37986
37662
  "inheritedFrom": {
37987
- "name": "SbbButtonBaseElement",
37988
- "module": "core/base-elements/button-base-element.js"
37663
+ "name": "SbbLinkBaseElement",
37664
+ "module": "core/base-elements/link-base-element.js"
37989
37665
  }
37990
37666
  },
37991
37667
  {
37992
- "name": "type",
37993
- "description": "The type attribute to use for the button.",
37994
- "default": "'button'",
37668
+ "name": "target",
37995
37669
  "type": {
37996
- "text": "SbbButtonType"
37670
+ "text": "LinkTargetType | string"
37997
37671
  },
37998
- "fieldName": "type",
37672
+ "default": "''",
37673
+ "description": "Where to display the linked URL.",
37674
+ "fieldName": "target",
37999
37675
  "inheritedFrom": {
38000
- "name": "SbbButtonBaseElement",
38001
- "module": "core/base-elements/button-base-element.js"
37676
+ "name": "SbbLinkBaseElement",
37677
+ "module": "core/base-elements/link-base-element.js"
38002
37678
  }
38003
37679
  },
38004
37680
  {
38005
- "name": "form",
38006
- "description": "The `<form>` element to associate the button with.",
37681
+ "name": "rel",
38007
37682
  "type": {
38008
- "text": "HTMLFormElement | null"
37683
+ "text": "string"
38009
37684
  },
38010
- "fieldName": "form",
37685
+ "default": "''",
37686
+ "description": "The relationship of the linked URL as space-separated link types.",
37687
+ "fieldName": "rel",
38011
37688
  "inheritedFrom": {
38012
- "name": "SbbButtonBaseElement",
38013
- "module": "core/base-elements/button-base-element.js"
37689
+ "name": "SbbLinkBaseElement",
37690
+ "module": "core/base-elements/link-base-element.js"
38014
37691
  }
38015
37692
  },
38016
37693
  {
38017
- "name": "name",
38018
- "description": "Name of the form element. Will be read from name attribute.",
37694
+ "name": "download",
37695
+ "type": {
37696
+ "text": "boolean"
37697
+ },
37698
+ "default": "false",
37699
+ "description": "Whether the browser will show the download dialog on click.",
37700
+ "fieldName": "download",
37701
+ "inheritedFrom": {
37702
+ "name": "SbbLinkBaseElement",
37703
+ "module": "core/base-elements/link-base-element.js"
37704
+ }
37705
+ },
37706
+ {
37707
+ "name": "accessibility-label",
38019
37708
  "type": {
38020
37709
  "text": "string"
38021
37710
  },
38022
- "fieldName": "name",
37711
+ "default": "''",
37712
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
37713
+ "fieldName": "accessibilityLabel",
38023
37714
  "inheritedFrom": {
38024
- "name": "SbbFormAssociatedMixin",
38025
- "module": "core/mixins/form-associated-mixin.js"
37715
+ "name": "SbbLinkBaseElement",
37716
+ "module": "core/base-elements/link-base-element.js"
37717
+ }
37718
+ },
37719
+ {
37720
+ "name": "accessibility-current",
37721
+ "type": {
37722
+ "text": "string"
37723
+ },
37724
+ "default": "''",
37725
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
37726
+ "fieldName": "accessibilityCurrent",
37727
+ "inheritedFrom": {
37728
+ "name": "SbbLinkBaseElement",
37729
+ "module": "core/base-elements/link-base-element.js"
38026
37730
  }
38027
37731
  }
38028
37732
  ]
@@ -38031,22 +37735,22 @@
38031
37735
  "exports": [
38032
37736
  {
38033
37737
  "kind": "js",
38034
- "name": "SbbAccentButtonElement",
37738
+ "name": "SbbAccentButtonLinkElement",
38035
37739
  "declaration": {
38036
- "name": "SbbAccentButtonElement",
38037
- "module": "button/accent-button/accent-button.component.js"
37740
+ "name": "SbbAccentButtonLinkElement",
37741
+ "module": "button/accent-button-link/accent-button-link.component.js"
38038
37742
  }
38039
37743
  }
38040
37744
  ]
38041
37745
  },
38042
37746
  {
38043
37747
  "kind": "javascript-module",
38044
- "path": "button/accent-button-link/accent-button-link.component.js",
37748
+ "path": "button/accent-button/accent-button.component.js",
38045
37749
  "declarations": [
38046
37750
  {
38047
37751
  "kind": "class",
38048
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38049
- "name": "SbbAccentButtonLinkElement",
37752
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant.",
37753
+ "name": "SbbAccentButtonElement",
38050
37754
  "cssProperties": [
38051
37755
  {
38052
37756
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -38056,7 +37760,7 @@
38056
37760
  ],
38057
37761
  "slots": [
38058
37762
  {
38059
- "description": "Use the unnamed slot to add content to the accent-button-link.",
37763
+ "description": "Use the unnamed slot to add content to the accent-button.",
38060
37764
  "name": ""
38061
37765
  },
38062
37766
  {
@@ -38074,7 +37778,7 @@
38074
37778
  "privacy": "public",
38075
37779
  "static": true,
38076
37780
  "readonly": true,
38077
- "default": "'sbb-accent-button-link'",
37781
+ "default": "'sbb-accent-button'",
38078
37782
  "inheritedFrom": {
38079
37783
  "name": "SbbElement",
38080
37784
  "module": "core/base-elements/element.js"
@@ -38082,340 +37786,668 @@
38082
37786
  },
38083
37787
  {
38084
37788
  "kind": "field",
38085
- "name": "size",
38086
- "type": {
38087
- "text": "SbbButtonSize"
38088
- },
38089
- "privacy": "public",
38090
- "description": "Size variant, either l, m or s.",
38091
- "default": "'l' / 's' (lean)",
38092
- "attribute": "size",
38093
- "reflects": true,
37789
+ "name": "size",
37790
+ "type": {
37791
+ "text": "SbbButtonSize"
37792
+ },
37793
+ "privacy": "public",
37794
+ "description": "Size variant, either l, m or s.",
37795
+ "default": "'l' / 's' (lean)",
37796
+ "attribute": "size",
37797
+ "reflects": true,
37798
+ "inheritedFrom": {
37799
+ "name": "SbbButtonCommonElementMixin",
37800
+ "module": "button/common/button-common.js"
37801
+ }
37802
+ },
37803
+ {
37804
+ "kind": "field",
37805
+ "name": "loading",
37806
+ "type": {
37807
+ "text": "boolean"
37808
+ },
37809
+ "privacy": "public",
37810
+ "default": "false",
37811
+ "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
37812
+ "attribute": "loading",
37813
+ "reflects": true,
37814
+ "inheritedFrom": {
37815
+ "name": "SbbButtonCommonElementMixin",
37816
+ "module": "button/common/button-common.js"
37817
+ }
37818
+ },
37819
+ {
37820
+ "kind": "method",
37821
+ "name": "renderTemplate",
37822
+ "privacy": "protected",
37823
+ "return": {
37824
+ "type": {
37825
+ "text": "TemplateResult"
37826
+ }
37827
+ },
37828
+ "description": "Override this method to render the component template.",
37829
+ "inheritedFrom": {
37830
+ "name": "SbbActionBaseElement",
37831
+ "module": "core/base-elements/action-base-element.js"
37832
+ }
37833
+ },
37834
+ {
37835
+ "kind": "field",
37836
+ "name": "negative",
37837
+ "type": {
37838
+ "text": "boolean"
37839
+ },
37840
+ "privacy": "public",
37841
+ "default": "false",
37842
+ "description": "Negative coloring variant flag.",
37843
+ "attribute": "negative",
37844
+ "reflects": true,
37845
+ "inheritedFrom": {
37846
+ "name": "SbbNegativeMixin",
37847
+ "module": "core/mixins/negative-mixin.js"
37848
+ }
37849
+ },
37850
+ {
37851
+ "kind": "field",
37852
+ "name": "iconName",
37853
+ "type": {
37854
+ "text": "string"
37855
+ },
37856
+ "privacy": "public",
37857
+ "default": "''",
37858
+ "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.",
37859
+ "attribute": "icon-name",
37860
+ "inheritedFrom": {
37861
+ "name": "SbbIconNameMixin",
37862
+ "module": "icon/icon-name-mixin.js"
37863
+ }
37864
+ },
37865
+ {
37866
+ "kind": "method",
37867
+ "name": "renderIconSlot",
37868
+ "privacy": "protected",
37869
+ "return": {
37870
+ "type": {
37871
+ "text": "TemplateResult"
37872
+ }
37873
+ },
37874
+ "parameters": [
37875
+ {
37876
+ "name": "classname",
37877
+ "optional": true,
37878
+ "type": {
37879
+ "text": "string"
37880
+ }
37881
+ }
37882
+ ],
37883
+ "inheritedFrom": {
37884
+ "name": "SbbIconNameMixin",
37885
+ "module": "icon/icon-name-mixin.js"
37886
+ }
37887
+ },
37888
+ {
37889
+ "kind": "method",
37890
+ "name": "renderIconName",
37891
+ "privacy": "protected",
37892
+ "return": {
37893
+ "type": {
37894
+ "text": "string"
37895
+ }
37896
+ },
37897
+ "inheritedFrom": {
37898
+ "name": "SbbIconNameMixin",
37899
+ "module": "icon/icon-name-mixin.js"
37900
+ }
37901
+ },
37902
+ {
37903
+ "kind": "method",
37904
+ "name": "_renderIconName",
37905
+ "privacy": "private",
37906
+ "return": {
37907
+ "type": {
37908
+ "text": "string"
37909
+ }
37910
+ },
37911
+ "inheritedFrom": {
37912
+ "name": "SbbIconNameMixin",
37913
+ "module": "icon/icon-name-mixin.js"
37914
+ }
37915
+ },
37916
+ {
37917
+ "kind": "field",
37918
+ "name": "disabledInteractive",
37919
+ "type": {
37920
+ "text": "boolean"
37921
+ },
37922
+ "privacy": "public",
37923
+ "default": "false",
37924
+ "description": "Whether the button should be aria-disabled but stay interactive.",
37925
+ "attribute": "disabled-interactive",
37926
+ "reflects": true,
37927
+ "inheritedFrom": {
37928
+ "name": "SbbDisabledInteractiveMixin",
37929
+ "module": "core/mixins/disabled-mixin.js"
37930
+ }
37931
+ },
37932
+ {
37933
+ "kind": "field",
37934
+ "name": "disabled",
37935
+ "privacy": "public",
37936
+ "description": "Whether the component is disabled.",
37937
+ "default": "false",
37938
+ "type": {
37939
+ "text": "boolean"
37940
+ },
37941
+ "attribute": "disabled",
37942
+ "reflects": true,
37943
+ "inheritedFrom": {
37944
+ "name": "SbbDisabledMixin",
37945
+ "module": "core/mixins/disabled-mixin.js"
37946
+ }
37947
+ },
37948
+ {
37949
+ "kind": "field",
37950
+ "name": "#disabled",
37951
+ "privacy": "private",
37952
+ "type": {
37953
+ "text": "boolean"
37954
+ },
37955
+ "default": "false",
37956
+ "inheritedFrom": {
37957
+ "name": "SbbDisabledMixin",
37958
+ "module": "core/mixins/disabled-mixin.js"
37959
+ }
37960
+ },
37961
+ {
37962
+ "kind": "method",
37963
+ "name": "isDisabledExternally",
37964
+ "privacy": "protected",
37965
+ "return": {
37966
+ "type": {
37967
+ "text": "boolean"
37968
+ }
37969
+ },
37970
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
37971
+ "inheritedFrom": {
37972
+ "name": "SbbDisabledMixin",
37973
+ "module": "core/mixins/disabled-mixin.js"
37974
+ }
37975
+ },
37976
+ {
37977
+ "kind": "field",
37978
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
37979
+ "type": {
37980
+ "text": "array"
37981
+ },
37982
+ "privacy": "private",
37983
+ "readonly": true,
37984
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
37985
+ "inheritedFrom": {
37986
+ "name": "SbbButtonBaseElement",
37987
+ "module": "core/base-elements/button-base-element.js"
37988
+ }
37989
+ },
37990
+ {
37991
+ "kind": "field",
37992
+ "name": "value",
37993
+ "type": {
37994
+ "text": "string"
37995
+ },
37996
+ "privacy": "public",
37997
+ "default": "''",
37998
+ "description": "Value of the form element.",
37999
+ "attribute": "value",
38000
+ "inheritedFrom": {
38001
+ "name": "SbbButtonBaseElement",
38002
+ "module": "core/base-elements/button-base-element.js"
38003
+ }
38004
+ },
38005
+ {
38006
+ "kind": "field",
38007
+ "name": "type",
38008
+ "privacy": "public",
38009
+ "description": "The type attribute to use for the button.",
38010
+ "default": "'button'",
38011
+ "type": {
38012
+ "text": "SbbButtonType"
38013
+ },
38014
+ "attribute": "type",
38015
+ "inheritedFrom": {
38016
+ "name": "SbbButtonBaseElement",
38017
+ "module": "core/base-elements/button-base-element.js"
38018
+ }
38019
+ },
38020
+ {
38021
+ "kind": "field",
38022
+ "name": "form",
38023
+ "type": {
38024
+ "text": "HTMLFormElement | null"
38025
+ },
38026
+ "privacy": "public",
38027
+ "description": "The `<form>` element to associate the button with.",
38028
+ "attribute": "form",
38029
+ "inheritedFrom": {
38030
+ "name": "SbbButtonBaseElement",
38031
+ "module": "core/base-elements/button-base-element.js"
38032
+ }
38033
+ },
38034
+ {
38035
+ "kind": "field",
38036
+ "name": "_formId",
38037
+ "type": {
38038
+ "text": "string"
38039
+ },
38040
+ "privacy": "private",
38041
+ "default": "''",
38042
+ "inheritedFrom": {
38043
+ "name": "SbbButtonBaseElement",
38044
+ "module": "core/base-elements/button-base-element.js"
38045
+ }
38046
+ },
38047
+ {
38048
+ "kind": "field",
38049
+ "name": "_handleButtonClick",
38050
+ "privacy": "private",
38051
+ "inheritedFrom": {
38052
+ "name": "SbbButtonBaseElement",
38053
+ "module": "core/base-elements/button-base-element.js"
38054
+ }
38055
+ },
38056
+ {
38057
+ "kind": "method",
38058
+ "name": "_requestSubmit",
38059
+ "privacy": "private",
38060
+ "return": {
38061
+ "type": {
38062
+ "text": "void"
38063
+ }
38064
+ },
38065
+ "parameters": [
38066
+ {
38067
+ "name": "form",
38068
+ "type": {
38069
+ "text": "HTMLFormElement"
38070
+ }
38071
+ }
38072
+ ],
38073
+ "inheritedFrom": {
38074
+ "name": "SbbButtonBaseElement",
38075
+ "module": "core/base-elements/button-base-element.js"
38076
+ }
38077
+ },
38078
+ {
38079
+ "kind": "field",
38080
+ "name": "_formKeyDown",
38081
+ "privacy": "private",
38082
+ "inheritedFrom": {
38083
+ "name": "SbbButtonBaseElement",
38084
+ "module": "core/base-elements/button-base-element.js"
38085
+ }
38086
+ },
38087
+ {
38088
+ "kind": "field",
38089
+ "name": "formAssociated",
38090
+ "type": {
38091
+ "text": "boolean"
38092
+ },
38093
+ "privacy": "public",
38094
+ "static": true,
38095
+ "default": "true",
38096
+ "inheritedFrom": {
38097
+ "name": "SbbFormAssociatedMixin",
38098
+ "module": "core/mixins/form-associated-mixin.js"
38099
+ }
38100
+ },
38101
+ {
38102
+ "kind": "field",
38103
+ "name": "name",
38104
+ "privacy": "public",
38105
+ "description": "Name of the form element. Will be read from name attribute.",
38106
+ "type": {
38107
+ "text": "string"
38108
+ },
38109
+ "attribute": "name",
38110
+ "inheritedFrom": {
38111
+ "name": "SbbFormAssociatedMixin",
38112
+ "module": "core/mixins/form-associated-mixin.js"
38113
+ }
38114
+ },
38115
+ {
38116
+ "kind": "field",
38117
+ "name": "validity",
38118
+ "type": {
38119
+ "text": "ValidityState"
38120
+ },
38121
+ "privacy": "public",
38122
+ "description": "Returns the ValidityState object for this element.",
38123
+ "readonly": true,
38124
+ "inheritedFrom": {
38125
+ "name": "SbbFormAssociatedMixin",
38126
+ "module": "core/mixins/form-associated-mixin.js"
38127
+ }
38128
+ },
38129
+ {
38130
+ "kind": "field",
38131
+ "name": "validationMessage",
38132
+ "type": {
38133
+ "text": "string"
38134
+ },
38135
+ "privacy": "public",
38136
+ "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.",
38137
+ "readonly": true,
38138
+ "inheritedFrom": {
38139
+ "name": "SbbFormAssociatedMixin",
38140
+ "module": "core/mixins/form-associated-mixin.js"
38141
+ }
38142
+ },
38143
+ {
38144
+ "kind": "field",
38145
+ "name": "willValidate",
38146
+ "type": {
38147
+ "text": "boolean"
38148
+ },
38149
+ "privacy": "public",
38150
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
38151
+ "readonly": true,
38152
+ "inheritedFrom": {
38153
+ "name": "SbbFormAssociatedMixin",
38154
+ "module": "core/mixins/form-associated-mixin.js"
38155
+ }
38156
+ },
38157
+ {
38158
+ "kind": "field",
38159
+ "name": "_validityStates",
38160
+ "privacy": "private",
38161
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
38094
38162
  "inheritedFrom": {
38095
- "name": "SbbButtonCommonElementMixin",
38096
- "module": "button/common/button-common.js"
38163
+ "name": "SbbFormAssociatedMixin",
38164
+ "module": "core/mixins/form-associated-mixin.js"
38097
38165
  }
38098
38166
  },
38099
38167
  {
38100
38168
  "kind": "field",
38101
- "name": "loading",
38169
+ "name": "formDisabled",
38102
38170
  "type": {
38103
38171
  "text": "boolean"
38104
38172
  },
38105
- "privacy": "public",
38173
+ "privacy": "protected",
38106
38174
  "default": "false",
38107
- "description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
38108
- "attribute": "loading",
38109
- "reflects": true,
38175
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
38110
38176
  "inheritedFrom": {
38111
- "name": "SbbButtonCommonElementMixin",
38112
- "module": "button/common/button-common.js"
38177
+ "name": "SbbFormAssociatedMixin",
38178
+ "module": "core/mixins/form-associated-mixin.js"
38113
38179
  }
38114
38180
  },
38115
38181
  {
38116
38182
  "kind": "method",
38117
- "name": "renderTemplate",
38118
- "privacy": "protected",
38183
+ "name": "checkValidity",
38184
+ "privacy": "public",
38119
38185
  "return": {
38120
38186
  "type": {
38121
- "text": "TemplateResult"
38187
+ "text": "boolean"
38122
38188
  }
38123
38189
  },
38124
- "description": "Override this method to render the component template.",
38190
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
38125
38191
  "inheritedFrom": {
38126
- "name": "SbbActionBaseElement",
38127
- "module": "core/base-elements/action-base-element.js"
38192
+ "name": "SbbFormAssociatedMixin",
38193
+ "module": "core/mixins/form-associated-mixin.js"
38128
38194
  }
38129
38195
  },
38130
38196
  {
38131
- "kind": "field",
38132
- "name": "negative",
38133
- "type": {
38134
- "text": "boolean"
38135
- },
38197
+ "kind": "method",
38198
+ "name": "reportValidity",
38136
38199
  "privacy": "public",
38137
- "default": "false",
38138
- "description": "Negative coloring variant flag.",
38139
- "attribute": "negative",
38140
- "reflects": true,
38141
- "inheritedFrom": {
38142
- "name": "SbbNegativeMixin",
38143
- "module": "core/mixins/negative-mixin.js"
38144
- }
38145
- },
38146
- {
38147
- "kind": "field",
38148
- "name": "iconName",
38149
- "type": {
38150
- "text": "string"
38200
+ "return": {
38201
+ "type": {
38202
+ "text": "boolean"
38203
+ }
38151
38204
  },
38152
- "privacy": "public",
38153
- "default": "''",
38154
- "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.",
38155
- "attribute": "icon-name",
38205
+ "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.",
38156
38206
  "inheritedFrom": {
38157
- "name": "SbbIconNameMixin",
38158
- "module": "icon/icon-name-mixin.js"
38207
+ "name": "SbbFormAssociatedMixin",
38208
+ "module": "core/mixins/form-associated-mixin.js"
38159
38209
  }
38160
38210
  },
38161
38211
  {
38162
38212
  "kind": "method",
38163
- "name": "renderIconSlot",
38164
- "privacy": "protected",
38213
+ "name": "setCustomValidity",
38214
+ "privacy": "public",
38165
38215
  "return": {
38166
38216
  "type": {
38167
- "text": "TemplateResult"
38217
+ "text": "void"
38168
38218
  }
38169
38219
  },
38170
38220
  "parameters": [
38171
38221
  {
38172
- "name": "classname",
38173
- "optional": true,
38222
+ "name": "message",
38174
38223
  "type": {
38175
38224
  "text": "string"
38176
38225
  }
38177
38226
  }
38178
38227
  ],
38228
+ "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.",
38179
38229
  "inheritedFrom": {
38180
- "name": "SbbIconNameMixin",
38181
- "module": "icon/icon-name-mixin.js"
38230
+ "name": "SbbFormAssociatedMixin",
38231
+ "module": "core/mixins/form-associated-mixin.js"
38182
38232
  }
38183
38233
  },
38184
38234
  {
38185
38235
  "kind": "method",
38186
- "name": "renderIconName",
38187
- "privacy": "protected",
38236
+ "name": "_hasDisabledAncestor",
38237
+ "privacy": "private",
38188
38238
  "return": {
38189
38239
  "type": {
38190
- "text": "string"
38240
+ "text": "boolean"
38191
38241
  }
38192
38242
  },
38193
38243
  "inheritedFrom": {
38194
- "name": "SbbIconNameMixin",
38195
- "module": "icon/icon-name-mixin.js"
38244
+ "name": "SbbFormAssociatedMixin",
38245
+ "module": "core/mixins/form-associated-mixin.js"
38196
38246
  }
38197
38247
  },
38198
38248
  {
38199
38249
  "kind": "method",
38200
- "name": "_renderIconName",
38201
- "privacy": "private",
38250
+ "name": "updateFormValue",
38251
+ "privacy": "protected",
38202
38252
  "return": {
38203
38253
  "type": {
38204
- "text": "string"
38254
+ "text": "void"
38205
38255
  }
38206
38256
  },
38257
+ "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",
38207
38258
  "inheritedFrom": {
38208
- "name": "SbbIconNameMixin",
38209
- "module": "icon/icon-name-mixin.js"
38210
- }
38211
- },
38212
- {
38213
- "kind": "field",
38214
- "name": "disabledInteractive",
38215
- "type": {
38216
- "text": "boolean"
38217
- },
38218
- "privacy": "public",
38219
- "default": "false",
38220
- "description": "Whether the button should be aria-disabled but stay interactive.",
38221
- "attribute": "disabled-interactive",
38222
- "reflects": true,
38223
- "inheritedFrom": {
38224
- "name": "SbbDisabledInteractiveMixin",
38225
- "module": "core/mixins/disabled-mixin.js"
38226
- }
38227
- },
38228
- {
38229
- "kind": "field",
38230
- "name": "disabled",
38231
- "privacy": "public",
38232
- "description": "Whether the component is disabled.",
38233
- "default": "false",
38234
- "type": {
38235
- "text": "boolean"
38236
- },
38237
- "attribute": "disabled",
38238
- "reflects": true,
38239
- "inheritedFrom": {
38240
- "name": "SbbDisabledMixin",
38241
- "module": "core/mixins/disabled-mixin.js"
38259
+ "name": "SbbFormAssociatedMixin",
38260
+ "module": "core/mixins/form-associated-mixin.js"
38242
38261
  }
38243
38262
  },
38244
38263
  {
38245
- "kind": "field",
38246
- "name": "#disabled",
38247
- "privacy": "private",
38248
- "type": {
38249
- "text": "boolean"
38264
+ "kind": "method",
38265
+ "name": "formState",
38266
+ "privacy": "protected",
38267
+ "return": {
38268
+ "type": {
38269
+ "text": "FormRestoreState"
38270
+ }
38250
38271
  },
38251
- "default": "false",
38252
38272
  "inheritedFrom": {
38253
- "name": "SbbDisabledMixin",
38254
- "module": "core/mixins/disabled-mixin.js"
38273
+ "name": "SbbFormAssociatedMixin",
38274
+ "module": "core/mixins/form-associated-mixin.js"
38255
38275
  }
38256
38276
  },
38257
38277
  {
38258
38278
  "kind": "method",
38259
- "name": "isDisabledExternally",
38279
+ "name": "setValidityFlag",
38260
38280
  "privacy": "protected",
38261
38281
  "return": {
38262
38282
  "type": {
38263
- "text": "boolean"
38283
+ "text": "void"
38264
38284
  }
38265
38285
  },
38266
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
38286
+ "parameters": [
38287
+ {
38288
+ "name": "flag",
38289
+ "type": {
38290
+ "text": "T"
38291
+ }
38292
+ },
38293
+ {
38294
+ "name": "message",
38295
+ "type": {
38296
+ "text": "string"
38297
+ }
38298
+ },
38299
+ {
38300
+ "name": "flagValue",
38301
+ "optional": true,
38302
+ "type": {
38303
+ "text": "ValidityStateFlags[T]"
38304
+ }
38305
+ }
38306
+ ],
38307
+ "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).",
38267
38308
  "inheritedFrom": {
38268
- "name": "SbbDisabledMixin",
38269
- "module": "core/mixins/disabled-mixin.js"
38309
+ "name": "SbbFormAssociatedMixin",
38310
+ "module": "core/mixins/form-associated-mixin.js"
38270
38311
  }
38271
38312
  },
38272
38313
  {
38273
- "kind": "field",
38274
- "name": "href",
38275
- "type": {
38276
- "text": "string"
38314
+ "kind": "method",
38315
+ "name": "removeValidityFlag",
38316
+ "privacy": "protected",
38317
+ "return": {
38318
+ "type": {
38319
+ "text": "void"
38320
+ }
38277
38321
  },
38278
- "privacy": "public",
38279
- "default": "''",
38280
- "description": "The href value you want to link to.",
38281
- "attribute": "href",
38282
- "reflects": true,
38322
+ "parameters": [
38323
+ {
38324
+ "name": "flag",
38325
+ "type": {
38326
+ "text": "T"
38327
+ }
38328
+ }
38329
+ ],
38330
+ "description": "Removes the validity state flag entry and updates validity state.",
38283
38331
  "inheritedFrom": {
38284
- "name": "SbbLinkBaseElement",
38285
- "module": "core/base-elements/link-base-element.js"
38332
+ "name": "SbbFormAssociatedMixin",
38333
+ "module": "core/mixins/form-associated-mixin.js"
38286
38334
  }
38287
38335
  },
38288
38336
  {
38289
- "kind": "field",
38290
- "name": "target",
38291
- "type": {
38292
- "text": "LinkTargetType | string"
38337
+ "kind": "method",
38338
+ "name": "validate",
38339
+ "privacy": "protected",
38340
+ "return": {
38341
+ "type": {
38342
+ "text": "void"
38343
+ }
38293
38344
  },
38294
- "privacy": "public",
38295
- "default": "''",
38296
- "description": "Where to display the linked URL.",
38297
- "attribute": "target",
38298
- "reflects": true,
38345
+ "description": "To be called whenever the current element needs to be validated.",
38299
38346
  "inheritedFrom": {
38300
- "name": "SbbLinkBaseElement",
38301
- "module": "core/base-elements/link-base-element.js"
38347
+ "name": "SbbFormAssociatedMixin",
38348
+ "module": "core/mixins/form-associated-mixin.js"
38302
38349
  }
38303
38350
  },
38304
38351
  {
38305
- "kind": "field",
38306
- "name": "rel",
38307
- "type": {
38308
- "text": "string"
38352
+ "kind": "method",
38353
+ "name": "shouldValidate",
38354
+ "privacy": "protected",
38355
+ "return": {
38356
+ "type": {
38357
+ "text": "boolean"
38358
+ }
38309
38359
  },
38310
- "privacy": "public",
38311
- "default": "''",
38312
- "description": "The relationship of the linked URL as space-separated link types.",
38313
- "attribute": "rel",
38314
- "reflects": true,
38360
+ "parameters": [
38361
+ {
38362
+ "name": "name",
38363
+ "type": {
38364
+ "text": "PropertyKey | undefined"
38365
+ }
38366
+ }
38367
+ ],
38368
+ "description": "Whether validation should be run on a property change with the given name.",
38315
38369
  "inheritedFrom": {
38316
- "name": "SbbLinkBaseElement",
38317
- "module": "core/base-elements/link-base-element.js"
38370
+ "name": "SbbFormAssociatedMixin",
38371
+ "module": "core/mixins/form-associated-mixin.js"
38318
38372
  }
38319
38373
  },
38320
38374
  {
38321
- "kind": "field",
38322
- "name": "download",
38323
- "type": {
38324
- "text": "boolean"
38375
+ "kind": "method",
38376
+ "name": "_setInternalValidity",
38377
+ "privacy": "private",
38378
+ "return": {
38379
+ "type": {
38380
+ "text": "void"
38381
+ }
38325
38382
  },
38326
- "privacy": "public",
38327
- "default": "false",
38328
- "description": "Whether the browser will show the download dialog on click.",
38329
- "attribute": "download",
38330
- "reflects": true,
38331
38383
  "inheritedFrom": {
38332
- "name": "SbbLinkBaseElement",
38333
- "module": "core/base-elements/link-base-element.js"
38384
+ "name": "SbbFormAssociatedMixin",
38385
+ "module": "core/mixins/form-associated-mixin.js"
38334
38386
  }
38335
38387
  },
38336
38388
  {
38337
38389
  "kind": "field",
38338
- "name": "accessibilityLabel",
38390
+ "name": "role",
38339
38391
  "type": {
38340
- "text": "string"
38392
+ "text": "ElementInternals['role']"
38341
38393
  },
38342
38394
  "privacy": "public",
38343
- "default": "''",
38344
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38345
- "attribute": "accessibility-label",
38395
+ "static": true,
38396
+ "readonly": true,
38397
+ "default": "'button'",
38346
38398
  "inheritedFrom": {
38347
- "name": "SbbLinkBaseElement",
38348
- "module": "core/base-elements/link-base-element.js"
38399
+ "name": "SbbButtonLikeBaseElement",
38400
+ "module": "core/base-elements/button-base-element.js"
38349
38401
  }
38350
38402
  },
38351
38403
  {
38352
38404
  "kind": "field",
38353
- "name": "accessibilityCurrent",
38354
- "type": {
38355
- "text": "string"
38356
- },
38357
- "privacy": "public",
38358
- "default": "''",
38359
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38360
- "attribute": "accessibility-current",
38405
+ "name": "_preventScrollOnSpaceKeydown",
38406
+ "privacy": "private",
38407
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
38408
+ "parameters": [
38409
+ {
38410
+ "description": "The origin event.",
38411
+ "name": "event"
38412
+ }
38413
+ ],
38361
38414
  "inheritedFrom": {
38362
- "name": "SbbLinkBaseElement",
38363
- "module": "core/base-elements/link-base-element.js"
38415
+ "name": "SbbButtonLikeBaseElement",
38416
+ "module": "core/base-elements/button-base-element.js"
38364
38417
  }
38365
38418
  },
38366
38419
  {
38367
38420
  "kind": "field",
38368
- "name": "language",
38369
- "privacy": "protected",
38370
- "default": "new SbbLanguageController(this)",
38421
+ "name": "_removeActiveMarker",
38422
+ "privacy": "private",
38371
38423
  "inheritedFrom": {
38372
- "name": "SbbLinkBaseElement",
38373
- "module": "core/base-elements/link-base-element.js"
38424
+ "name": "SbbButtonLikeBaseElement",
38425
+ "module": "core/base-elements/button-base-element.js"
38374
38426
  }
38375
38427
  },
38376
38428
  {
38377
38429
  "kind": "field",
38378
- "name": "anchorRole",
38379
- "type": {
38380
- "text": "string | null"
38381
- },
38382
- "privacy": "protected",
38383
- "readonly": true,
38384
- "default": "null",
38430
+ "name": "_dispatchClickEventOnSpaceKeyup",
38431
+ "privacy": "private",
38432
+ "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.",
38433
+ "parameters": [
38434
+ {
38435
+ "description": "The origin event.",
38436
+ "name": "event"
38437
+ }
38438
+ ],
38385
38439
  "inheritedFrom": {
38386
- "name": "SbbLinkBaseElement",
38387
- "module": "core/base-elements/link-base-element.js"
38440
+ "name": "SbbButtonLikeBaseElement",
38441
+ "module": "core/base-elements/button-base-element.js"
38388
38442
  }
38389
38443
  },
38390
38444
  {
38391
38445
  "kind": "field",
38392
- "name": "_evaluateRelAttribute",
38446
+ "name": "_dispatchClickEvent",
38393
38447
  "privacy": "private",
38394
38448
  "inheritedFrom": {
38395
- "name": "SbbLinkBaseElement",
38396
- "module": "core/base-elements/link-base-element.js"
38397
- }
38398
- },
38399
- {
38400
- "kind": "method",
38401
- "name": "renderLink",
38402
- "privacy": "protected",
38403
- "return": {
38404
- "type": {
38405
- "text": "TemplateResult"
38406
- }
38407
- },
38408
- "parameters": [
38409
- {
38410
- "name": "renderContent",
38411
- "type": {
38412
- "text": "TemplateResult"
38413
- }
38414
- }
38415
- ],
38416
- "inheritedFrom": {
38417
- "name": "SbbLinkBaseElement",
38418
- "module": "core/base-elements/link-base-element.js"
38449
+ "name": "SbbButtonLikeBaseElement",
38450
+ "module": "core/base-elements/button-base-element.js"
38419
38451
  }
38420
38452
  },
38421
38453
  {
@@ -38570,19 +38602,15 @@
38570
38602
  "module": "button/common/button-common.js"
38571
38603
  },
38572
38604
  {
38573
- "name": "SbbDisabledInteractiveMixin",
38574
- "module": "core/mixins.js"
38575
- },
38576
- {
38577
- "name": "SbbDisabledMixin",
38605
+ "name": "SbbDisabledTabIndexActionMixin",
38578
38606
  "module": "core/mixins.js"
38579
38607
  }
38580
38608
  ],
38581
38609
  "superclass": {
38582
- "name": "SbbLinkBaseElement",
38610
+ "name": "SbbButtonBaseElement",
38583
38611
  "module": "core/base-elements.js"
38584
38612
  },
38585
- "tagName": "sbb-accent-button-link",
38613
+ "tagName": "sbb-accent-button",
38586
38614
  "customElement": true,
38587
38615
  "attributes": [
38588
38616
  {
@@ -38664,81 +38692,53 @@
38664
38692
  }
38665
38693
  },
38666
38694
  {
38667
- "name": "href",
38668
- "type": {
38669
- "text": "string"
38670
- },
38671
- "default": "''",
38672
- "description": "The href value you want to link to.",
38673
- "fieldName": "href",
38674
- "inheritedFrom": {
38675
- "name": "SbbLinkBaseElement",
38676
- "module": "core/base-elements/link-base-element.js"
38677
- }
38678
- },
38679
- {
38680
- "name": "target",
38681
- "type": {
38682
- "text": "LinkTargetType | string"
38683
- },
38684
- "default": "''",
38685
- "description": "Where to display the linked URL.",
38686
- "fieldName": "target",
38687
- "inheritedFrom": {
38688
- "name": "SbbLinkBaseElement",
38689
- "module": "core/base-elements/link-base-element.js"
38690
- }
38691
- },
38692
- {
38693
- "name": "rel",
38695
+ "name": "value",
38694
38696
  "type": {
38695
38697
  "text": "string"
38696
38698
  },
38697
38699
  "default": "''",
38698
- "description": "The relationship of the linked URL as space-separated link types.",
38699
- "fieldName": "rel",
38700
+ "description": "Value of the form element.",
38701
+ "fieldName": "value",
38700
38702
  "inheritedFrom": {
38701
- "name": "SbbLinkBaseElement",
38702
- "module": "core/base-elements/link-base-element.js"
38703
+ "name": "SbbButtonBaseElement",
38704
+ "module": "core/base-elements/button-base-element.js"
38703
38705
  }
38704
38706
  },
38705
38707
  {
38706
- "name": "download",
38708
+ "name": "type",
38709
+ "description": "The type attribute to use for the button.",
38710
+ "default": "'button'",
38707
38711
  "type": {
38708
- "text": "boolean"
38712
+ "text": "SbbButtonType"
38709
38713
  },
38710
- "default": "false",
38711
- "description": "Whether the browser will show the download dialog on click.",
38712
- "fieldName": "download",
38714
+ "fieldName": "type",
38713
38715
  "inheritedFrom": {
38714
- "name": "SbbLinkBaseElement",
38715
- "module": "core/base-elements/link-base-element.js"
38716
+ "name": "SbbButtonBaseElement",
38717
+ "module": "core/base-elements/button-base-element.js"
38716
38718
  }
38717
38719
  },
38718
38720
  {
38719
- "name": "accessibility-label",
38721
+ "name": "form",
38722
+ "description": "The `<form>` element to associate the button with.",
38720
38723
  "type": {
38721
- "text": "string"
38724
+ "text": "HTMLFormElement | null"
38722
38725
  },
38723
- "default": "''",
38724
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38725
- "fieldName": "accessibilityLabel",
38726
+ "fieldName": "form",
38726
38727
  "inheritedFrom": {
38727
- "name": "SbbLinkBaseElement",
38728
- "module": "core/base-elements/link-base-element.js"
38728
+ "name": "SbbButtonBaseElement",
38729
+ "module": "core/base-elements/button-base-element.js"
38729
38730
  }
38730
38731
  },
38731
38732
  {
38732
- "name": "accessibility-current",
38733
+ "name": "name",
38734
+ "description": "Name of the form element. Will be read from name attribute.",
38733
38735
  "type": {
38734
38736
  "text": "string"
38735
38737
  },
38736
- "default": "''",
38737
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38738
- "fieldName": "accessibilityCurrent",
38738
+ "fieldName": "name",
38739
38739
  "inheritedFrom": {
38740
- "name": "SbbLinkBaseElement",
38741
- "module": "core/base-elements/link-base-element.js"
38740
+ "name": "SbbFormAssociatedMixin",
38741
+ "module": "core/mixins/form-associated-mixin.js"
38742
38742
  }
38743
38743
  }
38744
38744
  ]
@@ -38747,10 +38747,10 @@
38747
38747
  "exports": [
38748
38748
  {
38749
38749
  "kind": "js",
38750
- "name": "SbbAccentButtonLinkElement",
38750
+ "name": "SbbAccentButtonElement",
38751
38751
  "declaration": {
38752
- "name": "SbbAccentButtonLinkElement",
38753
- "module": "button/accent-button-link/accent-button-link.component.js"
38752
+ "name": "SbbAccentButtonElement",
38753
+ "module": "button/accent-button/accent-button.component.js"
38754
38754
  }
38755
38755
  }
38756
38756
  ]
@@ -77903,26 +77903,6 @@
77903
77903
  }
77904
77904
  ]
77905
77905
  },
77906
- {
77907
- "kind": "javascript-module",
77908
- "path": "core/styles/styles.js",
77909
- "declarations": [
77910
- {
77911
- "kind": "variable",
77912
- "name": "boxSizingStyles"
77913
- }
77914
- ],
77915
- "exports": [
77916
- {
77917
- "kind": "js",
77918
- "name": "boxSizingStyles",
77919
- "declaration": {
77920
- "name": "boxSizingStyles",
77921
- "module": "core/styles/styles.js"
77922
- }
77923
- }
77924
- ]
77925
- },
77926
77906
  {
77927
77907
  "kind": "javascript-module",
77928
77908
  "path": "core/testing/event-spy.js",
@@ -78320,6 +78300,26 @@
78320
78300
  }
78321
78301
  ]
78322
78302
  },
78303
+ {
78304
+ "kind": "javascript-module",
78305
+ "path": "core/styles/styles.js",
78306
+ "declarations": [
78307
+ {
78308
+ "kind": "variable",
78309
+ "name": "boxSizingStyles"
78310
+ }
78311
+ ],
78312
+ "exports": [
78313
+ {
78314
+ "kind": "js",
78315
+ "name": "boxSizingStyles",
78316
+ "declaration": {
78317
+ "name": "boxSizingStyles",
78318
+ "module": "core/styles/styles.js"
78319
+ }
78320
+ }
78321
+ ]
78322
+ },
78323
78323
  {
78324
78324
  "kind": "javascript-module",
78325
78325
  "path": "datepicker/common/datepicker-button.js",