@sbb-esta/lyne-elements-dev 4.13.0-dev.1780447762 → 4.13.0-dev.1780463572

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/custom-elements.json +890 -890
  2. package/package.json +2 -2
@@ -94748,6 +94748,253 @@
94748
94748
  }
94749
94749
  ]
94750
94750
  },
94751
+ {
94752
+ "kind": "javascript-module",
94753
+ "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
94754
+ "declarations": [
94755
+ {
94756
+ "kind": "class",
94757
+ "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
94758
+ "name": "SbbFormFieldTextCounterElement",
94759
+ "slots": [
94760
+ {
94761
+ "description": "Use the unnamed slot to display a custom description text after the counter.",
94762
+ "name": "",
94763
+ "inheritedFrom": {
94764
+ "name": "SbbHintElement",
94765
+ "module": "form-field/hint/hint.component.js"
94766
+ }
94767
+ }
94768
+ ],
94769
+ "members": [
94770
+ {
94771
+ "kind": "field",
94772
+ "name": "elementName",
94773
+ "type": {
94774
+ "text": "string"
94775
+ },
94776
+ "privacy": "public",
94777
+ "static": true,
94778
+ "readonly": true,
94779
+ "default": "'sbb-form-field-text-counter'",
94780
+ "inheritedFrom": {
94781
+ "name": "SbbElement",
94782
+ "module": "core/base-elements/element.js"
94783
+ }
94784
+ },
94785
+ {
94786
+ "kind": "field",
94787
+ "name": "_remainingCharacters",
94788
+ "type": {
94789
+ "text": "number"
94790
+ },
94791
+ "privacy": "private",
94792
+ "default": "0"
94793
+ },
94794
+ {
94795
+ "kind": "field",
94796
+ "name": "_language",
94797
+ "privacy": "private",
94798
+ "default": "new SbbLanguageController(this)"
94799
+ },
94800
+ {
94801
+ "kind": "field",
94802
+ "name": "_abortController",
94803
+ "type": {
94804
+ "text": "AbortController | null"
94805
+ },
94806
+ "privacy": "private",
94807
+ "default": "null"
94808
+ },
94809
+ {
94810
+ "kind": "method",
94811
+ "name": "_onInputUpdate",
94812
+ "privacy": "private",
94813
+ "return": {
94814
+ "type": {
94815
+ "text": "void"
94816
+ }
94817
+ }
94818
+ },
94819
+ {
94820
+ "kind": "method",
94821
+ "name": "_infoText",
94822
+ "privacy": "private",
94823
+ "return": {
94824
+ "type": {
94825
+ "text": "string"
94826
+ }
94827
+ }
94828
+ },
94829
+ {
94830
+ "kind": "field",
94831
+ "name": "negative",
94832
+ "type": {
94833
+ "text": "boolean"
94834
+ },
94835
+ "privacy": "public",
94836
+ "default": "false",
94837
+ "description": "Negative coloring variant flag.",
94838
+ "attribute": "negative",
94839
+ "reflects": true,
94840
+ "inheritedFrom": {
94841
+ "name": "SbbNegativeMixin",
94842
+ "module": "core/mixins/negative-mixin.js"
94843
+ }
94844
+ },
94845
+ {
94846
+ "kind": "field",
94847
+ "name": "formField",
94848
+ "type": {
94849
+ "text": "SbbFormFieldElement | null"
94850
+ },
94851
+ "privacy": "protected",
94852
+ "default": "null",
94853
+ "inheritedFrom": {
94854
+ "name": "SbbHintElement",
94855
+ "module": "form-field/hint/hint.component.js"
94856
+ }
94857
+ },
94858
+ {
94859
+ "kind": "field",
94860
+ "name": "_hydrationRequired",
94861
+ "type": {
94862
+ "text": "boolean"
94863
+ },
94864
+ "privacy": "private",
94865
+ "default": "!!this.shadowRoot",
94866
+ "inheritedFrom": {
94867
+ "name": "SbbElement",
94868
+ "module": "core/base-elements/element.js"
94869
+ }
94870
+ },
94871
+ {
94872
+ "kind": "field",
94873
+ "name": "_hydrationComplete",
94874
+ "privacy": "private",
94875
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
94876
+ "inheritedFrom": {
94877
+ "name": "SbbElement",
94878
+ "module": "core/base-elements/element.js"
94879
+ }
94880
+ },
94881
+ {
94882
+ "kind": "field",
94883
+ "name": "_resolveHydration",
94884
+ "type": {
94885
+ "text": "(hydrationRequired: boolean) => void"
94886
+ },
94887
+ "privacy": "private",
94888
+ "inheritedFrom": {
94889
+ "name": "SbbElement",
94890
+ "module": "core/base-elements/element.js"
94891
+ }
94892
+ },
94893
+ {
94894
+ "kind": "field",
94895
+ "name": "hydrationRequired",
94896
+ "type": {
94897
+ "text": "boolean"
94898
+ },
94899
+ "privacy": "protected",
94900
+ "description": "Returns whether hydration is required and not completed.",
94901
+ "readonly": true,
94902
+ "inheritedFrom": {
94903
+ "name": "SbbElement",
94904
+ "module": "core/base-elements/element.js"
94905
+ },
94906
+ "default": "!!this.shadowRoot"
94907
+ },
94908
+ {
94909
+ "kind": "method",
94910
+ "name": "toggleState",
94911
+ "privacy": "protected",
94912
+ "return": {
94913
+ "type": {
94914
+ "text": "void"
94915
+ }
94916
+ },
94917
+ "parameters": [
94918
+ {
94919
+ "name": "value",
94920
+ "type": {
94921
+ "text": "string"
94922
+ }
94923
+ },
94924
+ {
94925
+ "name": "force",
94926
+ "optional": true,
94927
+ "type": {
94928
+ "text": "boolean"
94929
+ }
94930
+ }
94931
+ ],
94932
+ "inheritedFrom": {
94933
+ "name": "SbbElement",
94934
+ "module": "core/base-elements/element.js"
94935
+ }
94936
+ },
94937
+ {
94938
+ "kind": "field",
94939
+ "name": "['_$sbbElement$']",
94940
+ "type": {
94941
+ "text": "boolean"
94942
+ },
94943
+ "privacy": "public",
94944
+ "static": true,
94945
+ "default": "true",
94946
+ "inheritedFrom": {
94947
+ "name": "SbbElement",
94948
+ "module": "core/base-elements/element.js"
94949
+ }
94950
+ },
94951
+ {
94952
+ "kind": "field",
94953
+ "name": "_controllers",
94954
+ "type": {
94955
+ "text": "Set<SbbReactiveController> | undefined"
94956
+ },
94957
+ "privacy": "private",
94958
+ "inheritedFrom": {
94959
+ "name": "SbbElement",
94960
+ "module": "core/base-elements/element.js"
94961
+ }
94962
+ }
94963
+ ],
94964
+ "superclass": {
94965
+ "name": "SbbHintElement",
94966
+ "module": "form-field/hint/hint.component.js"
94967
+ },
94968
+ "tagName": "sbb-form-field-text-counter",
94969
+ "customElement": true,
94970
+ "attributes": [
94971
+ {
94972
+ "name": "negative",
94973
+ "type": {
94974
+ "text": "boolean"
94975
+ },
94976
+ "default": "false",
94977
+ "description": "Negative coloring variant flag.",
94978
+ "fieldName": "negative",
94979
+ "inheritedFrom": {
94980
+ "name": "SbbNegativeMixin",
94981
+ "module": "core/mixins/negative-mixin.js"
94982
+ }
94983
+ }
94984
+ ]
94985
+ }
94986
+ ],
94987
+ "exports": [
94988
+ {
94989
+ "kind": "js",
94990
+ "name": "SbbFormFieldTextCounterElement",
94991
+ "declaration": {
94992
+ "name": "SbbFormFieldTextCounterElement",
94993
+ "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
94994
+ }
94995
+ }
94996
+ ]
94997
+ },
94751
94998
  {
94752
94999
  "kind": "javascript-module",
94753
95000
  "path": "form-field/form-field-clear/form-field-clear.component.js",
@@ -95558,259 +95805,12 @@
95558
95805
  },
95559
95806
  {
95560
95807
  "kind": "javascript-module",
95561
- "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
95808
+ "path": "form-field/hint/hint.component.js",
95562
95809
  "declarations": [
95563
95810
  {
95564
95811
  "kind": "class",
95565
- "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
95566
- "name": "SbbFormFieldTextCounterElement",
95567
- "slots": [
95568
- {
95569
- "description": "Use the unnamed slot to display a custom description text after the counter.",
95570
- "name": "",
95571
- "inheritedFrom": {
95572
- "name": "SbbHintElement",
95573
- "module": "form-field/hint/hint.component.js"
95574
- }
95575
- }
95576
- ],
95577
- "members": [
95578
- {
95579
- "kind": "field",
95580
- "name": "elementName",
95581
- "type": {
95582
- "text": "string"
95583
- },
95584
- "privacy": "public",
95585
- "static": true,
95586
- "readonly": true,
95587
- "default": "'sbb-form-field-text-counter'",
95588
- "inheritedFrom": {
95589
- "name": "SbbElement",
95590
- "module": "core/base-elements/element.js"
95591
- }
95592
- },
95593
- {
95594
- "kind": "field",
95595
- "name": "_remainingCharacters",
95596
- "type": {
95597
- "text": "number"
95598
- },
95599
- "privacy": "private",
95600
- "default": "0"
95601
- },
95602
- {
95603
- "kind": "field",
95604
- "name": "_language",
95605
- "privacy": "private",
95606
- "default": "new SbbLanguageController(this)"
95607
- },
95608
- {
95609
- "kind": "field",
95610
- "name": "_abortController",
95611
- "type": {
95612
- "text": "AbortController | null"
95613
- },
95614
- "privacy": "private",
95615
- "default": "null"
95616
- },
95617
- {
95618
- "kind": "method",
95619
- "name": "_onInputUpdate",
95620
- "privacy": "private",
95621
- "return": {
95622
- "type": {
95623
- "text": "void"
95624
- }
95625
- }
95626
- },
95627
- {
95628
- "kind": "method",
95629
- "name": "_infoText",
95630
- "privacy": "private",
95631
- "return": {
95632
- "type": {
95633
- "text": "string"
95634
- }
95635
- }
95636
- },
95637
- {
95638
- "kind": "field",
95639
- "name": "negative",
95640
- "type": {
95641
- "text": "boolean"
95642
- },
95643
- "privacy": "public",
95644
- "default": "false",
95645
- "description": "Negative coloring variant flag.",
95646
- "attribute": "negative",
95647
- "reflects": true,
95648
- "inheritedFrom": {
95649
- "name": "SbbNegativeMixin",
95650
- "module": "core/mixins/negative-mixin.js"
95651
- }
95652
- },
95653
- {
95654
- "kind": "field",
95655
- "name": "formField",
95656
- "type": {
95657
- "text": "SbbFormFieldElement | null"
95658
- },
95659
- "privacy": "protected",
95660
- "default": "null",
95661
- "inheritedFrom": {
95662
- "name": "SbbHintElement",
95663
- "module": "form-field/hint/hint.component.js"
95664
- }
95665
- },
95666
- {
95667
- "kind": "field",
95668
- "name": "_hydrationRequired",
95669
- "type": {
95670
- "text": "boolean"
95671
- },
95672
- "privacy": "private",
95673
- "default": "!!this.shadowRoot",
95674
- "inheritedFrom": {
95675
- "name": "SbbElement",
95676
- "module": "core/base-elements/element.js"
95677
- }
95678
- },
95679
- {
95680
- "kind": "field",
95681
- "name": "_hydrationComplete",
95682
- "privacy": "private",
95683
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
95684
- "inheritedFrom": {
95685
- "name": "SbbElement",
95686
- "module": "core/base-elements/element.js"
95687
- }
95688
- },
95689
- {
95690
- "kind": "field",
95691
- "name": "_resolveHydration",
95692
- "type": {
95693
- "text": "(hydrationRequired: boolean) => void"
95694
- },
95695
- "privacy": "private",
95696
- "inheritedFrom": {
95697
- "name": "SbbElement",
95698
- "module": "core/base-elements/element.js"
95699
- }
95700
- },
95701
- {
95702
- "kind": "field",
95703
- "name": "hydrationRequired",
95704
- "type": {
95705
- "text": "boolean"
95706
- },
95707
- "privacy": "protected",
95708
- "description": "Returns whether hydration is required and not completed.",
95709
- "readonly": true,
95710
- "inheritedFrom": {
95711
- "name": "SbbElement",
95712
- "module": "core/base-elements/element.js"
95713
- },
95714
- "default": "!!this.shadowRoot"
95715
- },
95716
- {
95717
- "kind": "method",
95718
- "name": "toggleState",
95719
- "privacy": "protected",
95720
- "return": {
95721
- "type": {
95722
- "text": "void"
95723
- }
95724
- },
95725
- "parameters": [
95726
- {
95727
- "name": "value",
95728
- "type": {
95729
- "text": "string"
95730
- }
95731
- },
95732
- {
95733
- "name": "force",
95734
- "optional": true,
95735
- "type": {
95736
- "text": "boolean"
95737
- }
95738
- }
95739
- ],
95740
- "inheritedFrom": {
95741
- "name": "SbbElement",
95742
- "module": "core/base-elements/element.js"
95743
- }
95744
- },
95745
- {
95746
- "kind": "field",
95747
- "name": "['_$sbbElement$']",
95748
- "type": {
95749
- "text": "boolean"
95750
- },
95751
- "privacy": "public",
95752
- "static": true,
95753
- "default": "true",
95754
- "inheritedFrom": {
95755
- "name": "SbbElement",
95756
- "module": "core/base-elements/element.js"
95757
- }
95758
- },
95759
- {
95760
- "kind": "field",
95761
- "name": "_controllers",
95762
- "type": {
95763
- "text": "Set<SbbReactiveController> | undefined"
95764
- },
95765
- "privacy": "private",
95766
- "inheritedFrom": {
95767
- "name": "SbbElement",
95768
- "module": "core/base-elements/element.js"
95769
- }
95770
- }
95771
- ],
95772
- "superclass": {
95773
- "name": "SbbHintElement",
95774
- "module": "form-field/hint/hint.component.js"
95775
- },
95776
- "tagName": "sbb-form-field-text-counter",
95777
- "customElement": true,
95778
- "attributes": [
95779
- {
95780
- "name": "negative",
95781
- "type": {
95782
- "text": "boolean"
95783
- },
95784
- "default": "false",
95785
- "description": "Negative coloring variant flag.",
95786
- "fieldName": "negative",
95787
- "inheritedFrom": {
95788
- "name": "SbbNegativeMixin",
95789
- "module": "core/mixins/negative-mixin.js"
95790
- }
95791
- }
95792
- ]
95793
- }
95794
- ],
95795
- "exports": [
95796
- {
95797
- "kind": "js",
95798
- "name": "SbbFormFieldTextCounterElement",
95799
- "declaration": {
95800
- "name": "SbbFormFieldTextCounterElement",
95801
- "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
95802
- }
95803
- }
95804
- ]
95805
- },
95806
- {
95807
- "kind": "javascript-module",
95808
- "path": "form-field/hint/hint.component.js",
95809
- "declarations": [
95810
- {
95811
- "kind": "class",
95812
- "description": "It displays a hint message in the `sbb-form-field`.",
95813
- "name": "SbbHintElement",
95812
+ "description": "It displays a hint message in the `sbb-form-field`.",
95813
+ "name": "SbbHintElement",
95814
95814
  "slots": [
95815
95815
  {
95816
95816
  "description": "Use the unnamed slot to display the hint message.",
@@ -102068,20 +102068,37 @@
102068
102068
  },
102069
102069
  {
102070
102070
  "kind": "javascript-module",
102071
- "path": "link/common/block-link-common.js",
102071
+ "path": "link/block-link-static/block-link-static.component.js",
102072
102072
  "declarations": [
102073
102073
  {
102074
102074
  "kind": "class",
102075
- "description": "",
102076
- "name": "SbbBlockLinkCommonElementMixinType",
102077
- "members": [
102075
+ "description": "It displays a static link enhanced with the SBB Design.",
102076
+ "name": "SbbBlockLinkStaticElement",
102077
+ "slots": [
102078
102078
  {
102079
- "kind": "field",
102080
- "name": "iconPlacement",
102081
- "type": {
102082
- "text": "SbbIconPlacement"
102079
+ "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
102080
+ "name": ""
102081
+ },
102082
+ {
102083
+ "description": "Slot used to display the icon, if one is set.",
102084
+ "name": "icon"
102085
+ }
102086
+ ],
102087
+ "members": [
102088
+ {
102089
+ "kind": "field",
102090
+ "name": "elementName",
102091
+ "type": {
102092
+ "text": "string"
102083
102093
  },
102084
- "privacy": "public"
102094
+ "privacy": "public",
102095
+ "static": true,
102096
+ "readonly": true,
102097
+ "inheritedFrom": {
102098
+ "name": "SbbElement",
102099
+ "module": "core/base-elements/element.js"
102100
+ },
102101
+ "default": "'sbb-block-link-static'"
102085
102102
  },
102086
102103
  {
102087
102104
  "kind": "field",
@@ -102091,7 +102108,7 @@
102091
102108
  },
102092
102109
  "privacy": "public",
102093
102110
  "static": true,
102094
- "default": "[boxSizingStyles, unsafeCSS(style)]",
102111
+ "default": "[super.styles, unsafeCSS(blockStyle)]",
102095
102112
  "inheritedFrom": {
102096
102113
  "name": "SbbLinkCommonElementMixin",
102097
102114
  "module": "link/common/link-common.js"
@@ -102099,18 +102116,18 @@
102099
102116
  },
102100
102117
  {
102101
102118
  "kind": "field",
102102
- "name": "size",
102119
+ "name": "iconPlacement",
102103
102120
  "type": {
102104
- "text": "SbbLinkSize"
102121
+ "text": "SbbIconPlacement"
102105
102122
  },
102106
102123
  "privacy": "public",
102107
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102108
- "default": "'s' / 'xs' (lean)",
102109
- "attribute": "size",
102124
+ "default": "'start'",
102125
+ "description": "Moves the icon to the end of the component if set to true.",
102126
+ "attribute": "icon-placement",
102110
102127
  "reflects": true,
102111
102128
  "inheritedFrom": {
102112
- "name": "SbbLinkCommonElementMixin",
102113
- "module": "link/common/link-common.js"
102129
+ "name": "SbbBlockLinkCommonElementMixin",
102130
+ "module": "link/common/block-link-common.js"
102114
102131
  }
102115
102132
  },
102116
102133
  {
@@ -102130,18 +102147,18 @@
102130
102147
  },
102131
102148
  {
102132
102149
  "kind": "field",
102133
- "name": "negative",
102150
+ "name": "size",
102134
102151
  "type": {
102135
- "text": "boolean"
102152
+ "text": "SbbLinkSize"
102136
102153
  },
102137
102154
  "privacy": "public",
102138
- "default": "false",
102139
- "description": "Negative coloring variant flag.",
102140
- "attribute": "negative",
102155
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102156
+ "default": "'s' / 'xs' (lean)",
102157
+ "attribute": "size",
102141
102158
  "reflects": true,
102142
102159
  "inheritedFrom": {
102143
- "name": "SbbNegativeMixin",
102144
- "module": "core/mixins/negative-mixin.js"
102160
+ "name": "SbbLinkCommonElementMixin",
102161
+ "module": "link/common/link-common.js"
102145
102162
  }
102146
102163
  },
102147
102164
  {
@@ -102210,6 +102227,50 @@
102210
102227
  "module": "icon/icon-name-mixin.js"
102211
102228
  }
102212
102229
  },
102230
+ {
102231
+ "kind": "field",
102232
+ "name": "disabled",
102233
+ "privacy": "public",
102234
+ "description": "Whether the component is disabled.",
102235
+ "default": "false",
102236
+ "type": {
102237
+ "text": "boolean"
102238
+ },
102239
+ "attribute": "disabled",
102240
+ "reflects": true,
102241
+ "inheritedFrom": {
102242
+ "name": "SbbDisabledMixin",
102243
+ "module": "core/mixins/disabled-mixin.js"
102244
+ }
102245
+ },
102246
+ {
102247
+ "kind": "field",
102248
+ "name": "#disabled",
102249
+ "privacy": "private",
102250
+ "type": {
102251
+ "text": "boolean"
102252
+ },
102253
+ "default": "false",
102254
+ "inheritedFrom": {
102255
+ "name": "SbbDisabledMixin",
102256
+ "module": "core/mixins/disabled-mixin.js"
102257
+ }
102258
+ },
102259
+ {
102260
+ "kind": "method",
102261
+ "name": "isDisabledExternally",
102262
+ "privacy": "protected",
102263
+ "return": {
102264
+ "type": {
102265
+ "text": "boolean"
102266
+ }
102267
+ },
102268
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
102269
+ "inheritedFrom": {
102270
+ "name": "SbbDisabledMixin",
102271
+ "module": "core/mixins/disabled-mixin.js"
102272
+ }
102273
+ },
102213
102274
  {
102214
102275
  "kind": "field",
102215
102276
  "name": "maybeDisabled",
@@ -102343,20 +102404,6 @@
102343
102404
  "module": "core/base-elements/element.js"
102344
102405
  }
102345
102406
  },
102346
- {
102347
- "kind": "field",
102348
- "name": "elementName",
102349
- "type": {
102350
- "text": "string"
102351
- },
102352
- "privacy": "public",
102353
- "static": true,
102354
- "readonly": true,
102355
- "inheritedFrom": {
102356
- "name": "SbbElement",
102357
- "module": "core/base-elements/element.js"
102358
- }
102359
- },
102360
102407
  {
102361
102408
  "kind": "field",
102362
102409
  "name": "_controllers",
@@ -102372,19 +102419,34 @@
102372
102419
  ],
102373
102420
  "mixins": [
102374
102421
  {
102375
- "name": "SbbLinkCommonElementMixin",
102376
- "module": "link/common/link-common.js"
102422
+ "name": "SbbBlockLinkCommonElementMixin",
102423
+ "module": "link/common/block-link-common.js"
102377
102424
  },
102378
102425
  {
102379
- "name": "SbbIconNameMixin",
102380
- "module": "icon.js"
102426
+ "name": "SbbDisabledMixin",
102427
+ "module": "core/mixins.js"
102381
102428
  }
102382
102429
  ],
102383
102430
  "superclass": {
102384
102431
  "name": "SbbActionBaseElement",
102385
102432
  "module": "core/base-elements.js"
102386
102433
  },
102434
+ "tagName": "sbb-block-link-static",
102435
+ "customElement": true,
102387
102436
  "attributes": [
102437
+ {
102438
+ "name": "icon-placement",
102439
+ "type": {
102440
+ "text": "SbbIconPlacement"
102441
+ },
102442
+ "default": "'start'",
102443
+ "description": "Moves the icon to the end of the component if set to true.",
102444
+ "fieldName": "iconPlacement",
102445
+ "inheritedFrom": {
102446
+ "name": "SbbBlockLinkCommonElementMixin",
102447
+ "module": "link/common/block-link-common.js"
102448
+ }
102449
+ },
102388
102450
  {
102389
102451
  "name": "size",
102390
102452
  "type": {
@@ -102398,19 +102460,6 @@
102398
102460
  "module": "link/common/link-common.js"
102399
102461
  }
102400
102462
  },
102401
- {
102402
- "name": "negative",
102403
- "type": {
102404
- "text": "boolean"
102405
- },
102406
- "default": "false",
102407
- "description": "Negative coloring variant flag.",
102408
- "fieldName": "negative",
102409
- "inheritedFrom": {
102410
- "name": "SbbNegativeMixin",
102411
- "module": "core/mixins/negative-mixin.js"
102412
- }
102413
- },
102414
102463
  {
102415
102464
  "name": "icon-name",
102416
102465
  "type": {
@@ -102423,49 +102472,60 @@
102423
102472
  "name": "SbbIconNameMixin",
102424
102473
  "module": "icon/icon-name-mixin.js"
102425
102474
  }
102475
+ },
102476
+ {
102477
+ "name": "disabled",
102478
+ "description": "Whether the component is disabled.",
102479
+ "default": "false",
102480
+ "type": {
102481
+ "text": "boolean"
102482
+ },
102483
+ "fieldName": "disabled",
102484
+ "inheritedFrom": {
102485
+ "name": "SbbDisabledMixin",
102486
+ "module": "core/mixins/disabled-mixin.js"
102487
+ }
102426
102488
  }
102427
102489
  ]
102428
- },
102490
+ }
102491
+ ],
102492
+ "exports": [
102429
102493
  {
102430
- "kind": "mixin",
102494
+ "kind": "js",
102495
+ "name": "SbbBlockLinkStaticElement",
102496
+ "declaration": {
102497
+ "name": "SbbBlockLinkStaticElement",
102498
+ "module": "link/block-link-static/block-link-static.component.js"
102499
+ }
102500
+ }
102501
+ ]
102502
+ },
102503
+ {
102504
+ "kind": "javascript-module",
102505
+ "path": "link/common/block-link-common.js",
102506
+ "declarations": [
102507
+ {
102508
+ "kind": "class",
102431
102509
  "description": "",
102432
- "name": "SbbBlockLinkCommonElementMixin",
102510
+ "name": "SbbBlockLinkCommonElementMixinType",
102433
102511
  "members": [
102434
102512
  {
102435
102513
  "kind": "field",
102436
- "name": "styles",
102514
+ "name": "iconPlacement",
102437
102515
  "type": {
102438
- "text": "CSSResultGroup"
102516
+ "text": "SbbIconPlacement"
102439
102517
  },
102440
- "privacy": "public",
102441
- "static": true,
102442
- "default": "[super.styles, unsafeCSS(blockStyle)]",
102443
- "inheritedFrom": {
102444
- "name": "SbbLinkCommonElementMixin",
102445
- "module": "link/common/link-common.js"
102446
- }
102518
+ "privacy": "public"
102447
102519
  },
102448
102520
  {
102449
102521
  "kind": "field",
102450
- "name": "iconPlacement",
102522
+ "name": "styles",
102451
102523
  "type": {
102452
- "text": "SbbIconPlacement"
102524
+ "text": "CSSResultGroup"
102453
102525
  },
102454
102526
  "privacy": "public",
102455
- "default": "'start'",
102456
- "description": "Moves the icon to the end of the component if set to true.",
102457
- "attribute": "icon-placement",
102458
- "reflects": true
102459
- },
102460
- {
102461
- "kind": "method",
102462
- "name": "renderTemplate",
102463
- "privacy": "protected",
102464
- "return": {
102465
- "type": {
102466
- "text": "TemplateResult"
102467
- }
102468
- },
102527
+ "static": true,
102528
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
102469
102529
  "inheritedFrom": {
102470
102530
  "name": "SbbLinkCommonElementMixin",
102471
102531
  "module": "link/common/link-common.js"
@@ -102487,6 +102547,21 @@
102487
102547
  "module": "link/common/link-common.js"
102488
102548
  }
102489
102549
  },
102550
+ {
102551
+ "kind": "method",
102552
+ "name": "renderTemplate",
102553
+ "privacy": "protected",
102554
+ "return": {
102555
+ "type": {
102556
+ "text": "TemplateResult"
102557
+ }
102558
+ },
102559
+ "description": "Override this method to render the component template.",
102560
+ "inheritedFrom": {
102561
+ "name": "SbbActionBaseElement",
102562
+ "module": "core/base-elements/action-base-element.js"
102563
+ }
102564
+ },
102490
102565
  {
102491
102566
  "kind": "field",
102492
102567
  "name": "negative",
@@ -102568,216 +102643,18 @@
102568
102643
  "name": "SbbIconNameMixin",
102569
102644
  "module": "icon/icon-name-mixin.js"
102570
102645
  }
102571
- }
102572
- ],
102573
- "attributes": [
102574
- {
102575
- "name": "icon-placement",
102576
- "type": {
102577
- "text": "SbbIconPlacement"
102578
- },
102579
- "default": "'start'",
102580
- "description": "Moves the icon to the end of the component if set to true.",
102581
- "fieldName": "iconPlacement"
102582
102646
  },
102583
102647
  {
102584
- "name": "size",
102648
+ "kind": "field",
102649
+ "name": "maybeDisabled",
102585
102650
  "type": {
102586
- "text": "SbbLinkSize"
102651
+ "text": "boolean | undefined"
102587
102652
  },
102588
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102589
- "default": "'s' / 'xs' (lean)",
102590
- "fieldName": "size",
102653
+ "privacy": "protected",
102654
+ "readonly": true,
102591
102655
  "inheritedFrom": {
102592
- "name": "SbbLinkCommonElementMixin",
102593
- "module": "link/common/link-common.js"
102594
- }
102595
- },
102596
- {
102597
- "name": "negative",
102598
- "type": {
102599
- "text": "boolean"
102600
- },
102601
- "default": "false",
102602
- "description": "Negative coloring variant flag.",
102603
- "fieldName": "negative",
102604
- "inheritedFrom": {
102605
- "name": "SbbNegativeMixin",
102606
- "module": "core/mixins/negative-mixin.js"
102607
- }
102608
- },
102609
- {
102610
- "name": "icon-name",
102611
- "type": {
102612
- "text": "string"
102613
- },
102614
- "default": "''",
102615
- "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.",
102616
- "fieldName": "iconName",
102617
- "inheritedFrom": {
102618
- "name": "SbbIconNameMixin",
102619
- "module": "icon/icon-name-mixin.js"
102620
- }
102621
- }
102622
- ],
102623
- "mixins": [
102624
- {
102625
- "name": "SbbLinkCommonElementMixin",
102626
- "module": "link/common/link-common.js"
102627
- },
102628
- {
102629
- "name": "SbbIconNameMixin",
102630
- "module": "icon.js"
102631
- }
102632
- ],
102633
- "parameters": [
102634
- {
102635
- "name": "superClass",
102636
- "type": {
102637
- "text": "T"
102638
- }
102639
- }
102640
- ]
102641
- }
102642
- ],
102643
- "exports": [
102644
- {
102645
- "kind": "js",
102646
- "name": "SbbBlockLinkCommonElementMixinType",
102647
- "declaration": {
102648
- "name": "SbbBlockLinkCommonElementMixinType",
102649
- "module": "link/common/block-link-common.js"
102650
- }
102651
- },
102652
- {
102653
- "kind": "js",
102654
- "name": "SbbBlockLinkCommonElementMixin",
102655
- "declaration": {
102656
- "name": "SbbBlockLinkCommonElementMixin",
102657
- "module": "link/common/block-link-common.js"
102658
- }
102659
- }
102660
- ]
102661
- },
102662
- {
102663
- "kind": "javascript-module",
102664
- "path": "link/common/inline-link-common.js",
102665
- "declarations": [
102666
- {
102667
- "kind": "class",
102668
- "description": "",
102669
- "name": "SbbInlineLinkCommonElementMixinType",
102670
- "mixins": [
102671
- {
102672
- "name": "SbbLinkCommonElementMixin",
102673
- "module": "link/common/link-common.js"
102674
- }
102675
- ],
102676
- "superclass": {
102677
- "name": "SbbActionBaseElement",
102678
- "module": "core/base-elements.js"
102679
- },
102680
- "attributes": [
102681
- {
102682
- "name": "size",
102683
- "type": {
102684
- "text": "SbbLinkSize"
102685
- },
102686
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102687
- "default": "'s' / 'xs' (lean)",
102688
- "fieldName": "size",
102689
- "inheritedFrom": {
102690
- "name": "SbbLinkCommonElementMixin",
102691
- "module": "link/common/link-common.js"
102692
- }
102693
- },
102694
- {
102695
- "name": "negative",
102696
- "type": {
102697
- "text": "boolean"
102698
- },
102699
- "default": "false",
102700
- "description": "Negative coloring variant flag.",
102701
- "fieldName": "negative",
102702
- "inheritedFrom": {
102703
- "name": "SbbNegativeMixin",
102704
- "module": "core/mixins/negative-mixin.js"
102705
- }
102706
- }
102707
- ],
102708
- "members": [
102709
- {
102710
- "kind": "field",
102711
- "name": "styles",
102712
- "type": {
102713
- "text": "CSSResultGroup"
102714
- },
102715
- "privacy": "public",
102716
- "static": true,
102717
- "default": "[boxSizingStyles, unsafeCSS(style)]",
102718
- "inheritedFrom": {
102719
- "name": "SbbLinkCommonElementMixin",
102720
- "module": "link/common/link-common.js"
102721
- }
102722
- },
102723
- {
102724
- "kind": "field",
102725
- "name": "size",
102726
- "type": {
102727
- "text": "SbbLinkSize"
102728
- },
102729
- "privacy": "public",
102730
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102731
- "default": "'s' / 'xs' (lean)",
102732
- "attribute": "size",
102733
- "reflects": true,
102734
- "inheritedFrom": {
102735
- "name": "SbbLinkCommonElementMixin",
102736
- "module": "link/common/link-common.js"
102737
- }
102738
- },
102739
- {
102740
- "kind": "method",
102741
- "name": "renderTemplate",
102742
- "privacy": "protected",
102743
- "return": {
102744
- "type": {
102745
- "text": "TemplateResult"
102746
- }
102747
- },
102748
- "description": "Override this method to render the component template.",
102749
- "inheritedFrom": {
102750
- "name": "SbbActionBaseElement",
102751
- "module": "core/base-elements/action-base-element.js"
102752
- }
102753
- },
102754
- {
102755
- "kind": "field",
102756
- "name": "negative",
102757
- "type": {
102758
- "text": "boolean"
102759
- },
102760
- "privacy": "public",
102761
- "default": "false",
102762
- "description": "Negative coloring variant flag.",
102763
- "attribute": "negative",
102764
- "reflects": true,
102765
- "inheritedFrom": {
102766
- "name": "SbbNegativeMixin",
102767
- "module": "core/mixins/negative-mixin.js"
102768
- }
102769
- },
102770
- {
102771
- "kind": "field",
102772
- "name": "maybeDisabled",
102773
- "type": {
102774
- "text": "boolean | undefined"
102775
- },
102776
- "privacy": "protected",
102777
- "readonly": true,
102778
- "inheritedFrom": {
102779
- "name": "SbbActionBaseElement",
102780
- "module": "core/base-elements/action-base-element.js"
102656
+ "name": "SbbActionBaseElement",
102657
+ "module": "core/base-elements/action-base-element.js"
102781
102658
  }
102782
102659
  },
102783
102660
  {
@@ -102926,12 +102803,67 @@
102926
102803
  "module": "core/base-elements/element.js"
102927
102804
  }
102928
102805
  }
102806
+ ],
102807
+ "mixins": [
102808
+ {
102809
+ "name": "SbbLinkCommonElementMixin",
102810
+ "module": "link/common/link-common.js"
102811
+ },
102812
+ {
102813
+ "name": "SbbIconNameMixin",
102814
+ "module": "icon.js"
102815
+ }
102816
+ ],
102817
+ "superclass": {
102818
+ "name": "SbbActionBaseElement",
102819
+ "module": "core/base-elements.js"
102820
+ },
102821
+ "attributes": [
102822
+ {
102823
+ "name": "size",
102824
+ "type": {
102825
+ "text": "SbbLinkSize"
102826
+ },
102827
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102828
+ "default": "'s' / 'xs' (lean)",
102829
+ "fieldName": "size",
102830
+ "inheritedFrom": {
102831
+ "name": "SbbLinkCommonElementMixin",
102832
+ "module": "link/common/link-common.js"
102833
+ }
102834
+ },
102835
+ {
102836
+ "name": "negative",
102837
+ "type": {
102838
+ "text": "boolean"
102839
+ },
102840
+ "default": "false",
102841
+ "description": "Negative coloring variant flag.",
102842
+ "fieldName": "negative",
102843
+ "inheritedFrom": {
102844
+ "name": "SbbNegativeMixin",
102845
+ "module": "core/mixins/negative-mixin.js"
102846
+ }
102847
+ },
102848
+ {
102849
+ "name": "icon-name",
102850
+ "type": {
102851
+ "text": "string"
102852
+ },
102853
+ "default": "''",
102854
+ "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
102855
+ "fieldName": "iconName",
102856
+ "inheritedFrom": {
102857
+ "name": "SbbIconNameMixin",
102858
+ "module": "icon/icon-name-mixin.js"
102859
+ }
102860
+ }
102929
102861
  ]
102930
102862
  },
102931
102863
  {
102932
102864
  "kind": "mixin",
102933
102865
  "description": "",
102934
- "name": "SbbInlineLinkCommonElementMixin",
102866
+ "name": "SbbBlockLinkCommonElementMixin",
102935
102867
  "members": [
102936
102868
  {
102937
102869
  "kind": "field",
@@ -102941,7 +102873,7 @@
102941
102873
  },
102942
102874
  "privacy": "public",
102943
102875
  "static": true,
102944
- "default": "[super.styles, unsafeCSS(inlineStyle)]",
102876
+ "default": "[super.styles, unsafeCSS(blockStyle)]",
102945
102877
  "inheritedFrom": {
102946
102878
  "name": "SbbLinkCommonElementMixin",
102947
102879
  "module": "link/common/link-common.js"
@@ -102949,19 +102881,15 @@
102949
102881
  },
102950
102882
  {
102951
102883
  "kind": "field",
102952
- "name": "size",
102884
+ "name": "iconPlacement",
102953
102885
  "type": {
102954
- "text": "SbbLinkSize"
102886
+ "text": "SbbIconPlacement"
102955
102887
  },
102956
102888
  "privacy": "public",
102957
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102958
- "default": "'s' / 'xs' (lean)",
102959
- "attribute": "size",
102960
- "reflects": true,
102961
- "inheritedFrom": {
102962
- "name": "SbbLinkCommonElementMixin",
102963
- "module": "link/common/link-common.js"
102964
- }
102889
+ "default": "'start'",
102890
+ "description": "Moves the icon to the end of the component if set to true.",
102891
+ "attribute": "icon-placement",
102892
+ "reflects": true
102965
102893
  },
102966
102894
  {
102967
102895
  "kind": "method",
@@ -102977,6 +102905,22 @@
102977
102905
  "module": "link/common/link-common.js"
102978
102906
  }
102979
102907
  },
102908
+ {
102909
+ "kind": "field",
102910
+ "name": "size",
102911
+ "type": {
102912
+ "text": "SbbLinkSize"
102913
+ },
102914
+ "privacy": "public",
102915
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
102916
+ "default": "'s' / 'xs' (lean)",
102917
+ "attribute": "size",
102918
+ "reflects": true,
102919
+ "inheritedFrom": {
102920
+ "name": "SbbLinkCommonElementMixin",
102921
+ "module": "link/common/link-common.js"
102922
+ }
102923
+ },
102980
102924
  {
102981
102925
  "kind": "field",
102982
102926
  "name": "negative",
@@ -102992,23 +102936,84 @@
102992
102936
  "name": "SbbNegativeMixin",
102993
102937
  "module": "core/mixins/negative-mixin.js"
102994
102938
  }
102995
- }
102996
- ],
102997
- "mixins": [
102998
- {
102999
- "name": "SbbLinkCommonElementMixin",
103000
- "module": "link/common/link-common.js"
103001
- }
103002
- ],
103003
- "parameters": [
102939
+ },
103004
102940
  {
103005
- "name": "superClass",
102941
+ "kind": "field",
102942
+ "name": "iconName",
103006
102943
  "type": {
103007
- "text": "T"
102944
+ "text": "string"
102945
+ },
102946
+ "privacy": "public",
102947
+ "default": "''",
102948
+ "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.",
102949
+ "attribute": "icon-name",
102950
+ "inheritedFrom": {
102951
+ "name": "SbbIconNameMixin",
102952
+ "module": "icon/icon-name-mixin.js"
102953
+ }
102954
+ },
102955
+ {
102956
+ "kind": "method",
102957
+ "name": "renderIconSlot",
102958
+ "privacy": "protected",
102959
+ "return": {
102960
+ "type": {
102961
+ "text": "TemplateResult"
102962
+ }
102963
+ },
102964
+ "parameters": [
102965
+ {
102966
+ "name": "classname",
102967
+ "optional": true,
102968
+ "type": {
102969
+ "text": "string"
102970
+ }
102971
+ }
102972
+ ],
102973
+ "inheritedFrom": {
102974
+ "name": "SbbIconNameMixin",
102975
+ "module": "icon/icon-name-mixin.js"
102976
+ }
102977
+ },
102978
+ {
102979
+ "kind": "method",
102980
+ "name": "renderIconName",
102981
+ "privacy": "protected",
102982
+ "return": {
102983
+ "type": {
102984
+ "text": "string"
102985
+ }
102986
+ },
102987
+ "inheritedFrom": {
102988
+ "name": "SbbIconNameMixin",
102989
+ "module": "icon/icon-name-mixin.js"
102990
+ }
102991
+ },
102992
+ {
102993
+ "kind": "method",
102994
+ "name": "_renderIconName",
102995
+ "privacy": "private",
102996
+ "return": {
102997
+ "type": {
102998
+ "text": "string"
102999
+ }
103000
+ },
103001
+ "inheritedFrom": {
103002
+ "name": "SbbIconNameMixin",
103003
+ "module": "icon/icon-name-mixin.js"
103008
103004
  }
103009
103005
  }
103010
103006
  ],
103011
103007
  "attributes": [
103008
+ {
103009
+ "name": "icon-placement",
103010
+ "type": {
103011
+ "text": "SbbIconPlacement"
103012
+ },
103013
+ "default": "'start'",
103014
+ "description": "Moves the icon to the end of the component if set to true.",
103015
+ "fieldName": "iconPlacement"
103016
+ },
103012
103017
  {
103013
103018
  "name": "size",
103014
103019
  "type": {
@@ -103034,6 +103039,37 @@
103034
103039
  "name": "SbbNegativeMixin",
103035
103040
  "module": "core/mixins/negative-mixin.js"
103036
103041
  }
103042
+ },
103043
+ {
103044
+ "name": "icon-name",
103045
+ "type": {
103046
+ "text": "string"
103047
+ },
103048
+ "default": "''",
103049
+ "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.",
103050
+ "fieldName": "iconName",
103051
+ "inheritedFrom": {
103052
+ "name": "SbbIconNameMixin",
103053
+ "module": "icon/icon-name-mixin.js"
103054
+ }
103055
+ }
103056
+ ],
103057
+ "mixins": [
103058
+ {
103059
+ "name": "SbbLinkCommonElementMixin",
103060
+ "module": "link/common/link-common.js"
103061
+ },
103062
+ {
103063
+ "name": "SbbIconNameMixin",
103064
+ "module": "icon.js"
103065
+ }
103066
+ ],
103067
+ "parameters": [
103068
+ {
103069
+ "name": "superClass",
103070
+ "type": {
103071
+ "text": "T"
103072
+ }
103037
103073
  }
103038
103074
  ]
103039
103075
  }
@@ -103041,63 +103077,109 @@
103041
103077
  "exports": [
103042
103078
  {
103043
103079
  "kind": "js",
103044
- "name": "SbbInlineLinkCommonElementMixinType",
103080
+ "name": "SbbBlockLinkCommonElementMixinType",
103045
103081
  "declaration": {
103046
- "name": "SbbInlineLinkCommonElementMixinType",
103047
- "module": "link/common/inline-link-common.js"
103082
+ "name": "SbbBlockLinkCommonElementMixinType",
103083
+ "module": "link/common/block-link-common.js"
103048
103084
  }
103049
103085
  },
103050
103086
  {
103051
103087
  "kind": "js",
103052
- "name": "SbbInlineLinkCommonElementMixin",
103088
+ "name": "SbbBlockLinkCommonElementMixin",
103053
103089
  "declaration": {
103054
- "name": "SbbInlineLinkCommonElementMixin",
103055
- "module": "link/common/inline-link-common.js"
103090
+ "name": "SbbBlockLinkCommonElementMixin",
103091
+ "module": "link/common/block-link-common.js"
103056
103092
  }
103057
103093
  }
103058
103094
  ]
103059
103095
  },
103060
103096
  {
103061
103097
  "kind": "javascript-module",
103062
- "path": "link/common/link-common.js",
103098
+ "path": "link/common/inline-link-common.js",
103063
103099
  "declarations": [
103064
103100
  {
103065
103101
  "kind": "class",
103066
103102
  "description": "",
103067
- "name": "SbbLinkCommonElementMixinType",
103068
- "members": [
103103
+ "name": "SbbInlineLinkCommonElementMixinType",
103104
+ "mixins": [
103105
+ {
103106
+ "name": "SbbLinkCommonElementMixin",
103107
+ "module": "link/common/link-common.js"
103108
+ }
103109
+ ],
103110
+ "superclass": {
103111
+ "name": "SbbActionBaseElement",
103112
+ "module": "core/base-elements.js"
103113
+ },
103114
+ "attributes": [
103069
103115
  {
103070
- "kind": "field",
103071
103116
  "name": "size",
103072
103117
  "type": {
103073
103118
  "text": "SbbLinkSize"
103074
103119
  },
103075
- "privacy": "public"
103120
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103121
+ "default": "'s' / 'xs' (lean)",
103122
+ "fieldName": "size",
103123
+ "inheritedFrom": {
103124
+ "name": "SbbLinkCommonElementMixin",
103125
+ "module": "link/common/link-common.js"
103126
+ }
103076
103127
  },
103077
103128
  {
103078
- "kind": "field",
103079
103129
  "name": "negative",
103080
103130
  "type": {
103081
103131
  "text": "boolean"
103082
103132
  },
103083
- "privacy": "public",
103084
103133
  "default": "false",
103085
103134
  "description": "Negative coloring variant flag.",
103086
- "attribute": "negative",
103087
- "reflects": true,
103135
+ "fieldName": "negative",
103088
103136
  "inheritedFrom": {
103089
103137
  "name": "SbbNegativeMixin",
103090
103138
  "module": "core/mixins/negative-mixin.js"
103091
103139
  }
103140
+ }
103141
+ ],
103142
+ "members": [
103143
+ {
103144
+ "kind": "field",
103145
+ "name": "styles",
103146
+ "type": {
103147
+ "text": "CSSResultGroup"
103148
+ },
103149
+ "privacy": "public",
103150
+ "static": true,
103151
+ "default": "[boxSizingStyles, unsafeCSS(style)]",
103152
+ "inheritedFrom": {
103153
+ "name": "SbbLinkCommonElementMixin",
103154
+ "module": "link/common/link-common.js"
103155
+ }
103092
103156
  },
103093
103157
  {
103094
103158
  "kind": "field",
103095
- "name": "maybeDisabled",
103159
+ "name": "size",
103096
103160
  "type": {
103097
- "text": "boolean | undefined"
103161
+ "text": "SbbLinkSize"
103098
103162
  },
103163
+ "privacy": "public",
103164
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103165
+ "default": "'s' / 'xs' (lean)",
103166
+ "attribute": "size",
103167
+ "reflects": true,
103168
+ "inheritedFrom": {
103169
+ "name": "SbbLinkCommonElementMixin",
103170
+ "module": "link/common/link-common.js"
103171
+ }
103172
+ },
103173
+ {
103174
+ "kind": "method",
103175
+ "name": "renderTemplate",
103099
103176
  "privacy": "protected",
103100
- "readonly": true,
103177
+ "return": {
103178
+ "type": {
103179
+ "text": "TemplateResult"
103180
+ }
103181
+ },
103182
+ "description": "Override this method to render the component template.",
103101
103183
  "inheritedFrom": {
103102
103184
  "name": "SbbActionBaseElement",
103103
103185
  "module": "core/base-elements/action-base-element.js"
@@ -103105,7 +103187,23 @@
103105
103187
  },
103106
103188
  {
103107
103189
  "kind": "field",
103108
- "name": "maybeDisabledInteractive",
103190
+ "name": "negative",
103191
+ "type": {
103192
+ "text": "boolean"
103193
+ },
103194
+ "privacy": "public",
103195
+ "default": "false",
103196
+ "description": "Negative coloring variant flag.",
103197
+ "attribute": "negative",
103198
+ "reflects": true,
103199
+ "inheritedFrom": {
103200
+ "name": "SbbNegativeMixin",
103201
+ "module": "core/mixins/negative-mixin.js"
103202
+ }
103203
+ },
103204
+ {
103205
+ "kind": "field",
103206
+ "name": "maybeDisabled",
103109
103207
  "type": {
103110
103208
  "text": "boolean | undefined"
103111
103209
  },
@@ -103114,17 +103212,16 @@
103114
103212
  "inheritedFrom": {
103115
103213
  "name": "SbbActionBaseElement",
103116
103214
  "module": "core/base-elements/action-base-element.js"
103117
- }
103118
- },
103119
- {
103120
- "kind": "method",
103121
- "name": "setupBaseEventHandlers",
103122
- "privacy": "protected",
103123
- "return": {
103124
- "type": {
103125
- "text": "void"
103126
- }
103215
+ }
103216
+ },
103217
+ {
103218
+ "kind": "field",
103219
+ "name": "maybeDisabledInteractive",
103220
+ "type": {
103221
+ "text": "boolean | undefined"
103127
103222
  },
103223
+ "privacy": "protected",
103224
+ "readonly": true,
103128
103225
  "inheritedFrom": {
103129
103226
  "name": "SbbActionBaseElement",
103130
103227
  "module": "core/base-elements/action-base-element.js"
@@ -103132,14 +103229,13 @@
103132
103229
  },
103133
103230
  {
103134
103231
  "kind": "method",
103135
- "name": "renderTemplate",
103232
+ "name": "setupBaseEventHandlers",
103136
103233
  "privacy": "protected",
103137
103234
  "return": {
103138
103235
  "type": {
103139
- "text": "TemplateResult"
103236
+ "text": "void"
103140
103237
  }
103141
103238
  },
103142
- "description": "Override this method to render the component template.",
103143
103239
  "inheritedFrom": {
103144
103240
  "name": "SbbActionBaseElement",
103145
103241
  "module": "core/base-elements/action-base-element.js"
@@ -103264,37 +103360,12 @@
103264
103360
  "module": "core/base-elements/element.js"
103265
103361
  }
103266
103362
  }
103267
- ],
103268
- "mixins": [
103269
- {
103270
- "name": "SbbNegativeMixin",
103271
- "module": "core/mixins.js"
103272
- }
103273
- ],
103274
- "superclass": {
103275
- "name": "SbbActionBaseElement",
103276
- "module": "core/base-elements.js"
103277
- },
103278
- "attributes": [
103279
- {
103280
- "name": "negative",
103281
- "type": {
103282
- "text": "boolean"
103283
- },
103284
- "default": "false",
103285
- "description": "Negative coloring variant flag.",
103286
- "fieldName": "negative",
103287
- "inheritedFrom": {
103288
- "name": "SbbNegativeMixin",
103289
- "module": "core/mixins/negative-mixin.js"
103290
- }
103291
- }
103292
103363
  ]
103293
103364
  },
103294
103365
  {
103295
103366
  "kind": "mixin",
103296
103367
  "description": "",
103297
- "name": "SbbLinkCommonElementMixin",
103368
+ "name": "SbbInlineLinkCommonElementMixin",
103298
103369
  "members": [
103299
103370
  {
103300
103371
  "kind": "field",
@@ -103304,7 +103375,11 @@
103304
103375
  },
103305
103376
  "privacy": "public",
103306
103377
  "static": true,
103307
- "default": "[boxSizingStyles, unsafeCSS(style)]"
103378
+ "default": "[super.styles, unsafeCSS(inlineStyle)]",
103379
+ "inheritedFrom": {
103380
+ "name": "SbbLinkCommonElementMixin",
103381
+ "module": "link/common/link-common.js"
103382
+ }
103308
103383
  },
103309
103384
  {
103310
103385
  "kind": "field",
@@ -103316,7 +103391,11 @@
103316
103391
  "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103317
103392
  "default": "'s' / 'xs' (lean)",
103318
103393
  "attribute": "size",
103319
- "reflects": true
103394
+ "reflects": true,
103395
+ "inheritedFrom": {
103396
+ "name": "SbbLinkCommonElementMixin",
103397
+ "module": "link/common/link-common.js"
103398
+ }
103320
103399
  },
103321
103400
  {
103322
103401
  "kind": "method",
@@ -103326,6 +103405,10 @@
103326
103405
  "type": {
103327
103406
  "text": "TemplateResult"
103328
103407
  }
103408
+ },
103409
+ "inheritedFrom": {
103410
+ "name": "SbbLinkCommonElementMixin",
103411
+ "module": "link/common/link-common.js"
103329
103412
  }
103330
103413
  },
103331
103414
  {
@@ -103345,268 +103428,100 @@
103345
103428
  }
103346
103429
  }
103347
103430
  ],
103348
- "attributes": [
103349
- {
103350
- "name": "size",
103351
- "type": {
103352
- "text": "SbbLinkSize"
103353
- },
103354
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103355
- "default": "'s' / 'xs' (lean)",
103356
- "fieldName": "size"
103357
- },
103358
- {
103359
- "name": "negative",
103360
- "type": {
103361
- "text": "boolean"
103362
- },
103363
- "default": "false",
103364
- "description": "Negative coloring variant flag.",
103365
- "fieldName": "negative",
103366
- "inheritedFrom": {
103367
- "name": "SbbNegativeMixin",
103368
- "module": "core/mixins/negative-mixin.js"
103369
- }
103370
- }
103371
- ],
103372
103431
  "mixins": [
103373
103432
  {
103374
- "name": "SbbNegativeMixin",
103375
- "module": "core/mixins.js"
103433
+ "name": "SbbLinkCommonElementMixin",
103434
+ "module": "link/common/link-common.js"
103376
103435
  }
103377
103436
  ],
103378
103437
  "parameters": [
103379
103438
  {
103380
103439
  "name": "superClass",
103381
- "type": {
103382
- "text": "T"
103383
- }
103384
- }
103385
- ]
103386
- }
103387
- ],
103388
- "exports": [
103389
- {
103390
- "kind": "js",
103391
- "name": "SbbLinkCommonElementMixinType",
103392
- "declaration": {
103393
- "name": "SbbLinkCommonElementMixinType",
103394
- "module": "link/common/link-common.js"
103395
- }
103396
- },
103397
- {
103398
- "kind": "js",
103399
- "name": "SbbLinkCommonElementMixin",
103400
- "declaration": {
103401
- "name": "SbbLinkCommonElementMixin",
103402
- "module": "link/common/link-common.js"
103403
- }
103404
- }
103405
- ]
103406
- },
103407
- {
103408
- "kind": "javascript-module",
103409
- "path": "link/block-link-static/block-link-static.component.js",
103410
- "declarations": [
103411
- {
103412
- "kind": "class",
103413
- "description": "It displays a static link enhanced with the SBB Design.",
103414
- "name": "SbbBlockLinkStaticElement",
103415
- "slots": [
103416
- {
103417
- "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
103418
- "name": ""
103419
- },
103420
- {
103421
- "description": "Slot used to display the icon, if one is set.",
103422
- "name": "icon"
103423
- }
103424
- ],
103425
- "members": [
103426
- {
103427
- "kind": "field",
103428
- "name": "elementName",
103429
- "type": {
103430
- "text": "string"
103431
- },
103432
- "privacy": "public",
103433
- "static": true,
103434
- "readonly": true,
103435
- "inheritedFrom": {
103436
- "name": "SbbElement",
103437
- "module": "core/base-elements/element.js"
103438
- },
103439
- "default": "'sbb-block-link-static'"
103440
- },
103441
- {
103442
- "kind": "field",
103443
- "name": "styles",
103444
- "type": {
103445
- "text": "CSSResultGroup"
103446
- },
103447
- "privacy": "public",
103448
- "static": true,
103449
- "default": "[super.styles, unsafeCSS(blockStyle)]",
103450
- "inheritedFrom": {
103451
- "name": "SbbLinkCommonElementMixin",
103452
- "module": "link/common/link-common.js"
103453
- }
103454
- },
103455
- {
103456
- "kind": "field",
103457
- "name": "iconPlacement",
103458
- "type": {
103459
- "text": "SbbIconPlacement"
103460
- },
103461
- "privacy": "public",
103462
- "default": "'start'",
103463
- "description": "Moves the icon to the end of the component if set to true.",
103464
- "attribute": "icon-placement",
103465
- "reflects": true,
103466
- "inheritedFrom": {
103467
- "name": "SbbBlockLinkCommonElementMixin",
103468
- "module": "link/common/block-link-common.js"
103469
- }
103470
- },
103471
- {
103472
- "kind": "method",
103473
- "name": "renderTemplate",
103474
- "privacy": "protected",
103475
- "return": {
103476
- "type": {
103477
- "text": "TemplateResult"
103478
- }
103479
- },
103480
- "description": "Override this method to render the component template.",
103481
- "inheritedFrom": {
103482
- "name": "SbbActionBaseElement",
103483
- "module": "core/base-elements/action-base-element.js"
103484
- }
103485
- },
103486
- {
103487
- "kind": "field",
103488
- "name": "size",
103489
- "type": {
103490
- "text": "SbbLinkSize"
103491
- },
103492
- "privacy": "public",
103493
- "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103494
- "default": "'s' / 'xs' (lean)",
103495
- "attribute": "size",
103496
- "reflects": true,
103497
- "inheritedFrom": {
103498
- "name": "SbbLinkCommonElementMixin",
103499
- "module": "link/common/link-common.js"
103500
- }
103501
- },
103502
- {
103503
- "kind": "field",
103504
- "name": "iconName",
103505
- "type": {
103506
- "text": "string"
103507
- },
103508
- "privacy": "public",
103509
- "default": "''",
103510
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
103511
- "attribute": "icon-name",
103512
- "inheritedFrom": {
103513
- "name": "SbbIconNameMixin",
103514
- "module": "icon/icon-name-mixin.js"
103515
- }
103516
- },
103517
- {
103518
- "kind": "method",
103519
- "name": "renderIconSlot",
103520
- "privacy": "protected",
103521
- "return": {
103522
- "type": {
103523
- "text": "TemplateResult"
103524
- }
103525
- },
103526
- "parameters": [
103527
- {
103528
- "name": "classname",
103529
- "optional": true,
103530
- "type": {
103531
- "text": "string"
103532
- }
103533
- }
103534
- ],
103535
- "inheritedFrom": {
103536
- "name": "SbbIconNameMixin",
103537
- "module": "icon/icon-name-mixin.js"
103538
- }
103539
- },
103540
- {
103541
- "kind": "method",
103542
- "name": "renderIconName",
103543
- "privacy": "protected",
103544
- "return": {
103545
- "type": {
103546
- "text": "string"
103547
- }
103548
- },
103549
- "inheritedFrom": {
103550
- "name": "SbbIconNameMixin",
103551
- "module": "icon/icon-name-mixin.js"
103440
+ "type": {
103441
+ "text": "T"
103552
103442
  }
103553
- },
103443
+ }
103444
+ ],
103445
+ "attributes": [
103554
103446
  {
103555
- "kind": "method",
103556
- "name": "_renderIconName",
103557
- "privacy": "private",
103558
- "return": {
103559
- "type": {
103560
- "text": "string"
103561
- }
103447
+ "name": "size",
103448
+ "type": {
103449
+ "text": "SbbLinkSize"
103562
103450
  },
103451
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103452
+ "default": "'s' / 'xs' (lean)",
103453
+ "fieldName": "size",
103563
103454
  "inheritedFrom": {
103564
- "name": "SbbIconNameMixin",
103565
- "module": "icon/icon-name-mixin.js"
103455
+ "name": "SbbLinkCommonElementMixin",
103456
+ "module": "link/common/link-common.js"
103566
103457
  }
103567
103458
  },
103568
103459
  {
103569
- "kind": "field",
103570
- "name": "disabled",
103571
- "privacy": "public",
103572
- "description": "Whether the component is disabled.",
103573
- "default": "false",
103460
+ "name": "negative",
103574
103461
  "type": {
103575
103462
  "text": "boolean"
103576
103463
  },
103577
- "attribute": "disabled",
103578
- "reflects": true,
103464
+ "default": "false",
103465
+ "description": "Negative coloring variant flag.",
103466
+ "fieldName": "negative",
103579
103467
  "inheritedFrom": {
103580
- "name": "SbbDisabledMixin",
103581
- "module": "core/mixins/disabled-mixin.js"
103468
+ "name": "SbbNegativeMixin",
103469
+ "module": "core/mixins/negative-mixin.js"
103582
103470
  }
103583
- },
103471
+ }
103472
+ ]
103473
+ }
103474
+ ],
103475
+ "exports": [
103476
+ {
103477
+ "kind": "js",
103478
+ "name": "SbbInlineLinkCommonElementMixinType",
103479
+ "declaration": {
103480
+ "name": "SbbInlineLinkCommonElementMixinType",
103481
+ "module": "link/common/inline-link-common.js"
103482
+ }
103483
+ },
103484
+ {
103485
+ "kind": "js",
103486
+ "name": "SbbInlineLinkCommonElementMixin",
103487
+ "declaration": {
103488
+ "name": "SbbInlineLinkCommonElementMixin",
103489
+ "module": "link/common/inline-link-common.js"
103490
+ }
103491
+ }
103492
+ ]
103493
+ },
103494
+ {
103495
+ "kind": "javascript-module",
103496
+ "path": "link/common/link-common.js",
103497
+ "declarations": [
103498
+ {
103499
+ "kind": "class",
103500
+ "description": "",
103501
+ "name": "SbbLinkCommonElementMixinType",
103502
+ "members": [
103584
103503
  {
103585
103504
  "kind": "field",
103586
- "name": "#disabled",
103587
- "privacy": "private",
103505
+ "name": "size",
103588
103506
  "type": {
103589
- "text": "boolean"
103507
+ "text": "SbbLinkSize"
103590
103508
  },
103591
- "default": "false",
103592
- "inheritedFrom": {
103593
- "name": "SbbDisabledMixin",
103594
- "module": "core/mixins/disabled-mixin.js"
103595
- }
103509
+ "privacy": "public"
103596
103510
  },
103597
103511
  {
103598
- "kind": "method",
103599
- "name": "isDisabledExternally",
103600
- "privacy": "protected",
103601
- "return": {
103602
- "type": {
103603
- "text": "boolean"
103604
- }
103512
+ "kind": "field",
103513
+ "name": "negative",
103514
+ "type": {
103515
+ "text": "boolean"
103605
103516
  },
103606
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
103517
+ "privacy": "public",
103518
+ "default": "false",
103519
+ "description": "Negative coloring variant flag.",
103520
+ "attribute": "negative",
103521
+ "reflects": true,
103607
103522
  "inheritedFrom": {
103608
- "name": "SbbDisabledMixin",
103609
- "module": "core/mixins/disabled-mixin.js"
103523
+ "name": "SbbNegativeMixin",
103524
+ "module": "core/mixins/negative-mixin.js"
103610
103525
  }
103611
103526
  },
103612
103527
  {
@@ -103649,6 +103564,21 @@
103649
103564
  "module": "core/base-elements/action-base-element.js"
103650
103565
  }
103651
103566
  },
103567
+ {
103568
+ "kind": "method",
103569
+ "name": "renderTemplate",
103570
+ "privacy": "protected",
103571
+ "return": {
103572
+ "type": {
103573
+ "text": "TemplateResult"
103574
+ }
103575
+ },
103576
+ "description": "Override this method to render the component template.",
103577
+ "inheritedFrom": {
103578
+ "name": "SbbActionBaseElement",
103579
+ "module": "core/base-elements/action-base-element.js"
103580
+ }
103581
+ },
103652
103582
  {
103653
103583
  "kind": "field",
103654
103584
  "name": "_hydrationRequired",
@@ -103742,6 +103672,20 @@
103742
103672
  "module": "core/base-elements/element.js"
103743
103673
  }
103744
103674
  },
103675
+ {
103676
+ "kind": "field",
103677
+ "name": "elementName",
103678
+ "type": {
103679
+ "text": "string"
103680
+ },
103681
+ "privacy": "public",
103682
+ "static": true,
103683
+ "readonly": true,
103684
+ "inheritedFrom": {
103685
+ "name": "SbbElement",
103686
+ "module": "core/base-elements/element.js"
103687
+ }
103688
+ },
103745
103689
  {
103746
103690
  "kind": "field",
103747
103691
  "name": "_controllers",
@@ -103757,11 +103701,7 @@
103757
103701
  ],
103758
103702
  "mixins": [
103759
103703
  {
103760
- "name": "SbbBlockLinkCommonElementMixin",
103761
- "module": "link/common/block-link-common.js"
103762
- },
103763
- {
103764
- "name": "SbbDisabledMixin",
103704
+ "name": "SbbNegativeMixin",
103765
103705
  "module": "core/mixins.js"
103766
103706
  }
103767
103707
  ],
@@ -103769,59 +103709,111 @@
103769
103709
  "name": "SbbActionBaseElement",
103770
103710
  "module": "core/base-elements.js"
103771
103711
  },
103772
- "tagName": "sbb-block-link-static",
103773
- "customElement": true,
103774
103712
  "attributes": [
103775
103713
  {
103776
- "name": "icon-placement",
103714
+ "name": "negative",
103777
103715
  "type": {
103778
- "text": "SbbIconPlacement"
103716
+ "text": "boolean"
103779
103717
  },
103780
- "default": "'start'",
103781
- "description": "Moves the icon to the end of the component if set to true.",
103782
- "fieldName": "iconPlacement",
103718
+ "default": "false",
103719
+ "description": "Negative coloring variant flag.",
103720
+ "fieldName": "negative",
103783
103721
  "inheritedFrom": {
103784
- "name": "SbbBlockLinkCommonElementMixin",
103785
- "module": "link/common/block-link-common.js"
103722
+ "name": "SbbNegativeMixin",
103723
+ "module": "core/mixins/negative-mixin.js"
103786
103724
  }
103725
+ }
103726
+ ]
103727
+ },
103728
+ {
103729
+ "kind": "mixin",
103730
+ "description": "",
103731
+ "name": "SbbLinkCommonElementMixin",
103732
+ "members": [
103733
+ {
103734
+ "kind": "field",
103735
+ "name": "styles",
103736
+ "type": {
103737
+ "text": "CSSResultGroup"
103738
+ },
103739
+ "privacy": "public",
103740
+ "static": true,
103741
+ "default": "[boxSizingStyles, unsafeCSS(style)]"
103787
103742
  },
103788
103743
  {
103744
+ "kind": "field",
103789
103745
  "name": "size",
103790
103746
  "type": {
103791
103747
  "text": "SbbLinkSize"
103792
103748
  },
103749
+ "privacy": "public",
103793
103750
  "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103794
103751
  "default": "'s' / 'xs' (lean)",
103795
- "fieldName": "size",
103796
- "inheritedFrom": {
103797
- "name": "SbbLinkCommonElementMixin",
103798
- "module": "link/common/link-common.js"
103752
+ "attribute": "size",
103753
+ "reflects": true
103754
+ },
103755
+ {
103756
+ "kind": "method",
103757
+ "name": "renderTemplate",
103758
+ "privacy": "protected",
103759
+ "return": {
103760
+ "type": {
103761
+ "text": "TemplateResult"
103762
+ }
103799
103763
  }
103800
103764
  },
103801
103765
  {
103802
- "name": "icon-name",
103766
+ "kind": "field",
103767
+ "name": "negative",
103803
103768
  "type": {
103804
- "text": "string"
103769
+ "text": "boolean"
103805
103770
  },
103806
- "default": "''",
103807
- "description": "The icon name we want to use, choose from the small icon variants\nfrom the ui-icons category from here\nhttps://icons.app.sbb.ch.",
103808
- "fieldName": "iconName",
103771
+ "privacy": "public",
103772
+ "default": "false",
103773
+ "description": "Negative coloring variant flag.",
103774
+ "attribute": "negative",
103775
+ "reflects": true,
103809
103776
  "inheritedFrom": {
103810
- "name": "SbbIconNameMixin",
103811
- "module": "icon/icon-name-mixin.js"
103777
+ "name": "SbbNegativeMixin",
103778
+ "module": "core/mixins/negative-mixin.js"
103812
103779
  }
103780
+ }
103781
+ ],
103782
+ "attributes": [
103783
+ {
103784
+ "name": "size",
103785
+ "type": {
103786
+ "text": "SbbLinkSize"
103787
+ },
103788
+ "description": "Text size, the link should get in the non-button variation.\nWith inline variant, the text size adapts to where it is used.",
103789
+ "default": "'s' / 'xs' (lean)",
103790
+ "fieldName": "size"
103813
103791
  },
103814
103792
  {
103815
- "name": "disabled",
103816
- "description": "Whether the component is disabled.",
103817
- "default": "false",
103793
+ "name": "negative",
103818
103794
  "type": {
103819
103795
  "text": "boolean"
103820
103796
  },
103821
- "fieldName": "disabled",
103797
+ "default": "false",
103798
+ "description": "Negative coloring variant flag.",
103799
+ "fieldName": "negative",
103822
103800
  "inheritedFrom": {
103823
- "name": "SbbDisabledMixin",
103824
- "module": "core/mixins/disabled-mixin.js"
103801
+ "name": "SbbNegativeMixin",
103802
+ "module": "core/mixins/negative-mixin.js"
103803
+ }
103804
+ }
103805
+ ],
103806
+ "mixins": [
103807
+ {
103808
+ "name": "SbbNegativeMixin",
103809
+ "module": "core/mixins.js"
103810
+ }
103811
+ ],
103812
+ "parameters": [
103813
+ {
103814
+ "name": "superClass",
103815
+ "type": {
103816
+ "text": "T"
103825
103817
  }
103826
103818
  }
103827
103819
  ]
@@ -103830,10 +103822,18 @@
103830
103822
  "exports": [
103831
103823
  {
103832
103824
  "kind": "js",
103833
- "name": "SbbBlockLinkStaticElement",
103825
+ "name": "SbbLinkCommonElementMixinType",
103834
103826
  "declaration": {
103835
- "name": "SbbBlockLinkStaticElement",
103836
- "module": "link/block-link-static/block-link-static.component.js"
103827
+ "name": "SbbLinkCommonElementMixinType",
103828
+ "module": "link/common/link-common.js"
103829
+ }
103830
+ },
103831
+ {
103832
+ "kind": "js",
103833
+ "name": "SbbLinkCommonElementMixin",
103834
+ "declaration": {
103835
+ "name": "SbbLinkCommonElementMixin",
103836
+ "module": "link/common/link-common.js"
103837
103837
  }
103838
103838
  }
103839
103839
  ]