@sbb-esta/lyne-elements-dev 4.13.0-dev.1780381701 → 4.13.0-dev.1780408668

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/custom-elements.json +676 -676
  2. package/package.json +2 -2
@@ -60763,6 +60763,240 @@
60763
60763
  }
60764
60764
  ]
60765
60765
  },
60766
+ {
60767
+ "kind": "javascript-module",
60768
+ "path": "container/container/container.component.js",
60769
+ "declarations": [
60770
+ {
60771
+ "kind": "class",
60772
+ "description": "It displays its content with the default page spacing.",
60773
+ "name": "SbbContainerElement",
60774
+ "cssProperties": [
60775
+ {
60776
+ "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
60777
+ "name": "--sbb-page-spacing-padding"
60778
+ }
60779
+ ],
60780
+ "slots": [
60781
+ {
60782
+ "description": "Use the unnamed slot to add anything to the container.",
60783
+ "name": ""
60784
+ },
60785
+ {
60786
+ "description": "The slot used by the sbb-sticky-bar component.",
60787
+ "name": "sticky-bar"
60788
+ },
60789
+ {
60790
+ "description": "The slot used to slot an `sbb-image` to use as background.",
60791
+ "name": "image"
60792
+ }
60793
+ ],
60794
+ "members": [
60795
+ {
60796
+ "kind": "field",
60797
+ "name": "elementName",
60798
+ "type": {
60799
+ "text": "string"
60800
+ },
60801
+ "privacy": "public",
60802
+ "static": true,
60803
+ "readonly": true,
60804
+ "default": "'sbb-container'",
60805
+ "inheritedFrom": {
60806
+ "name": "SbbElement",
60807
+ "module": "core/base-elements/element.js"
60808
+ }
60809
+ },
60810
+ {
60811
+ "kind": "field",
60812
+ "name": "expanded",
60813
+ "type": {
60814
+ "text": "boolean"
60815
+ },
60816
+ "privacy": "public",
60817
+ "default": "false",
60818
+ "description": "Whether the container is expanded.",
60819
+ "attribute": "expanded",
60820
+ "reflects": true
60821
+ },
60822
+ {
60823
+ "kind": "field",
60824
+ "name": "backgroundExpanded",
60825
+ "type": {
60826
+ "text": "boolean"
60827
+ },
60828
+ "privacy": "public",
60829
+ "default": "false",
60830
+ "description": "Whether the background color is shown on full container width on large screens.",
60831
+ "attribute": "background-expanded",
60832
+ "reflects": true
60833
+ },
60834
+ {
60835
+ "kind": "field",
60836
+ "name": "color",
60837
+ "type": {
60838
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60839
+ },
60840
+ "privacy": "public",
60841
+ "default": "'white'",
60842
+ "description": "Color of the container, like transparent, white etc.",
60843
+ "attribute": "color",
60844
+ "reflects": true
60845
+ },
60846
+ {
60847
+ "kind": "field",
60848
+ "name": "_hydrationRequired",
60849
+ "type": {
60850
+ "text": "boolean"
60851
+ },
60852
+ "privacy": "private",
60853
+ "default": "!!this.shadowRoot",
60854
+ "inheritedFrom": {
60855
+ "name": "SbbHydrationMixin",
60856
+ "module": "core/mixins/hydration-mixin.js"
60857
+ }
60858
+ },
60859
+ {
60860
+ "kind": "field",
60861
+ "name": "_hydrationComplete",
60862
+ "privacy": "private",
60863
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
60864
+ "inheritedFrom": {
60865
+ "name": "SbbHydrationMixin",
60866
+ "module": "core/mixins/hydration-mixin.js"
60867
+ }
60868
+ },
60869
+ {
60870
+ "kind": "field",
60871
+ "name": "_resolveHydration",
60872
+ "type": {
60873
+ "text": "(hydrationRequired: boolean) => void"
60874
+ },
60875
+ "privacy": "private",
60876
+ "inheritedFrom": {
60877
+ "name": "SbbHydrationMixin",
60878
+ "module": "core/mixins/hydration-mixin.js"
60879
+ }
60880
+ },
60881
+ {
60882
+ "kind": "field",
60883
+ "name": "hydrationRequired",
60884
+ "type": {
60885
+ "text": "boolean"
60886
+ },
60887
+ "privacy": "protected",
60888
+ "description": "Returns whether hydration is required and not completed.",
60889
+ "readonly": true,
60890
+ "inheritedFrom": {
60891
+ "name": "SbbHydrationMixin",
60892
+ "module": "core/mixins/hydration-mixin.js"
60893
+ },
60894
+ "default": "!!this.shadowRoot"
60895
+ },
60896
+ {
60897
+ "kind": "method",
60898
+ "name": "toggleState",
60899
+ "privacy": "protected",
60900
+ "return": {
60901
+ "type": {
60902
+ "text": "void"
60903
+ }
60904
+ },
60905
+ "parameters": [
60906
+ {
60907
+ "name": "value",
60908
+ "type": {
60909
+ "text": "string"
60910
+ }
60911
+ },
60912
+ {
60913
+ "name": "force",
60914
+ "optional": true,
60915
+ "type": {
60916
+ "text": "boolean"
60917
+ }
60918
+ }
60919
+ ],
60920
+ "inheritedFrom": {
60921
+ "name": "SbbElementInternalsMixin",
60922
+ "module": "core/mixins/element-internals-mixin.js"
60923
+ }
60924
+ },
60925
+ {
60926
+ "kind": "field",
60927
+ "name": "['_$sbbElement$']",
60928
+ "type": {
60929
+ "text": "boolean"
60930
+ },
60931
+ "privacy": "public",
60932
+ "static": true,
60933
+ "default": "true",
60934
+ "inheritedFrom": {
60935
+ "name": "SbbElement",
60936
+ "module": "core/base-elements/element.js"
60937
+ }
60938
+ },
60939
+ {
60940
+ "kind": "field",
60941
+ "name": "_controllers",
60942
+ "type": {
60943
+ "text": "Set<SbbReactiveController> | undefined"
60944
+ },
60945
+ "privacy": "private",
60946
+ "inheritedFrom": {
60947
+ "name": "SbbElement",
60948
+ "module": "core/base-elements/element.js"
60949
+ }
60950
+ }
60951
+ ],
60952
+ "attributes": [
60953
+ {
60954
+ "name": "expanded",
60955
+ "type": {
60956
+ "text": "boolean"
60957
+ },
60958
+ "default": "false",
60959
+ "description": "Whether the container is expanded.",
60960
+ "fieldName": "expanded"
60961
+ },
60962
+ {
60963
+ "name": "background-expanded",
60964
+ "type": {
60965
+ "text": "boolean"
60966
+ },
60967
+ "default": "false",
60968
+ "description": "Whether the background color is shown on full container width on large screens.",
60969
+ "fieldName": "backgroundExpanded"
60970
+ },
60971
+ {
60972
+ "name": "color",
60973
+ "type": {
60974
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60975
+ },
60976
+ "default": "'white'",
60977
+ "description": "Color of the container, like transparent, white etc.",
60978
+ "fieldName": "color"
60979
+ }
60980
+ ],
60981
+ "superclass": {
60982
+ "name": "SbbElement",
60983
+ "module": "core/base-elements.js"
60984
+ },
60985
+ "tagName": "sbb-container",
60986
+ "customElement": true
60987
+ }
60988
+ ],
60989
+ "exports": [
60990
+ {
60991
+ "kind": "js",
60992
+ "name": "SbbContainerElement",
60993
+ "declaration": {
60994
+ "name": "SbbContainerElement",
60995
+ "module": "container/container/container.component.js"
60996
+ }
60997
+ }
60998
+ ]
60999
+ },
60766
61000
  {
60767
61001
  "kind": "javascript-module",
60768
61002
  "path": "container/sticky-bar/sticky-bar.component.js",
@@ -61225,240 +61459,6 @@
61225
61459
  }
61226
61460
  ]
61227
61461
  },
61228
- {
61229
- "kind": "javascript-module",
61230
- "path": "container/container/container.component.js",
61231
- "declarations": [
61232
- {
61233
- "kind": "class",
61234
- "description": "It displays its content with the default page spacing.",
61235
- "name": "SbbContainerElement",
61236
- "cssProperties": [
61237
- {
61238
- "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
61239
- "name": "--sbb-page-spacing-padding"
61240
- }
61241
- ],
61242
- "slots": [
61243
- {
61244
- "description": "Use the unnamed slot to add anything to the container.",
61245
- "name": ""
61246
- },
61247
- {
61248
- "description": "The slot used by the sbb-sticky-bar component.",
61249
- "name": "sticky-bar"
61250
- },
61251
- {
61252
- "description": "The slot used to slot an `sbb-image` to use as background.",
61253
- "name": "image"
61254
- }
61255
- ],
61256
- "members": [
61257
- {
61258
- "kind": "field",
61259
- "name": "elementName",
61260
- "type": {
61261
- "text": "string"
61262
- },
61263
- "privacy": "public",
61264
- "static": true,
61265
- "readonly": true,
61266
- "default": "'sbb-container'",
61267
- "inheritedFrom": {
61268
- "name": "SbbElement",
61269
- "module": "core/base-elements/element.js"
61270
- }
61271
- },
61272
- {
61273
- "kind": "field",
61274
- "name": "expanded",
61275
- "type": {
61276
- "text": "boolean"
61277
- },
61278
- "privacy": "public",
61279
- "default": "false",
61280
- "description": "Whether the container is expanded.",
61281
- "attribute": "expanded",
61282
- "reflects": true
61283
- },
61284
- {
61285
- "kind": "field",
61286
- "name": "backgroundExpanded",
61287
- "type": {
61288
- "text": "boolean"
61289
- },
61290
- "privacy": "public",
61291
- "default": "false",
61292
- "description": "Whether the background color is shown on full container width on large screens.",
61293
- "attribute": "background-expanded",
61294
- "reflects": true
61295
- },
61296
- {
61297
- "kind": "field",
61298
- "name": "color",
61299
- "type": {
61300
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
61301
- },
61302
- "privacy": "public",
61303
- "default": "'white'",
61304
- "description": "Color of the container, like transparent, white etc.",
61305
- "attribute": "color",
61306
- "reflects": true
61307
- },
61308
- {
61309
- "kind": "field",
61310
- "name": "_hydrationRequired",
61311
- "type": {
61312
- "text": "boolean"
61313
- },
61314
- "privacy": "private",
61315
- "default": "!!this.shadowRoot",
61316
- "inheritedFrom": {
61317
- "name": "SbbHydrationMixin",
61318
- "module": "core/mixins/hydration-mixin.js"
61319
- }
61320
- },
61321
- {
61322
- "kind": "field",
61323
- "name": "_hydrationComplete",
61324
- "privacy": "private",
61325
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
61326
- "inheritedFrom": {
61327
- "name": "SbbHydrationMixin",
61328
- "module": "core/mixins/hydration-mixin.js"
61329
- }
61330
- },
61331
- {
61332
- "kind": "field",
61333
- "name": "_resolveHydration",
61334
- "type": {
61335
- "text": "(hydrationRequired: boolean) => void"
61336
- },
61337
- "privacy": "private",
61338
- "inheritedFrom": {
61339
- "name": "SbbHydrationMixin",
61340
- "module": "core/mixins/hydration-mixin.js"
61341
- }
61342
- },
61343
- {
61344
- "kind": "field",
61345
- "name": "hydrationRequired",
61346
- "type": {
61347
- "text": "boolean"
61348
- },
61349
- "privacy": "protected",
61350
- "description": "Returns whether hydration is required and not completed.",
61351
- "readonly": true,
61352
- "inheritedFrom": {
61353
- "name": "SbbHydrationMixin",
61354
- "module": "core/mixins/hydration-mixin.js"
61355
- },
61356
- "default": "!!this.shadowRoot"
61357
- },
61358
- {
61359
- "kind": "method",
61360
- "name": "toggleState",
61361
- "privacy": "protected",
61362
- "return": {
61363
- "type": {
61364
- "text": "void"
61365
- }
61366
- },
61367
- "parameters": [
61368
- {
61369
- "name": "value",
61370
- "type": {
61371
- "text": "string"
61372
- }
61373
- },
61374
- {
61375
- "name": "force",
61376
- "optional": true,
61377
- "type": {
61378
- "text": "boolean"
61379
- }
61380
- }
61381
- ],
61382
- "inheritedFrom": {
61383
- "name": "SbbElementInternalsMixin",
61384
- "module": "core/mixins/element-internals-mixin.js"
61385
- }
61386
- },
61387
- {
61388
- "kind": "field",
61389
- "name": "['_$sbbElement$']",
61390
- "type": {
61391
- "text": "boolean"
61392
- },
61393
- "privacy": "public",
61394
- "static": true,
61395
- "default": "true",
61396
- "inheritedFrom": {
61397
- "name": "SbbElement",
61398
- "module": "core/base-elements/element.js"
61399
- }
61400
- },
61401
- {
61402
- "kind": "field",
61403
- "name": "_controllers",
61404
- "type": {
61405
- "text": "Set<SbbReactiveController> | undefined"
61406
- },
61407
- "privacy": "private",
61408
- "inheritedFrom": {
61409
- "name": "SbbElement",
61410
- "module": "core/base-elements/element.js"
61411
- }
61412
- }
61413
- ],
61414
- "attributes": [
61415
- {
61416
- "name": "expanded",
61417
- "type": {
61418
- "text": "boolean"
61419
- },
61420
- "default": "false",
61421
- "description": "Whether the container is expanded.",
61422
- "fieldName": "expanded"
61423
- },
61424
- {
61425
- "name": "background-expanded",
61426
- "type": {
61427
- "text": "boolean"
61428
- },
61429
- "default": "false",
61430
- "description": "Whether the background color is shown on full container width on large screens.",
61431
- "fieldName": "backgroundExpanded"
61432
- },
61433
- {
61434
- "name": "color",
61435
- "type": {
61436
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
61437
- },
61438
- "default": "'white'",
61439
- "description": "Color of the container, like transparent, white etc.",
61440
- "fieldName": "color"
61441
- }
61442
- ],
61443
- "superclass": {
61444
- "name": "SbbElement",
61445
- "module": "core/base-elements.js"
61446
- },
61447
- "tagName": "sbb-container",
61448
- "customElement": true
61449
- }
61450
- ],
61451
- "exports": [
61452
- {
61453
- "kind": "js",
61454
- "name": "SbbContainerElement",
61455
- "declaration": {
61456
- "name": "SbbContainerElement",
61457
- "module": "container/container/container.component.js"
61458
- }
61459
- }
61460
- ]
61461
- },
61462
61462
  {
61463
61463
  "kind": "javascript-module",
61464
61464
  "path": "core/a11y/arrow-navigation.js",
@@ -81320,12 +81320,12 @@
81320
81320
  },
81321
81321
  {
81322
81322
  "kind": "javascript-module",
81323
- "path": "datepicker/datepicker-next-day/datepicker-next-day.component.js",
81323
+ "path": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js",
81324
81324
  "declarations": [
81325
81325
  {
81326
81326
  "kind": "class",
81327
- "description": "Combined with a `sbb-datepicker`, it can be used to move the date ahead.",
81328
- "name": "SbbDatepickerNextDayElement",
81327
+ "description": "Combined with a `sbb-datepicker`, it can be used to move the date back.",
81328
+ "name": "SbbDatepickerPreviousDayElement",
81329
81329
  "members": [
81330
81330
  {
81331
81331
  "kind": "field",
@@ -81340,7 +81340,7 @@
81340
81340
  "name": "SbbElement",
81341
81341
  "module": "core/base-elements/element.js"
81342
81342
  },
81343
- "default": "'sbb-datepicker-next-day'"
81343
+ "default": "'sbb-datepicker-previous-day'"
81344
81344
  },
81345
81345
  {
81346
81346
  "kind": "field",
@@ -81353,7 +81353,7 @@
81353
81353
  "name": "SbbDatepickerButtonBase",
81354
81354
  "module": "datepicker/common/datepicker-button.js"
81355
81355
  },
81356
- "default": "'chevron-small-right-small'"
81356
+ "default": "'chevron-small-left-small'"
81357
81357
  },
81358
81358
  {
81359
81359
  "kind": "field",
@@ -81362,7 +81362,7 @@
81362
81362
  "text": "Record<string, string>"
81363
81363
  },
81364
81364
  "privacy": "protected",
81365
- "default": "i18nNextDay",
81365
+ "default": "i18nPreviousDay",
81366
81366
  "inheritedFrom": {
81367
81367
  "name": "SbbDatepickerButton",
81368
81368
  "module": "datepicker/common/datepicker-button.js"
@@ -81375,7 +81375,7 @@
81375
81375
  "text": "(_currentDate: string) => Record<string, string>"
81376
81376
  },
81377
81377
  "privacy": "protected",
81378
- "default": "i18nSelectNextDay",
81378
+ "default": "i18nSelectPreviousDay",
81379
81379
  "inheritedFrom": {
81380
81380
  "name": "SbbDatepickerButton",
81381
81381
  "module": "datepicker/common/datepicker-button.js"
@@ -81405,7 +81405,7 @@
81405
81405
  },
81406
81406
  {
81407
81407
  "kind": "method",
81408
- "name": "_isAfterMaxDate",
81408
+ "name": "_isBeforeMinDate",
81409
81409
  "privacy": "private",
81410
81410
  "return": {
81411
81411
  "type": {
@@ -82265,7 +82265,7 @@
82265
82265
  "name": "SbbDatepickerButton",
82266
82266
  "module": "datepicker/common/datepicker-button.js"
82267
82267
  },
82268
- "tagName": "sbb-datepicker-next-day",
82268
+ "tagName": "sbb-datepicker-previous-day",
82269
82269
  "customElement": true,
82270
82270
  "classGenerics": "T = Date",
82271
82271
  "attributes": [
@@ -82375,22 +82375,22 @@
82375
82375
  "exports": [
82376
82376
  {
82377
82377
  "kind": "js",
82378
- "name": "SbbDatepickerNextDayElement",
82378
+ "name": "SbbDatepickerPreviousDayElement",
82379
82379
  "declaration": {
82380
- "name": "SbbDatepickerNextDayElement",
82381
- "module": "datepicker/datepicker-next-day/datepicker-next-day.component.js"
82380
+ "name": "SbbDatepickerPreviousDayElement",
82381
+ "module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
82382
82382
  }
82383
82383
  }
82384
82384
  ]
82385
82385
  },
82386
82386
  {
82387
82387
  "kind": "javascript-module",
82388
- "path": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js",
82388
+ "path": "datepicker/datepicker-next-day/datepicker-next-day.component.js",
82389
82389
  "declarations": [
82390
82390
  {
82391
82391
  "kind": "class",
82392
- "description": "Combined with a `sbb-datepicker`, it can be used to move the date back.",
82393
- "name": "SbbDatepickerPreviousDayElement",
82392
+ "description": "Combined with a `sbb-datepicker`, it can be used to move the date ahead.",
82393
+ "name": "SbbDatepickerNextDayElement",
82394
82394
  "members": [
82395
82395
  {
82396
82396
  "kind": "field",
@@ -82405,7 +82405,7 @@
82405
82405
  "name": "SbbElement",
82406
82406
  "module": "core/base-elements/element.js"
82407
82407
  },
82408
- "default": "'sbb-datepicker-previous-day'"
82408
+ "default": "'sbb-datepicker-next-day'"
82409
82409
  },
82410
82410
  {
82411
82411
  "kind": "field",
@@ -82418,7 +82418,7 @@
82418
82418
  "name": "SbbDatepickerButtonBase",
82419
82419
  "module": "datepicker/common/datepicker-button.js"
82420
82420
  },
82421
- "default": "'chevron-small-left-small'"
82421
+ "default": "'chevron-small-right-small'"
82422
82422
  },
82423
82423
  {
82424
82424
  "kind": "field",
@@ -82427,7 +82427,7 @@
82427
82427
  "text": "Record<string, string>"
82428
82428
  },
82429
82429
  "privacy": "protected",
82430
- "default": "i18nPreviousDay",
82430
+ "default": "i18nNextDay",
82431
82431
  "inheritedFrom": {
82432
82432
  "name": "SbbDatepickerButton",
82433
82433
  "module": "datepicker/common/datepicker-button.js"
@@ -82440,7 +82440,7 @@
82440
82440
  "text": "(_currentDate: string) => Record<string, string>"
82441
82441
  },
82442
82442
  "privacy": "protected",
82443
- "default": "i18nSelectPreviousDay",
82443
+ "default": "i18nSelectNextDay",
82444
82444
  "inheritedFrom": {
82445
82445
  "name": "SbbDatepickerButton",
82446
82446
  "module": "datepicker/common/datepicker-button.js"
@@ -82470,7 +82470,7 @@
82470
82470
  },
82471
82471
  {
82472
82472
  "kind": "method",
82473
- "name": "_isBeforeMinDate",
82473
+ "name": "_isAfterMaxDate",
82474
82474
  "privacy": "private",
82475
82475
  "return": {
82476
82476
  "type": {
@@ -83330,7 +83330,7 @@
83330
83330
  "name": "SbbDatepickerButton",
83331
83331
  "module": "datepicker/common/datepicker-button.js"
83332
83332
  },
83333
- "tagName": "sbb-datepicker-previous-day",
83333
+ "tagName": "sbb-datepicker-next-day",
83334
83334
  "customElement": true,
83335
83335
  "classGenerics": "T = Date",
83336
83336
  "attributes": [
@@ -83440,10 +83440,10 @@
83440
83440
  "exports": [
83441
83441
  {
83442
83442
  "kind": "js",
83443
- "name": "SbbDatepickerPreviousDayElement",
83443
+ "name": "SbbDatepickerNextDayElement",
83444
83444
  "declaration": {
83445
- "name": "SbbDatepickerPreviousDayElement",
83446
- "module": "datepicker/datepicker-previous-day/datepicker-previous-day.component.js"
83445
+ "name": "SbbDatepickerNextDayElement",
83446
+ "module": "datepicker/datepicker-next-day/datepicker-next-day.component.js"
83447
83447
  }
83448
83448
  }
83449
83449
  ]
@@ -131408,6 +131408,424 @@
131408
131408
  }
131409
131409
  ]
131410
131410
  },
131411
+ {
131412
+ "kind": "javascript-module",
131413
+ "path": "toggle/toggle-option/toggle-option.component.js",
131414
+ "declarations": [
131415
+ {
131416
+ "kind": "class",
131417
+ "description": "It displays a toggle option within a `sbb-toggle`.",
131418
+ "name": "SbbToggleOptionElement",
131419
+ "slots": [
131420
+ {
131421
+ "description": "Use the unnamed slot to add content to the label of the toggle option.",
131422
+ "name": ""
131423
+ },
131424
+ {
131425
+ "description": "Slot used to render the `sbb-icon`.",
131426
+ "name": "icon"
131427
+ }
131428
+ ],
131429
+ "members": [
131430
+ {
131431
+ "kind": "field",
131432
+ "name": "elementName",
131433
+ "type": {
131434
+ "text": "string"
131435
+ },
131436
+ "privacy": "public",
131437
+ "static": true,
131438
+ "readonly": true,
131439
+ "default": "'sbb-toggle-option'",
131440
+ "inheritedFrom": {
131441
+ "name": "SbbElement",
131442
+ "module": "core/base-elements/element.js"
131443
+ }
131444
+ },
131445
+ {
131446
+ "kind": "field",
131447
+ "name": "role",
131448
+ "type": {
131449
+ "text": "string"
131450
+ },
131451
+ "privacy": "public",
131452
+ "static": true,
131453
+ "readonly": true,
131454
+ "default": "'radio'"
131455
+ },
131456
+ {
131457
+ "kind": "field",
131458
+ "name": "checked",
131459
+ "type": {
131460
+ "text": "boolean"
131461
+ },
131462
+ "privacy": "public",
131463
+ "default": "false",
131464
+ "description": "Whether the toggle-option is checked.",
131465
+ "attribute": "checked",
131466
+ "reflects": true
131467
+ },
131468
+ {
131469
+ "kind": "field",
131470
+ "name": "value",
131471
+ "type": {
131472
+ "text": "(T = string) | null"
131473
+ },
131474
+ "privacy": "public",
131475
+ "default": "null",
131476
+ "description": "Value of toggle-option.",
131477
+ "attribute": "value"
131478
+ },
131479
+ {
131480
+ "kind": "field",
131481
+ "name": "_toggle",
131482
+ "type": {
131483
+ "text": "SbbToggleElement | null"
131484
+ },
131485
+ "privacy": "private",
131486
+ "default": "null"
131487
+ },
131488
+ {
131489
+ "kind": "method",
131490
+ "name": "_uncheckOtherOptions",
131491
+ "privacy": "private",
131492
+ "return": {
131493
+ "type": {
131494
+ "text": "void"
131495
+ }
131496
+ }
131497
+ },
131498
+ {
131499
+ "kind": "method",
131500
+ "name": "_handleDisabledChange",
131501
+ "privacy": "private",
131502
+ "return": {
131503
+ "type": {
131504
+ "text": "void"
131505
+ }
131506
+ }
131507
+ },
131508
+ {
131509
+ "kind": "method",
131510
+ "name": "_handleInput",
131511
+ "privacy": "private",
131512
+ "return": {
131513
+ "type": {
131514
+ "text": "void"
131515
+ }
131516
+ }
131517
+ },
131518
+ {
131519
+ "kind": "method",
131520
+ "name": "_verifyTabindex",
131521
+ "privacy": "private",
131522
+ "return": {
131523
+ "type": {
131524
+ "text": "void"
131525
+ }
131526
+ }
131527
+ },
131528
+ {
131529
+ "kind": "field",
131530
+ "name": "disabled",
131531
+ "privacy": "public",
131532
+ "description": "Whether the component is disabled.",
131533
+ "default": "false",
131534
+ "type": {
131535
+ "text": "boolean"
131536
+ },
131537
+ "attribute": "disabled",
131538
+ "reflects": true,
131539
+ "inheritedFrom": {
131540
+ "name": "SbbDisabledMixin",
131541
+ "module": "core/mixins/disabled-mixin.js"
131542
+ }
131543
+ },
131544
+ {
131545
+ "kind": "field",
131546
+ "name": "#disabled",
131547
+ "privacy": "private",
131548
+ "type": {
131549
+ "text": "boolean"
131550
+ },
131551
+ "default": "false",
131552
+ "inheritedFrom": {
131553
+ "name": "SbbDisabledMixin",
131554
+ "module": "core/mixins/disabled-mixin.js"
131555
+ }
131556
+ },
131557
+ {
131558
+ "kind": "method",
131559
+ "name": "isDisabledExternally",
131560
+ "privacy": "protected",
131561
+ "return": {
131562
+ "type": {
131563
+ "text": "boolean"
131564
+ }
131565
+ },
131566
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
131567
+ "inheritedFrom": {
131568
+ "name": "SbbDisabledMixin",
131569
+ "module": "core/mixins/disabled-mixin.js"
131570
+ }
131571
+ },
131572
+ {
131573
+ "kind": "field",
131574
+ "name": "iconName",
131575
+ "type": {
131576
+ "text": "string"
131577
+ },
131578
+ "privacy": "public",
131579
+ "default": "''",
131580
+ "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.",
131581
+ "attribute": "icon-name",
131582
+ "inheritedFrom": {
131583
+ "name": "SbbIconNameMixin",
131584
+ "module": "icon/icon-name-mixin.js"
131585
+ }
131586
+ },
131587
+ {
131588
+ "kind": "method",
131589
+ "name": "renderIconSlot",
131590
+ "privacy": "protected",
131591
+ "return": {
131592
+ "type": {
131593
+ "text": "TemplateResult"
131594
+ }
131595
+ },
131596
+ "parameters": [
131597
+ {
131598
+ "name": "classname",
131599
+ "optional": true,
131600
+ "type": {
131601
+ "text": "string"
131602
+ }
131603
+ }
131604
+ ],
131605
+ "inheritedFrom": {
131606
+ "name": "SbbIconNameMixin",
131607
+ "module": "icon/icon-name-mixin.js"
131608
+ }
131609
+ },
131610
+ {
131611
+ "kind": "method",
131612
+ "name": "renderIconName",
131613
+ "privacy": "protected",
131614
+ "return": {
131615
+ "type": {
131616
+ "text": "string"
131617
+ }
131618
+ },
131619
+ "inheritedFrom": {
131620
+ "name": "SbbIconNameMixin",
131621
+ "module": "icon/icon-name-mixin.js"
131622
+ }
131623
+ },
131624
+ {
131625
+ "kind": "method",
131626
+ "name": "_renderIconName",
131627
+ "privacy": "private",
131628
+ "return": {
131629
+ "type": {
131630
+ "text": "string"
131631
+ }
131632
+ },
131633
+ "inheritedFrom": {
131634
+ "name": "SbbIconNameMixin",
131635
+ "module": "icon/icon-name-mixin.js"
131636
+ }
131637
+ },
131638
+ {
131639
+ "kind": "field",
131640
+ "name": "_hydrationRequired",
131641
+ "type": {
131642
+ "text": "boolean"
131643
+ },
131644
+ "privacy": "private",
131645
+ "default": "!!this.shadowRoot",
131646
+ "inheritedFrom": {
131647
+ "name": "SbbElement",
131648
+ "module": "core/base-elements/element.js"
131649
+ }
131650
+ },
131651
+ {
131652
+ "kind": "field",
131653
+ "name": "_hydrationComplete",
131654
+ "privacy": "private",
131655
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
131656
+ "inheritedFrom": {
131657
+ "name": "SbbElement",
131658
+ "module": "core/base-elements/element.js"
131659
+ }
131660
+ },
131661
+ {
131662
+ "kind": "field",
131663
+ "name": "_resolveHydration",
131664
+ "type": {
131665
+ "text": "(hydrationRequired: boolean) => void"
131666
+ },
131667
+ "privacy": "private",
131668
+ "inheritedFrom": {
131669
+ "name": "SbbElement",
131670
+ "module": "core/base-elements/element.js"
131671
+ }
131672
+ },
131673
+ {
131674
+ "kind": "field",
131675
+ "name": "hydrationRequired",
131676
+ "type": {
131677
+ "text": "boolean"
131678
+ },
131679
+ "privacy": "protected",
131680
+ "description": "Returns whether hydration is required and not completed.",
131681
+ "readonly": true,
131682
+ "inheritedFrom": {
131683
+ "name": "SbbElement",
131684
+ "module": "core/base-elements/element.js"
131685
+ },
131686
+ "default": "!!this.shadowRoot"
131687
+ },
131688
+ {
131689
+ "kind": "method",
131690
+ "name": "toggleState",
131691
+ "privacy": "protected",
131692
+ "return": {
131693
+ "type": {
131694
+ "text": "void"
131695
+ }
131696
+ },
131697
+ "parameters": [
131698
+ {
131699
+ "name": "value",
131700
+ "type": {
131701
+ "text": "string"
131702
+ }
131703
+ },
131704
+ {
131705
+ "name": "force",
131706
+ "optional": true,
131707
+ "type": {
131708
+ "text": "boolean"
131709
+ }
131710
+ }
131711
+ ],
131712
+ "inheritedFrom": {
131713
+ "name": "SbbElement",
131714
+ "module": "core/base-elements/element.js"
131715
+ }
131716
+ },
131717
+ {
131718
+ "kind": "field",
131719
+ "name": "['_$sbbElement$']",
131720
+ "type": {
131721
+ "text": "boolean"
131722
+ },
131723
+ "privacy": "public",
131724
+ "static": true,
131725
+ "default": "true",
131726
+ "inheritedFrom": {
131727
+ "name": "SbbElement",
131728
+ "module": "core/base-elements/element.js"
131729
+ }
131730
+ },
131731
+ {
131732
+ "kind": "field",
131733
+ "name": "_controllers",
131734
+ "type": {
131735
+ "text": "Set<SbbReactiveController> | undefined"
131736
+ },
131737
+ "privacy": "private",
131738
+ "inheritedFrom": {
131739
+ "name": "SbbElement",
131740
+ "module": "core/base-elements/element.js"
131741
+ }
131742
+ }
131743
+ ],
131744
+ "events": [
131745
+ {
131746
+ "type": {
131747
+ "text": "InputEvent"
131748
+ },
131749
+ "description": "The input event fires when the value has been changed as a direct result of a user action.",
131750
+ "name": "input"
131751
+ }
131752
+ ],
131753
+ "attributes": [
131754
+ {
131755
+ "name": "checked",
131756
+ "type": {
131757
+ "text": "boolean"
131758
+ },
131759
+ "default": "false",
131760
+ "description": "Whether the toggle-option is checked.",
131761
+ "fieldName": "checked"
131762
+ },
131763
+ {
131764
+ "name": "value",
131765
+ "type": {
131766
+ "text": "T | null"
131767
+ },
131768
+ "default": "null",
131769
+ "description": "Value of toggle-option.",
131770
+ "fieldName": "value"
131771
+ },
131772
+ {
131773
+ "name": "disabled",
131774
+ "description": "Whether the component is disabled.",
131775
+ "default": "false",
131776
+ "type": {
131777
+ "text": "boolean"
131778
+ },
131779
+ "fieldName": "disabled",
131780
+ "inheritedFrom": {
131781
+ "name": "SbbDisabledMixin",
131782
+ "module": "core/mixins/disabled-mixin.js"
131783
+ }
131784
+ },
131785
+ {
131786
+ "name": "icon-name",
131787
+ "type": {
131788
+ "text": "string"
131789
+ },
131790
+ "default": "''",
131791
+ "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.",
131792
+ "fieldName": "iconName",
131793
+ "inheritedFrom": {
131794
+ "name": "SbbIconNameMixin",
131795
+ "module": "icon/icon-name-mixin.js"
131796
+ }
131797
+ }
131798
+ ],
131799
+ "mixins": [
131800
+ {
131801
+ "name": "SbbDisabledMixin",
131802
+ "module": "core/mixins.js"
131803
+ },
131804
+ {
131805
+ "name": "SbbIconNameMixin",
131806
+ "module": "icon.js"
131807
+ }
131808
+ ],
131809
+ "superclass": {
131810
+ "name": "SbbElement",
131811
+ "module": "core/base-elements.js"
131812
+ },
131813
+ "tagName": "sbb-toggle-option",
131814
+ "customElement": true,
131815
+ "classGenerics": "T = string"
131816
+ }
131817
+ ],
131818
+ "exports": [
131819
+ {
131820
+ "kind": "js",
131821
+ "name": "SbbToggleOptionElement",
131822
+ "declaration": {
131823
+ "name": "SbbToggleOptionElement",
131824
+ "module": "toggle/toggle-option/toggle-option.component.js"
131825
+ }
131826
+ }
131827
+ ]
131828
+ },
131411
131829
  {
131412
131830
  "kind": "javascript-module",
131413
131831
  "path": "toggle/toggle/toggle.component.js",
@@ -132177,424 +132595,6 @@
132177
132595
  }
132178
132596
  ]
132179
132597
  },
132180
- {
132181
- "kind": "javascript-module",
132182
- "path": "toggle/toggle-option/toggle-option.component.js",
132183
- "declarations": [
132184
- {
132185
- "kind": "class",
132186
- "description": "It displays a toggle option within a `sbb-toggle`.",
132187
- "name": "SbbToggleOptionElement",
132188
- "slots": [
132189
- {
132190
- "description": "Use the unnamed slot to add content to the label of the toggle option.",
132191
- "name": ""
132192
- },
132193
- {
132194
- "description": "Slot used to render the `sbb-icon`.",
132195
- "name": "icon"
132196
- }
132197
- ],
132198
- "members": [
132199
- {
132200
- "kind": "field",
132201
- "name": "elementName",
132202
- "type": {
132203
- "text": "string"
132204
- },
132205
- "privacy": "public",
132206
- "static": true,
132207
- "readonly": true,
132208
- "default": "'sbb-toggle-option'",
132209
- "inheritedFrom": {
132210
- "name": "SbbElement",
132211
- "module": "core/base-elements/element.js"
132212
- }
132213
- },
132214
- {
132215
- "kind": "field",
132216
- "name": "role",
132217
- "type": {
132218
- "text": "string"
132219
- },
132220
- "privacy": "public",
132221
- "static": true,
132222
- "readonly": true,
132223
- "default": "'radio'"
132224
- },
132225
- {
132226
- "kind": "field",
132227
- "name": "checked",
132228
- "type": {
132229
- "text": "boolean"
132230
- },
132231
- "privacy": "public",
132232
- "default": "false",
132233
- "description": "Whether the toggle-option is checked.",
132234
- "attribute": "checked",
132235
- "reflects": true
132236
- },
132237
- {
132238
- "kind": "field",
132239
- "name": "value",
132240
- "type": {
132241
- "text": "(T = string) | null"
132242
- },
132243
- "privacy": "public",
132244
- "default": "null",
132245
- "description": "Value of toggle-option.",
132246
- "attribute": "value"
132247
- },
132248
- {
132249
- "kind": "field",
132250
- "name": "_toggle",
132251
- "type": {
132252
- "text": "SbbToggleElement | null"
132253
- },
132254
- "privacy": "private",
132255
- "default": "null"
132256
- },
132257
- {
132258
- "kind": "method",
132259
- "name": "_uncheckOtherOptions",
132260
- "privacy": "private",
132261
- "return": {
132262
- "type": {
132263
- "text": "void"
132264
- }
132265
- }
132266
- },
132267
- {
132268
- "kind": "method",
132269
- "name": "_handleDisabledChange",
132270
- "privacy": "private",
132271
- "return": {
132272
- "type": {
132273
- "text": "void"
132274
- }
132275
- }
132276
- },
132277
- {
132278
- "kind": "method",
132279
- "name": "_handleInput",
132280
- "privacy": "private",
132281
- "return": {
132282
- "type": {
132283
- "text": "void"
132284
- }
132285
- }
132286
- },
132287
- {
132288
- "kind": "method",
132289
- "name": "_verifyTabindex",
132290
- "privacy": "private",
132291
- "return": {
132292
- "type": {
132293
- "text": "void"
132294
- }
132295
- }
132296
- },
132297
- {
132298
- "kind": "field",
132299
- "name": "disabled",
132300
- "privacy": "public",
132301
- "description": "Whether the component is disabled.",
132302
- "default": "false",
132303
- "type": {
132304
- "text": "boolean"
132305
- },
132306
- "attribute": "disabled",
132307
- "reflects": true,
132308
- "inheritedFrom": {
132309
- "name": "SbbDisabledMixin",
132310
- "module": "core/mixins/disabled-mixin.js"
132311
- }
132312
- },
132313
- {
132314
- "kind": "field",
132315
- "name": "#disabled",
132316
- "privacy": "private",
132317
- "type": {
132318
- "text": "boolean"
132319
- },
132320
- "default": "false",
132321
- "inheritedFrom": {
132322
- "name": "SbbDisabledMixin",
132323
- "module": "core/mixins/disabled-mixin.js"
132324
- }
132325
- },
132326
- {
132327
- "kind": "method",
132328
- "name": "isDisabledExternally",
132329
- "privacy": "protected",
132330
- "return": {
132331
- "type": {
132332
- "text": "boolean"
132333
- }
132334
- },
132335
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
132336
- "inheritedFrom": {
132337
- "name": "SbbDisabledMixin",
132338
- "module": "core/mixins/disabled-mixin.js"
132339
- }
132340
- },
132341
- {
132342
- "kind": "field",
132343
- "name": "iconName",
132344
- "type": {
132345
- "text": "string"
132346
- },
132347
- "privacy": "public",
132348
- "default": "''",
132349
- "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.",
132350
- "attribute": "icon-name",
132351
- "inheritedFrom": {
132352
- "name": "SbbIconNameMixin",
132353
- "module": "icon/icon-name-mixin.js"
132354
- }
132355
- },
132356
- {
132357
- "kind": "method",
132358
- "name": "renderIconSlot",
132359
- "privacy": "protected",
132360
- "return": {
132361
- "type": {
132362
- "text": "TemplateResult"
132363
- }
132364
- },
132365
- "parameters": [
132366
- {
132367
- "name": "classname",
132368
- "optional": true,
132369
- "type": {
132370
- "text": "string"
132371
- }
132372
- }
132373
- ],
132374
- "inheritedFrom": {
132375
- "name": "SbbIconNameMixin",
132376
- "module": "icon/icon-name-mixin.js"
132377
- }
132378
- },
132379
- {
132380
- "kind": "method",
132381
- "name": "renderIconName",
132382
- "privacy": "protected",
132383
- "return": {
132384
- "type": {
132385
- "text": "string"
132386
- }
132387
- },
132388
- "inheritedFrom": {
132389
- "name": "SbbIconNameMixin",
132390
- "module": "icon/icon-name-mixin.js"
132391
- }
132392
- },
132393
- {
132394
- "kind": "method",
132395
- "name": "_renderIconName",
132396
- "privacy": "private",
132397
- "return": {
132398
- "type": {
132399
- "text": "string"
132400
- }
132401
- },
132402
- "inheritedFrom": {
132403
- "name": "SbbIconNameMixin",
132404
- "module": "icon/icon-name-mixin.js"
132405
- }
132406
- },
132407
- {
132408
- "kind": "field",
132409
- "name": "_hydrationRequired",
132410
- "type": {
132411
- "text": "boolean"
132412
- },
132413
- "privacy": "private",
132414
- "default": "!!this.shadowRoot",
132415
- "inheritedFrom": {
132416
- "name": "SbbElement",
132417
- "module": "core/base-elements/element.js"
132418
- }
132419
- },
132420
- {
132421
- "kind": "field",
132422
- "name": "_hydrationComplete",
132423
- "privacy": "private",
132424
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
132425
- "inheritedFrom": {
132426
- "name": "SbbElement",
132427
- "module": "core/base-elements/element.js"
132428
- }
132429
- },
132430
- {
132431
- "kind": "field",
132432
- "name": "_resolveHydration",
132433
- "type": {
132434
- "text": "(hydrationRequired: boolean) => void"
132435
- },
132436
- "privacy": "private",
132437
- "inheritedFrom": {
132438
- "name": "SbbElement",
132439
- "module": "core/base-elements/element.js"
132440
- }
132441
- },
132442
- {
132443
- "kind": "field",
132444
- "name": "hydrationRequired",
132445
- "type": {
132446
- "text": "boolean"
132447
- },
132448
- "privacy": "protected",
132449
- "description": "Returns whether hydration is required and not completed.",
132450
- "readonly": true,
132451
- "inheritedFrom": {
132452
- "name": "SbbElement",
132453
- "module": "core/base-elements/element.js"
132454
- },
132455
- "default": "!!this.shadowRoot"
132456
- },
132457
- {
132458
- "kind": "method",
132459
- "name": "toggleState",
132460
- "privacy": "protected",
132461
- "return": {
132462
- "type": {
132463
- "text": "void"
132464
- }
132465
- },
132466
- "parameters": [
132467
- {
132468
- "name": "value",
132469
- "type": {
132470
- "text": "string"
132471
- }
132472
- },
132473
- {
132474
- "name": "force",
132475
- "optional": true,
132476
- "type": {
132477
- "text": "boolean"
132478
- }
132479
- }
132480
- ],
132481
- "inheritedFrom": {
132482
- "name": "SbbElement",
132483
- "module": "core/base-elements/element.js"
132484
- }
132485
- },
132486
- {
132487
- "kind": "field",
132488
- "name": "['_$sbbElement$']",
132489
- "type": {
132490
- "text": "boolean"
132491
- },
132492
- "privacy": "public",
132493
- "static": true,
132494
- "default": "true",
132495
- "inheritedFrom": {
132496
- "name": "SbbElement",
132497
- "module": "core/base-elements/element.js"
132498
- }
132499
- },
132500
- {
132501
- "kind": "field",
132502
- "name": "_controllers",
132503
- "type": {
132504
- "text": "Set<SbbReactiveController> | undefined"
132505
- },
132506
- "privacy": "private",
132507
- "inheritedFrom": {
132508
- "name": "SbbElement",
132509
- "module": "core/base-elements/element.js"
132510
- }
132511
- }
132512
- ],
132513
- "events": [
132514
- {
132515
- "type": {
132516
- "text": "InputEvent"
132517
- },
132518
- "description": "The input event fires when the value has been changed as a direct result of a user action.",
132519
- "name": "input"
132520
- }
132521
- ],
132522
- "attributes": [
132523
- {
132524
- "name": "checked",
132525
- "type": {
132526
- "text": "boolean"
132527
- },
132528
- "default": "false",
132529
- "description": "Whether the toggle-option is checked.",
132530
- "fieldName": "checked"
132531
- },
132532
- {
132533
- "name": "value",
132534
- "type": {
132535
- "text": "T | null"
132536
- },
132537
- "default": "null",
132538
- "description": "Value of toggle-option.",
132539
- "fieldName": "value"
132540
- },
132541
- {
132542
- "name": "disabled",
132543
- "description": "Whether the component is disabled.",
132544
- "default": "false",
132545
- "type": {
132546
- "text": "boolean"
132547
- },
132548
- "fieldName": "disabled",
132549
- "inheritedFrom": {
132550
- "name": "SbbDisabledMixin",
132551
- "module": "core/mixins/disabled-mixin.js"
132552
- }
132553
- },
132554
- {
132555
- "name": "icon-name",
132556
- "type": {
132557
- "text": "string"
132558
- },
132559
- "default": "''",
132560
- "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.",
132561
- "fieldName": "iconName",
132562
- "inheritedFrom": {
132563
- "name": "SbbIconNameMixin",
132564
- "module": "icon/icon-name-mixin.js"
132565
- }
132566
- }
132567
- ],
132568
- "mixins": [
132569
- {
132570
- "name": "SbbDisabledMixin",
132571
- "module": "core/mixins.js"
132572
- },
132573
- {
132574
- "name": "SbbIconNameMixin",
132575
- "module": "icon.js"
132576
- }
132577
- ],
132578
- "superclass": {
132579
- "name": "SbbElement",
132580
- "module": "core/base-elements.js"
132581
- },
132582
- "tagName": "sbb-toggle-option",
132583
- "customElement": true,
132584
- "classGenerics": "T = string"
132585
- }
132586
- ],
132587
- "exports": [
132588
- {
132589
- "kind": "js",
132590
- "name": "SbbToggleOptionElement",
132591
- "declaration": {
132592
- "name": "SbbToggleOptionElement",
132593
- "module": "toggle/toggle-option/toggle-option.component.js"
132594
- }
132595
- }
132596
- ]
132597
- },
132598
132598
  {
132599
132599
  "kind": "javascript-module",
132600
132600
  "path": "train/train/train.component.js",