@sbb-esta/lyne-elements-dev 4.7.0-dev.1773405905 → 4.7.0-dev.1773409936

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.
@@ -55171,6 +55171,92 @@
55171
55171
  "kind": "javascript-module",
55172
55172
  "path": "chip/chip-group/chip-group.component.js",
55173
55173
  "declarations": [
55174
+ {
55175
+ "kind": "class",
55176
+ "description": "",
55177
+ "name": "SbbChipInputTokenEndEvent",
55178
+ "members": [
55179
+ {
55180
+ "kind": "field",
55181
+ "name": "origin",
55182
+ "type": {
55183
+ "text": "'input' | 'autocomplete'"
55184
+ },
55185
+ "privacy": "public",
55186
+ "description": "The element that triggered the chip creation"
55187
+ },
55188
+ {
55189
+ "kind": "field",
55190
+ "name": "value",
55191
+ "type": {
55192
+ "text": "T | string"
55193
+ },
55194
+ "privacy": "public",
55195
+ "description": "The value of the new chip. Either the input or the option value depending on the origin.\nEither the value from the input which is always `string` or the value from the selected option\nfrom an autocomplete, which can be either a string or any other type."
55196
+ },
55197
+ {
55198
+ "kind": "field",
55199
+ "name": "label",
55200
+ "type": {
55201
+ "text": "string | undefined"
55202
+ },
55203
+ "privacy": "public"
55204
+ },
55205
+ {
55206
+ "kind": "field",
55207
+ "name": "detail",
55208
+ "type": {
55209
+ "text": "SbbChipInputTokenEndEventDetails<T>"
55210
+ },
55211
+ "privacy": "public",
55212
+ "deprecated": "Use event properties directly.",
55213
+ "readonly": true
55214
+ },
55215
+ {
55216
+ "kind": "method",
55217
+ "name": "setValue",
55218
+ "privacy": "public",
55219
+ "return": {
55220
+ "type": {
55221
+ "text": "void"
55222
+ }
55223
+ },
55224
+ "parameters": [
55225
+ {
55226
+ "name": "value",
55227
+ "type": {
55228
+ "text": "T"
55229
+ }
55230
+ }
55231
+ ],
55232
+ "description": "Set a new value for the chip that will be created"
55233
+ },
55234
+ {
55235
+ "kind": "method",
55236
+ "name": "setLabel",
55237
+ "privacy": "public",
55238
+ "return": {
55239
+ "type": {
55240
+ "text": "void"
55241
+ }
55242
+ },
55243
+ "parameters": [
55244
+ {
55245
+ "name": "label",
55246
+ "type": {
55247
+ "text": "string"
55248
+ }
55249
+ }
55250
+ ],
55251
+ "description": "Set a label for the chip that will be created"
55252
+ }
55253
+ ],
55254
+ "superclass": {
55255
+ "name": "CustomEvent",
55256
+ "module": "chip/chip-group/chip-group.component.js"
55257
+ },
55258
+ "classGenerics": "T = string"
55259
+ },
55174
55260
  {
55175
55261
  "kind": "class",
55176
55262
  "description": "The `sbb-chip-group` component is used as a container for one or multiple `sbb-chip`.",
@@ -55483,24 +55569,6 @@
55483
55569
  ],
55484
55570
  "description": "If the input is not empty, create a chip with its value"
55485
55571
  },
55486
- {
55487
- "kind": "method",
55488
- "name": "_dispatchChipInputTokenEnd",
55489
- "privacy": "private",
55490
- "return": {
55491
- "type": {
55492
- "text": "boolean"
55493
- }
55494
- },
55495
- "parameters": [
55496
- {
55497
- "name": "eventDetail",
55498
- "type": {
55499
- "text": "SbbChipInputTokenEndEventDetails<T>"
55500
- }
55501
- }
55502
- ]
55503
- },
55504
55572
  {
55505
55573
  "kind": "method",
55506
55574
  "name": "_deleteChip",
@@ -56111,13 +56179,6 @@
56111
56179
  }
56112
56180
  ],
56113
56181
  "events": [
56114
- {
56115
- "name": "chipinputtokenend",
56116
- "type": {
56117
- "text": "CustomEvent<SbbChipInputTokenEndEventDetails>"
56118
- },
56119
- "description": "Notifies that a chip is about to be created. Can be prevented."
56120
- },
56121
56182
  {
56122
56183
  "name": "input",
56123
56184
  "type": {
@@ -56131,6 +56192,13 @@
56131
56192
  "text": "Event"
56132
56193
  },
56133
56194
  "description": "The change event is fired when the user modifies the element's value.\nUnlike the input event, the change event is not necessarily fired\nfor each alteration to an element's value."
56195
+ },
56196
+ {
56197
+ "type": {
56198
+ "text": "SbbChipInputTokenEndEvent<T>"
56199
+ },
56200
+ "description": "Notifies that a chip is about to be created. Can be prevented.",
56201
+ "name": "chipinputtokenend"
56134
56202
  }
56135
56203
  ],
56136
56204
  "attributes": [
@@ -56239,6 +56307,14 @@
56239
56307
  }
56240
56308
  ],
56241
56309
  "exports": [
56310
+ {
56311
+ "kind": "js",
56312
+ "name": "SbbChipInputTokenEndEvent",
56313
+ "declaration": {
56314
+ "name": "SbbChipInputTokenEndEvent",
56315
+ "module": "chip/chip-group/chip-group.component.js"
56316
+ }
56317
+ },
56242
56318
  {
56243
56319
  "kind": "js",
56244
56320
  "name": "SbbChipGroupElement",
@@ -117376,79 +117452,20 @@
117376
117452
  },
117377
117453
  {
117378
117454
  "kind": "javascript-module",
117379
- "path": "stepper/stepper/stepper.component.js",
117455
+ "path": "stepper/step-label/step-label.component.js",
117380
117456
  "declarations": [
117381
117457
  {
117382
117458
  "kind": "class",
117383
- "description": "",
117384
- "name": "SbbStepChangeEvent",
117385
- "members": [
117386
- {
117387
- "kind": "field",
117388
- "name": "selectedIndex",
117389
- "type": {
117390
- "text": "number | null"
117391
- },
117392
- "privacy": "public",
117393
- "readonly": true,
117394
- "description": "The index of the newly selected step.",
117395
- "default": "selectedIndex"
117396
- },
117397
- {
117398
- "kind": "field",
117399
- "name": "previousIndex",
117400
- "type": {
117401
- "text": "number | null"
117402
- },
117403
- "privacy": "public",
117404
- "readonly": true,
117405
- "description": "The index of the previously selected step.",
117406
- "default": "previousIndex"
117407
- },
117408
- {
117409
- "kind": "field",
117410
- "name": "selectedStep",
117411
- "type": {
117412
- "text": "SbbStepElement | null"
117413
- },
117414
- "privacy": "public",
117415
- "readonly": true,
117416
- "description": "The newly selected step element.",
117417
- "default": "selectedStep"
117418
- },
117419
- {
117420
- "kind": "field",
117421
- "name": "previousStep",
117422
- "type": {
117423
- "text": "SbbStepElement | null"
117424
- },
117425
- "privacy": "public",
117426
- "readonly": true,
117427
- "description": "The previously selected step element.",
117428
- "default": "previousStep"
117429
- }
117430
- ],
117431
- "superclass": {
117432
- "name": "Event",
117433
- "module": "stepper/stepper/stepper.component.js"
117434
- }
117435
- },
117436
- {
117437
- "kind": "class",
117438
- "description": "Provides a structured, step-by-step workflow for user interactions.",
117439
- "name": "SbbStepperElement",
117459
+ "description": "Combined with a `sbb-stepper`, it displays a step's label.",
117460
+ "name": "SbbStepLabelElement",
117440
117461
  "slots": [
117441
117462
  {
117442
- "description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
117463
+ "description": "Use the unnamed slot to provide a label.",
117443
117464
  "name": ""
117444
117465
  },
117445
117466
  {
117446
- "description": "Use this slot to provide an `sbb-step-label`.",
117447
- "name": "step-label"
117448
- },
117449
- {
117450
- "description": "Use this slot to provide an `sbb-step`.",
117451
- "name": "step"
117467
+ "description": "Use this to display an icon in the label bubble.",
117468
+ "name": "icon"
117452
117469
  }
117453
117470
  ],
117454
117471
  "members": [
@@ -117461,238 +117478,109 @@
117461
117478
  "privacy": "public",
117462
117479
  "static": true,
117463
117480
  "readonly": true,
117464
- "default": "'sbb-stepper'",
117465
117481
  "inheritedFrom": {
117466
117482
  "name": "SbbElement",
117467
117483
  "module": "core/base-elements/element.js"
117468
- }
117469
- },
117470
- {
117471
- "kind": "field",
117472
- "name": "events",
117473
- "privacy": "public",
117474
- "static": true,
117475
- "readonly": true,
117476
- "default": "{ stepchange: 'stepchange', }",
117477
- "type": {
117478
- "text": "{\n stepchange: 'stepchange',\n }"
117479
- }
117480
- },
117481
- {
117482
- "kind": "field",
117483
- "name": "_observer",
117484
- "privacy": "private",
117485
- "default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
117486
- "description": "If the sbb-stepper is used in a sbb-dialog, the marker on the selected element will not appear,\nbecause the calculations are done when the dialog is closed, so the marker has a width of 0;\nthe same happens for the stepper height.\nWe need to recalculate it when the element becomes visible."
117487
- },
117488
- {
117489
- "kind": "field",
117490
- "name": "linear",
117491
- "type": {
117492
- "text": "boolean"
117493
- },
117494
- "privacy": "public",
117495
- "default": "false",
117496
- "description": "If set to true, only the current and previous labels can be clicked and selected.",
117497
- "attribute": "linear"
117498
- },
117499
- {
117500
- "kind": "field",
117501
- "name": "horizontalFrom",
117502
- "privacy": "public",
117503
- "description": "Overrides the behavior of `orientation` property.",
117504
- "type": {
117505
- "text": "SbbHorizontalFrom | null"
117506
- },
117507
- "attribute": "horizontal-from",
117508
- "reflects": true,
117509
- "default": "null"
117510
- },
117511
- {
117512
- "kind": "field",
117513
- "name": "_horizontalFrom",
117514
- "type": {
117515
- "text": "SbbHorizontalFrom | null"
117516
- },
117517
- "privacy": "private",
117518
- "default": "null"
117519
- },
117520
- {
117521
- "kind": "field",
117522
- "name": "orientation",
117523
- "type": {
117524
- "text": "SbbOrientation"
117525
117484
  },
117526
- "privacy": "public",
117527
- "default": "'horizontal'",
117528
- "description": "Steps orientation, either horizontal or vertical.",
117529
- "attribute": "orientation",
117530
- "reflects": true
117485
+ "default": "'sbb-step-label'"
117531
117486
  },
117532
117487
  {
117533
117488
  "kind": "field",
117534
- "name": "size",
117489
+ "name": "role",
117535
117490
  "type": {
117536
- "text": "'s' | 'm'"
117491
+ "text": "string"
117537
117492
  },
117538
117493
  "privacy": "public",
117539
- "description": "Size variant, either s or m.",
117540
- "default": "'m' / 's' (lean)",
117541
- "attribute": "size",
117542
- "reflects": true
117543
- },
117544
- {
117545
- "kind": "field",
117546
- "name": "selected",
117547
- "privacy": "public",
117548
- "description": "The currently selected step.",
117549
- "type": {
117550
- "text": "SbbStepElement | null"
117494
+ "static": true,
117495
+ "readonly": true,
117496
+ "default": "'tab'",
117497
+ "inheritedFrom": {
117498
+ "name": "SbbButtonLikeBaseElement",
117499
+ "module": "core/base-elements/button-base-element.js"
117551
117500
  }
117552
117501
  },
117553
117502
  {
117554
117503
  "kind": "field",
117555
- "name": "_requestedSelected",
117504
+ "name": "step",
117556
117505
  "type": {
117557
117506
  "text": "SbbStepElement | null"
117558
117507
  },
117559
- "privacy": "private",
117560
- "default": "null"
117561
- },
117562
- {
117563
- "kind": "field",
117564
- "name": "selectedIndex",
117565
117508
  "privacy": "public",
117566
- "description": "The currently selected step index.",
117567
- "type": {
117568
- "text": "number | null"
117569
- },
117570
- "attribute": "selected-index"
117509
+ "description": "The step controlled by the label.",
117510
+ "readonly": true,
117511
+ "default": "null"
117571
117512
  },
117572
117513
  {
117573
117514
  "kind": "field",
117574
- "name": "_requestedSelectedIndex",
117515
+ "name": "_step",
117575
117516
  "type": {
117576
- "text": "number | null"
117517
+ "text": "SbbStepElement | null"
117577
117518
  },
117578
117519
  "privacy": "private",
117579
117520
  "default": "null"
117580
117521
  },
117581
117522
  {
117582
117523
  "kind": "field",
117583
- "name": "steps",
117524
+ "name": "stepper",
117584
117525
  "type": {
117585
- "text": "SbbStepElement[]"
117526
+ "text": "SbbStepperElement | null"
117586
117527
  },
117587
117528
  "privacy": "public",
117588
- "description": "The steps of the stepper.",
117589
- "readonly": true
117590
- },
117591
- {
117592
- "kind": "field",
117593
- "name": "_enabledSteps",
117594
- "type": {
117595
- "text": "SbbStepElement[]"
117596
- },
117597
- "privacy": "private",
117598
117529
  "readonly": true
117599
117530
  },
117600
117531
  {
117601
117532
  "kind": "field",
117602
- "name": "_loaded",
117533
+ "name": "disabled",
117534
+ "privacy": "public",
117535
+ "description": "Whether the component is disabled.",
117536
+ "default": "false",
117603
117537
  "type": {
117604
117538
  "text": "boolean"
117605
117539
  },
117606
- "privacy": "private",
117607
- "default": "false"
117540
+ "attribute": "disabled",
117541
+ "reflects": true,
117542
+ "inheritedFrom": {
117543
+ "name": "SbbDisabledMixin",
117544
+ "module": "core/mixins/disabled-mixin.js"
117545
+ }
117608
117546
  },
117609
117547
  {
117610
117548
  "kind": "field",
117611
- "name": "_resizeObserverTimeout",
117549
+ "name": "_previousOrientation",
117612
117550
  "type": {
117613
- "text": "ReturnType<typeof setTimeout> | null"
117551
+ "text": "string | undefined"
117614
117552
  },
117615
- "privacy": "private",
117616
- "default": "null"
117553
+ "privacy": "private"
117617
117554
  },
117618
117555
  {
117619
117556
  "kind": "field",
117620
- "name": "_mediaMatcher",
117621
- "privacy": "private",
117622
- "default": "new SbbMediaMatcherController(this, {})"
117623
- },
117624
- {
117625
- "kind": "method",
117626
- "name": "next",
117627
- "privacy": "public",
117628
- "return": {
117629
- "type": {
117630
- "text": "void"
117631
- }
117632
- },
117633
- "description": "Selects the next step."
117634
- },
117635
- {
117636
- "kind": "method",
117637
- "name": "previous",
117638
- "privacy": "public",
117639
- "return": {
117640
- "type": {
117641
- "text": "void"
117642
- }
117643
- },
117644
- "description": "Selects the previous step."
117645
- },
117646
- {
117647
- "kind": "method",
117648
- "name": "reset",
117649
- "privacy": "public",
117650
- "return": {
117651
- "type": {
117652
- "text": "void"
117653
- }
117654
- },
117655
- "description": "Resets the form in which the stepper is nested or every form of each step, if any."
117656
- },
117657
- {
117658
- "kind": "method",
117659
- "name": "_isSelectable",
117660
- "privacy": "private",
117661
- "return": {
117662
- "type": {
117663
- "text": "step is SbbStepElement"
117664
- }
117557
+ "name": "_previousSize",
117558
+ "type": {
117559
+ "text": "string | undefined"
117665
117560
  },
117666
- "parameters": [
117667
- {
117668
- "name": "step",
117669
- "type": {
117670
- "text": "SbbStepElement | null"
117671
- }
117672
- }
117673
- ]
117561
+ "privacy": "private"
117674
117562
  },
117675
117563
  {
117676
117564
  "kind": "method",
117677
- "name": "_select",
117565
+ "name": "_isNotDeactivatedByLinearMode",
117678
117566
  "privacy": "private",
117679
117567
  "return": {
117680
117568
  "type": {
117681
- "text": "void"
117569
+ "text": "boolean"
117682
117570
  }
117683
117571
  },
117684
117572
  "parameters": [
117685
117573
  {
117686
117574
  "name": "step",
117687
117575
  "type": {
117688
- "text": "SbbStepElement | null"
117576
+ "text": "SbbStepElement"
117689
117577
  }
117690
117578
  }
117691
117579
  ]
117692
117580
  },
117693
117581
  {
117694
117582
  "kind": "method",
117695
- "name": "_setMarkerSize",
117583
+ "name": "_assignStep",
117696
117584
  "privacy": "private",
117697
117585
  "return": {
117698
117586
  "type": {
@@ -117701,554 +117589,111 @@
117701
117589
  }
117702
117590
  },
117703
117591
  {
117704
- "kind": "method",
117705
- "name": "_setStepperHeight",
117706
- "privacy": "private",
117707
- "return": {
117708
- "type": {
117709
- "text": "void"
117710
- }
117592
+ "kind": "field",
117593
+ "name": "iconName",
117594
+ "type": {
117595
+ "text": "string"
117711
117596
  },
117712
- "parameters": [
117713
- {
117714
- "name": "step",
117715
- "type": {
117716
- "text": "SbbStepElement | null"
117717
- }
117718
- }
117719
- ],
117720
- "description": "Sets the stepper height based on the height of the provided step."
117721
- },
117722
- {
117723
- "kind": "method",
117724
- "name": "_calculateLabelOffsetTop",
117725
- "privacy": "private",
117726
- "return": {
117727
- "type": {
117728
- "text": "number | undefined"
117729
- }
117597
+ "privacy": "public",
117598
+ "default": "''",
117599
+ "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.",
117600
+ "attribute": "icon-name",
117601
+ "inheritedFrom": {
117602
+ "name": "SbbIconNameMixin",
117603
+ "module": "icon/icon-name-mixin.js"
117730
117604
  }
117731
117605
  },
117732
117606
  {
117733
117607
  "kind": "method",
117734
- "name": "_onSelectedStepResize",
117735
- "privacy": "private",
117608
+ "name": "renderIconSlot",
117609
+ "privacy": "protected",
117736
117610
  "return": {
117737
117611
  "type": {
117738
- "text": "void"
117612
+ "text": "TemplateResult"
117739
117613
  }
117740
117614
  },
117741
117615
  "parameters": [
117742
117616
  {
117743
- "name": "e",
117617
+ "name": "classname",
117618
+ "optional": true,
117744
117619
  "type": {
117745
- "text": "Event"
117620
+ "text": "string"
117746
117621
  }
117747
117622
  }
117748
- ]
117749
- },
117750
- {
117751
- "kind": "method",
117752
- "name": "_configure",
117753
- "privacy": "private",
117754
- "return": {
117755
- "type": {
117756
- "text": "void"
117757
- }
117623
+ ],
117624
+ "inheritedFrom": {
117625
+ "name": "SbbIconNameMixin",
117626
+ "module": "icon/icon-name-mixin.js"
117758
117627
  }
117759
117628
  },
117760
117629
  {
117761
117630
  "kind": "method",
117762
- "name": "_updateLabels",
117763
- "privacy": "private",
117631
+ "name": "renderIconName",
117632
+ "privacy": "protected",
117764
117633
  "return": {
117765
117634
  "type": {
117766
- "text": "void"
117635
+ "text": "string"
117767
117636
  }
117637
+ },
117638
+ "inheritedFrom": {
117639
+ "name": "SbbIconNameMixin",
117640
+ "module": "icon/icon-name-mixin.js"
117768
117641
  }
117769
117642
  },
117770
117643
  {
117771
117644
  "kind": "method",
117772
- "name": "_checkOrientation",
117645
+ "name": "_renderIconName",
117773
117646
  "privacy": "private",
117774
117647
  "return": {
117775
117648
  "type": {
117776
- "text": "void"
117649
+ "text": "string"
117777
117650
  }
117651
+ },
117652
+ "inheritedFrom": {
117653
+ "name": "SbbIconNameMixin",
117654
+ "module": "icon/icon-name-mixin.js"
117778
117655
  }
117779
117656
  },
117780
117657
  {
117781
117658
  "kind": "field",
117782
- "name": "_onStepperResize",
117783
- "privacy": "private"
117784
- },
117785
- {
117786
- "kind": "method",
117787
- "name": "_configureLinearMode",
117659
+ "name": "#disabled",
117788
117660
  "privacy": "private",
117789
- "return": {
117790
- "type": {
117791
- "text": "void"
117792
- }
117661
+ "type": {
117662
+ "text": "boolean"
117663
+ },
117664
+ "default": "false",
117665
+ "inheritedFrom": {
117666
+ "name": "SbbDisabledMixin",
117667
+ "module": "core/mixins/disabled-mixin.js"
117793
117668
  }
117794
117669
  },
117795
117670
  {
117796
117671
  "kind": "method",
117797
- "name": "_handleKeyDown",
117798
- "privacy": "private",
117672
+ "name": "isDisabledExternally",
117673
+ "privacy": "protected",
117799
117674
  "return": {
117800
117675
  "type": {
117801
- "text": "void"
117676
+ "text": "boolean"
117802
117677
  }
117803
117678
  },
117804
- "parameters": [
117805
- {
117806
- "name": "evt",
117807
- "type": {
117808
- "text": "KeyboardEvent"
117809
- }
117810
- }
117811
- ]
117679
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
117680
+ "inheritedFrom": {
117681
+ "name": "SbbDisabledMixin",
117682
+ "module": "core/mixins/disabled-mixin.js"
117683
+ }
117812
117684
  },
117813
117685
  {
117814
117686
  "kind": "field",
117815
- "name": "_hydrationRequired",
117687
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
117816
117688
  "type": {
117817
- "text": "boolean"
117689
+ "text": "array"
117818
117690
  },
117819
117691
  "privacy": "private",
117820
- "default": "!!this.shadowRoot",
117692
+ "readonly": true,
117693
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
117821
117694
  "inheritedFrom": {
117822
- "name": "SbbElement",
117823
- "module": "core/base-elements/element.js"
117824
- }
117825
- },
117826
- {
117827
- "kind": "field",
117828
- "name": "_hydrationComplete",
117829
- "privacy": "private",
117830
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
117831
- "inheritedFrom": {
117832
- "name": "SbbElement",
117833
- "module": "core/base-elements/element.js"
117834
- }
117835
- },
117836
- {
117837
- "kind": "field",
117838
- "name": "_resolveHydration",
117839
- "type": {
117840
- "text": "(hydrationRequired: boolean) => void"
117841
- },
117842
- "privacy": "private",
117843
- "inheritedFrom": {
117844
- "name": "SbbElement",
117845
- "module": "core/base-elements/element.js"
117846
- }
117847
- },
117848
- {
117849
- "kind": "field",
117850
- "name": "hydrationRequired",
117851
- "type": {
117852
- "text": "boolean"
117853
- },
117854
- "privacy": "protected",
117855
- "description": "Returns whether hydration is required and not completed.",
117856
- "readonly": true,
117857
- "inheritedFrom": {
117858
- "name": "SbbElement",
117859
- "module": "core/base-elements/element.js"
117860
- },
117861
- "default": "!!this.shadowRoot"
117862
- },
117863
- {
117864
- "kind": "method",
117865
- "name": "toggleState",
117866
- "privacy": "protected",
117867
- "return": {
117868
- "type": {
117869
- "text": "void"
117870
- }
117871
- },
117872
- "parameters": [
117873
- {
117874
- "name": "value",
117875
- "type": {
117876
- "text": "string"
117877
- }
117878
- },
117879
- {
117880
- "name": "force",
117881
- "optional": true,
117882
- "type": {
117883
- "text": "boolean"
117884
- }
117885
- }
117886
- ],
117887
- "inheritedFrom": {
117888
- "name": "SbbElement",
117889
- "module": "core/base-elements/element.js"
117890
- }
117891
- },
117892
- {
117893
- "kind": "field",
117894
- "name": "['_$sbbElement$']",
117895
- "type": {
117896
- "text": "boolean"
117897
- },
117898
- "privacy": "public",
117899
- "static": true,
117900
- "default": "true",
117901
- "inheritedFrom": {
117902
- "name": "SbbElement",
117903
- "module": "core/base-elements/element.js"
117904
- }
117905
- },
117906
- {
117907
- "kind": "field",
117908
- "name": "_controllers",
117909
- "type": {
117910
- "text": "Set<SbbReactiveController> | undefined"
117911
- },
117912
- "privacy": "private",
117913
- "inheritedFrom": {
117914
- "name": "SbbElement",
117915
- "module": "core/base-elements/element.js"
117916
- }
117917
- }
117918
- ],
117919
- "events": [
117920
- {
117921
- "type": {
117922
- "text": "SbbStepChangeEvent"
117923
- },
117924
- "description": "Emits whenever a step was changed.",
117925
- "name": "stepchange"
117926
- }
117927
- ],
117928
- "attributes": [
117929
- {
117930
- "name": "linear",
117931
- "type": {
117932
- "text": "boolean"
117933
- },
117934
- "default": "false",
117935
- "description": "If set to true, only the current and previous labels can be clicked and selected.",
117936
- "fieldName": "linear"
117937
- },
117938
- {
117939
- "name": "horizontal-from",
117940
- "description": "Overrides the behavior of `orientation` property.",
117941
- "type": {
117942
- "text": "SbbHorizontalFrom | null"
117943
- },
117944
- "fieldName": "horizontalFrom"
117945
- },
117946
- {
117947
- "name": "orientation",
117948
- "type": {
117949
- "text": "SbbOrientation"
117950
- },
117951
- "default": "'horizontal'",
117952
- "description": "Steps orientation, either horizontal or vertical.",
117953
- "fieldName": "orientation"
117954
- },
117955
- {
117956
- "name": "size",
117957
- "type": {
117958
- "text": "'s' | 'm'"
117959
- },
117960
- "description": "Size variant, either s or m.",
117961
- "default": "'m' / 's' (lean)",
117962
- "fieldName": "size"
117963
- },
117964
- {
117965
- "name": "selected-index",
117966
- "description": "The currently selected step index.",
117967
- "type": {
117968
- "text": "number | null"
117969
- },
117970
- "fieldName": "selectedIndex"
117971
- }
117972
- ],
117973
- "superclass": {
117974
- "name": "SbbElement",
117975
- "module": "core/base-elements.js"
117976
- },
117977
- "tagName": "sbb-stepper",
117978
- "customElement": true
117979
- },
117980
- {
117981
- "kind": "variable",
117982
- "name": "currentIndex"
117983
- },
117984
- {
117985
- "kind": "variable",
117986
- "name": "currentStep"
117987
- }
117988
- ],
117989
- "exports": [
117990
- {
117991
- "kind": "js",
117992
- "name": "SbbStepChangeEvent",
117993
- "declaration": {
117994
- "name": "SbbStepChangeEvent",
117995
- "module": "stepper/stepper/stepper.component.js"
117996
- }
117997
- },
117998
- {
117999
- "kind": "js",
118000
- "name": "SbbStepperElement",
118001
- "declaration": {
118002
- "name": "SbbStepperElement",
118003
- "module": "stepper/stepper/stepper.component.js"
118004
- }
118005
- }
118006
- ]
118007
- },
118008
- {
118009
- "kind": "javascript-module",
118010
- "path": "stepper/step-label/step-label.component.js",
118011
- "declarations": [
118012
- {
118013
- "kind": "class",
118014
- "description": "Combined with a `sbb-stepper`, it displays a step's label.",
118015
- "name": "SbbStepLabelElement",
118016
- "slots": [
118017
- {
118018
- "description": "Use the unnamed slot to provide a label.",
118019
- "name": ""
118020
- },
118021
- {
118022
- "description": "Use this to display an icon in the label bubble.",
118023
- "name": "icon"
118024
- }
118025
- ],
118026
- "members": [
118027
- {
118028
- "kind": "field",
118029
- "name": "elementName",
118030
- "type": {
118031
- "text": "string"
118032
- },
118033
- "privacy": "public",
118034
- "static": true,
118035
- "readonly": true,
118036
- "inheritedFrom": {
118037
- "name": "SbbElement",
118038
- "module": "core/base-elements/element.js"
118039
- },
118040
- "default": "'sbb-step-label'"
118041
- },
118042
- {
118043
- "kind": "field",
118044
- "name": "role",
118045
- "type": {
118046
- "text": "string"
118047
- },
118048
- "privacy": "public",
118049
- "static": true,
118050
- "readonly": true,
118051
- "default": "'tab'",
118052
- "inheritedFrom": {
118053
- "name": "SbbButtonLikeBaseElement",
118054
- "module": "core/base-elements/button-base-element.js"
118055
- }
118056
- },
118057
- {
118058
- "kind": "field",
118059
- "name": "step",
118060
- "type": {
118061
- "text": "SbbStepElement | null"
118062
- },
118063
- "privacy": "public",
118064
- "description": "The step controlled by the label.",
118065
- "readonly": true,
118066
- "default": "null"
118067
- },
118068
- {
118069
- "kind": "field",
118070
- "name": "_step",
118071
- "type": {
118072
- "text": "SbbStepElement | null"
118073
- },
118074
- "privacy": "private",
118075
- "default": "null"
118076
- },
118077
- {
118078
- "kind": "field",
118079
- "name": "stepper",
118080
- "type": {
118081
- "text": "SbbStepperElement | null"
118082
- },
118083
- "privacy": "public",
118084
- "readonly": true
118085
- },
118086
- {
118087
- "kind": "field",
118088
- "name": "disabled",
118089
- "privacy": "public",
118090
- "description": "Whether the component is disabled.",
118091
- "default": "false",
118092
- "type": {
118093
- "text": "boolean"
118094
- },
118095
- "attribute": "disabled",
118096
- "reflects": true,
118097
- "inheritedFrom": {
118098
- "name": "SbbDisabledMixin",
118099
- "module": "core/mixins/disabled-mixin.js"
118100
- }
118101
- },
118102
- {
118103
- "kind": "field",
118104
- "name": "_previousOrientation",
118105
- "type": {
118106
- "text": "string | undefined"
118107
- },
118108
- "privacy": "private"
118109
- },
118110
- {
118111
- "kind": "field",
118112
- "name": "_previousSize",
118113
- "type": {
118114
- "text": "string | undefined"
118115
- },
118116
- "privacy": "private"
118117
- },
118118
- {
118119
- "kind": "method",
118120
- "name": "_isNotDeactivatedByLinearMode",
118121
- "privacy": "private",
118122
- "return": {
118123
- "type": {
118124
- "text": "boolean"
118125
- }
118126
- },
118127
- "parameters": [
118128
- {
118129
- "name": "step",
118130
- "type": {
118131
- "text": "SbbStepElement"
118132
- }
118133
- }
118134
- ]
118135
- },
118136
- {
118137
- "kind": "method",
118138
- "name": "_assignStep",
118139
- "privacy": "private",
118140
- "return": {
118141
- "type": {
118142
- "text": "void"
118143
- }
118144
- }
118145
- },
118146
- {
118147
- "kind": "field",
118148
- "name": "iconName",
118149
- "type": {
118150
- "text": "string"
118151
- },
118152
- "privacy": "public",
118153
- "default": "''",
118154
- "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.",
118155
- "attribute": "icon-name",
118156
- "inheritedFrom": {
118157
- "name": "SbbIconNameMixin",
118158
- "module": "icon/icon-name-mixin.js"
118159
- }
118160
- },
118161
- {
118162
- "kind": "method",
118163
- "name": "renderIconSlot",
118164
- "privacy": "protected",
118165
- "return": {
118166
- "type": {
118167
- "text": "TemplateResult"
118168
- }
118169
- },
118170
- "parameters": [
118171
- {
118172
- "name": "classname",
118173
- "optional": true,
118174
- "type": {
118175
- "text": "string"
118176
- }
118177
- }
118178
- ],
118179
- "inheritedFrom": {
118180
- "name": "SbbIconNameMixin",
118181
- "module": "icon/icon-name-mixin.js"
118182
- }
118183
- },
118184
- {
118185
- "kind": "method",
118186
- "name": "renderIconName",
118187
- "privacy": "protected",
118188
- "return": {
118189
- "type": {
118190
- "text": "string"
118191
- }
118192
- },
118193
- "inheritedFrom": {
118194
- "name": "SbbIconNameMixin",
118195
- "module": "icon/icon-name-mixin.js"
118196
- }
118197
- },
118198
- {
118199
- "kind": "method",
118200
- "name": "_renderIconName",
118201
- "privacy": "private",
118202
- "return": {
118203
- "type": {
118204
- "text": "string"
118205
- }
118206
- },
118207
- "inheritedFrom": {
118208
- "name": "SbbIconNameMixin",
118209
- "module": "icon/icon-name-mixin.js"
118210
- }
118211
- },
118212
- {
118213
- "kind": "field",
118214
- "name": "#disabled",
118215
- "privacy": "private",
118216
- "type": {
118217
- "text": "boolean"
118218
- },
118219
- "default": "false",
118220
- "inheritedFrom": {
118221
- "name": "SbbDisabledMixin",
118222
- "module": "core/mixins/disabled-mixin.js"
118223
- }
118224
- },
118225
- {
118226
- "kind": "method",
118227
- "name": "isDisabledExternally",
118228
- "privacy": "protected",
118229
- "return": {
118230
- "type": {
118231
- "text": "boolean"
118232
- }
118233
- },
118234
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
118235
- "inheritedFrom": {
118236
- "name": "SbbDisabledMixin",
118237
- "module": "core/mixins/disabled-mixin.js"
118238
- }
118239
- },
118240
- {
118241
- "kind": "field",
118242
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
118243
- "type": {
118244
- "text": "array"
118245
- },
118246
- "privacy": "private",
118247
- "readonly": true,
118248
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
118249
- "inheritedFrom": {
118250
- "name": "SbbButtonBaseElement",
118251
- "module": "core/base-elements/button-base-element.js"
117695
+ "name": "SbbButtonBaseElement",
117696
+ "module": "core/base-elements/button-base-element.js"
118252
117697
  }
118253
117698
  },
118254
117699
  {
@@ -118967,6 +118412,637 @@
118967
118412
  }
118968
118413
  ]
118969
118414
  },
118415
+ {
118416
+ "kind": "javascript-module",
118417
+ "path": "stepper/stepper/stepper.component.js",
118418
+ "declarations": [
118419
+ {
118420
+ "kind": "class",
118421
+ "description": "",
118422
+ "name": "SbbStepChangeEvent",
118423
+ "members": [
118424
+ {
118425
+ "kind": "field",
118426
+ "name": "selectedIndex",
118427
+ "type": {
118428
+ "text": "number | null"
118429
+ },
118430
+ "privacy": "public",
118431
+ "readonly": true,
118432
+ "description": "The index of the newly selected step.",
118433
+ "default": "selectedIndex"
118434
+ },
118435
+ {
118436
+ "kind": "field",
118437
+ "name": "previousIndex",
118438
+ "type": {
118439
+ "text": "number | null"
118440
+ },
118441
+ "privacy": "public",
118442
+ "readonly": true,
118443
+ "description": "The index of the previously selected step.",
118444
+ "default": "previousIndex"
118445
+ },
118446
+ {
118447
+ "kind": "field",
118448
+ "name": "selectedStep",
118449
+ "type": {
118450
+ "text": "SbbStepElement | null"
118451
+ },
118452
+ "privacy": "public",
118453
+ "readonly": true,
118454
+ "description": "The newly selected step element.",
118455
+ "default": "selectedStep"
118456
+ },
118457
+ {
118458
+ "kind": "field",
118459
+ "name": "previousStep",
118460
+ "type": {
118461
+ "text": "SbbStepElement | null"
118462
+ },
118463
+ "privacy": "public",
118464
+ "readonly": true,
118465
+ "description": "The previously selected step element.",
118466
+ "default": "previousStep"
118467
+ }
118468
+ ],
118469
+ "superclass": {
118470
+ "name": "Event",
118471
+ "module": "stepper/stepper/stepper.component.js"
118472
+ }
118473
+ },
118474
+ {
118475
+ "kind": "class",
118476
+ "description": "Provides a structured, step-by-step workflow for user interactions.",
118477
+ "name": "SbbStepperElement",
118478
+ "slots": [
118479
+ {
118480
+ "description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
118481
+ "name": ""
118482
+ },
118483
+ {
118484
+ "description": "Use this slot to provide an `sbb-step-label`.",
118485
+ "name": "step-label"
118486
+ },
118487
+ {
118488
+ "description": "Use this slot to provide an `sbb-step`.",
118489
+ "name": "step"
118490
+ }
118491
+ ],
118492
+ "members": [
118493
+ {
118494
+ "kind": "field",
118495
+ "name": "elementName",
118496
+ "type": {
118497
+ "text": "string"
118498
+ },
118499
+ "privacy": "public",
118500
+ "static": true,
118501
+ "readonly": true,
118502
+ "default": "'sbb-stepper'",
118503
+ "inheritedFrom": {
118504
+ "name": "SbbElement",
118505
+ "module": "core/base-elements/element.js"
118506
+ }
118507
+ },
118508
+ {
118509
+ "kind": "field",
118510
+ "name": "events",
118511
+ "privacy": "public",
118512
+ "static": true,
118513
+ "readonly": true,
118514
+ "default": "{ stepchange: 'stepchange', }",
118515
+ "type": {
118516
+ "text": "{\n stepchange: 'stepchange',\n }"
118517
+ }
118518
+ },
118519
+ {
118520
+ "kind": "field",
118521
+ "name": "_observer",
118522
+ "privacy": "private",
118523
+ "default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
118524
+ "description": "If the sbb-stepper is used in a sbb-dialog, the marker on the selected element will not appear,\nbecause the calculations are done when the dialog is closed, so the marker has a width of 0;\nthe same happens for the stepper height.\nWe need to recalculate it when the element becomes visible."
118525
+ },
118526
+ {
118527
+ "kind": "field",
118528
+ "name": "linear",
118529
+ "type": {
118530
+ "text": "boolean"
118531
+ },
118532
+ "privacy": "public",
118533
+ "default": "false",
118534
+ "description": "If set to true, only the current and previous labels can be clicked and selected.",
118535
+ "attribute": "linear"
118536
+ },
118537
+ {
118538
+ "kind": "field",
118539
+ "name": "horizontalFrom",
118540
+ "privacy": "public",
118541
+ "description": "Overrides the behavior of `orientation` property.",
118542
+ "type": {
118543
+ "text": "SbbHorizontalFrom | null"
118544
+ },
118545
+ "attribute": "horizontal-from",
118546
+ "reflects": true,
118547
+ "default": "null"
118548
+ },
118549
+ {
118550
+ "kind": "field",
118551
+ "name": "_horizontalFrom",
118552
+ "type": {
118553
+ "text": "SbbHorizontalFrom | null"
118554
+ },
118555
+ "privacy": "private",
118556
+ "default": "null"
118557
+ },
118558
+ {
118559
+ "kind": "field",
118560
+ "name": "orientation",
118561
+ "type": {
118562
+ "text": "SbbOrientation"
118563
+ },
118564
+ "privacy": "public",
118565
+ "default": "'horizontal'",
118566
+ "description": "Steps orientation, either horizontal or vertical.",
118567
+ "attribute": "orientation",
118568
+ "reflects": true
118569
+ },
118570
+ {
118571
+ "kind": "field",
118572
+ "name": "size",
118573
+ "type": {
118574
+ "text": "'s' | 'm'"
118575
+ },
118576
+ "privacy": "public",
118577
+ "description": "Size variant, either s or m.",
118578
+ "default": "'m' / 's' (lean)",
118579
+ "attribute": "size",
118580
+ "reflects": true
118581
+ },
118582
+ {
118583
+ "kind": "field",
118584
+ "name": "selected",
118585
+ "privacy": "public",
118586
+ "description": "The currently selected step.",
118587
+ "type": {
118588
+ "text": "SbbStepElement | null"
118589
+ }
118590
+ },
118591
+ {
118592
+ "kind": "field",
118593
+ "name": "_requestedSelected",
118594
+ "type": {
118595
+ "text": "SbbStepElement | null"
118596
+ },
118597
+ "privacy": "private",
118598
+ "default": "null"
118599
+ },
118600
+ {
118601
+ "kind": "field",
118602
+ "name": "selectedIndex",
118603
+ "privacy": "public",
118604
+ "description": "The currently selected step index.",
118605
+ "type": {
118606
+ "text": "number | null"
118607
+ },
118608
+ "attribute": "selected-index"
118609
+ },
118610
+ {
118611
+ "kind": "field",
118612
+ "name": "_requestedSelectedIndex",
118613
+ "type": {
118614
+ "text": "number | null"
118615
+ },
118616
+ "privacy": "private",
118617
+ "default": "null"
118618
+ },
118619
+ {
118620
+ "kind": "field",
118621
+ "name": "steps",
118622
+ "type": {
118623
+ "text": "SbbStepElement[]"
118624
+ },
118625
+ "privacy": "public",
118626
+ "description": "The steps of the stepper.",
118627
+ "readonly": true
118628
+ },
118629
+ {
118630
+ "kind": "field",
118631
+ "name": "_enabledSteps",
118632
+ "type": {
118633
+ "text": "SbbStepElement[]"
118634
+ },
118635
+ "privacy": "private",
118636
+ "readonly": true
118637
+ },
118638
+ {
118639
+ "kind": "field",
118640
+ "name": "_loaded",
118641
+ "type": {
118642
+ "text": "boolean"
118643
+ },
118644
+ "privacy": "private",
118645
+ "default": "false"
118646
+ },
118647
+ {
118648
+ "kind": "field",
118649
+ "name": "_resizeObserverTimeout",
118650
+ "type": {
118651
+ "text": "ReturnType<typeof setTimeout> | null"
118652
+ },
118653
+ "privacy": "private",
118654
+ "default": "null"
118655
+ },
118656
+ {
118657
+ "kind": "field",
118658
+ "name": "_mediaMatcher",
118659
+ "privacy": "private",
118660
+ "default": "new SbbMediaMatcherController(this, {})"
118661
+ },
118662
+ {
118663
+ "kind": "method",
118664
+ "name": "next",
118665
+ "privacy": "public",
118666
+ "return": {
118667
+ "type": {
118668
+ "text": "void"
118669
+ }
118670
+ },
118671
+ "description": "Selects the next step."
118672
+ },
118673
+ {
118674
+ "kind": "method",
118675
+ "name": "previous",
118676
+ "privacy": "public",
118677
+ "return": {
118678
+ "type": {
118679
+ "text": "void"
118680
+ }
118681
+ },
118682
+ "description": "Selects the previous step."
118683
+ },
118684
+ {
118685
+ "kind": "method",
118686
+ "name": "reset",
118687
+ "privacy": "public",
118688
+ "return": {
118689
+ "type": {
118690
+ "text": "void"
118691
+ }
118692
+ },
118693
+ "description": "Resets the form in which the stepper is nested or every form of each step, if any."
118694
+ },
118695
+ {
118696
+ "kind": "method",
118697
+ "name": "_isSelectable",
118698
+ "privacy": "private",
118699
+ "return": {
118700
+ "type": {
118701
+ "text": "step is SbbStepElement"
118702
+ }
118703
+ },
118704
+ "parameters": [
118705
+ {
118706
+ "name": "step",
118707
+ "type": {
118708
+ "text": "SbbStepElement | null"
118709
+ }
118710
+ }
118711
+ ]
118712
+ },
118713
+ {
118714
+ "kind": "method",
118715
+ "name": "_select",
118716
+ "privacy": "private",
118717
+ "return": {
118718
+ "type": {
118719
+ "text": "void"
118720
+ }
118721
+ },
118722
+ "parameters": [
118723
+ {
118724
+ "name": "step",
118725
+ "type": {
118726
+ "text": "SbbStepElement | null"
118727
+ }
118728
+ }
118729
+ ]
118730
+ },
118731
+ {
118732
+ "kind": "method",
118733
+ "name": "_setMarkerSize",
118734
+ "privacy": "private",
118735
+ "return": {
118736
+ "type": {
118737
+ "text": "void"
118738
+ }
118739
+ }
118740
+ },
118741
+ {
118742
+ "kind": "method",
118743
+ "name": "_setStepperHeight",
118744
+ "privacy": "private",
118745
+ "return": {
118746
+ "type": {
118747
+ "text": "void"
118748
+ }
118749
+ },
118750
+ "parameters": [
118751
+ {
118752
+ "name": "step",
118753
+ "type": {
118754
+ "text": "SbbStepElement | null"
118755
+ }
118756
+ }
118757
+ ],
118758
+ "description": "Sets the stepper height based on the height of the provided step."
118759
+ },
118760
+ {
118761
+ "kind": "method",
118762
+ "name": "_calculateLabelOffsetTop",
118763
+ "privacy": "private",
118764
+ "return": {
118765
+ "type": {
118766
+ "text": "number | undefined"
118767
+ }
118768
+ }
118769
+ },
118770
+ {
118771
+ "kind": "method",
118772
+ "name": "_onSelectedStepResize",
118773
+ "privacy": "private",
118774
+ "return": {
118775
+ "type": {
118776
+ "text": "void"
118777
+ }
118778
+ },
118779
+ "parameters": [
118780
+ {
118781
+ "name": "e",
118782
+ "type": {
118783
+ "text": "Event"
118784
+ }
118785
+ }
118786
+ ]
118787
+ },
118788
+ {
118789
+ "kind": "method",
118790
+ "name": "_configure",
118791
+ "privacy": "private",
118792
+ "return": {
118793
+ "type": {
118794
+ "text": "void"
118795
+ }
118796
+ }
118797
+ },
118798
+ {
118799
+ "kind": "method",
118800
+ "name": "_updateLabels",
118801
+ "privacy": "private",
118802
+ "return": {
118803
+ "type": {
118804
+ "text": "void"
118805
+ }
118806
+ }
118807
+ },
118808
+ {
118809
+ "kind": "method",
118810
+ "name": "_checkOrientation",
118811
+ "privacy": "private",
118812
+ "return": {
118813
+ "type": {
118814
+ "text": "void"
118815
+ }
118816
+ }
118817
+ },
118818
+ {
118819
+ "kind": "field",
118820
+ "name": "_onStepperResize",
118821
+ "privacy": "private"
118822
+ },
118823
+ {
118824
+ "kind": "method",
118825
+ "name": "_configureLinearMode",
118826
+ "privacy": "private",
118827
+ "return": {
118828
+ "type": {
118829
+ "text": "void"
118830
+ }
118831
+ }
118832
+ },
118833
+ {
118834
+ "kind": "method",
118835
+ "name": "_handleKeyDown",
118836
+ "privacy": "private",
118837
+ "return": {
118838
+ "type": {
118839
+ "text": "void"
118840
+ }
118841
+ },
118842
+ "parameters": [
118843
+ {
118844
+ "name": "evt",
118845
+ "type": {
118846
+ "text": "KeyboardEvent"
118847
+ }
118848
+ }
118849
+ ]
118850
+ },
118851
+ {
118852
+ "kind": "field",
118853
+ "name": "_hydrationRequired",
118854
+ "type": {
118855
+ "text": "boolean"
118856
+ },
118857
+ "privacy": "private",
118858
+ "default": "!!this.shadowRoot",
118859
+ "inheritedFrom": {
118860
+ "name": "SbbElement",
118861
+ "module": "core/base-elements/element.js"
118862
+ }
118863
+ },
118864
+ {
118865
+ "kind": "field",
118866
+ "name": "_hydrationComplete",
118867
+ "privacy": "private",
118868
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
118869
+ "inheritedFrom": {
118870
+ "name": "SbbElement",
118871
+ "module": "core/base-elements/element.js"
118872
+ }
118873
+ },
118874
+ {
118875
+ "kind": "field",
118876
+ "name": "_resolveHydration",
118877
+ "type": {
118878
+ "text": "(hydrationRequired: boolean) => void"
118879
+ },
118880
+ "privacy": "private",
118881
+ "inheritedFrom": {
118882
+ "name": "SbbElement",
118883
+ "module": "core/base-elements/element.js"
118884
+ }
118885
+ },
118886
+ {
118887
+ "kind": "field",
118888
+ "name": "hydrationRequired",
118889
+ "type": {
118890
+ "text": "boolean"
118891
+ },
118892
+ "privacy": "protected",
118893
+ "description": "Returns whether hydration is required and not completed.",
118894
+ "readonly": true,
118895
+ "inheritedFrom": {
118896
+ "name": "SbbElement",
118897
+ "module": "core/base-elements/element.js"
118898
+ },
118899
+ "default": "!!this.shadowRoot"
118900
+ },
118901
+ {
118902
+ "kind": "method",
118903
+ "name": "toggleState",
118904
+ "privacy": "protected",
118905
+ "return": {
118906
+ "type": {
118907
+ "text": "void"
118908
+ }
118909
+ },
118910
+ "parameters": [
118911
+ {
118912
+ "name": "value",
118913
+ "type": {
118914
+ "text": "string"
118915
+ }
118916
+ },
118917
+ {
118918
+ "name": "force",
118919
+ "optional": true,
118920
+ "type": {
118921
+ "text": "boolean"
118922
+ }
118923
+ }
118924
+ ],
118925
+ "inheritedFrom": {
118926
+ "name": "SbbElement",
118927
+ "module": "core/base-elements/element.js"
118928
+ }
118929
+ },
118930
+ {
118931
+ "kind": "field",
118932
+ "name": "['_$sbbElement$']",
118933
+ "type": {
118934
+ "text": "boolean"
118935
+ },
118936
+ "privacy": "public",
118937
+ "static": true,
118938
+ "default": "true",
118939
+ "inheritedFrom": {
118940
+ "name": "SbbElement",
118941
+ "module": "core/base-elements/element.js"
118942
+ }
118943
+ },
118944
+ {
118945
+ "kind": "field",
118946
+ "name": "_controllers",
118947
+ "type": {
118948
+ "text": "Set<SbbReactiveController> | undefined"
118949
+ },
118950
+ "privacy": "private",
118951
+ "inheritedFrom": {
118952
+ "name": "SbbElement",
118953
+ "module": "core/base-elements/element.js"
118954
+ }
118955
+ }
118956
+ ],
118957
+ "events": [
118958
+ {
118959
+ "type": {
118960
+ "text": "SbbStepChangeEvent"
118961
+ },
118962
+ "description": "Emits whenever a step was changed.",
118963
+ "name": "stepchange"
118964
+ }
118965
+ ],
118966
+ "attributes": [
118967
+ {
118968
+ "name": "linear",
118969
+ "type": {
118970
+ "text": "boolean"
118971
+ },
118972
+ "default": "false",
118973
+ "description": "If set to true, only the current and previous labels can be clicked and selected.",
118974
+ "fieldName": "linear"
118975
+ },
118976
+ {
118977
+ "name": "horizontal-from",
118978
+ "description": "Overrides the behavior of `orientation` property.",
118979
+ "type": {
118980
+ "text": "SbbHorizontalFrom | null"
118981
+ },
118982
+ "fieldName": "horizontalFrom"
118983
+ },
118984
+ {
118985
+ "name": "orientation",
118986
+ "type": {
118987
+ "text": "SbbOrientation"
118988
+ },
118989
+ "default": "'horizontal'",
118990
+ "description": "Steps orientation, either horizontal or vertical.",
118991
+ "fieldName": "orientation"
118992
+ },
118993
+ {
118994
+ "name": "size",
118995
+ "type": {
118996
+ "text": "'s' | 'm'"
118997
+ },
118998
+ "description": "Size variant, either s or m.",
118999
+ "default": "'m' / 's' (lean)",
119000
+ "fieldName": "size"
119001
+ },
119002
+ {
119003
+ "name": "selected-index",
119004
+ "description": "The currently selected step index.",
119005
+ "type": {
119006
+ "text": "number | null"
119007
+ },
119008
+ "fieldName": "selectedIndex"
119009
+ }
119010
+ ],
119011
+ "superclass": {
119012
+ "name": "SbbElement",
119013
+ "module": "core/base-elements.js"
119014
+ },
119015
+ "tagName": "sbb-stepper",
119016
+ "customElement": true
119017
+ },
119018
+ {
119019
+ "kind": "variable",
119020
+ "name": "currentIndex"
119021
+ },
119022
+ {
119023
+ "kind": "variable",
119024
+ "name": "currentStep"
119025
+ }
119026
+ ],
119027
+ "exports": [
119028
+ {
119029
+ "kind": "js",
119030
+ "name": "SbbStepChangeEvent",
119031
+ "declaration": {
119032
+ "name": "SbbStepChangeEvent",
119033
+ "module": "stepper/stepper/stepper.component.js"
119034
+ }
119035
+ },
119036
+ {
119037
+ "kind": "js",
119038
+ "name": "SbbStepperElement",
119039
+ "declaration": {
119040
+ "name": "SbbStepperElement",
119041
+ "module": "stepper/stepper/stepper.component.js"
119042
+ }
119043
+ }
119044
+ ]
119045
+ },
118970
119046
  {
118971
119047
  "kind": "javascript-module",
118972
119048
  "path": "table/table-wrapper/table-wrapper.component.js",