@sbb-esta/lyne-elements-dev 4.12.0-dev.1777527536 → 4.12.0-dev.1777535342

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/container/sticky-bar/sticky-bar.component.js +1 -1
  2. package/container/sticky-bar.js +1 -1
  3. package/container.js +1 -1
  4. package/container.pure.js +1 -1
  5. package/core/mixins/form-associated-input-mixin.js +1 -1
  6. package/custom-elements.json +1198 -1198
  7. package/development/container/sticky-bar/sticky-bar.component.js +1 -1
  8. package/development/container/sticky-bar.js +1 -1
  9. package/development/container.js +1 -1
  10. package/development/container.pure.js +1 -1
  11. package/development/core/mixins/form-associated-input-mixin.js +2 -2
  12. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  13. package/development/expansion-panel/expansion-panel-header.js +1 -1
  14. package/development/{expansion-panel-header.component-BEAabEE0.js → expansion-panel-header.component-C1xRGcAN.js} +2 -2
  15. package/development/expansion-panel.js +1 -1
  16. package/development/expansion-panel.pure.js +1 -1
  17. package/development/option/option/option.component.js +1 -1
  18. package/development/option/option.js +1 -1
  19. package/development/{option.component-CRVr0PfV.js → option.component-Bb2C7ae5.js} +2 -2
  20. package/development/option.js +1 -1
  21. package/development/option.pure.js +1 -1
  22. package/development/{sticky-bar.component-Dzrdsnxu.js → sticky-bar.component-CysAIZTd.js} +3 -3
  23. package/development/{tab-group.component-DldBA45K.js → tab-group.component-D9jCK26q.js} +2 -2
  24. package/development/tabs/tab-group/tab-group.component.d.ts.map +1 -1
  25. package/development/tabs/tab-group/tab-group.component.js +1 -1
  26. package/development/tabs/tab-group.js +1 -1
  27. package/development/tabs.js +1 -1
  28. package/development/tabs.pure.js +1 -1
  29. package/expansion-panel/expansion-panel-header/expansion-panel-header.component.js +1 -1
  30. package/expansion-panel/expansion-panel-header.js +1 -1
  31. package/{expansion-panel-header.component-FPoEEoZR.js → expansion-panel-header.component-uhZcVE_i.js} +1 -1
  32. package/expansion-panel.js +1 -1
  33. package/expansion-panel.pure.js +1 -1
  34. package/option/option/option.component.js +1 -1
  35. package/option/option.js +1 -1
  36. package/{option.component-2Xf1hz7y.js → option.component-CMp8QVZT.js} +1 -1
  37. package/option.js +1 -1
  38. package/option.pure.js +1 -1
  39. package/package.json +2 -2
  40. package/{sticky-bar.component-DDBq8uXU.js → sticky-bar.component-37iKnzVR.js} +2 -2
  41. package/{tab-group.component-CHQlrhUy.js → tab-group.component-BCJix5Cq.js} +1 -1
  42. package/tabs/tab-group/tab-group.component.js +1 -1
  43. package/tabs/tab-group.js +1 -1
  44. package/tabs.js +1 -1
  45. package/tabs.pure.js +1 -1
@@ -77919,6 +77919,26 @@
77919
77919
  }
77920
77920
  ]
77921
77921
  },
77922
+ {
77923
+ "kind": "javascript-module",
77924
+ "path": "core/styles/styles.js",
77925
+ "declarations": [
77926
+ {
77927
+ "kind": "variable",
77928
+ "name": "boxSizingStyles"
77929
+ }
77930
+ ],
77931
+ "exports": [
77932
+ {
77933
+ "kind": "js",
77934
+ "name": "boxSizingStyles",
77935
+ "declaration": {
77936
+ "name": "boxSizingStyles",
77937
+ "module": "core/styles/styles.js"
77938
+ }
77939
+ }
77940
+ ]
77941
+ },
77922
77942
  {
77923
77943
  "kind": "javascript-module",
77924
77944
  "path": "core/testing/event-spy.js",
@@ -78316,26 +78336,6 @@
78316
78336
  }
78317
78337
  ]
78318
78338
  },
78319
- {
78320
- "kind": "javascript-module",
78321
- "path": "core/styles/styles.js",
78322
- "declarations": [
78323
- {
78324
- "kind": "variable",
78325
- "name": "boxSizingStyles"
78326
- }
78327
- ],
78328
- "exports": [
78329
- {
78330
- "kind": "js",
78331
- "name": "boxSizingStyles",
78332
- "declaration": {
78333
- "name": "boxSizingStyles",
78334
- "module": "core/styles/styles.js"
78335
- }
78336
- }
78337
- ]
78338
- },
78339
78339
  {
78340
78340
  "kind": "javascript-module",
78341
78341
  "path": "datepicker/common/datepicker-button.js",
@@ -94658,6 +94658,253 @@
94658
94658
  }
94659
94659
  ]
94660
94660
  },
94661
+ {
94662
+ "kind": "javascript-module",
94663
+ "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
94664
+ "declarations": [
94665
+ {
94666
+ "kind": "class",
94667
+ "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
94668
+ "name": "SbbFormFieldTextCounterElement",
94669
+ "slots": [
94670
+ {
94671
+ "description": "Use the unnamed slot to display a custom description text after the counter.",
94672
+ "name": "",
94673
+ "inheritedFrom": {
94674
+ "name": "SbbHintElement",
94675
+ "module": "form-field/hint/hint.component.js"
94676
+ }
94677
+ }
94678
+ ],
94679
+ "members": [
94680
+ {
94681
+ "kind": "field",
94682
+ "name": "elementName",
94683
+ "type": {
94684
+ "text": "string"
94685
+ },
94686
+ "privacy": "public",
94687
+ "static": true,
94688
+ "readonly": true,
94689
+ "default": "'sbb-form-field-text-counter'",
94690
+ "inheritedFrom": {
94691
+ "name": "SbbElement",
94692
+ "module": "core/base-elements/element.js"
94693
+ }
94694
+ },
94695
+ {
94696
+ "kind": "field",
94697
+ "name": "_remainingCharacters",
94698
+ "type": {
94699
+ "text": "number"
94700
+ },
94701
+ "privacy": "private",
94702
+ "default": "0"
94703
+ },
94704
+ {
94705
+ "kind": "field",
94706
+ "name": "_language",
94707
+ "privacy": "private",
94708
+ "default": "new SbbLanguageController(this)"
94709
+ },
94710
+ {
94711
+ "kind": "field",
94712
+ "name": "_abortController",
94713
+ "type": {
94714
+ "text": "AbortController | null"
94715
+ },
94716
+ "privacy": "private",
94717
+ "default": "null"
94718
+ },
94719
+ {
94720
+ "kind": "method",
94721
+ "name": "_onInputUpdate",
94722
+ "privacy": "private",
94723
+ "return": {
94724
+ "type": {
94725
+ "text": "void"
94726
+ }
94727
+ }
94728
+ },
94729
+ {
94730
+ "kind": "method",
94731
+ "name": "_infoText",
94732
+ "privacy": "private",
94733
+ "return": {
94734
+ "type": {
94735
+ "text": "string"
94736
+ }
94737
+ }
94738
+ },
94739
+ {
94740
+ "kind": "field",
94741
+ "name": "negative",
94742
+ "type": {
94743
+ "text": "boolean"
94744
+ },
94745
+ "privacy": "public",
94746
+ "default": "false",
94747
+ "description": "Negative coloring variant flag.",
94748
+ "attribute": "negative",
94749
+ "reflects": true,
94750
+ "inheritedFrom": {
94751
+ "name": "SbbNegativeMixin",
94752
+ "module": "core/mixins/negative-mixin.js"
94753
+ }
94754
+ },
94755
+ {
94756
+ "kind": "field",
94757
+ "name": "formField",
94758
+ "type": {
94759
+ "text": "SbbFormFieldElement | null"
94760
+ },
94761
+ "privacy": "protected",
94762
+ "default": "null",
94763
+ "inheritedFrom": {
94764
+ "name": "SbbHintElement",
94765
+ "module": "form-field/hint/hint.component.js"
94766
+ }
94767
+ },
94768
+ {
94769
+ "kind": "field",
94770
+ "name": "_hydrationRequired",
94771
+ "type": {
94772
+ "text": "boolean"
94773
+ },
94774
+ "privacy": "private",
94775
+ "default": "!!this.shadowRoot",
94776
+ "inheritedFrom": {
94777
+ "name": "SbbElement",
94778
+ "module": "core/base-elements/element.js"
94779
+ }
94780
+ },
94781
+ {
94782
+ "kind": "field",
94783
+ "name": "_hydrationComplete",
94784
+ "privacy": "private",
94785
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
94786
+ "inheritedFrom": {
94787
+ "name": "SbbElement",
94788
+ "module": "core/base-elements/element.js"
94789
+ }
94790
+ },
94791
+ {
94792
+ "kind": "field",
94793
+ "name": "_resolveHydration",
94794
+ "type": {
94795
+ "text": "(hydrationRequired: boolean) => void"
94796
+ },
94797
+ "privacy": "private",
94798
+ "inheritedFrom": {
94799
+ "name": "SbbElement",
94800
+ "module": "core/base-elements/element.js"
94801
+ }
94802
+ },
94803
+ {
94804
+ "kind": "field",
94805
+ "name": "hydrationRequired",
94806
+ "type": {
94807
+ "text": "boolean"
94808
+ },
94809
+ "privacy": "protected",
94810
+ "description": "Returns whether hydration is required and not completed.",
94811
+ "readonly": true,
94812
+ "inheritedFrom": {
94813
+ "name": "SbbElement",
94814
+ "module": "core/base-elements/element.js"
94815
+ },
94816
+ "default": "!!this.shadowRoot"
94817
+ },
94818
+ {
94819
+ "kind": "method",
94820
+ "name": "toggleState",
94821
+ "privacy": "protected",
94822
+ "return": {
94823
+ "type": {
94824
+ "text": "void"
94825
+ }
94826
+ },
94827
+ "parameters": [
94828
+ {
94829
+ "name": "value",
94830
+ "type": {
94831
+ "text": "string"
94832
+ }
94833
+ },
94834
+ {
94835
+ "name": "force",
94836
+ "optional": true,
94837
+ "type": {
94838
+ "text": "boolean"
94839
+ }
94840
+ }
94841
+ ],
94842
+ "inheritedFrom": {
94843
+ "name": "SbbElement",
94844
+ "module": "core/base-elements/element.js"
94845
+ }
94846
+ },
94847
+ {
94848
+ "kind": "field",
94849
+ "name": "['_$sbbElement$']",
94850
+ "type": {
94851
+ "text": "boolean"
94852
+ },
94853
+ "privacy": "public",
94854
+ "static": true,
94855
+ "default": "true",
94856
+ "inheritedFrom": {
94857
+ "name": "SbbElement",
94858
+ "module": "core/base-elements/element.js"
94859
+ }
94860
+ },
94861
+ {
94862
+ "kind": "field",
94863
+ "name": "_controllers",
94864
+ "type": {
94865
+ "text": "Set<SbbReactiveController> | undefined"
94866
+ },
94867
+ "privacy": "private",
94868
+ "inheritedFrom": {
94869
+ "name": "SbbElement",
94870
+ "module": "core/base-elements/element.js"
94871
+ }
94872
+ }
94873
+ ],
94874
+ "superclass": {
94875
+ "name": "SbbHintElement",
94876
+ "module": "form-field/hint/hint.component.js"
94877
+ },
94878
+ "tagName": "sbb-form-field-text-counter",
94879
+ "customElement": true,
94880
+ "attributes": [
94881
+ {
94882
+ "name": "negative",
94883
+ "type": {
94884
+ "text": "boolean"
94885
+ },
94886
+ "default": "false",
94887
+ "description": "Negative coloring variant flag.",
94888
+ "fieldName": "negative",
94889
+ "inheritedFrom": {
94890
+ "name": "SbbNegativeMixin",
94891
+ "module": "core/mixins/negative-mixin.js"
94892
+ }
94893
+ }
94894
+ ]
94895
+ }
94896
+ ],
94897
+ "exports": [
94898
+ {
94899
+ "kind": "js",
94900
+ "name": "SbbFormFieldTextCounterElement",
94901
+ "declaration": {
94902
+ "name": "SbbFormFieldTextCounterElement",
94903
+ "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
94904
+ }
94905
+ }
94906
+ ]
94907
+ },
94661
94908
  {
94662
94909
  "kind": "javascript-module",
94663
94910
  "path": "form-field/form-field-clear/form-field-clear.component.js",
@@ -95466,253 +95713,6 @@
95466
95713
  }
95467
95714
  ]
95468
95715
  },
95469
- {
95470
- "kind": "javascript-module",
95471
- "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
95472
- "declarations": [
95473
- {
95474
- "kind": "class",
95475
- "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
95476
- "name": "SbbFormFieldTextCounterElement",
95477
- "slots": [
95478
- {
95479
- "description": "Use the unnamed slot to display a custom description text after the counter.",
95480
- "name": "",
95481
- "inheritedFrom": {
95482
- "name": "SbbHintElement",
95483
- "module": "form-field/hint/hint.component.js"
95484
- }
95485
- }
95486
- ],
95487
- "members": [
95488
- {
95489
- "kind": "field",
95490
- "name": "elementName",
95491
- "type": {
95492
- "text": "string"
95493
- },
95494
- "privacy": "public",
95495
- "static": true,
95496
- "readonly": true,
95497
- "default": "'sbb-form-field-text-counter'",
95498
- "inheritedFrom": {
95499
- "name": "SbbElement",
95500
- "module": "core/base-elements/element.js"
95501
- }
95502
- },
95503
- {
95504
- "kind": "field",
95505
- "name": "_remainingCharacters",
95506
- "type": {
95507
- "text": "number"
95508
- },
95509
- "privacy": "private",
95510
- "default": "0"
95511
- },
95512
- {
95513
- "kind": "field",
95514
- "name": "_language",
95515
- "privacy": "private",
95516
- "default": "new SbbLanguageController(this)"
95517
- },
95518
- {
95519
- "kind": "field",
95520
- "name": "_abortController",
95521
- "type": {
95522
- "text": "AbortController | null"
95523
- },
95524
- "privacy": "private",
95525
- "default": "null"
95526
- },
95527
- {
95528
- "kind": "method",
95529
- "name": "_onInputUpdate",
95530
- "privacy": "private",
95531
- "return": {
95532
- "type": {
95533
- "text": "void"
95534
- }
95535
- }
95536
- },
95537
- {
95538
- "kind": "method",
95539
- "name": "_infoText",
95540
- "privacy": "private",
95541
- "return": {
95542
- "type": {
95543
- "text": "string"
95544
- }
95545
- }
95546
- },
95547
- {
95548
- "kind": "field",
95549
- "name": "negative",
95550
- "type": {
95551
- "text": "boolean"
95552
- },
95553
- "privacy": "public",
95554
- "default": "false",
95555
- "description": "Negative coloring variant flag.",
95556
- "attribute": "negative",
95557
- "reflects": true,
95558
- "inheritedFrom": {
95559
- "name": "SbbNegativeMixin",
95560
- "module": "core/mixins/negative-mixin.js"
95561
- }
95562
- },
95563
- {
95564
- "kind": "field",
95565
- "name": "formField",
95566
- "type": {
95567
- "text": "SbbFormFieldElement | null"
95568
- },
95569
- "privacy": "protected",
95570
- "default": "null",
95571
- "inheritedFrom": {
95572
- "name": "SbbHintElement",
95573
- "module": "form-field/hint/hint.component.js"
95574
- }
95575
- },
95576
- {
95577
- "kind": "field",
95578
- "name": "_hydrationRequired",
95579
- "type": {
95580
- "text": "boolean"
95581
- },
95582
- "privacy": "private",
95583
- "default": "!!this.shadowRoot",
95584
- "inheritedFrom": {
95585
- "name": "SbbElement",
95586
- "module": "core/base-elements/element.js"
95587
- }
95588
- },
95589
- {
95590
- "kind": "field",
95591
- "name": "_hydrationComplete",
95592
- "privacy": "private",
95593
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
95594
- "inheritedFrom": {
95595
- "name": "SbbElement",
95596
- "module": "core/base-elements/element.js"
95597
- }
95598
- },
95599
- {
95600
- "kind": "field",
95601
- "name": "_resolveHydration",
95602
- "type": {
95603
- "text": "(hydrationRequired: boolean) => void"
95604
- },
95605
- "privacy": "private",
95606
- "inheritedFrom": {
95607
- "name": "SbbElement",
95608
- "module": "core/base-elements/element.js"
95609
- }
95610
- },
95611
- {
95612
- "kind": "field",
95613
- "name": "hydrationRequired",
95614
- "type": {
95615
- "text": "boolean"
95616
- },
95617
- "privacy": "protected",
95618
- "description": "Returns whether hydration is required and not completed.",
95619
- "readonly": true,
95620
- "inheritedFrom": {
95621
- "name": "SbbElement",
95622
- "module": "core/base-elements/element.js"
95623
- },
95624
- "default": "!!this.shadowRoot"
95625
- },
95626
- {
95627
- "kind": "method",
95628
- "name": "toggleState",
95629
- "privacy": "protected",
95630
- "return": {
95631
- "type": {
95632
- "text": "void"
95633
- }
95634
- },
95635
- "parameters": [
95636
- {
95637
- "name": "value",
95638
- "type": {
95639
- "text": "string"
95640
- }
95641
- },
95642
- {
95643
- "name": "force",
95644
- "optional": true,
95645
- "type": {
95646
- "text": "boolean"
95647
- }
95648
- }
95649
- ],
95650
- "inheritedFrom": {
95651
- "name": "SbbElement",
95652
- "module": "core/base-elements/element.js"
95653
- }
95654
- },
95655
- {
95656
- "kind": "field",
95657
- "name": "['_$sbbElement$']",
95658
- "type": {
95659
- "text": "boolean"
95660
- },
95661
- "privacy": "public",
95662
- "static": true,
95663
- "default": "true",
95664
- "inheritedFrom": {
95665
- "name": "SbbElement",
95666
- "module": "core/base-elements/element.js"
95667
- }
95668
- },
95669
- {
95670
- "kind": "field",
95671
- "name": "_controllers",
95672
- "type": {
95673
- "text": "Set<SbbReactiveController> | undefined"
95674
- },
95675
- "privacy": "private",
95676
- "inheritedFrom": {
95677
- "name": "SbbElement",
95678
- "module": "core/base-elements/element.js"
95679
- }
95680
- }
95681
- ],
95682
- "superclass": {
95683
- "name": "SbbHintElement",
95684
- "module": "form-field/hint/hint.component.js"
95685
- },
95686
- "tagName": "sbb-form-field-text-counter",
95687
- "customElement": true,
95688
- "attributes": [
95689
- {
95690
- "name": "negative",
95691
- "type": {
95692
- "text": "boolean"
95693
- },
95694
- "default": "false",
95695
- "description": "Negative coloring variant flag.",
95696
- "fieldName": "negative",
95697
- "inheritedFrom": {
95698
- "name": "SbbNegativeMixin",
95699
- "module": "core/mixins/negative-mixin.js"
95700
- }
95701
- }
95702
- ]
95703
- }
95704
- ],
95705
- "exports": [
95706
- {
95707
- "kind": "js",
95708
- "name": "SbbFormFieldTextCounterElement",
95709
- "declaration": {
95710
- "name": "SbbFormFieldTextCounterElement",
95711
- "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
95712
- }
95713
- }
95714
- ]
95715
- },
95716
95716
  {
95717
95717
  "kind": "javascript-module",
95718
95718
  "path": "form-field/hint/hint.component.js",
@@ -121192,6 +121192,218 @@
121192
121192
  }
121193
121193
  ]
121194
121194
  },
121195
+ {
121196
+ "kind": "javascript-module",
121197
+ "path": "sidebar/sidebar-container/sidebar-container.component.js",
121198
+ "declarations": [
121199
+ {
121200
+ "kind": "class",
121201
+ "description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
121202
+ "name": "SbbSidebarContainerElement",
121203
+ "slots": [
121204
+ {
121205
+ "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
121206
+ "name": ""
121207
+ }
121208
+ ],
121209
+ "members": [
121210
+ {
121211
+ "kind": "field",
121212
+ "name": "elementName",
121213
+ "type": {
121214
+ "text": "string"
121215
+ },
121216
+ "privacy": "public",
121217
+ "static": true,
121218
+ "readonly": true,
121219
+ "default": "'sbb-sidebar-container'",
121220
+ "inheritedFrom": {
121221
+ "name": "SbbElement",
121222
+ "module": "core/base-elements/element.js"
121223
+ }
121224
+ },
121225
+ {
121226
+ "kind": "field",
121227
+ "name": "sidebars",
121228
+ "type": {
121229
+ "text": "SbbSidebarElement[]"
121230
+ },
121231
+ "privacy": "public",
121232
+ "description": "The sidebar children.",
121233
+ "readonly": true
121234
+ },
121235
+ {
121236
+ "kind": "field",
121237
+ "name": "start",
121238
+ "type": {
121239
+ "text": "SbbSidebarElement | null"
121240
+ },
121241
+ "privacy": "public",
121242
+ "description": "The sidebar child with the `start` position.",
121243
+ "readonly": true
121244
+ },
121245
+ {
121246
+ "kind": "field",
121247
+ "name": "end",
121248
+ "type": {
121249
+ "text": "SbbSidebarElement | null"
121250
+ },
121251
+ "privacy": "public",
121252
+ "description": "The sidebar child with the `end` position.",
121253
+ "readonly": true
121254
+ },
121255
+ {
121256
+ "kind": "field",
121257
+ "name": "_forcedClosedSidebars",
121258
+ "privacy": "private",
121259
+ "default": "new WeakSet<SbbSidebarElement>()"
121260
+ },
121261
+ {
121262
+ "kind": "method",
121263
+ "name": "_handleWidthChange",
121264
+ "privacy": "private",
121265
+ "return": {
121266
+ "type": {
121267
+ "text": "void"
121268
+ }
121269
+ }
121270
+ },
121271
+ {
121272
+ "kind": "method",
121273
+ "name": "_calculateSpaceState",
121274
+ "privacy": "private",
121275
+ "return": {
121276
+ "type": {
121277
+ "text": "Promise<void>"
121278
+ }
121279
+ },
121280
+ "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
121281
+ },
121282
+ {
121283
+ "kind": "field",
121284
+ "name": "_hydrationRequired",
121285
+ "type": {
121286
+ "text": "boolean"
121287
+ },
121288
+ "privacy": "private",
121289
+ "default": "!!this.shadowRoot",
121290
+ "inheritedFrom": {
121291
+ "name": "SbbElement",
121292
+ "module": "core/base-elements/element.js"
121293
+ }
121294
+ },
121295
+ {
121296
+ "kind": "field",
121297
+ "name": "_hydrationComplete",
121298
+ "privacy": "private",
121299
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
121300
+ "inheritedFrom": {
121301
+ "name": "SbbElement",
121302
+ "module": "core/base-elements/element.js"
121303
+ }
121304
+ },
121305
+ {
121306
+ "kind": "field",
121307
+ "name": "_resolveHydration",
121308
+ "type": {
121309
+ "text": "(hydrationRequired: boolean) => void"
121310
+ },
121311
+ "privacy": "private",
121312
+ "inheritedFrom": {
121313
+ "name": "SbbElement",
121314
+ "module": "core/base-elements/element.js"
121315
+ }
121316
+ },
121317
+ {
121318
+ "kind": "field",
121319
+ "name": "hydrationRequired",
121320
+ "type": {
121321
+ "text": "boolean"
121322
+ },
121323
+ "privacy": "protected",
121324
+ "description": "Returns whether hydration is required and not completed.",
121325
+ "readonly": true,
121326
+ "inheritedFrom": {
121327
+ "name": "SbbElement",
121328
+ "module": "core/base-elements/element.js"
121329
+ },
121330
+ "default": "!!this.shadowRoot"
121331
+ },
121332
+ {
121333
+ "kind": "method",
121334
+ "name": "toggleState",
121335
+ "privacy": "protected",
121336
+ "return": {
121337
+ "type": {
121338
+ "text": "void"
121339
+ }
121340
+ },
121341
+ "parameters": [
121342
+ {
121343
+ "name": "value",
121344
+ "type": {
121345
+ "text": "string"
121346
+ }
121347
+ },
121348
+ {
121349
+ "name": "force",
121350
+ "optional": true,
121351
+ "type": {
121352
+ "text": "boolean"
121353
+ }
121354
+ }
121355
+ ],
121356
+ "inheritedFrom": {
121357
+ "name": "SbbElement",
121358
+ "module": "core/base-elements/element.js"
121359
+ }
121360
+ },
121361
+ {
121362
+ "kind": "field",
121363
+ "name": "['_$sbbElement$']",
121364
+ "type": {
121365
+ "text": "boolean"
121366
+ },
121367
+ "privacy": "public",
121368
+ "static": true,
121369
+ "default": "true",
121370
+ "inheritedFrom": {
121371
+ "name": "SbbElement",
121372
+ "module": "core/base-elements/element.js"
121373
+ }
121374
+ },
121375
+ {
121376
+ "kind": "field",
121377
+ "name": "_controllers",
121378
+ "type": {
121379
+ "text": "Set<SbbReactiveController> | undefined"
121380
+ },
121381
+ "privacy": "private",
121382
+ "inheritedFrom": {
121383
+ "name": "SbbElement",
121384
+ "module": "core/base-elements/element.js"
121385
+ }
121386
+ }
121387
+ ],
121388
+ "superclass": {
121389
+ "name": "SbbElement",
121390
+ "module": "core/base-elements.js"
121391
+ },
121392
+ "tagName": "sbb-sidebar-container",
121393
+ "customElement": true
121394
+ }
121395
+ ],
121396
+ "exports": [
121397
+ {
121398
+ "kind": "js",
121399
+ "name": "SbbSidebarContainerElement",
121400
+ "declaration": {
121401
+ "name": "SbbSidebarContainerElement",
121402
+ "module": "sidebar/sidebar-container/sidebar-container.component.js"
121403
+ }
121404
+ }
121405
+ ]
121406
+ },
121195
121407
  {
121196
121408
  "kind": "javascript-module",
121197
121409
  "path": "sidebar/sidebar-close-button/sidebar-close-button.component.js",
@@ -122212,218 +122424,6 @@
122212
122424
  }
122213
122425
  ]
122214
122426
  },
122215
- {
122216
- "kind": "javascript-module",
122217
- "path": "sidebar/sidebar-container/sidebar-container.component.js",
122218
- "declarations": [
122219
- {
122220
- "kind": "class",
122221
- "description": "This is the parent component to one or two `<sbb-sidebar>`s that validates the state internally\nand coordinates the backdrop and content styling.",
122222
- "name": "SbbSidebarContainerElement",
122223
- "slots": [
122224
- {
122225
- "description": "Use the unnamed slot to add `sbb-sidebar` and `sbb-sidebar-content` elements.",
122226
- "name": ""
122227
- }
122228
- ],
122229
- "members": [
122230
- {
122231
- "kind": "field",
122232
- "name": "elementName",
122233
- "type": {
122234
- "text": "string"
122235
- },
122236
- "privacy": "public",
122237
- "static": true,
122238
- "readonly": true,
122239
- "default": "'sbb-sidebar-container'",
122240
- "inheritedFrom": {
122241
- "name": "SbbElement",
122242
- "module": "core/base-elements/element.js"
122243
- }
122244
- },
122245
- {
122246
- "kind": "field",
122247
- "name": "sidebars",
122248
- "type": {
122249
- "text": "SbbSidebarElement[]"
122250
- },
122251
- "privacy": "public",
122252
- "description": "The sidebar children.",
122253
- "readonly": true
122254
- },
122255
- {
122256
- "kind": "field",
122257
- "name": "start",
122258
- "type": {
122259
- "text": "SbbSidebarElement | null"
122260
- },
122261
- "privacy": "public",
122262
- "description": "The sidebar child with the `start` position.",
122263
- "readonly": true
122264
- },
122265
- {
122266
- "kind": "field",
122267
- "name": "end",
122268
- "type": {
122269
- "text": "SbbSidebarElement | null"
122270
- },
122271
- "privacy": "public",
122272
- "description": "The sidebar child with the `end` position.",
122273
- "readonly": true
122274
- },
122275
- {
122276
- "kind": "field",
122277
- "name": "_forcedClosedSidebars",
122278
- "privacy": "private",
122279
- "default": "new WeakSet<SbbSidebarElement>()"
122280
- },
122281
- {
122282
- "kind": "method",
122283
- "name": "_handleWidthChange",
122284
- "privacy": "private",
122285
- "return": {
122286
- "type": {
122287
- "text": "void"
122288
- }
122289
- }
122290
- },
122291
- {
122292
- "kind": "method",
122293
- "name": "_calculateSpaceState",
122294
- "privacy": "private",
122295
- "return": {
122296
- "type": {
122297
- "text": "Promise<void>"
122298
- }
122299
- },
122300
- "description": "Closes and opens sidebars depending on available width\nof the container and its parent container."
122301
- },
122302
- {
122303
- "kind": "field",
122304
- "name": "_hydrationRequired",
122305
- "type": {
122306
- "text": "boolean"
122307
- },
122308
- "privacy": "private",
122309
- "default": "!!this.shadowRoot",
122310
- "inheritedFrom": {
122311
- "name": "SbbElement",
122312
- "module": "core/base-elements/element.js"
122313
- }
122314
- },
122315
- {
122316
- "kind": "field",
122317
- "name": "_hydrationComplete",
122318
- "privacy": "private",
122319
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
122320
- "inheritedFrom": {
122321
- "name": "SbbElement",
122322
- "module": "core/base-elements/element.js"
122323
- }
122324
- },
122325
- {
122326
- "kind": "field",
122327
- "name": "_resolveHydration",
122328
- "type": {
122329
- "text": "(hydrationRequired: boolean) => void"
122330
- },
122331
- "privacy": "private",
122332
- "inheritedFrom": {
122333
- "name": "SbbElement",
122334
- "module": "core/base-elements/element.js"
122335
- }
122336
- },
122337
- {
122338
- "kind": "field",
122339
- "name": "hydrationRequired",
122340
- "type": {
122341
- "text": "boolean"
122342
- },
122343
- "privacy": "protected",
122344
- "description": "Returns whether hydration is required and not completed.",
122345
- "readonly": true,
122346
- "inheritedFrom": {
122347
- "name": "SbbElement",
122348
- "module": "core/base-elements/element.js"
122349
- },
122350
- "default": "!!this.shadowRoot"
122351
- },
122352
- {
122353
- "kind": "method",
122354
- "name": "toggleState",
122355
- "privacy": "protected",
122356
- "return": {
122357
- "type": {
122358
- "text": "void"
122359
- }
122360
- },
122361
- "parameters": [
122362
- {
122363
- "name": "value",
122364
- "type": {
122365
- "text": "string"
122366
- }
122367
- },
122368
- {
122369
- "name": "force",
122370
- "optional": true,
122371
- "type": {
122372
- "text": "boolean"
122373
- }
122374
- }
122375
- ],
122376
- "inheritedFrom": {
122377
- "name": "SbbElement",
122378
- "module": "core/base-elements/element.js"
122379
- }
122380
- },
122381
- {
122382
- "kind": "field",
122383
- "name": "['_$sbbElement$']",
122384
- "type": {
122385
- "text": "boolean"
122386
- },
122387
- "privacy": "public",
122388
- "static": true,
122389
- "default": "true",
122390
- "inheritedFrom": {
122391
- "name": "SbbElement",
122392
- "module": "core/base-elements/element.js"
122393
- }
122394
- },
122395
- {
122396
- "kind": "field",
122397
- "name": "_controllers",
122398
- "type": {
122399
- "text": "Set<SbbReactiveController> | undefined"
122400
- },
122401
- "privacy": "private",
122402
- "inheritedFrom": {
122403
- "name": "SbbElement",
122404
- "module": "core/base-elements/element.js"
122405
- }
122406
- }
122407
- ],
122408
- "superclass": {
122409
- "name": "SbbElement",
122410
- "module": "core/base-elements.js"
122411
- },
122412
- "tagName": "sbb-sidebar-container",
122413
- "customElement": true
122414
- }
122415
- ],
122416
- "exports": [
122417
- {
122418
- "kind": "js",
122419
- "name": "SbbSidebarContainerElement",
122420
- "declaration": {
122421
- "name": "SbbSidebarContainerElement",
122422
- "module": "sidebar/sidebar-container/sidebar-container.component.js"
122423
- }
122424
- }
122425
- ]
122426
- },
122427
122427
  {
122428
122428
  "kind": "javascript-module",
122429
122429
  "path": "sidebar/sidebar-content/sidebar-content.component.js",
@@ -123114,20 +123114,79 @@
123114
123114
  },
123115
123115
  {
123116
123116
  "kind": "javascript-module",
123117
- "path": "stepper/step-label/step-label.component.js",
123117
+ "path": "stepper/stepper/stepper.component.js",
123118
123118
  "declarations": [
123119
123119
  {
123120
123120
  "kind": "class",
123121
- "description": "Combined with a `sbb-stepper`, it displays a step's label.",
123122
- "name": "SbbStepLabelElement",
123121
+ "description": "",
123122
+ "name": "SbbStepChangeEvent",
123123
+ "members": [
123124
+ {
123125
+ "kind": "field",
123126
+ "name": "selectedIndex",
123127
+ "type": {
123128
+ "text": "number | null"
123129
+ },
123130
+ "privacy": "public",
123131
+ "readonly": true,
123132
+ "description": "The index of the newly selected step.",
123133
+ "default": "selectedIndex"
123134
+ },
123135
+ {
123136
+ "kind": "field",
123137
+ "name": "previousIndex",
123138
+ "type": {
123139
+ "text": "number | null"
123140
+ },
123141
+ "privacy": "public",
123142
+ "readonly": true,
123143
+ "description": "The index of the previously selected step.",
123144
+ "default": "previousIndex"
123145
+ },
123146
+ {
123147
+ "kind": "field",
123148
+ "name": "selectedStep",
123149
+ "type": {
123150
+ "text": "SbbStepElement | null"
123151
+ },
123152
+ "privacy": "public",
123153
+ "readonly": true,
123154
+ "description": "The newly selected step element.",
123155
+ "default": "selectedStep"
123156
+ },
123157
+ {
123158
+ "kind": "field",
123159
+ "name": "previousStep",
123160
+ "type": {
123161
+ "text": "SbbStepElement | null"
123162
+ },
123163
+ "privacy": "public",
123164
+ "readonly": true,
123165
+ "description": "The previously selected step element.",
123166
+ "default": "previousStep"
123167
+ }
123168
+ ],
123169
+ "superclass": {
123170
+ "name": "Event",
123171
+ "module": "stepper/stepper/stepper.component.js"
123172
+ }
123173
+ },
123174
+ {
123175
+ "kind": "class",
123176
+ "description": "Provides a structured, step-by-step workflow for user interactions.",
123177
+ "name": "SbbStepperElement",
123123
123178
  "slots": [
123124
123179
  {
123125
- "description": "Use the unnamed slot to provide a label.",
123180
+ "description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
123126
123181
  "name": ""
123127
123182
  },
123128
123183
  {
123129
- "description": "Use this to display an icon in the label bubble.",
123130
- "name": "icon"
123184
+ "description": "Use this slot to provide an `sbb-step-label`.",
123185
+ "name": "step-label"
123186
+ },
123187
+ {
123188
+ "description": "Use this slot to provide an `sbb-step`.",
123189
+ "name": "step"
123131
123190
  }
123132
123191
  ],
123133
123192
  "members": [
@@ -123140,41 +123199,98 @@
123140
123199
  "privacy": "public",
123141
123200
  "static": true,
123142
123201
  "readonly": true,
123202
+ "default": "'sbb-stepper'",
123143
123203
  "inheritedFrom": {
123144
123204
  "name": "SbbElement",
123145
123205
  "module": "core/base-elements/element.js"
123146
- },
123147
- "default": "'sbb-step-label'"
123206
+ }
123148
123207
  },
123149
123208
  {
123150
123209
  "kind": "field",
123151
- "name": "role",
123152
- "type": {
123153
- "text": "string"
123154
- },
123210
+ "name": "events",
123155
123211
  "privacy": "public",
123156
123212
  "static": true,
123157
123213
  "readonly": true,
123158
- "default": "'tab'",
123159
- "inheritedFrom": {
123160
- "name": "SbbButtonLikeBaseElement",
123161
- "module": "core/base-elements/button-base-element.js"
123214
+ "default": "{ stepchange: 'stepchange', }",
123215
+ "type": {
123216
+ "text": "{\n stepchange: 'stepchange',\n }"
123162
123217
  }
123163
123218
  },
123164
123219
  {
123165
123220
  "kind": "field",
123166
- "name": "step",
123221
+ "name": "_observer",
123222
+ "privacy": "private",
123223
+ "default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
123224
+ "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."
123225
+ },
123226
+ {
123227
+ "kind": "field",
123228
+ "name": "linear",
123167
123229
  "type": {
123168
- "text": "SbbStepElement | null"
123230
+ "text": "boolean"
123169
123231
  },
123170
123232
  "privacy": "public",
123171
- "description": "The step controlled by the label.",
123172
- "readonly": true,
123233
+ "default": "false",
123234
+ "description": "If set to true, only the current and previous labels can be clicked and selected.",
123235
+ "attribute": "linear"
123236
+ },
123237
+ {
123238
+ "kind": "field",
123239
+ "name": "horizontalFrom",
123240
+ "privacy": "public",
123241
+ "description": "Overrides the behavior of `orientation` property.",
123242
+ "type": {
123243
+ "text": "SbbHorizontalFrom | null"
123244
+ },
123245
+ "attribute": "horizontal-from",
123246
+ "reflects": true,
123173
123247
  "default": "null"
123174
123248
  },
123175
123249
  {
123176
123250
  "kind": "field",
123177
- "name": "_step",
123251
+ "name": "_horizontalFrom",
123252
+ "type": {
123253
+ "text": "SbbHorizontalFrom | null"
123254
+ },
123255
+ "privacy": "private",
123256
+ "default": "null"
123257
+ },
123258
+ {
123259
+ "kind": "field",
123260
+ "name": "orientation",
123261
+ "type": {
123262
+ "text": "SbbOrientation"
123263
+ },
123264
+ "privacy": "public",
123265
+ "default": "'horizontal'",
123266
+ "description": "Steps orientation, either horizontal or vertical.",
123267
+ "attribute": "orientation",
123268
+ "reflects": true
123269
+ },
123270
+ {
123271
+ "kind": "field",
123272
+ "name": "size",
123273
+ "type": {
123274
+ "text": "'s' | 'm'"
123275
+ },
123276
+ "privacy": "public",
123277
+ "description": "Size variant, either s or m.",
123278
+ "default": "'m' / 's' (lean)",
123279
+ "attribute": "size",
123280
+ "reflects": true
123281
+ },
123282
+ {
123283
+ "kind": "field",
123284
+ "name": "selected",
123285
+ "privacy": "public",
123286
+ "description": "The currently selected step.",
123287
+ "type": {
123288
+ "text": "SbbStepElement | null"
123289
+ }
123290
+ },
123291
+ {
123292
+ "kind": "field",
123293
+ "name": "_requestedSelected",
123178
123294
  "type": {
123179
123295
  "text": "SbbStepElement | null"
123180
123296
  },
@@ -123183,135 +123299,650 @@
123183
123299
  },
123184
123300
  {
123185
123301
  "kind": "field",
123186
- "name": "stepper",
123302
+ "name": "selectedIndex",
123303
+ "privacy": "public",
123304
+ "description": "The currently selected step index.",
123187
123305
  "type": {
123188
- "text": "SbbStepperElement | null"
123306
+ "text": "number | null"
123307
+ },
123308
+ "attribute": "selected-index"
123309
+ },
123310
+ {
123311
+ "kind": "field",
123312
+ "name": "_requestedSelectedIndex",
123313
+ "type": {
123314
+ "text": "number | null"
123315
+ },
123316
+ "privacy": "private",
123317
+ "default": "null"
123318
+ },
123319
+ {
123320
+ "kind": "field",
123321
+ "name": "steps",
123322
+ "type": {
123323
+ "text": "SbbStepElement[]"
123189
123324
  },
123190
123325
  "privacy": "public",
123326
+ "description": "The steps of the stepper.",
123191
123327
  "readonly": true
123192
123328
  },
123193
123329
  {
123194
123330
  "kind": "field",
123195
- "name": "disabled",
123196
- "privacy": "public",
123197
- "description": "Whether the component is disabled.",
123198
- "default": "false",
123331
+ "name": "_enabledSteps",
123199
123332
  "type": {
123200
- "text": "boolean"
123333
+ "text": "SbbStepElement[]"
123201
123334
  },
123202
- "attribute": "disabled",
123203
- "reflects": true,
123204
- "inheritedFrom": {
123205
- "name": "SbbDisabledMixin",
123206
- "module": "core/mixins/disabled-mixin.js"
123207
- }
123335
+ "privacy": "private",
123336
+ "readonly": true
123208
123337
  },
123209
123338
  {
123210
123339
  "kind": "field",
123211
- "name": "_previousOrientation",
123340
+ "name": "_loaded",
123212
123341
  "type": {
123213
- "text": "string | undefined"
123342
+ "text": "boolean"
123214
123343
  },
123215
- "privacy": "private"
123344
+ "privacy": "private",
123345
+ "default": "false"
123216
123346
  },
123217
123347
  {
123218
123348
  "kind": "field",
123219
- "name": "_previousSize",
123349
+ "name": "_resizeObserverTimeout",
123220
123350
  "type": {
123221
- "text": "string | undefined"
123351
+ "text": "ReturnType<typeof setTimeout> | null"
123222
123352
  },
123223
- "privacy": "private"
123353
+ "privacy": "private",
123354
+ "default": "null"
123224
123355
  },
123225
123356
  {
123226
- "kind": "method",
123227
- "name": "_isNotDeactivatedByLinearMode",
123357
+ "kind": "field",
123358
+ "name": "_mediaMatcher",
123228
123359
  "privacy": "private",
123360
+ "default": "new SbbMediaMatcherController(this, {})"
123361
+ },
123362
+ {
123363
+ "kind": "method",
123364
+ "name": "next",
123365
+ "privacy": "public",
123229
123366
  "return": {
123230
123367
  "type": {
123231
- "text": "boolean"
123368
+ "text": "void"
123232
123369
  }
123233
123370
  },
123234
- "parameters": [
123235
- {
123236
- "name": "step",
123237
- "type": {
123238
- "text": "SbbStepElement"
123239
- }
123240
- }
123241
- ]
123371
+ "description": "Selects the next step."
123242
123372
  },
123243
123373
  {
123244
123374
  "kind": "method",
123245
- "name": "_assignStep",
123246
- "privacy": "private",
123375
+ "name": "previous",
123376
+ "privacy": "public",
123247
123377
  "return": {
123248
123378
  "type": {
123249
123379
  "text": "void"
123250
123380
  }
123251
- }
123381
+ },
123382
+ "description": "Selects the previous step."
123252
123383
  },
123253
123384
  {
123254
- "kind": "field",
123255
- "name": "iconName",
123256
- "type": {
123257
- "text": "string"
123258
- },
123385
+ "kind": "method",
123386
+ "name": "reset",
123259
123387
  "privacy": "public",
123260
- "default": "''",
123261
- "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.",
123262
- "attribute": "icon-name",
123263
- "inheritedFrom": {
123264
- "name": "SbbIconNameMixin",
123265
- "module": "icon/icon-name-mixin.js"
123266
- }
123388
+ "return": {
123389
+ "type": {
123390
+ "text": "void"
123391
+ }
123392
+ },
123393
+ "description": "Resets the form in which the stepper is nested or every form of each step, if any."
123267
123394
  },
123268
123395
  {
123269
123396
  "kind": "method",
123270
- "name": "renderIconSlot",
123271
- "privacy": "protected",
123397
+ "name": "_isSelectable",
123398
+ "privacy": "private",
123272
123399
  "return": {
123273
123400
  "type": {
123274
- "text": "TemplateResult"
123401
+ "text": "step is SbbStepElement"
123275
123402
  }
123276
123403
  },
123277
123404
  "parameters": [
123278
123405
  {
123279
- "name": "classname",
123280
- "optional": true,
123406
+ "name": "step",
123281
123407
  "type": {
123282
- "text": "string"
123408
+ "text": "SbbStepElement | null"
123283
123409
  }
123284
123410
  }
123285
- ],
123286
- "inheritedFrom": {
123287
- "name": "SbbIconNameMixin",
123288
- "module": "icon/icon-name-mixin.js"
123289
- }
123411
+ ]
123290
123412
  },
123291
123413
  {
123292
123414
  "kind": "method",
123293
- "name": "renderIconName",
123294
- "privacy": "protected",
123415
+ "name": "_select",
123416
+ "privacy": "private",
123295
123417
  "return": {
123296
123418
  "type": {
123297
- "text": "string"
123419
+ "text": "void"
123298
123420
  }
123299
123421
  },
123300
- "inheritedFrom": {
123301
- "name": "SbbIconNameMixin",
123302
- "module": "icon/icon-name-mixin.js"
123303
- }
123422
+ "parameters": [
123423
+ {
123424
+ "name": "step",
123425
+ "type": {
123426
+ "text": "SbbStepElement | null"
123427
+ }
123428
+ }
123429
+ ]
123304
123430
  },
123305
123431
  {
123306
123432
  "kind": "method",
123307
- "name": "_renderIconName",
123433
+ "name": "_setMarkerSize",
123308
123434
  "privacy": "private",
123309
123435
  "return": {
123310
123436
  "type": {
123311
- "text": "string"
123437
+ "text": "void"
123312
123438
  }
123313
- },
123314
- "inheritedFrom": {
123439
+ }
123440
+ },
123441
+ {
123442
+ "kind": "method",
123443
+ "name": "_setStepperHeight",
123444
+ "privacy": "private",
123445
+ "return": {
123446
+ "type": {
123447
+ "text": "void"
123448
+ }
123449
+ },
123450
+ "parameters": [
123451
+ {
123452
+ "name": "step",
123453
+ "type": {
123454
+ "text": "SbbStepElement | null"
123455
+ }
123456
+ }
123457
+ ],
123458
+ "description": "Sets the stepper height based on the height of the provided step."
123459
+ },
123460
+ {
123461
+ "kind": "method",
123462
+ "name": "_calculateLabelOffsetTop",
123463
+ "privacy": "private",
123464
+ "return": {
123465
+ "type": {
123466
+ "text": "number | undefined"
123467
+ }
123468
+ }
123469
+ },
123470
+ {
123471
+ "kind": "method",
123472
+ "name": "_onSelectedStepResize",
123473
+ "privacy": "private",
123474
+ "return": {
123475
+ "type": {
123476
+ "text": "void"
123477
+ }
123478
+ },
123479
+ "parameters": [
123480
+ {
123481
+ "name": "e",
123482
+ "type": {
123483
+ "text": "Event"
123484
+ }
123485
+ }
123486
+ ]
123487
+ },
123488
+ {
123489
+ "kind": "method",
123490
+ "name": "_configure",
123491
+ "privacy": "private",
123492
+ "return": {
123493
+ "type": {
123494
+ "text": "void"
123495
+ }
123496
+ }
123497
+ },
123498
+ {
123499
+ "kind": "method",
123500
+ "name": "_updateLabels",
123501
+ "privacy": "private",
123502
+ "return": {
123503
+ "type": {
123504
+ "text": "void"
123505
+ }
123506
+ }
123507
+ },
123508
+ {
123509
+ "kind": "method",
123510
+ "name": "_checkOrientation",
123511
+ "privacy": "private",
123512
+ "return": {
123513
+ "type": {
123514
+ "text": "void"
123515
+ }
123516
+ }
123517
+ },
123518
+ {
123519
+ "kind": "field",
123520
+ "name": "_onStepperResize",
123521
+ "privacy": "private"
123522
+ },
123523
+ {
123524
+ "kind": "method",
123525
+ "name": "_configureLinearMode",
123526
+ "privacy": "private",
123527
+ "return": {
123528
+ "type": {
123529
+ "text": "void"
123530
+ }
123531
+ }
123532
+ },
123533
+ {
123534
+ "kind": "method",
123535
+ "name": "_handleKeyDown",
123536
+ "privacy": "private",
123537
+ "return": {
123538
+ "type": {
123539
+ "text": "void"
123540
+ }
123541
+ },
123542
+ "parameters": [
123543
+ {
123544
+ "name": "evt",
123545
+ "type": {
123546
+ "text": "KeyboardEvent"
123547
+ }
123548
+ }
123549
+ ]
123550
+ },
123551
+ {
123552
+ "kind": "field",
123553
+ "name": "_hydrationRequired",
123554
+ "type": {
123555
+ "text": "boolean"
123556
+ },
123557
+ "privacy": "private",
123558
+ "default": "!!this.shadowRoot",
123559
+ "inheritedFrom": {
123560
+ "name": "SbbElement",
123561
+ "module": "core/base-elements/element.js"
123562
+ }
123563
+ },
123564
+ {
123565
+ "kind": "field",
123566
+ "name": "_hydrationComplete",
123567
+ "privacy": "private",
123568
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
123569
+ "inheritedFrom": {
123570
+ "name": "SbbElement",
123571
+ "module": "core/base-elements/element.js"
123572
+ }
123573
+ },
123574
+ {
123575
+ "kind": "field",
123576
+ "name": "_resolveHydration",
123577
+ "type": {
123578
+ "text": "(hydrationRequired: boolean) => void"
123579
+ },
123580
+ "privacy": "private",
123581
+ "inheritedFrom": {
123582
+ "name": "SbbElement",
123583
+ "module": "core/base-elements/element.js"
123584
+ }
123585
+ },
123586
+ {
123587
+ "kind": "field",
123588
+ "name": "hydrationRequired",
123589
+ "type": {
123590
+ "text": "boolean"
123591
+ },
123592
+ "privacy": "protected",
123593
+ "description": "Returns whether hydration is required and not completed.",
123594
+ "readonly": true,
123595
+ "inheritedFrom": {
123596
+ "name": "SbbElement",
123597
+ "module": "core/base-elements/element.js"
123598
+ },
123599
+ "default": "!!this.shadowRoot"
123600
+ },
123601
+ {
123602
+ "kind": "method",
123603
+ "name": "toggleState",
123604
+ "privacy": "protected",
123605
+ "return": {
123606
+ "type": {
123607
+ "text": "void"
123608
+ }
123609
+ },
123610
+ "parameters": [
123611
+ {
123612
+ "name": "value",
123613
+ "type": {
123614
+ "text": "string"
123615
+ }
123616
+ },
123617
+ {
123618
+ "name": "force",
123619
+ "optional": true,
123620
+ "type": {
123621
+ "text": "boolean"
123622
+ }
123623
+ }
123624
+ ],
123625
+ "inheritedFrom": {
123626
+ "name": "SbbElement",
123627
+ "module": "core/base-elements/element.js"
123628
+ }
123629
+ },
123630
+ {
123631
+ "kind": "field",
123632
+ "name": "['_$sbbElement$']",
123633
+ "type": {
123634
+ "text": "boolean"
123635
+ },
123636
+ "privacy": "public",
123637
+ "static": true,
123638
+ "default": "true",
123639
+ "inheritedFrom": {
123640
+ "name": "SbbElement",
123641
+ "module": "core/base-elements/element.js"
123642
+ }
123643
+ },
123644
+ {
123645
+ "kind": "field",
123646
+ "name": "_controllers",
123647
+ "type": {
123648
+ "text": "Set<SbbReactiveController> | undefined"
123649
+ },
123650
+ "privacy": "private",
123651
+ "inheritedFrom": {
123652
+ "name": "SbbElement",
123653
+ "module": "core/base-elements/element.js"
123654
+ }
123655
+ }
123656
+ ],
123657
+ "events": [
123658
+ {
123659
+ "type": {
123660
+ "text": "SbbStepChangeEvent"
123661
+ },
123662
+ "description": "Emits whenever a step was changed.",
123663
+ "name": "stepchange"
123664
+ }
123665
+ ],
123666
+ "attributes": [
123667
+ {
123668
+ "name": "linear",
123669
+ "type": {
123670
+ "text": "boolean"
123671
+ },
123672
+ "default": "false",
123673
+ "description": "If set to true, only the current and previous labels can be clicked and selected.",
123674
+ "fieldName": "linear"
123675
+ },
123676
+ {
123677
+ "name": "horizontal-from",
123678
+ "description": "Overrides the behavior of `orientation` property.",
123679
+ "type": {
123680
+ "text": "SbbHorizontalFrom | null"
123681
+ },
123682
+ "fieldName": "horizontalFrom"
123683
+ },
123684
+ {
123685
+ "name": "orientation",
123686
+ "type": {
123687
+ "text": "SbbOrientation"
123688
+ },
123689
+ "default": "'horizontal'",
123690
+ "description": "Steps orientation, either horizontal or vertical.",
123691
+ "fieldName": "orientation"
123692
+ },
123693
+ {
123694
+ "name": "size",
123695
+ "type": {
123696
+ "text": "'s' | 'm'"
123697
+ },
123698
+ "description": "Size variant, either s or m.",
123699
+ "default": "'m' / 's' (lean)",
123700
+ "fieldName": "size"
123701
+ },
123702
+ {
123703
+ "name": "selected-index",
123704
+ "description": "The currently selected step index.",
123705
+ "type": {
123706
+ "text": "number | null"
123707
+ },
123708
+ "fieldName": "selectedIndex"
123709
+ }
123710
+ ],
123711
+ "superclass": {
123712
+ "name": "SbbElement",
123713
+ "module": "core/base-elements.js"
123714
+ },
123715
+ "tagName": "sbb-stepper",
123716
+ "customElement": true
123717
+ },
123718
+ {
123719
+ "kind": "variable",
123720
+ "name": "currentIndex"
123721
+ },
123722
+ {
123723
+ "kind": "variable",
123724
+ "name": "currentStep"
123725
+ }
123726
+ ],
123727
+ "exports": [
123728
+ {
123729
+ "kind": "js",
123730
+ "name": "SbbStepChangeEvent",
123731
+ "declaration": {
123732
+ "name": "SbbStepChangeEvent",
123733
+ "module": "stepper/stepper/stepper.component.js"
123734
+ }
123735
+ },
123736
+ {
123737
+ "kind": "js",
123738
+ "name": "SbbStepperElement",
123739
+ "declaration": {
123740
+ "name": "SbbStepperElement",
123741
+ "module": "stepper/stepper/stepper.component.js"
123742
+ }
123743
+ }
123744
+ ]
123745
+ },
123746
+ {
123747
+ "kind": "javascript-module",
123748
+ "path": "stepper/step-label/step-label.component.js",
123749
+ "declarations": [
123750
+ {
123751
+ "kind": "class",
123752
+ "description": "Combined with a `sbb-stepper`, it displays a step's label.",
123753
+ "name": "SbbStepLabelElement",
123754
+ "slots": [
123755
+ {
123756
+ "description": "Use the unnamed slot to provide a label.",
123757
+ "name": ""
123758
+ },
123759
+ {
123760
+ "description": "Use this to display an icon in the label bubble.",
123761
+ "name": "icon"
123762
+ }
123763
+ ],
123764
+ "members": [
123765
+ {
123766
+ "kind": "field",
123767
+ "name": "elementName",
123768
+ "type": {
123769
+ "text": "string"
123770
+ },
123771
+ "privacy": "public",
123772
+ "static": true,
123773
+ "readonly": true,
123774
+ "inheritedFrom": {
123775
+ "name": "SbbElement",
123776
+ "module": "core/base-elements/element.js"
123777
+ },
123778
+ "default": "'sbb-step-label'"
123779
+ },
123780
+ {
123781
+ "kind": "field",
123782
+ "name": "role",
123783
+ "type": {
123784
+ "text": "string"
123785
+ },
123786
+ "privacy": "public",
123787
+ "static": true,
123788
+ "readonly": true,
123789
+ "default": "'tab'",
123790
+ "inheritedFrom": {
123791
+ "name": "SbbButtonLikeBaseElement",
123792
+ "module": "core/base-elements/button-base-element.js"
123793
+ }
123794
+ },
123795
+ {
123796
+ "kind": "field",
123797
+ "name": "step",
123798
+ "type": {
123799
+ "text": "SbbStepElement | null"
123800
+ },
123801
+ "privacy": "public",
123802
+ "description": "The step controlled by the label.",
123803
+ "readonly": true,
123804
+ "default": "null"
123805
+ },
123806
+ {
123807
+ "kind": "field",
123808
+ "name": "_step",
123809
+ "type": {
123810
+ "text": "SbbStepElement | null"
123811
+ },
123812
+ "privacy": "private",
123813
+ "default": "null"
123814
+ },
123815
+ {
123816
+ "kind": "field",
123817
+ "name": "stepper",
123818
+ "type": {
123819
+ "text": "SbbStepperElement | null"
123820
+ },
123821
+ "privacy": "public",
123822
+ "readonly": true
123823
+ },
123824
+ {
123825
+ "kind": "field",
123826
+ "name": "disabled",
123827
+ "privacy": "public",
123828
+ "description": "Whether the component is disabled.",
123829
+ "default": "false",
123830
+ "type": {
123831
+ "text": "boolean"
123832
+ },
123833
+ "attribute": "disabled",
123834
+ "reflects": true,
123835
+ "inheritedFrom": {
123836
+ "name": "SbbDisabledMixin",
123837
+ "module": "core/mixins/disabled-mixin.js"
123838
+ }
123839
+ },
123840
+ {
123841
+ "kind": "field",
123842
+ "name": "_previousOrientation",
123843
+ "type": {
123844
+ "text": "string | undefined"
123845
+ },
123846
+ "privacy": "private"
123847
+ },
123848
+ {
123849
+ "kind": "field",
123850
+ "name": "_previousSize",
123851
+ "type": {
123852
+ "text": "string | undefined"
123853
+ },
123854
+ "privacy": "private"
123855
+ },
123856
+ {
123857
+ "kind": "method",
123858
+ "name": "_isNotDeactivatedByLinearMode",
123859
+ "privacy": "private",
123860
+ "return": {
123861
+ "type": {
123862
+ "text": "boolean"
123863
+ }
123864
+ },
123865
+ "parameters": [
123866
+ {
123867
+ "name": "step",
123868
+ "type": {
123869
+ "text": "SbbStepElement"
123870
+ }
123871
+ }
123872
+ ]
123873
+ },
123874
+ {
123875
+ "kind": "method",
123876
+ "name": "_assignStep",
123877
+ "privacy": "private",
123878
+ "return": {
123879
+ "type": {
123880
+ "text": "void"
123881
+ }
123882
+ }
123883
+ },
123884
+ {
123885
+ "kind": "field",
123886
+ "name": "iconName",
123887
+ "type": {
123888
+ "text": "string"
123889
+ },
123890
+ "privacy": "public",
123891
+ "default": "''",
123892
+ "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.",
123893
+ "attribute": "icon-name",
123894
+ "inheritedFrom": {
123895
+ "name": "SbbIconNameMixin",
123896
+ "module": "icon/icon-name-mixin.js"
123897
+ }
123898
+ },
123899
+ {
123900
+ "kind": "method",
123901
+ "name": "renderIconSlot",
123902
+ "privacy": "protected",
123903
+ "return": {
123904
+ "type": {
123905
+ "text": "TemplateResult"
123906
+ }
123907
+ },
123908
+ "parameters": [
123909
+ {
123910
+ "name": "classname",
123911
+ "optional": true,
123912
+ "type": {
123913
+ "text": "string"
123914
+ }
123915
+ }
123916
+ ],
123917
+ "inheritedFrom": {
123918
+ "name": "SbbIconNameMixin",
123919
+ "module": "icon/icon-name-mixin.js"
123920
+ }
123921
+ },
123922
+ {
123923
+ "kind": "method",
123924
+ "name": "renderIconName",
123925
+ "privacy": "protected",
123926
+ "return": {
123927
+ "type": {
123928
+ "text": "string"
123929
+ }
123930
+ },
123931
+ "inheritedFrom": {
123932
+ "name": "SbbIconNameMixin",
123933
+ "module": "icon/icon-name-mixin.js"
123934
+ }
123935
+ },
123936
+ {
123937
+ "kind": "method",
123938
+ "name": "_renderIconName",
123939
+ "privacy": "private",
123940
+ "return": {
123941
+ "type": {
123942
+ "text": "string"
123943
+ }
123944
+ },
123945
+ "inheritedFrom": {
123315
123946
  "name": "SbbIconNameMixin",
123316
123947
  "module": "icon/icon-name-mixin.js"
123317
123948
  }
@@ -124074,637 +124705,6 @@
124074
124705
  }
124075
124706
  ]
124076
124707
  },
124077
- {
124078
- "kind": "javascript-module",
124079
- "path": "stepper/stepper/stepper.component.js",
124080
- "declarations": [
124081
- {
124082
- "kind": "class",
124083
- "description": "",
124084
- "name": "SbbStepChangeEvent",
124085
- "members": [
124086
- {
124087
- "kind": "field",
124088
- "name": "selectedIndex",
124089
- "type": {
124090
- "text": "number | null"
124091
- },
124092
- "privacy": "public",
124093
- "readonly": true,
124094
- "description": "The index of the newly selected step.",
124095
- "default": "selectedIndex"
124096
- },
124097
- {
124098
- "kind": "field",
124099
- "name": "previousIndex",
124100
- "type": {
124101
- "text": "number | null"
124102
- },
124103
- "privacy": "public",
124104
- "readonly": true,
124105
- "description": "The index of the previously selected step.",
124106
- "default": "previousIndex"
124107
- },
124108
- {
124109
- "kind": "field",
124110
- "name": "selectedStep",
124111
- "type": {
124112
- "text": "SbbStepElement | null"
124113
- },
124114
- "privacy": "public",
124115
- "readonly": true,
124116
- "description": "The newly selected step element.",
124117
- "default": "selectedStep"
124118
- },
124119
- {
124120
- "kind": "field",
124121
- "name": "previousStep",
124122
- "type": {
124123
- "text": "SbbStepElement | null"
124124
- },
124125
- "privacy": "public",
124126
- "readonly": true,
124127
- "description": "The previously selected step element.",
124128
- "default": "previousStep"
124129
- }
124130
- ],
124131
- "superclass": {
124132
- "name": "Event",
124133
- "module": "stepper/stepper/stepper.component.js"
124134
- }
124135
- },
124136
- {
124137
- "kind": "class",
124138
- "description": "Provides a structured, step-by-step workflow for user interactions.",
124139
- "name": "SbbStepperElement",
124140
- "slots": [
124141
- {
124142
- "description": "Provide a `sbb-expansion-panel-header` and a `sbb-expansion-panel-content` to the stepper.",
124143
- "name": ""
124144
- },
124145
- {
124146
- "description": "Use this slot to provide an `sbb-step-label`.",
124147
- "name": "step-label"
124148
- },
124149
- {
124150
- "description": "Use this slot to provide an `sbb-step`.",
124151
- "name": "step"
124152
- }
124153
- ],
124154
- "members": [
124155
- {
124156
- "kind": "field",
124157
- "name": "elementName",
124158
- "type": {
124159
- "text": "string"
124160
- },
124161
- "privacy": "public",
124162
- "static": true,
124163
- "readonly": true,
124164
- "default": "'sbb-stepper'",
124165
- "inheritedFrom": {
124166
- "name": "SbbElement",
124167
- "module": "core/base-elements/element.js"
124168
- }
124169
- },
124170
- {
124171
- "kind": "field",
124172
- "name": "events",
124173
- "privacy": "public",
124174
- "static": true,
124175
- "readonly": true,
124176
- "default": "{ stepchange: 'stepchange', }",
124177
- "type": {
124178
- "text": "{\n stepchange: 'stepchange',\n }"
124179
- }
124180
- },
124181
- {
124182
- "kind": "field",
124183
- "name": "_observer",
124184
- "privacy": "private",
124185
- "default": "new IntersectionController(this, { target: null, callback: (entries) => { entries.forEach((e) => { if (e.intersectionRatio > 0) { this._setStepperHeight(this.selected); this._setMarkerSize(); } }); }, })",
124186
- "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."
124187
- },
124188
- {
124189
- "kind": "field",
124190
- "name": "linear",
124191
- "type": {
124192
- "text": "boolean"
124193
- },
124194
- "privacy": "public",
124195
- "default": "false",
124196
- "description": "If set to true, only the current and previous labels can be clicked and selected.",
124197
- "attribute": "linear"
124198
- },
124199
- {
124200
- "kind": "field",
124201
- "name": "horizontalFrom",
124202
- "privacy": "public",
124203
- "description": "Overrides the behavior of `orientation` property.",
124204
- "type": {
124205
- "text": "SbbHorizontalFrom | null"
124206
- },
124207
- "attribute": "horizontal-from",
124208
- "reflects": true,
124209
- "default": "null"
124210
- },
124211
- {
124212
- "kind": "field",
124213
- "name": "_horizontalFrom",
124214
- "type": {
124215
- "text": "SbbHorizontalFrom | null"
124216
- },
124217
- "privacy": "private",
124218
- "default": "null"
124219
- },
124220
- {
124221
- "kind": "field",
124222
- "name": "orientation",
124223
- "type": {
124224
- "text": "SbbOrientation"
124225
- },
124226
- "privacy": "public",
124227
- "default": "'horizontal'",
124228
- "description": "Steps orientation, either horizontal or vertical.",
124229
- "attribute": "orientation",
124230
- "reflects": true
124231
- },
124232
- {
124233
- "kind": "field",
124234
- "name": "size",
124235
- "type": {
124236
- "text": "'s' | 'm'"
124237
- },
124238
- "privacy": "public",
124239
- "description": "Size variant, either s or m.",
124240
- "default": "'m' / 's' (lean)",
124241
- "attribute": "size",
124242
- "reflects": true
124243
- },
124244
- {
124245
- "kind": "field",
124246
- "name": "selected",
124247
- "privacy": "public",
124248
- "description": "The currently selected step.",
124249
- "type": {
124250
- "text": "SbbStepElement | null"
124251
- }
124252
- },
124253
- {
124254
- "kind": "field",
124255
- "name": "_requestedSelected",
124256
- "type": {
124257
- "text": "SbbStepElement | null"
124258
- },
124259
- "privacy": "private",
124260
- "default": "null"
124261
- },
124262
- {
124263
- "kind": "field",
124264
- "name": "selectedIndex",
124265
- "privacy": "public",
124266
- "description": "The currently selected step index.",
124267
- "type": {
124268
- "text": "number | null"
124269
- },
124270
- "attribute": "selected-index"
124271
- },
124272
- {
124273
- "kind": "field",
124274
- "name": "_requestedSelectedIndex",
124275
- "type": {
124276
- "text": "number | null"
124277
- },
124278
- "privacy": "private",
124279
- "default": "null"
124280
- },
124281
- {
124282
- "kind": "field",
124283
- "name": "steps",
124284
- "type": {
124285
- "text": "SbbStepElement[]"
124286
- },
124287
- "privacy": "public",
124288
- "description": "The steps of the stepper.",
124289
- "readonly": true
124290
- },
124291
- {
124292
- "kind": "field",
124293
- "name": "_enabledSteps",
124294
- "type": {
124295
- "text": "SbbStepElement[]"
124296
- },
124297
- "privacy": "private",
124298
- "readonly": true
124299
- },
124300
- {
124301
- "kind": "field",
124302
- "name": "_loaded",
124303
- "type": {
124304
- "text": "boolean"
124305
- },
124306
- "privacy": "private",
124307
- "default": "false"
124308
- },
124309
- {
124310
- "kind": "field",
124311
- "name": "_resizeObserverTimeout",
124312
- "type": {
124313
- "text": "ReturnType<typeof setTimeout> | null"
124314
- },
124315
- "privacy": "private",
124316
- "default": "null"
124317
- },
124318
- {
124319
- "kind": "field",
124320
- "name": "_mediaMatcher",
124321
- "privacy": "private",
124322
- "default": "new SbbMediaMatcherController(this, {})"
124323
- },
124324
- {
124325
- "kind": "method",
124326
- "name": "next",
124327
- "privacy": "public",
124328
- "return": {
124329
- "type": {
124330
- "text": "void"
124331
- }
124332
- },
124333
- "description": "Selects the next step."
124334
- },
124335
- {
124336
- "kind": "method",
124337
- "name": "previous",
124338
- "privacy": "public",
124339
- "return": {
124340
- "type": {
124341
- "text": "void"
124342
- }
124343
- },
124344
- "description": "Selects the previous step."
124345
- },
124346
- {
124347
- "kind": "method",
124348
- "name": "reset",
124349
- "privacy": "public",
124350
- "return": {
124351
- "type": {
124352
- "text": "void"
124353
- }
124354
- },
124355
- "description": "Resets the form in which the stepper is nested or every form of each step, if any."
124356
- },
124357
- {
124358
- "kind": "method",
124359
- "name": "_isSelectable",
124360
- "privacy": "private",
124361
- "return": {
124362
- "type": {
124363
- "text": "step is SbbStepElement"
124364
- }
124365
- },
124366
- "parameters": [
124367
- {
124368
- "name": "step",
124369
- "type": {
124370
- "text": "SbbStepElement | null"
124371
- }
124372
- }
124373
- ]
124374
- },
124375
- {
124376
- "kind": "method",
124377
- "name": "_select",
124378
- "privacy": "private",
124379
- "return": {
124380
- "type": {
124381
- "text": "void"
124382
- }
124383
- },
124384
- "parameters": [
124385
- {
124386
- "name": "step",
124387
- "type": {
124388
- "text": "SbbStepElement | null"
124389
- }
124390
- }
124391
- ]
124392
- },
124393
- {
124394
- "kind": "method",
124395
- "name": "_setMarkerSize",
124396
- "privacy": "private",
124397
- "return": {
124398
- "type": {
124399
- "text": "void"
124400
- }
124401
- }
124402
- },
124403
- {
124404
- "kind": "method",
124405
- "name": "_setStepperHeight",
124406
- "privacy": "private",
124407
- "return": {
124408
- "type": {
124409
- "text": "void"
124410
- }
124411
- },
124412
- "parameters": [
124413
- {
124414
- "name": "step",
124415
- "type": {
124416
- "text": "SbbStepElement | null"
124417
- }
124418
- }
124419
- ],
124420
- "description": "Sets the stepper height based on the height of the provided step."
124421
- },
124422
- {
124423
- "kind": "method",
124424
- "name": "_calculateLabelOffsetTop",
124425
- "privacy": "private",
124426
- "return": {
124427
- "type": {
124428
- "text": "number | undefined"
124429
- }
124430
- }
124431
- },
124432
- {
124433
- "kind": "method",
124434
- "name": "_onSelectedStepResize",
124435
- "privacy": "private",
124436
- "return": {
124437
- "type": {
124438
- "text": "void"
124439
- }
124440
- },
124441
- "parameters": [
124442
- {
124443
- "name": "e",
124444
- "type": {
124445
- "text": "Event"
124446
- }
124447
- }
124448
- ]
124449
- },
124450
- {
124451
- "kind": "method",
124452
- "name": "_configure",
124453
- "privacy": "private",
124454
- "return": {
124455
- "type": {
124456
- "text": "void"
124457
- }
124458
- }
124459
- },
124460
- {
124461
- "kind": "method",
124462
- "name": "_updateLabels",
124463
- "privacy": "private",
124464
- "return": {
124465
- "type": {
124466
- "text": "void"
124467
- }
124468
- }
124469
- },
124470
- {
124471
- "kind": "method",
124472
- "name": "_checkOrientation",
124473
- "privacy": "private",
124474
- "return": {
124475
- "type": {
124476
- "text": "void"
124477
- }
124478
- }
124479
- },
124480
- {
124481
- "kind": "field",
124482
- "name": "_onStepperResize",
124483
- "privacy": "private"
124484
- },
124485
- {
124486
- "kind": "method",
124487
- "name": "_configureLinearMode",
124488
- "privacy": "private",
124489
- "return": {
124490
- "type": {
124491
- "text": "void"
124492
- }
124493
- }
124494
- },
124495
- {
124496
- "kind": "method",
124497
- "name": "_handleKeyDown",
124498
- "privacy": "private",
124499
- "return": {
124500
- "type": {
124501
- "text": "void"
124502
- }
124503
- },
124504
- "parameters": [
124505
- {
124506
- "name": "evt",
124507
- "type": {
124508
- "text": "KeyboardEvent"
124509
- }
124510
- }
124511
- ]
124512
- },
124513
- {
124514
- "kind": "field",
124515
- "name": "_hydrationRequired",
124516
- "type": {
124517
- "text": "boolean"
124518
- },
124519
- "privacy": "private",
124520
- "default": "!!this.shadowRoot",
124521
- "inheritedFrom": {
124522
- "name": "SbbElement",
124523
- "module": "core/base-elements/element.js"
124524
- }
124525
- },
124526
- {
124527
- "kind": "field",
124528
- "name": "_hydrationComplete",
124529
- "privacy": "private",
124530
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
124531
- "inheritedFrom": {
124532
- "name": "SbbElement",
124533
- "module": "core/base-elements/element.js"
124534
- }
124535
- },
124536
- {
124537
- "kind": "field",
124538
- "name": "_resolveHydration",
124539
- "type": {
124540
- "text": "(hydrationRequired: boolean) => void"
124541
- },
124542
- "privacy": "private",
124543
- "inheritedFrom": {
124544
- "name": "SbbElement",
124545
- "module": "core/base-elements/element.js"
124546
- }
124547
- },
124548
- {
124549
- "kind": "field",
124550
- "name": "hydrationRequired",
124551
- "type": {
124552
- "text": "boolean"
124553
- },
124554
- "privacy": "protected",
124555
- "description": "Returns whether hydration is required and not completed.",
124556
- "readonly": true,
124557
- "inheritedFrom": {
124558
- "name": "SbbElement",
124559
- "module": "core/base-elements/element.js"
124560
- },
124561
- "default": "!!this.shadowRoot"
124562
- },
124563
- {
124564
- "kind": "method",
124565
- "name": "toggleState",
124566
- "privacy": "protected",
124567
- "return": {
124568
- "type": {
124569
- "text": "void"
124570
- }
124571
- },
124572
- "parameters": [
124573
- {
124574
- "name": "value",
124575
- "type": {
124576
- "text": "string"
124577
- }
124578
- },
124579
- {
124580
- "name": "force",
124581
- "optional": true,
124582
- "type": {
124583
- "text": "boolean"
124584
- }
124585
- }
124586
- ],
124587
- "inheritedFrom": {
124588
- "name": "SbbElement",
124589
- "module": "core/base-elements/element.js"
124590
- }
124591
- },
124592
- {
124593
- "kind": "field",
124594
- "name": "['_$sbbElement$']",
124595
- "type": {
124596
- "text": "boolean"
124597
- },
124598
- "privacy": "public",
124599
- "static": true,
124600
- "default": "true",
124601
- "inheritedFrom": {
124602
- "name": "SbbElement",
124603
- "module": "core/base-elements/element.js"
124604
- }
124605
- },
124606
- {
124607
- "kind": "field",
124608
- "name": "_controllers",
124609
- "type": {
124610
- "text": "Set<SbbReactiveController> | undefined"
124611
- },
124612
- "privacy": "private",
124613
- "inheritedFrom": {
124614
- "name": "SbbElement",
124615
- "module": "core/base-elements/element.js"
124616
- }
124617
- }
124618
- ],
124619
- "events": [
124620
- {
124621
- "type": {
124622
- "text": "SbbStepChangeEvent"
124623
- },
124624
- "description": "Emits whenever a step was changed.",
124625
- "name": "stepchange"
124626
- }
124627
- ],
124628
- "attributes": [
124629
- {
124630
- "name": "linear",
124631
- "type": {
124632
- "text": "boolean"
124633
- },
124634
- "default": "false",
124635
- "description": "If set to true, only the current and previous labels can be clicked and selected.",
124636
- "fieldName": "linear"
124637
- },
124638
- {
124639
- "name": "horizontal-from",
124640
- "description": "Overrides the behavior of `orientation` property.",
124641
- "type": {
124642
- "text": "SbbHorizontalFrom | null"
124643
- },
124644
- "fieldName": "horizontalFrom"
124645
- },
124646
- {
124647
- "name": "orientation",
124648
- "type": {
124649
- "text": "SbbOrientation"
124650
- },
124651
- "default": "'horizontal'",
124652
- "description": "Steps orientation, either horizontal or vertical.",
124653
- "fieldName": "orientation"
124654
- },
124655
- {
124656
- "name": "size",
124657
- "type": {
124658
- "text": "'s' | 'm'"
124659
- },
124660
- "description": "Size variant, either s or m.",
124661
- "default": "'m' / 's' (lean)",
124662
- "fieldName": "size"
124663
- },
124664
- {
124665
- "name": "selected-index",
124666
- "description": "The currently selected step index.",
124667
- "type": {
124668
- "text": "number | null"
124669
- },
124670
- "fieldName": "selectedIndex"
124671
- }
124672
- ],
124673
- "superclass": {
124674
- "name": "SbbElement",
124675
- "module": "core/base-elements.js"
124676
- },
124677
- "tagName": "sbb-stepper",
124678
- "customElement": true
124679
- },
124680
- {
124681
- "kind": "variable",
124682
- "name": "currentIndex"
124683
- },
124684
- {
124685
- "kind": "variable",
124686
- "name": "currentStep"
124687
- }
124688
- ],
124689
- "exports": [
124690
- {
124691
- "kind": "js",
124692
- "name": "SbbStepChangeEvent",
124693
- "declaration": {
124694
- "name": "SbbStepChangeEvent",
124695
- "module": "stepper/stepper/stepper.component.js"
124696
- }
124697
- },
124698
- {
124699
- "kind": "js",
124700
- "name": "SbbStepperElement",
124701
- "declaration": {
124702
- "name": "SbbStepperElement",
124703
- "module": "stepper/stepper/stepper.component.js"
124704
- }
124705
- }
124706
- ]
124707
- },
124708
124708
  {
124709
124709
  "kind": "javascript-module",
124710
124710
  "path": "table/table-wrapper/table-wrapper.component.js",