@sbb-esta/lyne-elements-dev 4.5.1-dev.1772034938 → 4.6.0-dev.1772036870

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.
@@ -2616,6 +2616,16 @@
2616
2616
  "default": "null",
2617
2617
  "description": "Tracks input from keyboard."
2618
2618
  },
2619
+ {
2620
+ "kind": "field",
2621
+ "name": "_isCustomChangeEvent",
2622
+ "type": {
2623
+ "text": "boolean"
2624
+ },
2625
+ "privacy": "private",
2626
+ "default": "false",
2627
+ "description": "If true, the 'change' event source is an option selection or a 'requireSelection' field cleanup"
2628
+ },
2619
2629
  {
2620
2630
  "kind": "field",
2621
2631
  "name": "options",
@@ -4002,6 +4012,20 @@
4002
4012
  "module": "autocomplete/autocomplete-base-element.js"
4003
4013
  }
4004
4014
  },
4015
+ {
4016
+ "kind": "field",
4017
+ "name": "_isCustomChangeEvent",
4018
+ "type": {
4019
+ "text": "boolean"
4020
+ },
4021
+ "privacy": "private",
4022
+ "default": "false",
4023
+ "description": "If true, the 'change' event source is an option selection or a 'requireSelection' field cleanup",
4024
+ "inheritedFrom": {
4025
+ "name": "SbbAutocompleteBaseElement",
4026
+ "module": "autocomplete/autocomplete-base-element.js"
4027
+ }
4028
+ },
4005
4029
  {
4006
4030
  "kind": "method",
4007
4031
  "name": "open",
@@ -52177,444 +52201,6 @@
52177
52201
  }
52178
52202
  ]
52179
52203
  },
52180
- {
52181
- "kind": "javascript-module",
52182
- "path": "core/dom/animation.js",
52183
- "declarations": [
52184
- {
52185
- "kind": "function",
52186
- "name": "isZeroAnimationDuration",
52187
- "return": {
52188
- "type": {
52189
- "text": "boolean"
52190
- }
52191
- },
52192
- "parameters": [
52193
- {
52194
- "name": "element",
52195
- "type": {
52196
- "text": "HTMLElement"
52197
- }
52198
- },
52199
- {
52200
- "name": "cssVariableName",
52201
- "type": {
52202
- "text": "string"
52203
- }
52204
- }
52205
- ]
52206
- }
52207
- ],
52208
- "exports": [
52209
- {
52210
- "kind": "js",
52211
- "name": "isZeroAnimationDuration",
52212
- "declaration": {
52213
- "name": "isZeroAnimationDuration",
52214
- "module": "core/dom/animation.js"
52215
- }
52216
- }
52217
- ]
52218
- },
52219
- {
52220
- "kind": "javascript-module",
52221
- "path": "core/dom/contains-pierce-shadow-dom.js",
52222
- "declarations": [
52223
- {
52224
- "kind": "function",
52225
- "name": "containsPierceShadowDom",
52226
- "return": {
52227
- "type": {
52228
- "text": "boolean"
52229
- }
52230
- },
52231
- "parameters": [
52232
- {
52233
- "name": "root",
52234
- "type": {
52235
- "text": "HTMLElement"
52236
- }
52237
- },
52238
- {
52239
- "name": "child",
52240
- "type": {
52241
- "text": "HTMLElement | null"
52242
- }
52243
- }
52244
- ],
52245
- "description": "Equivalent to `Element.contains` while piercing shadow DOM."
52246
- }
52247
- ],
52248
- "exports": [
52249
- {
52250
- "kind": "js",
52251
- "name": "containsPierceShadowDom",
52252
- "declaration": {
52253
- "name": "containsPierceShadowDom",
52254
- "module": "core/dom/contains-pierce-shadow-dom.js"
52255
- }
52256
- }
52257
- ]
52258
- },
52259
- {
52260
- "kind": "javascript-module",
52261
- "path": "core/dom/lean-context.js",
52262
- "declarations": [
52263
- {
52264
- "kind": "function",
52265
- "name": "isLean",
52266
- "return": {
52267
- "type": {
52268
- "text": "boolean"
52269
- }
52270
- },
52271
- "description": "Checks if the document has the `sbb-lean` class."
52272
- }
52273
- ],
52274
- "exports": [
52275
- {
52276
- "kind": "js",
52277
- "name": "isLean",
52278
- "declaration": {
52279
- "name": "isLean",
52280
- "module": "core/dom/lean-context.js"
52281
- }
52282
- }
52283
- ]
52284
- },
52285
- {
52286
- "kind": "javascript-module",
52287
- "path": "core/dom/platform.js",
52288
- "declarations": [
52289
- {
52290
- "kind": "variable",
52291
- "name": "isEdge",
52292
- "description": "Whether the current browser is Microsoft Edge."
52293
- },
52294
- {
52295
- "kind": "variable",
52296
- "name": "isTrident",
52297
- "description": "Whether the current rendering engine is Microsoft Trident."
52298
- },
52299
- {
52300
- "kind": "variable",
52301
- "name": "isBlink",
52302
- "description": "Whether the current rendering engine is Blink."
52303
- },
52304
- {
52305
- "kind": "variable",
52306
- "name": "isWebkit",
52307
- "description": "Whether the current rendering engine is WebKit."
52308
- },
52309
- {
52310
- "kind": "variable",
52311
- "name": "isIOS",
52312
- "description": "Whether the current platform is Apple iOS."
52313
- },
52314
- {
52315
- "kind": "variable",
52316
- "name": "isMacOS",
52317
- "description": "Whether the device is a mac."
52318
- },
52319
- {
52320
- "kind": "variable",
52321
- "name": "isFirefox",
52322
- "description": "Whether the current browser is Firefox."
52323
- },
52324
- {
52325
- "kind": "variable",
52326
- "name": "isAndroid",
52327
- "description": "Whether the current platform is Android."
52328
- },
52329
- {
52330
- "kind": "variable",
52331
- "name": "isSafari",
52332
- "description": "Whether the current browser is Safari."
52333
- },
52334
- {
52335
- "kind": "variable",
52336
- "name": "isChromium",
52337
- "default": "isBlink",
52338
- "description": "We just check for the blink engine."
52339
- },
52340
- {
52341
- "kind": "function",
52342
- "name": "isNextjs",
52343
- "return": {
52344
- "type": {
52345
- "text": "boolean"
52346
- }
52347
- },
52348
- "description": "Whether the application is being rendered in a Next.js environment."
52349
- }
52350
- ],
52351
- "exports": [
52352
- {
52353
- "kind": "js",
52354
- "name": "isEdge",
52355
- "declaration": {
52356
- "name": "isEdge",
52357
- "module": "core/dom/platform.js"
52358
- }
52359
- },
52360
- {
52361
- "kind": "js",
52362
- "name": "isTrident",
52363
- "declaration": {
52364
- "name": "isTrident",
52365
- "module": "core/dom/platform.js"
52366
- }
52367
- },
52368
- {
52369
- "kind": "js",
52370
- "name": "isBlink",
52371
- "declaration": {
52372
- "name": "isBlink",
52373
- "module": "core/dom/platform.js"
52374
- }
52375
- },
52376
- {
52377
- "kind": "js",
52378
- "name": "isWebkit",
52379
- "declaration": {
52380
- "name": "isWebkit",
52381
- "module": "core/dom/platform.js"
52382
- }
52383
- },
52384
- {
52385
- "kind": "js",
52386
- "name": "isIOS",
52387
- "declaration": {
52388
- "name": "isIOS",
52389
- "module": "core/dom/platform.js"
52390
- }
52391
- },
52392
- {
52393
- "kind": "js",
52394
- "name": "isMacOS",
52395
- "declaration": {
52396
- "name": "isMacOS",
52397
- "module": "core/dom/platform.js"
52398
- }
52399
- },
52400
- {
52401
- "kind": "js",
52402
- "name": "isFirefox",
52403
- "declaration": {
52404
- "name": "isFirefox",
52405
- "module": "core/dom/platform.js"
52406
- }
52407
- },
52408
- {
52409
- "kind": "js",
52410
- "name": "isAndroid",
52411
- "declaration": {
52412
- "name": "isAndroid",
52413
- "module": "core/dom/platform.js"
52414
- }
52415
- },
52416
- {
52417
- "kind": "js",
52418
- "name": "isSafari",
52419
- "declaration": {
52420
- "name": "isSafari",
52421
- "module": "core/dom/platform.js"
52422
- }
52423
- },
52424
- {
52425
- "kind": "js",
52426
- "name": "isChromium",
52427
- "declaration": {
52428
- "name": "isChromium",
52429
- "module": "core/dom/platform.js"
52430
- }
52431
- },
52432
- {
52433
- "kind": "js",
52434
- "name": "isNextjs",
52435
- "declaration": {
52436
- "name": "isNextjs",
52437
- "module": "core/dom/platform.js"
52438
- }
52439
- }
52440
- ]
52441
- },
52442
- {
52443
- "kind": "javascript-module",
52444
- "path": "core/dom/queue-dom-content-loaded.js",
52445
- "declarations": [
52446
- {
52447
- "kind": "function",
52448
- "name": "queueDomContentLoaded",
52449
- "return": {
52450
- "type": {
52451
- "text": "void"
52452
- }
52453
- },
52454
- "parameters": [
52455
- {
52456
- "name": "action",
52457
- "type": {
52458
- "text": "() => void"
52459
- }
52460
- }
52461
- ],
52462
- "description": "Postpone 'action' after the DOM is loaded."
52463
- }
52464
- ],
52465
- "exports": [
52466
- {
52467
- "kind": "js",
52468
- "name": "queueDomContentLoaded",
52469
- "declaration": {
52470
- "name": "queueDomContentLoaded",
52471
- "module": "core/dom/queue-dom-content-loaded.js"
52472
- }
52473
- }
52474
- ]
52475
- },
52476
- {
52477
- "kind": "javascript-module",
52478
- "path": "core/dom/scroll.js",
52479
- "declarations": [
52480
- {
52481
- "kind": "function",
52482
- "name": "pageScrollDisabled",
52483
- "return": {
52484
- "type": {
52485
- "text": "boolean"
52486
- }
52487
- }
52488
- },
52489
- {
52490
- "kind": "class",
52491
- "description": "Handle the page scroll, allowing to disable/enable the window scroll avoiding a potential\ncontent shift caused by the disappearance/appearance of the scrollbar.",
52492
- "name": "SbbScrollHandler",
52493
- "members": [
52494
- {
52495
- "kind": "field",
52496
- "name": "_height",
52497
- "type": {
52498
- "text": "string"
52499
- },
52500
- "privacy": "private"
52501
- },
52502
- {
52503
- "kind": "field",
52504
- "name": "_position",
52505
- "type": {
52506
- "text": "string"
52507
- },
52508
- "privacy": "private"
52509
- },
52510
- {
52511
- "kind": "field",
52512
- "name": "_overflow",
52513
- "type": {
52514
- "text": "string"
52515
- },
52516
- "privacy": "private"
52517
- },
52518
- {
52519
- "kind": "field",
52520
- "name": "_marginInlineEnd",
52521
- "type": {
52522
- "text": "string"
52523
- },
52524
- "privacy": "private"
52525
- },
52526
- {
52527
- "kind": "method",
52528
- "name": "disableScroll",
52529
- "privacy": "public",
52530
- "return": {
52531
- "type": {
52532
- "text": "void"
52533
- }
52534
- }
52535
- },
52536
- {
52537
- "kind": "method",
52538
- "name": "enableScroll",
52539
- "privacy": "public",
52540
- "return": {
52541
- "type": {
52542
- "text": "void"
52543
- }
52544
- }
52545
- }
52546
- ]
52547
- }
52548
- ],
52549
- "exports": [
52550
- {
52551
- "kind": "js",
52552
- "name": "pageScrollDisabled",
52553
- "declaration": {
52554
- "name": "pageScrollDisabled",
52555
- "module": "core/dom/scroll.js"
52556
- }
52557
- },
52558
- {
52559
- "kind": "js",
52560
- "name": "SbbScrollHandler",
52561
- "declaration": {
52562
- "name": "SbbScrollHandler",
52563
- "module": "core/dom/scroll.js"
52564
- }
52565
- }
52566
- ]
52567
- },
52568
- {
52569
- "kind": "javascript-module",
52570
- "path": "core/dom/set-or-remove-attribute.js",
52571
- "declarations": [
52572
- {
52573
- "kind": "function",
52574
- "name": "setOrRemoveAttribute",
52575
- "return": {
52576
- "type": {
52577
- "text": "void"
52578
- }
52579
- },
52580
- "parameters": [
52581
- {
52582
- "name": "element",
52583
- "type": {
52584
- "text": "HTMLElement"
52585
- },
52586
- "description": "The element that will have the attribute"
52587
- },
52588
- {
52589
- "name": "attribute",
52590
- "type": {
52591
- "text": "string"
52592
- },
52593
- "description": "The attribute name"
52594
- },
52595
- {
52596
- "name": "value",
52597
- "optional": true,
52598
- "type": {
52599
- "text": "any"
52600
- },
52601
- "description": "The attribute value"
52602
- }
52603
- ],
52604
- "description": "Set the attribute only if value is not 'false', otherwise remove attribute."
52605
- }
52606
- ],
52607
- "exports": [
52608
- {
52609
- "kind": "js",
52610
- "name": "setOrRemoveAttribute",
52611
- "declaration": {
52612
- "name": "setOrRemoveAttribute",
52613
- "module": "core/dom/set-or-remove-attribute.js"
52614
- }
52615
- }
52616
- ]
52617
- },
52618
52204
  {
52619
52205
  "kind": "javascript-module",
52620
52206
  "path": "core/decorators/base.js",
@@ -52837,6 +52423,444 @@
52837
52423
  }
52838
52424
  ]
52839
52425
  },
52426
+ {
52427
+ "kind": "javascript-module",
52428
+ "path": "core/dom/animation.js",
52429
+ "declarations": [
52430
+ {
52431
+ "kind": "function",
52432
+ "name": "isZeroAnimationDuration",
52433
+ "return": {
52434
+ "type": {
52435
+ "text": "boolean"
52436
+ }
52437
+ },
52438
+ "parameters": [
52439
+ {
52440
+ "name": "element",
52441
+ "type": {
52442
+ "text": "HTMLElement"
52443
+ }
52444
+ },
52445
+ {
52446
+ "name": "cssVariableName",
52447
+ "type": {
52448
+ "text": "string"
52449
+ }
52450
+ }
52451
+ ]
52452
+ }
52453
+ ],
52454
+ "exports": [
52455
+ {
52456
+ "kind": "js",
52457
+ "name": "isZeroAnimationDuration",
52458
+ "declaration": {
52459
+ "name": "isZeroAnimationDuration",
52460
+ "module": "core/dom/animation.js"
52461
+ }
52462
+ }
52463
+ ]
52464
+ },
52465
+ {
52466
+ "kind": "javascript-module",
52467
+ "path": "core/dom/contains-pierce-shadow-dom.js",
52468
+ "declarations": [
52469
+ {
52470
+ "kind": "function",
52471
+ "name": "containsPierceShadowDom",
52472
+ "return": {
52473
+ "type": {
52474
+ "text": "boolean"
52475
+ }
52476
+ },
52477
+ "parameters": [
52478
+ {
52479
+ "name": "root",
52480
+ "type": {
52481
+ "text": "HTMLElement"
52482
+ }
52483
+ },
52484
+ {
52485
+ "name": "child",
52486
+ "type": {
52487
+ "text": "HTMLElement | null"
52488
+ }
52489
+ }
52490
+ ],
52491
+ "description": "Equivalent to `Element.contains` while piercing shadow DOM."
52492
+ }
52493
+ ],
52494
+ "exports": [
52495
+ {
52496
+ "kind": "js",
52497
+ "name": "containsPierceShadowDom",
52498
+ "declaration": {
52499
+ "name": "containsPierceShadowDom",
52500
+ "module": "core/dom/contains-pierce-shadow-dom.js"
52501
+ }
52502
+ }
52503
+ ]
52504
+ },
52505
+ {
52506
+ "kind": "javascript-module",
52507
+ "path": "core/dom/lean-context.js",
52508
+ "declarations": [
52509
+ {
52510
+ "kind": "function",
52511
+ "name": "isLean",
52512
+ "return": {
52513
+ "type": {
52514
+ "text": "boolean"
52515
+ }
52516
+ },
52517
+ "description": "Checks if the document has the `sbb-lean` class."
52518
+ }
52519
+ ],
52520
+ "exports": [
52521
+ {
52522
+ "kind": "js",
52523
+ "name": "isLean",
52524
+ "declaration": {
52525
+ "name": "isLean",
52526
+ "module": "core/dom/lean-context.js"
52527
+ }
52528
+ }
52529
+ ]
52530
+ },
52531
+ {
52532
+ "kind": "javascript-module",
52533
+ "path": "core/dom/platform.js",
52534
+ "declarations": [
52535
+ {
52536
+ "kind": "variable",
52537
+ "name": "isEdge",
52538
+ "description": "Whether the current browser is Microsoft Edge."
52539
+ },
52540
+ {
52541
+ "kind": "variable",
52542
+ "name": "isTrident",
52543
+ "description": "Whether the current rendering engine is Microsoft Trident."
52544
+ },
52545
+ {
52546
+ "kind": "variable",
52547
+ "name": "isBlink",
52548
+ "description": "Whether the current rendering engine is Blink."
52549
+ },
52550
+ {
52551
+ "kind": "variable",
52552
+ "name": "isWebkit",
52553
+ "description": "Whether the current rendering engine is WebKit."
52554
+ },
52555
+ {
52556
+ "kind": "variable",
52557
+ "name": "isIOS",
52558
+ "description": "Whether the current platform is Apple iOS."
52559
+ },
52560
+ {
52561
+ "kind": "variable",
52562
+ "name": "isMacOS",
52563
+ "description": "Whether the device is a mac."
52564
+ },
52565
+ {
52566
+ "kind": "variable",
52567
+ "name": "isFirefox",
52568
+ "description": "Whether the current browser is Firefox."
52569
+ },
52570
+ {
52571
+ "kind": "variable",
52572
+ "name": "isAndroid",
52573
+ "description": "Whether the current platform is Android."
52574
+ },
52575
+ {
52576
+ "kind": "variable",
52577
+ "name": "isSafari",
52578
+ "description": "Whether the current browser is Safari."
52579
+ },
52580
+ {
52581
+ "kind": "variable",
52582
+ "name": "isChromium",
52583
+ "default": "isBlink",
52584
+ "description": "We just check for the blink engine."
52585
+ },
52586
+ {
52587
+ "kind": "function",
52588
+ "name": "isNextjs",
52589
+ "return": {
52590
+ "type": {
52591
+ "text": "boolean"
52592
+ }
52593
+ },
52594
+ "description": "Whether the application is being rendered in a Next.js environment."
52595
+ }
52596
+ ],
52597
+ "exports": [
52598
+ {
52599
+ "kind": "js",
52600
+ "name": "isEdge",
52601
+ "declaration": {
52602
+ "name": "isEdge",
52603
+ "module": "core/dom/platform.js"
52604
+ }
52605
+ },
52606
+ {
52607
+ "kind": "js",
52608
+ "name": "isTrident",
52609
+ "declaration": {
52610
+ "name": "isTrident",
52611
+ "module": "core/dom/platform.js"
52612
+ }
52613
+ },
52614
+ {
52615
+ "kind": "js",
52616
+ "name": "isBlink",
52617
+ "declaration": {
52618
+ "name": "isBlink",
52619
+ "module": "core/dom/platform.js"
52620
+ }
52621
+ },
52622
+ {
52623
+ "kind": "js",
52624
+ "name": "isWebkit",
52625
+ "declaration": {
52626
+ "name": "isWebkit",
52627
+ "module": "core/dom/platform.js"
52628
+ }
52629
+ },
52630
+ {
52631
+ "kind": "js",
52632
+ "name": "isIOS",
52633
+ "declaration": {
52634
+ "name": "isIOS",
52635
+ "module": "core/dom/platform.js"
52636
+ }
52637
+ },
52638
+ {
52639
+ "kind": "js",
52640
+ "name": "isMacOS",
52641
+ "declaration": {
52642
+ "name": "isMacOS",
52643
+ "module": "core/dom/platform.js"
52644
+ }
52645
+ },
52646
+ {
52647
+ "kind": "js",
52648
+ "name": "isFirefox",
52649
+ "declaration": {
52650
+ "name": "isFirefox",
52651
+ "module": "core/dom/platform.js"
52652
+ }
52653
+ },
52654
+ {
52655
+ "kind": "js",
52656
+ "name": "isAndroid",
52657
+ "declaration": {
52658
+ "name": "isAndroid",
52659
+ "module": "core/dom/platform.js"
52660
+ }
52661
+ },
52662
+ {
52663
+ "kind": "js",
52664
+ "name": "isSafari",
52665
+ "declaration": {
52666
+ "name": "isSafari",
52667
+ "module": "core/dom/platform.js"
52668
+ }
52669
+ },
52670
+ {
52671
+ "kind": "js",
52672
+ "name": "isChromium",
52673
+ "declaration": {
52674
+ "name": "isChromium",
52675
+ "module": "core/dom/platform.js"
52676
+ }
52677
+ },
52678
+ {
52679
+ "kind": "js",
52680
+ "name": "isNextjs",
52681
+ "declaration": {
52682
+ "name": "isNextjs",
52683
+ "module": "core/dom/platform.js"
52684
+ }
52685
+ }
52686
+ ]
52687
+ },
52688
+ {
52689
+ "kind": "javascript-module",
52690
+ "path": "core/dom/queue-dom-content-loaded.js",
52691
+ "declarations": [
52692
+ {
52693
+ "kind": "function",
52694
+ "name": "queueDomContentLoaded",
52695
+ "return": {
52696
+ "type": {
52697
+ "text": "void"
52698
+ }
52699
+ },
52700
+ "parameters": [
52701
+ {
52702
+ "name": "action",
52703
+ "type": {
52704
+ "text": "() => void"
52705
+ }
52706
+ }
52707
+ ],
52708
+ "description": "Postpone 'action' after the DOM is loaded."
52709
+ }
52710
+ ],
52711
+ "exports": [
52712
+ {
52713
+ "kind": "js",
52714
+ "name": "queueDomContentLoaded",
52715
+ "declaration": {
52716
+ "name": "queueDomContentLoaded",
52717
+ "module": "core/dom/queue-dom-content-loaded.js"
52718
+ }
52719
+ }
52720
+ ]
52721
+ },
52722
+ {
52723
+ "kind": "javascript-module",
52724
+ "path": "core/dom/scroll.js",
52725
+ "declarations": [
52726
+ {
52727
+ "kind": "function",
52728
+ "name": "pageScrollDisabled",
52729
+ "return": {
52730
+ "type": {
52731
+ "text": "boolean"
52732
+ }
52733
+ }
52734
+ },
52735
+ {
52736
+ "kind": "class",
52737
+ "description": "Handle the page scroll, allowing to disable/enable the window scroll avoiding a potential\ncontent shift caused by the disappearance/appearance of the scrollbar.",
52738
+ "name": "SbbScrollHandler",
52739
+ "members": [
52740
+ {
52741
+ "kind": "field",
52742
+ "name": "_height",
52743
+ "type": {
52744
+ "text": "string"
52745
+ },
52746
+ "privacy": "private"
52747
+ },
52748
+ {
52749
+ "kind": "field",
52750
+ "name": "_position",
52751
+ "type": {
52752
+ "text": "string"
52753
+ },
52754
+ "privacy": "private"
52755
+ },
52756
+ {
52757
+ "kind": "field",
52758
+ "name": "_overflow",
52759
+ "type": {
52760
+ "text": "string"
52761
+ },
52762
+ "privacy": "private"
52763
+ },
52764
+ {
52765
+ "kind": "field",
52766
+ "name": "_marginInlineEnd",
52767
+ "type": {
52768
+ "text": "string"
52769
+ },
52770
+ "privacy": "private"
52771
+ },
52772
+ {
52773
+ "kind": "method",
52774
+ "name": "disableScroll",
52775
+ "privacy": "public",
52776
+ "return": {
52777
+ "type": {
52778
+ "text": "void"
52779
+ }
52780
+ }
52781
+ },
52782
+ {
52783
+ "kind": "method",
52784
+ "name": "enableScroll",
52785
+ "privacy": "public",
52786
+ "return": {
52787
+ "type": {
52788
+ "text": "void"
52789
+ }
52790
+ }
52791
+ }
52792
+ ]
52793
+ }
52794
+ ],
52795
+ "exports": [
52796
+ {
52797
+ "kind": "js",
52798
+ "name": "pageScrollDisabled",
52799
+ "declaration": {
52800
+ "name": "pageScrollDisabled",
52801
+ "module": "core/dom/scroll.js"
52802
+ }
52803
+ },
52804
+ {
52805
+ "kind": "js",
52806
+ "name": "SbbScrollHandler",
52807
+ "declaration": {
52808
+ "name": "SbbScrollHandler",
52809
+ "module": "core/dom/scroll.js"
52810
+ }
52811
+ }
52812
+ ]
52813
+ },
52814
+ {
52815
+ "kind": "javascript-module",
52816
+ "path": "core/dom/set-or-remove-attribute.js",
52817
+ "declarations": [
52818
+ {
52819
+ "kind": "function",
52820
+ "name": "setOrRemoveAttribute",
52821
+ "return": {
52822
+ "type": {
52823
+ "text": "void"
52824
+ }
52825
+ },
52826
+ "parameters": [
52827
+ {
52828
+ "name": "element",
52829
+ "type": {
52830
+ "text": "HTMLElement"
52831
+ },
52832
+ "description": "The element that will have the attribute"
52833
+ },
52834
+ {
52835
+ "name": "attribute",
52836
+ "type": {
52837
+ "text": "string"
52838
+ },
52839
+ "description": "The attribute name"
52840
+ },
52841
+ {
52842
+ "name": "value",
52843
+ "optional": true,
52844
+ "type": {
52845
+ "text": "any"
52846
+ },
52847
+ "description": "The attribute value"
52848
+ }
52849
+ ],
52850
+ "description": "Set the attribute only if value is not 'false', otherwise remove attribute."
52851
+ }
52852
+ ],
52853
+ "exports": [
52854
+ {
52855
+ "kind": "js",
52856
+ "name": "setOrRemoveAttribute",
52857
+ "declaration": {
52858
+ "name": "setOrRemoveAttribute",
52859
+ "module": "core/dom/set-or-remove-attribute.js"
52860
+ }
52861
+ }
52862
+ ]
52863
+ },
52840
52864
  {
52841
52865
  "kind": "javascript-module",
52842
52866
  "path": "core/eventing/composed-path-has-attribute.js",
@@ -100113,6 +100137,382 @@
100113
100137
  }
100114
100138
  ]
100115
100139
  },
100140
+ {
100141
+ "kind": "javascript-module",
100142
+ "path": "radio-button/radio-button-group/radio-button-group.component.js",
100143
+ "declarations": [
100144
+ {
100145
+ "kind": "class",
100146
+ "description": "It can be used as a container for one or more `sbb-radio-button`.",
100147
+ "name": "SbbRadioButtonGroupElement",
100148
+ "slots": [
100149
+ {
100150
+ "description": "Use the unnamed slot to add `sbb-radio-button` elements to the `sbb-radio-button-group`.",
100151
+ "name": ""
100152
+ },
100153
+ {
100154
+ "description": "Use this to provide a `sbb-error` to show an error message.",
100155
+ "name": "error"
100156
+ }
100157
+ ],
100158
+ "members": [
100159
+ {
100160
+ "kind": "field",
100161
+ "name": "role",
100162
+ "type": {
100163
+ "text": "string"
100164
+ },
100165
+ "privacy": "public",
100166
+ "static": true,
100167
+ "readonly": true,
100168
+ "default": "'radiogroup'"
100169
+ },
100170
+ {
100171
+ "kind": "field",
100172
+ "name": "events",
100173
+ "privacy": "public",
100174
+ "static": true,
100175
+ "readonly": true,
100176
+ "default": "{ didChange: 'didChange', change: 'change', input: 'input', }",
100177
+ "type": {
100178
+ "text": "{\n didChange: 'didChange',\n change: 'change',\n input: 'input',\n }"
100179
+ }
100180
+ },
100181
+ {
100182
+ "kind": "field",
100183
+ "name": "allowEmptySelection",
100184
+ "type": {
100185
+ "text": "boolean"
100186
+ },
100187
+ "privacy": "public",
100188
+ "default": "false",
100189
+ "description": "Whether the radios can be deselected.",
100190
+ "attribute": "allow-empty-selection"
100191
+ },
100192
+ {
100193
+ "kind": "field",
100194
+ "name": "required",
100195
+ "type": {
100196
+ "text": "boolean"
100197
+ },
100198
+ "privacy": "public",
100199
+ "default": "false",
100200
+ "description": "Whether the radio group is required.",
100201
+ "attribute": "required"
100202
+ },
100203
+ {
100204
+ "kind": "field",
100205
+ "name": "value",
100206
+ "privacy": "public",
100207
+ "description": "The value of the radio group.",
100208
+ "type": {
100209
+ "text": "(T = string) | null"
100210
+ },
100211
+ "attribute": "value"
100212
+ },
100213
+ {
100214
+ "kind": "field",
100215
+ "name": "_fallbackValue",
100216
+ "type": {
100217
+ "text": "T | null"
100218
+ },
100219
+ "privacy": "private",
100220
+ "default": "null",
100221
+ "description": "Used to preserve the `value` in case the radios are not yet 'loaded'"
100222
+ },
100223
+ {
100224
+ "kind": "field",
100225
+ "name": "size",
100226
+ "type": {
100227
+ "text": "SbbRadioButtonSize"
100228
+ },
100229
+ "privacy": "public",
100230
+ "description": "Size variant, either xs, s or m.",
100231
+ "default": "'m' / 'xs' (lean)",
100232
+ "attribute": "size"
100233
+ },
100234
+ {
100235
+ "kind": "field",
100236
+ "name": "horizontalFrom",
100237
+ "type": {
100238
+ "text": "SbbHorizontalFrom | null"
100239
+ },
100240
+ "privacy": "public",
100241
+ "default": "null",
100242
+ "description": "Overrides the behaviour of `orientation` property.",
100243
+ "attribute": "horizontal-from",
100244
+ "reflects": true
100245
+ },
100246
+ {
100247
+ "kind": "field",
100248
+ "name": "orientation",
100249
+ "type": {
100250
+ "text": "SbbOrientation"
100251
+ },
100252
+ "privacy": "public",
100253
+ "default": "'horizontal'",
100254
+ "description": "Radio group's orientation, either horizontal or vertical.",
100255
+ "attribute": "orientation",
100256
+ "reflects": true
100257
+ },
100258
+ {
100259
+ "kind": "field",
100260
+ "name": "name",
100261
+ "type": {
100262
+ "text": "string"
100263
+ },
100264
+ "privacy": "public",
100265
+ "default": "`sbb-radio-button-group-${++nextId}`",
100266
+ "attribute": "name"
100267
+ },
100268
+ {
100269
+ "kind": "field",
100270
+ "name": "radioButtons",
100271
+ "type": {
100272
+ "text": "(SbbRadioButtonElement<T> | SbbRadioButtonPanelElement<T>)[]"
100273
+ },
100274
+ "privacy": "public",
100275
+ "description": "List of contained radio buttons.",
100276
+ "readonly": true
100277
+ },
100278
+ {
100279
+ "kind": "method",
100280
+ "name": "_onRadioChange",
100281
+ "privacy": "private",
100282
+ "return": {
100283
+ "type": {
100284
+ "text": "void"
100285
+ }
100286
+ },
100287
+ "parameters": [
100288
+ {
100289
+ "name": "event",
100290
+ "type": {
100291
+ "text": "Event"
100292
+ }
100293
+ }
100294
+ ]
100295
+ },
100296
+ {
100297
+ "kind": "method",
100298
+ "name": "_updateRadiosName",
100299
+ "privacy": "private",
100300
+ "return": {
100301
+ "type": {
100302
+ "text": "void"
100303
+ }
100304
+ },
100305
+ "description": "Proxy 'name' to child radio-buttons"
100306
+ },
100307
+ {
100308
+ "kind": "method",
100309
+ "name": "_updateRadioState",
100310
+ "privacy": "private",
100311
+ "return": {
100312
+ "type": {
100313
+ "text": "void"
100314
+ }
100315
+ },
100316
+ "description": "Re-trigger the setter and update the checked state of the radios.\nMainly used to cover cases where the setter is called before the radios are loaded"
100317
+ },
100318
+ {
100319
+ "kind": "field",
100320
+ "name": "disabled",
100321
+ "privacy": "public",
100322
+ "description": "Whether the component is disabled.",
100323
+ "default": "false",
100324
+ "type": {
100325
+ "text": "boolean"
100326
+ },
100327
+ "attribute": "disabled",
100328
+ "reflects": true,
100329
+ "inheritedFrom": {
100330
+ "name": "SbbDisabledMixin",
100331
+ "module": "core/mixins/disabled-mixin.js"
100332
+ }
100333
+ },
100334
+ {
100335
+ "kind": "field",
100336
+ "name": "#disabled",
100337
+ "privacy": "private",
100338
+ "type": {
100339
+ "text": "boolean"
100340
+ },
100341
+ "default": "false",
100342
+ "inheritedFrom": {
100343
+ "name": "SbbDisabledMixin",
100344
+ "module": "core/mixins/disabled-mixin.js"
100345
+ }
100346
+ },
100347
+ {
100348
+ "kind": "method",
100349
+ "name": "isDisabledExternally",
100350
+ "privacy": "protected",
100351
+ "return": {
100352
+ "type": {
100353
+ "text": "boolean"
100354
+ }
100355
+ },
100356
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
100357
+ "inheritedFrom": {
100358
+ "name": "SbbDisabledMixin",
100359
+ "module": "core/mixins/disabled-mixin.js"
100360
+ }
100361
+ },
100362
+ {
100363
+ "kind": "method",
100364
+ "name": "toggleState",
100365
+ "privacy": "protected",
100366
+ "return": {
100367
+ "type": {
100368
+ "text": "void"
100369
+ }
100370
+ },
100371
+ "parameters": [
100372
+ {
100373
+ "name": "value",
100374
+ "type": {
100375
+ "text": "string"
100376
+ }
100377
+ },
100378
+ {
100379
+ "name": "force",
100380
+ "optional": true,
100381
+ "type": {
100382
+ "text": "boolean"
100383
+ }
100384
+ }
100385
+ ],
100386
+ "inheritedFrom": {
100387
+ "name": "SbbElementInternalsMixin",
100388
+ "module": "core/mixins/element-internals-mixin.js"
100389
+ }
100390
+ }
100391
+ ],
100392
+ "events": [
100393
+ {
100394
+ "name": "didChange",
100395
+ "type": {
100396
+ "text": "Event"
100397
+ },
100398
+ "description": "Deprecated. Mirrors change event for React. Will be removed once React properly supports change events.",
100399
+ "deprecated": "true"
100400
+ }
100401
+ ],
100402
+ "attributes": [
100403
+ {
100404
+ "name": "allow-empty-selection",
100405
+ "type": {
100406
+ "text": "boolean"
100407
+ },
100408
+ "default": "false",
100409
+ "description": "Whether the radios can be deselected.",
100410
+ "fieldName": "allowEmptySelection"
100411
+ },
100412
+ {
100413
+ "name": "required",
100414
+ "type": {
100415
+ "text": "boolean"
100416
+ },
100417
+ "default": "false",
100418
+ "description": "Whether the radio group is required.",
100419
+ "fieldName": "required"
100420
+ },
100421
+ {
100422
+ "name": "value",
100423
+ "description": "The value of the radio group.",
100424
+ "type": {
100425
+ "text": "T | null"
100426
+ },
100427
+ "fieldName": "value"
100428
+ },
100429
+ {
100430
+ "name": "size",
100431
+ "type": {
100432
+ "text": "SbbRadioButtonSize"
100433
+ },
100434
+ "description": "Size variant, either xs, s or m.",
100435
+ "default": "'m' / 'xs' (lean)",
100436
+ "fieldName": "size"
100437
+ },
100438
+ {
100439
+ "name": "horizontal-from",
100440
+ "type": {
100441
+ "text": "SbbHorizontalFrom | null"
100442
+ },
100443
+ "default": "null",
100444
+ "description": "Overrides the behaviour of `orientation` property.",
100445
+ "fieldName": "horizontalFrom"
100446
+ },
100447
+ {
100448
+ "name": "orientation",
100449
+ "type": {
100450
+ "text": "SbbOrientation"
100451
+ },
100452
+ "default": "'horizontal'",
100453
+ "description": "Radio group's orientation, either horizontal or vertical.",
100454
+ "fieldName": "orientation"
100455
+ },
100456
+ {
100457
+ "name": "name",
100458
+ "type": {
100459
+ "text": "string"
100460
+ },
100461
+ "default": "`sbb-radio-button-group-${++nextId}`",
100462
+ "fieldName": "name"
100463
+ },
100464
+ {
100465
+ "name": "disabled",
100466
+ "description": "Whether the component is disabled.",
100467
+ "default": "false",
100468
+ "type": {
100469
+ "text": "boolean"
100470
+ },
100471
+ "fieldName": "disabled",
100472
+ "inheritedFrom": {
100473
+ "name": "SbbDisabledMixin",
100474
+ "module": "core/mixins/disabled-mixin.js"
100475
+ }
100476
+ }
100477
+ ],
100478
+ "mixins": [
100479
+ {
100480
+ "name": "SbbDisabledMixin",
100481
+ "module": "core/mixins.js"
100482
+ },
100483
+ {
100484
+ "name": "SbbElementInternalsMixin",
100485
+ "module": "core/mixins.js"
100486
+ }
100487
+ ],
100488
+ "superclass": {
100489
+ "name": "LitElement",
100490
+ "package": "lit"
100491
+ },
100492
+ "classGenerics": "T = string",
100493
+ "tagName": "sbb-radio-button-group",
100494
+ "customElement": true
100495
+ }
100496
+ ],
100497
+ "exports": [
100498
+ {
100499
+ "kind": "js",
100500
+ "name": "SbbRadioButtonGroupElement",
100501
+ "declaration": {
100502
+ "name": "SbbRadioButtonGroupElement",
100503
+ "module": "radio-button/radio-button-group/radio-button-group.component.js"
100504
+ }
100505
+ },
100506
+ {
100507
+ "kind": "custom-element-definition",
100508
+ "name": "sbb-radio-button-group",
100509
+ "declaration": {
100510
+ "name": "SbbRadioButtonGroupElement",
100511
+ "module": "radio-button/radio-button-group/radio-button-group.component.js"
100512
+ }
100513
+ }
100514
+ ]
100515
+ },
100116
100516
  {
100117
100517
  "kind": "javascript-module",
100118
100518
  "path": "radio-button/radio-button-panel/radio-button-panel.component.js",
@@ -101036,568 +101436,176 @@
101036
101436
  "name": "SbbElementInternalsMixin",
101037
101437
  "module": "core/mixins/element-internals-mixin.js"
101038
101438
  }
101039
- },
101040
- {
101041
- "kind": "field",
101042
- "name": "_updatePromise",
101043
- "privacy": "private",
101044
- "inheritedFrom": {
101045
- "name": "SbbUpdateSchedulerMixin",
101046
- "module": "core/mixins/update-scheduler-mixin.js"
101047
- }
101048
- },
101049
- {
101050
- "kind": "field",
101051
- "name": "_updateResolve",
101052
- "privacy": "private",
101053
- "inheritedFrom": {
101054
- "name": "SbbUpdateSchedulerMixin",
101055
- "module": "core/mixins/update-scheduler-mixin.js"
101056
- }
101057
- },
101058
- {
101059
- "kind": "method",
101060
- "name": "startUpdate",
101061
- "privacy": "protected",
101062
- "return": {
101063
- "type": {
101064
- "text": "void"
101065
- }
101066
- },
101067
- "inheritedFrom": {
101068
- "name": "SbbUpdateSchedulerMixin",
101069
- "module": "core/mixins/update-scheduler-mixin.js"
101070
- }
101071
- },
101072
- {
101073
- "kind": "method",
101074
- "name": "completeUpdate",
101075
- "privacy": "protected",
101076
- "return": {
101077
- "type": {
101078
- "text": "void"
101079
- }
101080
- },
101081
- "inheritedFrom": {
101082
- "name": "SbbUpdateSchedulerMixin",
101083
- "module": "core/mixins/update-scheduler-mixin.js"
101084
- }
101085
- },
101086
- {
101087
- "kind": "method",
101088
- "name": "getUpdateComplete",
101089
- "privacy": "protected",
101090
- "return": {
101091
- "type": {
101092
- "text": "Promise<boolean>"
101093
- }
101094
- },
101095
- "inheritedFrom": {
101096
- "name": "SbbUpdateSchedulerMixin",
101097
- "module": "core/mixins/update-scheduler-mixin.js"
101098
- }
101099
- }
101100
- ],
101101
- "events": [
101102
- {
101103
- "name": "change",
101104
- "type": {
101105
- "text": "Event"
101106
- },
101107
- "description": "The change event is fired when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
101108
- "inheritedFrom": {
101109
- "name": "SbbFormAssociatedRadioButtonMixin",
101110
- "module": "core/mixins/form-associated-radio-button-mixin.js"
101111
- }
101112
- },
101113
- {
101114
- "name": "input",
101115
- "type": {
101116
- "text": "InputEvent"
101117
- },
101118
- "description": "The input event fires when the value has been changed as a direct result of a user action.",
101119
- "inheritedFrom": {
101120
- "name": "SbbFormAssociatedRadioButtonMixin",
101121
- "module": "core/mixins/form-associated-radio-button-mixin.js"
101122
- }
101123
- }
101124
- ],
101125
- "attributes": [
101126
- {
101127
- "name": "value",
101128
- "type": {
101129
- "text": "T | null"
101130
- },
101131
- "default": "null",
101132
- "description": "The value of the form element",
101133
- "fieldName": "value"
101134
- },
101135
- {
101136
- "name": "color",
101137
- "type": {
101138
- "text": "'white' | 'milk'"
101139
- },
101140
- "default": "'white'",
101141
- "description": "The background color of the panel.",
101142
- "fieldName": "color",
101143
- "inheritedFrom": {
101144
- "name": "SbbPanelMixin",
101145
- "module": "core/mixins/panel-mixin.js"
101146
- }
101147
- },
101148
- {
101149
- "name": "borderless",
101150
- "type": {
101151
- "text": "boolean"
101152
- },
101153
- "default": "false",
101154
- "description": "Whether the unselected panel has a border.",
101155
- "fieldName": "borderless",
101156
- "inheritedFrom": {
101157
- "name": "SbbPanelMixin",
101158
- "module": "core/mixins/panel-mixin.js"
101159
- }
101160
- },
101161
- {
101162
- "name": "size",
101163
- "type": {
101164
- "text": "SbbCheckboxSize | SbbRadioButtonSize"
101165
- },
101166
- "description": "Size variant, either xs, s or m.",
101167
- "default": "'m' / 'xs' (lean)",
101168
- "fieldName": "size",
101169
- "inheritedFrom": {
101170
- "name": "SbbPanelMixin",
101171
- "module": "core/mixins/panel-mixin.js"
101172
- }
101173
- },
101174
- {
101175
- "name": "allow-empty-selection",
101176
- "description": "Whether the radio can be deselected.",
101177
- "type": {
101178
- "text": "boolean"
101179
- },
101180
- "fieldName": "allowEmptySelection",
101181
- "inheritedFrom": {
101182
- "name": "SbbRadioButtonCommonElementMixin",
101183
- "module": "radio-button/common/radio-button-common.js"
101184
- }
101185
- },
101186
- {
101187
- "name": "checked",
101188
- "description": "Whether the radio button is checked.",
101189
- "type": {
101190
- "text": "boolean"
101191
- },
101192
- "fieldName": "checked",
101193
- "inheritedFrom": {
101194
- "name": "SbbFormAssociatedRadioButtonMixin",
101195
- "module": "core/mixins/form-associated-radio-button-mixin.js"
101196
- }
101197
- },
101198
- {
101199
- "name": "name",
101200
- "description": "Name of the form element. Will be read from name attribute.",
101201
- "type": {
101202
- "text": "string"
101203
- },
101204
- "fieldName": "name",
101205
- "inheritedFrom": {
101206
- "name": "SbbFormAssociatedMixin",
101207
- "module": "core/mixins/form-associated-mixin.js"
101208
- }
101209
- },
101210
- {
101211
- "name": "disabled",
101212
- "description": "Whether the component is disabled.",
101213
- "default": "false",
101214
- "type": {
101215
- "text": "boolean"
101216
- },
101217
- "fieldName": "disabled",
101218
- "inheritedFrom": {
101219
- "name": "SbbDisabledMixin",
101220
- "module": "core/mixins/disabled-mixin.js"
101221
- }
101222
- },
101223
- {
101224
- "name": "required",
101225
- "description": "Whether the component is required.",
101226
- "type": {
101227
- "text": "boolean"
101228
- },
101229
- "fieldName": "required",
101230
- "inheritedFrom": {
101231
- "name": "SbbRequiredMixin",
101232
- "module": "core/mixins/required-mixin.js"
101233
- }
101234
- }
101235
- ],
101236
- "mixins": [
101237
- {
101238
- "name": "SbbPanelMixin",
101239
- "module": "core/mixins.js"
101240
- },
101241
- {
101242
- "name": "SbbRadioButtonCommonElementMixin",
101243
- "module": "radio-button/common.js"
101244
- },
101245
- {
101246
- "name": "SbbUpdateSchedulerMixin",
101247
- "module": "core/mixins.js"
101248
- }
101249
- ],
101250
- "superclass": {
101251
- "name": "LitElement",
101252
- "package": "lit"
101253
- },
101254
- "classGenerics": "T = string",
101255
- "tagName": "sbb-radio-button-panel",
101256
- "customElement": true
101257
- }
101258
- ],
101259
- "exports": [
101260
- {
101261
- "kind": "js",
101262
- "name": "SbbRadioButtonPanelElement",
101263
- "declaration": {
101264
- "name": "SbbRadioButtonPanelElement",
101265
- "module": "radio-button/radio-button-panel/radio-button-panel.component.js"
101266
- }
101267
- },
101268
- {
101269
- "kind": "custom-element-definition",
101270
- "name": "sbb-radio-button-panel",
101271
- "declaration": {
101272
- "name": "SbbRadioButtonPanelElement",
101273
- "module": "radio-button/radio-button-panel/radio-button-panel.component.js"
101274
- }
101275
- }
101276
- ]
101277
- },
101278
- {
101279
- "kind": "javascript-module",
101280
- "path": "radio-button/radio-button-group/radio-button-group.component.js",
101281
- "declarations": [
101282
- {
101283
- "kind": "class",
101284
- "description": "It can be used as a container for one or more `sbb-radio-button`.",
101285
- "name": "SbbRadioButtonGroupElement",
101286
- "slots": [
101287
- {
101288
- "description": "Use the unnamed slot to add `sbb-radio-button` elements to the `sbb-radio-button-group`.",
101289
- "name": ""
101290
- },
101291
- {
101292
- "description": "Use this to provide a `sbb-error` to show an error message.",
101293
- "name": "error"
101294
- }
101295
- ],
101296
- "members": [
101297
- {
101298
- "kind": "field",
101299
- "name": "role",
101300
- "type": {
101301
- "text": "string"
101302
- },
101303
- "privacy": "public",
101304
- "static": true,
101305
- "readonly": true,
101306
- "default": "'radiogroup'"
101307
- },
101308
- {
101309
- "kind": "field",
101310
- "name": "events",
101311
- "privacy": "public",
101312
- "static": true,
101313
- "readonly": true,
101314
- "default": "{ didChange: 'didChange', change: 'change', input: 'input', }",
101315
- "type": {
101316
- "text": "{\n didChange: 'didChange',\n change: 'change',\n input: 'input',\n }"
101317
- }
101318
- },
101319
- {
101320
- "kind": "field",
101321
- "name": "allowEmptySelection",
101322
- "type": {
101323
- "text": "boolean"
101324
- },
101325
- "privacy": "public",
101326
- "default": "false",
101327
- "description": "Whether the radios can be deselected.",
101328
- "attribute": "allow-empty-selection"
101329
- },
101330
- {
101331
- "kind": "field",
101332
- "name": "required",
101333
- "type": {
101334
- "text": "boolean"
101335
- },
101336
- "privacy": "public",
101337
- "default": "false",
101338
- "description": "Whether the radio group is required.",
101339
- "attribute": "required"
101340
- },
101341
- {
101342
- "kind": "field",
101343
- "name": "value",
101344
- "privacy": "public",
101345
- "description": "The value of the radio group.",
101346
- "type": {
101347
- "text": "(T = string) | null"
101348
- },
101349
- "attribute": "value"
101350
- },
101351
- {
101352
- "kind": "field",
101353
- "name": "_fallbackValue",
101354
- "type": {
101355
- "text": "T | null"
101356
- },
101357
- "privacy": "private",
101358
- "default": "null",
101359
- "description": "Used to preserve the `value` in case the radios are not yet 'loaded'"
101360
- },
101361
- {
101362
- "kind": "field",
101363
- "name": "size",
101364
- "type": {
101365
- "text": "SbbRadioButtonSize"
101366
- },
101367
- "privacy": "public",
101368
- "description": "Size variant, either xs, s or m.",
101369
- "default": "'m' / 'xs' (lean)",
101370
- "attribute": "size"
101371
- },
101372
- {
101373
- "kind": "field",
101374
- "name": "horizontalFrom",
101375
- "type": {
101376
- "text": "SbbHorizontalFrom | null"
101377
- },
101378
- "privacy": "public",
101379
- "default": "null",
101380
- "description": "Overrides the behaviour of `orientation` property.",
101381
- "attribute": "horizontal-from",
101382
- "reflects": true
101383
- },
101384
- {
101385
- "kind": "field",
101386
- "name": "orientation",
101387
- "type": {
101388
- "text": "SbbOrientation"
101389
- },
101390
- "privacy": "public",
101391
- "default": "'horizontal'",
101392
- "description": "Radio group's orientation, either horizontal or vertical.",
101393
- "attribute": "orientation",
101394
- "reflects": true
101395
- },
101396
- {
101397
- "kind": "field",
101398
- "name": "name",
101399
- "type": {
101400
- "text": "string"
101401
- },
101402
- "privacy": "public",
101403
- "default": "`sbb-radio-button-group-${++nextId}`",
101404
- "attribute": "name"
101405
- },
101406
- {
101407
- "kind": "field",
101408
- "name": "radioButtons",
101409
- "type": {
101410
- "text": "(SbbRadioButtonElement<T> | SbbRadioButtonPanelElement<T>)[]"
101411
- },
101412
- "privacy": "public",
101413
- "description": "List of contained radio buttons.",
101414
- "readonly": true
101415
- },
101416
- {
101417
- "kind": "method",
101418
- "name": "_onRadioChange",
101419
- "privacy": "private",
101420
- "return": {
101421
- "type": {
101422
- "text": "void"
101423
- }
101424
- },
101425
- "parameters": [
101426
- {
101427
- "name": "event",
101428
- "type": {
101429
- "text": "Event"
101430
- }
101431
- }
101432
- ]
101433
- },
101434
- {
101435
- "kind": "method",
101436
- "name": "_updateRadiosName",
101437
- "privacy": "private",
101438
- "return": {
101439
- "type": {
101440
- "text": "void"
101441
- }
101442
- },
101443
- "description": "Proxy 'name' to child radio-buttons"
101444
- },
101445
- {
101446
- "kind": "method",
101447
- "name": "_updateRadioState",
101448
- "privacy": "private",
101449
- "return": {
101450
- "type": {
101451
- "text": "void"
101452
- }
101453
- },
101454
- "description": "Re-trigger the setter and update the checked state of the radios.\nMainly used to cover cases where the setter is called before the radios are loaded"
101455
- },
101456
- {
101457
- "kind": "field",
101458
- "name": "disabled",
101459
- "privacy": "public",
101460
- "description": "Whether the component is disabled.",
101461
- "default": "false",
101462
- "type": {
101463
- "text": "boolean"
101464
- },
101465
- "attribute": "disabled",
101466
- "reflects": true,
101467
- "inheritedFrom": {
101468
- "name": "SbbDisabledMixin",
101469
- "module": "core/mixins/disabled-mixin.js"
101470
- }
101471
- },
101472
- {
101473
- "kind": "field",
101474
- "name": "#disabled",
101475
- "privacy": "private",
101476
- "type": {
101477
- "text": "boolean"
101478
- },
101479
- "default": "false",
101480
- "inheritedFrom": {
101481
- "name": "SbbDisabledMixin",
101482
- "module": "core/mixins/disabled-mixin.js"
101483
- }
101484
- },
101485
- {
101486
- "kind": "method",
101487
- "name": "isDisabledExternally",
101488
- "privacy": "protected",
101489
- "return": {
101490
- "type": {
101491
- "text": "boolean"
101492
- }
101493
- },
101494
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
101495
- "inheritedFrom": {
101496
- "name": "SbbDisabledMixin",
101497
- "module": "core/mixins/disabled-mixin.js"
101498
- }
101499
- },
101500
- {
101501
- "kind": "method",
101502
- "name": "toggleState",
101503
- "privacy": "protected",
101504
- "return": {
101505
- "type": {
101506
- "text": "void"
101507
- }
101508
- },
101509
- "parameters": [
101510
- {
101511
- "name": "value",
101512
- "type": {
101513
- "text": "string"
101514
- }
101515
- },
101516
- {
101517
- "name": "force",
101518
- "optional": true,
101519
- "type": {
101520
- "text": "boolean"
101521
- }
101522
- }
101523
- ],
101524
- "inheritedFrom": {
101525
- "name": "SbbElementInternalsMixin",
101526
- "module": "core/mixins/element-internals-mixin.js"
101527
- }
101439
+ },
101440
+ {
101441
+ "kind": "field",
101442
+ "name": "_updatePromise",
101443
+ "privacy": "private",
101444
+ "inheritedFrom": {
101445
+ "name": "SbbUpdateSchedulerMixin",
101446
+ "module": "core/mixins/update-scheduler-mixin.js"
101447
+ }
101448
+ },
101449
+ {
101450
+ "kind": "field",
101451
+ "name": "_updateResolve",
101452
+ "privacy": "private",
101453
+ "inheritedFrom": {
101454
+ "name": "SbbUpdateSchedulerMixin",
101455
+ "module": "core/mixins/update-scheduler-mixin.js"
101456
+ }
101457
+ },
101458
+ {
101459
+ "kind": "method",
101460
+ "name": "startUpdate",
101461
+ "privacy": "protected",
101462
+ "return": {
101463
+ "type": {
101464
+ "text": "void"
101465
+ }
101466
+ },
101467
+ "inheritedFrom": {
101468
+ "name": "SbbUpdateSchedulerMixin",
101469
+ "module": "core/mixins/update-scheduler-mixin.js"
101470
+ }
101471
+ },
101472
+ {
101473
+ "kind": "method",
101474
+ "name": "completeUpdate",
101475
+ "privacy": "protected",
101476
+ "return": {
101477
+ "type": {
101478
+ "text": "void"
101479
+ }
101480
+ },
101481
+ "inheritedFrom": {
101482
+ "name": "SbbUpdateSchedulerMixin",
101483
+ "module": "core/mixins/update-scheduler-mixin.js"
101484
+ }
101485
+ },
101486
+ {
101487
+ "kind": "method",
101488
+ "name": "getUpdateComplete",
101489
+ "privacy": "protected",
101490
+ "return": {
101491
+ "type": {
101492
+ "text": "Promise<boolean>"
101493
+ }
101494
+ },
101495
+ "inheritedFrom": {
101496
+ "name": "SbbUpdateSchedulerMixin",
101497
+ "module": "core/mixins/update-scheduler-mixin.js"
101498
+ }
101528
101499
  }
101529
101500
  ],
101530
101501
  "events": [
101531
101502
  {
101532
- "name": "didChange",
101503
+ "name": "change",
101533
101504
  "type": {
101534
101505
  "text": "Event"
101535
101506
  },
101536
- "description": "Deprecated. Mirrors change event for React. Will be removed once React properly supports change events.",
101537
- "deprecated": "true"
101507
+ "description": "The change event is fired when the user modifies the element's value. Unlike the input event, the change event is not necessarily fired for each alteration to an element's value.",
101508
+ "inheritedFrom": {
101509
+ "name": "SbbFormAssociatedRadioButtonMixin",
101510
+ "module": "core/mixins/form-associated-radio-button-mixin.js"
101511
+ }
101512
+ },
101513
+ {
101514
+ "name": "input",
101515
+ "type": {
101516
+ "text": "InputEvent"
101517
+ },
101518
+ "description": "The input event fires when the value has been changed as a direct result of a user action.",
101519
+ "inheritedFrom": {
101520
+ "name": "SbbFormAssociatedRadioButtonMixin",
101521
+ "module": "core/mixins/form-associated-radio-button-mixin.js"
101522
+ }
101538
101523
  }
101539
101524
  ],
101540
101525
  "attributes": [
101541
101526
  {
101542
- "name": "allow-empty-selection",
101527
+ "name": "value",
101543
101528
  "type": {
101544
- "text": "boolean"
101529
+ "text": "T | null"
101545
101530
  },
101546
- "default": "false",
101547
- "description": "Whether the radios can be deselected.",
101548
- "fieldName": "allowEmptySelection"
101531
+ "default": "null",
101532
+ "description": "The value of the form element",
101533
+ "fieldName": "value"
101549
101534
  },
101550
101535
  {
101551
- "name": "required",
101536
+ "name": "color",
101552
101537
  "type": {
101553
- "text": "boolean"
101538
+ "text": "'white' | 'milk'"
101554
101539
  },
101555
- "default": "false",
101556
- "description": "Whether the radio group is required.",
101557
- "fieldName": "required"
101540
+ "default": "'white'",
101541
+ "description": "The background color of the panel.",
101542
+ "fieldName": "color",
101543
+ "inheritedFrom": {
101544
+ "name": "SbbPanelMixin",
101545
+ "module": "core/mixins/panel-mixin.js"
101546
+ }
101558
101547
  },
101559
101548
  {
101560
- "name": "value",
101561
- "description": "The value of the radio group.",
101549
+ "name": "borderless",
101562
101550
  "type": {
101563
- "text": "T | null"
101551
+ "text": "boolean"
101564
101552
  },
101565
- "fieldName": "value"
101553
+ "default": "false",
101554
+ "description": "Whether the unselected panel has a border.",
101555
+ "fieldName": "borderless",
101556
+ "inheritedFrom": {
101557
+ "name": "SbbPanelMixin",
101558
+ "module": "core/mixins/panel-mixin.js"
101559
+ }
101566
101560
  },
101567
101561
  {
101568
101562
  "name": "size",
101569
101563
  "type": {
101570
- "text": "SbbRadioButtonSize"
101564
+ "text": "SbbCheckboxSize | SbbRadioButtonSize"
101571
101565
  },
101572
101566
  "description": "Size variant, either xs, s or m.",
101573
101567
  "default": "'m' / 'xs' (lean)",
101574
- "fieldName": "size"
101568
+ "fieldName": "size",
101569
+ "inheritedFrom": {
101570
+ "name": "SbbPanelMixin",
101571
+ "module": "core/mixins/panel-mixin.js"
101572
+ }
101575
101573
  },
101576
101574
  {
101577
- "name": "horizontal-from",
101575
+ "name": "allow-empty-selection",
101576
+ "description": "Whether the radio can be deselected.",
101578
101577
  "type": {
101579
- "text": "SbbHorizontalFrom | null"
101578
+ "text": "boolean"
101580
101579
  },
101581
- "default": "null",
101582
- "description": "Overrides the behaviour of `orientation` property.",
101583
- "fieldName": "horizontalFrom"
101580
+ "fieldName": "allowEmptySelection",
101581
+ "inheritedFrom": {
101582
+ "name": "SbbRadioButtonCommonElementMixin",
101583
+ "module": "radio-button/common/radio-button-common.js"
101584
+ }
101584
101585
  },
101585
101586
  {
101586
- "name": "orientation",
101587
+ "name": "checked",
101588
+ "description": "Whether the radio button is checked.",
101587
101589
  "type": {
101588
- "text": "SbbOrientation"
101590
+ "text": "boolean"
101589
101591
  },
101590
- "default": "'horizontal'",
101591
- "description": "Radio group's orientation, either horizontal or vertical.",
101592
- "fieldName": "orientation"
101592
+ "fieldName": "checked",
101593
+ "inheritedFrom": {
101594
+ "name": "SbbFormAssociatedRadioButtonMixin",
101595
+ "module": "core/mixins/form-associated-radio-button-mixin.js"
101596
+ }
101593
101597
  },
101594
101598
  {
101595
101599
  "name": "name",
101600
+ "description": "Name of the form element. Will be read from name attribute.",
101596
101601
  "type": {
101597
101602
  "text": "string"
101598
101603
  },
101599
- "default": "`sbb-radio-button-group-${++nextId}`",
101600
- "fieldName": "name"
101604
+ "fieldName": "name",
101605
+ "inheritedFrom": {
101606
+ "name": "SbbFormAssociatedMixin",
101607
+ "module": "core/mixins/form-associated-mixin.js"
101608
+ }
101601
101609
  },
101602
101610
  {
101603
101611
  "name": "disabled",
@@ -101611,15 +101619,31 @@
101611
101619
  "name": "SbbDisabledMixin",
101612
101620
  "module": "core/mixins/disabled-mixin.js"
101613
101621
  }
101622
+ },
101623
+ {
101624
+ "name": "required",
101625
+ "description": "Whether the component is required.",
101626
+ "type": {
101627
+ "text": "boolean"
101628
+ },
101629
+ "fieldName": "required",
101630
+ "inheritedFrom": {
101631
+ "name": "SbbRequiredMixin",
101632
+ "module": "core/mixins/required-mixin.js"
101633
+ }
101614
101634
  }
101615
101635
  ],
101616
101636
  "mixins": [
101617
101637
  {
101618
- "name": "SbbDisabledMixin",
101638
+ "name": "SbbPanelMixin",
101619
101639
  "module": "core/mixins.js"
101620
101640
  },
101621
101641
  {
101622
- "name": "SbbElementInternalsMixin",
101642
+ "name": "SbbRadioButtonCommonElementMixin",
101643
+ "module": "radio-button/common.js"
101644
+ },
101645
+ {
101646
+ "name": "SbbUpdateSchedulerMixin",
101623
101647
  "module": "core/mixins.js"
101624
101648
  }
101625
101649
  ],
@@ -101628,25 +101652,25 @@
101628
101652
  "package": "lit"
101629
101653
  },
101630
101654
  "classGenerics": "T = string",
101631
- "tagName": "sbb-radio-button-group",
101655
+ "tagName": "sbb-radio-button-panel",
101632
101656
  "customElement": true
101633
101657
  }
101634
101658
  ],
101635
101659
  "exports": [
101636
101660
  {
101637
101661
  "kind": "js",
101638
- "name": "SbbRadioButtonGroupElement",
101662
+ "name": "SbbRadioButtonPanelElement",
101639
101663
  "declaration": {
101640
- "name": "SbbRadioButtonGroupElement",
101641
- "module": "radio-button/radio-button-group/radio-button-group.component.js"
101664
+ "name": "SbbRadioButtonPanelElement",
101665
+ "module": "radio-button/radio-button-panel/radio-button-panel.component.js"
101642
101666
  }
101643
101667
  },
101644
101668
  {
101645
101669
  "kind": "custom-element-definition",
101646
- "name": "sbb-radio-button-group",
101670
+ "name": "sbb-radio-button-panel",
101647
101671
  "declaration": {
101648
- "name": "SbbRadioButtonGroupElement",
101649
- "module": "radio-button/radio-button-group/radio-button-group.component.js"
101672
+ "name": "SbbRadioButtonPanelElement",
101673
+ "module": "radio-button/radio-button-panel/radio-button-panel.component.js"
101650
101674
  }
101651
101675
  }
101652
101676
  ]
@@ -103450,76 +103474,303 @@
103450
103474
  }
103451
103475
  ],
103452
103476
  "inheritedFrom": {
103453
- "name": "SbbTitleBase",
103454
- "module": "title/title-base.js"
103455
- }
103456
- },
103457
- {
103458
- "kind": "field",
103459
- "name": "role",
103460
- "type": {
103461
- "text": "string"
103462
- },
103463
- "privacy": "public",
103464
- "static": true,
103465
- "default": "'heading'",
103466
- "inheritedFrom": {
103467
- "name": "SbbTitleBase",
103468
- "module": "title/title-base.js"
103477
+ "name": "SbbTitleBase",
103478
+ "module": "title/title-base.js"
103479
+ }
103480
+ },
103481
+ {
103482
+ "kind": "field",
103483
+ "name": "role",
103484
+ "type": {
103485
+ "text": "string"
103486
+ },
103487
+ "privacy": "public",
103488
+ "static": true,
103489
+ "default": "'heading'",
103490
+ "inheritedFrom": {
103491
+ "name": "SbbTitleBase",
103492
+ "module": "title/title-base.js"
103493
+ }
103494
+ }
103495
+ ],
103496
+ "attributes": [
103497
+ {
103498
+ "name": "level",
103499
+ "type": {
103500
+ "text": "SbbTitleLevel"
103501
+ },
103502
+ "default": "'2'",
103503
+ "description": "Title level",
103504
+ "fieldName": "level",
103505
+ "inheritedFrom": {
103506
+ "name": "SbbTitleBase",
103507
+ "module": "title/title-base.js"
103508
+ }
103509
+ },
103510
+ {
103511
+ "name": "visual-level",
103512
+ "type": {
103513
+ "text": "SbbTitleLevel | null"
103514
+ },
103515
+ "default": "null",
103516
+ "description": "Visual level for the title.",
103517
+ "fieldName": "visualLevel",
103518
+ "inheritedFrom": {
103519
+ "name": "SbbTitleBase",
103520
+ "module": "title/title-base.js"
103521
+ }
103522
+ }
103523
+ ],
103524
+ "superclass": {
103525
+ "name": "SbbTitleBase",
103526
+ "module": "title.js"
103527
+ },
103528
+ "tagName": "sbb-sidebar-title",
103529
+ "customElement": true
103530
+ }
103531
+ ],
103532
+ "exports": [
103533
+ {
103534
+ "kind": "js",
103535
+ "name": "SbbSidebarTitleElement",
103536
+ "declaration": {
103537
+ "name": "SbbSidebarTitleElement",
103538
+ "module": "sidebar/sidebar-title/sidebar-title.component.js"
103539
+ }
103540
+ },
103541
+ {
103542
+ "kind": "custom-element-definition",
103543
+ "name": "sbb-sidebar-title",
103544
+ "declaration": {
103545
+ "name": "SbbSidebarTitleElement",
103546
+ "module": "sidebar/sidebar-title/sidebar-title.component.js"
103547
+ }
103548
+ }
103549
+ ]
103550
+ },
103551
+ {
103552
+ "kind": "javascript-module",
103553
+ "path": "stepper/step/step.component.js",
103554
+ "declarations": [
103555
+ {
103556
+ "kind": "class",
103557
+ "description": "Combined with a `sbb-stepper`, it displays a step's content.",
103558
+ "name": "SbbStepElement",
103559
+ "slots": [
103560
+ {
103561
+ "description": "Use the unnamed slot to provide content.",
103562
+ "name": ""
103563
+ }
103564
+ ],
103565
+ "members": [
103566
+ {
103567
+ "kind": "field",
103568
+ "name": "role",
103569
+ "type": {
103570
+ "text": "string"
103571
+ },
103572
+ "privacy": "public",
103573
+ "static": true,
103574
+ "readonly": true,
103575
+ "default": "'tabpanel'"
103576
+ },
103577
+ {
103578
+ "kind": "field",
103579
+ "name": "events",
103580
+ "privacy": "public",
103581
+ "static": true,
103582
+ "readonly": true,
103583
+ "default": "{ validate: 'validate', resizechange: 'resizechange', }",
103584
+ "type": {
103585
+ "text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
103586
+ }
103587
+ },
103588
+ {
103589
+ "kind": "field",
103590
+ "name": "_stepResizeObserver",
103591
+ "privacy": "private",
103592
+ "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
103593
+ },
103594
+ {
103595
+ "kind": "field",
103596
+ "name": "label",
103597
+ "type": {
103598
+ "text": "SbbStepLabelElement | null"
103599
+ },
103600
+ "privacy": "public",
103601
+ "description": "The label of the step.",
103602
+ "readonly": true,
103603
+ "default": "null"
103604
+ },
103605
+ {
103606
+ "kind": "field",
103607
+ "name": "_label",
103608
+ "type": {
103609
+ "text": "SbbStepLabelElement | null"
103610
+ },
103611
+ "privacy": "private",
103612
+ "default": "null"
103613
+ },
103614
+ {
103615
+ "kind": "field",
103616
+ "name": "stepper",
103617
+ "type": {
103618
+ "text": "SbbStepperElement | null"
103619
+ },
103620
+ "privacy": "public",
103621
+ "readonly": true
103622
+ },
103623
+ {
103624
+ "kind": "field",
103625
+ "name": "_previousOrientation",
103626
+ "type": {
103627
+ "text": "string | undefined"
103628
+ },
103629
+ "privacy": "private"
103630
+ },
103631
+ {
103632
+ "kind": "method",
103633
+ "name": "_handleClick",
103634
+ "privacy": "private",
103635
+ "return": {
103636
+ "type": {
103637
+ "text": "void"
103638
+ }
103639
+ },
103640
+ "parameters": [
103641
+ {
103642
+ "name": "event",
103643
+ "type": {
103644
+ "text": "Event"
103645
+ }
103646
+ }
103647
+ ],
103648
+ "description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
103649
+ },
103650
+ {
103651
+ "kind": "method",
103652
+ "name": "_isGoNextElement",
103653
+ "privacy": "private",
103654
+ "return": {
103655
+ "type": {
103656
+ "text": "boolean"
103657
+ }
103658
+ },
103659
+ "parameters": [
103660
+ {
103661
+ "name": "element",
103662
+ "type": {
103663
+ "text": "HTMLElement"
103664
+ }
103665
+ }
103666
+ ]
103667
+ },
103668
+ {
103669
+ "kind": "method",
103670
+ "name": "_isGoPreviousElement",
103671
+ "privacy": "private",
103672
+ "return": {
103673
+ "type": {
103674
+ "text": "boolean"
103675
+ }
103676
+ },
103677
+ "parameters": [
103678
+ {
103679
+ "name": "element",
103680
+ "type": {
103681
+ "text": "HTMLElement"
103682
+ }
103683
+ }
103684
+ ]
103685
+ },
103686
+ {
103687
+ "kind": "method",
103688
+ "name": "_onStepElementResize",
103689
+ "privacy": "private",
103690
+ "return": {
103691
+ "type": {
103692
+ "text": "void"
103693
+ }
103694
+ }
103695
+ },
103696
+ {
103697
+ "kind": "method",
103698
+ "name": "_assignLabel",
103699
+ "privacy": "private",
103700
+ "return": {
103701
+ "type": {
103702
+ "text": "void"
103703
+ }
103704
+ }
103705
+ },
103706
+ {
103707
+ "kind": "method",
103708
+ "name": "toggleState",
103709
+ "privacy": "protected",
103710
+ "return": {
103711
+ "type": {
103712
+ "text": "void"
103713
+ }
103714
+ },
103715
+ "parameters": [
103716
+ {
103717
+ "name": "value",
103718
+ "type": {
103719
+ "text": "string"
103720
+ }
103721
+ },
103722
+ {
103723
+ "name": "force",
103724
+ "optional": true,
103725
+ "type": {
103726
+ "text": "boolean"
103727
+ }
103728
+ }
103729
+ ],
103730
+ "inheritedFrom": {
103731
+ "name": "SbbElementInternalsMixin",
103732
+ "module": "core/mixins/element-internals-mixin.js"
103469
103733
  }
103470
103734
  }
103471
103735
  ],
103472
- "attributes": [
103736
+ "events": [
103473
103737
  {
103474
- "name": "level",
103738
+ "name": "validate",
103475
103739
  "type": {
103476
- "text": "SbbTitleLevel"
103740
+ "text": "CustomEvent<SbbStepValidateEventDetails>"
103477
103741
  },
103478
- "default": "'2'",
103479
- "description": "Title level",
103480
- "fieldName": "level",
103481
- "inheritedFrom": {
103482
- "name": "SbbTitleBase",
103483
- "module": "title/title-base.js"
103484
- }
103485
- },
103742
+ "description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
103743
+ }
103744
+ ],
103745
+ "mixins": [
103486
103746
  {
103487
- "name": "visual-level",
103488
- "type": {
103489
- "text": "SbbTitleLevel | null"
103490
- },
103491
- "default": "null",
103492
- "description": "Visual level for the title.",
103493
- "fieldName": "visualLevel",
103494
- "inheritedFrom": {
103495
- "name": "SbbTitleBase",
103496
- "module": "title/title-base.js"
103497
- }
103747
+ "name": "SbbElementInternalsMixin",
103748
+ "module": "core/mixins.js"
103498
103749
  }
103499
103750
  ],
103500
103751
  "superclass": {
103501
- "name": "SbbTitleBase",
103502
- "module": "title.js"
103752
+ "name": "LitElement",
103753
+ "package": "lit"
103503
103754
  },
103504
- "tagName": "sbb-sidebar-title",
103755
+ "tagName": "sbb-step",
103505
103756
  "customElement": true
103506
103757
  }
103507
103758
  ],
103508
103759
  "exports": [
103509
103760
  {
103510
103761
  "kind": "js",
103511
- "name": "SbbSidebarTitleElement",
103762
+ "name": "SbbStepElement",
103512
103763
  "declaration": {
103513
- "name": "SbbSidebarTitleElement",
103514
- "module": "sidebar/sidebar-title/sidebar-title.component.js"
103764
+ "name": "SbbStepElement",
103765
+ "module": "stepper/step/step.component.js"
103515
103766
  }
103516
103767
  },
103517
103768
  {
103518
103769
  "kind": "custom-element-definition",
103519
- "name": "sbb-sidebar-title",
103770
+ "name": "sbb-step",
103520
103771
  "declaration": {
103521
- "name": "SbbSidebarTitleElement",
103522
- "module": "sidebar/sidebar-title/sidebar-title.component.js"
103772
+ "name": "SbbStepElement",
103773
+ "module": "stepper/step/step.component.js"
103523
103774
  }
103524
103775
  }
103525
103776
  ]
@@ -104403,233 +104654,6 @@
104403
104654
  }
104404
104655
  ]
104405
104656
  },
104406
- {
104407
- "kind": "javascript-module",
104408
- "path": "stepper/step/step.component.js",
104409
- "declarations": [
104410
- {
104411
- "kind": "class",
104412
- "description": "Combined with a `sbb-stepper`, it displays a step's content.",
104413
- "name": "SbbStepElement",
104414
- "slots": [
104415
- {
104416
- "description": "Use the unnamed slot to provide content.",
104417
- "name": ""
104418
- }
104419
- ],
104420
- "members": [
104421
- {
104422
- "kind": "field",
104423
- "name": "role",
104424
- "type": {
104425
- "text": "string"
104426
- },
104427
- "privacy": "public",
104428
- "static": true,
104429
- "readonly": true,
104430
- "default": "'tabpanel'"
104431
- },
104432
- {
104433
- "kind": "field",
104434
- "name": "events",
104435
- "privacy": "public",
104436
- "static": true,
104437
- "readonly": true,
104438
- "default": "{ validate: 'validate', resizechange: 'resizechange', }",
104439
- "type": {
104440
- "text": "{\n validate: 'validate',\n resizechange: 'resizechange',\n }"
104441
- }
104442
- },
104443
- {
104444
- "kind": "field",
104445
- "name": "_stepResizeObserver",
104446
- "privacy": "private",
104447
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => setTimeout(() => this._onStepElementResize()), })"
104448
- },
104449
- {
104450
- "kind": "field",
104451
- "name": "label",
104452
- "type": {
104453
- "text": "SbbStepLabelElement | null"
104454
- },
104455
- "privacy": "public",
104456
- "description": "The label of the step.",
104457
- "readonly": true,
104458
- "default": "null"
104459
- },
104460
- {
104461
- "kind": "field",
104462
- "name": "_label",
104463
- "type": {
104464
- "text": "SbbStepLabelElement | null"
104465
- },
104466
- "privacy": "private",
104467
- "default": "null"
104468
- },
104469
- {
104470
- "kind": "field",
104471
- "name": "stepper",
104472
- "type": {
104473
- "text": "SbbStepperElement | null"
104474
- },
104475
- "privacy": "public",
104476
- "readonly": true
104477
- },
104478
- {
104479
- "kind": "field",
104480
- "name": "_previousOrientation",
104481
- "type": {
104482
- "text": "string | undefined"
104483
- },
104484
- "privacy": "private"
104485
- },
104486
- {
104487
- "kind": "method",
104488
- "name": "_handleClick",
104489
- "privacy": "private",
104490
- "return": {
104491
- "type": {
104492
- "text": "void"
104493
- }
104494
- },
104495
- "parameters": [
104496
- {
104497
- "name": "event",
104498
- "type": {
104499
- "text": "Event"
104500
- }
104501
- }
104502
- ],
104503
- "description": "Watches for clicked elements with `sbb-stepper-next` or `sbb-stepper-previous` attributes."
104504
- },
104505
- {
104506
- "kind": "method",
104507
- "name": "_isGoNextElement",
104508
- "privacy": "private",
104509
- "return": {
104510
- "type": {
104511
- "text": "boolean"
104512
- }
104513
- },
104514
- "parameters": [
104515
- {
104516
- "name": "element",
104517
- "type": {
104518
- "text": "HTMLElement"
104519
- }
104520
- }
104521
- ]
104522
- },
104523
- {
104524
- "kind": "method",
104525
- "name": "_isGoPreviousElement",
104526
- "privacy": "private",
104527
- "return": {
104528
- "type": {
104529
- "text": "boolean"
104530
- }
104531
- },
104532
- "parameters": [
104533
- {
104534
- "name": "element",
104535
- "type": {
104536
- "text": "HTMLElement"
104537
- }
104538
- }
104539
- ]
104540
- },
104541
- {
104542
- "kind": "method",
104543
- "name": "_onStepElementResize",
104544
- "privacy": "private",
104545
- "return": {
104546
- "type": {
104547
- "text": "void"
104548
- }
104549
- }
104550
- },
104551
- {
104552
- "kind": "method",
104553
- "name": "_assignLabel",
104554
- "privacy": "private",
104555
- "return": {
104556
- "type": {
104557
- "text": "void"
104558
- }
104559
- }
104560
- },
104561
- {
104562
- "kind": "method",
104563
- "name": "toggleState",
104564
- "privacy": "protected",
104565
- "return": {
104566
- "type": {
104567
- "text": "void"
104568
- }
104569
- },
104570
- "parameters": [
104571
- {
104572
- "name": "value",
104573
- "type": {
104574
- "text": "string"
104575
- }
104576
- },
104577
- {
104578
- "name": "force",
104579
- "optional": true,
104580
- "type": {
104581
- "text": "boolean"
104582
- }
104583
- }
104584
- ],
104585
- "inheritedFrom": {
104586
- "name": "SbbElementInternalsMixin",
104587
- "module": "core/mixins/element-internals-mixin.js"
104588
- }
104589
- }
104590
- ],
104591
- "events": [
104592
- {
104593
- "name": "validate",
104594
- "type": {
104595
- "text": "CustomEvent<SbbStepValidateEventDetails>"
104596
- },
104597
- "description": "The validate event is dispatched when a step change is triggered. Can be canceled to abort the step change."
104598
- }
104599
- ],
104600
- "mixins": [
104601
- {
104602
- "name": "SbbElementInternalsMixin",
104603
- "module": "core/mixins.js"
104604
- }
104605
- ],
104606
- "superclass": {
104607
- "name": "LitElement",
104608
- "package": "lit"
104609
- },
104610
- "tagName": "sbb-step",
104611
- "customElement": true
104612
- }
104613
- ],
104614
- "exports": [
104615
- {
104616
- "kind": "js",
104617
- "name": "SbbStepElement",
104618
- "declaration": {
104619
- "name": "SbbStepElement",
104620
- "module": "stepper/step/step.component.js"
104621
- }
104622
- },
104623
- {
104624
- "kind": "custom-element-definition",
104625
- "name": "sbb-step",
104626
- "declaration": {
104627
- "name": "SbbStepElement",
104628
- "module": "stepper/step/step.component.js"
104629
- }
104630
- }
104631
- ]
104632
- },
104633
104657
  {
104634
104658
  "kind": "javascript-module",
104635
104659
  "path": "stepper/stepper/stepper.component.js",