@sbb-esta/lyne-elements-dev 5.0.0-next.2-dev.1778105096 → 5.0.0-next.2-dev.1778136147

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/custom-elements.json +1969 -1969
  2. package/package.json +2 -2
@@ -75140,646 +75140,6 @@
75140
75140
  }
75141
75141
  ]
75142
75142
  },
75143
- {
75144
- "kind": "javascript-module",
75145
- "path": "container/sticky-bar/sticky-bar.component.js",
75146
- "declarations": [
75147
- {
75148
- "kind": "class",
75149
- "description": "A container that sticks to the bottom of the page if slotted into `sbb-container`.",
75150
- "name": "SbbStickyBarElement",
75151
- "cssProperties": [
75152
- {
75153
- "description": "Block padding of the sticky bar.",
75154
- "name": "--sbb-sticky-bar-padding-block",
75155
- "default": "var(--sbb-spacing-responsive-xs)"
75156
- },
75157
- {
75158
- "description": "Define an additional area where the sticky bar overlaps the following content on the bottom. This area becomes visible when the sticky bar transitions from sticky to the normal document flow.",
75159
- "name": "--sbb-sticky-bar-bottom-overlapping-height",
75160
- "default": "0px"
75161
- },
75162
- {
75163
- "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable.",
75164
- "name": "--sbb-sticky-bar-z-index"
75165
- }
75166
- ],
75167
- "slots": [
75168
- {
75169
- "description": "Use the unnamed slot to add content to the sticky bar.",
75170
- "name": ""
75171
- }
75172
- ],
75173
- "members": [
75174
- {
75175
- "kind": "field",
75176
- "name": "elementName",
75177
- "type": {
75178
- "text": "string"
75179
- },
75180
- "privacy": "public",
75181
- "static": true,
75182
- "readonly": true,
75183
- "default": "'sbb-sticky-bar'",
75184
- "inheritedFrom": {
75185
- "name": "SbbElement",
75186
- "module": "core/base-elements/element.js"
75187
- }
75188
- },
75189
- {
75190
- "kind": "field",
75191
- "name": "events",
75192
- "privacy": "public",
75193
- "static": true,
75194
- "readonly": true,
75195
- "default": "{ beforestick: 'beforestick', stick: 'stick', beforeunstick: 'beforeunstick', unstick: 'unstick', }",
75196
- "type": {
75197
- "text": "{\n beforestick: 'beforestick',\n stick: 'stick',\n beforeunstick: 'beforeunstick',\n unstick: 'unstick',\n }"
75198
- }
75199
- },
75200
- {
75201
- "kind": "field",
75202
- "name": "color",
75203
- "type": {
75204
- "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
75205
- },
75206
- "privacy": "public",
75207
- "default": "null",
75208
- "description": "Color of the container, like transparent, white etc.",
75209
- "attribute": "color",
75210
- "reflects": true
75211
- },
75212
- {
75213
- "kind": "field",
75214
- "name": "size",
75215
- "type": {
75216
- "text": "'m' | 's'"
75217
- },
75218
- "privacy": "public",
75219
- "description": "Size of the container.",
75220
- "default": "'m' / 's' (lean)",
75221
- "attribute": "size",
75222
- "reflects": true
75223
- },
75224
- {
75225
- "kind": "field",
75226
- "name": "_state",
75227
- "privacy": "private",
75228
- "description": "The state of the component.",
75229
- "type": {
75230
- "text": "StickyState"
75231
- },
75232
- "default": "'sticky'"
75233
- },
75234
- {
75235
- "kind": "field",
75236
- "name": "_stateInternal",
75237
- "type": {
75238
- "text": "StickyState"
75239
- },
75240
- "privacy": "private"
75241
- },
75242
- {
75243
- "kind": "field",
75244
- "name": "_intersector",
75245
- "type": {
75246
- "text": "HTMLSpanElement | undefined"
75247
- },
75248
- "privacy": "private"
75249
- },
75250
- {
75251
- "kind": "field",
75252
- "name": "_observer",
75253
- "privacy": "private",
75254
- "default": "new IntersectionController(this, { // Although `this` is observed, we have to postpone observing // into firstUpdated() to achieve a correct initial state. target: null, callback: (entries) => this._detectStickyState(entries[0]), })"
75255
- },
75256
- {
75257
- "kind": "method",
75258
- "name": "_isZeroAnimationDuration",
75259
- "privacy": "private",
75260
- "return": {
75261
- "type": {
75262
- "text": "boolean"
75263
- }
75264
- }
75265
- },
75266
- {
75267
- "kind": "method",
75268
- "name": "_detectStickyState",
75269
- "privacy": "private",
75270
- "return": {
75271
- "type": {
75272
- "text": "void"
75273
- }
75274
- },
75275
- "parameters": [
75276
- {
75277
- "name": "entry",
75278
- "type": {
75279
- "text": "IntersectionObserverEntry"
75280
- }
75281
- }
75282
- ]
75283
- },
75284
- {
75285
- "kind": "method",
75286
- "name": "stick",
75287
- "privacy": "public",
75288
- "return": {
75289
- "type": {
75290
- "text": "void"
75291
- }
75292
- },
75293
- "description": "Animates from normal content flow position to `position: sticky`."
75294
- },
75295
- {
75296
- "kind": "method",
75297
- "name": "unstick",
75298
- "privacy": "public",
75299
- "return": {
75300
- "type": {
75301
- "text": "void"
75302
- }
75303
- },
75304
- "description": "Animates `position: sticky` to normal content flow position."
75305
- },
75306
- {
75307
- "kind": "method",
75308
- "name": "_stickyCallback",
75309
- "privacy": "private",
75310
- "return": {
75311
- "type": {
75312
- "text": "void"
75313
- }
75314
- }
75315
- },
75316
- {
75317
- "kind": "method",
75318
- "name": "_unstickyCallback",
75319
- "privacy": "private",
75320
- "return": {
75321
- "type": {
75322
- "text": "void"
75323
- }
75324
- }
75325
- },
75326
- {
75327
- "kind": "method",
75328
- "name": "_onAnimationEnd",
75329
- "privacy": "private",
75330
- "return": {
75331
- "type": {
75332
- "text": "void"
75333
- }
75334
- },
75335
- "parameters": [
75336
- {
75337
- "name": "event",
75338
- "type": {
75339
- "text": "AnimationEvent"
75340
- }
75341
- }
75342
- ]
75343
- },
75344
- {
75345
- "kind": "method",
75346
- "name": "_dispatchBeforeStickEvent",
75347
- "privacy": "private",
75348
- "return": {
75349
- "type": {
75350
- "text": "boolean"
75351
- }
75352
- }
75353
- },
75354
- {
75355
- "kind": "method",
75356
- "name": "_dispatchBeforeUnStickEvent",
75357
- "privacy": "private",
75358
- "return": {
75359
- "type": {
75360
- "text": "boolean"
75361
- }
75362
- }
75363
- },
75364
- {
75365
- "kind": "field",
75366
- "name": "_updatePromise",
75367
- "privacy": "private",
75368
- "inheritedFrom": {
75369
- "name": "SbbUpdateSchedulerMixin",
75370
- "module": "core/mixins/update-scheduler-mixin.js"
75371
- }
75372
- },
75373
- {
75374
- "kind": "field",
75375
- "name": "_updateResolve",
75376
- "privacy": "private",
75377
- "inheritedFrom": {
75378
- "name": "SbbUpdateSchedulerMixin",
75379
- "module": "core/mixins/update-scheduler-mixin.js"
75380
- }
75381
- },
75382
- {
75383
- "kind": "method",
75384
- "name": "startUpdate",
75385
- "privacy": "protected",
75386
- "return": {
75387
- "type": {
75388
- "text": "void"
75389
- }
75390
- },
75391
- "inheritedFrom": {
75392
- "name": "SbbUpdateSchedulerMixin",
75393
- "module": "core/mixins/update-scheduler-mixin.js"
75394
- }
75395
- },
75396
- {
75397
- "kind": "method",
75398
- "name": "completeUpdate",
75399
- "privacy": "protected",
75400
- "return": {
75401
- "type": {
75402
- "text": "void"
75403
- }
75404
- },
75405
- "inheritedFrom": {
75406
- "name": "SbbUpdateSchedulerMixin",
75407
- "module": "core/mixins/update-scheduler-mixin.js"
75408
- }
75409
- },
75410
- {
75411
- "kind": "method",
75412
- "name": "getUpdateComplete",
75413
- "privacy": "protected",
75414
- "return": {
75415
- "type": {
75416
- "text": "Promise<boolean>"
75417
- }
75418
- },
75419
- "inheritedFrom": {
75420
- "name": "SbbUpdateSchedulerMixin",
75421
- "module": "core/mixins/update-scheduler-mixin.js"
75422
- }
75423
- },
75424
- {
75425
- "kind": "field",
75426
- "name": "['_$sbbElement$']",
75427
- "type": {
75428
- "text": "boolean"
75429
- },
75430
- "privacy": "public",
75431
- "static": true,
75432
- "default": "true",
75433
- "inheritedFrom": {
75434
- "name": "SbbElement",
75435
- "module": "core/base-elements/element.js"
75436
- }
75437
- },
75438
- {
75439
- "kind": "field",
75440
- "name": "elementDependencies",
75441
- "type": {
75442
- "text": "SbbElementType[] | undefined"
75443
- },
75444
- "privacy": "public",
75445
- "static": true,
75446
- "inheritedFrom": {
75447
- "name": "SbbElement",
75448
- "module": "core/base-elements/element.js"
75449
- }
75450
- },
75451
- {
75452
- "kind": "field",
75453
- "name": "role",
75454
- "type": {
75455
- "text": "ElementInternals['role'] | undefined"
75456
- },
75457
- "privacy": "public",
75458
- "static": true,
75459
- "inheritedFrom": {
75460
- "name": "SbbElement",
75461
- "module": "core/base-elements/element.js"
75462
- }
75463
- },
75464
- {
75465
- "kind": "field",
75466
- "name": "_controllers",
75467
- "type": {
75468
- "text": "Set<SbbReactiveController> | undefined"
75469
- },
75470
- "privacy": "private",
75471
- "inheritedFrom": {
75472
- "name": "SbbElement",
75473
- "module": "core/base-elements/element.js"
75474
- }
75475
- },
75476
- {
75477
- "kind": "field",
75478
- "name": "_hydrationRequired",
75479
- "type": {
75480
- "text": "boolean"
75481
- },
75482
- "privacy": "private",
75483
- "default": "!!this.shadowRoot",
75484
- "inheritedFrom": {
75485
- "name": "SbbElement",
75486
- "module": "core/base-elements/element.js"
75487
- }
75488
- },
75489
- {
75490
- "kind": "field",
75491
- "name": "_hydrationComplete",
75492
- "privacy": "private",
75493
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
75494
- "inheritedFrom": {
75495
- "name": "SbbElement",
75496
- "module": "core/base-elements/element.js"
75497
- }
75498
- },
75499
- {
75500
- "kind": "field",
75501
- "name": "_resolveHydration",
75502
- "type": {
75503
- "text": "(hydrationRequired: boolean) => void"
75504
- },
75505
- "privacy": "private",
75506
- "inheritedFrom": {
75507
- "name": "SbbElement",
75508
- "module": "core/base-elements/element.js"
75509
- }
75510
- },
75511
- {
75512
- "kind": "field",
75513
- "name": "_textObserver",
75514
- "type": {
75515
- "text": "MutationObserver | undefined"
75516
- },
75517
- "privacy": "private",
75518
- "inheritedFrom": {
75519
- "name": "SbbElement",
75520
- "module": "core/base-elements/element.js"
75521
- }
75522
- },
75523
- {
75524
- "kind": "field",
75525
- "name": "hydrationRequired",
75526
- "type": {
75527
- "text": "boolean"
75528
- },
75529
- "privacy": "protected",
75530
- "description": "Returns whether hydration is required and not completed.",
75531
- "readonly": true,
75532
- "inheritedFrom": {
75533
- "name": "SbbElement",
75534
- "module": "core/base-elements/element.js"
75535
- },
75536
- "default": "!!this.shadowRoot"
75537
- },
75538
- {
75539
- "kind": "method",
75540
- "name": "finalizeStyles",
75541
- "privacy": "protected",
75542
- "static": true,
75543
- "return": {
75544
- "type": {
75545
- "text": "CSSResultOrNative[]"
75546
- }
75547
- },
75548
- "parameters": [
75549
- {
75550
- "name": "_styles",
75551
- "type": {
75552
- "text": "CSSResultGroup"
75553
- }
75554
- }
75555
- ],
75556
- "description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
75557
- "inheritedFrom": {
75558
- "name": "SbbElement",
75559
- "module": "core/base-elements/element.js"
75560
- }
75561
- },
75562
- {
75563
- "kind": "method",
75564
- "name": "toggleState",
75565
- "privacy": "protected",
75566
- "return": {
75567
- "type": {
75568
- "text": "void"
75569
- }
75570
- },
75571
- "parameters": [
75572
- {
75573
- "name": "value",
75574
- "type": {
75575
- "text": "string"
75576
- }
75577
- },
75578
- {
75579
- "name": "force",
75580
- "optional": true,
75581
- "type": {
75582
- "text": "boolean"
75583
- }
75584
- }
75585
- ],
75586
- "inheritedFrom": {
75587
- "name": "SbbElement",
75588
- "module": "core/base-elements/element.js"
75589
- }
75590
- },
75591
- {
75592
- "kind": "method",
75593
- "name": "_slotchangeHandler",
75594
- "privacy": "private",
75595
- "return": {
75596
- "type": {
75597
- "text": "void"
75598
- }
75599
- },
75600
- "parameters": [
75601
- {
75602
- "name": "event",
75603
- "type": {
75604
- "text": "Event"
75605
- }
75606
- },
75607
- {
75608
- "name": "slot",
75609
- "type": {
75610
- "text": "HTMLSlotElement"
75611
- }
75612
- }
75613
- ],
75614
- "inheritedFrom": {
75615
- "name": "SbbElement",
75616
- "module": "core/base-elements/element.js"
75617
- }
75618
- },
75619
- {
75620
- "kind": "method",
75621
- "name": "_handleSlotChangeForSlottedState",
75622
- "privacy": "private",
75623
- "return": {
75624
- "type": {
75625
- "text": "void"
75626
- }
75627
- },
75628
- "parameters": [
75629
- {
75630
- "name": "slot",
75631
- "type": {
75632
- "text": "HTMLSlotElement"
75633
- }
75634
- }
75635
- ],
75636
- "inheritedFrom": {
75637
- "name": "SbbElement",
75638
- "module": "core/base-elements/element.js"
75639
- }
75640
- },
75641
- {
75642
- "kind": "method",
75643
- "name": "_updateSlottedState",
75644
- "privacy": "private",
75645
- "return": {
75646
- "type": {
75647
- "text": "void"
75648
- }
75649
- },
75650
- "parameters": [
75651
- {
75652
- "name": "slot",
75653
- "type": {
75654
- "text": "HTMLSlotElement"
75655
- }
75656
- }
75657
- ],
75658
- "inheritedFrom": {
75659
- "name": "SbbElement",
75660
- "module": "core/base-elements/element.js"
75661
- }
75662
- },
75663
- {
75664
- "kind": "method",
75665
- "name": "_observeTextNodesInSlot",
75666
- "privacy": "private",
75667
- "return": {
75668
- "type": {
75669
- "text": "void"
75670
- }
75671
- },
75672
- "parameters": [
75673
- {
75674
- "name": "slot",
75675
- "type": {
75676
- "text": "HTMLSlotElement"
75677
- }
75678
- }
75679
- ],
75680
- "inheritedFrom": {
75681
- "name": "SbbElement",
75682
- "module": "core/base-elements/element.js"
75683
- }
75684
- },
75685
- {
75686
- "kind": "method",
75687
- "name": "_hasSlottedContent",
75688
- "privacy": "private",
75689
- "return": {
75690
- "type": {
75691
- "text": "boolean"
75692
- }
75693
- },
75694
- "parameters": [
75695
- {
75696
- "name": "slot",
75697
- "type": {
75698
- "text": "HTMLSlotElement"
75699
- }
75700
- }
75701
- ],
75702
- "inheritedFrom": {
75703
- "name": "SbbElement",
75704
- "module": "core/base-elements/element.js"
75705
- }
75706
- }
75707
- ],
75708
- "events": [
75709
- {
75710
- "name": "stick",
75711
- "type": {
75712
- "text": "Event"
75713
- },
75714
- "description": "Emits when the animation from normal content flow to `position: sticky` ends."
75715
- },
75716
- {
75717
- "name": "unstick",
75718
- "type": {
75719
- "text": "Event"
75720
- },
75721
- "description": "Emits when the animation from `position: sticky` to normal content flow ends."
75722
- },
75723
- {
75724
- "name": "beforestick",
75725
- "type": {
75726
- "text": "Event"
75727
- },
75728
- "description": "Emits when the animation from normal content flow to `position: sticky` starts. Can be canceled."
75729
- },
75730
- {
75731
- "name": "beforeunstick",
75732
- "type": {
75733
- "text": "Event"
75734
- },
75735
- "description": "Emits when the animation from `position: sticky` to normal content flow starts. Can be canceled."
75736
- }
75737
- ],
75738
- "attributes": [
75739
- {
75740
- "name": "color",
75741
- "type": {
75742
- "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
75743
- },
75744
- "default": "null",
75745
- "description": "Color of the container, like transparent, white etc.",
75746
- "fieldName": "color"
75747
- },
75748
- {
75749
- "name": "size",
75750
- "type": {
75751
- "text": "'m' | 's'"
75752
- },
75753
- "description": "Size of the container.",
75754
- "default": "'m' / 's' (lean)",
75755
- "fieldName": "size"
75756
- }
75757
- ],
75758
- "mixins": [
75759
- {
75760
- "name": "SbbUpdateSchedulerMixin",
75761
- "module": "core.js"
75762
- }
75763
- ],
75764
- "superclass": {
75765
- "name": "SbbElement",
75766
- "module": "core.js"
75767
- },
75768
- "tagName": "sbb-sticky-bar",
75769
- "customElement": true
75770
- }
75771
- ],
75772
- "exports": [
75773
- {
75774
- "kind": "js",
75775
- "name": "SbbStickyBarElement",
75776
- "declaration": {
75777
- "name": "SbbStickyBarElement",
75778
- "module": "container/sticky-bar/sticky-bar.component.js"
75779
- }
75780
- }
75781
- ]
75782
- },
75783
75143
  {
75784
75144
  "kind": "javascript-module",
75785
75145
  "path": "core/a11y/arrow-navigation.js",
@@ -76041,7 +75401,446 @@
76041
75401
  },
76042
75402
  {
76043
75403
  "kind": "method",
76044
- "name": "focusInitialElement",
75404
+ "name": "focusInitialElement",
75405
+ "privacy": "public",
75406
+ "return": {
75407
+ "type": {
75408
+ "text": ""
75409
+ }
75410
+ },
75411
+ "parameters": [
75412
+ {
75413
+ "name": "options",
75414
+ "optional": true,
75415
+ "type": {
75416
+ "text": "FocusOptions"
75417
+ }
75418
+ }
75419
+ ],
75420
+ "description": "Focuses the element that should be focused when the focus trap is initialized."
75421
+ },
75422
+ {
75423
+ "kind": "method",
75424
+ "name": "focusFirstTabbableElement",
75425
+ "privacy": "public",
75426
+ "return": {
75427
+ "type": {
75428
+ "text": ""
75429
+ }
75430
+ },
75431
+ "parameters": [
75432
+ {
75433
+ "name": "options",
75434
+ "optional": true,
75435
+ "type": {
75436
+ "text": "FocusOptions"
75437
+ }
75438
+ }
75439
+ ],
75440
+ "description": "Focuses the first tabbable element within the focus trap region."
75441
+ },
75442
+ {
75443
+ "kind": "method",
75444
+ "name": "focusLastTabbableElement",
75445
+ "privacy": "public",
75446
+ "return": {
75447
+ "type": {
75448
+ "text": ""
75449
+ }
75450
+ },
75451
+ "parameters": [
75452
+ {
75453
+ "name": "options",
75454
+ "optional": true,
75455
+ "type": {
75456
+ "text": "FocusOptions"
75457
+ }
75458
+ }
75459
+ ],
75460
+ "description": "Focuses the last tabbable element within the focus trap region."
75461
+ },
75462
+ {
75463
+ "kind": "method",
75464
+ "name": "_trap",
75465
+ "privacy": "private",
75466
+ "return": {
75467
+ "type": {
75468
+ "text": "void"
75469
+ }
75470
+ }
75471
+ },
75472
+ {
75473
+ "kind": "method",
75474
+ "name": "_getFirstTabbableElement",
75475
+ "privacy": "private",
75476
+ "return": {
75477
+ "type": {
75478
+ "text": "HTMLElement | null"
75479
+ }
75480
+ },
75481
+ "parameters": [
75482
+ {
75483
+ "name": "root",
75484
+ "type": {
75485
+ "text": "HTMLElement"
75486
+ }
75487
+ }
75488
+ ],
75489
+ "description": "Get the first tabbable element from a DOM subtree (inclusive)."
75490
+ },
75491
+ {
75492
+ "kind": "method",
75493
+ "name": "_getLastTabbableElement",
75494
+ "privacy": "private",
75495
+ "return": {
75496
+ "type": {
75497
+ "text": "HTMLElement | null"
75498
+ }
75499
+ },
75500
+ "parameters": [
75501
+ {
75502
+ "name": "root",
75503
+ "type": {
75504
+ "text": "HTMLElement"
75505
+ }
75506
+ }
75507
+ ],
75508
+ "description": "Get the last tabbable element from a DOM subtree (inclusive)."
75509
+ },
75510
+ {
75511
+ "kind": "method",
75512
+ "name": "_untrap",
75513
+ "privacy": "private",
75514
+ "return": {
75515
+ "type": {
75516
+ "text": "void"
75517
+ }
75518
+ }
75519
+ }
75520
+ ]
75521
+ }
75522
+ ],
75523
+ "exports": [
75524
+ {
75525
+ "kind": "js",
75526
+ "name": "SbbFocusTrapController",
75527
+ "declaration": {
75528
+ "name": "SbbFocusTrapController",
75529
+ "module": "core/a11y/focus-trap-controller.js"
75530
+ }
75531
+ }
75532
+ ]
75533
+ },
75534
+ {
75535
+ "kind": "javascript-module",
75536
+ "path": "core/a11y/focus-visible-within-controller.js",
75537
+ "declarations": [
75538
+ {
75539
+ "kind": "class",
75540
+ "description": "",
75541
+ "name": "SbbFocusVisibleWithinController",
75542
+ "members": [
75543
+ {
75544
+ "kind": "field",
75545
+ "name": "_focusinHandler",
75546
+ "privacy": "private"
75547
+ },
75548
+ {
75549
+ "kind": "field",
75550
+ "name": "_focusoutHandler",
75551
+ "privacy": "private"
75552
+ },
75553
+ {
75554
+ "kind": "method",
75555
+ "name": "hostConnected",
75556
+ "privacy": "public",
75557
+ "return": {
75558
+ "type": {
75559
+ "text": "void"
75560
+ }
75561
+ }
75562
+ },
75563
+ {
75564
+ "kind": "method",
75565
+ "name": "hostDisconnected",
75566
+ "privacy": "public",
75567
+ "return": {
75568
+ "type": {
75569
+ "text": "void"
75570
+ }
75571
+ }
75572
+ }
75573
+ ]
75574
+ }
75575
+ ],
75576
+ "exports": [
75577
+ {
75578
+ "kind": "js",
75579
+ "name": "SbbFocusVisibleWithinController",
75580
+ "declaration": {
75581
+ "name": "SbbFocusVisibleWithinController",
75582
+ "module": "core/a11y/focus-visible-within-controller.js"
75583
+ }
75584
+ }
75585
+ ]
75586
+ },
75587
+ {
75588
+ "kind": "javascript-module",
75589
+ "path": "core/a11y/focus.js",
75590
+ "declarations": [
75591
+ {
75592
+ "kind": "variable",
75593
+ "name": "IS_FOCUSABLE_QUERY"
75594
+ }
75595
+ ],
75596
+ "exports": [
75597
+ {
75598
+ "kind": "js",
75599
+ "name": "IS_FOCUSABLE_QUERY",
75600
+ "declaration": {
75601
+ "name": "IS_FOCUSABLE_QUERY",
75602
+ "module": "core/a11y/focus.js"
75603
+ }
75604
+ }
75605
+ ]
75606
+ },
75607
+ {
75608
+ "kind": "javascript-module",
75609
+ "path": "core/a11y/input-modality-detector.js",
75610
+ "declarations": [
75611
+ {
75612
+ "kind": "variable",
75613
+ "name": "CONTROL",
75614
+ "type": {
75615
+ "text": "number"
75616
+ },
75617
+ "default": "17"
75618
+ },
75619
+ {
75620
+ "kind": "variable",
75621
+ "name": "META",
75622
+ "type": {
75623
+ "text": "number"
75624
+ },
75625
+ "default": "91"
75626
+ },
75627
+ {
75628
+ "kind": "variable",
75629
+ "name": "MAC_META",
75630
+ "type": {
75631
+ "text": "number"
75632
+ },
75633
+ "default": "224"
75634
+ },
75635
+ {
75636
+ "kind": "variable",
75637
+ "name": "sbbInputModalityDetector",
75638
+ "default": "new SbbInputModalityDetector()"
75639
+ }
75640
+ ],
75641
+ "exports": [
75642
+ {
75643
+ "kind": "js",
75644
+ "name": "sbbInputModalityDetector",
75645
+ "declaration": {
75646
+ "name": "sbbInputModalityDetector",
75647
+ "module": "core/a11y/input-modality-detector.js"
75648
+ }
75649
+ }
75650
+ ]
75651
+ },
75652
+ {
75653
+ "kind": "javascript-module",
75654
+ "path": "core/a11y/interactivity-checker.js",
75655
+ "declarations": [
75656
+ {
75657
+ "kind": "class",
75658
+ "description": "Configuration for the isFocusable method.",
75659
+ "name": "IsFocusableConfig",
75660
+ "members": [
75661
+ {
75662
+ "kind": "field",
75663
+ "name": "ignoreVisibility",
75664
+ "type": {
75665
+ "text": "boolean"
75666
+ },
75667
+ "privacy": "public",
75668
+ "default": "false",
75669
+ "description": "Whether to count an element as focusable even if it is not currently visible."
75670
+ }
75671
+ ]
75672
+ },
75673
+ {
75674
+ "kind": "class",
75675
+ "description": "",
75676
+ "name": "InteractivityChecker",
75677
+ "members": [
75678
+ {
75679
+ "kind": "method",
75680
+ "name": "isDisabled",
75681
+ "privacy": "public",
75682
+ "return": {
75683
+ "type": {
75684
+ "text": ""
75685
+ }
75686
+ },
75687
+ "parameters": [
75688
+ {
75689
+ "name": "element",
75690
+ "type": {
75691
+ "text": "HTMLElement"
75692
+ },
75693
+ "description": "Element to be checked."
75694
+ }
75695
+ ],
75696
+ "description": "Gets whether an element is disabled."
75697
+ },
75698
+ {
75699
+ "kind": "method",
75700
+ "name": "isVisible",
75701
+ "privacy": "public",
75702
+ "return": {
75703
+ "type": {
75704
+ "text": ""
75705
+ }
75706
+ },
75707
+ "parameters": [
75708
+ {
75709
+ "name": "element",
75710
+ "type": {
75711
+ "text": "HTMLElement"
75712
+ }
75713
+ }
75714
+ ],
75715
+ "description": "Gets whether an element is visible for the purposes of interactivity.\n\nThis will capture states like `display: none` and `visibility: hidden`, but not things like\nbeing clipped by an `overflow: hidden` parent or being outside the viewport."
75716
+ },
75717
+ {
75718
+ "kind": "method",
75719
+ "name": "isTabbable",
75720
+ "privacy": "public",
75721
+ "return": {
75722
+ "type": {
75723
+ "text": ""
75724
+ }
75725
+ },
75726
+ "parameters": [
75727
+ {
75728
+ "name": "element",
75729
+ "type": {
75730
+ "text": "HTMLElement"
75731
+ },
75732
+ "description": "Element to be checked."
75733
+ }
75734
+ ],
75735
+ "description": "Gets whether an element can be reached via Tab key.\nAssumes that the element has already been checked with isFocusable."
75736
+ },
75737
+ {
75738
+ "kind": "method",
75739
+ "name": "isFocusable",
75740
+ "privacy": "public",
75741
+ "return": {
75742
+ "type": {
75743
+ "text": ""
75744
+ }
75745
+ },
75746
+ "parameters": [
75747
+ {
75748
+ "name": "element",
75749
+ "type": {
75750
+ "text": "HTMLElement"
75751
+ },
75752
+ "description": "Element to be checked."
75753
+ },
75754
+ {
75755
+ "name": "config",
75756
+ "optional": true,
75757
+ "type": {
75758
+ "text": "IsFocusableConfig"
75759
+ },
75760
+ "description": "The config object with options to customize this method's behavior"
75761
+ }
75762
+ ],
75763
+ "description": "Gets whether an element can be focused by the user."
75764
+ }
75765
+ ]
75766
+ },
75767
+ {
75768
+ "kind": "variable",
75769
+ "name": "interactivityChecker",
75770
+ "default": "new InteractivityChecker()"
75771
+ }
75772
+ ],
75773
+ "exports": [
75774
+ {
75775
+ "kind": "js",
75776
+ "name": "IsFocusableConfig",
75777
+ "declaration": {
75778
+ "name": "IsFocusableConfig",
75779
+ "module": "core/a11y/interactivity-checker.js"
75780
+ }
75781
+ },
75782
+ {
75783
+ "kind": "js",
75784
+ "name": "InteractivityChecker",
75785
+ "declaration": {
75786
+ "name": "InteractivityChecker",
75787
+ "module": "core/a11y/interactivity-checker.js"
75788
+ }
75789
+ },
75790
+ {
75791
+ "kind": "js",
75792
+ "name": "interactivityChecker",
75793
+ "declaration": {
75794
+ "name": "interactivityChecker",
75795
+ "module": "core/a11y/interactivity-checker.js"
75796
+ }
75797
+ }
75798
+ ]
75799
+ },
75800
+ {
75801
+ "kind": "javascript-module",
75802
+ "path": "core/a11y/live-announcer.js",
75803
+ "declarations": [
75804
+ {
75805
+ "kind": "class",
75806
+ "description": "Allows to announce messages to screen readers.\n\nAdapted from https://github.com/angular/components/blob/main/src/cdk/a11y/live-announcer/live-announcer.ts",
75807
+ "name": "SbbLiveAnnouncer",
75808
+ "members": [
75809
+ {
75810
+ "kind": "field",
75811
+ "name": "_liveElement",
75812
+ "type": {
75813
+ "text": "HTMLElement"
75814
+ },
75815
+ "privacy": "private"
75816
+ },
75817
+ {
75818
+ "kind": "field",
75819
+ "name": "_previousTimeout",
75820
+ "type": {
75821
+ "text": "ReturnType<typeof setTimeout> | undefined"
75822
+ },
75823
+ "privacy": "private"
75824
+ },
75825
+ {
75826
+ "kind": "field",
75827
+ "name": "_currentPromise",
75828
+ "type": {
75829
+ "text": "Promise<void> | undefined"
75830
+ },
75831
+ "privacy": "private"
75832
+ },
75833
+ {
75834
+ "kind": "field",
75835
+ "name": "_currentResolve",
75836
+ "type": {
75837
+ "text": "(() => void) | undefined"
75838
+ },
75839
+ "privacy": "private"
75840
+ },
75841
+ {
75842
+ "kind": "method",
75843
+ "name": "announce",
76045
75844
  "privacy": "public",
76046
75845
  "return": {
76047
75846
  "type": {
@@ -76050,18 +75849,18 @@
76050
75849
  },
76051
75850
  "parameters": [
76052
75851
  {
76053
- "name": "options",
76054
- "optional": true,
75852
+ "name": "message",
76055
75853
  "type": {
76056
- "text": "FocusOptions"
76057
- }
75854
+ "text": "string"
75855
+ },
75856
+ "description": "Message to be announced to the screen reader."
76058
75857
  }
76059
75858
  ],
76060
- "description": "Focuses the element that should be focused when the focus trap is initialized."
75859
+ "description": "Announces a message to screen readers."
76061
75860
  },
76062
75861
  {
76063
75862
  "kind": "method",
76064
- "name": "focusFirstTabbableElement",
75863
+ "name": "announce",
76065
75864
  "privacy": "public",
76066
75865
  "return": {
76067
75866
  "type": {
@@ -76070,18 +75869,26 @@
76070
75869
  },
76071
75870
  "parameters": [
76072
75871
  {
76073
- "name": "options",
75872
+ "name": "message",
75873
+ "type": {
75874
+ "text": "string"
75875
+ },
75876
+ "description": "Message to be announced to the screen reader."
75877
+ },
75878
+ {
75879
+ "name": "politeness",
76074
75880
  "optional": true,
76075
75881
  "type": {
76076
- "text": "FocusOptions"
76077
- }
75882
+ "text": "AriaLivePoliteness"
75883
+ },
75884
+ "description": "The politeness of the announcer element."
76078
75885
  }
76079
75886
  ],
76080
- "description": "Focuses the first tabbable element within the focus trap region."
75887
+ "description": "Announces a message to screen readers."
76081
75888
  },
76082
75889
  {
76083
75890
  "kind": "method",
76084
- "name": "focusLastTabbableElement",
75891
+ "name": "announce",
76085
75892
  "privacy": "public",
76086
75893
  "return": {
76087
75894
  "type": {
@@ -76090,109 +75897,97 @@
76090
75897
  },
76091
75898
  "parameters": [
76092
75899
  {
76093
- "name": "options",
75900
+ "name": "message",
75901
+ "type": {
75902
+ "text": "string"
75903
+ },
75904
+ "description": "Message to be announced to the screen reader."
75905
+ },
75906
+ {
75907
+ "name": "duration",
76094
75908
  "optional": true,
76095
75909
  "type": {
76096
- "text": "FocusOptions"
76097
- }
75910
+ "text": "number"
75911
+ },
75912
+ "description": "Time in milliseconds after which to clear out the announcer element. Note\nthat this takes effect after the message has been added to the DOM, which can be up to\n100ms after `announce` has been called."
76098
75913
  }
76099
75914
  ],
76100
- "description": "Focuses the last tabbable element within the focus trap region."
76101
- },
76102
- {
76103
- "kind": "method",
76104
- "name": "_trap",
76105
- "privacy": "private",
76106
- "return": {
76107
- "type": {
76108
- "text": "void"
76109
- }
76110
- }
75915
+ "description": "Announces a message to screen readers."
76111
75916
  },
76112
75917
  {
76113
75918
  "kind": "method",
76114
- "name": "_getFirstTabbableElement",
76115
- "privacy": "private",
75919
+ "name": "announce",
75920
+ "privacy": "public",
76116
75921
  "return": {
76117
75922
  "type": {
76118
- "text": "HTMLElement | null"
75923
+ "text": ""
76119
75924
  }
76120
75925
  },
76121
75926
  "parameters": [
76122
75927
  {
76123
- "name": "root",
75928
+ "name": "message",
76124
75929
  "type": {
76125
- "text": "HTMLElement"
76126
- }
75930
+ "text": "string"
75931
+ },
75932
+ "description": "Message to be announced to the screen reader."
75933
+ },
75934
+ {
75935
+ "name": "politeness",
75936
+ "optional": true,
75937
+ "type": {
75938
+ "text": "AriaLivePoliteness"
75939
+ },
75940
+ "description": "The politeness of the announcer element."
75941
+ },
75942
+ {
75943
+ "name": "duration",
75944
+ "optional": true,
75945
+ "type": {
75946
+ "text": "number"
75947
+ },
75948
+ "description": "Time in milliseconds after which to clear out the announcer element. Note\nthat this takes effect after the message has been added to the DOM, which can be up to\n100ms after `announce` has been called."
76127
75949
  }
76128
75950
  ],
76129
- "description": "Get the first tabbable element from a DOM subtree (inclusive)."
75951
+ "description": "Announces a message to screen readers."
76130
75952
  },
76131
75953
  {
76132
75954
  "kind": "method",
76133
- "name": "_getLastTabbableElement",
76134
- "privacy": "private",
75955
+ "name": "announce",
75956
+ "privacy": "public",
76135
75957
  "return": {
76136
75958
  "type": {
76137
- "text": "HTMLElement | null"
75959
+ "text": "Promise<void>"
76138
75960
  }
76139
75961
  },
76140
75962
  "parameters": [
76141
75963
  {
76142
- "name": "root",
75964
+ "name": "message",
76143
75965
  "type": {
76144
- "text": "HTMLElement"
75966
+ "text": "string"
75967
+ }
75968
+ },
75969
+ {
75970
+ "name": "args",
75971
+ "type": {
75972
+ "text": "any[]"
76145
75973
  }
76146
75974
  }
76147
- ],
76148
- "description": "Get the last tabbable element from a DOM subtree (inclusive)."
75975
+ ]
76149
75976
  },
76150
75977
  {
76151
75978
  "kind": "method",
76152
- "name": "_untrap",
76153
- "privacy": "private",
75979
+ "name": "clear",
75980
+ "privacy": "public",
76154
75981
  "return": {
76155
75982
  "type": {
76156
75983
  "text": "void"
76157
75984
  }
76158
- }
76159
- }
76160
- ]
76161
- }
76162
- ],
76163
- "exports": [
76164
- {
76165
- "kind": "js",
76166
- "name": "SbbFocusTrapController",
76167
- "declaration": {
76168
- "name": "SbbFocusTrapController",
76169
- "module": "core/a11y/focus-trap-controller.js"
76170
- }
76171
- }
76172
- ]
76173
- },
76174
- {
76175
- "kind": "javascript-module",
76176
- "path": "core/a11y/focus-visible-within-controller.js",
76177
- "declarations": [
76178
- {
76179
- "kind": "class",
76180
- "description": "",
76181
- "name": "SbbFocusVisibleWithinController",
76182
- "members": [
76183
- {
76184
- "kind": "field",
76185
- "name": "_focusinHandler",
76186
- "privacy": "private"
76187
- },
76188
- {
76189
- "kind": "field",
76190
- "name": "_focusoutHandler",
76191
- "privacy": "private"
75985
+ },
75986
+ "description": "Clears the current text from the announcer element. Can be used to prevent\nscreen readers from reading the text out again while the user is going\nthrough the page landmarks."
76192
75987
  },
76193
75988
  {
76194
75989
  "kind": "method",
76195
- "name": "hostConnected",
75990
+ "name": "destroy",
76196
75991
  "privacy": "public",
76197
75992
  "return": {
76198
75993
  "type": {
@@ -76202,472 +75997,677 @@
76202
75997
  },
76203
75998
  {
76204
75999
  "kind": "method",
76205
- "name": "hostDisconnected",
76206
- "privacy": "public",
76000
+ "name": "_createLiveElement",
76001
+ "privacy": "private",
76207
76002
  "return": {
76208
76003
  "type": {
76209
- "text": "void"
76004
+ "text": "HTMLElement"
76210
76005
  }
76211
76006
  }
76212
76007
  }
76213
76008
  ]
76214
- }
76215
- ],
76216
- "exports": [
76217
- {
76218
- "kind": "js",
76219
- "name": "SbbFocusVisibleWithinController",
76220
- "declaration": {
76221
- "name": "SbbFocusVisibleWithinController",
76222
- "module": "core/a11y/focus-visible-within-controller.js"
76223
- }
76224
- }
76225
- ]
76226
- },
76227
- {
76228
- "kind": "javascript-module",
76229
- "path": "core/a11y/focus.js",
76230
- "declarations": [
76009
+ },
76231
76010
  {
76232
76011
  "kind": "variable",
76233
- "name": "IS_FOCUSABLE_QUERY"
76012
+ "name": "sbbLiveAnnouncer",
76013
+ "default": "new SbbLiveAnnouncer()"
76234
76014
  }
76235
76015
  ],
76236
76016
  "exports": [
76237
76017
  {
76238
76018
  "kind": "js",
76239
- "name": "IS_FOCUSABLE_QUERY",
76019
+ "name": "SbbLiveAnnouncer",
76240
76020
  "declaration": {
76241
- "name": "IS_FOCUSABLE_QUERY",
76242
- "module": "core/a11y/focus.js"
76021
+ "name": "SbbLiveAnnouncer",
76022
+ "module": "core/a11y/live-announcer.js"
76243
76023
  }
76244
- }
76245
- ]
76246
- },
76247
- {
76248
- "kind": "javascript-module",
76249
- "path": "core/a11y/input-modality-detector.js",
76250
- "declarations": [
76251
- {
76252
- "kind": "variable",
76253
- "name": "CONTROL",
76254
- "type": {
76255
- "text": "number"
76256
- },
76257
- "default": "17"
76258
- },
76259
- {
76260
- "kind": "variable",
76261
- "name": "META",
76262
- "type": {
76263
- "text": "number"
76264
- },
76265
- "default": "91"
76266
- },
76267
- {
76268
- "kind": "variable",
76269
- "name": "MAC_META",
76270
- "type": {
76271
- "text": "number"
76272
- },
76273
- "default": "224"
76274
76024
  },
76275
- {
76276
- "kind": "variable",
76277
- "name": "sbbInputModalityDetector",
76278
- "default": "new SbbInputModalityDetector()"
76279
- }
76280
- ],
76281
- "exports": [
76282
76025
  {
76283
76026
  "kind": "js",
76284
- "name": "sbbInputModalityDetector",
76027
+ "name": "sbbLiveAnnouncer",
76285
76028
  "declaration": {
76286
- "name": "sbbInputModalityDetector",
76287
- "module": "core/a11y/input-modality-detector.js"
76029
+ "name": "sbbLiveAnnouncer",
76030
+ "module": "core/a11y/live-announcer.js"
76288
76031
  }
76289
76032
  }
76290
76033
  ]
76291
76034
  },
76292
76035
  {
76293
76036
  "kind": "javascript-module",
76294
- "path": "core/a11y/interactivity-checker.js",
76037
+ "path": "container/sticky-bar/sticky-bar.component.js",
76295
76038
  "declarations": [
76296
76039
  {
76297
76040
  "kind": "class",
76298
- "description": "Configuration for the isFocusable method.",
76299
- "name": "IsFocusableConfig",
76041
+ "description": "A container that sticks to the bottom of the page if slotted into `sbb-container`.",
76042
+ "name": "SbbStickyBarElement",
76043
+ "cssProperties": [
76044
+ {
76045
+ "description": "Block padding of the sticky bar.",
76046
+ "name": "--sbb-sticky-bar-padding-block",
76047
+ "default": "var(--sbb-spacing-responsive-xs)"
76048
+ },
76049
+ {
76050
+ "description": "Define an additional area where the sticky bar overlaps the following content on the bottom. This area becomes visible when the sticky bar transitions from sticky to the normal document flow.",
76051
+ "name": "--sbb-sticky-bar-bottom-overlapping-height",
76052
+ "default": "0px"
76053
+ },
76054
+ {
76055
+ "description": "To specify a custom stack order, the `z-index` can be overridden by defining this CSS variable.",
76056
+ "name": "--sbb-sticky-bar-z-index"
76057
+ }
76058
+ ],
76059
+ "slots": [
76060
+ {
76061
+ "description": "Use the unnamed slot to add content to the sticky bar.",
76062
+ "name": ""
76063
+ }
76064
+ ],
76300
76065
  "members": [
76301
76066
  {
76302
76067
  "kind": "field",
76303
- "name": "ignoreVisibility",
76068
+ "name": "elementName",
76304
76069
  "type": {
76305
- "text": "boolean"
76070
+ "text": "string"
76306
76071
  },
76307
76072
  "privacy": "public",
76308
- "default": "false",
76309
- "description": "Whether to count an element as focusable even if it is not currently visible."
76310
- }
76311
- ]
76312
- },
76313
- {
76314
- "kind": "class",
76315
- "description": "",
76316
- "name": "InteractivityChecker",
76317
- "members": [
76073
+ "static": true,
76074
+ "readonly": true,
76075
+ "default": "'sbb-sticky-bar'",
76076
+ "inheritedFrom": {
76077
+ "name": "SbbElement",
76078
+ "module": "core/base-elements/element.js"
76079
+ }
76080
+ },
76318
76081
  {
76319
- "kind": "method",
76320
- "name": "isDisabled",
76082
+ "kind": "field",
76083
+ "name": "events",
76084
+ "privacy": "public",
76085
+ "static": true,
76086
+ "readonly": true,
76087
+ "default": "{ beforestick: 'beforestick', stick: 'stick', beforeunstick: 'beforeunstick', unstick: 'unstick', }",
76088
+ "type": {
76089
+ "text": "{\n beforestick: 'beforestick',\n stick: 'stick',\n beforeunstick: 'beforeunstick',\n unstick: 'unstick',\n }"
76090
+ }
76091
+ },
76092
+ {
76093
+ "kind": "field",
76094
+ "name": "color",
76095
+ "type": {
76096
+ "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
76097
+ },
76098
+ "privacy": "public",
76099
+ "default": "null",
76100
+ "description": "Color of the container, like transparent, white etc.",
76101
+ "attribute": "color",
76102
+ "reflects": true
76103
+ },
76104
+ {
76105
+ "kind": "field",
76106
+ "name": "size",
76107
+ "type": {
76108
+ "text": "'m' | 's'"
76109
+ },
76321
76110
  "privacy": "public",
76111
+ "description": "Size of the container.",
76112
+ "default": "'m' / 's' (lean)",
76113
+ "attribute": "size",
76114
+ "reflects": true
76115
+ },
76116
+ {
76117
+ "kind": "field",
76118
+ "name": "_state",
76119
+ "privacy": "private",
76120
+ "description": "The state of the component.",
76121
+ "type": {
76122
+ "text": "StickyState"
76123
+ },
76124
+ "default": "'sticky'"
76125
+ },
76126
+ {
76127
+ "kind": "field",
76128
+ "name": "_stateInternal",
76129
+ "type": {
76130
+ "text": "StickyState"
76131
+ },
76132
+ "privacy": "private"
76133
+ },
76134
+ {
76135
+ "kind": "field",
76136
+ "name": "_intersector",
76137
+ "type": {
76138
+ "text": "HTMLSpanElement | undefined"
76139
+ },
76140
+ "privacy": "private"
76141
+ },
76142
+ {
76143
+ "kind": "field",
76144
+ "name": "_observer",
76145
+ "privacy": "private",
76146
+ "default": "new IntersectionController(this, { // Although `this` is observed, we have to postpone observing // into firstUpdated() to achieve a correct initial state. target: null, callback: (entries) => this._detectStickyState(entries[0]), })"
76147
+ },
76148
+ {
76149
+ "kind": "method",
76150
+ "name": "_isZeroAnimationDuration",
76151
+ "privacy": "private",
76322
76152
  "return": {
76323
76153
  "type": {
76324
- "text": ""
76154
+ "text": "boolean"
76155
+ }
76156
+ }
76157
+ },
76158
+ {
76159
+ "kind": "method",
76160
+ "name": "_detectStickyState",
76161
+ "privacy": "private",
76162
+ "return": {
76163
+ "type": {
76164
+ "text": "void"
76325
76165
  }
76326
76166
  },
76327
76167
  "parameters": [
76328
76168
  {
76329
- "name": "element",
76169
+ "name": "entry",
76330
76170
  "type": {
76331
- "text": "HTMLElement"
76332
- },
76333
- "description": "Element to be checked."
76171
+ "text": "IntersectionObserverEntry"
76172
+ }
76334
76173
  }
76335
- ],
76336
- "description": "Gets whether an element is disabled."
76174
+ ]
76337
76175
  },
76338
76176
  {
76339
76177
  "kind": "method",
76340
- "name": "isVisible",
76178
+ "name": "stick",
76341
76179
  "privacy": "public",
76342
76180
  "return": {
76343
76181
  "type": {
76344
- "text": ""
76182
+ "text": "void"
76183
+ }
76184
+ },
76185
+ "description": "Animates from normal content flow position to `position: sticky`."
76186
+ },
76187
+ {
76188
+ "kind": "method",
76189
+ "name": "unstick",
76190
+ "privacy": "public",
76191
+ "return": {
76192
+ "type": {
76193
+ "text": "void"
76194
+ }
76195
+ },
76196
+ "description": "Animates `position: sticky` to normal content flow position."
76197
+ },
76198
+ {
76199
+ "kind": "method",
76200
+ "name": "_stickyCallback",
76201
+ "privacy": "private",
76202
+ "return": {
76203
+ "type": {
76204
+ "text": "void"
76205
+ }
76206
+ }
76207
+ },
76208
+ {
76209
+ "kind": "method",
76210
+ "name": "_unstickyCallback",
76211
+ "privacy": "private",
76212
+ "return": {
76213
+ "type": {
76214
+ "text": "void"
76215
+ }
76216
+ }
76217
+ },
76218
+ {
76219
+ "kind": "method",
76220
+ "name": "_onAnimationEnd",
76221
+ "privacy": "private",
76222
+ "return": {
76223
+ "type": {
76224
+ "text": "void"
76345
76225
  }
76346
76226
  },
76347
76227
  "parameters": [
76348
76228
  {
76349
- "name": "element",
76229
+ "name": "event",
76350
76230
  "type": {
76351
- "text": "HTMLElement"
76231
+ "text": "AnimationEvent"
76352
76232
  }
76353
76233
  }
76354
- ],
76355
- "description": "Gets whether an element is visible for the purposes of interactivity.\n\nThis will capture states like `display: none` and `visibility: hidden`, but not things like\nbeing clipped by an `overflow: hidden` parent or being outside the viewport."
76234
+ ]
76235
+ },
76236
+ {
76237
+ "kind": "method",
76238
+ "name": "_dispatchBeforeStickEvent",
76239
+ "privacy": "private",
76240
+ "return": {
76241
+ "type": {
76242
+ "text": "boolean"
76243
+ }
76244
+ }
76245
+ },
76246
+ {
76247
+ "kind": "method",
76248
+ "name": "_dispatchBeforeUnStickEvent",
76249
+ "privacy": "private",
76250
+ "return": {
76251
+ "type": {
76252
+ "text": "boolean"
76253
+ }
76254
+ }
76255
+ },
76256
+ {
76257
+ "kind": "field",
76258
+ "name": "_updatePromise",
76259
+ "privacy": "private",
76260
+ "inheritedFrom": {
76261
+ "name": "SbbUpdateSchedulerMixin",
76262
+ "module": "core/mixins/update-scheduler-mixin.js"
76263
+ }
76264
+ },
76265
+ {
76266
+ "kind": "field",
76267
+ "name": "_updateResolve",
76268
+ "privacy": "private",
76269
+ "inheritedFrom": {
76270
+ "name": "SbbUpdateSchedulerMixin",
76271
+ "module": "core/mixins/update-scheduler-mixin.js"
76272
+ }
76273
+ },
76274
+ {
76275
+ "kind": "method",
76276
+ "name": "startUpdate",
76277
+ "privacy": "protected",
76278
+ "return": {
76279
+ "type": {
76280
+ "text": "void"
76281
+ }
76282
+ },
76283
+ "inheritedFrom": {
76284
+ "name": "SbbUpdateSchedulerMixin",
76285
+ "module": "core/mixins/update-scheduler-mixin.js"
76286
+ }
76287
+ },
76288
+ {
76289
+ "kind": "method",
76290
+ "name": "completeUpdate",
76291
+ "privacy": "protected",
76292
+ "return": {
76293
+ "type": {
76294
+ "text": "void"
76295
+ }
76296
+ },
76297
+ "inheritedFrom": {
76298
+ "name": "SbbUpdateSchedulerMixin",
76299
+ "module": "core/mixins/update-scheduler-mixin.js"
76300
+ }
76301
+ },
76302
+ {
76303
+ "kind": "method",
76304
+ "name": "getUpdateComplete",
76305
+ "privacy": "protected",
76306
+ "return": {
76307
+ "type": {
76308
+ "text": "Promise<boolean>"
76309
+ }
76310
+ },
76311
+ "inheritedFrom": {
76312
+ "name": "SbbUpdateSchedulerMixin",
76313
+ "module": "core/mixins/update-scheduler-mixin.js"
76314
+ }
76315
+ },
76316
+ {
76317
+ "kind": "field",
76318
+ "name": "['_$sbbElement$']",
76319
+ "type": {
76320
+ "text": "boolean"
76321
+ },
76322
+ "privacy": "public",
76323
+ "static": true,
76324
+ "default": "true",
76325
+ "inheritedFrom": {
76326
+ "name": "SbbElement",
76327
+ "module": "core/base-elements/element.js"
76328
+ }
76356
76329
  },
76357
76330
  {
76358
- "kind": "method",
76359
- "name": "isTabbable",
76360
- "privacy": "public",
76361
- "return": {
76362
- "type": {
76363
- "text": ""
76364
- }
76331
+ "kind": "field",
76332
+ "name": "elementDependencies",
76333
+ "type": {
76334
+ "text": "SbbElementType[] | undefined"
76365
76335
  },
76366
- "parameters": [
76367
- {
76368
- "name": "element",
76369
- "type": {
76370
- "text": "HTMLElement"
76371
- },
76372
- "description": "Element to be checked."
76373
- }
76374
- ],
76375
- "description": "Gets whether an element can be reached via Tab key.\nAssumes that the element has already been checked with isFocusable."
76336
+ "privacy": "public",
76337
+ "static": true,
76338
+ "inheritedFrom": {
76339
+ "name": "SbbElement",
76340
+ "module": "core/base-elements/element.js"
76341
+ }
76376
76342
  },
76377
76343
  {
76378
- "kind": "method",
76379
- "name": "isFocusable",
76344
+ "kind": "field",
76345
+ "name": "role",
76346
+ "type": {
76347
+ "text": "ElementInternals['role'] | undefined"
76348
+ },
76380
76349
  "privacy": "public",
76381
- "return": {
76382
- "type": {
76383
- "text": ""
76384
- }
76350
+ "static": true,
76351
+ "inheritedFrom": {
76352
+ "name": "SbbElement",
76353
+ "module": "core/base-elements/element.js"
76354
+ }
76355
+ },
76356
+ {
76357
+ "kind": "field",
76358
+ "name": "_controllers",
76359
+ "type": {
76360
+ "text": "Set<SbbReactiveController> | undefined"
76385
76361
  },
76386
- "parameters": [
76387
- {
76388
- "name": "element",
76389
- "type": {
76390
- "text": "HTMLElement"
76391
- },
76392
- "description": "Element to be checked."
76393
- },
76394
- {
76395
- "name": "config",
76396
- "optional": true,
76397
- "type": {
76398
- "text": "IsFocusableConfig"
76399
- },
76400
- "description": "The config object with options to customize this method's behavior"
76401
- }
76402
- ],
76403
- "description": "Gets whether an element can be focused by the user."
76404
- }
76405
- ]
76406
- },
76407
- {
76408
- "kind": "variable",
76409
- "name": "interactivityChecker",
76410
- "default": "new InteractivityChecker()"
76411
- }
76412
- ],
76413
- "exports": [
76414
- {
76415
- "kind": "js",
76416
- "name": "IsFocusableConfig",
76417
- "declaration": {
76418
- "name": "IsFocusableConfig",
76419
- "module": "core/a11y/interactivity-checker.js"
76420
- }
76421
- },
76422
- {
76423
- "kind": "js",
76424
- "name": "InteractivityChecker",
76425
- "declaration": {
76426
- "name": "InteractivityChecker",
76427
- "module": "core/a11y/interactivity-checker.js"
76428
- }
76429
- },
76430
- {
76431
- "kind": "js",
76432
- "name": "interactivityChecker",
76433
- "declaration": {
76434
- "name": "interactivityChecker",
76435
- "module": "core/a11y/interactivity-checker.js"
76436
- }
76437
- }
76438
- ]
76439
- },
76440
- {
76441
- "kind": "javascript-module",
76442
- "path": "core/a11y/live-announcer.js",
76443
- "declarations": [
76444
- {
76445
- "kind": "class",
76446
- "description": "Allows to announce messages to screen readers.\n\nAdapted from https://github.com/angular/components/blob/main/src/cdk/a11y/live-announcer/live-announcer.ts",
76447
- "name": "SbbLiveAnnouncer",
76448
- "members": [
76362
+ "privacy": "private",
76363
+ "inheritedFrom": {
76364
+ "name": "SbbElement",
76365
+ "module": "core/base-elements/element.js"
76366
+ }
76367
+ },
76449
76368
  {
76450
76369
  "kind": "field",
76451
- "name": "_liveElement",
76370
+ "name": "_hydrationRequired",
76452
76371
  "type": {
76453
- "text": "HTMLElement"
76372
+ "text": "boolean"
76454
76373
  },
76455
- "privacy": "private"
76374
+ "privacy": "private",
76375
+ "default": "!!this.shadowRoot",
76376
+ "inheritedFrom": {
76377
+ "name": "SbbElement",
76378
+ "module": "core/base-elements/element.js"
76379
+ }
76456
76380
  },
76457
76381
  {
76458
76382
  "kind": "field",
76459
- "name": "_previousTimeout",
76383
+ "name": "_hydrationComplete",
76384
+ "privacy": "private",
76385
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
76386
+ "inheritedFrom": {
76387
+ "name": "SbbElement",
76388
+ "module": "core/base-elements/element.js"
76389
+ }
76390
+ },
76391
+ {
76392
+ "kind": "field",
76393
+ "name": "_resolveHydration",
76460
76394
  "type": {
76461
- "text": "ReturnType<typeof setTimeout> | undefined"
76395
+ "text": "(hydrationRequired: boolean) => void"
76462
76396
  },
76463
- "privacy": "private"
76397
+ "privacy": "private",
76398
+ "inheritedFrom": {
76399
+ "name": "SbbElement",
76400
+ "module": "core/base-elements/element.js"
76401
+ }
76464
76402
  },
76465
76403
  {
76466
76404
  "kind": "field",
76467
- "name": "_currentPromise",
76405
+ "name": "_textObserver",
76468
76406
  "type": {
76469
- "text": "Promise<void> | undefined"
76407
+ "text": "MutationObserver | undefined"
76470
76408
  },
76471
- "privacy": "private"
76409
+ "privacy": "private",
76410
+ "inheritedFrom": {
76411
+ "name": "SbbElement",
76412
+ "module": "core/base-elements/element.js"
76413
+ }
76472
76414
  },
76473
76415
  {
76474
76416
  "kind": "field",
76475
- "name": "_currentResolve",
76417
+ "name": "hydrationRequired",
76476
76418
  "type": {
76477
- "text": "(() => void) | undefined"
76419
+ "text": "boolean"
76478
76420
  },
76479
- "privacy": "private"
76421
+ "privacy": "protected",
76422
+ "description": "Returns whether hydration is required and not completed.",
76423
+ "readonly": true,
76424
+ "inheritedFrom": {
76425
+ "name": "SbbElement",
76426
+ "module": "core/base-elements/element.js"
76427
+ },
76428
+ "default": "!!this.shadowRoot"
76480
76429
  },
76481
76430
  {
76482
76431
  "kind": "method",
76483
- "name": "announce",
76484
- "privacy": "public",
76432
+ "name": "finalizeStyles",
76433
+ "privacy": "protected",
76434
+ "static": true,
76485
76435
  "return": {
76486
76436
  "type": {
76487
- "text": ""
76437
+ "text": "CSSResultOrNative[]"
76488
76438
  }
76489
76439
  },
76490
76440
  "parameters": [
76491
76441
  {
76492
- "name": "message",
76442
+ "name": "_styles",
76493
76443
  "type": {
76494
- "text": "string"
76495
- },
76496
- "description": "Message to be announced to the screen reader."
76444
+ "text": "CSSResultGroup"
76445
+ }
76497
76446
  }
76498
76447
  ],
76499
- "description": "Announces a message to screen readers."
76448
+ "description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
76449
+ "inheritedFrom": {
76450
+ "name": "SbbElement",
76451
+ "module": "core/base-elements/element.js"
76452
+ }
76500
76453
  },
76501
76454
  {
76502
76455
  "kind": "method",
76503
- "name": "announce",
76504
- "privacy": "public",
76456
+ "name": "toggleState",
76457
+ "privacy": "protected",
76505
76458
  "return": {
76506
76459
  "type": {
76507
- "text": ""
76460
+ "text": "void"
76508
76461
  }
76509
76462
  },
76510
76463
  "parameters": [
76511
76464
  {
76512
- "name": "message",
76465
+ "name": "value",
76513
76466
  "type": {
76514
76467
  "text": "string"
76515
- },
76516
- "description": "Message to be announced to the screen reader."
76468
+ }
76517
76469
  },
76518
76470
  {
76519
- "name": "politeness",
76471
+ "name": "force",
76520
76472
  "optional": true,
76521
76473
  "type": {
76522
- "text": "AriaLivePoliteness"
76523
- },
76524
- "description": "The politeness of the announcer element."
76474
+ "text": "boolean"
76475
+ }
76525
76476
  }
76526
76477
  ],
76527
- "description": "Announces a message to screen readers."
76478
+ "inheritedFrom": {
76479
+ "name": "SbbElement",
76480
+ "module": "core/base-elements/element.js"
76481
+ }
76528
76482
  },
76529
76483
  {
76530
76484
  "kind": "method",
76531
- "name": "announce",
76532
- "privacy": "public",
76485
+ "name": "_slotchangeHandler",
76486
+ "privacy": "private",
76533
76487
  "return": {
76534
76488
  "type": {
76535
- "text": ""
76489
+ "text": "void"
76536
76490
  }
76537
76491
  },
76538
76492
  "parameters": [
76539
76493
  {
76540
- "name": "message",
76494
+ "name": "event",
76541
76495
  "type": {
76542
- "text": "string"
76543
- },
76544
- "description": "Message to be announced to the screen reader."
76496
+ "text": "Event"
76497
+ }
76545
76498
  },
76546
76499
  {
76547
- "name": "duration",
76548
- "optional": true,
76500
+ "name": "slot",
76549
76501
  "type": {
76550
- "text": "number"
76551
- },
76552
- "description": "Time in milliseconds after which to clear out the announcer element. Note\nthat this takes effect after the message has been added to the DOM, which can be up to\n100ms after `announce` has been called."
76502
+ "text": "HTMLSlotElement"
76503
+ }
76553
76504
  }
76554
76505
  ],
76555
- "description": "Announces a message to screen readers."
76506
+ "inheritedFrom": {
76507
+ "name": "SbbElement",
76508
+ "module": "core/base-elements/element.js"
76509
+ }
76556
76510
  },
76557
76511
  {
76558
76512
  "kind": "method",
76559
- "name": "announce",
76560
- "privacy": "public",
76513
+ "name": "_handleSlotChangeForSlottedState",
76514
+ "privacy": "private",
76561
76515
  "return": {
76562
76516
  "type": {
76563
- "text": ""
76517
+ "text": "void"
76564
76518
  }
76565
76519
  },
76566
76520
  "parameters": [
76567
76521
  {
76568
- "name": "message",
76569
- "type": {
76570
- "text": "string"
76571
- },
76572
- "description": "Message to be announced to the screen reader."
76573
- },
76574
- {
76575
- "name": "politeness",
76576
- "optional": true,
76577
- "type": {
76578
- "text": "AriaLivePoliteness"
76579
- },
76580
- "description": "The politeness of the announcer element."
76581
- },
76582
- {
76583
- "name": "duration",
76584
- "optional": true,
76522
+ "name": "slot",
76585
76523
  "type": {
76586
- "text": "number"
76587
- },
76588
- "description": "Time in milliseconds after which to clear out the announcer element. Note\nthat this takes effect after the message has been added to the DOM, which can be up to\n100ms after `announce` has been called."
76524
+ "text": "HTMLSlotElement"
76525
+ }
76589
76526
  }
76590
76527
  ],
76591
- "description": "Announces a message to screen readers."
76528
+ "inheritedFrom": {
76529
+ "name": "SbbElement",
76530
+ "module": "core/base-elements/element.js"
76531
+ }
76592
76532
  },
76593
76533
  {
76594
76534
  "kind": "method",
76595
- "name": "announce",
76596
- "privacy": "public",
76535
+ "name": "_updateSlottedState",
76536
+ "privacy": "private",
76597
76537
  "return": {
76598
76538
  "type": {
76599
- "text": "Promise<void>"
76539
+ "text": "void"
76600
76540
  }
76601
76541
  },
76602
76542
  "parameters": [
76603
76543
  {
76604
- "name": "message",
76605
- "type": {
76606
- "text": "string"
76607
- }
76608
- },
76609
- {
76610
- "name": "args",
76544
+ "name": "slot",
76611
76545
  "type": {
76612
- "text": "any[]"
76546
+ "text": "HTMLSlotElement"
76613
76547
  }
76614
76548
  }
76615
- ]
76549
+ ],
76550
+ "inheritedFrom": {
76551
+ "name": "SbbElement",
76552
+ "module": "core/base-elements/element.js"
76553
+ }
76616
76554
  },
76617
76555
  {
76618
76556
  "kind": "method",
76619
- "name": "clear",
76620
- "privacy": "public",
76557
+ "name": "_observeTextNodesInSlot",
76558
+ "privacy": "private",
76621
76559
  "return": {
76622
76560
  "type": {
76623
76561
  "text": "void"
76624
76562
  }
76625
76563
  },
76626
- "description": "Clears the current text from the announcer element. Can be used to prevent\nscreen readers from reading the text out again while the user is going\nthrough the page landmarks."
76627
- },
76628
- {
76629
- "kind": "method",
76630
- "name": "destroy",
76631
- "privacy": "public",
76632
- "return": {
76633
- "type": {
76634
- "text": "void"
76564
+ "parameters": [
76565
+ {
76566
+ "name": "slot",
76567
+ "type": {
76568
+ "text": "HTMLSlotElement"
76569
+ }
76635
76570
  }
76571
+ ],
76572
+ "inheritedFrom": {
76573
+ "name": "SbbElement",
76574
+ "module": "core/base-elements/element.js"
76636
76575
  }
76637
76576
  },
76638
76577
  {
76639
76578
  "kind": "method",
76640
- "name": "_createLiveElement",
76579
+ "name": "_hasSlottedContent",
76641
76580
  "privacy": "private",
76642
76581
  "return": {
76643
76582
  "type": {
76644
- "text": "HTMLElement"
76583
+ "text": "boolean"
76584
+ }
76585
+ },
76586
+ "parameters": [
76587
+ {
76588
+ "name": "slot",
76589
+ "type": {
76590
+ "text": "HTMLSlotElement"
76591
+ }
76645
76592
  }
76593
+ ],
76594
+ "inheritedFrom": {
76595
+ "name": "SbbElement",
76596
+ "module": "core/base-elements/element.js"
76646
76597
  }
76647
76598
  }
76648
- ]
76649
- },
76650
- {
76651
- "kind": "variable",
76652
- "name": "sbbLiveAnnouncer",
76653
- "default": "new SbbLiveAnnouncer()"
76599
+ ],
76600
+ "events": [
76601
+ {
76602
+ "name": "stick",
76603
+ "type": {
76604
+ "text": "Event"
76605
+ },
76606
+ "description": "Emits when the animation from normal content flow to `position: sticky` ends."
76607
+ },
76608
+ {
76609
+ "name": "unstick",
76610
+ "type": {
76611
+ "text": "Event"
76612
+ },
76613
+ "description": "Emits when the animation from `position: sticky` to normal content flow ends."
76614
+ },
76615
+ {
76616
+ "name": "beforestick",
76617
+ "type": {
76618
+ "text": "Event"
76619
+ },
76620
+ "description": "Emits when the animation from normal content flow to `position: sticky` starts. Can be canceled."
76621
+ },
76622
+ {
76623
+ "name": "beforeunstick",
76624
+ "type": {
76625
+ "text": "Event"
76626
+ },
76627
+ "description": "Emits when the animation from `position: sticky` to normal content flow starts. Can be canceled."
76628
+ }
76629
+ ],
76630
+ "attributes": [
76631
+ {
76632
+ "name": "color",
76633
+ "type": {
76634
+ "text": "| 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'\n | null"
76635
+ },
76636
+ "default": "null",
76637
+ "description": "Color of the container, like transparent, white etc.",
76638
+ "fieldName": "color"
76639
+ },
76640
+ {
76641
+ "name": "size",
76642
+ "type": {
76643
+ "text": "'m' | 's'"
76644
+ },
76645
+ "description": "Size of the container.",
76646
+ "default": "'m' / 's' (lean)",
76647
+ "fieldName": "size"
76648
+ }
76649
+ ],
76650
+ "mixins": [
76651
+ {
76652
+ "name": "SbbUpdateSchedulerMixin",
76653
+ "module": "core.js"
76654
+ }
76655
+ ],
76656
+ "superclass": {
76657
+ "name": "SbbElement",
76658
+ "module": "core.js"
76659
+ },
76660
+ "tagName": "sbb-sticky-bar",
76661
+ "customElement": true
76654
76662
  }
76655
76663
  ],
76656
76664
  "exports": [
76657
76665
  {
76658
76666
  "kind": "js",
76659
- "name": "SbbLiveAnnouncer",
76660
- "declaration": {
76661
- "name": "SbbLiveAnnouncer",
76662
- "module": "core/a11y/live-announcer.js"
76663
- }
76664
- },
76665
- {
76666
- "kind": "js",
76667
- "name": "sbbLiveAnnouncer",
76667
+ "name": "SbbStickyBarElement",
76668
76668
  "declaration": {
76669
- "name": "sbbLiveAnnouncer",
76670
- "module": "core/a11y/live-announcer.js"
76669
+ "name": "SbbStickyBarElement",
76670
+ "module": "container/sticky-bar/sticky-bar.component.js"
76671
76671
  }
76672
76672
  }
76673
76673
  ]
@@ -94518,6 +94518,50 @@
94518
94518
  }
94519
94519
  ]
94520
94520
  },
94521
+ {
94522
+ "kind": "javascript-module",
94523
+ "path": "core/styles/styles.js",
94524
+ "declarations": [
94525
+ {
94526
+ "kind": "variable",
94527
+ "name": "hostScrollbarStyles"
94528
+ },
94529
+ {
94530
+ "kind": "variable",
94531
+ "name": "screenReaderOnlyStyles"
94532
+ },
94533
+ {
94534
+ "kind": "variable",
94535
+ "name": "scrollbarStyles"
94536
+ }
94537
+ ],
94538
+ "exports": [
94539
+ {
94540
+ "kind": "js",
94541
+ "name": "hostScrollbarStyles",
94542
+ "declaration": {
94543
+ "name": "hostScrollbarStyles",
94544
+ "module": "core/styles/styles.js"
94545
+ }
94546
+ },
94547
+ {
94548
+ "kind": "js",
94549
+ "name": "screenReaderOnlyStyles",
94550
+ "declaration": {
94551
+ "name": "screenReaderOnlyStyles",
94552
+ "module": "core/styles/styles.js"
94553
+ }
94554
+ },
94555
+ {
94556
+ "kind": "js",
94557
+ "name": "scrollbarStyles",
94558
+ "declaration": {
94559
+ "name": "scrollbarStyles",
94560
+ "module": "core/styles/styles.js"
94561
+ }
94562
+ }
94563
+ ]
94564
+ },
94521
94565
  {
94522
94566
  "kind": "javascript-module",
94523
94567
  "path": "core/testing/event-spy.js",
@@ -94915,50 +94959,6 @@
94915
94959
  }
94916
94960
  ]
94917
94961
  },
94918
- {
94919
- "kind": "javascript-module",
94920
- "path": "core/styles/styles.js",
94921
- "declarations": [
94922
- {
94923
- "kind": "variable",
94924
- "name": "hostScrollbarStyles"
94925
- },
94926
- {
94927
- "kind": "variable",
94928
- "name": "screenReaderOnlyStyles"
94929
- },
94930
- {
94931
- "kind": "variable",
94932
- "name": "scrollbarStyles"
94933
- }
94934
- ],
94935
- "exports": [
94936
- {
94937
- "kind": "js",
94938
- "name": "hostScrollbarStyles",
94939
- "declaration": {
94940
- "name": "hostScrollbarStyles",
94941
- "module": "core/styles/styles.js"
94942
- }
94943
- },
94944
- {
94945
- "kind": "js",
94946
- "name": "screenReaderOnlyStyles",
94947
- "declaration": {
94948
- "name": "screenReaderOnlyStyles",
94949
- "module": "core/styles/styles.js"
94950
- }
94951
- },
94952
- {
94953
- "kind": "js",
94954
- "name": "scrollbarStyles",
94955
- "declaration": {
94956
- "name": "scrollbarStyles",
94957
- "module": "core/styles/styles.js"
94958
- }
94959
- }
94960
- ]
94961
- },
94962
94962
  {
94963
94963
  "kind": "javascript-module",
94964
94964
  "path": "datepicker/common/datepicker-button.js",
@@ -123105,15 +123105,15 @@
123105
123105
  },
123106
123106
  {
123107
123107
  "kind": "javascript-module",
123108
- "path": "link/block-link/block-link.component.js",
123108
+ "path": "link/block-link-button/block-link-button.component.js",
123109
123109
  "declarations": [
123110
123110
  {
123111
123111
  "kind": "class",
123112
- "description": "It displays a link enhanced with the SBB Design.",
123113
- "name": "SbbBlockLinkElement",
123112
+ "description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
123113
+ "name": "SbbBlockLinkButtonElement",
123114
123114
  "slots": [
123115
123115
  {
123116
- "description": "Use the unnamed slot to add content to the `sbb-block-link`.",
123116
+ "description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
123117
123117
  "name": ""
123118
123118
  },
123119
123119
  {
@@ -123135,7 +123135,7 @@
123135
123135
  "name": "SbbElement",
123136
123136
  "module": "core/base-elements/element.js"
123137
123137
  },
123138
- "default": "'sbb-block-link'"
123138
+ "default": "'sbb-block-link-button'"
123139
123139
  },
123140
123140
  {
123141
123141
  "kind": "field",
@@ -123278,6 +123278,22 @@
123278
123278
  "module": "icon/icon-name-mixin.js"
123279
123279
  }
123280
123280
  },
123281
+ {
123282
+ "kind": "field",
123283
+ "name": "disabledInteractive",
123284
+ "type": {
123285
+ "text": "boolean"
123286
+ },
123287
+ "privacy": "public",
123288
+ "default": "false",
123289
+ "description": "Whether the button should be aria-disabled but stay interactive.",
123290
+ "attribute": "disabled-interactive",
123291
+ "reflects": true,
123292
+ "inheritedFrom": {
123293
+ "name": "SbbDisabledInteractiveMixin",
123294
+ "module": "core/mixins/disabled-mixin.js"
123295
+ }
123296
+ },
123281
123297
  {
123282
123298
  "kind": "field",
123283
123299
  "name": "disabled",
@@ -123324,151 +123340,479 @@
123324
123340
  },
123325
123341
  {
123326
123342
  "kind": "field",
123327
- "name": "href",
123343
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
123344
+ "type": {
123345
+ "text": "array"
123346
+ },
123347
+ "privacy": "private",
123348
+ "readonly": true,
123349
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
123350
+ "inheritedFrom": {
123351
+ "name": "SbbButtonBaseElement",
123352
+ "module": "core/base-elements/button-base-element.js"
123353
+ }
123354
+ },
123355
+ {
123356
+ "kind": "field",
123357
+ "name": "value",
123328
123358
  "type": {
123329
123359
  "text": "string"
123330
123360
  },
123331
123361
  "privacy": "public",
123362
+ "inheritedFrom": {
123363
+ "name": "SbbButtonBaseElement",
123364
+ "module": "core/base-elements/button-base-element.js"
123365
+ },
123332
123366
  "default": "''",
123333
- "description": "The href value you want to link to.",
123334
- "attribute": "href",
123335
- "reflects": true,
123367
+ "description": "Value of the form element.",
123368
+ "attribute": "value"
123369
+ },
123370
+ {
123371
+ "kind": "field",
123372
+ "name": "type",
123373
+ "privacy": "public",
123374
+ "description": "The type attribute to use for the button.",
123375
+ "default": "'button'",
123376
+ "type": {
123377
+ "text": "SbbButtonType"
123378
+ },
123379
+ "attribute": "type",
123336
123380
  "inheritedFrom": {
123337
- "name": "SbbLinkBaseElement",
123338
- "module": "core/base-elements/link-base-element.js"
123381
+ "name": "SbbButtonBaseElement",
123382
+ "module": "core/base-elements/button-base-element.js"
123339
123383
  }
123340
123384
  },
123341
123385
  {
123342
123386
  "kind": "field",
123343
- "name": "target",
123387
+ "name": "form",
123344
123388
  "type": {
123345
- "text": "LinkTargetType | string"
123389
+ "text": "HTMLFormElement | null"
123346
123390
  },
123347
123391
  "privacy": "public",
123348
- "default": "''",
123349
- "description": "Where to display the linked URL.",
123350
- "attribute": "target",
123351
- "reflects": true,
123392
+ "description": "The `<form>` element to associate the button with.",
123352
123393
  "inheritedFrom": {
123353
- "name": "SbbLinkBaseElement",
123354
- "module": "core/base-elements/link-base-element.js"
123355
- }
123394
+ "name": "SbbButtonBaseElement",
123395
+ "module": "core/base-elements/button-base-element.js"
123396
+ },
123397
+ "attribute": "form"
123356
123398
  },
123357
123399
  {
123358
123400
  "kind": "field",
123359
- "name": "rel",
123401
+ "name": "_formId",
123360
123402
  "type": {
123361
123403
  "text": "string"
123362
123404
  },
123363
- "privacy": "public",
123405
+ "privacy": "private",
123364
123406
  "default": "''",
123365
- "description": "The relationship of the linked URL as space-separated link types.",
123366
- "attribute": "rel",
123367
- "reflects": true,
123368
123407
  "inheritedFrom": {
123369
- "name": "SbbLinkBaseElement",
123370
- "module": "core/base-elements/link-base-element.js"
123408
+ "name": "SbbButtonBaseElement",
123409
+ "module": "core/base-elements/button-base-element.js"
123371
123410
  }
123372
123411
  },
123373
123412
  {
123374
123413
  "kind": "field",
123375
- "name": "download",
123414
+ "name": "_handleButtonClick",
123415
+ "privacy": "private",
123416
+ "inheritedFrom": {
123417
+ "name": "SbbButtonBaseElement",
123418
+ "module": "core/base-elements/button-base-element.js"
123419
+ }
123420
+ },
123421
+ {
123422
+ "kind": "method",
123423
+ "name": "_requestSubmit",
123424
+ "privacy": "private",
123425
+ "return": {
123426
+ "type": {
123427
+ "text": "void"
123428
+ }
123429
+ },
123430
+ "parameters": [
123431
+ {
123432
+ "name": "form",
123433
+ "type": {
123434
+ "text": "HTMLFormElement"
123435
+ }
123436
+ }
123437
+ ],
123438
+ "inheritedFrom": {
123439
+ "name": "SbbButtonBaseElement",
123440
+ "module": "core/base-elements/button-base-element.js"
123441
+ }
123442
+ },
123443
+ {
123444
+ "kind": "field",
123445
+ "name": "_formKeyDown",
123446
+ "privacy": "private",
123447
+ "inheritedFrom": {
123448
+ "name": "SbbButtonBaseElement",
123449
+ "module": "core/base-elements/button-base-element.js"
123450
+ }
123451
+ },
123452
+ {
123453
+ "kind": "field",
123454
+ "name": "formAssociated",
123376
123455
  "type": {
123377
123456
  "text": "boolean"
123378
123457
  },
123379
123458
  "privacy": "public",
123380
- "default": "false",
123381
- "description": "Whether the browser will show the download dialog on click.",
123382
- "attribute": "download",
123383
- "reflects": true,
123459
+ "static": true,
123460
+ "default": "true",
123384
123461
  "inheritedFrom": {
123385
- "name": "SbbLinkBaseElement",
123386
- "module": "core/base-elements/link-base-element.js"
123462
+ "name": "SbbFormAssociatedMixin",
123463
+ "module": "core/mixins/form-associated-mixin.js"
123387
123464
  }
123388
123465
  },
123389
123466
  {
123390
123467
  "kind": "field",
123391
- "name": "accessibilityLabel",
123468
+ "name": "name",
123469
+ "privacy": "public",
123470
+ "description": "Name of the form element. Will be read from name attribute.",
123392
123471
  "type": {
123393
123472
  "text": "string"
123394
123473
  },
123474
+ "attribute": "name",
123475
+ "inheritedFrom": {
123476
+ "name": "SbbFormAssociatedMixin",
123477
+ "module": "core/mixins/form-associated-mixin.js"
123478
+ }
123479
+ },
123480
+ {
123481
+ "kind": "field",
123482
+ "name": "validity",
123483
+ "type": {
123484
+ "text": "ValidityState"
123485
+ },
123395
123486
  "privacy": "public",
123396
- "default": "''",
123397
- "description": "This will be forwarded as aria-label to the inner anchor element.",
123398
- "attribute": "accessibility-label",
123487
+ "description": "Returns the ValidityState object for this element.",
123488
+ "readonly": true,
123399
123489
  "inheritedFrom": {
123400
- "name": "SbbLinkBaseElement",
123401
- "module": "core/base-elements/link-base-element.js"
123490
+ "name": "SbbFormAssociatedMixin",
123491
+ "module": "core/mixins/form-associated-mixin.js"
123402
123492
  }
123403
123493
  },
123404
123494
  {
123405
123495
  "kind": "field",
123406
- "name": "accessibilityCurrent",
123496
+ "name": "validationMessage",
123407
123497
  "type": {
123408
123498
  "text": "string"
123409
123499
  },
123410
123500
  "privacy": "public",
123411
- "default": "''",
123412
- "description": "This will be forwarded as aria-current to the inner anchor element.",
123413
- "attribute": "accessibility-current",
123501
+ "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.",
123502
+ "readonly": true,
123414
123503
  "inheritedFrom": {
123415
- "name": "SbbLinkBaseElement",
123416
- "module": "core/base-elements/link-base-element.js"
123504
+ "name": "SbbFormAssociatedMixin",
123505
+ "module": "core/mixins/form-associated-mixin.js"
123417
123506
  }
123418
123507
  },
123419
123508
  {
123420
123509
  "kind": "field",
123421
- "name": "language",
123422
- "privacy": "protected",
123423
- "default": "new SbbLanguageController(this)",
123510
+ "name": "willValidate",
123511
+ "type": {
123512
+ "text": "boolean"
123513
+ },
123514
+ "privacy": "public",
123515
+ "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
123516
+ "readonly": true,
123424
123517
  "inheritedFrom": {
123425
- "name": "SbbLinkBaseElement",
123426
- "module": "core/base-elements/link-base-element.js"
123518
+ "name": "SbbFormAssociatedMixin",
123519
+ "module": "core/mixins/form-associated-mixin.js"
123427
123520
  }
123428
123521
  },
123429
123522
  {
123430
123523
  "kind": "field",
123431
- "name": "anchorRole",
123524
+ "name": "_validityStates",
123525
+ "privacy": "private",
123526
+ "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
123527
+ "inheritedFrom": {
123528
+ "name": "SbbFormAssociatedMixin",
123529
+ "module": "core/mixins/form-associated-mixin.js"
123530
+ }
123531
+ },
123532
+ {
123533
+ "kind": "field",
123534
+ "name": "formDisabled",
123432
123535
  "type": {
123433
- "text": "string | null"
123536
+ "text": "boolean"
123537
+ },
123538
+ "privacy": "protected",
123539
+ "default": "false",
123540
+ "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
123541
+ "inheritedFrom": {
123542
+ "name": "SbbFormAssociatedMixin",
123543
+ "module": "core/mixins/form-associated-mixin.js"
123544
+ }
123545
+ },
123546
+ {
123547
+ "kind": "method",
123548
+ "name": "checkValidity",
123549
+ "privacy": "public",
123550
+ "return": {
123551
+ "type": {
123552
+ "text": "boolean"
123553
+ }
123434
123554
  },
123555
+ "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
123556
+ "inheritedFrom": {
123557
+ "name": "SbbFormAssociatedMixin",
123558
+ "module": "core/mixins/form-associated-mixin.js"
123559
+ }
123560
+ },
123561
+ {
123562
+ "kind": "method",
123563
+ "name": "reportValidity",
123564
+ "privacy": "public",
123565
+ "return": {
123566
+ "type": {
123567
+ "text": "boolean"
123568
+ }
123569
+ },
123570
+ "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.",
123571
+ "inheritedFrom": {
123572
+ "name": "SbbFormAssociatedMixin",
123573
+ "module": "core/mixins/form-associated-mixin.js"
123574
+ }
123575
+ },
123576
+ {
123577
+ "kind": "method",
123578
+ "name": "setCustomValidity",
123579
+ "privacy": "public",
123580
+ "return": {
123581
+ "type": {
123582
+ "text": "void"
123583
+ }
123584
+ },
123585
+ "parameters": [
123586
+ {
123587
+ "name": "message",
123588
+ "type": {
123589
+ "text": "string"
123590
+ }
123591
+ }
123592
+ ],
123593
+ "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.",
123594
+ "inheritedFrom": {
123595
+ "name": "SbbFormAssociatedMixin",
123596
+ "module": "core/mixins/form-associated-mixin.js"
123597
+ }
123598
+ },
123599
+ {
123600
+ "kind": "method",
123601
+ "name": "_hasDisabledAncestor",
123602
+ "privacy": "private",
123603
+ "return": {
123604
+ "type": {
123605
+ "text": "boolean"
123606
+ }
123607
+ },
123608
+ "inheritedFrom": {
123609
+ "name": "SbbFormAssociatedMixin",
123610
+ "module": "core/mixins/form-associated-mixin.js"
123611
+ }
123612
+ },
123613
+ {
123614
+ "kind": "method",
123615
+ "name": "updateFormValue",
123616
+ "privacy": "protected",
123617
+ "return": {
123618
+ "type": {
123619
+ "text": "void"
123620
+ }
123621
+ },
123622
+ "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",
123623
+ "inheritedFrom": {
123624
+ "name": "SbbFormAssociatedMixin",
123625
+ "module": "core/mixins/form-associated-mixin.js"
123626
+ }
123627
+ },
123628
+ {
123629
+ "kind": "method",
123630
+ "name": "formState",
123631
+ "privacy": "protected",
123632
+ "return": {
123633
+ "type": {
123634
+ "text": "FormRestoreState"
123635
+ }
123636
+ },
123637
+ "inheritedFrom": {
123638
+ "name": "SbbFormAssociatedMixin",
123639
+ "module": "core/mixins/form-associated-mixin.js"
123640
+ }
123641
+ },
123642
+ {
123643
+ "kind": "method",
123644
+ "name": "setValidityFlag",
123645
+ "privacy": "protected",
123646
+ "return": {
123647
+ "type": {
123648
+ "text": "void"
123649
+ }
123650
+ },
123651
+ "parameters": [
123652
+ {
123653
+ "name": "flag",
123654
+ "type": {
123655
+ "text": "T"
123656
+ }
123657
+ },
123658
+ {
123659
+ "name": "message",
123660
+ "type": {
123661
+ "text": "string"
123662
+ }
123663
+ },
123664
+ {
123665
+ "name": "flagValue",
123666
+ "optional": true,
123667
+ "type": {
123668
+ "text": "ValidityStateFlags[T]"
123669
+ }
123670
+ }
123671
+ ],
123672
+ "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).",
123673
+ "inheritedFrom": {
123674
+ "name": "SbbFormAssociatedMixin",
123675
+ "module": "core/mixins/form-associated-mixin.js"
123676
+ }
123677
+ },
123678
+ {
123679
+ "kind": "method",
123680
+ "name": "removeValidityFlag",
123435
123681
  "privacy": "protected",
123682
+ "return": {
123683
+ "type": {
123684
+ "text": "void"
123685
+ }
123686
+ },
123687
+ "parameters": [
123688
+ {
123689
+ "name": "flag",
123690
+ "type": {
123691
+ "text": "T"
123692
+ }
123693
+ }
123694
+ ],
123695
+ "description": "Removes the validity state flag entry and updates validity state.",
123696
+ "inheritedFrom": {
123697
+ "name": "SbbFormAssociatedMixin",
123698
+ "module": "core/mixins/form-associated-mixin.js"
123699
+ }
123700
+ },
123701
+ {
123702
+ "kind": "method",
123703
+ "name": "validate",
123704
+ "privacy": "protected",
123705
+ "return": {
123706
+ "type": {
123707
+ "text": "void"
123708
+ }
123709
+ },
123710
+ "description": "To be called whenever the current element needs to be validated.",
123711
+ "inheritedFrom": {
123712
+ "name": "SbbFormAssociatedMixin",
123713
+ "module": "core/mixins/form-associated-mixin.js"
123714
+ }
123715
+ },
123716
+ {
123717
+ "kind": "method",
123718
+ "name": "shouldValidate",
123719
+ "privacy": "protected",
123720
+ "return": {
123721
+ "type": {
123722
+ "text": "boolean"
123723
+ }
123724
+ },
123725
+ "parameters": [
123726
+ {
123727
+ "name": "name",
123728
+ "type": {
123729
+ "text": "PropertyKey | undefined"
123730
+ }
123731
+ }
123732
+ ],
123733
+ "description": "Whether validation should be run on a property change with the given name.",
123734
+ "inheritedFrom": {
123735
+ "name": "SbbFormAssociatedMixin",
123736
+ "module": "core/mixins/form-associated-mixin.js"
123737
+ }
123738
+ },
123739
+ {
123740
+ "kind": "method",
123741
+ "name": "_setInternalValidity",
123742
+ "privacy": "private",
123743
+ "return": {
123744
+ "type": {
123745
+ "text": "void"
123746
+ }
123747
+ },
123748
+ "inheritedFrom": {
123749
+ "name": "SbbFormAssociatedMixin",
123750
+ "module": "core/mixins/form-associated-mixin.js"
123751
+ }
123752
+ },
123753
+ {
123754
+ "kind": "field",
123755
+ "name": "role",
123756
+ "type": {
123757
+ "text": "ElementInternals['role']"
123758
+ },
123759
+ "privacy": "public",
123760
+ "static": true,
123761
+ "inheritedFrom": {
123762
+ "name": "SbbElement",
123763
+ "module": "core/base-elements/element.js"
123764
+ },
123436
123765
  "readonly": true,
123437
- "default": "null",
123766
+ "default": "'button'"
123767
+ },
123768
+ {
123769
+ "kind": "field",
123770
+ "name": "_preventScrollOnSpaceKeydown",
123771
+ "privacy": "private",
123772
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
123773
+ "parameters": [
123774
+ {
123775
+ "description": "The origin event.",
123776
+ "name": "event"
123777
+ }
123778
+ ],
123438
123779
  "inheritedFrom": {
123439
- "name": "SbbLinkBaseElement",
123440
- "module": "core/base-elements/link-base-element.js"
123780
+ "name": "SbbButtonLikeBaseElement",
123781
+ "module": "core/base-elements/button-base-element.js"
123441
123782
  }
123442
123783
  },
123443
123784
  {
123444
123785
  "kind": "field",
123445
- "name": "_evaluateRelAttribute",
123786
+ "name": "_removeActiveMarker",
123446
123787
  "privacy": "private",
123447
123788
  "inheritedFrom": {
123448
- "name": "SbbLinkBaseElement",
123449
- "module": "core/base-elements/link-base-element.js"
123789
+ "name": "SbbButtonLikeBaseElement",
123790
+ "module": "core/base-elements/button-base-element.js"
123450
123791
  }
123451
123792
  },
123452
123793
  {
123453
- "kind": "method",
123454
- "name": "renderLink",
123455
- "privacy": "protected",
123456
- "return": {
123457
- "type": {
123458
- "text": "TemplateResult"
123459
- }
123460
- },
123794
+ "kind": "field",
123795
+ "name": "_dispatchClickEventOnSpaceKeyup",
123796
+ "privacy": "private",
123797
+ "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.",
123461
123798
  "parameters": [
123462
123799
  {
123463
- "name": "renderContent",
123464
- "type": {
123465
- "text": "TemplateResult"
123466
- }
123800
+ "description": "The origin event.",
123801
+ "name": "event"
123467
123802
  }
123468
123803
  ],
123469
123804
  "inheritedFrom": {
123470
- "name": "SbbLinkBaseElement",
123471
- "module": "core/base-elements/link-base-element.js"
123805
+ "name": "SbbButtonLikeBaseElement",
123806
+ "module": "core/base-elements/button-base-element.js"
123807
+ }
123808
+ },
123809
+ {
123810
+ "kind": "field",
123811
+ "name": "_dispatchClickEvent",
123812
+ "privacy": "private",
123813
+ "inheritedFrom": {
123814
+ "name": "SbbButtonLikeBaseElement",
123815
+ "module": "core/base-elements/button-base-element.js"
123472
123816
  }
123473
123817
  },
123474
123818
  {
@@ -123525,19 +123869,6 @@
123525
123869
  "module": "core/base-elements/element.js"
123526
123870
  }
123527
123871
  },
123528
- {
123529
- "kind": "field",
123530
- "name": "role",
123531
- "type": {
123532
- "text": "ElementInternals['role'] | undefined"
123533
- },
123534
- "privacy": "public",
123535
- "static": true,
123536
- "inheritedFrom": {
123537
- "name": "SbbElement",
123538
- "module": "core/base-elements/element.js"
123539
- }
123540
- },
123541
123872
  {
123542
123873
  "kind": "field",
123543
123874
  "name": "_controllers",
@@ -123788,15 +124119,15 @@
123788
124119
  "module": "link/common/block-link-common.js"
123789
124120
  },
123790
124121
  {
123791
- "name": "SbbDisabledMixin",
124122
+ "name": "SbbDisabledTabIndexActionMixin",
123792
124123
  "module": "core.js"
123793
124124
  }
123794
124125
  ],
123795
124126
  "superclass": {
123796
- "name": "SbbLinkBaseElement",
124127
+ "name": "SbbButtonBaseElement",
123797
124128
  "module": "core.js"
123798
124129
  },
123799
- "tagName": "sbb-block-link",
124130
+ "tagName": "sbb-block-link-button",
123800
124131
  "customElement": true,
123801
124132
  "attributes": [
123802
124133
  {
@@ -123839,820 +124170,461 @@
123839
124170
  }
123840
124171
  },
123841
124172
  {
123842
- "name": "disabled",
123843
- "description": "Whether the component is disabled.",
123844
- "default": "false",
123845
- "type": {
123846
- "text": "boolean"
123847
- },
123848
- "fieldName": "disabled",
123849
- "inheritedFrom": {
123850
- "name": "SbbDisabledMixin",
123851
- "module": "core/mixins/disabled-mixin.js"
123852
- }
123853
- },
123854
- {
123855
- "name": "href",
123856
- "type": {
123857
- "text": "string"
123858
- },
123859
- "default": "''",
123860
- "description": "The href value you want to link to.",
123861
- "fieldName": "href",
123862
- "inheritedFrom": {
123863
- "name": "SbbLinkBaseElement",
123864
- "module": "core/base-elements/link-base-element.js"
123865
- }
123866
- },
123867
- {
123868
- "name": "target",
123869
- "type": {
123870
- "text": "LinkTargetType | string"
123871
- },
123872
- "default": "''",
123873
- "description": "Where to display the linked URL.",
123874
- "fieldName": "target",
123875
- "inheritedFrom": {
123876
- "name": "SbbLinkBaseElement",
123877
- "module": "core/base-elements/link-base-element.js"
123878
- }
123879
- },
123880
- {
123881
- "name": "rel",
123882
- "type": {
123883
- "text": "string"
123884
- },
123885
- "default": "''",
123886
- "description": "The relationship of the linked URL as space-separated link types.",
123887
- "fieldName": "rel",
123888
- "inheritedFrom": {
123889
- "name": "SbbLinkBaseElement",
123890
- "module": "core/base-elements/link-base-element.js"
123891
- }
123892
- },
123893
- {
123894
- "name": "download",
123895
- "type": {
123896
- "text": "boolean"
123897
- },
123898
- "default": "false",
123899
- "description": "Whether the browser will show the download dialog on click.",
123900
- "fieldName": "download",
123901
- "inheritedFrom": {
123902
- "name": "SbbLinkBaseElement",
123903
- "module": "core/base-elements/link-base-element.js"
123904
- }
123905
- },
123906
- {
123907
- "name": "accessibility-label",
123908
- "type": {
123909
- "text": "string"
123910
- },
123911
- "default": "''",
123912
- "description": "This will be forwarded as aria-label to the inner anchor element.",
123913
- "fieldName": "accessibilityLabel",
123914
- "inheritedFrom": {
123915
- "name": "SbbLinkBaseElement",
123916
- "module": "core/base-elements/link-base-element.js"
123917
- }
123918
- },
123919
- {
123920
- "name": "accessibility-current",
123921
- "type": {
123922
- "text": "string"
123923
- },
123924
- "default": "''",
123925
- "description": "This will be forwarded as aria-current to the inner anchor element.",
123926
- "fieldName": "accessibilityCurrent",
123927
- "inheritedFrom": {
123928
- "name": "SbbLinkBaseElement",
123929
- "module": "core/base-elements/link-base-element.js"
123930
- }
123931
- }
123932
- ]
123933
- }
123934
- ],
123935
- "exports": [
123936
- {
123937
- "kind": "js",
123938
- "name": "SbbBlockLinkElement",
123939
- "declaration": {
123940
- "name": "SbbBlockLinkElement",
123941
- "module": "link/block-link/block-link.component.js"
123942
- }
123943
- }
123944
- ]
123945
- },
123946
- {
123947
- "kind": "javascript-module",
123948
- "path": "link/block-link-button/block-link-button.component.js",
123949
- "declarations": [
123950
- {
123951
- "kind": "class",
123952
- "description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
123953
- "name": "SbbBlockLinkButtonElement",
123954
- "slots": [
123955
- {
123956
- "description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
123957
- "name": ""
123958
- },
123959
- {
123960
- "description": "Slot used to display the icon, if one is set.",
123961
- "name": "icon"
123962
- }
123963
- ],
123964
- "members": [
123965
- {
123966
- "kind": "field",
123967
- "name": "elementName",
123968
- "type": {
123969
- "text": "string"
123970
- },
123971
- "privacy": "public",
123972
- "static": true,
123973
- "readonly": true,
123974
- "inheritedFrom": {
123975
- "name": "SbbElement",
123976
- "module": "core/base-elements/element.js"
123977
- },
123978
- "default": "'sbb-block-link-button'"
123979
- },
123980
- {
123981
- "kind": "field",
123982
- "name": "styles",
123983
- "type": {
123984
- "text": "CSSResultGroup"
123985
- },
123986
- "privacy": "public",
123987
- "static": true,
123988
- "default": "[unsafeCSS(blockStyle)]",
123989
- "inheritedFrom": {
123990
- "name": "SbbLinkCommonElementMixin",
123991
- "module": "link/common/link-common.js"
123992
- }
123993
- },
123994
- {
123995
- "kind": "field",
123996
- "name": "size",
123997
- "type": {
123998
- "text": "SbbLinkSize"
123999
- },
124000
- "privacy": "public",
124001
- "description": "Size variant, either xs, s or m.",
124002
- "default": "'s' / 'xs' (lean)",
124003
- "attribute": "size",
124004
- "reflects": true,
124005
- "inheritedFrom": {
124006
- "name": "SbbBlockLinkCommonElementMixin",
124007
- "module": "link/common/block-link-common.js"
124008
- }
124009
- },
124010
- {
124011
- "kind": "field",
124012
- "name": "iconPlacement",
124013
- "type": {
124014
- "text": "SbbIconPlacement"
124015
- },
124016
- "privacy": "public",
124017
- "default": "'start'",
124018
- "description": "Moves the icon to the end of the component if set to true.",
124019
- "attribute": "icon-placement",
124020
- "reflects": true,
124021
- "inheritedFrom": {
124022
- "name": "SbbBlockLinkCommonElementMixin",
124023
- "module": "link/common/block-link-common.js"
124024
- }
124025
- },
124026
- {
124027
- "kind": "method",
124028
- "name": "renderTemplate",
124029
- "privacy": "protected",
124030
- "return": {
124031
- "type": {
124032
- "text": "TemplateResult"
124033
- }
124034
- },
124035
- "description": "Override this method to render the component template.",
124036
- "inheritedFrom": {
124037
- "name": "SbbActionBaseElement",
124038
- "module": "core/base-elements/action-base-element.js"
124039
- }
124040
- },
124041
- {
124042
- "kind": "field",
124043
- "name": "elementDependencies",
124044
- "type": {
124045
- "text": "SbbElementType[]"
124046
- },
124047
- "privacy": "public",
124048
- "static": true,
124049
- "inheritedFrom": {
124050
- "name": "SbbElement",
124051
- "module": "core/base-elements/element.js"
124052
- },
124053
- "default": "[SbbIconElement]"
124054
- },
124055
- {
124056
- "kind": "field",
124057
- "name": "iconName",
124058
- "type": {
124059
- "text": "string"
124060
- },
124061
- "privacy": "public",
124062
- "default": "''",
124063
- "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.",
124064
- "attribute": "icon-name",
124065
- "inheritedFrom": {
124066
- "name": "SbbIconNameMixin",
124067
- "module": "icon/icon-name-mixin.js"
124068
- }
124069
- },
124070
- {
124071
- "kind": "method",
124072
- "name": "renderIconSlot",
124073
- "privacy": "protected",
124074
- "return": {
124075
- "type": {
124076
- "text": "TemplateResult"
124077
- }
124078
- },
124079
- "parameters": [
124080
- {
124081
- "name": "classname",
124082
- "optional": true,
124083
- "type": {
124084
- "text": "string"
124085
- }
124086
- }
124087
- ],
124088
- "inheritedFrom": {
124089
- "name": "SbbIconNameMixin",
124090
- "module": "icon/icon-name-mixin.js"
124091
- }
124092
- },
124093
- {
124094
- "kind": "method",
124095
- "name": "renderIconName",
124096
- "privacy": "protected",
124097
- "return": {
124098
- "type": {
124099
- "text": "string"
124100
- }
124101
- },
124102
- "inheritedFrom": {
124103
- "name": "SbbIconNameMixin",
124104
- "module": "icon/icon-name-mixin.js"
124105
- }
124106
- },
124107
- {
124108
- "kind": "method",
124109
- "name": "_renderIconName",
124110
- "privacy": "private",
124111
- "return": {
124112
- "type": {
124113
- "text": "string"
124114
- }
124115
- },
124116
- "inheritedFrom": {
124117
- "name": "SbbIconNameMixin",
124118
- "module": "icon/icon-name-mixin.js"
124119
- }
124120
- },
124121
- {
124122
- "kind": "field",
124123
- "name": "disabledInteractive",
124173
+ "name": "disabled-interactive",
124124
124174
  "type": {
124125
124175
  "text": "boolean"
124126
124176
  },
124127
- "privacy": "public",
124128
124177
  "default": "false",
124129
124178
  "description": "Whether the button should be aria-disabled but stay interactive.",
124130
- "attribute": "disabled-interactive",
124131
- "reflects": true,
124179
+ "fieldName": "disabledInteractive",
124132
124180
  "inheritedFrom": {
124133
124181
  "name": "SbbDisabledInteractiveMixin",
124134
124182
  "module": "core/mixins/disabled-mixin.js"
124135
124183
  }
124136
124184
  },
124137
124185
  {
124138
- "kind": "field",
124139
124186
  "name": "disabled",
124140
- "privacy": "public",
124141
124187
  "description": "Whether the component is disabled.",
124142
124188
  "default": "false",
124143
124189
  "type": {
124144
124190
  "text": "boolean"
124145
124191
  },
124146
- "attribute": "disabled",
124147
- "reflects": true,
124148
- "inheritedFrom": {
124149
- "name": "SbbDisabledMixin",
124150
- "module": "core/mixins/disabled-mixin.js"
124151
- }
124152
- },
124153
- {
124154
- "kind": "field",
124155
- "name": "#disabled",
124156
- "privacy": "private",
124157
- "type": {
124158
- "text": "boolean"
124159
- },
124160
- "default": "false",
124161
- "inheritedFrom": {
124162
- "name": "SbbDisabledMixin",
124163
- "module": "core/mixins/disabled-mixin.js"
124164
- }
124165
- },
124166
- {
124167
- "kind": "method",
124168
- "name": "isDisabledExternally",
124169
- "privacy": "protected",
124170
- "return": {
124171
- "type": {
124172
- "text": "boolean"
124173
- }
124174
- },
124175
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
124192
+ "fieldName": "disabled",
124176
124193
  "inheritedFrom": {
124177
124194
  "name": "SbbDisabledMixin",
124178
124195
  "module": "core/mixins/disabled-mixin.js"
124179
124196
  }
124180
124197
  },
124181
124198
  {
124182
- "kind": "field",
124183
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
124184
- "type": {
124185
- "text": "array"
124186
- },
124187
- "privacy": "private",
124188
- "readonly": true,
124189
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
124190
- "inheritedFrom": {
124191
- "name": "SbbButtonBaseElement",
124192
- "module": "core/base-elements/button-base-element.js"
124193
- }
124194
- },
124195
- {
124196
- "kind": "field",
124197
124199
  "name": "value",
124198
124200
  "type": {
124199
124201
  "text": "string"
124200
124202
  },
124201
- "privacy": "public",
124203
+ "default": "''",
124204
+ "description": "Value of the form element.",
124205
+ "fieldName": "value",
124202
124206
  "inheritedFrom": {
124203
124207
  "name": "SbbButtonBaseElement",
124204
124208
  "module": "core/base-elements/button-base-element.js"
124205
- },
124206
- "default": "''",
124207
- "description": "Value of the form element.",
124208
- "attribute": "value"
124209
+ }
124209
124210
  },
124210
124211
  {
124211
- "kind": "field",
124212
124212
  "name": "type",
124213
- "privacy": "public",
124214
124213
  "description": "The type attribute to use for the button.",
124215
124214
  "default": "'button'",
124216
124215
  "type": {
124217
124216
  "text": "SbbButtonType"
124218
124217
  },
124219
- "attribute": "type",
124218
+ "fieldName": "type",
124220
124219
  "inheritedFrom": {
124221
124220
  "name": "SbbButtonBaseElement",
124222
124221
  "module": "core/base-elements/button-base-element.js"
124223
124222
  }
124224
124223
  },
124225
124224
  {
124226
- "kind": "field",
124227
124225
  "name": "form",
124228
- "type": {
124229
- "text": "HTMLFormElement | null"
124230
- },
124231
- "privacy": "public",
124232
124226
  "description": "The `<form>` element to associate the button with.",
124233
- "inheritedFrom": {
124234
- "name": "SbbButtonBaseElement",
124235
- "module": "core/base-elements/button-base-element.js"
124236
- },
124237
- "attribute": "form"
124238
- },
124239
- {
124240
- "kind": "field",
124241
- "name": "_formId",
124242
124227
  "type": {
124243
- "text": "string"
124244
- },
124245
- "privacy": "private",
124246
- "default": "''",
124247
- "inheritedFrom": {
124248
- "name": "SbbButtonBaseElement",
124249
- "module": "core/base-elements/button-base-element.js"
124250
- }
124251
- },
124252
- {
124253
- "kind": "field",
124254
- "name": "_handleButtonClick",
124255
- "privacy": "private",
124256
- "inheritedFrom": {
124257
- "name": "SbbButtonBaseElement",
124258
- "module": "core/base-elements/button-base-element.js"
124259
- }
124260
- },
124261
- {
124262
- "kind": "method",
124263
- "name": "_requestSubmit",
124264
- "privacy": "private",
124265
- "return": {
124266
- "type": {
124267
- "text": "void"
124268
- }
124228
+ "text": "HTMLFormElement | null"
124269
124229
  },
124270
- "parameters": [
124271
- {
124272
- "name": "form",
124273
- "type": {
124274
- "text": "HTMLFormElement"
124275
- }
124276
- }
124277
- ],
124278
- "inheritedFrom": {
124279
- "name": "SbbButtonBaseElement",
124280
- "module": "core/base-elements/button-base-element.js"
124281
- }
124282
- },
124283
- {
124284
- "kind": "field",
124285
- "name": "_formKeyDown",
124286
- "privacy": "private",
124230
+ "fieldName": "form",
124287
124231
  "inheritedFrom": {
124288
124232
  "name": "SbbButtonBaseElement",
124289
124233
  "module": "core/base-elements/button-base-element.js"
124290
124234
  }
124291
124235
  },
124292
124236
  {
124293
- "kind": "field",
124294
- "name": "formAssociated",
124295
- "type": {
124296
- "text": "boolean"
124297
- },
124298
- "privacy": "public",
124299
- "static": true,
124300
- "default": "true",
124301
- "inheritedFrom": {
124302
- "name": "SbbFormAssociatedMixin",
124303
- "module": "core/mixins/form-associated-mixin.js"
124304
- }
124305
- },
124306
- {
124307
- "kind": "field",
124308
124237
  "name": "name",
124309
- "privacy": "public",
124310
124238
  "description": "Name of the form element. Will be read from name attribute.",
124311
124239
  "type": {
124312
124240
  "text": "string"
124313
124241
  },
124314
- "attribute": "name",
124242
+ "fieldName": "name",
124315
124243
  "inheritedFrom": {
124316
124244
  "name": "SbbFormAssociatedMixin",
124317
124245
  "module": "core/mixins/form-associated-mixin.js"
124318
124246
  }
124247
+ }
124248
+ ]
124249
+ }
124250
+ ],
124251
+ "exports": [
124252
+ {
124253
+ "kind": "js",
124254
+ "name": "SbbBlockLinkButtonElement",
124255
+ "declaration": {
124256
+ "name": "SbbBlockLinkButtonElement",
124257
+ "module": "link/block-link-button/block-link-button.component.js"
124258
+ }
124259
+ }
124260
+ ]
124261
+ },
124262
+ {
124263
+ "kind": "javascript-module",
124264
+ "path": "link/block-link/block-link.component.js",
124265
+ "declarations": [
124266
+ {
124267
+ "kind": "class",
124268
+ "description": "It displays a link enhanced with the SBB Design.",
124269
+ "name": "SbbBlockLinkElement",
124270
+ "slots": [
124271
+ {
124272
+ "description": "Use the unnamed slot to add content to the `sbb-block-link`.",
124273
+ "name": ""
124319
124274
  },
124275
+ {
124276
+ "description": "Slot used to display the icon, if one is set.",
124277
+ "name": "icon"
124278
+ }
124279
+ ],
124280
+ "members": [
124320
124281
  {
124321
124282
  "kind": "field",
124322
- "name": "validity",
124283
+ "name": "elementName",
124323
124284
  "type": {
124324
- "text": "ValidityState"
124285
+ "text": "string"
124325
124286
  },
124326
124287
  "privacy": "public",
124327
- "description": "Returns the ValidityState object for this element.",
124288
+ "static": true,
124328
124289
  "readonly": true,
124329
124290
  "inheritedFrom": {
124330
- "name": "SbbFormAssociatedMixin",
124331
- "module": "core/mixins/form-associated-mixin.js"
124332
- }
124291
+ "name": "SbbElement",
124292
+ "module": "core/base-elements/element.js"
124293
+ },
124294
+ "default": "'sbb-block-link'"
124333
124295
  },
124334
124296
  {
124335
124297
  "kind": "field",
124336
- "name": "validationMessage",
124298
+ "name": "styles",
124337
124299
  "type": {
124338
- "text": "string"
124300
+ "text": "CSSResultGroup"
124339
124301
  },
124340
124302
  "privacy": "public",
124341
- "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.",
124342
- "readonly": true,
124303
+ "static": true,
124304
+ "default": "[unsafeCSS(blockStyle)]",
124343
124305
  "inheritedFrom": {
124344
- "name": "SbbFormAssociatedMixin",
124345
- "module": "core/mixins/form-associated-mixin.js"
124306
+ "name": "SbbLinkCommonElementMixin",
124307
+ "module": "link/common/link-common.js"
124346
124308
  }
124347
124309
  },
124348
124310
  {
124349
124311
  "kind": "field",
124350
- "name": "willValidate",
124312
+ "name": "size",
124351
124313
  "type": {
124352
- "text": "boolean"
124314
+ "text": "SbbLinkSize"
124353
124315
  },
124354
124316
  "privacy": "public",
124355
- "description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
124356
- "readonly": true,
124357
- "inheritedFrom": {
124358
- "name": "SbbFormAssociatedMixin",
124359
- "module": "core/mixins/form-associated-mixin.js"
124360
- }
124361
- },
124362
- {
124363
- "kind": "field",
124364
- "name": "_validityStates",
124365
- "privacy": "private",
124366
- "default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
124317
+ "description": "Size variant, either xs, s or m.",
124318
+ "default": "'s' / 'xs' (lean)",
124319
+ "attribute": "size",
124320
+ "reflects": true,
124367
124321
  "inheritedFrom": {
124368
- "name": "SbbFormAssociatedMixin",
124369
- "module": "core/mixins/form-associated-mixin.js"
124322
+ "name": "SbbBlockLinkCommonElementMixin",
124323
+ "module": "link/common/block-link-common.js"
124370
124324
  }
124371
124325
  },
124372
124326
  {
124373
124327
  "kind": "field",
124374
- "name": "formDisabled",
124328
+ "name": "iconPlacement",
124375
124329
  "type": {
124376
- "text": "boolean"
124330
+ "text": "SbbIconPlacement"
124377
124331
  },
124378
- "privacy": "protected",
124379
- "default": "false",
124380
- "description": "Whenever a surrounding form or fieldset is changing its disabled state.",
124332
+ "privacy": "public",
124333
+ "default": "'start'",
124334
+ "description": "Moves the icon to the end of the component if set to true.",
124335
+ "attribute": "icon-placement",
124336
+ "reflects": true,
124381
124337
  "inheritedFrom": {
124382
- "name": "SbbFormAssociatedMixin",
124383
- "module": "core/mixins/form-associated-mixin.js"
124338
+ "name": "SbbBlockLinkCommonElementMixin",
124339
+ "module": "link/common/block-link-common.js"
124384
124340
  }
124385
124341
  },
124386
124342
  {
124387
124343
  "kind": "method",
124388
- "name": "checkValidity",
124389
- "privacy": "public",
124344
+ "name": "renderTemplate",
124345
+ "privacy": "protected",
124390
124346
  "return": {
124391
124347
  "type": {
124392
- "text": "boolean"
124348
+ "text": "TemplateResult"
124393
124349
  }
124394
124350
  },
124395
- "description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
124351
+ "description": "Override this method to render the component template.",
124396
124352
  "inheritedFrom": {
124397
- "name": "SbbFormAssociatedMixin",
124398
- "module": "core/mixins/form-associated-mixin.js"
124353
+ "name": "SbbActionBaseElement",
124354
+ "module": "core/base-elements/action-base-element.js"
124399
124355
  }
124400
124356
  },
124401
124357
  {
124402
- "kind": "method",
124403
- "name": "reportValidity",
124358
+ "kind": "field",
124359
+ "name": "elementDependencies",
124360
+ "type": {
124361
+ "text": "SbbElementType[]"
124362
+ },
124404
124363
  "privacy": "public",
124405
- "return": {
124406
- "type": {
124407
- "text": "boolean"
124408
- }
124364
+ "static": true,
124365
+ "inheritedFrom": {
124366
+ "name": "SbbElement",
124367
+ "module": "core/base-elements/element.js"
124409
124368
  },
124410
- "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.",
124369
+ "default": "[SbbIconElement]"
124370
+ },
124371
+ {
124372
+ "kind": "field",
124373
+ "name": "iconName",
124374
+ "type": {
124375
+ "text": "string"
124376
+ },
124377
+ "privacy": "public",
124378
+ "default": "''",
124379
+ "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.",
124380
+ "attribute": "icon-name",
124411
124381
  "inheritedFrom": {
124412
- "name": "SbbFormAssociatedMixin",
124413
- "module": "core/mixins/form-associated-mixin.js"
124382
+ "name": "SbbIconNameMixin",
124383
+ "module": "icon/icon-name-mixin.js"
124414
124384
  }
124415
124385
  },
124416
124386
  {
124417
124387
  "kind": "method",
124418
- "name": "setCustomValidity",
124419
- "privacy": "public",
124388
+ "name": "renderIconSlot",
124389
+ "privacy": "protected",
124420
124390
  "return": {
124421
124391
  "type": {
124422
- "text": "void"
124392
+ "text": "TemplateResult"
124423
124393
  }
124424
124394
  },
124425
124395
  "parameters": [
124426
124396
  {
124427
- "name": "message",
124397
+ "name": "classname",
124398
+ "optional": true,
124428
124399
  "type": {
124429
124400
  "text": "string"
124430
124401
  }
124431
124402
  }
124432
124403
  ],
124433
- "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.",
124434
124404
  "inheritedFrom": {
124435
- "name": "SbbFormAssociatedMixin",
124436
- "module": "core/mixins/form-associated-mixin.js"
124405
+ "name": "SbbIconNameMixin",
124406
+ "module": "icon/icon-name-mixin.js"
124437
124407
  }
124438
124408
  },
124439
124409
  {
124440
124410
  "kind": "method",
124441
- "name": "_hasDisabledAncestor",
124442
- "privacy": "private",
124411
+ "name": "renderIconName",
124412
+ "privacy": "protected",
124443
124413
  "return": {
124444
124414
  "type": {
124445
- "text": "boolean"
124415
+ "text": "string"
124446
124416
  }
124447
124417
  },
124448
124418
  "inheritedFrom": {
124449
- "name": "SbbFormAssociatedMixin",
124450
- "module": "core/mixins/form-associated-mixin.js"
124419
+ "name": "SbbIconNameMixin",
124420
+ "module": "icon/icon-name-mixin.js"
124451
124421
  }
124452
124422
  },
124453
124423
  {
124454
124424
  "kind": "method",
124455
- "name": "updateFormValue",
124456
- "privacy": "protected",
124425
+ "name": "_renderIconName",
124426
+ "privacy": "private",
124457
124427
  "return": {
124458
124428
  "type": {
124459
- "text": "void"
124429
+ "text": "string"
124460
124430
  }
124461
124431
  },
124462
- "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",
124463
124432
  "inheritedFrom": {
124464
- "name": "SbbFormAssociatedMixin",
124465
- "module": "core/mixins/form-associated-mixin.js"
124433
+ "name": "SbbIconNameMixin",
124434
+ "module": "icon/icon-name-mixin.js"
124466
124435
  }
124467
124436
  },
124468
124437
  {
124469
- "kind": "method",
124470
- "name": "formState",
124471
- "privacy": "protected",
124472
- "return": {
124473
- "type": {
124474
- "text": "FormRestoreState"
124475
- }
124438
+ "kind": "field",
124439
+ "name": "disabled",
124440
+ "privacy": "public",
124441
+ "description": "Whether the component is disabled.",
124442
+ "default": "false",
124443
+ "type": {
124444
+ "text": "boolean"
124476
124445
  },
124446
+ "attribute": "disabled",
124447
+ "reflects": true,
124477
124448
  "inheritedFrom": {
124478
- "name": "SbbFormAssociatedMixin",
124479
- "module": "core/mixins/form-associated-mixin.js"
124449
+ "name": "SbbDisabledMixin",
124450
+ "module": "core/mixins/disabled-mixin.js"
124480
124451
  }
124481
124452
  },
124482
124453
  {
124483
- "kind": "method",
124484
- "name": "setValidityFlag",
124485
- "privacy": "protected",
124486
- "return": {
124487
- "type": {
124488
- "text": "void"
124489
- }
124454
+ "kind": "field",
124455
+ "name": "#disabled",
124456
+ "privacy": "private",
124457
+ "type": {
124458
+ "text": "boolean"
124490
124459
  },
124491
- "parameters": [
124492
- {
124493
- "name": "flag",
124494
- "type": {
124495
- "text": "T"
124496
- }
124497
- },
124498
- {
124499
- "name": "message",
124500
- "type": {
124501
- "text": "string"
124502
- }
124503
- },
124504
- {
124505
- "name": "flagValue",
124506
- "optional": true,
124507
- "type": {
124508
- "text": "ValidityStateFlags[T]"
124509
- }
124510
- }
124511
- ],
124512
- "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).",
124460
+ "default": "false",
124513
124461
  "inheritedFrom": {
124514
- "name": "SbbFormAssociatedMixin",
124515
- "module": "core/mixins/form-associated-mixin.js"
124462
+ "name": "SbbDisabledMixin",
124463
+ "module": "core/mixins/disabled-mixin.js"
124516
124464
  }
124517
124465
  },
124518
124466
  {
124519
124467
  "kind": "method",
124520
- "name": "removeValidityFlag",
124468
+ "name": "isDisabledExternally",
124521
124469
  "privacy": "protected",
124522
124470
  "return": {
124523
124471
  "type": {
124524
- "text": "void"
124472
+ "text": "boolean"
124525
124473
  }
124526
124474
  },
124527
- "parameters": [
124528
- {
124529
- "name": "flag",
124530
- "type": {
124531
- "text": "T"
124532
- }
124533
- }
124534
- ],
124535
- "description": "Removes the validity state flag entry and updates validity state.",
124475
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
124536
124476
  "inheritedFrom": {
124537
- "name": "SbbFormAssociatedMixin",
124538
- "module": "core/mixins/form-associated-mixin.js"
124477
+ "name": "SbbDisabledMixin",
124478
+ "module": "core/mixins/disabled-mixin.js"
124539
124479
  }
124540
124480
  },
124541
124481
  {
124542
- "kind": "method",
124543
- "name": "validate",
124544
- "privacy": "protected",
124545
- "return": {
124546
- "type": {
124547
- "text": "void"
124548
- }
124482
+ "kind": "field",
124483
+ "name": "href",
124484
+ "type": {
124485
+ "text": "string"
124549
124486
  },
124550
- "description": "To be called whenever the current element needs to be validated.",
124487
+ "privacy": "public",
124488
+ "default": "''",
124489
+ "description": "The href value you want to link to.",
124490
+ "attribute": "href",
124491
+ "reflects": true,
124551
124492
  "inheritedFrom": {
124552
- "name": "SbbFormAssociatedMixin",
124553
- "module": "core/mixins/form-associated-mixin.js"
124493
+ "name": "SbbLinkBaseElement",
124494
+ "module": "core/base-elements/link-base-element.js"
124554
124495
  }
124555
124496
  },
124556
124497
  {
124557
- "kind": "method",
124558
- "name": "shouldValidate",
124559
- "privacy": "protected",
124560
- "return": {
124561
- "type": {
124562
- "text": "boolean"
124563
- }
124498
+ "kind": "field",
124499
+ "name": "target",
124500
+ "type": {
124501
+ "text": "LinkTargetType | string"
124564
124502
  },
124565
- "parameters": [
124566
- {
124567
- "name": "name",
124568
- "type": {
124569
- "text": "PropertyKey | undefined"
124570
- }
124571
- }
124572
- ],
124573
- "description": "Whether validation should be run on a property change with the given name.",
124503
+ "privacy": "public",
124504
+ "default": "''",
124505
+ "description": "Where to display the linked URL.",
124506
+ "attribute": "target",
124507
+ "reflects": true,
124574
124508
  "inheritedFrom": {
124575
- "name": "SbbFormAssociatedMixin",
124576
- "module": "core/mixins/form-associated-mixin.js"
124509
+ "name": "SbbLinkBaseElement",
124510
+ "module": "core/base-elements/link-base-element.js"
124577
124511
  }
124578
124512
  },
124579
124513
  {
124580
- "kind": "method",
124581
- "name": "_setInternalValidity",
124582
- "privacy": "private",
124583
- "return": {
124584
- "type": {
124585
- "text": "void"
124586
- }
124514
+ "kind": "field",
124515
+ "name": "rel",
124516
+ "type": {
124517
+ "text": "string"
124587
124518
  },
124519
+ "privacy": "public",
124520
+ "default": "''",
124521
+ "description": "The relationship of the linked URL as space-separated link types.",
124522
+ "attribute": "rel",
124523
+ "reflects": true,
124588
124524
  "inheritedFrom": {
124589
- "name": "SbbFormAssociatedMixin",
124590
- "module": "core/mixins/form-associated-mixin.js"
124525
+ "name": "SbbLinkBaseElement",
124526
+ "module": "core/base-elements/link-base-element.js"
124591
124527
  }
124592
124528
  },
124593
124529
  {
124594
124530
  "kind": "field",
124595
- "name": "role",
124531
+ "name": "download",
124596
124532
  "type": {
124597
- "text": "ElementInternals['role']"
124533
+ "text": "boolean"
124598
124534
  },
124599
124535
  "privacy": "public",
124600
- "static": true,
124536
+ "default": "false",
124537
+ "description": "Whether the browser will show the download dialog on click.",
124538
+ "attribute": "download",
124539
+ "reflects": true,
124601
124540
  "inheritedFrom": {
124602
- "name": "SbbElement",
124603
- "module": "core/base-elements/element.js"
124541
+ "name": "SbbLinkBaseElement",
124542
+ "module": "core/base-elements/link-base-element.js"
124543
+ }
124544
+ },
124545
+ {
124546
+ "kind": "field",
124547
+ "name": "accessibilityLabel",
124548
+ "type": {
124549
+ "text": "string"
124604
124550
  },
124605
- "readonly": true,
124606
- "default": "'button'"
124551
+ "privacy": "public",
124552
+ "default": "''",
124553
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
124554
+ "attribute": "accessibility-label",
124555
+ "inheritedFrom": {
124556
+ "name": "SbbLinkBaseElement",
124557
+ "module": "core/base-elements/link-base-element.js"
124558
+ }
124607
124559
  },
124608
124560
  {
124609
124561
  "kind": "field",
124610
- "name": "_preventScrollOnSpaceKeydown",
124611
- "privacy": "private",
124612
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
124613
- "parameters": [
124614
- {
124615
- "description": "The origin event.",
124616
- "name": "event"
124617
- }
124618
- ],
124562
+ "name": "accessibilityCurrent",
124563
+ "type": {
124564
+ "text": "string"
124565
+ },
124566
+ "privacy": "public",
124567
+ "default": "''",
124568
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
124569
+ "attribute": "accessibility-current",
124619
124570
  "inheritedFrom": {
124620
- "name": "SbbButtonLikeBaseElement",
124621
- "module": "core/base-elements/button-base-element.js"
124571
+ "name": "SbbLinkBaseElement",
124572
+ "module": "core/base-elements/link-base-element.js"
124622
124573
  }
124623
124574
  },
124624
124575
  {
124625
124576
  "kind": "field",
124626
- "name": "_removeActiveMarker",
124627
- "privacy": "private",
124577
+ "name": "language",
124578
+ "privacy": "protected",
124579
+ "default": "new SbbLanguageController(this)",
124628
124580
  "inheritedFrom": {
124629
- "name": "SbbButtonLikeBaseElement",
124630
- "module": "core/base-elements/button-base-element.js"
124581
+ "name": "SbbLinkBaseElement",
124582
+ "module": "core/base-elements/link-base-element.js"
124631
124583
  }
124632
124584
  },
124633
124585
  {
124634
124586
  "kind": "field",
124635
- "name": "_dispatchClickEventOnSpaceKeyup",
124636
- "privacy": "private",
124637
- "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.",
124638
- "parameters": [
124639
- {
124640
- "description": "The origin event.",
124641
- "name": "event"
124642
- }
124643
- ],
124587
+ "name": "anchorRole",
124588
+ "type": {
124589
+ "text": "string | null"
124590
+ },
124591
+ "privacy": "protected",
124592
+ "readonly": true,
124593
+ "default": "null",
124644
124594
  "inheritedFrom": {
124645
- "name": "SbbButtonLikeBaseElement",
124646
- "module": "core/base-elements/button-base-element.js"
124595
+ "name": "SbbLinkBaseElement",
124596
+ "module": "core/base-elements/link-base-element.js"
124647
124597
  }
124648
124598
  },
124649
124599
  {
124650
124600
  "kind": "field",
124651
- "name": "_dispatchClickEvent",
124601
+ "name": "_evaluateRelAttribute",
124652
124602
  "privacy": "private",
124653
124603
  "inheritedFrom": {
124654
- "name": "SbbButtonLikeBaseElement",
124655
- "module": "core/base-elements/button-base-element.js"
124604
+ "name": "SbbLinkBaseElement",
124605
+ "module": "core/base-elements/link-base-element.js"
124606
+ }
124607
+ },
124608
+ {
124609
+ "kind": "method",
124610
+ "name": "renderLink",
124611
+ "privacy": "protected",
124612
+ "return": {
124613
+ "type": {
124614
+ "text": "TemplateResult"
124615
+ }
124616
+ },
124617
+ "parameters": [
124618
+ {
124619
+ "name": "renderContent",
124620
+ "type": {
124621
+ "text": "TemplateResult"
124622
+ }
124623
+ }
124624
+ ],
124625
+ "inheritedFrom": {
124626
+ "name": "SbbLinkBaseElement",
124627
+ "module": "core/base-elements/link-base-element.js"
124656
124628
  }
124657
124629
  },
124658
124630
  {
@@ -124709,6 +124681,19 @@
124709
124681
  "module": "core/base-elements/element.js"
124710
124682
  }
124711
124683
  },
124684
+ {
124685
+ "kind": "field",
124686
+ "name": "role",
124687
+ "type": {
124688
+ "text": "ElementInternals['role'] | undefined"
124689
+ },
124690
+ "privacy": "public",
124691
+ "static": true,
124692
+ "inheritedFrom": {
124693
+ "name": "SbbElement",
124694
+ "module": "core/base-elements/element.js"
124695
+ }
124696
+ },
124712
124697
  {
124713
124698
  "kind": "field",
124714
124699
  "name": "_controllers",
@@ -124959,15 +124944,15 @@
124959
124944
  "module": "link/common/block-link-common.js"
124960
124945
  },
124961
124946
  {
124962
- "name": "SbbDisabledTabIndexActionMixin",
124947
+ "name": "SbbDisabledMixin",
124963
124948
  "module": "core.js"
124964
124949
  }
124965
124950
  ],
124966
124951
  "superclass": {
124967
- "name": "SbbButtonBaseElement",
124952
+ "name": "SbbLinkBaseElement",
124968
124953
  "module": "core.js"
124969
124954
  },
124970
- "tagName": "sbb-block-link-button",
124955
+ "tagName": "sbb-block-link",
124971
124956
  "customElement": true,
124972
124957
  "attributes": [
124973
124958
  {
@@ -125010,79 +124995,94 @@
125010
124995
  }
125011
124996
  },
125012
124997
  {
125013
- "name": "disabled-interactive",
124998
+ "name": "disabled",
124999
+ "description": "Whether the component is disabled.",
125000
+ "default": "false",
125014
125001
  "type": {
125015
125002
  "text": "boolean"
125016
125003
  },
125017
- "default": "false",
125018
- "description": "Whether the button should be aria-disabled but stay interactive.",
125019
- "fieldName": "disabledInteractive",
125004
+ "fieldName": "disabled",
125020
125005
  "inheritedFrom": {
125021
- "name": "SbbDisabledInteractiveMixin",
125006
+ "name": "SbbDisabledMixin",
125022
125007
  "module": "core/mixins/disabled-mixin.js"
125023
125008
  }
125024
125009
  },
125025
125010
  {
125026
- "name": "disabled",
125027
- "description": "Whether the component is disabled.",
125028
- "default": "false",
125011
+ "name": "href",
125029
125012
  "type": {
125030
- "text": "boolean"
125013
+ "text": "string"
125031
125014
  },
125032
- "fieldName": "disabled",
125015
+ "default": "''",
125016
+ "description": "The href value you want to link to.",
125017
+ "fieldName": "href",
125033
125018
  "inheritedFrom": {
125034
- "name": "SbbDisabledMixin",
125035
- "module": "core/mixins/disabled-mixin.js"
125019
+ "name": "SbbLinkBaseElement",
125020
+ "module": "core/base-elements/link-base-element.js"
125036
125021
  }
125037
125022
  },
125038
125023
  {
125039
- "name": "value",
125024
+ "name": "target",
125025
+ "type": {
125026
+ "text": "LinkTargetType | string"
125027
+ },
125028
+ "default": "''",
125029
+ "description": "Where to display the linked URL.",
125030
+ "fieldName": "target",
125031
+ "inheritedFrom": {
125032
+ "name": "SbbLinkBaseElement",
125033
+ "module": "core/base-elements/link-base-element.js"
125034
+ }
125035
+ },
125036
+ {
125037
+ "name": "rel",
125040
125038
  "type": {
125041
125039
  "text": "string"
125042
125040
  },
125043
125041
  "default": "''",
125044
- "description": "Value of the form element.",
125045
- "fieldName": "value",
125042
+ "description": "The relationship of the linked URL as space-separated link types.",
125043
+ "fieldName": "rel",
125046
125044
  "inheritedFrom": {
125047
- "name": "SbbButtonBaseElement",
125048
- "module": "core/base-elements/button-base-element.js"
125045
+ "name": "SbbLinkBaseElement",
125046
+ "module": "core/base-elements/link-base-element.js"
125049
125047
  }
125050
125048
  },
125051
125049
  {
125052
- "name": "type",
125053
- "description": "The type attribute to use for the button.",
125054
- "default": "'button'",
125050
+ "name": "download",
125055
125051
  "type": {
125056
- "text": "SbbButtonType"
125052
+ "text": "boolean"
125057
125053
  },
125058
- "fieldName": "type",
125054
+ "default": "false",
125055
+ "description": "Whether the browser will show the download dialog on click.",
125056
+ "fieldName": "download",
125059
125057
  "inheritedFrom": {
125060
- "name": "SbbButtonBaseElement",
125061
- "module": "core/base-elements/button-base-element.js"
125058
+ "name": "SbbLinkBaseElement",
125059
+ "module": "core/base-elements/link-base-element.js"
125062
125060
  }
125063
125061
  },
125064
125062
  {
125065
- "name": "form",
125066
- "description": "The `<form>` element to associate the button with.",
125063
+ "name": "accessibility-label",
125067
125064
  "type": {
125068
- "text": "HTMLFormElement | null"
125065
+ "text": "string"
125069
125066
  },
125070
- "fieldName": "form",
125067
+ "default": "''",
125068
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
125069
+ "fieldName": "accessibilityLabel",
125071
125070
  "inheritedFrom": {
125072
- "name": "SbbButtonBaseElement",
125073
- "module": "core/base-elements/button-base-element.js"
125071
+ "name": "SbbLinkBaseElement",
125072
+ "module": "core/base-elements/link-base-element.js"
125074
125073
  }
125075
125074
  },
125076
125075
  {
125077
- "name": "name",
125078
- "description": "Name of the form element. Will be read from name attribute.",
125076
+ "name": "accessibility-current",
125079
125077
  "type": {
125080
125078
  "text": "string"
125081
125079
  },
125082
- "fieldName": "name",
125080
+ "default": "''",
125081
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
125082
+ "fieldName": "accessibilityCurrent",
125083
125083
  "inheritedFrom": {
125084
- "name": "SbbFormAssociatedMixin",
125085
- "module": "core/mixins/form-associated-mixin.js"
125084
+ "name": "SbbLinkBaseElement",
125085
+ "module": "core/base-elements/link-base-element.js"
125086
125086
  }
125087
125087
  }
125088
125088
  ]
@@ -125091,10 +125091,10 @@
125091
125091
  "exports": [
125092
125092
  {
125093
125093
  "kind": "js",
125094
- "name": "SbbBlockLinkButtonElement",
125094
+ "name": "SbbBlockLinkElement",
125095
125095
  "declaration": {
125096
- "name": "SbbBlockLinkButtonElement",
125097
- "module": "link/block-link-button/block-link-button.component.js"
125096
+ "name": "SbbBlockLinkElement",
125097
+ "module": "link/block-link/block-link.component.js"
125098
125098
  }
125099
125099
  }
125100
125100
  ]
@@ -135384,6 +135384,186 @@
135384
135384
  }
135385
135385
  ]
135386
135386
  },
135387
+ {
135388
+ "kind": "javascript-module",
135389
+ "path": "navigation/common/navigation-action-common.js",
135390
+ "declarations": [
135391
+ {
135392
+ "kind": "class",
135393
+ "description": "",
135394
+ "name": "SbbNavigationActionCommonElementMixinType",
135395
+ "members": [
135396
+ {
135397
+ "kind": "field",
135398
+ "name": "size",
135399
+ "type": {
135400
+ "text": "SbbNavigationActionSize"
135401
+ },
135402
+ "privacy": "public"
135403
+ },
135404
+ {
135405
+ "kind": "field",
135406
+ "name": "marker",
135407
+ "type": {
135408
+ "text": "SbbNavigationMarkerElement | null"
135409
+ },
135410
+ "privacy": "public",
135411
+ "readonly": true
135412
+ },
135413
+ {
135414
+ "kind": "field",
135415
+ "name": "section",
135416
+ "type": {
135417
+ "text": "SbbNavigationSectionElement | null"
135418
+ },
135419
+ "privacy": "public",
135420
+ "readonly": true
135421
+ },
135422
+ {
135423
+ "kind": "field",
135424
+ "name": "connectedSection",
135425
+ "type": {
135426
+ "text": "SbbNavigationSectionElement | undefined"
135427
+ },
135428
+ "privacy": "public"
135429
+ }
135430
+ ]
135431
+ },
135432
+ {
135433
+ "kind": "mixin",
135434
+ "description": "",
135435
+ "name": "SbbNavigationActionCommonElementMixin",
135436
+ "members": [
135437
+ {
135438
+ "kind": "field",
135439
+ "name": "elementDependencies",
135440
+ "type": {
135441
+ "text": "SbbElementType[]"
135442
+ },
135443
+ "privacy": "public",
135444
+ "static": true,
135445
+ "default": "[SbbIconElement]"
135446
+ },
135447
+ {
135448
+ "kind": "field",
135449
+ "name": "styles",
135450
+ "type": {
135451
+ "text": "CSSResultGroup"
135452
+ },
135453
+ "privacy": "public",
135454
+ "static": true,
135455
+ "default": "[unsafeCSS(style)]"
135456
+ },
135457
+ {
135458
+ "kind": "field",
135459
+ "name": "size",
135460
+ "type": {
135461
+ "text": "SbbNavigationActionSize"
135462
+ },
135463
+ "privacy": "public",
135464
+ "default": "'l'",
135465
+ "description": "Action size variant, either s, m or l.",
135466
+ "attribute": "size",
135467
+ "reflects": true
135468
+ },
135469
+ {
135470
+ "kind": "field",
135471
+ "name": "connectedSection",
135472
+ "type": {
135473
+ "text": "SbbNavigationSectionElement | undefined"
135474
+ },
135475
+ "privacy": "public",
135476
+ "description": "The section that is being controlled by the action, if any."
135477
+ },
135478
+ {
135479
+ "kind": "field",
135480
+ "name": "marker",
135481
+ "type": {
135482
+ "text": "SbbNavigationMarkerElement | null"
135483
+ },
135484
+ "privacy": "public",
135485
+ "description": "The navigation marker in which the action is nested.",
135486
+ "readonly": true
135487
+ },
135488
+ {
135489
+ "kind": "field",
135490
+ "name": "section",
135491
+ "type": {
135492
+ "text": "SbbNavigationSectionElement | null"
135493
+ },
135494
+ "privacy": "public",
135495
+ "description": "The section in which the action is nested.",
135496
+ "readonly": true
135497
+ },
135498
+ {
135499
+ "kind": "field",
135500
+ "name": "_navigationMarker",
135501
+ "type": {
135502
+ "text": "SbbNavigationMarkerElement | null"
135503
+ },
135504
+ "privacy": "private",
135505
+ "default": "null"
135506
+ },
135507
+ {
135508
+ "kind": "field",
135509
+ "name": "_navigationSection",
135510
+ "type": {
135511
+ "text": "SbbNavigationSectionElement | null"
135512
+ },
135513
+ "privacy": "private",
135514
+ "default": "null"
135515
+ },
135516
+ {
135517
+ "kind": "method",
135518
+ "name": "renderTemplate",
135519
+ "privacy": "protected",
135520
+ "return": {
135521
+ "type": {
135522
+ "text": "TemplateResult"
135523
+ }
135524
+ }
135525
+ }
135526
+ ],
135527
+ "attributes": [
135528
+ {
135529
+ "name": "size",
135530
+ "type": {
135531
+ "text": "SbbNavigationActionSize"
135532
+ },
135533
+ "default": "'l'",
135534
+ "description": "Action size variant, either s, m or l.",
135535
+ "fieldName": "size"
135536
+ }
135537
+ ],
135538
+ "parameters": [
135539
+ {
135540
+ "name": "superClass",
135541
+ "type": {
135542
+ "text": "T"
135543
+ }
135544
+ }
135545
+ ]
135546
+ }
135547
+ ],
135548
+ "exports": [
135549
+ {
135550
+ "kind": "js",
135551
+ "name": "SbbNavigationActionCommonElementMixinType",
135552
+ "declaration": {
135553
+ "name": "SbbNavigationActionCommonElementMixinType",
135554
+ "module": "navigation/common/navigation-action-common.js"
135555
+ }
135556
+ },
135557
+ {
135558
+ "kind": "js",
135559
+ "name": "SbbNavigationActionCommonElementMixin",
135560
+ "declaration": {
135561
+ "name": "SbbNavigationActionCommonElementMixin",
135562
+ "module": "navigation/common/navigation-action-common.js"
135563
+ }
135564
+ }
135565
+ ]
135566
+ },
135387
135567
  {
135388
135568
  "kind": "javascript-module",
135389
135569
  "path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
@@ -135780,186 +135960,6 @@
135780
135960
  }
135781
135961
  ]
135782
135962
  },
135783
- {
135784
- "kind": "javascript-module",
135785
- "path": "navigation/common/navigation-action-common.js",
135786
- "declarations": [
135787
- {
135788
- "kind": "class",
135789
- "description": "",
135790
- "name": "SbbNavigationActionCommonElementMixinType",
135791
- "members": [
135792
- {
135793
- "kind": "field",
135794
- "name": "size",
135795
- "type": {
135796
- "text": "SbbNavigationActionSize"
135797
- },
135798
- "privacy": "public"
135799
- },
135800
- {
135801
- "kind": "field",
135802
- "name": "marker",
135803
- "type": {
135804
- "text": "SbbNavigationMarkerElement | null"
135805
- },
135806
- "privacy": "public",
135807
- "readonly": true
135808
- },
135809
- {
135810
- "kind": "field",
135811
- "name": "section",
135812
- "type": {
135813
- "text": "SbbNavigationSectionElement | null"
135814
- },
135815
- "privacy": "public",
135816
- "readonly": true
135817
- },
135818
- {
135819
- "kind": "field",
135820
- "name": "connectedSection",
135821
- "type": {
135822
- "text": "SbbNavigationSectionElement | undefined"
135823
- },
135824
- "privacy": "public"
135825
- }
135826
- ]
135827
- },
135828
- {
135829
- "kind": "mixin",
135830
- "description": "",
135831
- "name": "SbbNavigationActionCommonElementMixin",
135832
- "members": [
135833
- {
135834
- "kind": "field",
135835
- "name": "elementDependencies",
135836
- "type": {
135837
- "text": "SbbElementType[]"
135838
- },
135839
- "privacy": "public",
135840
- "static": true,
135841
- "default": "[SbbIconElement]"
135842
- },
135843
- {
135844
- "kind": "field",
135845
- "name": "styles",
135846
- "type": {
135847
- "text": "CSSResultGroup"
135848
- },
135849
- "privacy": "public",
135850
- "static": true,
135851
- "default": "[unsafeCSS(style)]"
135852
- },
135853
- {
135854
- "kind": "field",
135855
- "name": "size",
135856
- "type": {
135857
- "text": "SbbNavigationActionSize"
135858
- },
135859
- "privacy": "public",
135860
- "default": "'l'",
135861
- "description": "Action size variant, either s, m or l.",
135862
- "attribute": "size",
135863
- "reflects": true
135864
- },
135865
- {
135866
- "kind": "field",
135867
- "name": "connectedSection",
135868
- "type": {
135869
- "text": "SbbNavigationSectionElement | undefined"
135870
- },
135871
- "privacy": "public",
135872
- "description": "The section that is being controlled by the action, if any."
135873
- },
135874
- {
135875
- "kind": "field",
135876
- "name": "marker",
135877
- "type": {
135878
- "text": "SbbNavigationMarkerElement | null"
135879
- },
135880
- "privacy": "public",
135881
- "description": "The navigation marker in which the action is nested.",
135882
- "readonly": true
135883
- },
135884
- {
135885
- "kind": "field",
135886
- "name": "section",
135887
- "type": {
135888
- "text": "SbbNavigationSectionElement | null"
135889
- },
135890
- "privacy": "public",
135891
- "description": "The section in which the action is nested.",
135892
- "readonly": true
135893
- },
135894
- {
135895
- "kind": "field",
135896
- "name": "_navigationMarker",
135897
- "type": {
135898
- "text": "SbbNavigationMarkerElement | null"
135899
- },
135900
- "privacy": "private",
135901
- "default": "null"
135902
- },
135903
- {
135904
- "kind": "field",
135905
- "name": "_navigationSection",
135906
- "type": {
135907
- "text": "SbbNavigationSectionElement | null"
135908
- },
135909
- "privacy": "private",
135910
- "default": "null"
135911
- },
135912
- {
135913
- "kind": "method",
135914
- "name": "renderTemplate",
135915
- "privacy": "protected",
135916
- "return": {
135917
- "type": {
135918
- "text": "TemplateResult"
135919
- }
135920
- }
135921
- }
135922
- ],
135923
- "attributes": [
135924
- {
135925
- "name": "size",
135926
- "type": {
135927
- "text": "SbbNavigationActionSize"
135928
- },
135929
- "default": "'l'",
135930
- "description": "Action size variant, either s, m or l.",
135931
- "fieldName": "size"
135932
- }
135933
- ],
135934
- "parameters": [
135935
- {
135936
- "name": "superClass",
135937
- "type": {
135938
- "text": "T"
135939
- }
135940
- }
135941
- ]
135942
- }
135943
- ],
135944
- "exports": [
135945
- {
135946
- "kind": "js",
135947
- "name": "SbbNavigationActionCommonElementMixinType",
135948
- "declaration": {
135949
- "name": "SbbNavigationActionCommonElementMixinType",
135950
- "module": "navigation/common/navigation-action-common.js"
135951
- }
135952
- },
135953
- {
135954
- "kind": "js",
135955
- "name": "SbbNavigationActionCommonElementMixin",
135956
- "declaration": {
135957
- "name": "SbbNavigationActionCommonElementMixin",
135958
- "module": "navigation/common/navigation-action-common.js"
135959
- }
135960
- }
135961
- ]
135962
- },
135963
135963
  {
135964
135964
  "kind": "javascript-module",
135965
135965
  "path": "navigation/navigation/navigation.component.js",