@sbb-esta/lyne-elements-dev 4.11.0-dev.1777270941 → 4.11.0-dev.1777273102
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.
- package/custom-elements.json +438 -438
- package/package.json +2 -2
package/custom-elements.json
CHANGED
|
@@ -77903,26 +77903,6 @@
|
|
|
77903
77903
|
}
|
|
77904
77904
|
]
|
|
77905
77905
|
},
|
|
77906
|
-
{
|
|
77907
|
-
"kind": "javascript-module",
|
|
77908
|
-
"path": "core/styles/styles.js",
|
|
77909
|
-
"declarations": [
|
|
77910
|
-
{
|
|
77911
|
-
"kind": "variable",
|
|
77912
|
-
"name": "boxSizingStyles"
|
|
77913
|
-
}
|
|
77914
|
-
],
|
|
77915
|
-
"exports": [
|
|
77916
|
-
{
|
|
77917
|
-
"kind": "js",
|
|
77918
|
-
"name": "boxSizingStyles",
|
|
77919
|
-
"declaration": {
|
|
77920
|
-
"name": "boxSizingStyles",
|
|
77921
|
-
"module": "core/styles/styles.js"
|
|
77922
|
-
}
|
|
77923
|
-
}
|
|
77924
|
-
]
|
|
77925
|
-
},
|
|
77926
77906
|
{
|
|
77927
77907
|
"kind": "javascript-module",
|
|
77928
77908
|
"path": "core/testing/event-spy.js",
|
|
@@ -78320,6 +78300,26 @@
|
|
|
78320
78300
|
}
|
|
78321
78301
|
]
|
|
78322
78302
|
},
|
|
78303
|
+
{
|
|
78304
|
+
"kind": "javascript-module",
|
|
78305
|
+
"path": "core/styles/styles.js",
|
|
78306
|
+
"declarations": [
|
|
78307
|
+
{
|
|
78308
|
+
"kind": "variable",
|
|
78309
|
+
"name": "boxSizingStyles"
|
|
78310
|
+
}
|
|
78311
|
+
],
|
|
78312
|
+
"exports": [
|
|
78313
|
+
{
|
|
78314
|
+
"kind": "js",
|
|
78315
|
+
"name": "boxSizingStyles",
|
|
78316
|
+
"declaration": {
|
|
78317
|
+
"name": "boxSizingStyles",
|
|
78318
|
+
"module": "core/styles/styles.js"
|
|
78319
|
+
}
|
|
78320
|
+
}
|
|
78321
|
+
]
|
|
78322
|
+
},
|
|
78323
78323
|
{
|
|
78324
78324
|
"kind": "javascript-module",
|
|
78325
78325
|
"path": "datepicker/common/datepicker-button.js",
|
|
@@ -131285,6 +131285,424 @@
|
|
|
131285
131285
|
}
|
|
131286
131286
|
]
|
|
131287
131287
|
},
|
|
131288
|
+
{
|
|
131289
|
+
"kind": "javascript-module",
|
|
131290
|
+
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
131291
|
+
"declarations": [
|
|
131292
|
+
{
|
|
131293
|
+
"kind": "class",
|
|
131294
|
+
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
131295
|
+
"name": "SbbToggleOptionElement",
|
|
131296
|
+
"slots": [
|
|
131297
|
+
{
|
|
131298
|
+
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
131299
|
+
"name": ""
|
|
131300
|
+
},
|
|
131301
|
+
{
|
|
131302
|
+
"description": "Slot used to render the `sbb-icon`.",
|
|
131303
|
+
"name": "icon"
|
|
131304
|
+
}
|
|
131305
|
+
],
|
|
131306
|
+
"members": [
|
|
131307
|
+
{
|
|
131308
|
+
"kind": "field",
|
|
131309
|
+
"name": "elementName",
|
|
131310
|
+
"type": {
|
|
131311
|
+
"text": "string"
|
|
131312
|
+
},
|
|
131313
|
+
"privacy": "public",
|
|
131314
|
+
"static": true,
|
|
131315
|
+
"readonly": true,
|
|
131316
|
+
"default": "'sbb-toggle-option'",
|
|
131317
|
+
"inheritedFrom": {
|
|
131318
|
+
"name": "SbbElement",
|
|
131319
|
+
"module": "core/base-elements/element.js"
|
|
131320
|
+
}
|
|
131321
|
+
},
|
|
131322
|
+
{
|
|
131323
|
+
"kind": "field",
|
|
131324
|
+
"name": "role",
|
|
131325
|
+
"type": {
|
|
131326
|
+
"text": "string"
|
|
131327
|
+
},
|
|
131328
|
+
"privacy": "public",
|
|
131329
|
+
"static": true,
|
|
131330
|
+
"readonly": true,
|
|
131331
|
+
"default": "'radio'"
|
|
131332
|
+
},
|
|
131333
|
+
{
|
|
131334
|
+
"kind": "field",
|
|
131335
|
+
"name": "checked",
|
|
131336
|
+
"type": {
|
|
131337
|
+
"text": "boolean"
|
|
131338
|
+
},
|
|
131339
|
+
"privacy": "public",
|
|
131340
|
+
"default": "false",
|
|
131341
|
+
"description": "Whether the toggle-option is checked.",
|
|
131342
|
+
"attribute": "checked",
|
|
131343
|
+
"reflects": true
|
|
131344
|
+
},
|
|
131345
|
+
{
|
|
131346
|
+
"kind": "field",
|
|
131347
|
+
"name": "value",
|
|
131348
|
+
"type": {
|
|
131349
|
+
"text": "(T = string) | null"
|
|
131350
|
+
},
|
|
131351
|
+
"privacy": "public",
|
|
131352
|
+
"default": "null",
|
|
131353
|
+
"description": "Value of toggle-option.",
|
|
131354
|
+
"attribute": "value"
|
|
131355
|
+
},
|
|
131356
|
+
{
|
|
131357
|
+
"kind": "field",
|
|
131358
|
+
"name": "_toggle",
|
|
131359
|
+
"type": {
|
|
131360
|
+
"text": "SbbToggleElement | null"
|
|
131361
|
+
},
|
|
131362
|
+
"privacy": "private",
|
|
131363
|
+
"default": "null"
|
|
131364
|
+
},
|
|
131365
|
+
{
|
|
131366
|
+
"kind": "method",
|
|
131367
|
+
"name": "_uncheckOtherOptions",
|
|
131368
|
+
"privacy": "private",
|
|
131369
|
+
"return": {
|
|
131370
|
+
"type": {
|
|
131371
|
+
"text": "void"
|
|
131372
|
+
}
|
|
131373
|
+
}
|
|
131374
|
+
},
|
|
131375
|
+
{
|
|
131376
|
+
"kind": "method",
|
|
131377
|
+
"name": "_handleDisabledChange",
|
|
131378
|
+
"privacy": "private",
|
|
131379
|
+
"return": {
|
|
131380
|
+
"type": {
|
|
131381
|
+
"text": "void"
|
|
131382
|
+
}
|
|
131383
|
+
}
|
|
131384
|
+
},
|
|
131385
|
+
{
|
|
131386
|
+
"kind": "method",
|
|
131387
|
+
"name": "_handleInput",
|
|
131388
|
+
"privacy": "private",
|
|
131389
|
+
"return": {
|
|
131390
|
+
"type": {
|
|
131391
|
+
"text": "void"
|
|
131392
|
+
}
|
|
131393
|
+
}
|
|
131394
|
+
},
|
|
131395
|
+
{
|
|
131396
|
+
"kind": "method",
|
|
131397
|
+
"name": "_verifyTabindex",
|
|
131398
|
+
"privacy": "private",
|
|
131399
|
+
"return": {
|
|
131400
|
+
"type": {
|
|
131401
|
+
"text": "void"
|
|
131402
|
+
}
|
|
131403
|
+
}
|
|
131404
|
+
},
|
|
131405
|
+
{
|
|
131406
|
+
"kind": "field",
|
|
131407
|
+
"name": "disabled",
|
|
131408
|
+
"privacy": "public",
|
|
131409
|
+
"description": "Whether the component is disabled.",
|
|
131410
|
+
"default": "false",
|
|
131411
|
+
"type": {
|
|
131412
|
+
"text": "boolean"
|
|
131413
|
+
},
|
|
131414
|
+
"attribute": "disabled",
|
|
131415
|
+
"reflects": true,
|
|
131416
|
+
"inheritedFrom": {
|
|
131417
|
+
"name": "SbbDisabledMixin",
|
|
131418
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131419
|
+
}
|
|
131420
|
+
},
|
|
131421
|
+
{
|
|
131422
|
+
"kind": "field",
|
|
131423
|
+
"name": "#disabled",
|
|
131424
|
+
"privacy": "private",
|
|
131425
|
+
"type": {
|
|
131426
|
+
"text": "boolean"
|
|
131427
|
+
},
|
|
131428
|
+
"default": "false",
|
|
131429
|
+
"inheritedFrom": {
|
|
131430
|
+
"name": "SbbDisabledMixin",
|
|
131431
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131432
|
+
}
|
|
131433
|
+
},
|
|
131434
|
+
{
|
|
131435
|
+
"kind": "method",
|
|
131436
|
+
"name": "isDisabledExternally",
|
|
131437
|
+
"privacy": "protected",
|
|
131438
|
+
"return": {
|
|
131439
|
+
"type": {
|
|
131440
|
+
"text": "boolean"
|
|
131441
|
+
}
|
|
131442
|
+
},
|
|
131443
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
131444
|
+
"inheritedFrom": {
|
|
131445
|
+
"name": "SbbDisabledMixin",
|
|
131446
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131447
|
+
}
|
|
131448
|
+
},
|
|
131449
|
+
{
|
|
131450
|
+
"kind": "field",
|
|
131451
|
+
"name": "iconName",
|
|
131452
|
+
"type": {
|
|
131453
|
+
"text": "string"
|
|
131454
|
+
},
|
|
131455
|
+
"privacy": "public",
|
|
131456
|
+
"default": "''",
|
|
131457
|
+
"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.",
|
|
131458
|
+
"attribute": "icon-name",
|
|
131459
|
+
"inheritedFrom": {
|
|
131460
|
+
"name": "SbbIconNameMixin",
|
|
131461
|
+
"module": "icon/icon-name-mixin.js"
|
|
131462
|
+
}
|
|
131463
|
+
},
|
|
131464
|
+
{
|
|
131465
|
+
"kind": "method",
|
|
131466
|
+
"name": "renderIconSlot",
|
|
131467
|
+
"privacy": "protected",
|
|
131468
|
+
"return": {
|
|
131469
|
+
"type": {
|
|
131470
|
+
"text": "TemplateResult"
|
|
131471
|
+
}
|
|
131472
|
+
},
|
|
131473
|
+
"parameters": [
|
|
131474
|
+
{
|
|
131475
|
+
"name": "classname",
|
|
131476
|
+
"optional": true,
|
|
131477
|
+
"type": {
|
|
131478
|
+
"text": "string"
|
|
131479
|
+
}
|
|
131480
|
+
}
|
|
131481
|
+
],
|
|
131482
|
+
"inheritedFrom": {
|
|
131483
|
+
"name": "SbbIconNameMixin",
|
|
131484
|
+
"module": "icon/icon-name-mixin.js"
|
|
131485
|
+
}
|
|
131486
|
+
},
|
|
131487
|
+
{
|
|
131488
|
+
"kind": "method",
|
|
131489
|
+
"name": "renderIconName",
|
|
131490
|
+
"privacy": "protected",
|
|
131491
|
+
"return": {
|
|
131492
|
+
"type": {
|
|
131493
|
+
"text": "string"
|
|
131494
|
+
}
|
|
131495
|
+
},
|
|
131496
|
+
"inheritedFrom": {
|
|
131497
|
+
"name": "SbbIconNameMixin",
|
|
131498
|
+
"module": "icon/icon-name-mixin.js"
|
|
131499
|
+
}
|
|
131500
|
+
},
|
|
131501
|
+
{
|
|
131502
|
+
"kind": "method",
|
|
131503
|
+
"name": "_renderIconName",
|
|
131504
|
+
"privacy": "private",
|
|
131505
|
+
"return": {
|
|
131506
|
+
"type": {
|
|
131507
|
+
"text": "string"
|
|
131508
|
+
}
|
|
131509
|
+
},
|
|
131510
|
+
"inheritedFrom": {
|
|
131511
|
+
"name": "SbbIconNameMixin",
|
|
131512
|
+
"module": "icon/icon-name-mixin.js"
|
|
131513
|
+
}
|
|
131514
|
+
},
|
|
131515
|
+
{
|
|
131516
|
+
"kind": "field",
|
|
131517
|
+
"name": "_hydrationRequired",
|
|
131518
|
+
"type": {
|
|
131519
|
+
"text": "boolean"
|
|
131520
|
+
},
|
|
131521
|
+
"privacy": "private",
|
|
131522
|
+
"default": "!!this.shadowRoot",
|
|
131523
|
+
"inheritedFrom": {
|
|
131524
|
+
"name": "SbbElement",
|
|
131525
|
+
"module": "core/base-elements/element.js"
|
|
131526
|
+
}
|
|
131527
|
+
},
|
|
131528
|
+
{
|
|
131529
|
+
"kind": "field",
|
|
131530
|
+
"name": "_hydrationComplete",
|
|
131531
|
+
"privacy": "private",
|
|
131532
|
+
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
131533
|
+
"inheritedFrom": {
|
|
131534
|
+
"name": "SbbElement",
|
|
131535
|
+
"module": "core/base-elements/element.js"
|
|
131536
|
+
}
|
|
131537
|
+
},
|
|
131538
|
+
{
|
|
131539
|
+
"kind": "field",
|
|
131540
|
+
"name": "_resolveHydration",
|
|
131541
|
+
"type": {
|
|
131542
|
+
"text": "(hydrationRequired: boolean) => void"
|
|
131543
|
+
},
|
|
131544
|
+
"privacy": "private",
|
|
131545
|
+
"inheritedFrom": {
|
|
131546
|
+
"name": "SbbElement",
|
|
131547
|
+
"module": "core/base-elements/element.js"
|
|
131548
|
+
}
|
|
131549
|
+
},
|
|
131550
|
+
{
|
|
131551
|
+
"kind": "field",
|
|
131552
|
+
"name": "hydrationRequired",
|
|
131553
|
+
"type": {
|
|
131554
|
+
"text": "boolean"
|
|
131555
|
+
},
|
|
131556
|
+
"privacy": "protected",
|
|
131557
|
+
"description": "Returns whether hydration is required and not completed.",
|
|
131558
|
+
"readonly": true,
|
|
131559
|
+
"inheritedFrom": {
|
|
131560
|
+
"name": "SbbElement",
|
|
131561
|
+
"module": "core/base-elements/element.js"
|
|
131562
|
+
},
|
|
131563
|
+
"default": "!!this.shadowRoot"
|
|
131564
|
+
},
|
|
131565
|
+
{
|
|
131566
|
+
"kind": "method",
|
|
131567
|
+
"name": "toggleState",
|
|
131568
|
+
"privacy": "protected",
|
|
131569
|
+
"return": {
|
|
131570
|
+
"type": {
|
|
131571
|
+
"text": "void"
|
|
131572
|
+
}
|
|
131573
|
+
},
|
|
131574
|
+
"parameters": [
|
|
131575
|
+
{
|
|
131576
|
+
"name": "value",
|
|
131577
|
+
"type": {
|
|
131578
|
+
"text": "string"
|
|
131579
|
+
}
|
|
131580
|
+
},
|
|
131581
|
+
{
|
|
131582
|
+
"name": "force",
|
|
131583
|
+
"optional": true,
|
|
131584
|
+
"type": {
|
|
131585
|
+
"text": "boolean"
|
|
131586
|
+
}
|
|
131587
|
+
}
|
|
131588
|
+
],
|
|
131589
|
+
"inheritedFrom": {
|
|
131590
|
+
"name": "SbbElement",
|
|
131591
|
+
"module": "core/base-elements/element.js"
|
|
131592
|
+
}
|
|
131593
|
+
},
|
|
131594
|
+
{
|
|
131595
|
+
"kind": "field",
|
|
131596
|
+
"name": "['_$sbbElement$']",
|
|
131597
|
+
"type": {
|
|
131598
|
+
"text": "boolean"
|
|
131599
|
+
},
|
|
131600
|
+
"privacy": "public",
|
|
131601
|
+
"static": true,
|
|
131602
|
+
"default": "true",
|
|
131603
|
+
"inheritedFrom": {
|
|
131604
|
+
"name": "SbbElement",
|
|
131605
|
+
"module": "core/base-elements/element.js"
|
|
131606
|
+
}
|
|
131607
|
+
},
|
|
131608
|
+
{
|
|
131609
|
+
"kind": "field",
|
|
131610
|
+
"name": "_controllers",
|
|
131611
|
+
"type": {
|
|
131612
|
+
"text": "Set<SbbReactiveController> | undefined"
|
|
131613
|
+
},
|
|
131614
|
+
"privacy": "private",
|
|
131615
|
+
"inheritedFrom": {
|
|
131616
|
+
"name": "SbbElement",
|
|
131617
|
+
"module": "core/base-elements/element.js"
|
|
131618
|
+
}
|
|
131619
|
+
}
|
|
131620
|
+
],
|
|
131621
|
+
"events": [
|
|
131622
|
+
{
|
|
131623
|
+
"type": {
|
|
131624
|
+
"text": "InputEvent"
|
|
131625
|
+
},
|
|
131626
|
+
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
131627
|
+
"name": "input"
|
|
131628
|
+
}
|
|
131629
|
+
],
|
|
131630
|
+
"attributes": [
|
|
131631
|
+
{
|
|
131632
|
+
"name": "checked",
|
|
131633
|
+
"type": {
|
|
131634
|
+
"text": "boolean"
|
|
131635
|
+
},
|
|
131636
|
+
"default": "false",
|
|
131637
|
+
"description": "Whether the toggle-option is checked.",
|
|
131638
|
+
"fieldName": "checked"
|
|
131639
|
+
},
|
|
131640
|
+
{
|
|
131641
|
+
"name": "value",
|
|
131642
|
+
"type": {
|
|
131643
|
+
"text": "T | null"
|
|
131644
|
+
},
|
|
131645
|
+
"default": "null",
|
|
131646
|
+
"description": "Value of toggle-option.",
|
|
131647
|
+
"fieldName": "value"
|
|
131648
|
+
},
|
|
131649
|
+
{
|
|
131650
|
+
"name": "disabled",
|
|
131651
|
+
"description": "Whether the component is disabled.",
|
|
131652
|
+
"default": "false",
|
|
131653
|
+
"type": {
|
|
131654
|
+
"text": "boolean"
|
|
131655
|
+
},
|
|
131656
|
+
"fieldName": "disabled",
|
|
131657
|
+
"inheritedFrom": {
|
|
131658
|
+
"name": "SbbDisabledMixin",
|
|
131659
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
131660
|
+
}
|
|
131661
|
+
},
|
|
131662
|
+
{
|
|
131663
|
+
"name": "icon-name",
|
|
131664
|
+
"type": {
|
|
131665
|
+
"text": "string"
|
|
131666
|
+
},
|
|
131667
|
+
"default": "''",
|
|
131668
|
+
"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.",
|
|
131669
|
+
"fieldName": "iconName",
|
|
131670
|
+
"inheritedFrom": {
|
|
131671
|
+
"name": "SbbIconNameMixin",
|
|
131672
|
+
"module": "icon/icon-name-mixin.js"
|
|
131673
|
+
}
|
|
131674
|
+
}
|
|
131675
|
+
],
|
|
131676
|
+
"mixins": [
|
|
131677
|
+
{
|
|
131678
|
+
"name": "SbbDisabledMixin",
|
|
131679
|
+
"module": "core/mixins.js"
|
|
131680
|
+
},
|
|
131681
|
+
{
|
|
131682
|
+
"name": "SbbIconNameMixin",
|
|
131683
|
+
"module": "icon.js"
|
|
131684
|
+
}
|
|
131685
|
+
],
|
|
131686
|
+
"superclass": {
|
|
131687
|
+
"name": "SbbElement",
|
|
131688
|
+
"module": "core/base-elements.js"
|
|
131689
|
+
},
|
|
131690
|
+
"tagName": "sbb-toggle-option",
|
|
131691
|
+
"customElement": true,
|
|
131692
|
+
"classGenerics": "T = string"
|
|
131693
|
+
}
|
|
131694
|
+
],
|
|
131695
|
+
"exports": [
|
|
131696
|
+
{
|
|
131697
|
+
"kind": "js",
|
|
131698
|
+
"name": "SbbToggleOptionElement",
|
|
131699
|
+
"declaration": {
|
|
131700
|
+
"name": "SbbToggleOptionElement",
|
|
131701
|
+
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
131702
|
+
}
|
|
131703
|
+
}
|
|
131704
|
+
]
|
|
131705
|
+
},
|
|
131288
131706
|
{
|
|
131289
131707
|
"kind": "javascript-module",
|
|
131290
131708
|
"path": "toggle/toggle/toggle.component.js",
|
|
@@ -132054,424 +132472,6 @@
|
|
|
132054
132472
|
}
|
|
132055
132473
|
]
|
|
132056
132474
|
},
|
|
132057
|
-
{
|
|
132058
|
-
"kind": "javascript-module",
|
|
132059
|
-
"path": "toggle/toggle-option/toggle-option.component.js",
|
|
132060
|
-
"declarations": [
|
|
132061
|
-
{
|
|
132062
|
-
"kind": "class",
|
|
132063
|
-
"description": "It displays a toggle option within a `sbb-toggle`.",
|
|
132064
|
-
"name": "SbbToggleOptionElement",
|
|
132065
|
-
"slots": [
|
|
132066
|
-
{
|
|
132067
|
-
"description": "Use the unnamed slot to add content to the label of the toggle option.",
|
|
132068
|
-
"name": ""
|
|
132069
|
-
},
|
|
132070
|
-
{
|
|
132071
|
-
"description": "Slot used to render the `sbb-icon`.",
|
|
132072
|
-
"name": "icon"
|
|
132073
|
-
}
|
|
132074
|
-
],
|
|
132075
|
-
"members": [
|
|
132076
|
-
{
|
|
132077
|
-
"kind": "field",
|
|
132078
|
-
"name": "elementName",
|
|
132079
|
-
"type": {
|
|
132080
|
-
"text": "string"
|
|
132081
|
-
},
|
|
132082
|
-
"privacy": "public",
|
|
132083
|
-
"static": true,
|
|
132084
|
-
"readonly": true,
|
|
132085
|
-
"default": "'sbb-toggle-option'",
|
|
132086
|
-
"inheritedFrom": {
|
|
132087
|
-
"name": "SbbElement",
|
|
132088
|
-
"module": "core/base-elements/element.js"
|
|
132089
|
-
}
|
|
132090
|
-
},
|
|
132091
|
-
{
|
|
132092
|
-
"kind": "field",
|
|
132093
|
-
"name": "role",
|
|
132094
|
-
"type": {
|
|
132095
|
-
"text": "string"
|
|
132096
|
-
},
|
|
132097
|
-
"privacy": "public",
|
|
132098
|
-
"static": true,
|
|
132099
|
-
"readonly": true,
|
|
132100
|
-
"default": "'radio'"
|
|
132101
|
-
},
|
|
132102
|
-
{
|
|
132103
|
-
"kind": "field",
|
|
132104
|
-
"name": "checked",
|
|
132105
|
-
"type": {
|
|
132106
|
-
"text": "boolean"
|
|
132107
|
-
},
|
|
132108
|
-
"privacy": "public",
|
|
132109
|
-
"default": "false",
|
|
132110
|
-
"description": "Whether the toggle-option is checked.",
|
|
132111
|
-
"attribute": "checked",
|
|
132112
|
-
"reflects": true
|
|
132113
|
-
},
|
|
132114
|
-
{
|
|
132115
|
-
"kind": "field",
|
|
132116
|
-
"name": "value",
|
|
132117
|
-
"type": {
|
|
132118
|
-
"text": "(T = string) | null"
|
|
132119
|
-
},
|
|
132120
|
-
"privacy": "public",
|
|
132121
|
-
"default": "null",
|
|
132122
|
-
"description": "Value of toggle-option.",
|
|
132123
|
-
"attribute": "value"
|
|
132124
|
-
},
|
|
132125
|
-
{
|
|
132126
|
-
"kind": "field",
|
|
132127
|
-
"name": "_toggle",
|
|
132128
|
-
"type": {
|
|
132129
|
-
"text": "SbbToggleElement | null"
|
|
132130
|
-
},
|
|
132131
|
-
"privacy": "private",
|
|
132132
|
-
"default": "null"
|
|
132133
|
-
},
|
|
132134
|
-
{
|
|
132135
|
-
"kind": "method",
|
|
132136
|
-
"name": "_uncheckOtherOptions",
|
|
132137
|
-
"privacy": "private",
|
|
132138
|
-
"return": {
|
|
132139
|
-
"type": {
|
|
132140
|
-
"text": "void"
|
|
132141
|
-
}
|
|
132142
|
-
}
|
|
132143
|
-
},
|
|
132144
|
-
{
|
|
132145
|
-
"kind": "method",
|
|
132146
|
-
"name": "_handleDisabledChange",
|
|
132147
|
-
"privacy": "private",
|
|
132148
|
-
"return": {
|
|
132149
|
-
"type": {
|
|
132150
|
-
"text": "void"
|
|
132151
|
-
}
|
|
132152
|
-
}
|
|
132153
|
-
},
|
|
132154
|
-
{
|
|
132155
|
-
"kind": "method",
|
|
132156
|
-
"name": "_handleInput",
|
|
132157
|
-
"privacy": "private",
|
|
132158
|
-
"return": {
|
|
132159
|
-
"type": {
|
|
132160
|
-
"text": "void"
|
|
132161
|
-
}
|
|
132162
|
-
}
|
|
132163
|
-
},
|
|
132164
|
-
{
|
|
132165
|
-
"kind": "method",
|
|
132166
|
-
"name": "_verifyTabindex",
|
|
132167
|
-
"privacy": "private",
|
|
132168
|
-
"return": {
|
|
132169
|
-
"type": {
|
|
132170
|
-
"text": "void"
|
|
132171
|
-
}
|
|
132172
|
-
}
|
|
132173
|
-
},
|
|
132174
|
-
{
|
|
132175
|
-
"kind": "field",
|
|
132176
|
-
"name": "disabled",
|
|
132177
|
-
"privacy": "public",
|
|
132178
|
-
"description": "Whether the component is disabled.",
|
|
132179
|
-
"default": "false",
|
|
132180
|
-
"type": {
|
|
132181
|
-
"text": "boolean"
|
|
132182
|
-
},
|
|
132183
|
-
"attribute": "disabled",
|
|
132184
|
-
"reflects": true,
|
|
132185
|
-
"inheritedFrom": {
|
|
132186
|
-
"name": "SbbDisabledMixin",
|
|
132187
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132188
|
-
}
|
|
132189
|
-
},
|
|
132190
|
-
{
|
|
132191
|
-
"kind": "field",
|
|
132192
|
-
"name": "#disabled",
|
|
132193
|
-
"privacy": "private",
|
|
132194
|
-
"type": {
|
|
132195
|
-
"text": "boolean"
|
|
132196
|
-
},
|
|
132197
|
-
"default": "false",
|
|
132198
|
-
"inheritedFrom": {
|
|
132199
|
-
"name": "SbbDisabledMixin",
|
|
132200
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132201
|
-
}
|
|
132202
|
-
},
|
|
132203
|
-
{
|
|
132204
|
-
"kind": "method",
|
|
132205
|
-
"name": "isDisabledExternally",
|
|
132206
|
-
"privacy": "protected",
|
|
132207
|
-
"return": {
|
|
132208
|
-
"type": {
|
|
132209
|
-
"text": "boolean"
|
|
132210
|
-
}
|
|
132211
|
-
},
|
|
132212
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
132213
|
-
"inheritedFrom": {
|
|
132214
|
-
"name": "SbbDisabledMixin",
|
|
132215
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132216
|
-
}
|
|
132217
|
-
},
|
|
132218
|
-
{
|
|
132219
|
-
"kind": "field",
|
|
132220
|
-
"name": "iconName",
|
|
132221
|
-
"type": {
|
|
132222
|
-
"text": "string"
|
|
132223
|
-
},
|
|
132224
|
-
"privacy": "public",
|
|
132225
|
-
"default": "''",
|
|
132226
|
-
"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.",
|
|
132227
|
-
"attribute": "icon-name",
|
|
132228
|
-
"inheritedFrom": {
|
|
132229
|
-
"name": "SbbIconNameMixin",
|
|
132230
|
-
"module": "icon/icon-name-mixin.js"
|
|
132231
|
-
}
|
|
132232
|
-
},
|
|
132233
|
-
{
|
|
132234
|
-
"kind": "method",
|
|
132235
|
-
"name": "renderIconSlot",
|
|
132236
|
-
"privacy": "protected",
|
|
132237
|
-
"return": {
|
|
132238
|
-
"type": {
|
|
132239
|
-
"text": "TemplateResult"
|
|
132240
|
-
}
|
|
132241
|
-
},
|
|
132242
|
-
"parameters": [
|
|
132243
|
-
{
|
|
132244
|
-
"name": "classname",
|
|
132245
|
-
"optional": true,
|
|
132246
|
-
"type": {
|
|
132247
|
-
"text": "string"
|
|
132248
|
-
}
|
|
132249
|
-
}
|
|
132250
|
-
],
|
|
132251
|
-
"inheritedFrom": {
|
|
132252
|
-
"name": "SbbIconNameMixin",
|
|
132253
|
-
"module": "icon/icon-name-mixin.js"
|
|
132254
|
-
}
|
|
132255
|
-
},
|
|
132256
|
-
{
|
|
132257
|
-
"kind": "method",
|
|
132258
|
-
"name": "renderIconName",
|
|
132259
|
-
"privacy": "protected",
|
|
132260
|
-
"return": {
|
|
132261
|
-
"type": {
|
|
132262
|
-
"text": "string"
|
|
132263
|
-
}
|
|
132264
|
-
},
|
|
132265
|
-
"inheritedFrom": {
|
|
132266
|
-
"name": "SbbIconNameMixin",
|
|
132267
|
-
"module": "icon/icon-name-mixin.js"
|
|
132268
|
-
}
|
|
132269
|
-
},
|
|
132270
|
-
{
|
|
132271
|
-
"kind": "method",
|
|
132272
|
-
"name": "_renderIconName",
|
|
132273
|
-
"privacy": "private",
|
|
132274
|
-
"return": {
|
|
132275
|
-
"type": {
|
|
132276
|
-
"text": "string"
|
|
132277
|
-
}
|
|
132278
|
-
},
|
|
132279
|
-
"inheritedFrom": {
|
|
132280
|
-
"name": "SbbIconNameMixin",
|
|
132281
|
-
"module": "icon/icon-name-mixin.js"
|
|
132282
|
-
}
|
|
132283
|
-
},
|
|
132284
|
-
{
|
|
132285
|
-
"kind": "field",
|
|
132286
|
-
"name": "_hydrationRequired",
|
|
132287
|
-
"type": {
|
|
132288
|
-
"text": "boolean"
|
|
132289
|
-
},
|
|
132290
|
-
"privacy": "private",
|
|
132291
|
-
"default": "!!this.shadowRoot",
|
|
132292
|
-
"inheritedFrom": {
|
|
132293
|
-
"name": "SbbElement",
|
|
132294
|
-
"module": "core/base-elements/element.js"
|
|
132295
|
-
}
|
|
132296
|
-
},
|
|
132297
|
-
{
|
|
132298
|
-
"kind": "field",
|
|
132299
|
-
"name": "_hydrationComplete",
|
|
132300
|
-
"privacy": "private",
|
|
132301
|
-
"default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
|
|
132302
|
-
"inheritedFrom": {
|
|
132303
|
-
"name": "SbbElement",
|
|
132304
|
-
"module": "core/base-elements/element.js"
|
|
132305
|
-
}
|
|
132306
|
-
},
|
|
132307
|
-
{
|
|
132308
|
-
"kind": "field",
|
|
132309
|
-
"name": "_resolveHydration",
|
|
132310
|
-
"type": {
|
|
132311
|
-
"text": "(hydrationRequired: boolean) => void"
|
|
132312
|
-
},
|
|
132313
|
-
"privacy": "private",
|
|
132314
|
-
"inheritedFrom": {
|
|
132315
|
-
"name": "SbbElement",
|
|
132316
|
-
"module": "core/base-elements/element.js"
|
|
132317
|
-
}
|
|
132318
|
-
},
|
|
132319
|
-
{
|
|
132320
|
-
"kind": "field",
|
|
132321
|
-
"name": "hydrationRequired",
|
|
132322
|
-
"type": {
|
|
132323
|
-
"text": "boolean"
|
|
132324
|
-
},
|
|
132325
|
-
"privacy": "protected",
|
|
132326
|
-
"description": "Returns whether hydration is required and not completed.",
|
|
132327
|
-
"readonly": true,
|
|
132328
|
-
"inheritedFrom": {
|
|
132329
|
-
"name": "SbbElement",
|
|
132330
|
-
"module": "core/base-elements/element.js"
|
|
132331
|
-
},
|
|
132332
|
-
"default": "!!this.shadowRoot"
|
|
132333
|
-
},
|
|
132334
|
-
{
|
|
132335
|
-
"kind": "method",
|
|
132336
|
-
"name": "toggleState",
|
|
132337
|
-
"privacy": "protected",
|
|
132338
|
-
"return": {
|
|
132339
|
-
"type": {
|
|
132340
|
-
"text": "void"
|
|
132341
|
-
}
|
|
132342
|
-
},
|
|
132343
|
-
"parameters": [
|
|
132344
|
-
{
|
|
132345
|
-
"name": "value",
|
|
132346
|
-
"type": {
|
|
132347
|
-
"text": "string"
|
|
132348
|
-
}
|
|
132349
|
-
},
|
|
132350
|
-
{
|
|
132351
|
-
"name": "force",
|
|
132352
|
-
"optional": true,
|
|
132353
|
-
"type": {
|
|
132354
|
-
"text": "boolean"
|
|
132355
|
-
}
|
|
132356
|
-
}
|
|
132357
|
-
],
|
|
132358
|
-
"inheritedFrom": {
|
|
132359
|
-
"name": "SbbElement",
|
|
132360
|
-
"module": "core/base-elements/element.js"
|
|
132361
|
-
}
|
|
132362
|
-
},
|
|
132363
|
-
{
|
|
132364
|
-
"kind": "field",
|
|
132365
|
-
"name": "['_$sbbElement$']",
|
|
132366
|
-
"type": {
|
|
132367
|
-
"text": "boolean"
|
|
132368
|
-
},
|
|
132369
|
-
"privacy": "public",
|
|
132370
|
-
"static": true,
|
|
132371
|
-
"default": "true",
|
|
132372
|
-
"inheritedFrom": {
|
|
132373
|
-
"name": "SbbElement",
|
|
132374
|
-
"module": "core/base-elements/element.js"
|
|
132375
|
-
}
|
|
132376
|
-
},
|
|
132377
|
-
{
|
|
132378
|
-
"kind": "field",
|
|
132379
|
-
"name": "_controllers",
|
|
132380
|
-
"type": {
|
|
132381
|
-
"text": "Set<SbbReactiveController> | undefined"
|
|
132382
|
-
},
|
|
132383
|
-
"privacy": "private",
|
|
132384
|
-
"inheritedFrom": {
|
|
132385
|
-
"name": "SbbElement",
|
|
132386
|
-
"module": "core/base-elements/element.js"
|
|
132387
|
-
}
|
|
132388
|
-
}
|
|
132389
|
-
],
|
|
132390
|
-
"events": [
|
|
132391
|
-
{
|
|
132392
|
-
"type": {
|
|
132393
|
-
"text": "InputEvent"
|
|
132394
|
-
},
|
|
132395
|
-
"description": "The input event fires when the value has been changed as a direct result of a user action.",
|
|
132396
|
-
"name": "input"
|
|
132397
|
-
}
|
|
132398
|
-
],
|
|
132399
|
-
"attributes": [
|
|
132400
|
-
{
|
|
132401
|
-
"name": "checked",
|
|
132402
|
-
"type": {
|
|
132403
|
-
"text": "boolean"
|
|
132404
|
-
},
|
|
132405
|
-
"default": "false",
|
|
132406
|
-
"description": "Whether the toggle-option is checked.",
|
|
132407
|
-
"fieldName": "checked"
|
|
132408
|
-
},
|
|
132409
|
-
{
|
|
132410
|
-
"name": "value",
|
|
132411
|
-
"type": {
|
|
132412
|
-
"text": "T | null"
|
|
132413
|
-
},
|
|
132414
|
-
"default": "null",
|
|
132415
|
-
"description": "Value of toggle-option.",
|
|
132416
|
-
"fieldName": "value"
|
|
132417
|
-
},
|
|
132418
|
-
{
|
|
132419
|
-
"name": "disabled",
|
|
132420
|
-
"description": "Whether the component is disabled.",
|
|
132421
|
-
"default": "false",
|
|
132422
|
-
"type": {
|
|
132423
|
-
"text": "boolean"
|
|
132424
|
-
},
|
|
132425
|
-
"fieldName": "disabled",
|
|
132426
|
-
"inheritedFrom": {
|
|
132427
|
-
"name": "SbbDisabledMixin",
|
|
132428
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
132429
|
-
}
|
|
132430
|
-
},
|
|
132431
|
-
{
|
|
132432
|
-
"name": "icon-name",
|
|
132433
|
-
"type": {
|
|
132434
|
-
"text": "string"
|
|
132435
|
-
},
|
|
132436
|
-
"default": "''",
|
|
132437
|
-
"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.",
|
|
132438
|
-
"fieldName": "iconName",
|
|
132439
|
-
"inheritedFrom": {
|
|
132440
|
-
"name": "SbbIconNameMixin",
|
|
132441
|
-
"module": "icon/icon-name-mixin.js"
|
|
132442
|
-
}
|
|
132443
|
-
}
|
|
132444
|
-
],
|
|
132445
|
-
"mixins": [
|
|
132446
|
-
{
|
|
132447
|
-
"name": "SbbDisabledMixin",
|
|
132448
|
-
"module": "core/mixins.js"
|
|
132449
|
-
},
|
|
132450
|
-
{
|
|
132451
|
-
"name": "SbbIconNameMixin",
|
|
132452
|
-
"module": "icon.js"
|
|
132453
|
-
}
|
|
132454
|
-
],
|
|
132455
|
-
"superclass": {
|
|
132456
|
-
"name": "SbbElement",
|
|
132457
|
-
"module": "core/base-elements.js"
|
|
132458
|
-
},
|
|
132459
|
-
"tagName": "sbb-toggle-option",
|
|
132460
|
-
"customElement": true,
|
|
132461
|
-
"classGenerics": "T = string"
|
|
132462
|
-
}
|
|
132463
|
-
],
|
|
132464
|
-
"exports": [
|
|
132465
|
-
{
|
|
132466
|
-
"kind": "js",
|
|
132467
|
-
"name": "SbbToggleOptionElement",
|
|
132468
|
-
"declaration": {
|
|
132469
|
-
"name": "SbbToggleOptionElement",
|
|
132470
|
-
"module": "toggle/toggle-option/toggle-option.component.js"
|
|
132471
|
-
}
|
|
132472
|
-
}
|
|
132473
|
-
]
|
|
132474
|
-
},
|
|
132475
132475
|
{
|
|
132476
132476
|
"kind": "javascript-module",
|
|
132477
132477
|
"path": "train/train/train.component.js",
|
package/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sbb-esta/lyne-elements-dev",
|
|
3
|
-
"version": "4.11.0-dev.
|
|
3
|
+
"version": "4.11.0-dev.1777273102",
|
|
4
4
|
"description": "Lyne Design System",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"design system",
|
|
7
7
|
"web components",
|
|
8
8
|
"lit",
|
|
9
|
-
"https://github.com/sbb-design-systems/lyne-components/commit/
|
|
9
|
+
"https://github.com/sbb-design-systems/lyne-components/commit/06dde4e4ee160cb71471ad88c3a443d39be88fc9"
|
|
10
10
|
],
|
|
11
11
|
"type": "module",
|
|
12
12
|
"exports": {
|