@sbb-esta/lyne-elements 3.0.0-next.0 → 3.0.0-next.1
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/core/styles/core.scss +0 -2
- package/core/styles/mixins/typo.scss +0 -1
- package/core.css +0 -1
- package/custom-elements.json +363 -363
- package/development/status/status.component.js +3 -2
- package/development/title/title-base.js +1 -2
- package/development/toggle/toggle/toggle.component.js +21 -19
- package/development/toggle/toggle-option/toggle-option.component.js +2 -2
- package/package.json +1 -1
- package/standard-theme.css +0 -1
- package/status/status.component.js +17 -17
- package/title/title-base.js +11 -11
- package/toggle/toggle/toggle.component.js +15 -15
- package/toggle/toggle-option/toggle-option.component.js +8 -8
package/custom-elements.json
CHANGED
|
@@ -68617,21 +68617,93 @@
|
|
|
68617
68617
|
},
|
|
68618
68618
|
{
|
|
68619
68619
|
"kind": "javascript-module",
|
|
68620
|
-
"path": "link/
|
|
68620
|
+
"path": "link/block-link-static/block-link-static.component.js",
|
|
68621
68621
|
"declarations": [
|
|
68622
68622
|
{
|
|
68623
68623
|
"kind": "class",
|
|
68624
|
-
"description": "",
|
|
68625
|
-
"name": "
|
|
68626
|
-
"
|
|
68624
|
+
"description": "It displays a static link enhanced with the SBB Design.",
|
|
68625
|
+
"name": "SbbBlockLinkStaticElement",
|
|
68626
|
+
"slots": [
|
|
68627
68627
|
{
|
|
68628
|
-
"
|
|
68629
|
-
"name": "
|
|
68628
|
+
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
68629
|
+
"name": ""
|
|
68630
|
+
},
|
|
68631
|
+
{
|
|
68632
|
+
"description": "Slot used to display the icon, if one is set.",
|
|
68633
|
+
"name": "icon"
|
|
68634
|
+
}
|
|
68635
|
+
],
|
|
68636
|
+
"mixins": [
|
|
68637
|
+
{
|
|
68638
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
68639
|
+
"module": "link/common.js"
|
|
68640
|
+
},
|
|
68641
|
+
{
|
|
68642
|
+
"name": "SbbDisabledMixin",
|
|
68643
|
+
"module": "core/mixins.js"
|
|
68644
|
+
}
|
|
68645
|
+
],
|
|
68646
|
+
"superclass": {
|
|
68647
|
+
"name": "SbbActionBaseElement",
|
|
68648
|
+
"module": "core/base-elements.js"
|
|
68649
|
+
},
|
|
68650
|
+
"tagName": "sbb-block-link-static",
|
|
68651
|
+
"customElement": true,
|
|
68652
|
+
"attributes": [
|
|
68653
|
+
{
|
|
68654
|
+
"name": "icon-placement",
|
|
68630
68655
|
"type": {
|
|
68631
68656
|
"text": "SbbIconPlacement"
|
|
68632
68657
|
},
|
|
68633
|
-
"
|
|
68658
|
+
"default": "'start'",
|
|
68659
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
68660
|
+
"fieldName": "iconPlacement",
|
|
68661
|
+
"inheritedFrom": {
|
|
68662
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
68663
|
+
"module": "link/common/block-link-common.js"
|
|
68664
|
+
}
|
|
68665
|
+
},
|
|
68666
|
+
{
|
|
68667
|
+
"name": "size",
|
|
68668
|
+
"type": {
|
|
68669
|
+
"text": "SbbLinkSize"
|
|
68670
|
+
},
|
|
68671
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
68672
|
+
"default": "'s' / 'xs' (lean)",
|
|
68673
|
+
"fieldName": "size",
|
|
68674
|
+
"inheritedFrom": {
|
|
68675
|
+
"name": "SbbLinkCommonElementMixin",
|
|
68676
|
+
"module": "link/common/link-common.js"
|
|
68677
|
+
}
|
|
68678
|
+
},
|
|
68679
|
+
{
|
|
68680
|
+
"name": "icon-name",
|
|
68681
|
+
"type": {
|
|
68682
|
+
"text": "string"
|
|
68683
|
+
},
|
|
68684
|
+
"default": "''",
|
|
68685
|
+
"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.",
|
|
68686
|
+
"fieldName": "iconName",
|
|
68687
|
+
"inheritedFrom": {
|
|
68688
|
+
"name": "SbbIconNameMixin",
|
|
68689
|
+
"module": "icon/icon-name-mixin.js"
|
|
68690
|
+
}
|
|
68634
68691
|
},
|
|
68692
|
+
{
|
|
68693
|
+
"name": "disabled",
|
|
68694
|
+
"type": {
|
|
68695
|
+
"text": "boolean"
|
|
68696
|
+
},
|
|
68697
|
+
"default": "false",
|
|
68698
|
+
"description": "Whether the component is disabled.",
|
|
68699
|
+
"fieldName": "disabled",
|
|
68700
|
+
"inheritedFrom": {
|
|
68701
|
+
"name": "SbbDisabledMixin",
|
|
68702
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
68703
|
+
}
|
|
68704
|
+
}
|
|
68705
|
+
],
|
|
68706
|
+
"members": [
|
|
68635
68707
|
{
|
|
68636
68708
|
"kind": "field",
|
|
68637
68709
|
"name": "styles",
|
|
@@ -68640,7 +68712,7 @@
|
|
|
68640
68712
|
},
|
|
68641
68713
|
"privacy": "public",
|
|
68642
68714
|
"static": true,
|
|
68643
|
-
"default": "style",
|
|
68715
|
+
"default": "[style, blockStyle]",
|
|
68644
68716
|
"inheritedFrom": {
|
|
68645
68717
|
"name": "SbbLinkCommonElementMixin",
|
|
68646
68718
|
"module": "link/common/link-common.js"
|
|
@@ -68648,18 +68720,18 @@
|
|
|
68648
68720
|
},
|
|
68649
68721
|
{
|
|
68650
68722
|
"kind": "field",
|
|
68651
|
-
"name": "
|
|
68723
|
+
"name": "iconPlacement",
|
|
68652
68724
|
"type": {
|
|
68653
|
-
"text": "
|
|
68725
|
+
"text": "SbbIconPlacement"
|
|
68654
68726
|
},
|
|
68655
68727
|
"privacy": "public",
|
|
68656
|
-
"
|
|
68657
|
-
"
|
|
68658
|
-
"attribute": "
|
|
68728
|
+
"default": "'start'",
|
|
68729
|
+
"description": "Moves the icon to the end of the component if set to true.",
|
|
68730
|
+
"attribute": "icon-placement",
|
|
68659
68731
|
"reflects": true,
|
|
68660
68732
|
"inheritedFrom": {
|
|
68661
|
-
"name": "
|
|
68662
|
-
"module": "link/common/link-common.js"
|
|
68733
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
68734
|
+
"module": "link/common/block-link-common.js"
|
|
68663
68735
|
}
|
|
68664
68736
|
},
|
|
68665
68737
|
{
|
|
@@ -68679,18 +68751,18 @@
|
|
|
68679
68751
|
},
|
|
68680
68752
|
{
|
|
68681
68753
|
"kind": "field",
|
|
68682
|
-
"name": "
|
|
68754
|
+
"name": "size",
|
|
68683
68755
|
"type": {
|
|
68684
|
-
"text": "
|
|
68756
|
+
"text": "SbbLinkSize"
|
|
68685
68757
|
},
|
|
68686
68758
|
"privacy": "public",
|
|
68687
|
-
"
|
|
68688
|
-
"
|
|
68689
|
-
"attribute": "
|
|
68759
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
68760
|
+
"default": "'s' / 'xs' (lean)",
|
|
68761
|
+
"attribute": "size",
|
|
68690
68762
|
"reflects": true,
|
|
68691
68763
|
"inheritedFrom": {
|
|
68692
|
-
"name": "
|
|
68693
|
-
"module": "
|
|
68764
|
+
"name": "SbbLinkCommonElementMixin",
|
|
68765
|
+
"module": "link/common/link-common.js"
|
|
68694
68766
|
}
|
|
68695
68767
|
},
|
|
68696
68768
|
{
|
|
@@ -68732,6 +68804,37 @@
|
|
|
68732
68804
|
"module": "icon/icon-name-mixin.js"
|
|
68733
68805
|
}
|
|
68734
68806
|
},
|
|
68807
|
+
{
|
|
68808
|
+
"kind": "field",
|
|
68809
|
+
"name": "disabled",
|
|
68810
|
+
"type": {
|
|
68811
|
+
"text": "boolean"
|
|
68812
|
+
},
|
|
68813
|
+
"privacy": "public",
|
|
68814
|
+
"default": "false",
|
|
68815
|
+
"description": "Whether the component is disabled.",
|
|
68816
|
+
"attribute": "disabled",
|
|
68817
|
+
"reflects": true,
|
|
68818
|
+
"inheritedFrom": {
|
|
68819
|
+
"name": "SbbDisabledMixin",
|
|
68820
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
68821
|
+
}
|
|
68822
|
+
},
|
|
68823
|
+
{
|
|
68824
|
+
"kind": "method",
|
|
68825
|
+
"name": "isDisabledExternally",
|
|
68826
|
+
"privacy": "protected",
|
|
68827
|
+
"return": {
|
|
68828
|
+
"type": {
|
|
68829
|
+
"text": "boolean"
|
|
68830
|
+
}
|
|
68831
|
+
},
|
|
68832
|
+
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
68833
|
+
"inheritedFrom": {
|
|
68834
|
+
"name": "SbbDisabledMixin",
|
|
68835
|
+
"module": "core/mixins/disabled-mixin.js"
|
|
68836
|
+
}
|
|
68837
|
+
},
|
|
68735
68838
|
{
|
|
68736
68839
|
"kind": "method",
|
|
68737
68840
|
"name": "toggleState",
|
|
@@ -68801,74 +68904,282 @@
|
|
|
68801
68904
|
"module": "core/base-elements/action-base-element.js"
|
|
68802
68905
|
}
|
|
68803
68906
|
}
|
|
68804
|
-
]
|
|
68805
|
-
|
|
68907
|
+
]
|
|
68908
|
+
}
|
|
68909
|
+
],
|
|
68910
|
+
"exports": [
|
|
68911
|
+
{
|
|
68912
|
+
"kind": "js",
|
|
68913
|
+
"name": "SbbBlockLinkStaticElement",
|
|
68914
|
+
"declaration": {
|
|
68915
|
+
"name": "SbbBlockLinkStaticElement",
|
|
68916
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
68917
|
+
}
|
|
68918
|
+
},
|
|
68919
|
+
{
|
|
68920
|
+
"kind": "custom-element-definition",
|
|
68921
|
+
"name": "sbb-block-link-static",
|
|
68922
|
+
"declaration": {
|
|
68923
|
+
"name": "SbbBlockLinkStaticElement",
|
|
68924
|
+
"module": "link/block-link-static/block-link-static.component.js"
|
|
68925
|
+
}
|
|
68926
|
+
}
|
|
68927
|
+
]
|
|
68928
|
+
},
|
|
68929
|
+
{
|
|
68930
|
+
"kind": "javascript-module",
|
|
68931
|
+
"path": "link/common/block-link-common.js",
|
|
68932
|
+
"declarations": [
|
|
68933
|
+
{
|
|
68934
|
+
"kind": "class",
|
|
68935
|
+
"description": "",
|
|
68936
|
+
"name": "SbbBlockLinkCommonElementMixinType",
|
|
68937
|
+
"members": [
|
|
68806
68938
|
{
|
|
68807
|
-
"
|
|
68808
|
-
"
|
|
68939
|
+
"kind": "field",
|
|
68940
|
+
"name": "iconPlacement",
|
|
68941
|
+
"type": {
|
|
68942
|
+
"text": "SbbIconPlacement"
|
|
68943
|
+
},
|
|
68944
|
+
"privacy": "public"
|
|
68809
68945
|
},
|
|
68810
68946
|
{
|
|
68811
|
-
"
|
|
68812
|
-
"
|
|
68813
|
-
|
|
68814
|
-
|
|
68815
|
-
|
|
68816
|
-
|
|
68817
|
-
|
|
68818
|
-
|
|
68819
|
-
|
|
68947
|
+
"kind": "field",
|
|
68948
|
+
"name": "styles",
|
|
68949
|
+
"type": {
|
|
68950
|
+
"text": "CSSResultGroup"
|
|
68951
|
+
},
|
|
68952
|
+
"privacy": "public",
|
|
68953
|
+
"static": true,
|
|
68954
|
+
"default": "style",
|
|
68955
|
+
"inheritedFrom": {
|
|
68956
|
+
"name": "SbbLinkCommonElementMixin",
|
|
68957
|
+
"module": "link/common/link-common.js"
|
|
68958
|
+
}
|
|
68959
|
+
},
|
|
68820
68960
|
{
|
|
68961
|
+
"kind": "field",
|
|
68821
68962
|
"name": "size",
|
|
68822
68963
|
"type": {
|
|
68823
68964
|
"text": "SbbLinkSize"
|
|
68824
68965
|
},
|
|
68966
|
+
"privacy": "public",
|
|
68825
68967
|
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
68826
68968
|
"default": "'s' / 'xs' (lean)",
|
|
68827
|
-
"
|
|
68969
|
+
"attribute": "size",
|
|
68970
|
+
"reflects": true,
|
|
68828
68971
|
"inheritedFrom": {
|
|
68829
68972
|
"name": "SbbLinkCommonElementMixin",
|
|
68830
68973
|
"module": "link/common/link-common.js"
|
|
68831
68974
|
}
|
|
68832
68975
|
},
|
|
68833
68976
|
{
|
|
68977
|
+
"kind": "method",
|
|
68978
|
+
"name": "renderTemplate",
|
|
68979
|
+
"privacy": "protected",
|
|
68980
|
+
"return": {
|
|
68981
|
+
"type": {
|
|
68982
|
+
"text": "TemplateResult"
|
|
68983
|
+
}
|
|
68984
|
+
},
|
|
68985
|
+
"description": "Override this method to render the component template.",
|
|
68986
|
+
"inheritedFrom": {
|
|
68987
|
+
"name": "SbbActionBaseElement",
|
|
68988
|
+
"module": "core/base-elements/action-base-element.js"
|
|
68989
|
+
}
|
|
68990
|
+
},
|
|
68991
|
+
{
|
|
68992
|
+
"kind": "field",
|
|
68834
68993
|
"name": "negative",
|
|
68835
68994
|
"type": {
|
|
68836
68995
|
"text": "boolean"
|
|
68837
68996
|
},
|
|
68997
|
+
"privacy": "public",
|
|
68838
68998
|
"default": "false",
|
|
68839
68999
|
"description": "Negative coloring variant flag.",
|
|
68840
|
-
"
|
|
69000
|
+
"attribute": "negative",
|
|
69001
|
+
"reflects": true,
|
|
68841
69002
|
"inheritedFrom": {
|
|
68842
69003
|
"name": "SbbNegativeMixin",
|
|
68843
69004
|
"module": "core/mixins/negative-mixin.js"
|
|
68844
69005
|
}
|
|
68845
69006
|
},
|
|
68846
69007
|
{
|
|
68847
|
-
"
|
|
69008
|
+
"kind": "field",
|
|
69009
|
+
"name": "iconName",
|
|
68848
69010
|
"type": {
|
|
68849
69011
|
"text": "string"
|
|
68850
69012
|
},
|
|
69013
|
+
"privacy": "public",
|
|
68851
69014
|
"default": "''",
|
|
68852
69015
|
"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.",
|
|
68853
|
-
"
|
|
69016
|
+
"attribute": "icon-name",
|
|
69017
|
+
"reflects": true,
|
|
68854
69018
|
"inheritedFrom": {
|
|
68855
69019
|
"name": "SbbIconNameMixin",
|
|
68856
69020
|
"module": "icon/icon-name-mixin.js"
|
|
68857
69021
|
}
|
|
68858
|
-
}
|
|
68859
|
-
]
|
|
68860
|
-
},
|
|
68861
|
-
{
|
|
68862
|
-
"kind": "mixin",
|
|
68863
|
-
"description": "",
|
|
68864
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
68865
|
-
"members": [
|
|
69022
|
+
},
|
|
68866
69023
|
{
|
|
68867
|
-
"kind": "
|
|
68868
|
-
"name": "
|
|
68869
|
-
"
|
|
68870
|
-
|
|
68871
|
-
|
|
69024
|
+
"kind": "method",
|
|
69025
|
+
"name": "renderIconSlot",
|
|
69026
|
+
"privacy": "protected",
|
|
69027
|
+
"return": {
|
|
69028
|
+
"type": {
|
|
69029
|
+
"text": "TemplateResult"
|
|
69030
|
+
}
|
|
69031
|
+
},
|
|
69032
|
+
"parameters": [
|
|
69033
|
+
{
|
|
69034
|
+
"name": "classname",
|
|
69035
|
+
"optional": true,
|
|
69036
|
+
"type": {
|
|
69037
|
+
"text": "string"
|
|
69038
|
+
}
|
|
69039
|
+
}
|
|
69040
|
+
],
|
|
69041
|
+
"inheritedFrom": {
|
|
69042
|
+
"name": "SbbIconNameMixin",
|
|
69043
|
+
"module": "icon/icon-name-mixin.js"
|
|
69044
|
+
}
|
|
69045
|
+
},
|
|
69046
|
+
{
|
|
69047
|
+
"kind": "method",
|
|
69048
|
+
"name": "toggleState",
|
|
69049
|
+
"privacy": "protected",
|
|
69050
|
+
"return": {
|
|
69051
|
+
"type": {
|
|
69052
|
+
"text": "void"
|
|
69053
|
+
}
|
|
69054
|
+
},
|
|
69055
|
+
"parameters": [
|
|
69056
|
+
{
|
|
69057
|
+
"name": "state",
|
|
69058
|
+
"type": {
|
|
69059
|
+
"text": "string"
|
|
69060
|
+
}
|
|
69061
|
+
},
|
|
69062
|
+
{
|
|
69063
|
+
"name": "force",
|
|
69064
|
+
"optional": true,
|
|
69065
|
+
"type": {
|
|
69066
|
+
"text": "boolean"
|
|
69067
|
+
}
|
|
69068
|
+
}
|
|
69069
|
+
],
|
|
69070
|
+
"inheritedFrom": {
|
|
69071
|
+
"name": "SbbActionBaseElement",
|
|
69072
|
+
"module": "core/base-elements/action-base-element.js"
|
|
69073
|
+
}
|
|
69074
|
+
},
|
|
69075
|
+
{
|
|
69076
|
+
"kind": "field",
|
|
69077
|
+
"name": "maybeDisabled",
|
|
69078
|
+
"type": {
|
|
69079
|
+
"text": "boolean | undefined"
|
|
69080
|
+
},
|
|
69081
|
+
"privacy": "protected",
|
|
69082
|
+
"readonly": true,
|
|
69083
|
+
"inheritedFrom": {
|
|
69084
|
+
"name": "SbbActionBaseElement",
|
|
69085
|
+
"module": "core/base-elements/action-base-element.js"
|
|
69086
|
+
}
|
|
69087
|
+
},
|
|
69088
|
+
{
|
|
69089
|
+
"kind": "field",
|
|
69090
|
+
"name": "maybeDisabledInteractive",
|
|
69091
|
+
"type": {
|
|
69092
|
+
"text": "boolean | undefined"
|
|
69093
|
+
},
|
|
69094
|
+
"privacy": "protected",
|
|
69095
|
+
"readonly": true,
|
|
69096
|
+
"inheritedFrom": {
|
|
69097
|
+
"name": "SbbActionBaseElement",
|
|
69098
|
+
"module": "core/base-elements/action-base-element.js"
|
|
69099
|
+
}
|
|
69100
|
+
},
|
|
69101
|
+
{
|
|
69102
|
+
"kind": "method",
|
|
69103
|
+
"name": "setupBaseEventHandlers",
|
|
69104
|
+
"privacy": "protected",
|
|
69105
|
+
"return": {
|
|
69106
|
+
"type": {
|
|
69107
|
+
"text": "void"
|
|
69108
|
+
}
|
|
69109
|
+
},
|
|
69110
|
+
"inheritedFrom": {
|
|
69111
|
+
"name": "SbbActionBaseElement",
|
|
69112
|
+
"module": "core/base-elements/action-base-element.js"
|
|
69113
|
+
}
|
|
69114
|
+
}
|
|
69115
|
+
],
|
|
69116
|
+
"mixins": [
|
|
69117
|
+
{
|
|
69118
|
+
"name": "SbbLinkCommonElementMixin",
|
|
69119
|
+
"module": "link/common/link-common.js"
|
|
69120
|
+
},
|
|
69121
|
+
{
|
|
69122
|
+
"name": "SbbIconNameMixin",
|
|
69123
|
+
"module": "icon.js"
|
|
69124
|
+
}
|
|
69125
|
+
],
|
|
69126
|
+
"superclass": {
|
|
69127
|
+
"name": "SbbActionBaseElement",
|
|
69128
|
+
"module": "core/base-elements.js"
|
|
69129
|
+
},
|
|
69130
|
+
"attributes": [
|
|
69131
|
+
{
|
|
69132
|
+
"name": "size",
|
|
69133
|
+
"type": {
|
|
69134
|
+
"text": "SbbLinkSize"
|
|
69135
|
+
},
|
|
69136
|
+
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
69137
|
+
"default": "'s' / 'xs' (lean)",
|
|
69138
|
+
"fieldName": "size",
|
|
69139
|
+
"inheritedFrom": {
|
|
69140
|
+
"name": "SbbLinkCommonElementMixin",
|
|
69141
|
+
"module": "link/common/link-common.js"
|
|
69142
|
+
}
|
|
69143
|
+
},
|
|
69144
|
+
{
|
|
69145
|
+
"name": "negative",
|
|
69146
|
+
"type": {
|
|
69147
|
+
"text": "boolean"
|
|
69148
|
+
},
|
|
69149
|
+
"default": "false",
|
|
69150
|
+
"description": "Negative coloring variant flag.",
|
|
69151
|
+
"fieldName": "negative",
|
|
69152
|
+
"inheritedFrom": {
|
|
69153
|
+
"name": "SbbNegativeMixin",
|
|
69154
|
+
"module": "core/mixins/negative-mixin.js"
|
|
69155
|
+
}
|
|
69156
|
+
},
|
|
69157
|
+
{
|
|
69158
|
+
"name": "icon-name",
|
|
69159
|
+
"type": {
|
|
69160
|
+
"text": "string"
|
|
69161
|
+
},
|
|
69162
|
+
"default": "''",
|
|
69163
|
+
"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.",
|
|
69164
|
+
"fieldName": "iconName",
|
|
69165
|
+
"inheritedFrom": {
|
|
69166
|
+
"name": "SbbIconNameMixin",
|
|
69167
|
+
"module": "icon/icon-name-mixin.js"
|
|
69168
|
+
}
|
|
69169
|
+
}
|
|
69170
|
+
]
|
|
69171
|
+
},
|
|
69172
|
+
{
|
|
69173
|
+
"kind": "mixin",
|
|
69174
|
+
"description": "",
|
|
69175
|
+
"name": "SbbBlockLinkCommonElementMixin",
|
|
69176
|
+
"members": [
|
|
69177
|
+
{
|
|
69178
|
+
"kind": "field",
|
|
69179
|
+
"name": "styles",
|
|
69180
|
+
"type": {
|
|
69181
|
+
"text": "CSSResultGroup"
|
|
69182
|
+
},
|
|
68872
69183
|
"privacy": "public",
|
|
68873
69184
|
"static": true,
|
|
68874
69185
|
"default": "[style, blockStyle]",
|
|
@@ -70097,317 +70408,6 @@
|
|
|
70097
70408
|
}
|
|
70098
70409
|
]
|
|
70099
70410
|
},
|
|
70100
|
-
{
|
|
70101
|
-
"kind": "javascript-module",
|
|
70102
|
-
"path": "link/block-link-static/block-link-static.component.js",
|
|
70103
|
-
"declarations": [
|
|
70104
|
-
{
|
|
70105
|
-
"kind": "class",
|
|
70106
|
-
"description": "It displays a static link enhanced with the SBB Design.",
|
|
70107
|
-
"name": "SbbBlockLinkStaticElement",
|
|
70108
|
-
"slots": [
|
|
70109
|
-
{
|
|
70110
|
-
"description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
|
|
70111
|
-
"name": ""
|
|
70112
|
-
},
|
|
70113
|
-
{
|
|
70114
|
-
"description": "Slot used to display the icon, if one is set.",
|
|
70115
|
-
"name": "icon"
|
|
70116
|
-
}
|
|
70117
|
-
],
|
|
70118
|
-
"mixins": [
|
|
70119
|
-
{
|
|
70120
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
70121
|
-
"module": "link/common.js"
|
|
70122
|
-
},
|
|
70123
|
-
{
|
|
70124
|
-
"name": "SbbDisabledMixin",
|
|
70125
|
-
"module": "core/mixins.js"
|
|
70126
|
-
}
|
|
70127
|
-
],
|
|
70128
|
-
"superclass": {
|
|
70129
|
-
"name": "SbbActionBaseElement",
|
|
70130
|
-
"module": "core/base-elements.js"
|
|
70131
|
-
},
|
|
70132
|
-
"tagName": "sbb-block-link-static",
|
|
70133
|
-
"customElement": true,
|
|
70134
|
-
"attributes": [
|
|
70135
|
-
{
|
|
70136
|
-
"name": "icon-placement",
|
|
70137
|
-
"type": {
|
|
70138
|
-
"text": "SbbIconPlacement"
|
|
70139
|
-
},
|
|
70140
|
-
"default": "'start'",
|
|
70141
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
70142
|
-
"fieldName": "iconPlacement",
|
|
70143
|
-
"inheritedFrom": {
|
|
70144
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
70145
|
-
"module": "link/common/block-link-common.js"
|
|
70146
|
-
}
|
|
70147
|
-
},
|
|
70148
|
-
{
|
|
70149
|
-
"name": "size",
|
|
70150
|
-
"type": {
|
|
70151
|
-
"text": "SbbLinkSize"
|
|
70152
|
-
},
|
|
70153
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
70154
|
-
"default": "'s' / 'xs' (lean)",
|
|
70155
|
-
"fieldName": "size",
|
|
70156
|
-
"inheritedFrom": {
|
|
70157
|
-
"name": "SbbLinkCommonElementMixin",
|
|
70158
|
-
"module": "link/common/link-common.js"
|
|
70159
|
-
}
|
|
70160
|
-
},
|
|
70161
|
-
{
|
|
70162
|
-
"name": "icon-name",
|
|
70163
|
-
"type": {
|
|
70164
|
-
"text": "string"
|
|
70165
|
-
},
|
|
70166
|
-
"default": "''",
|
|
70167
|
-
"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.",
|
|
70168
|
-
"fieldName": "iconName",
|
|
70169
|
-
"inheritedFrom": {
|
|
70170
|
-
"name": "SbbIconNameMixin",
|
|
70171
|
-
"module": "icon/icon-name-mixin.js"
|
|
70172
|
-
}
|
|
70173
|
-
},
|
|
70174
|
-
{
|
|
70175
|
-
"name": "disabled",
|
|
70176
|
-
"type": {
|
|
70177
|
-
"text": "boolean"
|
|
70178
|
-
},
|
|
70179
|
-
"default": "false",
|
|
70180
|
-
"description": "Whether the component is disabled.",
|
|
70181
|
-
"fieldName": "disabled",
|
|
70182
|
-
"inheritedFrom": {
|
|
70183
|
-
"name": "SbbDisabledMixin",
|
|
70184
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
70185
|
-
}
|
|
70186
|
-
}
|
|
70187
|
-
],
|
|
70188
|
-
"members": [
|
|
70189
|
-
{
|
|
70190
|
-
"kind": "field",
|
|
70191
|
-
"name": "styles",
|
|
70192
|
-
"type": {
|
|
70193
|
-
"text": "CSSResultGroup"
|
|
70194
|
-
},
|
|
70195
|
-
"privacy": "public",
|
|
70196
|
-
"static": true,
|
|
70197
|
-
"default": "[style, blockStyle]",
|
|
70198
|
-
"inheritedFrom": {
|
|
70199
|
-
"name": "SbbLinkCommonElementMixin",
|
|
70200
|
-
"module": "link/common/link-common.js"
|
|
70201
|
-
}
|
|
70202
|
-
},
|
|
70203
|
-
{
|
|
70204
|
-
"kind": "field",
|
|
70205
|
-
"name": "iconPlacement",
|
|
70206
|
-
"type": {
|
|
70207
|
-
"text": "SbbIconPlacement"
|
|
70208
|
-
},
|
|
70209
|
-
"privacy": "public",
|
|
70210
|
-
"default": "'start'",
|
|
70211
|
-
"description": "Moves the icon to the end of the component if set to true.",
|
|
70212
|
-
"attribute": "icon-placement",
|
|
70213
|
-
"reflects": true,
|
|
70214
|
-
"inheritedFrom": {
|
|
70215
|
-
"name": "SbbBlockLinkCommonElementMixin",
|
|
70216
|
-
"module": "link/common/block-link-common.js"
|
|
70217
|
-
}
|
|
70218
|
-
},
|
|
70219
|
-
{
|
|
70220
|
-
"kind": "method",
|
|
70221
|
-
"name": "renderTemplate",
|
|
70222
|
-
"privacy": "protected",
|
|
70223
|
-
"return": {
|
|
70224
|
-
"type": {
|
|
70225
|
-
"text": "TemplateResult"
|
|
70226
|
-
}
|
|
70227
|
-
},
|
|
70228
|
-
"description": "Override this method to render the component template.",
|
|
70229
|
-
"inheritedFrom": {
|
|
70230
|
-
"name": "SbbActionBaseElement",
|
|
70231
|
-
"module": "core/base-elements/action-base-element.js"
|
|
70232
|
-
}
|
|
70233
|
-
},
|
|
70234
|
-
{
|
|
70235
|
-
"kind": "field",
|
|
70236
|
-
"name": "size",
|
|
70237
|
-
"type": {
|
|
70238
|
-
"text": "SbbLinkSize"
|
|
70239
|
-
},
|
|
70240
|
-
"privacy": "public",
|
|
70241
|
-
"description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
|
|
70242
|
-
"default": "'s' / 'xs' (lean)",
|
|
70243
|
-
"attribute": "size",
|
|
70244
|
-
"reflects": true,
|
|
70245
|
-
"inheritedFrom": {
|
|
70246
|
-
"name": "SbbLinkCommonElementMixin",
|
|
70247
|
-
"module": "link/common/link-common.js"
|
|
70248
|
-
}
|
|
70249
|
-
},
|
|
70250
|
-
{
|
|
70251
|
-
"kind": "field",
|
|
70252
|
-
"name": "iconName",
|
|
70253
|
-
"type": {
|
|
70254
|
-
"text": "string"
|
|
70255
|
-
},
|
|
70256
|
-
"privacy": "public",
|
|
70257
|
-
"default": "''",
|
|
70258
|
-
"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.",
|
|
70259
|
-
"attribute": "icon-name",
|
|
70260
|
-
"reflects": true,
|
|
70261
|
-
"inheritedFrom": {
|
|
70262
|
-
"name": "SbbIconNameMixin",
|
|
70263
|
-
"module": "icon/icon-name-mixin.js"
|
|
70264
|
-
}
|
|
70265
|
-
},
|
|
70266
|
-
{
|
|
70267
|
-
"kind": "method",
|
|
70268
|
-
"name": "renderIconSlot",
|
|
70269
|
-
"privacy": "protected",
|
|
70270
|
-
"return": {
|
|
70271
|
-
"type": {
|
|
70272
|
-
"text": "TemplateResult"
|
|
70273
|
-
}
|
|
70274
|
-
},
|
|
70275
|
-
"parameters": [
|
|
70276
|
-
{
|
|
70277
|
-
"name": "classname",
|
|
70278
|
-
"optional": true,
|
|
70279
|
-
"type": {
|
|
70280
|
-
"text": "string"
|
|
70281
|
-
}
|
|
70282
|
-
}
|
|
70283
|
-
],
|
|
70284
|
-
"inheritedFrom": {
|
|
70285
|
-
"name": "SbbIconNameMixin",
|
|
70286
|
-
"module": "icon/icon-name-mixin.js"
|
|
70287
|
-
}
|
|
70288
|
-
},
|
|
70289
|
-
{
|
|
70290
|
-
"kind": "field",
|
|
70291
|
-
"name": "disabled",
|
|
70292
|
-
"type": {
|
|
70293
|
-
"text": "boolean"
|
|
70294
|
-
},
|
|
70295
|
-
"privacy": "public",
|
|
70296
|
-
"default": "false",
|
|
70297
|
-
"description": "Whether the component is disabled.",
|
|
70298
|
-
"attribute": "disabled",
|
|
70299
|
-
"reflects": true,
|
|
70300
|
-
"inheritedFrom": {
|
|
70301
|
-
"name": "SbbDisabledMixin",
|
|
70302
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
70303
|
-
}
|
|
70304
|
-
},
|
|
70305
|
-
{
|
|
70306
|
-
"kind": "method",
|
|
70307
|
-
"name": "isDisabledExternally",
|
|
70308
|
-
"privacy": "protected",
|
|
70309
|
-
"return": {
|
|
70310
|
-
"type": {
|
|
70311
|
-
"text": "boolean"
|
|
70312
|
-
}
|
|
70313
|
-
},
|
|
70314
|
-
"description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
|
|
70315
|
-
"inheritedFrom": {
|
|
70316
|
-
"name": "SbbDisabledMixin",
|
|
70317
|
-
"module": "core/mixins/disabled-mixin.js"
|
|
70318
|
-
}
|
|
70319
|
-
},
|
|
70320
|
-
{
|
|
70321
|
-
"kind": "method",
|
|
70322
|
-
"name": "toggleState",
|
|
70323
|
-
"privacy": "protected",
|
|
70324
|
-
"return": {
|
|
70325
|
-
"type": {
|
|
70326
|
-
"text": "void"
|
|
70327
|
-
}
|
|
70328
|
-
},
|
|
70329
|
-
"parameters": [
|
|
70330
|
-
{
|
|
70331
|
-
"name": "state",
|
|
70332
|
-
"type": {
|
|
70333
|
-
"text": "string"
|
|
70334
|
-
}
|
|
70335
|
-
},
|
|
70336
|
-
{
|
|
70337
|
-
"name": "force",
|
|
70338
|
-
"optional": true,
|
|
70339
|
-
"type": {
|
|
70340
|
-
"text": "boolean"
|
|
70341
|
-
}
|
|
70342
|
-
}
|
|
70343
|
-
],
|
|
70344
|
-
"inheritedFrom": {
|
|
70345
|
-
"name": "SbbActionBaseElement",
|
|
70346
|
-
"module": "core/base-elements/action-base-element.js"
|
|
70347
|
-
}
|
|
70348
|
-
},
|
|
70349
|
-
{
|
|
70350
|
-
"kind": "field",
|
|
70351
|
-
"name": "maybeDisabled",
|
|
70352
|
-
"type": {
|
|
70353
|
-
"text": "boolean | undefined"
|
|
70354
|
-
},
|
|
70355
|
-
"privacy": "protected",
|
|
70356
|
-
"readonly": true,
|
|
70357
|
-
"inheritedFrom": {
|
|
70358
|
-
"name": "SbbActionBaseElement",
|
|
70359
|
-
"module": "core/base-elements/action-base-element.js"
|
|
70360
|
-
}
|
|
70361
|
-
},
|
|
70362
|
-
{
|
|
70363
|
-
"kind": "field",
|
|
70364
|
-
"name": "maybeDisabledInteractive",
|
|
70365
|
-
"type": {
|
|
70366
|
-
"text": "boolean | undefined"
|
|
70367
|
-
},
|
|
70368
|
-
"privacy": "protected",
|
|
70369
|
-
"readonly": true,
|
|
70370
|
-
"inheritedFrom": {
|
|
70371
|
-
"name": "SbbActionBaseElement",
|
|
70372
|
-
"module": "core/base-elements/action-base-element.js"
|
|
70373
|
-
}
|
|
70374
|
-
},
|
|
70375
|
-
{
|
|
70376
|
-
"kind": "method",
|
|
70377
|
-
"name": "setupBaseEventHandlers",
|
|
70378
|
-
"privacy": "protected",
|
|
70379
|
-
"return": {
|
|
70380
|
-
"type": {
|
|
70381
|
-
"text": "void"
|
|
70382
|
-
}
|
|
70383
|
-
},
|
|
70384
|
-
"inheritedFrom": {
|
|
70385
|
-
"name": "SbbActionBaseElement",
|
|
70386
|
-
"module": "core/base-elements/action-base-element.js"
|
|
70387
|
-
}
|
|
70388
|
-
}
|
|
70389
|
-
]
|
|
70390
|
-
}
|
|
70391
|
-
],
|
|
70392
|
-
"exports": [
|
|
70393
|
-
{
|
|
70394
|
-
"kind": "js",
|
|
70395
|
-
"name": "SbbBlockLinkStaticElement",
|
|
70396
|
-
"declaration": {
|
|
70397
|
-
"name": "SbbBlockLinkStaticElement",
|
|
70398
|
-
"module": "link/block-link-static/block-link-static.component.js"
|
|
70399
|
-
}
|
|
70400
|
-
},
|
|
70401
|
-
{
|
|
70402
|
-
"kind": "custom-element-definition",
|
|
70403
|
-
"name": "sbb-block-link-static",
|
|
70404
|
-
"declaration": {
|
|
70405
|
-
"name": "SbbBlockLinkStaticElement",
|
|
70406
|
-
"module": "link/block-link-static/block-link-static.component.js"
|
|
70407
|
-
}
|
|
70408
|
-
}
|
|
70409
|
-
]
|
|
70410
|
-
},
|
|
70411
70411
|
{
|
|
70412
70412
|
"kind": "javascript-module",
|
|
70413
70413
|
"path": "link/link-button/link-button.component.js",
|