@sbb-esta/lyne-elements-dev 4.13.0-dev.1780400290 → 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 +956 -956
  2. package/package.json +2 -2
@@ -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
  ]
@@ -102068,20 +102068,37 @@
102068
102068
  },
102069
102069
  {
102070
102070
  "kind": "javascript-module",
102071
- "path": "link/common/block-link-common.js",
102071
+ "path": "link/block-link-static/block-link-static.component.js",
102072
102072
  "declarations": [
102073
102073
  {
102074
102074
  "kind": "class",
102075
- "description": "",
102076
- "name": "SbbBlockLinkCommonElementMixinType",
102075
+ "description": "It displays a static link enhanced with the SBB Design.",
102076
+ "name": "SbbBlockLinkStaticElement",
102077
+ "slots": [
102078
+ {
102079
+ "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
102080
+ "name": ""
102081
+ },
102082
+ {
102083
+ "description": "Slot used to display the icon, if one is set.",
102084
+ "name": "icon"
102085
+ }
102086
+ ],
102077
102087
  "members": [
102078
102088
  {
102079
102089
  "kind": "field",
102080
- "name": "iconPlacement",
102090
+ "name": "elementName",
102081
102091
  "type": {
102082
- "text": "SbbIconPlacement"
102092
+ "text": "string"
102083
102093
  },
102084
- "privacy": "public"
102094
+ "privacy": "public",
102095
+ "static": true,
102096
+ "readonly": true,
102097
+ "inheritedFrom": {
102098
+ "name": "SbbElement",
102099
+ "module": "core/base-elements/element.js"
102100
+ },
102101
+ "default": "'sbb-block-link-static'"
102085
102102
  },
102086
102103
  {
102087
102104
  "kind": "field",
@@ -102091,7 +102108,7 @@
102091
102108
  },
102092
102109
  "privacy": "public",
102093
102110
  "static": true,
102094
- "default": "[boxSizingStyles, unsafeCSS(style)]",
102111
+ "default": "[super.styles, unsafeCSS(blockStyle)]",
102095
102112
  "inheritedFrom": {
102096
102113
  "name": "SbbLinkCommonElementMixin",
102097
102114
  "module": "link/common/link-common.js"
@@ -102099,18 +102116,18 @@
102099
102116
  },
102100
102117
  {
102101
102118
  "kind": "field",
102102
- "name": "size",
102119
+ "name": "iconPlacement",
102103
102120
  "type": {
102104
- "text": "SbbLinkSize"
102121
+ "text": "SbbIconPlacement"
102105
102122
  },
102106
102123
  "privacy": "public",
102107
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102108
- "default": "'s' / 'xs' (lean)",
102109
- "attribute": "size",
102124
+ "default": "'start'",
102125
+ "description": "Moves the icon to the end of the component if set to true.",
102126
+ "attribute": "icon-placement",
102110
102127
  "reflects": true,
102111
102128
  "inheritedFrom": {
102112
- "name": "SbbLinkCommonElementMixin",
102113
- "module": "link/common/link-common.js"
102129
+ "name": "SbbBlockLinkCommonElementMixin",
102130
+ "module": "link/common/block-link-common.js"
102114
102131
  }
102115
102132
  },
102116
102133
  {
@@ -102130,18 +102147,18 @@
102130
102147
  },
102131
102148
  {
102132
102149
  "kind": "field",
102133
- "name": "negative",
102150
+ "name": "size",
102134
102151
  "type": {
102135
- "text": "boolean"
102152
+ "text": "SbbLinkSize"
102136
102153
  },
102137
102154
  "privacy": "public",
102138
- "default": "false",
102139
- "description": "Negative coloring variant flag.",
102140
- "attribute": "negative",
102155
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102156
+ "default": "'s' / 'xs' (lean)",
102157
+ "attribute": "size",
102141
102158
  "reflects": true,
102142
102159
  "inheritedFrom": {
102143
- "name": "SbbNegativeMixin",
102144
- "module": "core/mixins/negative-mixin.js"
102160
+ "name": "SbbLinkCommonElementMixin",
102161
+ "module": "link/common/link-common.js"
102145
102162
  }
102146
102163
  },
102147
102164
  {
@@ -102210,6 +102227,50 @@
102210
102227
  "module": "icon/icon-name-mixin.js"
102211
102228
  }
102212
102229
  },
102230
+ {
102231
+ "kind": "field",
102232
+ "name": "disabled",
102233
+ "privacy": "public",
102234
+ "description": "Whether the component is disabled.",
102235
+ "default": "false",
102236
+ "type": {
102237
+ "text": "boolean"
102238
+ },
102239
+ "attribute": "disabled",
102240
+ "reflects": true,
102241
+ "inheritedFrom": {
102242
+ "name": "SbbDisabledMixin",
102243
+ "module": "core/mixins/disabled-mixin.js"
102244
+ }
102245
+ },
102246
+ {
102247
+ "kind": "field",
102248
+ "name": "#disabled",
102249
+ "privacy": "private",
102250
+ "type": {
102251
+ "text": "boolean"
102252
+ },
102253
+ "default": "false",
102254
+ "inheritedFrom": {
102255
+ "name": "SbbDisabledMixin",
102256
+ "module": "core/mixins/disabled-mixin.js"
102257
+ }
102258
+ },
102259
+ {
102260
+ "kind": "method",
102261
+ "name": "isDisabledExternally",
102262
+ "privacy": "protected",
102263
+ "return": {
102264
+ "type": {
102265
+ "text": "boolean"
102266
+ }
102267
+ },
102268
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
102269
+ "inheritedFrom": {
102270
+ "name": "SbbDisabledMixin",
102271
+ "module": "core/mixins/disabled-mixin.js"
102272
+ }
102273
+ },
102213
102274
  {
102214
102275
  "kind": "field",
102215
102276
  "name": "maybeDisabled",
@@ -102343,20 +102404,6 @@
102343
102404
  "module": "core/base-elements/element.js"
102344
102405
  }
102345
102406
  },
102346
- {
102347
- "kind": "field",
102348
- "name": "elementName",
102349
- "type": {
102350
- "text": "string"
102351
- },
102352
- "privacy": "public",
102353
- "static": true,
102354
- "readonly": true,
102355
- "inheritedFrom": {
102356
- "name": "SbbElement",
102357
- "module": "core/base-elements/element.js"
102358
- }
102359
- },
102360
102407
  {
102361
102408
  "kind": "field",
102362
102409
  "name": "_controllers",
@@ -102372,19 +102419,34 @@
102372
102419
  ],
102373
102420
  "mixins": [
102374
102421
  {
102375
- "name": "SbbLinkCommonElementMixin",
102376
- "module": "link/common/link-common.js"
102422
+ "name": "SbbBlockLinkCommonElementMixin",
102423
+ "module": "link/common/block-link-common.js"
102377
102424
  },
102378
102425
  {
102379
- "name": "SbbIconNameMixin",
102380
- "module": "icon.js"
102426
+ "name": "SbbDisabledMixin",
102427
+ "module": "core/mixins.js"
102381
102428
  }
102382
102429
  ],
102383
102430
  "superclass": {
102384
102431
  "name": "SbbActionBaseElement",
102385
102432
  "module": "core/base-elements.js"
102386
102433
  },
102434
+ "tagName": "sbb-block-link-static",
102435
+ "customElement": true,
102387
102436
  "attributes": [
102437
+ {
102438
+ "name": "icon-placement",
102439
+ "type": {
102440
+ "text": "SbbIconPlacement"
102441
+ },
102442
+ "default": "'start'",
102443
+ "description": "Moves the icon to the end of the component if set to true.",
102444
+ "fieldName": "iconPlacement",
102445
+ "inheritedFrom": {
102446
+ "name": "SbbBlockLinkCommonElementMixin",
102447
+ "module": "link/common/block-link-common.js"
102448
+ }
102449
+ },
102388
102450
  {
102389
102451
  "name": "size",
102390
102452
  "type": {
@@ -102398,19 +102460,6 @@
102398
102460
  "module": "link/common/link-common.js"
102399
102461
  }
102400
102462
  },
102401
- {
102402
- "name": "negative",
102403
- "type": {
102404
- "text": "boolean"
102405
- },
102406
- "default": "false",
102407
- "description": "Negative coloring variant flag.",
102408
- "fieldName": "negative",
102409
- "inheritedFrom": {
102410
- "name": "SbbNegativeMixin",
102411
- "module": "core/mixins/negative-mixin.js"
102412
- }
102413
- },
102414
102463
  {
102415
102464
  "name": "icon-name",
102416
102465
  "type": {
@@ -102423,49 +102472,434 @@
102423
102472
  "name": "SbbIconNameMixin",
102424
102473
  "module": "icon/icon-name-mixin.js"
102425
102474
  }
102475
+ },
102476
+ {
102477
+ "name": "disabled",
102478
+ "description": "Whether the component is disabled.",
102479
+ "default": "false",
102480
+ "type": {
102481
+ "text": "boolean"
102482
+ },
102483
+ "fieldName": "disabled",
102484
+ "inheritedFrom": {
102485
+ "name": "SbbDisabledMixin",
102486
+ "module": "core/mixins/disabled-mixin.js"
102487
+ }
102426
102488
  }
102427
102489
  ]
102428
- },
102490
+ }
102491
+ ],
102492
+ "exports": [
102429
102493
  {
102430
- "kind": "mixin",
102494
+ "kind": "js",
102495
+ "name": "SbbBlockLinkStaticElement",
102496
+ "declaration": {
102497
+ "name": "SbbBlockLinkStaticElement",
102498
+ "module": "link/block-link-static/block-link-static.component.js"
102499
+ }
102500
+ }
102501
+ ]
102502
+ },
102503
+ {
102504
+ "kind": "javascript-module",
102505
+ "path": "link/common/block-link-common.js",
102506
+ "declarations": [
102507
+ {
102508
+ "kind": "class",
102431
102509
  "description": "",
102432
- "name": "SbbBlockLinkCommonElementMixin",
102510
+ "name": "SbbBlockLinkCommonElementMixinType",
102433
102511
  "members": [
102434
102512
  {
102435
102513
  "kind": "field",
102436
- "name": "styles",
102514
+ "name": "iconPlacement",
102437
102515
  "type": {
102438
- "text": "CSSResultGroup"
102516
+ "text": "SbbIconPlacement"
102439
102517
  },
102440
- "privacy": "public",
102441
- "static": true,
102442
- "default": "[super.styles, unsafeCSS(blockStyle)]",
102443
- "inheritedFrom": {
102444
- "name": "SbbLinkCommonElementMixin",
102445
- "module": "link/common/link-common.js"
102446
- }
102518
+ "privacy": "public"
102447
102519
  },
102448
102520
  {
102449
102521
  "kind": "field",
102450
- "name": "iconPlacement",
102522
+ "name": "styles",
102451
102523
  "type": {
102452
- "text": "SbbIconPlacement"
102524
+ "text": "CSSResultGroup"
102453
102525
  },
102454
102526
  "privacy": "public",
102455
- "default": "'start'",
102456
- "description": "Moves the icon to the end of the component if set to true.",
102457
- "attribute": "icon-placement",
102458
- "reflects": true
102459
- },
102460
- {
102461
- "kind": "method",
102462
- "name": "renderTemplate",
102463
- "privacy": "protected",
102464
- "return": {
102465
- "type": {
102466
- "text": "TemplateResult"
102467
- }
102468
- },
102527
+ "static": true,
102528
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
102529
+ "inheritedFrom": {
102530
+ "name": "SbbLinkCommonElementMixin",
102531
+ "module": "link/common/link-common.js"
102532
+ }
102533
+ },
102534
+ {
102535
+ "kind": "field",
102536
+ "name": "size",
102537
+ "type": {
102538
+ "text": "SbbLinkSize"
102539
+ },
102540
+ "privacy": "public",
102541
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102542
+ "default": "'s' / 'xs' (lean)",
102543
+ "attribute": "size",
102544
+ "reflects": true,
102545
+ "inheritedFrom": {
102546
+ "name": "SbbLinkCommonElementMixin",
102547
+ "module": "link/common/link-common.js"
102548
+ }
102549
+ },
102550
+ {
102551
+ "kind": "method",
102552
+ "name": "renderTemplate",
102553
+ "privacy": "protected",
102554
+ "return": {
102555
+ "type": {
102556
+ "text": "TemplateResult"
102557
+ }
102558
+ },
102559
+ "description": "Override this method to render the component template.",
102560
+ "inheritedFrom": {
102561
+ "name": "SbbActionBaseElement",
102562
+ "module": "core/base-elements/action-base-element.js"
102563
+ }
102564
+ },
102565
+ {
102566
+ "kind": "field",
102567
+ "name": "negative",
102568
+ "type": {
102569
+ "text": "boolean"
102570
+ },
102571
+ "privacy": "public",
102572
+ "default": "false",
102573
+ "description": "Negative coloring variant flag.",
102574
+ "attribute": "negative",
102575
+ "reflects": true,
102576
+ "inheritedFrom": {
102577
+ "name": "SbbNegativeMixin",
102578
+ "module": "core/mixins/negative-mixin.js"
102579
+ }
102580
+ },
102581
+ {
102582
+ "kind": "field",
102583
+ "name": "iconName",
102584
+ "type": {
102585
+ "text": "string"
102586
+ },
102587
+ "privacy": "public",
102588
+ "default": "''",
102589
+ "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.",
102590
+ "attribute": "icon-name",
102591
+ "inheritedFrom": {
102592
+ "name": "SbbIconNameMixin",
102593
+ "module": "icon/icon-name-mixin.js"
102594
+ }
102595
+ },
102596
+ {
102597
+ "kind": "method",
102598
+ "name": "renderIconSlot",
102599
+ "privacy": "protected",
102600
+ "return": {
102601
+ "type": {
102602
+ "text": "TemplateResult"
102603
+ }
102604
+ },
102605
+ "parameters": [
102606
+ {
102607
+ "name": "classname",
102608
+ "optional": true,
102609
+ "type": {
102610
+ "text": "string"
102611
+ }
102612
+ }
102613
+ ],
102614
+ "inheritedFrom": {
102615
+ "name": "SbbIconNameMixin",
102616
+ "module": "icon/icon-name-mixin.js"
102617
+ }
102618
+ },
102619
+ {
102620
+ "kind": "method",
102621
+ "name": "renderIconName",
102622
+ "privacy": "protected",
102623
+ "return": {
102624
+ "type": {
102625
+ "text": "string"
102626
+ }
102627
+ },
102628
+ "inheritedFrom": {
102629
+ "name": "SbbIconNameMixin",
102630
+ "module": "icon/icon-name-mixin.js"
102631
+ }
102632
+ },
102633
+ {
102634
+ "kind": "method",
102635
+ "name": "_renderIconName",
102636
+ "privacy": "private",
102637
+ "return": {
102638
+ "type": {
102639
+ "text": "string"
102640
+ }
102641
+ },
102642
+ "inheritedFrom": {
102643
+ "name": "SbbIconNameMixin",
102644
+ "module": "icon/icon-name-mixin.js"
102645
+ }
102646
+ },
102647
+ {
102648
+ "kind": "field",
102649
+ "name": "maybeDisabled",
102650
+ "type": {
102651
+ "text": "boolean | undefined"
102652
+ },
102653
+ "privacy": "protected",
102654
+ "readonly": true,
102655
+ "inheritedFrom": {
102656
+ "name": "SbbActionBaseElement",
102657
+ "module": "core/base-elements/action-base-element.js"
102658
+ }
102659
+ },
102660
+ {
102661
+ "kind": "field",
102662
+ "name": "maybeDisabledInteractive",
102663
+ "type": {
102664
+ "text": "boolean | undefined"
102665
+ },
102666
+ "privacy": "protected",
102667
+ "readonly": true,
102668
+ "inheritedFrom": {
102669
+ "name": "SbbActionBaseElement",
102670
+ "module": "core/base-elements/action-base-element.js"
102671
+ }
102672
+ },
102673
+ {
102674
+ "kind": "method",
102675
+ "name": "setupBaseEventHandlers",
102676
+ "privacy": "protected",
102677
+ "return": {
102678
+ "type": {
102679
+ "text": "void"
102680
+ }
102681
+ },
102682
+ "inheritedFrom": {
102683
+ "name": "SbbActionBaseElement",
102684
+ "module": "core/base-elements/action-base-element.js"
102685
+ }
102686
+ },
102687
+ {
102688
+ "kind": "field",
102689
+ "name": "_hydrationRequired",
102690
+ "type": {
102691
+ "text": "boolean"
102692
+ },
102693
+ "privacy": "private",
102694
+ "default": "!!this.shadowRoot",
102695
+ "inheritedFrom": {
102696
+ "name": "SbbElement",
102697
+ "module": "core/base-elements/element.js"
102698
+ }
102699
+ },
102700
+ {
102701
+ "kind": "field",
102702
+ "name": "_hydrationComplete",
102703
+ "privacy": "private",
102704
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
102705
+ "inheritedFrom": {
102706
+ "name": "SbbElement",
102707
+ "module": "core/base-elements/element.js"
102708
+ }
102709
+ },
102710
+ {
102711
+ "kind": "field",
102712
+ "name": "_resolveHydration",
102713
+ "type": {
102714
+ "text": "(hydrationRequired: boolean) => void"
102715
+ },
102716
+ "privacy": "private",
102717
+ "inheritedFrom": {
102718
+ "name": "SbbElement",
102719
+ "module": "core/base-elements/element.js"
102720
+ }
102721
+ },
102722
+ {
102723
+ "kind": "field",
102724
+ "name": "hydrationRequired",
102725
+ "type": {
102726
+ "text": "boolean"
102727
+ },
102728
+ "privacy": "protected",
102729
+ "description": "Returns whether hydration is required and not completed.",
102730
+ "readonly": true,
102731
+ "inheritedFrom": {
102732
+ "name": "SbbElement",
102733
+ "module": "core/base-elements/element.js"
102734
+ },
102735
+ "default": "!!this.shadowRoot"
102736
+ },
102737
+ {
102738
+ "kind": "method",
102739
+ "name": "toggleState",
102740
+ "privacy": "protected",
102741
+ "return": {
102742
+ "type": {
102743
+ "text": "void"
102744
+ }
102745
+ },
102746
+ "parameters": [
102747
+ {
102748
+ "name": "value",
102749
+ "type": {
102750
+ "text": "string"
102751
+ }
102752
+ },
102753
+ {
102754
+ "name": "force",
102755
+ "optional": true,
102756
+ "type": {
102757
+ "text": "boolean"
102758
+ }
102759
+ }
102760
+ ],
102761
+ "inheritedFrom": {
102762
+ "name": "SbbElement",
102763
+ "module": "core/base-elements/element.js"
102764
+ }
102765
+ },
102766
+ {
102767
+ "kind": "field",
102768
+ "name": "['_$sbbElement$']",
102769
+ "type": {
102770
+ "text": "boolean"
102771
+ },
102772
+ "privacy": "public",
102773
+ "static": true,
102774
+ "default": "true",
102775
+ "inheritedFrom": {
102776
+ "name": "SbbElement",
102777
+ "module": "core/base-elements/element.js"
102778
+ }
102779
+ },
102780
+ {
102781
+ "kind": "field",
102782
+ "name": "elementName",
102783
+ "type": {
102784
+ "text": "string"
102785
+ },
102786
+ "privacy": "public",
102787
+ "static": true,
102788
+ "readonly": true,
102789
+ "inheritedFrom": {
102790
+ "name": "SbbElement",
102791
+ "module": "core/base-elements/element.js"
102792
+ }
102793
+ },
102794
+ {
102795
+ "kind": "field",
102796
+ "name": "_controllers",
102797
+ "type": {
102798
+ "text": "Set<SbbReactiveController> | undefined"
102799
+ },
102800
+ "privacy": "private",
102801
+ "inheritedFrom": {
102802
+ "name": "SbbElement",
102803
+ "module": "core/base-elements/element.js"
102804
+ }
102805
+ }
102806
+ ],
102807
+ "mixins": [
102808
+ {
102809
+ "name": "SbbLinkCommonElementMixin",
102810
+ "module": "link/common/link-common.js"
102811
+ },
102812
+ {
102813
+ "name": "SbbIconNameMixin",
102814
+ "module": "icon.js"
102815
+ }
102816
+ ],
102817
+ "superclass": {
102818
+ "name": "SbbActionBaseElement",
102819
+ "module": "core/base-elements.js"
102820
+ },
102821
+ "attributes": [
102822
+ {
102823
+ "name": "size",
102824
+ "type": {
102825
+ "text": "SbbLinkSize"
102826
+ },
102827
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102828
+ "default": "'s' / 'xs' (lean)",
102829
+ "fieldName": "size",
102830
+ "inheritedFrom": {
102831
+ "name": "SbbLinkCommonElementMixin",
102832
+ "module": "link/common/link-common.js"
102833
+ }
102834
+ },
102835
+ {
102836
+ "name": "negative",
102837
+ "type": {
102838
+ "text": "boolean"
102839
+ },
102840
+ "default": "false",
102841
+ "description": "Negative coloring variant flag.",
102842
+ "fieldName": "negative",
102843
+ "inheritedFrom": {
102844
+ "name": "SbbNegativeMixin",
102845
+ "module": "core/mixins/negative-mixin.js"
102846
+ }
102847
+ },
102848
+ {
102849
+ "name": "icon-name",
102850
+ "type": {
102851
+ "text": "string"
102852
+ },
102853
+ "default": "''",
102854
+ "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.",
102855
+ "fieldName": "iconName",
102856
+ "inheritedFrom": {
102857
+ "name": "SbbIconNameMixin",
102858
+ "module": "icon/icon-name-mixin.js"
102859
+ }
102860
+ }
102861
+ ]
102862
+ },
102863
+ {
102864
+ "kind": "mixin",
102865
+ "description": "",
102866
+ "name": "SbbBlockLinkCommonElementMixin",
102867
+ "members": [
102868
+ {
102869
+ "kind": "field",
102870
+ "name": "styles",
102871
+ "type": {
102872
+ "text": "CSSResultGroup"
102873
+ },
102874
+ "privacy": "public",
102875
+ "static": true,
102876
+ "default": "[super.styles, unsafeCSS(blockStyle)]",
102877
+ "inheritedFrom": {
102878
+ "name": "SbbLinkCommonElementMixin",
102879
+ "module": "link/common/link-common.js"
102880
+ }
102881
+ },
102882
+ {
102883
+ "kind": "field",
102884
+ "name": "iconPlacement",
102885
+ "type": {
102886
+ "text": "SbbIconPlacement"
102887
+ },
102888
+ "privacy": "public",
102889
+ "default": "'start'",
102890
+ "description": "Moves the icon to the end of the component if set to true.",
102891
+ "attribute": "icon-placement",
102892
+ "reflects": true
102893
+ },
102894
+ {
102895
+ "kind": "method",
102896
+ "name": "renderTemplate",
102897
+ "privacy": "protected",
102898
+ "return": {
102899
+ "type": {
102900
+ "text": "TemplateResult"
102901
+ }
102902
+ },
102469
102903
  "inheritedFrom": {
102470
102904
  "name": "SbbLinkCommonElementMixin",
102471
102905
  "module": "link/common/link-common.js"
@@ -103404,440 +103838,6 @@
103404
103838
  }
103405
103839
  ]
103406
103840
  },
103407
- {
103408
- "kind": "javascript-module",
103409
- "path": "link/block-link-static/block-link-static.component.js",
103410
- "declarations": [
103411
- {
103412
- "kind": "class",
103413
- "description": "It displays a static link enhanced with the SBB Design.",
103414
- "name": "SbbBlockLinkStaticElement",
103415
- "slots": [
103416
- {
103417
- "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
103418
- "name": ""
103419
- },
103420
- {
103421
- "description": "Slot used to display the icon, if one is set.",
103422
- "name": "icon"
103423
- }
103424
- ],
103425
- "members": [
103426
- {
103427
- "kind": "field",
103428
- "name": "elementName",
103429
- "type": {
103430
- "text": "string"
103431
- },
103432
- "privacy": "public",
103433
- "static": true,
103434
- "readonly": true,
103435
- "inheritedFrom": {
103436
- "name": "SbbElement",
103437
- "module": "core/base-elements/element.js"
103438
- },
103439
- "default": "'sbb-block-link-static'"
103440
- },
103441
- {
103442
- "kind": "field",
103443
- "name": "styles",
103444
- "type": {
103445
- "text": "CSSResultGroup"
103446
- },
103447
- "privacy": "public",
103448
- "static": true,
103449
- "default": "[super.styles, unsafeCSS(blockStyle)]",
103450
- "inheritedFrom": {
103451
- "name": "SbbLinkCommonElementMixin",
103452
- "module": "link/common/link-common.js"
103453
- }
103454
- },
103455
- {
103456
- "kind": "field",
103457
- "name": "iconPlacement",
103458
- "type": {
103459
- "text": "SbbIconPlacement"
103460
- },
103461
- "privacy": "public",
103462
- "default": "'start'",
103463
- "description": "Moves the icon to the end of the component if set to true.",
103464
- "attribute": "icon-placement",
103465
- "reflects": true,
103466
- "inheritedFrom": {
103467
- "name": "SbbBlockLinkCommonElementMixin",
103468
- "module": "link/common/block-link-common.js"
103469
- }
103470
- },
103471
- {
103472
- "kind": "method",
103473
- "name": "renderTemplate",
103474
- "privacy": "protected",
103475
- "return": {
103476
- "type": {
103477
- "text": "TemplateResult"
103478
- }
103479
- },
103480
- "description": "Override this method to render the component template.",
103481
- "inheritedFrom": {
103482
- "name": "SbbActionBaseElement",
103483
- "module": "core/base-elements/action-base-element.js"
103484
- }
103485
- },
103486
- {
103487
- "kind": "field",
103488
- "name": "size",
103489
- "type": {
103490
- "text": "SbbLinkSize"
103491
- },
103492
- "privacy": "public",
103493
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103494
- "default": "'s' / 'xs' (lean)",
103495
- "attribute": "size",
103496
- "reflects": true,
103497
- "inheritedFrom": {
103498
- "name": "SbbLinkCommonElementMixin",
103499
- "module": "link/common/link-common.js"
103500
- }
103501
- },
103502
- {
103503
- "kind": "field",
103504
- "name": "iconName",
103505
- "type": {
103506
- "text": "string"
103507
- },
103508
- "privacy": "public",
103509
- "default": "''",
103510
- "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.",
103511
- "attribute": "icon-name",
103512
- "inheritedFrom": {
103513
- "name": "SbbIconNameMixin",
103514
- "module": "icon/icon-name-mixin.js"
103515
- }
103516
- },
103517
- {
103518
- "kind": "method",
103519
- "name": "renderIconSlot",
103520
- "privacy": "protected",
103521
- "return": {
103522
- "type": {
103523
- "text": "TemplateResult"
103524
- }
103525
- },
103526
- "parameters": [
103527
- {
103528
- "name": "classname",
103529
- "optional": true,
103530
- "type": {
103531
- "text": "string"
103532
- }
103533
- }
103534
- ],
103535
- "inheritedFrom": {
103536
- "name": "SbbIconNameMixin",
103537
- "module": "icon/icon-name-mixin.js"
103538
- }
103539
- },
103540
- {
103541
- "kind": "method",
103542
- "name": "renderIconName",
103543
- "privacy": "protected",
103544
- "return": {
103545
- "type": {
103546
- "text": "string"
103547
- }
103548
- },
103549
- "inheritedFrom": {
103550
- "name": "SbbIconNameMixin",
103551
- "module": "icon/icon-name-mixin.js"
103552
- }
103553
- },
103554
- {
103555
- "kind": "method",
103556
- "name": "_renderIconName",
103557
- "privacy": "private",
103558
- "return": {
103559
- "type": {
103560
- "text": "string"
103561
- }
103562
- },
103563
- "inheritedFrom": {
103564
- "name": "SbbIconNameMixin",
103565
- "module": "icon/icon-name-mixin.js"
103566
- }
103567
- },
103568
- {
103569
- "kind": "field",
103570
- "name": "disabled",
103571
- "privacy": "public",
103572
- "description": "Whether the component is disabled.",
103573
- "default": "false",
103574
- "type": {
103575
- "text": "boolean"
103576
- },
103577
- "attribute": "disabled",
103578
- "reflects": true,
103579
- "inheritedFrom": {
103580
- "name": "SbbDisabledMixin",
103581
- "module": "core/mixins/disabled-mixin.js"
103582
- }
103583
- },
103584
- {
103585
- "kind": "field",
103586
- "name": "#disabled",
103587
- "privacy": "private",
103588
- "type": {
103589
- "text": "boolean"
103590
- },
103591
- "default": "false",
103592
- "inheritedFrom": {
103593
- "name": "SbbDisabledMixin",
103594
- "module": "core/mixins/disabled-mixin.js"
103595
- }
103596
- },
103597
- {
103598
- "kind": "method",
103599
- "name": "isDisabledExternally",
103600
- "privacy": "protected",
103601
- "return": {
103602
- "type": {
103603
- "text": "boolean"
103604
- }
103605
- },
103606
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
103607
- "inheritedFrom": {
103608
- "name": "SbbDisabledMixin",
103609
- "module": "core/mixins/disabled-mixin.js"
103610
- }
103611
- },
103612
- {
103613
- "kind": "field",
103614
- "name": "maybeDisabled",
103615
- "type": {
103616
- "text": "boolean | undefined"
103617
- },
103618
- "privacy": "protected",
103619
- "readonly": true,
103620
- "inheritedFrom": {
103621
- "name": "SbbActionBaseElement",
103622
- "module": "core/base-elements/action-base-element.js"
103623
- }
103624
- },
103625
- {
103626
- "kind": "field",
103627
- "name": "maybeDisabledInteractive",
103628
- "type": {
103629
- "text": "boolean | undefined"
103630
- },
103631
- "privacy": "protected",
103632
- "readonly": true,
103633
- "inheritedFrom": {
103634
- "name": "SbbActionBaseElement",
103635
- "module": "core/base-elements/action-base-element.js"
103636
- }
103637
- },
103638
- {
103639
- "kind": "method",
103640
- "name": "setupBaseEventHandlers",
103641
- "privacy": "protected",
103642
- "return": {
103643
- "type": {
103644
- "text": "void"
103645
- }
103646
- },
103647
- "inheritedFrom": {
103648
- "name": "SbbActionBaseElement",
103649
- "module": "core/base-elements/action-base-element.js"
103650
- }
103651
- },
103652
- {
103653
- "kind": "field",
103654
- "name": "_hydrationRequired",
103655
- "type": {
103656
- "text": "boolean"
103657
- },
103658
- "privacy": "private",
103659
- "default": "!!this.shadowRoot",
103660
- "inheritedFrom": {
103661
- "name": "SbbElement",
103662
- "module": "core/base-elements/element.js"
103663
- }
103664
- },
103665
- {
103666
- "kind": "field",
103667
- "name": "_hydrationComplete",
103668
- "privacy": "private",
103669
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
103670
- "inheritedFrom": {
103671
- "name": "SbbElement",
103672
- "module": "core/base-elements/element.js"
103673
- }
103674
- },
103675
- {
103676
- "kind": "field",
103677
- "name": "_resolveHydration",
103678
- "type": {
103679
- "text": "(hydrationRequired: boolean) => void"
103680
- },
103681
- "privacy": "private",
103682
- "inheritedFrom": {
103683
- "name": "SbbElement",
103684
- "module": "core/base-elements/element.js"
103685
- }
103686
- },
103687
- {
103688
- "kind": "field",
103689
- "name": "hydrationRequired",
103690
- "type": {
103691
- "text": "boolean"
103692
- },
103693
- "privacy": "protected",
103694
- "description": "Returns whether hydration is required and not completed.",
103695
- "readonly": true,
103696
- "inheritedFrom": {
103697
- "name": "SbbElement",
103698
- "module": "core/base-elements/element.js"
103699
- },
103700
- "default": "!!this.shadowRoot"
103701
- },
103702
- {
103703
- "kind": "method",
103704
- "name": "toggleState",
103705
- "privacy": "protected",
103706
- "return": {
103707
- "type": {
103708
- "text": "void"
103709
- }
103710
- },
103711
- "parameters": [
103712
- {
103713
- "name": "value",
103714
- "type": {
103715
- "text": "string"
103716
- }
103717
- },
103718
- {
103719
- "name": "force",
103720
- "optional": true,
103721
- "type": {
103722
- "text": "boolean"
103723
- }
103724
- }
103725
- ],
103726
- "inheritedFrom": {
103727
- "name": "SbbElement",
103728
- "module": "core/base-elements/element.js"
103729
- }
103730
- },
103731
- {
103732
- "kind": "field",
103733
- "name": "['_$sbbElement$']",
103734
- "type": {
103735
- "text": "boolean"
103736
- },
103737
- "privacy": "public",
103738
- "static": true,
103739
- "default": "true",
103740
- "inheritedFrom": {
103741
- "name": "SbbElement",
103742
- "module": "core/base-elements/element.js"
103743
- }
103744
- },
103745
- {
103746
- "kind": "field",
103747
- "name": "_controllers",
103748
- "type": {
103749
- "text": "Set<SbbReactiveController> | undefined"
103750
- },
103751
- "privacy": "private",
103752
- "inheritedFrom": {
103753
- "name": "SbbElement",
103754
- "module": "core/base-elements/element.js"
103755
- }
103756
- }
103757
- ],
103758
- "mixins": [
103759
- {
103760
- "name": "SbbBlockLinkCommonElementMixin",
103761
- "module": "link/common/block-link-common.js"
103762
- },
103763
- {
103764
- "name": "SbbDisabledMixin",
103765
- "module": "core/mixins.js"
103766
- }
103767
- ],
103768
- "superclass": {
103769
- "name": "SbbActionBaseElement",
103770
- "module": "core/base-elements.js"
103771
- },
103772
- "tagName": "sbb-block-link-static",
103773
- "customElement": true,
103774
- "attributes": [
103775
- {
103776
- "name": "icon-placement",
103777
- "type": {
103778
- "text": "SbbIconPlacement"
103779
- },
103780
- "default": "'start'",
103781
- "description": "Moves the icon to the end of the component if set to true.",
103782
- "fieldName": "iconPlacement",
103783
- "inheritedFrom": {
103784
- "name": "SbbBlockLinkCommonElementMixin",
103785
- "module": "link/common/block-link-common.js"
103786
- }
103787
- },
103788
- {
103789
- "name": "size",
103790
- "type": {
103791
- "text": "SbbLinkSize"
103792
- },
103793
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103794
- "default": "'s' / 'xs' (lean)",
103795
- "fieldName": "size",
103796
- "inheritedFrom": {
103797
- "name": "SbbLinkCommonElementMixin",
103798
- "module": "link/common/link-common.js"
103799
- }
103800
- },
103801
- {
103802
- "name": "icon-name",
103803
- "type": {
103804
- "text": "string"
103805
- },
103806
- "default": "''",
103807
- "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.",
103808
- "fieldName": "iconName",
103809
- "inheritedFrom": {
103810
- "name": "SbbIconNameMixin",
103811
- "module": "icon/icon-name-mixin.js"
103812
- }
103813
- },
103814
- {
103815
- "name": "disabled",
103816
- "description": "Whether the component is disabled.",
103817
- "default": "false",
103818
- "type": {
103819
- "text": "boolean"
103820
- },
103821
- "fieldName": "disabled",
103822
- "inheritedFrom": {
103823
- "name": "SbbDisabledMixin",
103824
- "module": "core/mixins/disabled-mixin.js"
103825
- }
103826
- }
103827
- ]
103828
- }
103829
- ],
103830
- "exports": [
103831
- {
103832
- "kind": "js",
103833
- "name": "SbbBlockLinkStaticElement",
103834
- "declaration": {
103835
- "name": "SbbBlockLinkStaticElement",
103836
- "module": "link/block-link-static/block-link-static.component.js"
103837
- }
103838
- }
103839
- ]
103840
- },
103841
103841
  {
103842
103842
  "kind": "javascript-module",
103843
103843
  "path": "link/link/link.component.js",
@@ -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",