@sbb-esta/lyne-elements 4.0.0-next.4 → 4.0.0
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 +1617 -1617
- package/package.json +1 -1
package/custom-elements.json
CHANGED
|
@@ -12455,6 +12455,83 @@
|
|
|
12455
12455
|
}
|
|
12456
12456
|
]
|
|
12457
12457
|
},
|
|
12458
|
+
{
|
|
12459
|
+
"kind": "javascript-module",
|
|
12460
|
+
"path": "message/message.component.js",
|
|
12461
|
+
"declarations": [
|
|
12462
|
+
{
|
|
12463
|
+
"kind": "class",
|
|
12464
|
+
"description": "It displays a complex message combining a title, an image, an action and some content.",
|
|
12465
|
+
"name": "SbbMessageElement",
|
|
12466
|
+
"slots": [
|
|
12467
|
+
{
|
|
12468
|
+
"description": "Use this slot to provide an `sbb-image` component.",
|
|
12469
|
+
"name": "image"
|
|
12470
|
+
},
|
|
12471
|
+
{
|
|
12472
|
+
"description": "Use this slot to provide an `sbb-title`.",
|
|
12473
|
+
"name": "title"
|
|
12474
|
+
},
|
|
12475
|
+
{
|
|
12476
|
+
"description": "Use this slot to provide a subtitle, must be a paragraph.",
|
|
12477
|
+
"name": "subtitle"
|
|
12478
|
+
},
|
|
12479
|
+
{
|
|
12480
|
+
"description": "Use this slot to provide a legend, must be a paragraph.",
|
|
12481
|
+
"name": "legend"
|
|
12482
|
+
},
|
|
12483
|
+
{
|
|
12484
|
+
"description": "Use this slot to provide an `sbb-secondary-button`.",
|
|
12485
|
+
"name": "action"
|
|
12486
|
+
}
|
|
12487
|
+
],
|
|
12488
|
+
"members": [
|
|
12489
|
+
{
|
|
12490
|
+
"kind": "method",
|
|
12491
|
+
"name": "_configureTitle",
|
|
12492
|
+
"privacy": "private",
|
|
12493
|
+
"return": {
|
|
12494
|
+
"type": {
|
|
12495
|
+
"text": "void"
|
|
12496
|
+
}
|
|
12497
|
+
},
|
|
12498
|
+
"parameters": [
|
|
12499
|
+
{
|
|
12500
|
+
"name": "event",
|
|
12501
|
+
"type": {
|
|
12502
|
+
"text": "Event"
|
|
12503
|
+
}
|
|
12504
|
+
}
|
|
12505
|
+
]
|
|
12506
|
+
}
|
|
12507
|
+
],
|
|
12508
|
+
"superclass": {
|
|
12509
|
+
"name": "LitElement",
|
|
12510
|
+
"package": "lit"
|
|
12511
|
+
},
|
|
12512
|
+
"tagName": "sbb-message",
|
|
12513
|
+
"customElement": true
|
|
12514
|
+
}
|
|
12515
|
+
],
|
|
12516
|
+
"exports": [
|
|
12517
|
+
{
|
|
12518
|
+
"kind": "js",
|
|
12519
|
+
"name": "SbbMessageElement",
|
|
12520
|
+
"declaration": {
|
|
12521
|
+
"name": "SbbMessageElement",
|
|
12522
|
+
"module": "message/message.component.js"
|
|
12523
|
+
}
|
|
12524
|
+
},
|
|
12525
|
+
{
|
|
12526
|
+
"kind": "custom-element-definition",
|
|
12527
|
+
"name": "sbb-message",
|
|
12528
|
+
"declaration": {
|
|
12529
|
+
"name": "SbbMessageElement",
|
|
12530
|
+
"module": "message/message.component.js"
|
|
12531
|
+
}
|
|
12532
|
+
}
|
|
12533
|
+
]
|
|
12534
|
+
},
|
|
12458
12535
|
{
|
|
12459
12536
|
"kind": "javascript-module",
|
|
12460
12537
|
"path": "mini-calendar/mini-calendar-day.js",
|
|
@@ -12605,83 +12682,6 @@
|
|
|
12605
12682
|
}
|
|
12606
12683
|
]
|
|
12607
12684
|
},
|
|
12608
|
-
{
|
|
12609
|
-
"kind": "javascript-module",
|
|
12610
|
-
"path": "message/message.component.js",
|
|
12611
|
-
"declarations": [
|
|
12612
|
-
{
|
|
12613
|
-
"kind": "class",
|
|
12614
|
-
"description": "It displays a complex message combining a title, an image, an action and some content.",
|
|
12615
|
-
"name": "SbbMessageElement",
|
|
12616
|
-
"slots": [
|
|
12617
|
-
{
|
|
12618
|
-
"description": "Use this slot to provide an `sbb-image` component.",
|
|
12619
|
-
"name": "image"
|
|
12620
|
-
},
|
|
12621
|
-
{
|
|
12622
|
-
"description": "Use this slot to provide an `sbb-title`.",
|
|
12623
|
-
"name": "title"
|
|
12624
|
-
},
|
|
12625
|
-
{
|
|
12626
|
-
"description": "Use this slot to provide a subtitle, must be a paragraph.",
|
|
12627
|
-
"name": "subtitle"
|
|
12628
|
-
},
|
|
12629
|
-
{
|
|
12630
|
-
"description": "Use this slot to provide a legend, must be a paragraph.",
|
|
12631
|
-
"name": "legend"
|
|
12632
|
-
},
|
|
12633
|
-
{
|
|
12634
|
-
"description": "Use this slot to provide an `sbb-secondary-button`.",
|
|
12635
|
-
"name": "action"
|
|
12636
|
-
}
|
|
12637
|
-
],
|
|
12638
|
-
"members": [
|
|
12639
|
-
{
|
|
12640
|
-
"kind": "method",
|
|
12641
|
-
"name": "_configureTitle",
|
|
12642
|
-
"privacy": "private",
|
|
12643
|
-
"return": {
|
|
12644
|
-
"type": {
|
|
12645
|
-
"text": "void"
|
|
12646
|
-
}
|
|
12647
|
-
},
|
|
12648
|
-
"parameters": [
|
|
12649
|
-
{
|
|
12650
|
-
"name": "event",
|
|
12651
|
-
"type": {
|
|
12652
|
-
"text": "Event"
|
|
12653
|
-
}
|
|
12654
|
-
}
|
|
12655
|
-
]
|
|
12656
|
-
}
|
|
12657
|
-
],
|
|
12658
|
-
"superclass": {
|
|
12659
|
-
"name": "LitElement",
|
|
12660
|
-
"package": "lit"
|
|
12661
|
-
},
|
|
12662
|
-
"tagName": "sbb-message",
|
|
12663
|
-
"customElement": true
|
|
12664
|
-
}
|
|
12665
|
-
],
|
|
12666
|
-
"exports": [
|
|
12667
|
-
{
|
|
12668
|
-
"kind": "js",
|
|
12669
|
-
"name": "SbbMessageElement",
|
|
12670
|
-
"declaration": {
|
|
12671
|
-
"name": "SbbMessageElement",
|
|
12672
|
-
"module": "message/message.component.js"
|
|
12673
|
-
}
|
|
12674
|
-
},
|
|
12675
|
-
{
|
|
12676
|
-
"kind": "custom-element-definition",
|
|
12677
|
-
"name": "sbb-message",
|
|
12678
|
-
"declaration": {
|
|
12679
|
-
"name": "SbbMessageElement",
|
|
12680
|
-
"module": "message/message.component.js"
|
|
12681
|
-
}
|
|
12682
|
-
}
|
|
12683
|
-
]
|
|
12684
|
-
},
|
|
12685
12685
|
{
|
|
12686
12686
|
"kind": "javascript-module",
|
|
12687
12687
|
"path": "notification/notification.component.js",
|
|
@@ -16277,48 +16277,6 @@
|
|
|
16277
16277
|
}
|
|
16278
16278
|
]
|
|
16279
16279
|
},
|
|
16280
|
-
{
|
|
16281
|
-
"kind": "javascript-module",
|
|
16282
|
-
"path": "screen-reader-only/screen-reader-only.component.js",
|
|
16283
|
-
"declarations": [
|
|
16284
|
-
{
|
|
16285
|
-
"kind": "class",
|
|
16286
|
-
"description": "This component can be used to visually hide content but present it to screen readers.",
|
|
16287
|
-
"name": "SbbScreenReaderOnlyElement",
|
|
16288
|
-
"slots": [
|
|
16289
|
-
{
|
|
16290
|
-
"description": "Use the unnamed slot to provide content.",
|
|
16291
|
-
"name": ""
|
|
16292
|
-
}
|
|
16293
|
-
],
|
|
16294
|
-
"members": [],
|
|
16295
|
-
"superclass": {
|
|
16296
|
-
"name": "LitElement",
|
|
16297
|
-
"package": "lit"
|
|
16298
|
-
},
|
|
16299
|
-
"tagName": "sbb-screen-reader-only",
|
|
16300
|
-
"customElement": true
|
|
16301
|
-
}
|
|
16302
|
-
],
|
|
16303
|
-
"exports": [
|
|
16304
|
-
{
|
|
16305
|
-
"kind": "js",
|
|
16306
|
-
"name": "SbbScreenReaderOnlyElement",
|
|
16307
|
-
"declaration": {
|
|
16308
|
-
"name": "SbbScreenReaderOnlyElement",
|
|
16309
|
-
"module": "screen-reader-only/screen-reader-only.component.js"
|
|
16310
|
-
}
|
|
16311
|
-
},
|
|
16312
|
-
{
|
|
16313
|
-
"kind": "custom-element-definition",
|
|
16314
|
-
"name": "sbb-screen-reader-only",
|
|
16315
|
-
"declaration": {
|
|
16316
|
-
"name": "SbbScreenReaderOnlyElement",
|
|
16317
|
-
"module": "screen-reader-only/screen-reader-only.component.js"
|
|
16318
|
-
}
|
|
16319
|
-
}
|
|
16320
|
-
]
|
|
16321
|
-
},
|
|
16322
16280
|
{
|
|
16323
16281
|
"kind": "javascript-module",
|
|
16324
16282
|
"path": "radio-button/common.js",
|
|
@@ -16387,6 +16345,48 @@
|
|
|
16387
16345
|
}
|
|
16388
16346
|
]
|
|
16389
16347
|
},
|
|
16348
|
+
{
|
|
16349
|
+
"kind": "javascript-module",
|
|
16350
|
+
"path": "screen-reader-only/screen-reader-only.component.js",
|
|
16351
|
+
"declarations": [
|
|
16352
|
+
{
|
|
16353
|
+
"kind": "class",
|
|
16354
|
+
"description": "This component can be used to visually hide content but present it to screen readers.",
|
|
16355
|
+
"name": "SbbScreenReaderOnlyElement",
|
|
16356
|
+
"slots": [
|
|
16357
|
+
{
|
|
16358
|
+
"description": "Use the unnamed slot to provide content.",
|
|
16359
|
+
"name": ""
|
|
16360
|
+
}
|
|
16361
|
+
],
|
|
16362
|
+
"members": [],
|
|
16363
|
+
"superclass": {
|
|
16364
|
+
"name": "LitElement",
|
|
16365
|
+
"package": "lit"
|
|
16366
|
+
},
|
|
16367
|
+
"tagName": "sbb-screen-reader-only",
|
|
16368
|
+
"customElement": true
|
|
16369
|
+
}
|
|
16370
|
+
],
|
|
16371
|
+
"exports": [
|
|
16372
|
+
{
|
|
16373
|
+
"kind": "js",
|
|
16374
|
+
"name": "SbbScreenReaderOnlyElement",
|
|
16375
|
+
"declaration": {
|
|
16376
|
+
"name": "SbbScreenReaderOnlyElement",
|
|
16377
|
+
"module": "screen-reader-only/screen-reader-only.component.js"
|
|
16378
|
+
}
|
|
16379
|
+
},
|
|
16380
|
+
{
|
|
16381
|
+
"kind": "custom-element-definition",
|
|
16382
|
+
"name": "sbb-screen-reader-only",
|
|
16383
|
+
"declaration": {
|
|
16384
|
+
"name": "SbbScreenReaderOnlyElement",
|
|
16385
|
+
"module": "screen-reader-only/screen-reader-only.component.js"
|
|
16386
|
+
}
|
|
16387
|
+
}
|
|
16388
|
+
]
|
|
16389
|
+
},
|
|
16390
16390
|
{
|
|
16391
16391
|
"kind": "javascript-module",
|
|
16392
16392
|
"path": "select/select.component.js",
|
|
@@ -18760,6 +18760,93 @@
|
|
|
18760
18760
|
}
|
|
18761
18761
|
]
|
|
18762
18762
|
},
|
|
18763
|
+
{
|
|
18764
|
+
"kind": "javascript-module",
|
|
18765
|
+
"path": "signet/signet.component.js",
|
|
18766
|
+
"declarations": [
|
|
18767
|
+
{
|
|
18768
|
+
"kind": "class",
|
|
18769
|
+
"description": "It displays the SBB signet.",
|
|
18770
|
+
"name": "SbbSignetElement",
|
|
18771
|
+
"cssProperties": [
|
|
18772
|
+
{
|
|
18773
|
+
"description": "Can be used to set the height of the signet.",
|
|
18774
|
+
"name": "--sbb-signet-height",
|
|
18775
|
+
"default": "auto"
|
|
18776
|
+
}
|
|
18777
|
+
],
|
|
18778
|
+
"members": [
|
|
18779
|
+
{
|
|
18780
|
+
"kind": "field",
|
|
18781
|
+
"name": "protectiveRoom",
|
|
18782
|
+
"type": {
|
|
18783
|
+
"text": "SbbSignetProtectiveRoom"
|
|
18784
|
+
},
|
|
18785
|
+
"privacy": "public",
|
|
18786
|
+
"default": "'ideal'",
|
|
18787
|
+
"description": "Visual protective room around signet.",
|
|
18788
|
+
"attribute": "protective-room",
|
|
18789
|
+
"reflects": true
|
|
18790
|
+
},
|
|
18791
|
+
{
|
|
18792
|
+
"kind": "field",
|
|
18793
|
+
"name": "accessibilityLabel",
|
|
18794
|
+
"type": {
|
|
18795
|
+
"text": "string"
|
|
18796
|
+
},
|
|
18797
|
+
"privacy": "public",
|
|
18798
|
+
"default": "'Logo'",
|
|
18799
|
+
"description": "Accessibility label which will be forwarded to the inner SVG signet.",
|
|
18800
|
+
"attribute": "accessibility-label"
|
|
18801
|
+
}
|
|
18802
|
+
],
|
|
18803
|
+
"attributes": [
|
|
18804
|
+
{
|
|
18805
|
+
"name": "protective-room",
|
|
18806
|
+
"type": {
|
|
18807
|
+
"text": "SbbSignetProtectiveRoom"
|
|
18808
|
+
},
|
|
18809
|
+
"default": "'ideal'",
|
|
18810
|
+
"description": "Visual protective room around signet.",
|
|
18811
|
+
"fieldName": "protectiveRoom"
|
|
18812
|
+
},
|
|
18813
|
+
{
|
|
18814
|
+
"name": "accessibility-label",
|
|
18815
|
+
"type": {
|
|
18816
|
+
"text": "string"
|
|
18817
|
+
},
|
|
18818
|
+
"default": "'Logo'",
|
|
18819
|
+
"description": "Accessibility label which will be forwarded to the inner SVG signet.",
|
|
18820
|
+
"fieldName": "accessibilityLabel"
|
|
18821
|
+
}
|
|
18822
|
+
],
|
|
18823
|
+
"superclass": {
|
|
18824
|
+
"name": "LitElement",
|
|
18825
|
+
"package": "lit"
|
|
18826
|
+
},
|
|
18827
|
+
"tagName": "sbb-signet",
|
|
18828
|
+
"customElement": true
|
|
18829
|
+
}
|
|
18830
|
+
],
|
|
18831
|
+
"exports": [
|
|
18832
|
+
{
|
|
18833
|
+
"kind": "js",
|
|
18834
|
+
"name": "SbbSignetElement",
|
|
18835
|
+
"declaration": {
|
|
18836
|
+
"name": "SbbSignetElement",
|
|
18837
|
+
"module": "signet/signet.component.js"
|
|
18838
|
+
}
|
|
18839
|
+
},
|
|
18840
|
+
{
|
|
18841
|
+
"kind": "custom-element-definition",
|
|
18842
|
+
"name": "sbb-signet",
|
|
18843
|
+
"declaration": {
|
|
18844
|
+
"name": "SbbSignetElement",
|
|
18845
|
+
"module": "signet/signet.component.js"
|
|
18846
|
+
}
|
|
18847
|
+
}
|
|
18848
|
+
]
|
|
18849
|
+
},
|
|
18763
18850
|
{
|
|
18764
18851
|
"kind": "javascript-module",
|
|
18765
18852
|
"path": "sidebar/common.js",
|
|
@@ -18866,93 +18953,6 @@
|
|
|
18866
18953
|
}
|
|
18867
18954
|
]
|
|
18868
18955
|
},
|
|
18869
|
-
{
|
|
18870
|
-
"kind": "javascript-module",
|
|
18871
|
-
"path": "signet/signet.component.js",
|
|
18872
|
-
"declarations": [
|
|
18873
|
-
{
|
|
18874
|
-
"kind": "class",
|
|
18875
|
-
"description": "It displays the SBB signet.",
|
|
18876
|
-
"name": "SbbSignetElement",
|
|
18877
|
-
"cssProperties": [
|
|
18878
|
-
{
|
|
18879
|
-
"description": "Can be used to set the height of the signet.",
|
|
18880
|
-
"name": "--sbb-signet-height",
|
|
18881
|
-
"default": "auto"
|
|
18882
|
-
}
|
|
18883
|
-
],
|
|
18884
|
-
"members": [
|
|
18885
|
-
{
|
|
18886
|
-
"kind": "field",
|
|
18887
|
-
"name": "protectiveRoom",
|
|
18888
|
-
"type": {
|
|
18889
|
-
"text": "SbbSignetProtectiveRoom"
|
|
18890
|
-
},
|
|
18891
|
-
"privacy": "public",
|
|
18892
|
-
"default": "'ideal'",
|
|
18893
|
-
"description": "Visual protective room around signet.",
|
|
18894
|
-
"attribute": "protective-room",
|
|
18895
|
-
"reflects": true
|
|
18896
|
-
},
|
|
18897
|
-
{
|
|
18898
|
-
"kind": "field",
|
|
18899
|
-
"name": "accessibilityLabel",
|
|
18900
|
-
"type": {
|
|
18901
|
-
"text": "string"
|
|
18902
|
-
},
|
|
18903
|
-
"privacy": "public",
|
|
18904
|
-
"default": "'Logo'",
|
|
18905
|
-
"description": "Accessibility label which will be forwarded to the inner SVG signet.",
|
|
18906
|
-
"attribute": "accessibility-label"
|
|
18907
|
-
}
|
|
18908
|
-
],
|
|
18909
|
-
"attributes": [
|
|
18910
|
-
{
|
|
18911
|
-
"name": "protective-room",
|
|
18912
|
-
"type": {
|
|
18913
|
-
"text": "SbbSignetProtectiveRoom"
|
|
18914
|
-
},
|
|
18915
|
-
"default": "'ideal'",
|
|
18916
|
-
"description": "Visual protective room around signet.",
|
|
18917
|
-
"fieldName": "protectiveRoom"
|
|
18918
|
-
},
|
|
18919
|
-
{
|
|
18920
|
-
"name": "accessibility-label",
|
|
18921
|
-
"type": {
|
|
18922
|
-
"text": "string"
|
|
18923
|
-
},
|
|
18924
|
-
"default": "'Logo'",
|
|
18925
|
-
"description": "Accessibility label which will be forwarded to the inner SVG signet.",
|
|
18926
|
-
"fieldName": "accessibilityLabel"
|
|
18927
|
-
}
|
|
18928
|
-
],
|
|
18929
|
-
"superclass": {
|
|
18930
|
-
"name": "LitElement",
|
|
18931
|
-
"package": "lit"
|
|
18932
|
-
},
|
|
18933
|
-
"tagName": "sbb-signet",
|
|
18934
|
-
"customElement": true
|
|
18935
|
-
}
|
|
18936
|
-
],
|
|
18937
|
-
"exports": [
|
|
18938
|
-
{
|
|
18939
|
-
"kind": "js",
|
|
18940
|
-
"name": "SbbSignetElement",
|
|
18941
|
-
"declaration": {
|
|
18942
|
-
"name": "SbbSignetElement",
|
|
18943
|
-
"module": "signet/signet.component.js"
|
|
18944
|
-
}
|
|
18945
|
-
},
|
|
18946
|
-
{
|
|
18947
|
-
"kind": "custom-element-definition",
|
|
18948
|
-
"name": "sbb-signet",
|
|
18949
|
-
"declaration": {
|
|
18950
|
-
"name": "SbbSignetElement",
|
|
18951
|
-
"module": "signet/signet.component.js"
|
|
18952
|
-
}
|
|
18953
|
-
}
|
|
18954
|
-
]
|
|
18955
|
-
},
|
|
18956
18956
|
{
|
|
18957
18957
|
"kind": "javascript-module",
|
|
18958
18958
|
"path": "skiplink-list/skiplink-list.component.js",
|
|
@@ -30324,12 +30324,12 @@
|
|
|
30324
30324
|
},
|
|
30325
30325
|
{
|
|
30326
30326
|
"kind": "javascript-module",
|
|
30327
|
-
"path": "button/button-
|
|
30327
|
+
"path": "button/button-static/button-static.component.js",
|
|
30328
30328
|
"declarations": [
|
|
30329
30329
|
{
|
|
30330
30330
|
"kind": "class",
|
|
30331
|
-
"description": "It displays a button enhanced with the SBB Design in the 'primary' variant
|
|
30332
|
-
"name": "
|
|
30331
|
+
"description": "It displays a static button enhanced with the SBB Design in the 'primary' variant.",
|
|
30332
|
+
"name": "SbbButtonStaticElement",
|
|
30333
30333
|
"cssProperties": [
|
|
30334
30334
|
{
|
|
30335
30335
|
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
@@ -30339,640 +30339,7 @@
|
|
|
30339
30339
|
],
|
|
30340
30340
|
"slots": [
|
|
30341
30341
|
{
|
|
30342
|
-
"description": "Use the unnamed slot to add content to the button-
|
|
30343
|
-
"name": ""
|
|
30344
|
-
},
|
|
30345
|
-
{
|
|
30346
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
30347
|
-
"name": "icon"
|
|
30348
|
-
}
|
|
30349
|
-
],
|
|
30350
|
-
"members": [
|
|
30351
|
-
{
|
|
30352
|
-
"kind": "field",
|
|
30353
|
-
"name": "size",
|
|
30354
|
-
"type": {
|
|
30355
|
-
"text": "SbbButtonSize"
|
|
30356
|
-
},
|
|
30357
|
-
"privacy": "public",
|
|
30358
|
-
"description": "Size variant, either l, m or s.",
|
|
30359
|
-
"default": "'l' / 's' (lean)",
|
|
30360
|
-
"attribute": "size",
|
|
30361
|
-
"reflects": true,
|
|
30362
|
-
"inheritedFrom": {
|
|
30363
|
-
"name": "SbbButtonCommonElementMixin",
|
|
30364
|
-
"module": "button/common/button-common.js"
|
|
30365
|
-
}
|
|
30366
|
-
},
|
|
30367
|
-
{
|
|
30368
|
-
"kind": "field",
|
|
30369
|
-
"name": "loading",
|
|
30370
|
-
"type": {
|
|
30371
|
-
"text": "boolean"
|
|
30372
|
-
},
|
|
30373
|
-
"privacy": "public",
|
|
30374
|
-
"default": "false",
|
|
30375
|
-
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
30376
|
-
"attribute": "loading",
|
|
30377
|
-
"reflects": true,
|
|
30378
|
-
"inheritedFrom": {
|
|
30379
|
-
"name": "SbbButtonCommonElementMixin",
|
|
30380
|
-
"module": "button/common/button-common.js"
|
|
30381
|
-
}
|
|
30382
|
-
},
|
|
30383
|
-
{
|
|
30384
|
-
"kind": "method",
|
|
30385
|
-
"name": "renderTemplate",
|
|
30386
|
-
"privacy": "protected",
|
|
30387
|
-
"return": {
|
|
30388
|
-
"type": {
|
|
30389
|
-
"text": "TemplateResult"
|
|
30390
|
-
}
|
|
30391
|
-
},
|
|
30392
|
-
"description": "Override this method to render the component template.",
|
|
30393
|
-
"inheritedFrom": {
|
|
30394
|
-
"name": "SbbActionBaseElement",
|
|
30395
|
-
"module": "core/base-elements/action-base-element.js"
|
|
30396
|
-
}
|
|
30397
|
-
},
|
|
30398
|
-
{
|
|
30399
|
-
"kind": "field",
|
|
30400
|
-
"name": "negative",
|
|
30401
|
-
"type": {
|
|
30402
|
-
"text": "boolean"
|
|
30403
|
-
},
|
|
30404
|
-
"privacy": "public",
|
|
30405
|
-
"default": "false",
|
|
30406
|
-
"description": "Negative coloring variant flag.",
|
|
30407
|
-
"attribute": "negative",
|
|
30408
|
-
"reflects": true,
|
|
30409
|
-
"inheritedFrom": {
|
|
30410
|
-
"name": "SbbNegativeMixin",
|
|
30411
|
-
"module": "core/mixins/negative-mixin.js"
|
|
30412
|
-
}
|
|
30413
|
-
},
|
|
30414
|
-
{
|
|
30415
|
-
"kind": "field",
|
|
30416
|
-
"name": "iconName",
|
|
30417
|
-
"type": {
|
|
30418
|
-
"text": "string"
|
|
30419
|
-
},
|
|
30420
|
-
"privacy": "public",
|
|
30421
|
-
"default": "''",
|
|
30422
|
-
"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.",
|
|
30423
|
-
"attribute": "icon-name",
|
|
30424
|
-
"inheritedFrom": {
|
|
30425
|
-
"name": "SbbIconNameMixin",
|
|
30426
|
-
"module": "icon/icon-name-mixin.js"
|
|
30427
|
-
}
|
|
30428
|
-
},
|
|
30429
|
-
{
|
|
30430
|
-
"kind": "method",
|
|
30431
|
-
"name": "renderIconSlot",
|
|
30432
|
-
"privacy": "protected",
|
|
30433
|
-
"return": {
|
|
30434
|
-
"type": {
|
|
30435
|
-
"text": "TemplateResult"
|
|
30436
|
-
}
|
|
30437
|
-
},
|
|
30438
|
-
"parameters": [
|
|
30439
|
-
{
|
|
30440
|
-
"name": "classname",
|
|
30441
|
-
"optional": true,
|
|
30442
|
-
"type": {
|
|
30443
|
-
"text": "string"
|
|
30444
|
-
}
|
|
30445
|
-
}
|
|
30446
|
-
],
|
|
30447
|
-
"inheritedFrom": {
|
|
30448
|
-
"name": "SbbIconNameMixin",
|
|
30449
|
-
"module": "icon/icon-name-mixin.js"
|
|
30450
|
-
}
|
|
30451
|
-
},
|
|
30452
|
-
{
|
|
30453
|
-
"kind": "method",
|
|
30454
|
-
"name": "renderIconName",
|
|
30455
|
-
"privacy": "protected",
|
|
30456
|
-
"return": {
|
|
30457
|
-
"type": {
|
|
30458
|
-
"text": "string"
|
|
30459
|
-
}
|
|
30460
|
-
},
|
|
30461
|
-
"inheritedFrom": {
|
|
30462
|
-
"name": "SbbIconNameMixin",
|
|
30463
|
-
"module": "icon/icon-name-mixin.js"
|
|
30464
|
-
}
|
|
30465
|
-
},
|
|
30466
|
-
{
|
|
30467
|
-
"kind": "method",
|
|
30468
|
-
"name": "_renderIconName",
|
|
30469
|
-
"privacy": "private",
|
|
30470
|
-
"return": {
|
|
30471
|
-
"type": {
|
|
30472
|
-
"text": "string"
|
|
30473
|
-
}
|
|
30474
|
-
},
|
|
30475
|
-
"inheritedFrom": {
|
|
30476
|
-
"name": "SbbIconNameMixin",
|
|
30477
|
-
"module": "icon/icon-name-mixin.js"
|
|
30478
|
-
}
|
|
30479
|
-
},
|
|
30480
|
-
{
|
|
30481
|
-
"kind": "field",
|
|
30482
|
-
"name": "disabledInteractive",
|
|
30483
|
-
"type": {
|
|
30484
|
-
"text": "boolean"
|
|
30485
|
-
},
|
|
30486
|
-
"privacy": "public",
|
|
30487
|
-
"default": "false",
|
|
30488
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
30489
|
-
"attribute": "disabled-interactive",
|
|
30490
|
-
"reflects": true,
|
|
30491
|
-
"inheritedFrom": {
|
|
30492
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
30493
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
30494
|
-
}
|
|
30495
|
-
},
|
|
30496
|
-
{
|
|
30497
|
-
"kind": "field",
|
|
30498
|
-
"name": "disabled",
|
|
30499
|
-
"privacy": "public",
|
|
30500
|
-
"description": "Whether the component is disabled.",
|
|
30501
|
-
"default": "false",
|
|
30502
|
-
"type": {
|
|
30503
|
-
"text": "boolean"
|
|
30504
|
-
},
|
|
30505
|
-
"attribute": "disabled",
|
|
30506
|
-
"reflects": true,
|
|
30507
|
-
"inheritedFrom": {
|
|
30508
|
-
"name": "SbbDisabledMixin",
|
|
30509
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
30510
|
-
}
|
|
30511
|
-
},
|
|
30512
|
-
{
|
|
30513
|
-
"kind": "field",
|
|
30514
|
-
"name": "#disabled",
|
|
30515
|
-
"privacy": "private",
|
|
30516
|
-
"type": {
|
|
30517
|
-
"text": "boolean"
|
|
30518
|
-
},
|
|
30519
|
-
"default": "false",
|
|
30520
|
-
"inheritedFrom": {
|
|
30521
|
-
"name": "SbbDisabledMixin",
|
|
30522
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
30523
|
-
}
|
|
30524
|
-
},
|
|
30525
|
-
{
|
|
30526
|
-
"kind": "method",
|
|
30527
|
-
"name": "isDisabledExternally",
|
|
30528
|
-
"privacy": "protected",
|
|
30529
|
-
"return": {
|
|
30530
|
-
"type": {
|
|
30531
|
-
"text": "boolean"
|
|
30532
|
-
}
|
|
30533
|
-
},
|
|
30534
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
30535
|
-
"inheritedFrom": {
|
|
30536
|
-
"name": "SbbDisabledMixin",
|
|
30537
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
30538
|
-
}
|
|
30539
|
-
},
|
|
30540
|
-
{
|
|
30541
|
-
"kind": "field",
|
|
30542
|
-
"name": "href",
|
|
30543
|
-
"type": {
|
|
30544
|
-
"text": "string"
|
|
30545
|
-
},
|
|
30546
|
-
"privacy": "public",
|
|
30547
|
-
"default": "''",
|
|
30548
|
-
"description": "The href value you want to link to.",
|
|
30549
|
-
"attribute": "href",
|
|
30550
|
-
"reflects": true,
|
|
30551
|
-
"inheritedFrom": {
|
|
30552
|
-
"name": "SbbLinkBaseElement",
|
|
30553
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30554
|
-
}
|
|
30555
|
-
},
|
|
30556
|
-
{
|
|
30557
|
-
"kind": "field",
|
|
30558
|
-
"name": "target",
|
|
30559
|
-
"type": {
|
|
30560
|
-
"text": "LinkTargetType | string"
|
|
30561
|
-
},
|
|
30562
|
-
"privacy": "public",
|
|
30563
|
-
"default": "''",
|
|
30564
|
-
"description": "Where to display the linked URL.",
|
|
30565
|
-
"attribute": "target",
|
|
30566
|
-
"reflects": true,
|
|
30567
|
-
"inheritedFrom": {
|
|
30568
|
-
"name": "SbbLinkBaseElement",
|
|
30569
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30570
|
-
}
|
|
30571
|
-
},
|
|
30572
|
-
{
|
|
30573
|
-
"kind": "field",
|
|
30574
|
-
"name": "rel",
|
|
30575
|
-
"type": {
|
|
30576
|
-
"text": "string"
|
|
30577
|
-
},
|
|
30578
|
-
"privacy": "public",
|
|
30579
|
-
"default": "''",
|
|
30580
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
30581
|
-
"attribute": "rel",
|
|
30582
|
-
"reflects": true,
|
|
30583
|
-
"inheritedFrom": {
|
|
30584
|
-
"name": "SbbLinkBaseElement",
|
|
30585
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30586
|
-
}
|
|
30587
|
-
},
|
|
30588
|
-
{
|
|
30589
|
-
"kind": "field",
|
|
30590
|
-
"name": "download",
|
|
30591
|
-
"type": {
|
|
30592
|
-
"text": "boolean"
|
|
30593
|
-
},
|
|
30594
|
-
"privacy": "public",
|
|
30595
|
-
"default": "false",
|
|
30596
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
30597
|
-
"attribute": "download",
|
|
30598
|
-
"reflects": true,
|
|
30599
|
-
"inheritedFrom": {
|
|
30600
|
-
"name": "SbbLinkBaseElement",
|
|
30601
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30602
|
-
}
|
|
30603
|
-
},
|
|
30604
|
-
{
|
|
30605
|
-
"kind": "field",
|
|
30606
|
-
"name": "accessibilityLabel",
|
|
30607
|
-
"type": {
|
|
30608
|
-
"text": "string"
|
|
30609
|
-
},
|
|
30610
|
-
"privacy": "public",
|
|
30611
|
-
"default": "''",
|
|
30612
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
30613
|
-
"attribute": "accessibility-label",
|
|
30614
|
-
"inheritedFrom": {
|
|
30615
|
-
"name": "SbbLinkBaseElement",
|
|
30616
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30617
|
-
}
|
|
30618
|
-
},
|
|
30619
|
-
{
|
|
30620
|
-
"kind": "field",
|
|
30621
|
-
"name": "accessibilityCurrent",
|
|
30622
|
-
"type": {
|
|
30623
|
-
"text": "string"
|
|
30624
|
-
},
|
|
30625
|
-
"privacy": "public",
|
|
30626
|
-
"default": "''",
|
|
30627
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
30628
|
-
"attribute": "accessibility-current",
|
|
30629
|
-
"inheritedFrom": {
|
|
30630
|
-
"name": "SbbLinkBaseElement",
|
|
30631
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30632
|
-
}
|
|
30633
|
-
},
|
|
30634
|
-
{
|
|
30635
|
-
"kind": "field",
|
|
30636
|
-
"name": "language",
|
|
30637
|
-
"privacy": "protected",
|
|
30638
|
-
"default": "new SbbLanguageController(this)",
|
|
30639
|
-
"inheritedFrom": {
|
|
30640
|
-
"name": "SbbLinkBaseElement",
|
|
30641
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30642
|
-
}
|
|
30643
|
-
},
|
|
30644
|
-
{
|
|
30645
|
-
"kind": "field",
|
|
30646
|
-
"name": "anchorRole",
|
|
30647
|
-
"type": {
|
|
30648
|
-
"text": "string | null"
|
|
30649
|
-
},
|
|
30650
|
-
"privacy": "protected",
|
|
30651
|
-
"readonly": true,
|
|
30652
|
-
"default": "null",
|
|
30653
|
-
"inheritedFrom": {
|
|
30654
|
-
"name": "SbbLinkBaseElement",
|
|
30655
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30656
|
-
}
|
|
30657
|
-
},
|
|
30658
|
-
{
|
|
30659
|
-
"kind": "field",
|
|
30660
|
-
"name": "_evaluateRelAttribute",
|
|
30661
|
-
"privacy": "private",
|
|
30662
|
-
"inheritedFrom": {
|
|
30663
|
-
"name": "SbbLinkBaseElement",
|
|
30664
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30665
|
-
}
|
|
30666
|
-
},
|
|
30667
|
-
{
|
|
30668
|
-
"kind": "method",
|
|
30669
|
-
"name": "renderLink",
|
|
30670
|
-
"privacy": "protected",
|
|
30671
|
-
"return": {
|
|
30672
|
-
"type": {
|
|
30673
|
-
"text": "TemplateResult"
|
|
30674
|
-
}
|
|
30675
|
-
},
|
|
30676
|
-
"parameters": [
|
|
30677
|
-
{
|
|
30678
|
-
"name": "renderContent",
|
|
30679
|
-
"type": {
|
|
30680
|
-
"text": "TemplateResult"
|
|
30681
|
-
}
|
|
30682
|
-
}
|
|
30683
|
-
],
|
|
30684
|
-
"inheritedFrom": {
|
|
30685
|
-
"name": "SbbLinkBaseElement",
|
|
30686
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30687
|
-
}
|
|
30688
|
-
},
|
|
30689
|
-
{
|
|
30690
|
-
"kind": "method",
|
|
30691
|
-
"name": "toggleState",
|
|
30692
|
-
"privacy": "protected",
|
|
30693
|
-
"return": {
|
|
30694
|
-
"type": {
|
|
30695
|
-
"text": "void"
|
|
30696
|
-
}
|
|
30697
|
-
},
|
|
30698
|
-
"parameters": [
|
|
30699
|
-
{
|
|
30700
|
-
"name": "value",
|
|
30701
|
-
"type": {
|
|
30702
|
-
"text": "string"
|
|
30703
|
-
}
|
|
30704
|
-
},
|
|
30705
|
-
{
|
|
30706
|
-
"name": "force",
|
|
30707
|
-
"optional": true,
|
|
30708
|
-
"type": {
|
|
30709
|
-
"text": "boolean"
|
|
30710
|
-
}
|
|
30711
|
-
}
|
|
30712
|
-
],
|
|
30713
|
-
"inheritedFrom": {
|
|
30714
|
-
"name": "SbbElementInternalsMixin",
|
|
30715
|
-
"module": "core/mixins/element-internals-mixin.js"
|
|
30716
|
-
}
|
|
30717
|
-
},
|
|
30718
|
-
{
|
|
30719
|
-
"kind": "field",
|
|
30720
|
-
"name": "maybeDisabled",
|
|
30721
|
-
"type": {
|
|
30722
|
-
"text": "boolean | undefined"
|
|
30723
|
-
},
|
|
30724
|
-
"privacy": "protected",
|
|
30725
|
-
"readonly": true,
|
|
30726
|
-
"inheritedFrom": {
|
|
30727
|
-
"name": "SbbActionBaseElement",
|
|
30728
|
-
"module": "core/base-elements/action-base-element.js"
|
|
30729
|
-
}
|
|
30730
|
-
},
|
|
30731
|
-
{
|
|
30732
|
-
"kind": "field",
|
|
30733
|
-
"name": "maybeDisabledInteractive",
|
|
30734
|
-
"type": {
|
|
30735
|
-
"text": "boolean | undefined"
|
|
30736
|
-
},
|
|
30737
|
-
"privacy": "protected",
|
|
30738
|
-
"readonly": true,
|
|
30739
|
-
"inheritedFrom": {
|
|
30740
|
-
"name": "SbbActionBaseElement",
|
|
30741
|
-
"module": "core/base-elements/action-base-element.js"
|
|
30742
|
-
}
|
|
30743
|
-
},
|
|
30744
|
-
{
|
|
30745
|
-
"kind": "method",
|
|
30746
|
-
"name": "setupBaseEventHandlers",
|
|
30747
|
-
"privacy": "protected",
|
|
30748
|
-
"return": {
|
|
30749
|
-
"type": {
|
|
30750
|
-
"text": "void"
|
|
30751
|
-
}
|
|
30752
|
-
},
|
|
30753
|
-
"inheritedFrom": {
|
|
30754
|
-
"name": "SbbActionBaseElement",
|
|
30755
|
-
"module": "core/base-elements/action-base-element.js"
|
|
30756
|
-
}
|
|
30757
|
-
}
|
|
30758
|
-
],
|
|
30759
|
-
"mixins": [
|
|
30760
|
-
{
|
|
30761
|
-
"name": "SbbButtonCommonElementMixin",
|
|
30762
|
-
"module": "button/common.js"
|
|
30763
|
-
},
|
|
30764
|
-
{
|
|
30765
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
30766
|
-
"module": "core/mixins.js"
|
|
30767
|
-
},
|
|
30768
|
-
{
|
|
30769
|
-
"name": "SbbDisabledMixin",
|
|
30770
|
-
"module": "core/mixins.js"
|
|
30771
|
-
}
|
|
30772
|
-
],
|
|
30773
|
-
"superclass": {
|
|
30774
|
-
"name": "SbbLinkBaseElement",
|
|
30775
|
-
"module": "core/base-elements.js"
|
|
30776
|
-
},
|
|
30777
|
-
"tagName": "sbb-button-link",
|
|
30778
|
-
"customElement": true,
|
|
30779
|
-
"attributes": [
|
|
30780
|
-
{
|
|
30781
|
-
"name": "size",
|
|
30782
|
-
"type": {
|
|
30783
|
-
"text": "SbbButtonSize"
|
|
30784
|
-
},
|
|
30785
|
-
"description": "Size variant, either l, m or s.",
|
|
30786
|
-
"default": "'l' / 's' (lean)",
|
|
30787
|
-
"fieldName": "size",
|
|
30788
|
-
"inheritedFrom": {
|
|
30789
|
-
"name": "SbbButtonCommonElementMixin",
|
|
30790
|
-
"module": "button/common/button-common.js"
|
|
30791
|
-
}
|
|
30792
|
-
},
|
|
30793
|
-
{
|
|
30794
|
-
"name": "loading",
|
|
30795
|
-
"type": {
|
|
30796
|
-
"text": "boolean"
|
|
30797
|
-
},
|
|
30798
|
-
"default": "false",
|
|
30799
|
-
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
30800
|
-
"fieldName": "loading",
|
|
30801
|
-
"inheritedFrom": {
|
|
30802
|
-
"name": "SbbButtonCommonElementMixin",
|
|
30803
|
-
"module": "button/common/button-common.js"
|
|
30804
|
-
}
|
|
30805
|
-
},
|
|
30806
|
-
{
|
|
30807
|
-
"name": "negative",
|
|
30808
|
-
"type": {
|
|
30809
|
-
"text": "boolean"
|
|
30810
|
-
},
|
|
30811
|
-
"default": "false",
|
|
30812
|
-
"description": "Negative coloring variant flag.",
|
|
30813
|
-
"fieldName": "negative",
|
|
30814
|
-
"inheritedFrom": {
|
|
30815
|
-
"name": "SbbNegativeMixin",
|
|
30816
|
-
"module": "core/mixins/negative-mixin.js"
|
|
30817
|
-
}
|
|
30818
|
-
},
|
|
30819
|
-
{
|
|
30820
|
-
"name": "icon-name",
|
|
30821
|
-
"type": {
|
|
30822
|
-
"text": "string"
|
|
30823
|
-
},
|
|
30824
|
-
"default": "''",
|
|
30825
|
-
"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.",
|
|
30826
|
-
"fieldName": "iconName",
|
|
30827
|
-
"inheritedFrom": {
|
|
30828
|
-
"name": "SbbIconNameMixin",
|
|
30829
|
-
"module": "icon/icon-name-mixin.js"
|
|
30830
|
-
}
|
|
30831
|
-
},
|
|
30832
|
-
{
|
|
30833
|
-
"name": "disabled-interactive",
|
|
30834
|
-
"type": {
|
|
30835
|
-
"text": "boolean"
|
|
30836
|
-
},
|
|
30837
|
-
"default": "false",
|
|
30838
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
30839
|
-
"fieldName": "disabledInteractive",
|
|
30840
|
-
"inheritedFrom": {
|
|
30841
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
30842
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
30843
|
-
}
|
|
30844
|
-
},
|
|
30845
|
-
{
|
|
30846
|
-
"name": "disabled",
|
|
30847
|
-
"description": "Whether the component is disabled.",
|
|
30848
|
-
"default": "false",
|
|
30849
|
-
"type": {
|
|
30850
|
-
"text": "boolean"
|
|
30851
|
-
},
|
|
30852
|
-
"fieldName": "disabled",
|
|
30853
|
-
"inheritedFrom": {
|
|
30854
|
-
"name": "SbbDisabledMixin",
|
|
30855
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
30856
|
-
}
|
|
30857
|
-
},
|
|
30858
|
-
{
|
|
30859
|
-
"name": "href",
|
|
30860
|
-
"type": {
|
|
30861
|
-
"text": "string"
|
|
30862
|
-
},
|
|
30863
|
-
"default": "''",
|
|
30864
|
-
"description": "The href value you want to link to.",
|
|
30865
|
-
"fieldName": "href",
|
|
30866
|
-
"inheritedFrom": {
|
|
30867
|
-
"name": "SbbLinkBaseElement",
|
|
30868
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30869
|
-
}
|
|
30870
|
-
},
|
|
30871
|
-
{
|
|
30872
|
-
"name": "target",
|
|
30873
|
-
"type": {
|
|
30874
|
-
"text": "LinkTargetType | string"
|
|
30875
|
-
},
|
|
30876
|
-
"default": "''",
|
|
30877
|
-
"description": "Where to display the linked URL.",
|
|
30878
|
-
"fieldName": "target",
|
|
30879
|
-
"inheritedFrom": {
|
|
30880
|
-
"name": "SbbLinkBaseElement",
|
|
30881
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30882
|
-
}
|
|
30883
|
-
},
|
|
30884
|
-
{
|
|
30885
|
-
"name": "rel",
|
|
30886
|
-
"type": {
|
|
30887
|
-
"text": "string"
|
|
30888
|
-
},
|
|
30889
|
-
"default": "''",
|
|
30890
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
30891
|
-
"fieldName": "rel",
|
|
30892
|
-
"inheritedFrom": {
|
|
30893
|
-
"name": "SbbLinkBaseElement",
|
|
30894
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30895
|
-
}
|
|
30896
|
-
},
|
|
30897
|
-
{
|
|
30898
|
-
"name": "download",
|
|
30899
|
-
"type": {
|
|
30900
|
-
"text": "boolean"
|
|
30901
|
-
},
|
|
30902
|
-
"default": "false",
|
|
30903
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
30904
|
-
"fieldName": "download",
|
|
30905
|
-
"inheritedFrom": {
|
|
30906
|
-
"name": "SbbLinkBaseElement",
|
|
30907
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30908
|
-
}
|
|
30909
|
-
},
|
|
30910
|
-
{
|
|
30911
|
-
"name": "accessibility-label",
|
|
30912
|
-
"type": {
|
|
30913
|
-
"text": "string"
|
|
30914
|
-
},
|
|
30915
|
-
"default": "''",
|
|
30916
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
30917
|
-
"fieldName": "accessibilityLabel",
|
|
30918
|
-
"inheritedFrom": {
|
|
30919
|
-
"name": "SbbLinkBaseElement",
|
|
30920
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30921
|
-
}
|
|
30922
|
-
},
|
|
30923
|
-
{
|
|
30924
|
-
"name": "accessibility-current",
|
|
30925
|
-
"type": {
|
|
30926
|
-
"text": "string"
|
|
30927
|
-
},
|
|
30928
|
-
"default": "''",
|
|
30929
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
30930
|
-
"fieldName": "accessibilityCurrent",
|
|
30931
|
-
"inheritedFrom": {
|
|
30932
|
-
"name": "SbbLinkBaseElement",
|
|
30933
|
-
"module": "core/base-elements/link-base-element.js"
|
|
30934
|
-
}
|
|
30935
|
-
}
|
|
30936
|
-
]
|
|
30937
|
-
}
|
|
30938
|
-
],
|
|
30939
|
-
"exports": [
|
|
30940
|
-
{
|
|
30941
|
-
"kind": "js",
|
|
30942
|
-
"name": "SbbButtonLinkElement",
|
|
30943
|
-
"declaration": {
|
|
30944
|
-
"name": "SbbButtonLinkElement",
|
|
30945
|
-
"module": "button/button-link/button-link.component.js"
|
|
30946
|
-
}
|
|
30947
|
-
},
|
|
30948
|
-
{
|
|
30949
|
-
"kind": "custom-element-definition",
|
|
30950
|
-
"name": "sbb-button-link",
|
|
30951
|
-
"declaration": {
|
|
30952
|
-
"name": "SbbButtonLinkElement",
|
|
30953
|
-
"module": "button/button-link/button-link.component.js"
|
|
30954
|
-
}
|
|
30955
|
-
}
|
|
30956
|
-
]
|
|
30957
|
-
},
|
|
30958
|
-
{
|
|
30959
|
-
"kind": "javascript-module",
|
|
30960
|
-
"path": "button/button-static/button-static.component.js",
|
|
30961
|
-
"declarations": [
|
|
30962
|
-
{
|
|
30963
|
-
"kind": "class",
|
|
30964
|
-
"description": "It displays a static button enhanced with the SBB Design in the 'primary' variant.",
|
|
30965
|
-
"name": "SbbButtonStaticElement",
|
|
30966
|
-
"cssProperties": [
|
|
30967
|
-
{
|
|
30968
|
-
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
30969
|
-
"name": "--sbb-button-loading-delay",
|
|
30970
|
-
"default": "300ms"
|
|
30971
|
-
}
|
|
30972
|
-
],
|
|
30973
|
-
"slots": [
|
|
30974
|
-
{
|
|
30975
|
-
"description": "Use the unnamed slot to add content to the button-static.",
|
|
30342
|
+
"description": "Use the unnamed slot to add content to the button-static.",
|
|
30976
30343
|
"name": ""
|
|
30977
30344
|
},
|
|
30978
30345
|
{
|
|
@@ -31772,48 +31139,681 @@
|
|
|
31772
31139
|
},
|
|
31773
31140
|
{
|
|
31774
31141
|
"kind": "javascript-module",
|
|
31775
|
-
"path": "button/
|
|
31142
|
+
"path": "button/button-link/button-link.component.js",
|
|
31776
31143
|
"declarations": [
|
|
31777
31144
|
{
|
|
31778
31145
|
"kind": "class",
|
|
31779
|
-
"description": "It displays
|
|
31780
|
-
"name": "
|
|
31146
|
+
"description": "It displays a button enhanced with the SBB Design in the 'primary' variant, which will behave as a link.",
|
|
31147
|
+
"name": "SbbButtonLinkElement",
|
|
31148
|
+
"cssProperties": [
|
|
31149
|
+
{
|
|
31150
|
+
"description": "The delay before the loading animation starts, when setting the button into loading state.",
|
|
31151
|
+
"name": "--sbb-button-loading-delay",
|
|
31152
|
+
"default": "300ms"
|
|
31153
|
+
}
|
|
31154
|
+
],
|
|
31781
31155
|
"slots": [
|
|
31782
31156
|
{
|
|
31783
|
-
"description": "Use the unnamed slot to add
|
|
31157
|
+
"description": "Use the unnamed slot to add content to the button-link.",
|
|
31784
31158
|
"name": ""
|
|
31785
31159
|
},
|
|
31786
31160
|
{
|
|
31787
|
-
"description": "Slot used to display the icon, if one is set",
|
|
31161
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
31788
31162
|
"name": "icon"
|
|
31789
31163
|
}
|
|
31790
31164
|
],
|
|
31791
31165
|
"members": [
|
|
31792
31166
|
{
|
|
31793
|
-
"kind": "
|
|
31794
|
-
"name": "
|
|
31795
|
-
"
|
|
31796
|
-
|
|
31797
|
-
"type": {
|
|
31798
|
-
"text": "TemplateResult"
|
|
31799
|
-
}
|
|
31167
|
+
"kind": "field",
|
|
31168
|
+
"name": "size",
|
|
31169
|
+
"type": {
|
|
31170
|
+
"text": "SbbButtonSize"
|
|
31800
31171
|
},
|
|
31801
|
-
"
|
|
31172
|
+
"privacy": "public",
|
|
31173
|
+
"description": "Size variant, either l, m or s.",
|
|
31174
|
+
"default": "'l' / 's' (lean)",
|
|
31175
|
+
"attribute": "size",
|
|
31176
|
+
"reflects": true,
|
|
31802
31177
|
"inheritedFrom": {
|
|
31803
|
-
"name": "
|
|
31804
|
-
"module": "
|
|
31178
|
+
"name": "SbbButtonCommonElementMixin",
|
|
31179
|
+
"module": "button/common/button-common.js"
|
|
31805
31180
|
}
|
|
31806
31181
|
},
|
|
31807
31182
|
{
|
|
31808
31183
|
"kind": "field",
|
|
31809
|
-
"name": "
|
|
31184
|
+
"name": "loading",
|
|
31810
31185
|
"type": {
|
|
31811
31186
|
"text": "boolean"
|
|
31812
31187
|
},
|
|
31813
31188
|
"privacy": "public",
|
|
31814
31189
|
"default": "false",
|
|
31815
|
-
"description": "Whether the button
|
|
31816
|
-
"attribute": "
|
|
31190
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
31191
|
+
"attribute": "loading",
|
|
31192
|
+
"reflects": true,
|
|
31193
|
+
"inheritedFrom": {
|
|
31194
|
+
"name": "SbbButtonCommonElementMixin",
|
|
31195
|
+
"module": "button/common/button-common.js"
|
|
31196
|
+
}
|
|
31197
|
+
},
|
|
31198
|
+
{
|
|
31199
|
+
"kind": "method",
|
|
31200
|
+
"name": "renderTemplate",
|
|
31201
|
+
"privacy": "protected",
|
|
31202
|
+
"return": {
|
|
31203
|
+
"type": {
|
|
31204
|
+
"text": "TemplateResult"
|
|
31205
|
+
}
|
|
31206
|
+
},
|
|
31207
|
+
"description": "Override this method to render the component template.",
|
|
31208
|
+
"inheritedFrom": {
|
|
31209
|
+
"name": "SbbActionBaseElement",
|
|
31210
|
+
"module": "core/base-elements/action-base-element.js"
|
|
31211
|
+
}
|
|
31212
|
+
},
|
|
31213
|
+
{
|
|
31214
|
+
"kind": "field",
|
|
31215
|
+
"name": "negative",
|
|
31216
|
+
"type": {
|
|
31217
|
+
"text": "boolean"
|
|
31218
|
+
},
|
|
31219
|
+
"privacy": "public",
|
|
31220
|
+
"default": "false",
|
|
31221
|
+
"description": "Negative coloring variant flag.",
|
|
31222
|
+
"attribute": "negative",
|
|
31223
|
+
"reflects": true,
|
|
31224
|
+
"inheritedFrom": {
|
|
31225
|
+
"name": "SbbNegativeMixin",
|
|
31226
|
+
"module": "core/mixins/negative-mixin.js"
|
|
31227
|
+
}
|
|
31228
|
+
},
|
|
31229
|
+
{
|
|
31230
|
+
"kind": "field",
|
|
31231
|
+
"name": "iconName",
|
|
31232
|
+
"type": {
|
|
31233
|
+
"text": "string"
|
|
31234
|
+
},
|
|
31235
|
+
"privacy": "public",
|
|
31236
|
+
"default": "''",
|
|
31237
|
+
"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.",
|
|
31238
|
+
"attribute": "icon-name",
|
|
31239
|
+
"inheritedFrom": {
|
|
31240
|
+
"name": "SbbIconNameMixin",
|
|
31241
|
+
"module": "icon/icon-name-mixin.js"
|
|
31242
|
+
}
|
|
31243
|
+
},
|
|
31244
|
+
{
|
|
31245
|
+
"kind": "method",
|
|
31246
|
+
"name": "renderIconSlot",
|
|
31247
|
+
"privacy": "protected",
|
|
31248
|
+
"return": {
|
|
31249
|
+
"type": {
|
|
31250
|
+
"text": "TemplateResult"
|
|
31251
|
+
}
|
|
31252
|
+
},
|
|
31253
|
+
"parameters": [
|
|
31254
|
+
{
|
|
31255
|
+
"name": "classname",
|
|
31256
|
+
"optional": true,
|
|
31257
|
+
"type": {
|
|
31258
|
+
"text": "string"
|
|
31259
|
+
}
|
|
31260
|
+
}
|
|
31261
|
+
],
|
|
31262
|
+
"inheritedFrom": {
|
|
31263
|
+
"name": "SbbIconNameMixin",
|
|
31264
|
+
"module": "icon/icon-name-mixin.js"
|
|
31265
|
+
}
|
|
31266
|
+
},
|
|
31267
|
+
{
|
|
31268
|
+
"kind": "method",
|
|
31269
|
+
"name": "renderIconName",
|
|
31270
|
+
"privacy": "protected",
|
|
31271
|
+
"return": {
|
|
31272
|
+
"type": {
|
|
31273
|
+
"text": "string"
|
|
31274
|
+
}
|
|
31275
|
+
},
|
|
31276
|
+
"inheritedFrom": {
|
|
31277
|
+
"name": "SbbIconNameMixin",
|
|
31278
|
+
"module": "icon/icon-name-mixin.js"
|
|
31279
|
+
}
|
|
31280
|
+
},
|
|
31281
|
+
{
|
|
31282
|
+
"kind": "method",
|
|
31283
|
+
"name": "_renderIconName",
|
|
31284
|
+
"privacy": "private",
|
|
31285
|
+
"return": {
|
|
31286
|
+
"type": {
|
|
31287
|
+
"text": "string"
|
|
31288
|
+
}
|
|
31289
|
+
},
|
|
31290
|
+
"inheritedFrom": {
|
|
31291
|
+
"name": "SbbIconNameMixin",
|
|
31292
|
+
"module": "icon/icon-name-mixin.js"
|
|
31293
|
+
}
|
|
31294
|
+
},
|
|
31295
|
+
{
|
|
31296
|
+
"kind": "field",
|
|
31297
|
+
"name": "disabledInteractive",
|
|
31298
|
+
"type": {
|
|
31299
|
+
"text": "boolean"
|
|
31300
|
+
},
|
|
31301
|
+
"privacy": "public",
|
|
31302
|
+
"default": "false",
|
|
31303
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
31304
|
+
"attribute": "disabled-interactive",
|
|
31305
|
+
"reflects": true,
|
|
31306
|
+
"inheritedFrom": {
|
|
31307
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
31308
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
31309
|
+
}
|
|
31310
|
+
},
|
|
31311
|
+
{
|
|
31312
|
+
"kind": "field",
|
|
31313
|
+
"name": "disabled",
|
|
31314
|
+
"privacy": "public",
|
|
31315
|
+
"description": "Whether the component is disabled.",
|
|
31316
|
+
"default": "false",
|
|
31317
|
+
"type": {
|
|
31318
|
+
"text": "boolean"
|
|
31319
|
+
},
|
|
31320
|
+
"attribute": "disabled",
|
|
31321
|
+
"reflects": true,
|
|
31322
|
+
"inheritedFrom": {
|
|
31323
|
+
"name": "SbbDisabledMixin",
|
|
31324
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
31325
|
+
}
|
|
31326
|
+
},
|
|
31327
|
+
{
|
|
31328
|
+
"kind": "field",
|
|
31329
|
+
"name": "#disabled",
|
|
31330
|
+
"privacy": "private",
|
|
31331
|
+
"type": {
|
|
31332
|
+
"text": "boolean"
|
|
31333
|
+
},
|
|
31334
|
+
"default": "false",
|
|
31335
|
+
"inheritedFrom": {
|
|
31336
|
+
"name": "SbbDisabledMixin",
|
|
31337
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
31338
|
+
}
|
|
31339
|
+
},
|
|
31340
|
+
{
|
|
31341
|
+
"kind": "method",
|
|
31342
|
+
"name": "isDisabledExternally",
|
|
31343
|
+
"privacy": "protected",
|
|
31344
|
+
"return": {
|
|
31345
|
+
"type": {
|
|
31346
|
+
"text": "boolean"
|
|
31347
|
+
}
|
|
31348
|
+
},
|
|
31349
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
31350
|
+
"inheritedFrom": {
|
|
31351
|
+
"name": "SbbDisabledMixin",
|
|
31352
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
31353
|
+
}
|
|
31354
|
+
},
|
|
31355
|
+
{
|
|
31356
|
+
"kind": "field",
|
|
31357
|
+
"name": "href",
|
|
31358
|
+
"type": {
|
|
31359
|
+
"text": "string"
|
|
31360
|
+
},
|
|
31361
|
+
"privacy": "public",
|
|
31362
|
+
"default": "''",
|
|
31363
|
+
"description": "The href value you want to link to.",
|
|
31364
|
+
"attribute": "href",
|
|
31365
|
+
"reflects": true,
|
|
31366
|
+
"inheritedFrom": {
|
|
31367
|
+
"name": "SbbLinkBaseElement",
|
|
31368
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31369
|
+
}
|
|
31370
|
+
},
|
|
31371
|
+
{
|
|
31372
|
+
"kind": "field",
|
|
31373
|
+
"name": "target",
|
|
31374
|
+
"type": {
|
|
31375
|
+
"text": "LinkTargetType | string"
|
|
31376
|
+
},
|
|
31377
|
+
"privacy": "public",
|
|
31378
|
+
"default": "''",
|
|
31379
|
+
"description": "Where to display the linked URL.",
|
|
31380
|
+
"attribute": "target",
|
|
31381
|
+
"reflects": true,
|
|
31382
|
+
"inheritedFrom": {
|
|
31383
|
+
"name": "SbbLinkBaseElement",
|
|
31384
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31385
|
+
}
|
|
31386
|
+
},
|
|
31387
|
+
{
|
|
31388
|
+
"kind": "field",
|
|
31389
|
+
"name": "rel",
|
|
31390
|
+
"type": {
|
|
31391
|
+
"text": "string"
|
|
31392
|
+
},
|
|
31393
|
+
"privacy": "public",
|
|
31394
|
+
"default": "''",
|
|
31395
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
31396
|
+
"attribute": "rel",
|
|
31397
|
+
"reflects": true,
|
|
31398
|
+
"inheritedFrom": {
|
|
31399
|
+
"name": "SbbLinkBaseElement",
|
|
31400
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31401
|
+
}
|
|
31402
|
+
},
|
|
31403
|
+
{
|
|
31404
|
+
"kind": "field",
|
|
31405
|
+
"name": "download",
|
|
31406
|
+
"type": {
|
|
31407
|
+
"text": "boolean"
|
|
31408
|
+
},
|
|
31409
|
+
"privacy": "public",
|
|
31410
|
+
"default": "false",
|
|
31411
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
31412
|
+
"attribute": "download",
|
|
31413
|
+
"reflects": true,
|
|
31414
|
+
"inheritedFrom": {
|
|
31415
|
+
"name": "SbbLinkBaseElement",
|
|
31416
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31417
|
+
}
|
|
31418
|
+
},
|
|
31419
|
+
{
|
|
31420
|
+
"kind": "field",
|
|
31421
|
+
"name": "accessibilityLabel",
|
|
31422
|
+
"type": {
|
|
31423
|
+
"text": "string"
|
|
31424
|
+
},
|
|
31425
|
+
"privacy": "public",
|
|
31426
|
+
"default": "''",
|
|
31427
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
31428
|
+
"attribute": "accessibility-label",
|
|
31429
|
+
"inheritedFrom": {
|
|
31430
|
+
"name": "SbbLinkBaseElement",
|
|
31431
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31432
|
+
}
|
|
31433
|
+
},
|
|
31434
|
+
{
|
|
31435
|
+
"kind": "field",
|
|
31436
|
+
"name": "accessibilityCurrent",
|
|
31437
|
+
"type": {
|
|
31438
|
+
"text": "string"
|
|
31439
|
+
},
|
|
31440
|
+
"privacy": "public",
|
|
31441
|
+
"default": "''",
|
|
31442
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
31443
|
+
"attribute": "accessibility-current",
|
|
31444
|
+
"inheritedFrom": {
|
|
31445
|
+
"name": "SbbLinkBaseElement",
|
|
31446
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31447
|
+
}
|
|
31448
|
+
},
|
|
31449
|
+
{
|
|
31450
|
+
"kind": "field",
|
|
31451
|
+
"name": "language",
|
|
31452
|
+
"privacy": "protected",
|
|
31453
|
+
"default": "new SbbLanguageController(this)",
|
|
31454
|
+
"inheritedFrom": {
|
|
31455
|
+
"name": "SbbLinkBaseElement",
|
|
31456
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31457
|
+
}
|
|
31458
|
+
},
|
|
31459
|
+
{
|
|
31460
|
+
"kind": "field",
|
|
31461
|
+
"name": "anchorRole",
|
|
31462
|
+
"type": {
|
|
31463
|
+
"text": "string | null"
|
|
31464
|
+
},
|
|
31465
|
+
"privacy": "protected",
|
|
31466
|
+
"readonly": true,
|
|
31467
|
+
"default": "null",
|
|
31468
|
+
"inheritedFrom": {
|
|
31469
|
+
"name": "SbbLinkBaseElement",
|
|
31470
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31471
|
+
}
|
|
31472
|
+
},
|
|
31473
|
+
{
|
|
31474
|
+
"kind": "field",
|
|
31475
|
+
"name": "_evaluateRelAttribute",
|
|
31476
|
+
"privacy": "private",
|
|
31477
|
+
"inheritedFrom": {
|
|
31478
|
+
"name": "SbbLinkBaseElement",
|
|
31479
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31480
|
+
}
|
|
31481
|
+
},
|
|
31482
|
+
{
|
|
31483
|
+
"kind": "method",
|
|
31484
|
+
"name": "renderLink",
|
|
31485
|
+
"privacy": "protected",
|
|
31486
|
+
"return": {
|
|
31487
|
+
"type": {
|
|
31488
|
+
"text": "TemplateResult"
|
|
31489
|
+
}
|
|
31490
|
+
},
|
|
31491
|
+
"parameters": [
|
|
31492
|
+
{
|
|
31493
|
+
"name": "renderContent",
|
|
31494
|
+
"type": {
|
|
31495
|
+
"text": "TemplateResult"
|
|
31496
|
+
}
|
|
31497
|
+
}
|
|
31498
|
+
],
|
|
31499
|
+
"inheritedFrom": {
|
|
31500
|
+
"name": "SbbLinkBaseElement",
|
|
31501
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31502
|
+
}
|
|
31503
|
+
},
|
|
31504
|
+
{
|
|
31505
|
+
"kind": "method",
|
|
31506
|
+
"name": "toggleState",
|
|
31507
|
+
"privacy": "protected",
|
|
31508
|
+
"return": {
|
|
31509
|
+
"type": {
|
|
31510
|
+
"text": "void"
|
|
31511
|
+
}
|
|
31512
|
+
},
|
|
31513
|
+
"parameters": [
|
|
31514
|
+
{
|
|
31515
|
+
"name": "value",
|
|
31516
|
+
"type": {
|
|
31517
|
+
"text": "string"
|
|
31518
|
+
}
|
|
31519
|
+
},
|
|
31520
|
+
{
|
|
31521
|
+
"name": "force",
|
|
31522
|
+
"optional": true,
|
|
31523
|
+
"type": {
|
|
31524
|
+
"text": "boolean"
|
|
31525
|
+
}
|
|
31526
|
+
}
|
|
31527
|
+
],
|
|
31528
|
+
"inheritedFrom": {
|
|
31529
|
+
"name": "SbbElementInternalsMixin",
|
|
31530
|
+
"module": "core/mixins/element-internals-mixin.js"
|
|
31531
|
+
}
|
|
31532
|
+
},
|
|
31533
|
+
{
|
|
31534
|
+
"kind": "field",
|
|
31535
|
+
"name": "maybeDisabled",
|
|
31536
|
+
"type": {
|
|
31537
|
+
"text": "boolean | undefined"
|
|
31538
|
+
},
|
|
31539
|
+
"privacy": "protected",
|
|
31540
|
+
"readonly": true,
|
|
31541
|
+
"inheritedFrom": {
|
|
31542
|
+
"name": "SbbActionBaseElement",
|
|
31543
|
+
"module": "core/base-elements/action-base-element.js"
|
|
31544
|
+
}
|
|
31545
|
+
},
|
|
31546
|
+
{
|
|
31547
|
+
"kind": "field",
|
|
31548
|
+
"name": "maybeDisabledInteractive",
|
|
31549
|
+
"type": {
|
|
31550
|
+
"text": "boolean | undefined"
|
|
31551
|
+
},
|
|
31552
|
+
"privacy": "protected",
|
|
31553
|
+
"readonly": true,
|
|
31554
|
+
"inheritedFrom": {
|
|
31555
|
+
"name": "SbbActionBaseElement",
|
|
31556
|
+
"module": "core/base-elements/action-base-element.js"
|
|
31557
|
+
}
|
|
31558
|
+
},
|
|
31559
|
+
{
|
|
31560
|
+
"kind": "method",
|
|
31561
|
+
"name": "setupBaseEventHandlers",
|
|
31562
|
+
"privacy": "protected",
|
|
31563
|
+
"return": {
|
|
31564
|
+
"type": {
|
|
31565
|
+
"text": "void"
|
|
31566
|
+
}
|
|
31567
|
+
},
|
|
31568
|
+
"inheritedFrom": {
|
|
31569
|
+
"name": "SbbActionBaseElement",
|
|
31570
|
+
"module": "core/base-elements/action-base-element.js"
|
|
31571
|
+
}
|
|
31572
|
+
}
|
|
31573
|
+
],
|
|
31574
|
+
"mixins": [
|
|
31575
|
+
{
|
|
31576
|
+
"name": "SbbButtonCommonElementMixin",
|
|
31577
|
+
"module": "button/common.js"
|
|
31578
|
+
},
|
|
31579
|
+
{
|
|
31580
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
31581
|
+
"module": "core/mixins.js"
|
|
31582
|
+
},
|
|
31583
|
+
{
|
|
31584
|
+
"name": "SbbDisabledMixin",
|
|
31585
|
+
"module": "core/mixins.js"
|
|
31586
|
+
}
|
|
31587
|
+
],
|
|
31588
|
+
"superclass": {
|
|
31589
|
+
"name": "SbbLinkBaseElement",
|
|
31590
|
+
"module": "core/base-elements.js"
|
|
31591
|
+
},
|
|
31592
|
+
"tagName": "sbb-button-link",
|
|
31593
|
+
"customElement": true,
|
|
31594
|
+
"attributes": [
|
|
31595
|
+
{
|
|
31596
|
+
"name": "size",
|
|
31597
|
+
"type": {
|
|
31598
|
+
"text": "SbbButtonSize"
|
|
31599
|
+
},
|
|
31600
|
+
"description": "Size variant, either l, m or s.",
|
|
31601
|
+
"default": "'l' / 's' (lean)",
|
|
31602
|
+
"fieldName": "size",
|
|
31603
|
+
"inheritedFrom": {
|
|
31604
|
+
"name": "SbbButtonCommonElementMixin",
|
|
31605
|
+
"module": "button/common/button-common.js"
|
|
31606
|
+
}
|
|
31607
|
+
},
|
|
31608
|
+
{
|
|
31609
|
+
"name": "loading",
|
|
31610
|
+
"type": {
|
|
31611
|
+
"text": "boolean"
|
|
31612
|
+
},
|
|
31613
|
+
"default": "false",
|
|
31614
|
+
"description": "Whether the button indicates a loading state.\nThe animation kicks in after a delay of 300ms, configurable with --sbb-button-loading-delay CSS variable.",
|
|
31615
|
+
"fieldName": "loading",
|
|
31616
|
+
"inheritedFrom": {
|
|
31617
|
+
"name": "SbbButtonCommonElementMixin",
|
|
31618
|
+
"module": "button/common/button-common.js"
|
|
31619
|
+
}
|
|
31620
|
+
},
|
|
31621
|
+
{
|
|
31622
|
+
"name": "negative",
|
|
31623
|
+
"type": {
|
|
31624
|
+
"text": "boolean"
|
|
31625
|
+
},
|
|
31626
|
+
"default": "false",
|
|
31627
|
+
"description": "Negative coloring variant flag.",
|
|
31628
|
+
"fieldName": "negative",
|
|
31629
|
+
"inheritedFrom": {
|
|
31630
|
+
"name": "SbbNegativeMixin",
|
|
31631
|
+
"module": "core/mixins/negative-mixin.js"
|
|
31632
|
+
}
|
|
31633
|
+
},
|
|
31634
|
+
{
|
|
31635
|
+
"name": "icon-name",
|
|
31636
|
+
"type": {
|
|
31637
|
+
"text": "string"
|
|
31638
|
+
},
|
|
31639
|
+
"default": "''",
|
|
31640
|
+
"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.",
|
|
31641
|
+
"fieldName": "iconName",
|
|
31642
|
+
"inheritedFrom": {
|
|
31643
|
+
"name": "SbbIconNameMixin",
|
|
31644
|
+
"module": "icon/icon-name-mixin.js"
|
|
31645
|
+
}
|
|
31646
|
+
},
|
|
31647
|
+
{
|
|
31648
|
+
"name": "disabled-interactive",
|
|
31649
|
+
"type": {
|
|
31650
|
+
"text": "boolean"
|
|
31651
|
+
},
|
|
31652
|
+
"default": "false",
|
|
31653
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
31654
|
+
"fieldName": "disabledInteractive",
|
|
31655
|
+
"inheritedFrom": {
|
|
31656
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
31657
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
31658
|
+
}
|
|
31659
|
+
},
|
|
31660
|
+
{
|
|
31661
|
+
"name": "disabled",
|
|
31662
|
+
"description": "Whether the component is disabled.",
|
|
31663
|
+
"default": "false",
|
|
31664
|
+
"type": {
|
|
31665
|
+
"text": "boolean"
|
|
31666
|
+
},
|
|
31667
|
+
"fieldName": "disabled",
|
|
31668
|
+
"inheritedFrom": {
|
|
31669
|
+
"name": "SbbDisabledMixin",
|
|
31670
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
31671
|
+
}
|
|
31672
|
+
},
|
|
31673
|
+
{
|
|
31674
|
+
"name": "href",
|
|
31675
|
+
"type": {
|
|
31676
|
+
"text": "string"
|
|
31677
|
+
},
|
|
31678
|
+
"default": "''",
|
|
31679
|
+
"description": "The href value you want to link to.",
|
|
31680
|
+
"fieldName": "href",
|
|
31681
|
+
"inheritedFrom": {
|
|
31682
|
+
"name": "SbbLinkBaseElement",
|
|
31683
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31684
|
+
}
|
|
31685
|
+
},
|
|
31686
|
+
{
|
|
31687
|
+
"name": "target",
|
|
31688
|
+
"type": {
|
|
31689
|
+
"text": "LinkTargetType | string"
|
|
31690
|
+
},
|
|
31691
|
+
"default": "''",
|
|
31692
|
+
"description": "Where to display the linked URL.",
|
|
31693
|
+
"fieldName": "target",
|
|
31694
|
+
"inheritedFrom": {
|
|
31695
|
+
"name": "SbbLinkBaseElement",
|
|
31696
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31697
|
+
}
|
|
31698
|
+
},
|
|
31699
|
+
{
|
|
31700
|
+
"name": "rel",
|
|
31701
|
+
"type": {
|
|
31702
|
+
"text": "string"
|
|
31703
|
+
},
|
|
31704
|
+
"default": "''",
|
|
31705
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
31706
|
+
"fieldName": "rel",
|
|
31707
|
+
"inheritedFrom": {
|
|
31708
|
+
"name": "SbbLinkBaseElement",
|
|
31709
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31710
|
+
}
|
|
31711
|
+
},
|
|
31712
|
+
{
|
|
31713
|
+
"name": "download",
|
|
31714
|
+
"type": {
|
|
31715
|
+
"text": "boolean"
|
|
31716
|
+
},
|
|
31717
|
+
"default": "false",
|
|
31718
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
31719
|
+
"fieldName": "download",
|
|
31720
|
+
"inheritedFrom": {
|
|
31721
|
+
"name": "SbbLinkBaseElement",
|
|
31722
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31723
|
+
}
|
|
31724
|
+
},
|
|
31725
|
+
{
|
|
31726
|
+
"name": "accessibility-label",
|
|
31727
|
+
"type": {
|
|
31728
|
+
"text": "string"
|
|
31729
|
+
},
|
|
31730
|
+
"default": "''",
|
|
31731
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
31732
|
+
"fieldName": "accessibilityLabel",
|
|
31733
|
+
"inheritedFrom": {
|
|
31734
|
+
"name": "SbbLinkBaseElement",
|
|
31735
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31736
|
+
}
|
|
31737
|
+
},
|
|
31738
|
+
{
|
|
31739
|
+
"name": "accessibility-current",
|
|
31740
|
+
"type": {
|
|
31741
|
+
"text": "string"
|
|
31742
|
+
},
|
|
31743
|
+
"default": "''",
|
|
31744
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
31745
|
+
"fieldName": "accessibilityCurrent",
|
|
31746
|
+
"inheritedFrom": {
|
|
31747
|
+
"name": "SbbLinkBaseElement",
|
|
31748
|
+
"module": "core/base-elements/link-base-element.js"
|
|
31749
|
+
}
|
|
31750
|
+
}
|
|
31751
|
+
]
|
|
31752
|
+
}
|
|
31753
|
+
],
|
|
31754
|
+
"exports": [
|
|
31755
|
+
{
|
|
31756
|
+
"kind": "js",
|
|
31757
|
+
"name": "SbbButtonLinkElement",
|
|
31758
|
+
"declaration": {
|
|
31759
|
+
"name": "SbbButtonLinkElement",
|
|
31760
|
+
"module": "button/button-link/button-link.component.js"
|
|
31761
|
+
}
|
|
31762
|
+
},
|
|
31763
|
+
{
|
|
31764
|
+
"kind": "custom-element-definition",
|
|
31765
|
+
"name": "sbb-button-link",
|
|
31766
|
+
"declaration": {
|
|
31767
|
+
"name": "SbbButtonLinkElement",
|
|
31768
|
+
"module": "button/button-link/button-link.component.js"
|
|
31769
|
+
}
|
|
31770
|
+
}
|
|
31771
|
+
]
|
|
31772
|
+
},
|
|
31773
|
+
{
|
|
31774
|
+
"kind": "javascript-module",
|
|
31775
|
+
"path": "button/mini-button/mini-button.component.js",
|
|
31776
|
+
"declarations": [
|
|
31777
|
+
{
|
|
31778
|
+
"kind": "class",
|
|
31779
|
+
"description": "It displays an icon-only button enhanced with the SBB Design;\nit's meant to be used mainly within the sbb-form-field in prefix/suffix slot.",
|
|
31780
|
+
"name": "SbbMiniButtonElement",
|
|
31781
|
+
"slots": [
|
|
31782
|
+
{
|
|
31783
|
+
"description": "Use the unnamed slot to add a label to the mini-button.",
|
|
31784
|
+
"name": ""
|
|
31785
|
+
},
|
|
31786
|
+
{
|
|
31787
|
+
"description": "Slot used to display the icon, if one is set",
|
|
31788
|
+
"name": "icon"
|
|
31789
|
+
}
|
|
31790
|
+
],
|
|
31791
|
+
"members": [
|
|
31792
|
+
{
|
|
31793
|
+
"kind": "method",
|
|
31794
|
+
"name": "renderTemplate",
|
|
31795
|
+
"privacy": "protected",
|
|
31796
|
+
"return": {
|
|
31797
|
+
"type": {
|
|
31798
|
+
"text": "TemplateResult"
|
|
31799
|
+
}
|
|
31800
|
+
},
|
|
31801
|
+
"description": "Override this method to render the component template.",
|
|
31802
|
+
"inheritedFrom": {
|
|
31803
|
+
"name": "SbbActionBaseElement",
|
|
31804
|
+
"module": "core/base-elements/action-base-element.js"
|
|
31805
|
+
}
|
|
31806
|
+
},
|
|
31807
|
+
{
|
|
31808
|
+
"kind": "field",
|
|
31809
|
+
"name": "disabledInteractive",
|
|
31810
|
+
"type": {
|
|
31811
|
+
"text": "boolean"
|
|
31812
|
+
},
|
|
31813
|
+
"privacy": "public",
|
|
31814
|
+
"default": "false",
|
|
31815
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
31816
|
+
"attribute": "disabled-interactive",
|
|
31817
31817
|
"reflects": true,
|
|
31818
31818
|
"inheritedFrom": {
|
|
31819
31819
|
"name": "SbbDisabledInteractiveMixin",
|
|
@@ -36802,39 +36802,36 @@
|
|
|
36802
36802
|
},
|
|
36803
36803
|
{
|
|
36804
36804
|
"kind": "javascript-module",
|
|
36805
|
-
"path": "card/card
|
|
36805
|
+
"path": "card/card/card.component.js",
|
|
36806
36806
|
"declarations": [
|
|
36807
36807
|
{
|
|
36808
36808
|
"kind": "class",
|
|
36809
|
-
"description": "It displays content
|
|
36810
|
-
"name": "
|
|
36809
|
+
"description": "It displays content related to a single subject.",
|
|
36810
|
+
"name": "SbbCardElement",
|
|
36811
36811
|
"slots": [
|
|
36812
36812
|
{
|
|
36813
|
-
"description": "Use the unnamed slot to add content to the
|
|
36813
|
+
"description": "Use the unnamed slot to add content to the card.",
|
|
36814
36814
|
"name": ""
|
|
36815
|
+
},
|
|
36816
|
+
{
|
|
36817
|
+
"description": "Use this slot to render a `sbb-card-badge` component.",
|
|
36818
|
+
"name": "badge"
|
|
36819
|
+
},
|
|
36820
|
+
{
|
|
36821
|
+
"description": "Use this slot to render a `sbb-card-button` or a `sbb-card-link` component.",
|
|
36822
|
+
"name": "action"
|
|
36815
36823
|
}
|
|
36816
36824
|
],
|
|
36817
36825
|
"members": [
|
|
36818
|
-
{
|
|
36819
|
-
"kind": "field",
|
|
36820
|
-
"name": "role",
|
|
36821
|
-
"type": {
|
|
36822
|
-
"text": "string"
|
|
36823
|
-
},
|
|
36824
|
-
"privacy": "public",
|
|
36825
|
-
"static": true,
|
|
36826
|
-
"readonly": true,
|
|
36827
|
-
"default": "'text'"
|
|
36828
|
-
},
|
|
36829
36826
|
{
|
|
36830
36827
|
"kind": "field",
|
|
36831
36828
|
"name": "color",
|
|
36832
36829
|
"type": {
|
|
36833
|
-
"text": "'
|
|
36830
|
+
"text": "| 'white'\n | 'milk'\n | 'transparent-bordered'\n | 'transparent-bordered-dashed'"
|
|
36834
36831
|
},
|
|
36835
36832
|
"privacy": "public",
|
|
36836
|
-
"default": "'
|
|
36837
|
-
"description": "
|
|
36833
|
+
"default": "'white'",
|
|
36834
|
+
"description": "Option to set the component's background color.",
|
|
36838
36835
|
"attribute": "color",
|
|
36839
36836
|
"reflects": true
|
|
36840
36837
|
},
|
|
@@ -36872,10 +36869,10 @@
|
|
|
36872
36869
|
{
|
|
36873
36870
|
"name": "color",
|
|
36874
36871
|
"type": {
|
|
36875
|
-
"text": "'
|
|
36872
|
+
"text": "| 'white'\n | 'milk'\n | 'transparent-bordered'\n | 'transparent-bordered-dashed'"
|
|
36876
36873
|
},
|
|
36877
|
-
"default": "'
|
|
36878
|
-
"description": "
|
|
36874
|
+
"default": "'white'",
|
|
36875
|
+
"description": "Option to set the component's background color.",
|
|
36879
36876
|
"fieldName": "color"
|
|
36880
36877
|
}
|
|
36881
36878
|
],
|
|
@@ -36889,61 +36886,64 @@
|
|
|
36889
36886
|
"name": "LitElement",
|
|
36890
36887
|
"package": "lit"
|
|
36891
36888
|
},
|
|
36892
|
-
"tagName": "sbb-card
|
|
36889
|
+
"tagName": "sbb-card",
|
|
36893
36890
|
"customElement": true
|
|
36894
36891
|
}
|
|
36895
36892
|
],
|
|
36896
36893
|
"exports": [
|
|
36897
36894
|
{
|
|
36898
36895
|
"kind": "js",
|
|
36899
|
-
"name": "
|
|
36896
|
+
"name": "SbbCardElement",
|
|
36900
36897
|
"declaration": {
|
|
36901
|
-
"name": "
|
|
36902
|
-
"module": "card/card
|
|
36898
|
+
"name": "SbbCardElement",
|
|
36899
|
+
"module": "card/card/card.component.js"
|
|
36903
36900
|
}
|
|
36904
36901
|
},
|
|
36905
36902
|
{
|
|
36906
36903
|
"kind": "custom-element-definition",
|
|
36907
|
-
"name": "sbb-card
|
|
36904
|
+
"name": "sbb-card",
|
|
36908
36905
|
"declaration": {
|
|
36909
|
-
"name": "
|
|
36910
|
-
"module": "card/card
|
|
36906
|
+
"name": "SbbCardElement",
|
|
36907
|
+
"module": "card/card/card.component.js"
|
|
36911
36908
|
}
|
|
36912
36909
|
}
|
|
36913
36910
|
]
|
|
36914
36911
|
},
|
|
36915
36912
|
{
|
|
36916
36913
|
"kind": "javascript-module",
|
|
36917
|
-
"path": "card/card/card.component.js",
|
|
36914
|
+
"path": "card/card-badge/card-badge.component.js",
|
|
36918
36915
|
"declarations": [
|
|
36919
36916
|
{
|
|
36920
36917
|
"kind": "class",
|
|
36921
|
-
"description": "It displays content
|
|
36922
|
-
"name": "
|
|
36918
|
+
"description": "It displays content within a badge.",
|
|
36919
|
+
"name": "SbbCardBadgeElement",
|
|
36923
36920
|
"slots": [
|
|
36924
36921
|
{
|
|
36925
|
-
"description": "Use the unnamed slot to add content to the
|
|
36922
|
+
"description": "Use the unnamed slot to add content to the badge. Content parts should be wrapped in `<span>` tags to achieve correct spacings.",
|
|
36926
36923
|
"name": ""
|
|
36927
|
-
},
|
|
36928
|
-
{
|
|
36929
|
-
"description": "Use this slot to render a `sbb-card-badge` component.",
|
|
36930
|
-
"name": "badge"
|
|
36931
|
-
},
|
|
36932
|
-
{
|
|
36933
|
-
"description": "Use this slot to render a `sbb-card-button` or a `sbb-card-link` component.",
|
|
36934
|
-
"name": "action"
|
|
36935
36924
|
}
|
|
36936
36925
|
],
|
|
36937
36926
|
"members": [
|
|
36927
|
+
{
|
|
36928
|
+
"kind": "field",
|
|
36929
|
+
"name": "role",
|
|
36930
|
+
"type": {
|
|
36931
|
+
"text": "string"
|
|
36932
|
+
},
|
|
36933
|
+
"privacy": "public",
|
|
36934
|
+
"static": true,
|
|
36935
|
+
"readonly": true,
|
|
36936
|
+
"default": "'text'"
|
|
36937
|
+
},
|
|
36938
36938
|
{
|
|
36939
36939
|
"kind": "field",
|
|
36940
36940
|
"name": "color",
|
|
36941
36941
|
"type": {
|
|
36942
|
-
"text": "
|
|
36942
|
+
"text": "'charcoal' | 'white'"
|
|
36943
36943
|
},
|
|
36944
36944
|
"privacy": "public",
|
|
36945
|
-
"default": "'
|
|
36946
|
-
"description": "
|
|
36945
|
+
"default": "'charcoal'",
|
|
36946
|
+
"description": "Color of the card badge.",
|
|
36947
36947
|
"attribute": "color",
|
|
36948
36948
|
"reflects": true
|
|
36949
36949
|
},
|
|
@@ -36981,10 +36981,10 @@
|
|
|
36981
36981
|
{
|
|
36982
36982
|
"name": "color",
|
|
36983
36983
|
"type": {
|
|
36984
|
-
"text": "
|
|
36984
|
+
"text": "'charcoal' | 'white'"
|
|
36985
36985
|
},
|
|
36986
|
-
"default": "'
|
|
36987
|
-
"description": "
|
|
36986
|
+
"default": "'charcoal'",
|
|
36987
|
+
"description": "Color of the card badge.",
|
|
36988
36988
|
"fieldName": "color"
|
|
36989
36989
|
}
|
|
36990
36990
|
],
|
|
@@ -36998,25 +36998,25 @@
|
|
|
36998
36998
|
"name": "LitElement",
|
|
36999
36999
|
"package": "lit"
|
|
37000
37000
|
},
|
|
37001
|
-
"tagName": "sbb-card",
|
|
37001
|
+
"tagName": "sbb-card-badge",
|
|
37002
37002
|
"customElement": true
|
|
37003
37003
|
}
|
|
37004
37004
|
],
|
|
37005
37005
|
"exports": [
|
|
37006
37006
|
{
|
|
37007
37007
|
"kind": "js",
|
|
37008
|
-
"name": "
|
|
37008
|
+
"name": "SbbCardBadgeElement",
|
|
37009
37009
|
"declaration": {
|
|
37010
|
-
"name": "
|
|
37011
|
-
"module": "card/card/card.component.js"
|
|
37010
|
+
"name": "SbbCardBadgeElement",
|
|
37011
|
+
"module": "card/card-badge/card-badge.component.js"
|
|
37012
37012
|
}
|
|
37013
37013
|
},
|
|
37014
37014
|
{
|
|
37015
37015
|
"kind": "custom-element-definition",
|
|
37016
|
-
"name": "sbb-card",
|
|
37016
|
+
"name": "sbb-card-badge",
|
|
37017
37017
|
"declaration": {
|
|
37018
|
-
"name": "
|
|
37019
|
-
"module": "card/card/card.component.js"
|
|
37018
|
+
"name": "SbbCardBadgeElement",
|
|
37019
|
+
"module": "card/card-badge/card-badge.component.js"
|
|
37020
37020
|
}
|
|
37021
37021
|
}
|
|
37022
37022
|
]
|
|
@@ -77797,15 +77797,15 @@
|
|
|
77797
77797
|
},
|
|
77798
77798
|
{
|
|
77799
77799
|
"kind": "javascript-module",
|
|
77800
|
-
"path": "link/block-link
|
|
77800
|
+
"path": "link/block-link/block-link.component.js",
|
|
77801
77801
|
"declarations": [
|
|
77802
77802
|
{
|
|
77803
77803
|
"kind": "class",
|
|
77804
|
-
"description": "It displays a link enhanced with the SBB Design
|
|
77805
|
-
"name": "
|
|
77804
|
+
"description": "It displays a link enhanced with the SBB Design.",
|
|
77805
|
+
"name": "SbbBlockLinkElement",
|
|
77806
77806
|
"slots": [
|
|
77807
77807
|
{
|
|
77808
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link
|
|
77808
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
77809
77809
|
"name": ""
|
|
77810
77810
|
},
|
|
77811
77811
|
{
|
|
@@ -77819,15 +77819,15 @@
|
|
|
77819
77819
|
"module": "link/common.js"
|
|
77820
77820
|
},
|
|
77821
77821
|
{
|
|
77822
|
-
"name": "
|
|
77822
|
+
"name": "SbbDisabledMixin",
|
|
77823
77823
|
"module": "core/mixins.js"
|
|
77824
77824
|
}
|
|
77825
77825
|
],
|
|
77826
77826
|
"superclass": {
|
|
77827
|
-
"name": "
|
|
77827
|
+
"name": "SbbLinkBaseElement",
|
|
77828
77828
|
"module": "core/base-elements.js"
|
|
77829
77829
|
},
|
|
77830
|
-
"tagName": "sbb-block-link
|
|
77830
|
+
"tagName": "sbb-block-link",
|
|
77831
77831
|
"customElement": true,
|
|
77832
77832
|
"attributes": [
|
|
77833
77833
|
{
|
|
@@ -77869,19 +77869,6 @@
|
|
|
77869
77869
|
"module": "icon/icon-name-mixin.js"
|
|
77870
77870
|
}
|
|
77871
77871
|
},
|
|
77872
|
-
{
|
|
77873
|
-
"name": "disabled-interactive",
|
|
77874
|
-
"type": {
|
|
77875
|
-
"text": "boolean"
|
|
77876
|
-
},
|
|
77877
|
-
"default": "false",
|
|
77878
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
77879
|
-
"fieldName": "disabledInteractive",
|
|
77880
|
-
"inheritedFrom": {
|
|
77881
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
77882
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
77883
|
-
}
|
|
77884
|
-
},
|
|
77885
77872
|
{
|
|
77886
77873
|
"name": "disabled",
|
|
77887
77874
|
"description": "Whether the component is disabled.",
|
|
@@ -77896,719 +77883,403 @@
|
|
|
77896
77883
|
}
|
|
77897
77884
|
},
|
|
77898
77885
|
{
|
|
77899
|
-
"name": "
|
|
77900
|
-
"type": {
|
|
77901
|
-
"text": "string"
|
|
77902
|
-
},
|
|
77903
|
-
"default": "''",
|
|
77904
|
-
"description": "Value of the form element.",
|
|
77905
|
-
"fieldName": "value",
|
|
77906
|
-
"inheritedFrom": {
|
|
77907
|
-
"name": "SbbButtonBaseElement",
|
|
77908
|
-
"module": "core/base-elements/button-base-element.js"
|
|
77909
|
-
}
|
|
77910
|
-
},
|
|
77911
|
-
{
|
|
77912
|
-
"name": "type",
|
|
77913
|
-
"description": "The type attribute to use for the button.",
|
|
77914
|
-
"default": "'button'",
|
|
77915
|
-
"type": {
|
|
77916
|
-
"text": "SbbButtonType"
|
|
77917
|
-
},
|
|
77918
|
-
"fieldName": "type",
|
|
77919
|
-
"inheritedFrom": {
|
|
77920
|
-
"name": "SbbButtonBaseElement",
|
|
77921
|
-
"module": "core/base-elements/button-base-element.js"
|
|
77922
|
-
}
|
|
77923
|
-
},
|
|
77924
|
-
{
|
|
77925
|
-
"name": "form",
|
|
77926
|
-
"description": "The `<form>` element to associate the button with.",
|
|
77927
|
-
"type": {
|
|
77928
|
-
"text": "HTMLFormElement | null"
|
|
77929
|
-
},
|
|
77930
|
-
"fieldName": "form",
|
|
77931
|
-
"inheritedFrom": {
|
|
77932
|
-
"name": "SbbButtonBaseElement",
|
|
77933
|
-
"module": "core/base-elements/button-base-element.js"
|
|
77934
|
-
}
|
|
77935
|
-
},
|
|
77936
|
-
{
|
|
77937
|
-
"name": "name",
|
|
77938
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
77939
|
-
"type": {
|
|
77940
|
-
"text": "string"
|
|
77941
|
-
},
|
|
77942
|
-
"fieldName": "name",
|
|
77943
|
-
"inheritedFrom": {
|
|
77944
|
-
"name": "SbbFormAssociatedMixin",
|
|
77945
|
-
"module": "core/mixins/form-associated-mixin.js"
|
|
77946
|
-
}
|
|
77947
|
-
}
|
|
77948
|
-
],
|
|
77949
|
-
"members": [
|
|
77950
|
-
{
|
|
77951
|
-
"kind": "field",
|
|
77952
|
-
"name": "styles",
|
|
77953
|
-
"type": {
|
|
77954
|
-
"text": "CSSResultGroup"
|
|
77955
|
-
},
|
|
77956
|
-
"privacy": "public",
|
|
77957
|
-
"static": true,
|
|
77958
|
-
"default": "[boxSizingStyles, style, blockStyle]",
|
|
77959
|
-
"inheritedFrom": {
|
|
77960
|
-
"name": "SbbLinkCommonElementMixin",
|
|
77961
|
-
"module": "link/common/link-common.js"
|
|
77962
|
-
}
|
|
77963
|
-
},
|
|
77964
|
-
{
|
|
77965
|
-
"kind": "field",
|
|
77966
|
-
"name": "iconPlacement",
|
|
77967
|
-
"type": {
|
|
77968
|
-
"text": "SbbIconPlacement"
|
|
77969
|
-
},
|
|
77970
|
-
"privacy": "public",
|
|
77971
|
-
"default": "'start'",
|
|
77972
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
77973
|
-
"attribute": "icon-placement",
|
|
77974
|
-
"reflects": true,
|
|
77975
|
-
"inheritedFrom": {
|
|
77976
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
77977
|
-
"module": "link/common/block-link-common.js"
|
|
77978
|
-
}
|
|
77979
|
-
},
|
|
77980
|
-
{
|
|
77981
|
-
"kind": "method",
|
|
77982
|
-
"name": "renderTemplate",
|
|
77983
|
-
"privacy": "protected",
|
|
77984
|
-
"return": {
|
|
77985
|
-
"type": {
|
|
77986
|
-
"text": "TemplateResult"
|
|
77987
|
-
}
|
|
77988
|
-
},
|
|
77989
|
-
"description": "Override this method to render the component template.",
|
|
77990
|
-
"inheritedFrom": {
|
|
77991
|
-
"name": "SbbActionBaseElement",
|
|
77992
|
-
"module": "core/base-elements/action-base-element.js"
|
|
77993
|
-
}
|
|
77994
|
-
},
|
|
77995
|
-
{
|
|
77996
|
-
"kind": "field",
|
|
77997
|
-
"name": "size",
|
|
77998
|
-
"type": {
|
|
77999
|
-
"text": "SbbLinkSize"
|
|
78000
|
-
},
|
|
78001
|
-
"privacy": "public",
|
|
78002
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
78003
|
-
"default": "'s' / 'xs' (lean)",
|
|
78004
|
-
"attribute": "size",
|
|
78005
|
-
"reflects": true,
|
|
78006
|
-
"inheritedFrom": {
|
|
78007
|
-
"name": "SbbLinkCommonElementMixin",
|
|
78008
|
-
"module": "link/common/link-common.js"
|
|
78009
|
-
}
|
|
78010
|
-
},
|
|
78011
|
-
{
|
|
78012
|
-
"kind": "field",
|
|
78013
|
-
"name": "iconName",
|
|
78014
|
-
"type": {
|
|
78015
|
-
"text": "string"
|
|
78016
|
-
},
|
|
78017
|
-
"privacy": "public",
|
|
78018
|
-
"default": "''",
|
|
78019
|
-
"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.",
|
|
78020
|
-
"attribute": "icon-name",
|
|
78021
|
-
"inheritedFrom": {
|
|
78022
|
-
"name": "SbbIconNameMixin",
|
|
78023
|
-
"module": "icon/icon-name-mixin.js"
|
|
78024
|
-
}
|
|
78025
|
-
},
|
|
78026
|
-
{
|
|
78027
|
-
"kind": "method",
|
|
78028
|
-
"name": "renderIconSlot",
|
|
78029
|
-
"privacy": "protected",
|
|
78030
|
-
"return": {
|
|
78031
|
-
"type": {
|
|
78032
|
-
"text": "TemplateResult"
|
|
78033
|
-
}
|
|
78034
|
-
},
|
|
78035
|
-
"parameters": [
|
|
78036
|
-
{
|
|
78037
|
-
"name": "classname",
|
|
78038
|
-
"optional": true,
|
|
78039
|
-
"type": {
|
|
78040
|
-
"text": "string"
|
|
78041
|
-
}
|
|
78042
|
-
}
|
|
78043
|
-
],
|
|
78044
|
-
"inheritedFrom": {
|
|
78045
|
-
"name": "SbbIconNameMixin",
|
|
78046
|
-
"module": "icon/icon-name-mixin.js"
|
|
78047
|
-
}
|
|
78048
|
-
},
|
|
78049
|
-
{
|
|
78050
|
-
"kind": "method",
|
|
78051
|
-
"name": "renderIconName",
|
|
78052
|
-
"privacy": "protected",
|
|
78053
|
-
"return": {
|
|
78054
|
-
"type": {
|
|
78055
|
-
"text": "string"
|
|
78056
|
-
}
|
|
78057
|
-
},
|
|
78058
|
-
"inheritedFrom": {
|
|
78059
|
-
"name": "SbbIconNameMixin",
|
|
78060
|
-
"module": "icon/icon-name-mixin.js"
|
|
78061
|
-
}
|
|
78062
|
-
},
|
|
78063
|
-
{
|
|
78064
|
-
"kind": "method",
|
|
78065
|
-
"name": "_renderIconName",
|
|
78066
|
-
"privacy": "private",
|
|
78067
|
-
"return": {
|
|
78068
|
-
"type": {
|
|
78069
|
-
"text": "string"
|
|
78070
|
-
}
|
|
78071
|
-
},
|
|
78072
|
-
"inheritedFrom": {
|
|
78073
|
-
"name": "SbbIconNameMixin",
|
|
78074
|
-
"module": "icon/icon-name-mixin.js"
|
|
78075
|
-
}
|
|
78076
|
-
},
|
|
78077
|
-
{
|
|
78078
|
-
"kind": "field",
|
|
78079
|
-
"name": "disabledInteractive",
|
|
78080
|
-
"type": {
|
|
78081
|
-
"text": "boolean"
|
|
78082
|
-
},
|
|
78083
|
-
"privacy": "public",
|
|
78084
|
-
"default": "false",
|
|
78085
|
-
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
78086
|
-
"attribute": "disabled-interactive",
|
|
78087
|
-
"reflects": true,
|
|
78088
|
-
"inheritedFrom": {
|
|
78089
|
-
"name": "SbbDisabledInteractiveMixin",
|
|
78090
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
78091
|
-
}
|
|
78092
|
-
},
|
|
78093
|
-
{
|
|
78094
|
-
"kind": "field",
|
|
78095
|
-
"name": "disabled",
|
|
78096
|
-
"privacy": "public",
|
|
78097
|
-
"description": "Whether the component is disabled.",
|
|
78098
|
-
"default": "false",
|
|
78099
|
-
"type": {
|
|
78100
|
-
"text": "boolean"
|
|
78101
|
-
},
|
|
78102
|
-
"attribute": "disabled",
|
|
78103
|
-
"reflects": true,
|
|
78104
|
-
"inheritedFrom": {
|
|
78105
|
-
"name": "SbbDisabledMixin",
|
|
78106
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
78107
|
-
}
|
|
78108
|
-
},
|
|
78109
|
-
{
|
|
78110
|
-
"kind": "field",
|
|
78111
|
-
"name": "#disabled",
|
|
78112
|
-
"privacy": "private",
|
|
78113
|
-
"type": {
|
|
78114
|
-
"text": "boolean"
|
|
78115
|
-
},
|
|
78116
|
-
"default": "false",
|
|
78117
|
-
"inheritedFrom": {
|
|
78118
|
-
"name": "SbbDisabledMixin",
|
|
78119
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
78120
|
-
}
|
|
78121
|
-
},
|
|
78122
|
-
{
|
|
78123
|
-
"kind": "method",
|
|
78124
|
-
"name": "isDisabledExternally",
|
|
78125
|
-
"privacy": "protected",
|
|
78126
|
-
"return": {
|
|
78127
|
-
"type": {
|
|
78128
|
-
"text": "boolean"
|
|
78129
|
-
}
|
|
78130
|
-
},
|
|
78131
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
78132
|
-
"inheritedFrom": {
|
|
78133
|
-
"name": "SbbDisabledMixin",
|
|
78134
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
78135
|
-
}
|
|
78136
|
-
},
|
|
78137
|
-
{
|
|
78138
|
-
"kind": "field",
|
|
78139
|
-
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
78140
|
-
"type": {
|
|
78141
|
-
"text": "array"
|
|
78142
|
-
},
|
|
78143
|
-
"privacy": "private",
|
|
78144
|
-
"readonly": true,
|
|
78145
|
-
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
78146
|
-
"inheritedFrom": {
|
|
78147
|
-
"name": "SbbButtonBaseElement",
|
|
78148
|
-
"module": "core/base-elements/button-base-element.js"
|
|
78149
|
-
}
|
|
78150
|
-
},
|
|
78151
|
-
{
|
|
78152
|
-
"kind": "field",
|
|
78153
|
-
"name": "value",
|
|
78154
|
-
"type": {
|
|
78155
|
-
"text": "string"
|
|
78156
|
-
},
|
|
78157
|
-
"privacy": "public",
|
|
78158
|
-
"inheritedFrom": {
|
|
78159
|
-
"name": "SbbButtonBaseElement",
|
|
78160
|
-
"module": "core/base-elements/button-base-element.js"
|
|
78161
|
-
},
|
|
78162
|
-
"default": "''",
|
|
78163
|
-
"description": "Value of the form element.",
|
|
78164
|
-
"attribute": "value"
|
|
78165
|
-
},
|
|
78166
|
-
{
|
|
78167
|
-
"kind": "field",
|
|
78168
|
-
"name": "type",
|
|
78169
|
-
"privacy": "public",
|
|
78170
|
-
"description": "The type attribute to use for the button.",
|
|
78171
|
-
"default": "'button'",
|
|
78172
|
-
"type": {
|
|
78173
|
-
"text": "SbbButtonType"
|
|
78174
|
-
},
|
|
78175
|
-
"attribute": "type",
|
|
78176
|
-
"inheritedFrom": {
|
|
78177
|
-
"name": "SbbButtonBaseElement",
|
|
78178
|
-
"module": "core/base-elements/button-base-element.js"
|
|
78179
|
-
}
|
|
78180
|
-
},
|
|
78181
|
-
{
|
|
78182
|
-
"kind": "field",
|
|
78183
|
-
"name": "form",
|
|
78184
|
-
"type": {
|
|
78185
|
-
"text": "HTMLFormElement | null"
|
|
78186
|
-
},
|
|
78187
|
-
"privacy": "public",
|
|
78188
|
-
"description": "The `<form>` element to associate the button with.",
|
|
78189
|
-
"inheritedFrom": {
|
|
78190
|
-
"name": "SbbButtonBaseElement",
|
|
78191
|
-
"module": "core/base-elements/button-base-element.js"
|
|
78192
|
-
},
|
|
78193
|
-
"attribute": "form"
|
|
78194
|
-
},
|
|
78195
|
-
{
|
|
78196
|
-
"kind": "field",
|
|
78197
|
-
"name": "_formId",
|
|
77886
|
+
"name": "href",
|
|
78198
77887
|
"type": {
|
|
78199
77888
|
"text": "string"
|
|
78200
77889
|
},
|
|
78201
|
-
"privacy": "private",
|
|
78202
77890
|
"default": "''",
|
|
77891
|
+
"description": "The href value you want to link to.",
|
|
77892
|
+
"fieldName": "href",
|
|
78203
77893
|
"inheritedFrom": {
|
|
78204
|
-
"name": "
|
|
78205
|
-
"module": "core/base-elements/
|
|
78206
|
-
}
|
|
78207
|
-
},
|
|
78208
|
-
{
|
|
78209
|
-
"kind": "field",
|
|
78210
|
-
"name": "_handleButtonClick",
|
|
78211
|
-
"privacy": "private",
|
|
78212
|
-
"inheritedFrom": {
|
|
78213
|
-
"name": "SbbButtonBaseElement",
|
|
78214
|
-
"module": "core/base-elements/button-base-element.js"
|
|
78215
|
-
}
|
|
78216
|
-
},
|
|
78217
|
-
{
|
|
78218
|
-
"kind": "method",
|
|
78219
|
-
"name": "_requestSubmit",
|
|
78220
|
-
"privacy": "private",
|
|
78221
|
-
"return": {
|
|
78222
|
-
"type": {
|
|
78223
|
-
"text": "void"
|
|
78224
|
-
}
|
|
78225
|
-
},
|
|
78226
|
-
"parameters": [
|
|
78227
|
-
{
|
|
78228
|
-
"name": "form",
|
|
78229
|
-
"type": {
|
|
78230
|
-
"text": "HTMLFormElement"
|
|
78231
|
-
}
|
|
78232
|
-
}
|
|
78233
|
-
],
|
|
78234
|
-
"inheritedFrom": {
|
|
78235
|
-
"name": "SbbButtonBaseElement",
|
|
78236
|
-
"module": "core/base-elements/button-base-element.js"
|
|
78237
|
-
}
|
|
78238
|
-
},
|
|
78239
|
-
{
|
|
78240
|
-
"kind": "field",
|
|
78241
|
-
"name": "_formKeyDown",
|
|
78242
|
-
"privacy": "private",
|
|
78243
|
-
"inheritedFrom": {
|
|
78244
|
-
"name": "SbbButtonBaseElement",
|
|
78245
|
-
"module": "core/base-elements/button-base-element.js"
|
|
77894
|
+
"name": "SbbLinkBaseElement",
|
|
77895
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78246
77896
|
}
|
|
78247
77897
|
},
|
|
78248
77898
|
{
|
|
78249
|
-
"
|
|
78250
|
-
"name": "formAssociated",
|
|
77899
|
+
"name": "target",
|
|
78251
77900
|
"type": {
|
|
78252
|
-
"text": "
|
|
77901
|
+
"text": "LinkTargetType | string"
|
|
78253
77902
|
},
|
|
78254
|
-
"
|
|
78255
|
-
"
|
|
78256
|
-
"
|
|
77903
|
+
"default": "''",
|
|
77904
|
+
"description": "Where to display the linked URL.",
|
|
77905
|
+
"fieldName": "target",
|
|
78257
77906
|
"inheritedFrom": {
|
|
78258
|
-
"name": "
|
|
78259
|
-
"module": "core/
|
|
77907
|
+
"name": "SbbLinkBaseElement",
|
|
77908
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78260
77909
|
}
|
|
78261
77910
|
},
|
|
78262
77911
|
{
|
|
78263
|
-
"
|
|
78264
|
-
"name": "name",
|
|
78265
|
-
"privacy": "public",
|
|
78266
|
-
"description": "Name of the form element. Will be read from name attribute.",
|
|
77912
|
+
"name": "rel",
|
|
78267
77913
|
"type": {
|
|
78268
77914
|
"text": "string"
|
|
78269
77915
|
},
|
|
78270
|
-
"
|
|
77916
|
+
"default": "''",
|
|
77917
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
77918
|
+
"fieldName": "rel",
|
|
78271
77919
|
"inheritedFrom": {
|
|
78272
|
-
"name": "
|
|
78273
|
-
"module": "core/
|
|
77920
|
+
"name": "SbbLinkBaseElement",
|
|
77921
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78274
77922
|
}
|
|
78275
77923
|
},
|
|
78276
77924
|
{
|
|
78277
|
-
"
|
|
78278
|
-
"name": "validity",
|
|
77925
|
+
"name": "download",
|
|
78279
77926
|
"type": {
|
|
78280
|
-
"text": "
|
|
77927
|
+
"text": "boolean"
|
|
78281
77928
|
},
|
|
78282
|
-
"
|
|
78283
|
-
"description": "
|
|
78284
|
-
"
|
|
77929
|
+
"default": "false",
|
|
77930
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
77931
|
+
"fieldName": "download",
|
|
78285
77932
|
"inheritedFrom": {
|
|
78286
|
-
"name": "
|
|
78287
|
-
"module": "core/
|
|
77933
|
+
"name": "SbbLinkBaseElement",
|
|
77934
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78288
77935
|
}
|
|
78289
77936
|
},
|
|
78290
77937
|
{
|
|
78291
|
-
"
|
|
78292
|
-
"name": "validationMessage",
|
|
77938
|
+
"name": "accessibility-label",
|
|
78293
77939
|
"type": {
|
|
78294
77940
|
"text": "string"
|
|
78295
77941
|
},
|
|
78296
|
-
"
|
|
78297
|
-
"description": "
|
|
78298
|
-
"
|
|
77942
|
+
"default": "''",
|
|
77943
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
77944
|
+
"fieldName": "accessibilityLabel",
|
|
78299
77945
|
"inheritedFrom": {
|
|
78300
|
-
"name": "
|
|
78301
|
-
"module": "core/
|
|
77946
|
+
"name": "SbbLinkBaseElement",
|
|
77947
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78302
77948
|
}
|
|
78303
77949
|
},
|
|
78304
77950
|
{
|
|
78305
|
-
"
|
|
78306
|
-
"name": "willValidate",
|
|
77951
|
+
"name": "accessibility-current",
|
|
78307
77952
|
"type": {
|
|
78308
|
-
"text": "
|
|
77953
|
+
"text": "string"
|
|
78309
77954
|
},
|
|
78310
|
-
"
|
|
78311
|
-
"description": "
|
|
78312
|
-
"
|
|
77955
|
+
"default": "''",
|
|
77956
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
77957
|
+
"fieldName": "accessibilityCurrent",
|
|
78313
77958
|
"inheritedFrom": {
|
|
78314
|
-
"name": "
|
|
78315
|
-
"module": "core/
|
|
77959
|
+
"name": "SbbLinkBaseElement",
|
|
77960
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78316
77961
|
}
|
|
78317
|
-
}
|
|
77962
|
+
}
|
|
77963
|
+
],
|
|
77964
|
+
"members": [
|
|
78318
77965
|
{
|
|
78319
77966
|
"kind": "field",
|
|
78320
|
-
"name": "
|
|
78321
|
-
"
|
|
78322
|
-
|
|
77967
|
+
"name": "styles",
|
|
77968
|
+
"type": {
|
|
77969
|
+
"text": "CSSResultGroup"
|
|
77970
|
+
},
|
|
77971
|
+
"privacy": "public",
|
|
77972
|
+
"static": true,
|
|
77973
|
+
"default": "[boxSizingStyles, style, blockStyle]",
|
|
78323
77974
|
"inheritedFrom": {
|
|
78324
|
-
"name": "
|
|
78325
|
-
"module": "
|
|
77975
|
+
"name": "SbbLinkCommonElementMixin",
|
|
77976
|
+
"module": "link/common/link-common.js"
|
|
78326
77977
|
}
|
|
78327
77978
|
},
|
|
78328
77979
|
{
|
|
78329
77980
|
"kind": "field",
|
|
78330
|
-
"name": "
|
|
77981
|
+
"name": "iconPlacement",
|
|
78331
77982
|
"type": {
|
|
78332
|
-
"text": "
|
|
77983
|
+
"text": "SbbIconPlacement"
|
|
78333
77984
|
},
|
|
78334
|
-
"privacy": "
|
|
78335
|
-
"default": "
|
|
78336
|
-
"description": "
|
|
77985
|
+
"privacy": "public",
|
|
77986
|
+
"default": "'start'",
|
|
77987
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
77988
|
+
"attribute": "icon-placement",
|
|
77989
|
+
"reflects": true,
|
|
78337
77990
|
"inheritedFrom": {
|
|
78338
|
-
"name": "
|
|
78339
|
-
"module": "
|
|
77991
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
77992
|
+
"module": "link/common/block-link-common.js"
|
|
78340
77993
|
}
|
|
78341
77994
|
},
|
|
78342
77995
|
{
|
|
78343
77996
|
"kind": "method",
|
|
78344
|
-
"name": "
|
|
78345
|
-
"privacy": "
|
|
77997
|
+
"name": "renderTemplate",
|
|
77998
|
+
"privacy": "protected",
|
|
78346
77999
|
"return": {
|
|
78347
78000
|
"type": {
|
|
78348
|
-
"text": "
|
|
78001
|
+
"text": "TemplateResult"
|
|
78349
78002
|
}
|
|
78350
78003
|
},
|
|
78351
|
-
"description": "
|
|
78004
|
+
"description": "Override this method to render the component template.",
|
|
78352
78005
|
"inheritedFrom": {
|
|
78353
|
-
"name": "
|
|
78354
|
-
"module": "core/
|
|
78006
|
+
"name": "SbbActionBaseElement",
|
|
78007
|
+
"module": "core/base-elements/action-base-element.js"
|
|
78355
78008
|
}
|
|
78356
78009
|
},
|
|
78357
78010
|
{
|
|
78358
|
-
"kind": "
|
|
78359
|
-
"name": "
|
|
78011
|
+
"kind": "field",
|
|
78012
|
+
"name": "size",
|
|
78013
|
+
"type": {
|
|
78014
|
+
"text": "SbbLinkSize"
|
|
78015
|
+
},
|
|
78360
78016
|
"privacy": "public",
|
|
78361
|
-
"
|
|
78362
|
-
|
|
78363
|
-
|
|
78364
|
-
|
|
78017
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
78018
|
+
"default": "'s' / 'xs' (lean)",
|
|
78019
|
+
"attribute": "size",
|
|
78020
|
+
"reflects": true,
|
|
78021
|
+
"inheritedFrom": {
|
|
78022
|
+
"name": "SbbLinkCommonElementMixin",
|
|
78023
|
+
"module": "link/common/link-common.js"
|
|
78024
|
+
}
|
|
78025
|
+
},
|
|
78026
|
+
{
|
|
78027
|
+
"kind": "field",
|
|
78028
|
+
"name": "iconName",
|
|
78029
|
+
"type": {
|
|
78030
|
+
"text": "string"
|
|
78365
78031
|
},
|
|
78366
|
-
"
|
|
78032
|
+
"privacy": "public",
|
|
78033
|
+
"default": "''",
|
|
78034
|
+
"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.",
|
|
78035
|
+
"attribute": "icon-name",
|
|
78367
78036
|
"inheritedFrom": {
|
|
78368
|
-
"name": "
|
|
78369
|
-
"module": "
|
|
78037
|
+
"name": "SbbIconNameMixin",
|
|
78038
|
+
"module": "icon/icon-name-mixin.js"
|
|
78370
78039
|
}
|
|
78371
78040
|
},
|
|
78372
78041
|
{
|
|
78373
78042
|
"kind": "method",
|
|
78374
|
-
"name": "
|
|
78375
|
-
"privacy": "
|
|
78043
|
+
"name": "renderIconSlot",
|
|
78044
|
+
"privacy": "protected",
|
|
78376
78045
|
"return": {
|
|
78377
78046
|
"type": {
|
|
78378
|
-
"text": "
|
|
78047
|
+
"text": "TemplateResult"
|
|
78379
78048
|
}
|
|
78380
78049
|
},
|
|
78381
78050
|
"parameters": [
|
|
78382
78051
|
{
|
|
78383
|
-
"name": "
|
|
78052
|
+
"name": "classname",
|
|
78053
|
+
"optional": true,
|
|
78384
78054
|
"type": {
|
|
78385
78055
|
"text": "string"
|
|
78386
78056
|
}
|
|
78387
78057
|
}
|
|
78388
78058
|
],
|
|
78389
|
-
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
78390
78059
|
"inheritedFrom": {
|
|
78391
|
-
"name": "
|
|
78392
|
-
"module": "
|
|
78060
|
+
"name": "SbbIconNameMixin",
|
|
78061
|
+
"module": "icon/icon-name-mixin.js"
|
|
78393
78062
|
}
|
|
78394
78063
|
},
|
|
78395
78064
|
{
|
|
78396
78065
|
"kind": "method",
|
|
78397
|
-
"name": "
|
|
78398
|
-
"privacy": "
|
|
78066
|
+
"name": "renderIconName",
|
|
78067
|
+
"privacy": "protected",
|
|
78399
78068
|
"return": {
|
|
78400
78069
|
"type": {
|
|
78401
|
-
"text": "
|
|
78070
|
+
"text": "string"
|
|
78402
78071
|
}
|
|
78403
78072
|
},
|
|
78404
78073
|
"inheritedFrom": {
|
|
78405
|
-
"name": "
|
|
78406
|
-
"module": "
|
|
78074
|
+
"name": "SbbIconNameMixin",
|
|
78075
|
+
"module": "icon/icon-name-mixin.js"
|
|
78407
78076
|
}
|
|
78408
78077
|
},
|
|
78409
78078
|
{
|
|
78410
78079
|
"kind": "method",
|
|
78411
|
-
"name": "
|
|
78412
|
-
"privacy": "
|
|
78080
|
+
"name": "_renderIconName",
|
|
78081
|
+
"privacy": "private",
|
|
78413
78082
|
"return": {
|
|
78414
78083
|
"type": {
|
|
78415
|
-
"text": "
|
|
78084
|
+
"text": "string"
|
|
78416
78085
|
}
|
|
78417
78086
|
},
|
|
78418
|
-
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
78419
78087
|
"inheritedFrom": {
|
|
78420
|
-
"name": "
|
|
78421
|
-
"module": "
|
|
78088
|
+
"name": "SbbIconNameMixin",
|
|
78089
|
+
"module": "icon/icon-name-mixin.js"
|
|
78422
78090
|
}
|
|
78423
78091
|
},
|
|
78424
78092
|
{
|
|
78425
|
-
"kind": "
|
|
78426
|
-
"name": "
|
|
78427
|
-
"privacy": "
|
|
78428
|
-
"
|
|
78429
|
-
|
|
78430
|
-
|
|
78431
|
-
|
|
78093
|
+
"kind": "field",
|
|
78094
|
+
"name": "disabled",
|
|
78095
|
+
"privacy": "public",
|
|
78096
|
+
"description": "Whether the component is disabled.",
|
|
78097
|
+
"default": "false",
|
|
78098
|
+
"type": {
|
|
78099
|
+
"text": "boolean"
|
|
78432
78100
|
},
|
|
78101
|
+
"attribute": "disabled",
|
|
78102
|
+
"reflects": true,
|
|
78433
78103
|
"inheritedFrom": {
|
|
78434
|
-
"name": "
|
|
78435
|
-
"module": "core/mixins/
|
|
78104
|
+
"name": "SbbDisabledMixin",
|
|
78105
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
78436
78106
|
}
|
|
78437
78107
|
},
|
|
78438
78108
|
{
|
|
78439
|
-
"kind": "
|
|
78440
|
-
"name": "
|
|
78441
|
-
"privacy": "
|
|
78442
|
-
"
|
|
78443
|
-
"
|
|
78444
|
-
"text": "void"
|
|
78445
|
-
}
|
|
78109
|
+
"kind": "field",
|
|
78110
|
+
"name": "#disabled",
|
|
78111
|
+
"privacy": "private",
|
|
78112
|
+
"type": {
|
|
78113
|
+
"text": "boolean"
|
|
78446
78114
|
},
|
|
78447
|
-
"
|
|
78448
|
-
{
|
|
78449
|
-
"name": "flag",
|
|
78450
|
-
"type": {
|
|
78451
|
-
"text": "T"
|
|
78452
|
-
}
|
|
78453
|
-
},
|
|
78454
|
-
{
|
|
78455
|
-
"name": "message",
|
|
78456
|
-
"type": {
|
|
78457
|
-
"text": "string"
|
|
78458
|
-
}
|
|
78459
|
-
},
|
|
78460
|
-
{
|
|
78461
|
-
"name": "flagValue",
|
|
78462
|
-
"optional": true,
|
|
78463
|
-
"type": {
|
|
78464
|
-
"text": "ValidityStateFlags[T]"
|
|
78465
|
-
}
|
|
78466
|
-
}
|
|
78467
|
-
],
|
|
78468
|
-
"description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
|
|
78115
|
+
"default": "false",
|
|
78469
78116
|
"inheritedFrom": {
|
|
78470
|
-
"name": "
|
|
78471
|
-
"module": "core/mixins/
|
|
78117
|
+
"name": "SbbDisabledMixin",
|
|
78118
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
78472
78119
|
}
|
|
78473
78120
|
},
|
|
78474
78121
|
{
|
|
78475
78122
|
"kind": "method",
|
|
78476
|
-
"name": "
|
|
78123
|
+
"name": "isDisabledExternally",
|
|
78477
78124
|
"privacy": "protected",
|
|
78478
78125
|
"return": {
|
|
78479
78126
|
"type": {
|
|
78480
|
-
"text": "
|
|
78127
|
+
"text": "boolean"
|
|
78481
78128
|
}
|
|
78482
78129
|
},
|
|
78483
|
-
"
|
|
78484
|
-
{
|
|
78485
|
-
"name": "flag",
|
|
78486
|
-
"type": {
|
|
78487
|
-
"text": "T"
|
|
78488
|
-
}
|
|
78489
|
-
}
|
|
78490
|
-
],
|
|
78491
|
-
"description": "Removes the validity state flag entry and updates validity state.",
|
|
78130
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
78492
78131
|
"inheritedFrom": {
|
|
78493
|
-
"name": "
|
|
78494
|
-
"module": "core/mixins/
|
|
78132
|
+
"name": "SbbDisabledMixin",
|
|
78133
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
78495
78134
|
}
|
|
78496
78135
|
},
|
|
78497
78136
|
{
|
|
78498
|
-
"kind": "
|
|
78499
|
-
"name": "
|
|
78500
|
-
"
|
|
78501
|
-
|
|
78502
|
-
"type": {
|
|
78503
|
-
"text": "void"
|
|
78504
|
-
}
|
|
78137
|
+
"kind": "field",
|
|
78138
|
+
"name": "href",
|
|
78139
|
+
"type": {
|
|
78140
|
+
"text": "string"
|
|
78505
78141
|
},
|
|
78506
|
-
"
|
|
78142
|
+
"privacy": "public",
|
|
78143
|
+
"default": "''",
|
|
78144
|
+
"description": "The href value you want to link to.",
|
|
78145
|
+
"attribute": "href",
|
|
78146
|
+
"reflects": true,
|
|
78507
78147
|
"inheritedFrom": {
|
|
78508
|
-
"name": "
|
|
78509
|
-
"module": "core/
|
|
78148
|
+
"name": "SbbLinkBaseElement",
|
|
78149
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78510
78150
|
}
|
|
78511
78151
|
},
|
|
78512
78152
|
{
|
|
78513
|
-
"kind": "
|
|
78514
|
-
"name": "
|
|
78515
|
-
"
|
|
78516
|
-
|
|
78517
|
-
"type": {
|
|
78518
|
-
"text": "boolean"
|
|
78519
|
-
}
|
|
78153
|
+
"kind": "field",
|
|
78154
|
+
"name": "target",
|
|
78155
|
+
"type": {
|
|
78156
|
+
"text": "LinkTargetType | string"
|
|
78520
78157
|
},
|
|
78521
|
-
"
|
|
78522
|
-
|
|
78523
|
-
|
|
78524
|
-
|
|
78525
|
-
|
|
78526
|
-
}
|
|
78527
|
-
}
|
|
78528
|
-
],
|
|
78529
|
-
"description": "Whether validation should be run on a property change with the given name.",
|
|
78158
|
+
"privacy": "public",
|
|
78159
|
+
"default": "''",
|
|
78160
|
+
"description": "Where to display the linked URL.",
|
|
78161
|
+
"attribute": "target",
|
|
78162
|
+
"reflects": true,
|
|
78530
78163
|
"inheritedFrom": {
|
|
78531
|
-
"name": "
|
|
78532
|
-
"module": "core/
|
|
78164
|
+
"name": "SbbLinkBaseElement",
|
|
78165
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78533
78166
|
}
|
|
78534
78167
|
},
|
|
78535
78168
|
{
|
|
78536
|
-
"kind": "
|
|
78537
|
-
"name": "
|
|
78538
|
-
"
|
|
78539
|
-
|
|
78540
|
-
"type": {
|
|
78541
|
-
"text": "void"
|
|
78542
|
-
}
|
|
78169
|
+
"kind": "field",
|
|
78170
|
+
"name": "rel",
|
|
78171
|
+
"type": {
|
|
78172
|
+
"text": "string"
|
|
78543
78173
|
},
|
|
78174
|
+
"privacy": "public",
|
|
78175
|
+
"default": "''",
|
|
78176
|
+
"description": "The relationship of the linked URL as space-separated link types.",
|
|
78177
|
+
"attribute": "rel",
|
|
78178
|
+
"reflects": true,
|
|
78544
78179
|
"inheritedFrom": {
|
|
78545
|
-
"name": "
|
|
78546
|
-
"module": "core/
|
|
78180
|
+
"name": "SbbLinkBaseElement",
|
|
78181
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78547
78182
|
}
|
|
78548
78183
|
},
|
|
78549
78184
|
{
|
|
78550
78185
|
"kind": "field",
|
|
78551
|
-
"name": "
|
|
78186
|
+
"name": "download",
|
|
78552
78187
|
"type": {
|
|
78553
|
-
"text": "
|
|
78188
|
+
"text": "boolean"
|
|
78554
78189
|
},
|
|
78555
78190
|
"privacy": "public",
|
|
78556
|
-
"
|
|
78557
|
-
"
|
|
78558
|
-
"
|
|
78191
|
+
"default": "false",
|
|
78192
|
+
"description": "Whether the browser will show the download dialog on click.",
|
|
78193
|
+
"attribute": "download",
|
|
78194
|
+
"reflects": true,
|
|
78559
78195
|
"inheritedFrom": {
|
|
78560
|
-
"name": "
|
|
78561
|
-
"module": "core/base-elements/
|
|
78196
|
+
"name": "SbbLinkBaseElement",
|
|
78197
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78562
78198
|
}
|
|
78563
78199
|
},
|
|
78564
78200
|
{
|
|
78565
78201
|
"kind": "field",
|
|
78566
|
-
"name": "
|
|
78567
|
-
"
|
|
78568
|
-
|
|
78569
|
-
|
|
78570
|
-
|
|
78571
|
-
|
|
78572
|
-
|
|
78573
|
-
|
|
78574
|
-
],
|
|
78202
|
+
"name": "accessibilityLabel",
|
|
78203
|
+
"type": {
|
|
78204
|
+
"text": "string"
|
|
78205
|
+
},
|
|
78206
|
+
"privacy": "public",
|
|
78207
|
+
"default": "''",
|
|
78208
|
+
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
78209
|
+
"attribute": "accessibility-label",
|
|
78575
78210
|
"inheritedFrom": {
|
|
78576
|
-
"name": "
|
|
78577
|
-
"module": "core/base-elements/
|
|
78211
|
+
"name": "SbbLinkBaseElement",
|
|
78212
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78578
78213
|
}
|
|
78579
78214
|
},
|
|
78580
78215
|
{
|
|
78581
78216
|
"kind": "field",
|
|
78582
|
-
"name": "
|
|
78583
|
-
"
|
|
78217
|
+
"name": "accessibilityCurrent",
|
|
78218
|
+
"type": {
|
|
78219
|
+
"text": "string"
|
|
78220
|
+
},
|
|
78221
|
+
"privacy": "public",
|
|
78222
|
+
"default": "''",
|
|
78223
|
+
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
78224
|
+
"attribute": "accessibility-current",
|
|
78584
78225
|
"inheritedFrom": {
|
|
78585
|
-
"name": "
|
|
78586
|
-
"module": "core/base-elements/
|
|
78226
|
+
"name": "SbbLinkBaseElement",
|
|
78227
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78587
78228
|
}
|
|
78588
78229
|
},
|
|
78589
78230
|
{
|
|
78590
78231
|
"kind": "field",
|
|
78591
|
-
"name": "
|
|
78592
|
-
"privacy": "
|
|
78593
|
-
"
|
|
78594
|
-
"parameters": [
|
|
78595
|
-
{
|
|
78596
|
-
"description": "The origin event.",
|
|
78597
|
-
"name": "event"
|
|
78598
|
-
}
|
|
78599
|
-
],
|
|
78232
|
+
"name": "language",
|
|
78233
|
+
"privacy": "protected",
|
|
78234
|
+
"default": "new SbbLanguageController(this)",
|
|
78600
78235
|
"inheritedFrom": {
|
|
78601
|
-
"name": "
|
|
78602
|
-
"module": "core/base-elements/
|
|
78236
|
+
"name": "SbbLinkBaseElement",
|
|
78237
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78603
78238
|
}
|
|
78604
78239
|
},
|
|
78605
78240
|
{
|
|
78606
78241
|
"kind": "field",
|
|
78607
|
-
"name": "
|
|
78242
|
+
"name": "anchorRole",
|
|
78243
|
+
"type": {
|
|
78244
|
+
"text": "string | null"
|
|
78245
|
+
},
|
|
78246
|
+
"privacy": "protected",
|
|
78247
|
+
"readonly": true,
|
|
78248
|
+
"default": "null",
|
|
78249
|
+
"inheritedFrom": {
|
|
78250
|
+
"name": "SbbLinkBaseElement",
|
|
78251
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78252
|
+
}
|
|
78253
|
+
},
|
|
78254
|
+
{
|
|
78255
|
+
"kind": "field",
|
|
78256
|
+
"name": "_evaluateRelAttribute",
|
|
78608
78257
|
"privacy": "private",
|
|
78609
78258
|
"inheritedFrom": {
|
|
78610
|
-
"name": "
|
|
78611
|
-
"module": "core/base-elements/
|
|
78259
|
+
"name": "SbbLinkBaseElement",
|
|
78260
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78261
|
+
}
|
|
78262
|
+
},
|
|
78263
|
+
{
|
|
78264
|
+
"kind": "method",
|
|
78265
|
+
"name": "renderLink",
|
|
78266
|
+
"privacy": "protected",
|
|
78267
|
+
"return": {
|
|
78268
|
+
"type": {
|
|
78269
|
+
"text": "TemplateResult"
|
|
78270
|
+
}
|
|
78271
|
+
},
|
|
78272
|
+
"parameters": [
|
|
78273
|
+
{
|
|
78274
|
+
"name": "renderContent",
|
|
78275
|
+
"type": {
|
|
78276
|
+
"text": "TemplateResult"
|
|
78277
|
+
}
|
|
78278
|
+
}
|
|
78279
|
+
],
|
|
78280
|
+
"inheritedFrom": {
|
|
78281
|
+
"name": "SbbLinkBaseElement",
|
|
78282
|
+
"module": "core/base-elements/link-base-element.js"
|
|
78612
78283
|
}
|
|
78613
78284
|
},
|
|
78614
78285
|
{
|
|
@@ -78686,33 +78357,33 @@
|
|
|
78686
78357
|
"exports": [
|
|
78687
78358
|
{
|
|
78688
78359
|
"kind": "js",
|
|
78689
|
-
"name": "
|
|
78360
|
+
"name": "SbbBlockLinkElement",
|
|
78690
78361
|
"declaration": {
|
|
78691
|
-
"name": "
|
|
78692
|
-
"module": "link/block-link
|
|
78362
|
+
"name": "SbbBlockLinkElement",
|
|
78363
|
+
"module": "link/block-link/block-link.component.js"
|
|
78693
78364
|
}
|
|
78694
78365
|
},
|
|
78695
78366
|
{
|
|
78696
78367
|
"kind": "custom-element-definition",
|
|
78697
|
-
"name": "sbb-block-link
|
|
78368
|
+
"name": "sbb-block-link",
|
|
78698
78369
|
"declaration": {
|
|
78699
|
-
"name": "
|
|
78700
|
-
"module": "link/block-link
|
|
78370
|
+
"name": "SbbBlockLinkElement",
|
|
78371
|
+
"module": "link/block-link/block-link.component.js"
|
|
78701
78372
|
}
|
|
78702
78373
|
}
|
|
78703
78374
|
]
|
|
78704
78375
|
},
|
|
78705
78376
|
{
|
|
78706
78377
|
"kind": "javascript-module",
|
|
78707
|
-
"path": "link/block-link/block-link.component.js",
|
|
78378
|
+
"path": "link/block-link-button/block-link-button.component.js",
|
|
78708
78379
|
"declarations": [
|
|
78709
78380
|
{
|
|
78710
78381
|
"kind": "class",
|
|
78711
|
-
"description": "It displays a link enhanced with the SBB Design.",
|
|
78712
|
-
"name": "
|
|
78382
|
+
"description": "It displays a link enhanced with the SBB Design, which will behave as a button.",
|
|
78383
|
+
"name": "SbbBlockLinkButtonElement",
|
|
78713
78384
|
"slots": [
|
|
78714
78385
|
{
|
|
78715
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link`.",
|
|
78386
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-button`.",
|
|
78716
78387
|
"name": ""
|
|
78717
78388
|
},
|
|
78718
78389
|
{
|
|
@@ -78726,15 +78397,15 @@
|
|
|
78726
78397
|
"module": "link/common.js"
|
|
78727
78398
|
},
|
|
78728
78399
|
{
|
|
78729
|
-
"name": "
|
|
78400
|
+
"name": "SbbDisabledTabIndexActionMixin",
|
|
78730
78401
|
"module": "core/mixins.js"
|
|
78731
78402
|
}
|
|
78732
78403
|
],
|
|
78733
78404
|
"superclass": {
|
|
78734
|
-
"name": "
|
|
78405
|
+
"name": "SbbButtonBaseElement",
|
|
78735
78406
|
"module": "core/base-elements.js"
|
|
78736
78407
|
},
|
|
78737
|
-
"tagName": "sbb-block-link",
|
|
78408
|
+
"tagName": "sbb-block-link-button",
|
|
78738
78409
|
"customElement": true,
|
|
78739
78410
|
"attributes": [
|
|
78740
78411
|
{
|
|
@@ -78777,94 +78448,79 @@
|
|
|
78777
78448
|
}
|
|
78778
78449
|
},
|
|
78779
78450
|
{
|
|
78780
|
-
"name": "disabled",
|
|
78781
|
-
"description": "Whether the component is disabled.",
|
|
78782
|
-
"default": "false",
|
|
78451
|
+
"name": "disabled-interactive",
|
|
78783
78452
|
"type": {
|
|
78784
78453
|
"text": "boolean"
|
|
78785
78454
|
},
|
|
78786
|
-
"
|
|
78455
|
+
"default": "false",
|
|
78456
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
78457
|
+
"fieldName": "disabledInteractive",
|
|
78787
78458
|
"inheritedFrom": {
|
|
78788
|
-
"name": "
|
|
78459
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
78789
78460
|
"module": "core/mixins/disabled-mixin.js"
|
|
78790
78461
|
}
|
|
78791
78462
|
},
|
|
78792
78463
|
{
|
|
78793
|
-
"name": "
|
|
78794
|
-
"
|
|
78795
|
-
|
|
78796
|
-
},
|
|
78797
|
-
"default": "''",
|
|
78798
|
-
"description": "The href value you want to link to.",
|
|
78799
|
-
"fieldName": "href",
|
|
78800
|
-
"inheritedFrom": {
|
|
78801
|
-
"name": "SbbLinkBaseElement",
|
|
78802
|
-
"module": "core/base-elements/link-base-element.js"
|
|
78803
|
-
}
|
|
78804
|
-
},
|
|
78805
|
-
{
|
|
78806
|
-
"name": "target",
|
|
78464
|
+
"name": "disabled",
|
|
78465
|
+
"description": "Whether the component is disabled.",
|
|
78466
|
+
"default": "false",
|
|
78807
78467
|
"type": {
|
|
78808
|
-
"text": "
|
|
78468
|
+
"text": "boolean"
|
|
78809
78469
|
},
|
|
78810
|
-
"
|
|
78811
|
-
"description": "Where to display the linked URL.",
|
|
78812
|
-
"fieldName": "target",
|
|
78470
|
+
"fieldName": "disabled",
|
|
78813
78471
|
"inheritedFrom": {
|
|
78814
|
-
"name": "
|
|
78815
|
-
"module": "core/
|
|
78472
|
+
"name": "SbbDisabledMixin",
|
|
78473
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
78816
78474
|
}
|
|
78817
78475
|
},
|
|
78818
78476
|
{
|
|
78819
|
-
"name": "
|
|
78477
|
+
"name": "value",
|
|
78820
78478
|
"type": {
|
|
78821
78479
|
"text": "string"
|
|
78822
78480
|
},
|
|
78823
78481
|
"default": "''",
|
|
78824
|
-
"description": "
|
|
78825
|
-
"fieldName": "
|
|
78482
|
+
"description": "Value of the form element.",
|
|
78483
|
+
"fieldName": "value",
|
|
78826
78484
|
"inheritedFrom": {
|
|
78827
|
-
"name": "
|
|
78828
|
-
"module": "core/base-elements/
|
|
78485
|
+
"name": "SbbButtonBaseElement",
|
|
78486
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78829
78487
|
}
|
|
78830
78488
|
},
|
|
78831
78489
|
{
|
|
78832
|
-
"name": "
|
|
78490
|
+
"name": "type",
|
|
78491
|
+
"description": "The type attribute to use for the button.",
|
|
78492
|
+
"default": "'button'",
|
|
78833
78493
|
"type": {
|
|
78834
|
-
"text": "
|
|
78494
|
+
"text": "SbbButtonType"
|
|
78835
78495
|
},
|
|
78836
|
-
"
|
|
78837
|
-
"description": "Whether the browser will show the download dialog on click.",
|
|
78838
|
-
"fieldName": "download",
|
|
78496
|
+
"fieldName": "type",
|
|
78839
78497
|
"inheritedFrom": {
|
|
78840
|
-
"name": "
|
|
78841
|
-
"module": "core/base-elements/
|
|
78498
|
+
"name": "SbbButtonBaseElement",
|
|
78499
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78842
78500
|
}
|
|
78843
78501
|
},
|
|
78844
78502
|
{
|
|
78845
|
-
"name": "
|
|
78503
|
+
"name": "form",
|
|
78504
|
+
"description": "The `<form>` element to associate the button with.",
|
|
78846
78505
|
"type": {
|
|
78847
|
-
"text": "
|
|
78506
|
+
"text": "HTMLFormElement | null"
|
|
78848
78507
|
},
|
|
78849
|
-
"
|
|
78850
|
-
"description": "This will be forwarded as aria-label to the inner anchor element.",
|
|
78851
|
-
"fieldName": "accessibilityLabel",
|
|
78508
|
+
"fieldName": "form",
|
|
78852
78509
|
"inheritedFrom": {
|
|
78853
|
-
"name": "
|
|
78854
|
-
"module": "core/base-elements/
|
|
78510
|
+
"name": "SbbButtonBaseElement",
|
|
78511
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78855
78512
|
}
|
|
78856
78513
|
},
|
|
78857
78514
|
{
|
|
78858
|
-
"name": "
|
|
78515
|
+
"name": "name",
|
|
78516
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
78859
78517
|
"type": {
|
|
78860
78518
|
"text": "string"
|
|
78861
78519
|
},
|
|
78862
|
-
"
|
|
78863
|
-
"description": "This will be forwarded as aria-current to the inner anchor element.",
|
|
78864
|
-
"fieldName": "accessibilityCurrent",
|
|
78520
|
+
"fieldName": "name",
|
|
78865
78521
|
"inheritedFrom": {
|
|
78866
|
-
"name": "
|
|
78867
|
-
"module": "core/
|
|
78522
|
+
"name": "SbbFormAssociatedMixin",
|
|
78523
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
78868
78524
|
}
|
|
78869
78525
|
}
|
|
78870
78526
|
],
|
|
@@ -78996,6 +78652,22 @@
|
|
|
78996
78652
|
"module": "icon/icon-name-mixin.js"
|
|
78997
78653
|
}
|
|
78998
78654
|
},
|
|
78655
|
+
{
|
|
78656
|
+
"kind": "field",
|
|
78657
|
+
"name": "disabledInteractive",
|
|
78658
|
+
"type": {
|
|
78659
|
+
"text": "boolean"
|
|
78660
|
+
},
|
|
78661
|
+
"privacy": "public",
|
|
78662
|
+
"default": "false",
|
|
78663
|
+
"description": "Whether the button should be aria-disabled but stay interactive.",
|
|
78664
|
+
"attribute": "disabled-interactive",
|
|
78665
|
+
"reflects": true,
|
|
78666
|
+
"inheritedFrom": {
|
|
78667
|
+
"name": "SbbDisabledInteractiveMixin",
|
|
78668
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
78669
|
+
}
|
|
78670
|
+
},
|
|
78999
78671
|
{
|
|
79000
78672
|
"kind": "field",
|
|
79001
78673
|
"name": "disabled",
|
|
@@ -79042,151 +78714,479 @@
|
|
|
79042
78714
|
},
|
|
79043
78715
|
{
|
|
79044
78716
|
"kind": "field",
|
|
79045
|
-
"name": "
|
|
78717
|
+
"name": "_elementsOnWhichEnterPressTriggersSubmit",
|
|
78718
|
+
"type": {
|
|
78719
|
+
"text": "array"
|
|
78720
|
+
},
|
|
78721
|
+
"privacy": "private",
|
|
78722
|
+
"readonly": true,
|
|
78723
|
+
"default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
|
|
78724
|
+
"inheritedFrom": {
|
|
78725
|
+
"name": "SbbButtonBaseElement",
|
|
78726
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78727
|
+
}
|
|
78728
|
+
},
|
|
78729
|
+
{
|
|
78730
|
+
"kind": "field",
|
|
78731
|
+
"name": "value",
|
|
79046
78732
|
"type": {
|
|
79047
78733
|
"text": "string"
|
|
79048
78734
|
},
|
|
79049
78735
|
"privacy": "public",
|
|
78736
|
+
"inheritedFrom": {
|
|
78737
|
+
"name": "SbbButtonBaseElement",
|
|
78738
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78739
|
+
},
|
|
79050
78740
|
"default": "''",
|
|
79051
|
-
"description": "
|
|
79052
|
-
"attribute": "
|
|
79053
|
-
|
|
78741
|
+
"description": "Value of the form element.",
|
|
78742
|
+
"attribute": "value"
|
|
78743
|
+
},
|
|
78744
|
+
{
|
|
78745
|
+
"kind": "field",
|
|
78746
|
+
"name": "type",
|
|
78747
|
+
"privacy": "public",
|
|
78748
|
+
"description": "The type attribute to use for the button.",
|
|
78749
|
+
"default": "'button'",
|
|
78750
|
+
"type": {
|
|
78751
|
+
"text": "SbbButtonType"
|
|
78752
|
+
},
|
|
78753
|
+
"attribute": "type",
|
|
79054
78754
|
"inheritedFrom": {
|
|
79055
|
-
"name": "
|
|
79056
|
-
"module": "core/base-elements/
|
|
78755
|
+
"name": "SbbButtonBaseElement",
|
|
78756
|
+
"module": "core/base-elements/button-base-element.js"
|
|
79057
78757
|
}
|
|
79058
78758
|
},
|
|
79059
78759
|
{
|
|
79060
78760
|
"kind": "field",
|
|
79061
|
-
"name": "
|
|
78761
|
+
"name": "form",
|
|
79062
78762
|
"type": {
|
|
79063
|
-
"text": "
|
|
78763
|
+
"text": "HTMLFormElement | null"
|
|
79064
78764
|
},
|
|
79065
78765
|
"privacy": "public",
|
|
79066
|
-
"
|
|
79067
|
-
"description": "Where to display the linked URL.",
|
|
79068
|
-
"attribute": "target",
|
|
79069
|
-
"reflects": true,
|
|
78766
|
+
"description": "The `<form>` element to associate the button with.",
|
|
79070
78767
|
"inheritedFrom": {
|
|
79071
|
-
"name": "
|
|
79072
|
-
"module": "core/base-elements/
|
|
79073
|
-
}
|
|
78768
|
+
"name": "SbbButtonBaseElement",
|
|
78769
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78770
|
+
},
|
|
78771
|
+
"attribute": "form"
|
|
79074
78772
|
},
|
|
79075
78773
|
{
|
|
79076
78774
|
"kind": "field",
|
|
79077
|
-
"name": "
|
|
78775
|
+
"name": "_formId",
|
|
79078
78776
|
"type": {
|
|
79079
78777
|
"text": "string"
|
|
79080
78778
|
},
|
|
79081
|
-
"privacy": "
|
|
78779
|
+
"privacy": "private",
|
|
79082
78780
|
"default": "''",
|
|
79083
|
-
"description": "The relationship of the linked URL as space-separated link types.",
|
|
79084
|
-
"attribute": "rel",
|
|
79085
|
-
"reflects": true,
|
|
79086
78781
|
"inheritedFrom": {
|
|
79087
|
-
"name": "
|
|
79088
|
-
"module": "core/base-elements/
|
|
78782
|
+
"name": "SbbButtonBaseElement",
|
|
78783
|
+
"module": "core/base-elements/button-base-element.js"
|
|
79089
78784
|
}
|
|
79090
78785
|
},
|
|
79091
78786
|
{
|
|
79092
78787
|
"kind": "field",
|
|
79093
|
-
"name": "
|
|
78788
|
+
"name": "_handleButtonClick",
|
|
78789
|
+
"privacy": "private",
|
|
78790
|
+
"inheritedFrom": {
|
|
78791
|
+
"name": "SbbButtonBaseElement",
|
|
78792
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78793
|
+
}
|
|
78794
|
+
},
|
|
78795
|
+
{
|
|
78796
|
+
"kind": "method",
|
|
78797
|
+
"name": "_requestSubmit",
|
|
78798
|
+
"privacy": "private",
|
|
78799
|
+
"return": {
|
|
78800
|
+
"type": {
|
|
78801
|
+
"text": "void"
|
|
78802
|
+
}
|
|
78803
|
+
},
|
|
78804
|
+
"parameters": [
|
|
78805
|
+
{
|
|
78806
|
+
"name": "form",
|
|
78807
|
+
"type": {
|
|
78808
|
+
"text": "HTMLFormElement"
|
|
78809
|
+
}
|
|
78810
|
+
}
|
|
78811
|
+
],
|
|
78812
|
+
"inheritedFrom": {
|
|
78813
|
+
"name": "SbbButtonBaseElement",
|
|
78814
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78815
|
+
}
|
|
78816
|
+
},
|
|
78817
|
+
{
|
|
78818
|
+
"kind": "field",
|
|
78819
|
+
"name": "_formKeyDown",
|
|
78820
|
+
"privacy": "private",
|
|
78821
|
+
"inheritedFrom": {
|
|
78822
|
+
"name": "SbbButtonBaseElement",
|
|
78823
|
+
"module": "core/base-elements/button-base-element.js"
|
|
78824
|
+
}
|
|
78825
|
+
},
|
|
78826
|
+
{
|
|
78827
|
+
"kind": "field",
|
|
78828
|
+
"name": "formAssociated",
|
|
79094
78829
|
"type": {
|
|
79095
78830
|
"text": "boolean"
|
|
79096
78831
|
},
|
|
79097
78832
|
"privacy": "public",
|
|
79098
|
-
"
|
|
79099
|
-
"
|
|
79100
|
-
"attribute": "download",
|
|
79101
|
-
"reflects": true,
|
|
78833
|
+
"static": true,
|
|
78834
|
+
"default": "true",
|
|
79102
78835
|
"inheritedFrom": {
|
|
79103
|
-
"name": "
|
|
79104
|
-
"module": "core/
|
|
78836
|
+
"name": "SbbFormAssociatedMixin",
|
|
78837
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79105
78838
|
}
|
|
79106
78839
|
},
|
|
79107
78840
|
{
|
|
79108
78841
|
"kind": "field",
|
|
79109
|
-
"name": "
|
|
78842
|
+
"name": "name",
|
|
78843
|
+
"privacy": "public",
|
|
78844
|
+
"description": "Name of the form element. Will be read from name attribute.",
|
|
79110
78845
|
"type": {
|
|
79111
78846
|
"text": "string"
|
|
79112
78847
|
},
|
|
78848
|
+
"attribute": "name",
|
|
78849
|
+
"inheritedFrom": {
|
|
78850
|
+
"name": "SbbFormAssociatedMixin",
|
|
78851
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
78852
|
+
}
|
|
78853
|
+
},
|
|
78854
|
+
{
|
|
78855
|
+
"kind": "field",
|
|
78856
|
+
"name": "validity",
|
|
78857
|
+
"type": {
|
|
78858
|
+
"text": "ValidityState"
|
|
78859
|
+
},
|
|
79113
78860
|
"privacy": "public",
|
|
79114
|
-
"
|
|
79115
|
-
"
|
|
79116
|
-
"attribute": "accessibility-label",
|
|
78861
|
+
"description": "Returns the ValidityState object for this element.",
|
|
78862
|
+
"readonly": true,
|
|
79117
78863
|
"inheritedFrom": {
|
|
79118
|
-
"name": "
|
|
79119
|
-
"module": "core/
|
|
78864
|
+
"name": "SbbFormAssociatedMixin",
|
|
78865
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79120
78866
|
}
|
|
79121
78867
|
},
|
|
79122
78868
|
{
|
|
79123
78869
|
"kind": "field",
|
|
79124
|
-
"name": "
|
|
78870
|
+
"name": "validationMessage",
|
|
79125
78871
|
"type": {
|
|
79126
78872
|
"text": "string"
|
|
79127
78873
|
},
|
|
79128
78874
|
"privacy": "public",
|
|
79129
|
-
"
|
|
79130
|
-
"
|
|
79131
|
-
"attribute": "accessibility-current",
|
|
78875
|
+
"description": "Returns the current error message, if available, which corresponds\nto the current validation state.\nPlease note that only one message is returned at a time (e.g. if\nmultiple validity states are invalid, only the chronologically first one\nis returned until it is fixed, at which point the next message might be\nreturned, if it is still applicable). Also, a custom validity message\n(see below) has precedence over native validation messages.",
|
|
78876
|
+
"readonly": true,
|
|
79132
78877
|
"inheritedFrom": {
|
|
79133
|
-
"name": "
|
|
79134
|
-
"module": "core/
|
|
78878
|
+
"name": "SbbFormAssociatedMixin",
|
|
78879
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79135
78880
|
}
|
|
79136
78881
|
},
|
|
79137
78882
|
{
|
|
79138
78883
|
"kind": "field",
|
|
79139
|
-
"name": "
|
|
79140
|
-
"
|
|
79141
|
-
|
|
78884
|
+
"name": "willValidate",
|
|
78885
|
+
"type": {
|
|
78886
|
+
"text": "boolean"
|
|
78887
|
+
},
|
|
78888
|
+
"privacy": "public",
|
|
78889
|
+
"description": "Returns true if this element will be validated\nwhen the form is submitted; false otherwise.",
|
|
78890
|
+
"readonly": true,
|
|
79142
78891
|
"inheritedFrom": {
|
|
79143
|
-
"name": "
|
|
79144
|
-
"module": "core/
|
|
78892
|
+
"name": "SbbFormAssociatedMixin",
|
|
78893
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79145
78894
|
}
|
|
79146
78895
|
},
|
|
79147
78896
|
{
|
|
79148
78897
|
"kind": "field",
|
|
79149
|
-
"name": "
|
|
78898
|
+
"name": "_validityStates",
|
|
78899
|
+
"privacy": "private",
|
|
78900
|
+
"default": "new Map< keyof ValidityStateFlags, { flagValue: unknown; message: string } >()",
|
|
78901
|
+
"inheritedFrom": {
|
|
78902
|
+
"name": "SbbFormAssociatedMixin",
|
|
78903
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
78904
|
+
}
|
|
78905
|
+
},
|
|
78906
|
+
{
|
|
78907
|
+
"kind": "field",
|
|
78908
|
+
"name": "formDisabled",
|
|
79150
78909
|
"type": {
|
|
79151
|
-
"text": "
|
|
78910
|
+
"text": "boolean"
|
|
79152
78911
|
},
|
|
79153
78912
|
"privacy": "protected",
|
|
79154
|
-
"
|
|
79155
|
-
"
|
|
78913
|
+
"default": "false",
|
|
78914
|
+
"description": "Whenever a surrounding form or fieldset is changing its disabled state.",
|
|
79156
78915
|
"inheritedFrom": {
|
|
79157
|
-
"name": "
|
|
79158
|
-
"module": "core/
|
|
78916
|
+
"name": "SbbFormAssociatedMixin",
|
|
78917
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79159
78918
|
}
|
|
79160
78919
|
},
|
|
79161
78920
|
{
|
|
79162
|
-
"kind": "
|
|
79163
|
-
"name": "
|
|
78921
|
+
"kind": "method",
|
|
78922
|
+
"name": "checkValidity",
|
|
78923
|
+
"privacy": "public",
|
|
78924
|
+
"return": {
|
|
78925
|
+
"type": {
|
|
78926
|
+
"text": "boolean"
|
|
78927
|
+
}
|
|
78928
|
+
},
|
|
78929
|
+
"description": "Returns true if this element has no validity problems; false otherwise.\nFires an invalid event at the element in the latter case.",
|
|
78930
|
+
"inheritedFrom": {
|
|
78931
|
+
"name": "SbbFormAssociatedMixin",
|
|
78932
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
78933
|
+
}
|
|
78934
|
+
},
|
|
78935
|
+
{
|
|
78936
|
+
"kind": "method",
|
|
78937
|
+
"name": "reportValidity",
|
|
78938
|
+
"privacy": "public",
|
|
78939
|
+
"return": {
|
|
78940
|
+
"type": {
|
|
78941
|
+
"text": "boolean"
|
|
78942
|
+
}
|
|
78943
|
+
},
|
|
78944
|
+
"description": "Returns true if this element has no validity problems; otherwise,\nreturns false, fires an invalid event at the element,\nand (if the event isn't canceled) reports the problem to the user.",
|
|
78945
|
+
"inheritedFrom": {
|
|
78946
|
+
"name": "SbbFormAssociatedMixin",
|
|
78947
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
78948
|
+
}
|
|
78949
|
+
},
|
|
78950
|
+
{
|
|
78951
|
+
"kind": "method",
|
|
78952
|
+
"name": "setCustomValidity",
|
|
78953
|
+
"privacy": "public",
|
|
78954
|
+
"return": {
|
|
78955
|
+
"type": {
|
|
78956
|
+
"text": "void"
|
|
78957
|
+
}
|
|
78958
|
+
},
|
|
78959
|
+
"parameters": [
|
|
78960
|
+
{
|
|
78961
|
+
"name": "message",
|
|
78962
|
+
"type": {
|
|
78963
|
+
"text": "string"
|
|
78964
|
+
}
|
|
78965
|
+
}
|
|
78966
|
+
],
|
|
78967
|
+
"description": "Sets the custom validity message for this element. Use the empty string\nto indicate that the element does not have a custom validity error.",
|
|
78968
|
+
"inheritedFrom": {
|
|
78969
|
+
"name": "SbbFormAssociatedMixin",
|
|
78970
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
78971
|
+
}
|
|
78972
|
+
},
|
|
78973
|
+
{
|
|
78974
|
+
"kind": "method",
|
|
78975
|
+
"name": "_hasDisabledAncestor",
|
|
79164
78976
|
"privacy": "private",
|
|
78977
|
+
"return": {
|
|
78978
|
+
"type": {
|
|
78979
|
+
"text": "boolean"
|
|
78980
|
+
}
|
|
78981
|
+
},
|
|
79165
78982
|
"inheritedFrom": {
|
|
79166
|
-
"name": "
|
|
79167
|
-
"module": "core/
|
|
78983
|
+
"name": "SbbFormAssociatedMixin",
|
|
78984
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79168
78985
|
}
|
|
79169
78986
|
},
|
|
79170
78987
|
{
|
|
79171
78988
|
"kind": "method",
|
|
79172
|
-
"name": "
|
|
78989
|
+
"name": "updateFormValue",
|
|
79173
78990
|
"privacy": "protected",
|
|
79174
78991
|
"return": {
|
|
79175
78992
|
"type": {
|
|
79176
|
-
"text": "
|
|
78993
|
+
"text": "void"
|
|
78994
|
+
}
|
|
78995
|
+
},
|
|
78996
|
+
"description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
|
|
78997
|
+
"inheritedFrom": {
|
|
78998
|
+
"name": "SbbFormAssociatedMixin",
|
|
78999
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79000
|
+
}
|
|
79001
|
+
},
|
|
79002
|
+
{
|
|
79003
|
+
"kind": "method",
|
|
79004
|
+
"name": "formState",
|
|
79005
|
+
"privacy": "protected",
|
|
79006
|
+
"return": {
|
|
79007
|
+
"type": {
|
|
79008
|
+
"text": "FormRestoreState"
|
|
79009
|
+
}
|
|
79010
|
+
},
|
|
79011
|
+
"inheritedFrom": {
|
|
79012
|
+
"name": "SbbFormAssociatedMixin",
|
|
79013
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79014
|
+
}
|
|
79015
|
+
},
|
|
79016
|
+
{
|
|
79017
|
+
"kind": "method",
|
|
79018
|
+
"name": "setValidityFlag",
|
|
79019
|
+
"privacy": "protected",
|
|
79020
|
+
"return": {
|
|
79021
|
+
"type": {
|
|
79022
|
+
"text": "void"
|
|
79177
79023
|
}
|
|
79178
79024
|
},
|
|
79179
79025
|
"parameters": [
|
|
79180
79026
|
{
|
|
79181
|
-
"name": "
|
|
79027
|
+
"name": "flag",
|
|
79182
79028
|
"type": {
|
|
79183
|
-
"text": "
|
|
79029
|
+
"text": "T"
|
|
79030
|
+
}
|
|
79031
|
+
},
|
|
79032
|
+
{
|
|
79033
|
+
"name": "message",
|
|
79034
|
+
"type": {
|
|
79035
|
+
"text": "string"
|
|
79036
|
+
}
|
|
79037
|
+
},
|
|
79038
|
+
{
|
|
79039
|
+
"name": "flagValue",
|
|
79040
|
+
"optional": true,
|
|
79041
|
+
"type": {
|
|
79042
|
+
"text": "ValidityStateFlags[T]"
|
|
79184
79043
|
}
|
|
79185
79044
|
}
|
|
79186
79045
|
],
|
|
79046
|
+
"description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
|
|
79187
79047
|
"inheritedFrom": {
|
|
79188
|
-
"name": "
|
|
79189
|
-
"module": "core/
|
|
79048
|
+
"name": "SbbFormAssociatedMixin",
|
|
79049
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79050
|
+
}
|
|
79051
|
+
},
|
|
79052
|
+
{
|
|
79053
|
+
"kind": "method",
|
|
79054
|
+
"name": "removeValidityFlag",
|
|
79055
|
+
"privacy": "protected",
|
|
79056
|
+
"return": {
|
|
79057
|
+
"type": {
|
|
79058
|
+
"text": "void"
|
|
79059
|
+
}
|
|
79060
|
+
},
|
|
79061
|
+
"parameters": [
|
|
79062
|
+
{
|
|
79063
|
+
"name": "flag",
|
|
79064
|
+
"type": {
|
|
79065
|
+
"text": "T"
|
|
79066
|
+
}
|
|
79067
|
+
}
|
|
79068
|
+
],
|
|
79069
|
+
"description": "Removes the validity state flag entry and updates validity state.",
|
|
79070
|
+
"inheritedFrom": {
|
|
79071
|
+
"name": "SbbFormAssociatedMixin",
|
|
79072
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79073
|
+
}
|
|
79074
|
+
},
|
|
79075
|
+
{
|
|
79076
|
+
"kind": "method",
|
|
79077
|
+
"name": "validate",
|
|
79078
|
+
"privacy": "protected",
|
|
79079
|
+
"return": {
|
|
79080
|
+
"type": {
|
|
79081
|
+
"text": "void"
|
|
79082
|
+
}
|
|
79083
|
+
},
|
|
79084
|
+
"description": "To be called whenever the current element needs to be validated.",
|
|
79085
|
+
"inheritedFrom": {
|
|
79086
|
+
"name": "SbbFormAssociatedMixin",
|
|
79087
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79088
|
+
}
|
|
79089
|
+
},
|
|
79090
|
+
{
|
|
79091
|
+
"kind": "method",
|
|
79092
|
+
"name": "shouldValidate",
|
|
79093
|
+
"privacy": "protected",
|
|
79094
|
+
"return": {
|
|
79095
|
+
"type": {
|
|
79096
|
+
"text": "boolean"
|
|
79097
|
+
}
|
|
79098
|
+
},
|
|
79099
|
+
"parameters": [
|
|
79100
|
+
{
|
|
79101
|
+
"name": "name",
|
|
79102
|
+
"type": {
|
|
79103
|
+
"text": "PropertyKey | undefined"
|
|
79104
|
+
}
|
|
79105
|
+
}
|
|
79106
|
+
],
|
|
79107
|
+
"description": "Whether validation should be run on a property change with the given name.",
|
|
79108
|
+
"inheritedFrom": {
|
|
79109
|
+
"name": "SbbFormAssociatedMixin",
|
|
79110
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79111
|
+
}
|
|
79112
|
+
},
|
|
79113
|
+
{
|
|
79114
|
+
"kind": "method",
|
|
79115
|
+
"name": "_setInternalValidity",
|
|
79116
|
+
"privacy": "private",
|
|
79117
|
+
"return": {
|
|
79118
|
+
"type": {
|
|
79119
|
+
"text": "void"
|
|
79120
|
+
}
|
|
79121
|
+
},
|
|
79122
|
+
"inheritedFrom": {
|
|
79123
|
+
"name": "SbbFormAssociatedMixin",
|
|
79124
|
+
"module": "core/mixins/form-associated-mixin.js"
|
|
79125
|
+
}
|
|
79126
|
+
},
|
|
79127
|
+
{
|
|
79128
|
+
"kind": "field",
|
|
79129
|
+
"name": "role",
|
|
79130
|
+
"type": {
|
|
79131
|
+
"text": "ElementInternals['role']"
|
|
79132
|
+
},
|
|
79133
|
+
"privacy": "public",
|
|
79134
|
+
"static": true,
|
|
79135
|
+
"readonly": true,
|
|
79136
|
+
"default": "'button'",
|
|
79137
|
+
"inheritedFrom": {
|
|
79138
|
+
"name": "SbbButtonLikeBaseElement",
|
|
79139
|
+
"module": "core/base-elements/button-base-element.js"
|
|
79140
|
+
}
|
|
79141
|
+
},
|
|
79142
|
+
{
|
|
79143
|
+
"kind": "field",
|
|
79144
|
+
"name": "_preventScrollOnSpaceKeydown",
|
|
79145
|
+
"privacy": "private",
|
|
79146
|
+
"description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
|
|
79147
|
+
"parameters": [
|
|
79148
|
+
{
|
|
79149
|
+
"description": "The origin event.",
|
|
79150
|
+
"name": "event"
|
|
79151
|
+
}
|
|
79152
|
+
],
|
|
79153
|
+
"inheritedFrom": {
|
|
79154
|
+
"name": "SbbButtonLikeBaseElement",
|
|
79155
|
+
"module": "core/base-elements/button-base-element.js"
|
|
79156
|
+
}
|
|
79157
|
+
},
|
|
79158
|
+
{
|
|
79159
|
+
"kind": "field",
|
|
79160
|
+
"name": "_removeActiveMarker",
|
|
79161
|
+
"privacy": "private",
|
|
79162
|
+
"inheritedFrom": {
|
|
79163
|
+
"name": "SbbButtonLikeBaseElement",
|
|
79164
|
+
"module": "core/base-elements/button-base-element.js"
|
|
79165
|
+
}
|
|
79166
|
+
},
|
|
79167
|
+
{
|
|
79168
|
+
"kind": "field",
|
|
79169
|
+
"name": "_dispatchClickEventOnSpaceKeyup",
|
|
79170
|
+
"privacy": "private",
|
|
79171
|
+
"description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
|
|
79172
|
+
"parameters": [
|
|
79173
|
+
{
|
|
79174
|
+
"description": "The origin event.",
|
|
79175
|
+
"name": "event"
|
|
79176
|
+
}
|
|
79177
|
+
],
|
|
79178
|
+
"inheritedFrom": {
|
|
79179
|
+
"name": "SbbButtonLikeBaseElement",
|
|
79180
|
+
"module": "core/base-elements/button-base-element.js"
|
|
79181
|
+
}
|
|
79182
|
+
},
|
|
79183
|
+
{
|
|
79184
|
+
"kind": "field",
|
|
79185
|
+
"name": "_dispatchClickEvent",
|
|
79186
|
+
"privacy": "private",
|
|
79187
|
+
"inheritedFrom": {
|
|
79188
|
+
"name": "SbbButtonLikeBaseElement",
|
|
79189
|
+
"module": "core/base-elements/button-base-element.js"
|
|
79190
79190
|
}
|
|
79191
79191
|
},
|
|
79192
79192
|
{
|
|
@@ -79264,18 +79264,18 @@
|
|
|
79264
79264
|
"exports": [
|
|
79265
79265
|
{
|
|
79266
79266
|
"kind": "js",
|
|
79267
|
-
"name": "
|
|
79267
|
+
"name": "SbbBlockLinkButtonElement",
|
|
79268
79268
|
"declaration": {
|
|
79269
|
-
"name": "
|
|
79270
|
-
"module": "link/block-link/block-link.component.js"
|
|
79269
|
+
"name": "SbbBlockLinkButtonElement",
|
|
79270
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
79271
79271
|
}
|
|
79272
79272
|
},
|
|
79273
79273
|
{
|
|
79274
79274
|
"kind": "custom-element-definition",
|
|
79275
|
-
"name": "sbb-block-link",
|
|
79275
|
+
"name": "sbb-block-link-button",
|
|
79276
79276
|
"declaration": {
|
|
79277
|
-
"name": "
|
|
79278
|
-
"module": "link/block-link/block-link.component.js"
|
|
79277
|
+
"name": "SbbBlockLinkButtonElement",
|
|
79278
|
+
"module": "link/block-link-button/block-link-button.component.js"
|
|
79279
79279
|
}
|
|
79280
79280
|
}
|
|
79281
79281
|
]
|