@sbb-esta/lyne-elements-dev 4.7.0-dev.1773236484 → 4.7.0-dev.1773242335

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.
@@ -128,6 +128,9 @@ $theme: 'standard' !default;
128
128
  @use '../../lead-container/lead-container.global' as lead-container with (
129
129
  $theme: $theme
130
130
  );
131
+ @use '../../link/common/block-link.global' as block-link with (
132
+ $theme: $theme
133
+ );
131
134
  @use '../../option/option/option.global' as option with (
132
135
  $theme: $theme
133
136
  );
@@ -206,6 +209,7 @@ $theme: 'standard' !default;
206
209
  @include header-common.base;
207
210
  @include header-environment.base;
208
211
  @include icon-sidebar.base;
212
+ @include block-link.base;
209
213
  @include lead-container.base;
210
214
  @include option.base;
211
215
  @include option-hint.base;
package/core.css CHANGED
@@ -1522,6 +1522,9 @@
1522
1522
  --sbb-header-environment-rotate: 45deg;
1523
1523
  --sbb-icon-sidebar-background-color: var(--sbb-background-color-1);
1524
1524
  --sbb-icon-sidebar-border-radius: var(--sbb-border-radius-8x);
1525
+ --sbb-block-link-gap: var(--sbb-spacing-fixed-1x);
1526
+ --sbb-block-link-icon-size: var(--sbb-size-icon-ui-small);
1527
+ --sbb-block-link-font-size: var(--sbb-text-font-size-s);
1525
1528
  --sbb-lead-container-background-color: var(--sbb-background-color-1);
1526
1529
  --sbb-lead-container-image-ratio: 2 / 1;
1527
1530
  --sbb-lead-container-image-overlap: var(--sbb-spacing-fixed-24x);
@@ -16487,6 +16487,66 @@
16487
16487
  }
16488
16488
  ]
16489
16489
  },
16490
+ {
16491
+ "kind": "javascript-module",
16492
+ "path": "menu/common.js",
16493
+ "declarations": [],
16494
+ "exports": [
16495
+ {
16496
+ "kind": "js",
16497
+ "name": "*",
16498
+ "declaration": {
16499
+ "name": "*",
16500
+ "module": "menu/common/menu-action-common.js"
16501
+ }
16502
+ }
16503
+ ]
16504
+ },
16505
+ {
16506
+ "kind": "javascript-module",
16507
+ "path": "menu/menu-button.js",
16508
+ "declarations": [],
16509
+ "exports": [
16510
+ {
16511
+ "kind": "js",
16512
+ "name": "*",
16513
+ "declaration": {
16514
+ "name": "*",
16515
+ "module": "menu/menu-button/menu-button.component.js"
16516
+ }
16517
+ }
16518
+ ]
16519
+ },
16520
+ {
16521
+ "kind": "javascript-module",
16522
+ "path": "menu/menu-link.js",
16523
+ "declarations": [],
16524
+ "exports": [
16525
+ {
16526
+ "kind": "js",
16527
+ "name": "*",
16528
+ "declaration": {
16529
+ "name": "*",
16530
+ "module": "menu/menu-link/menu-link.component.js"
16531
+ }
16532
+ }
16533
+ ]
16534
+ },
16535
+ {
16536
+ "kind": "javascript-module",
16537
+ "path": "menu/menu.js",
16538
+ "declarations": [],
16539
+ "exports": [
16540
+ {
16541
+ "kind": "js",
16542
+ "name": "*",
16543
+ "declaration": {
16544
+ "name": "*",
16545
+ "module": "menu/menu/menu.component.js"
16546
+ }
16547
+ }
16548
+ ]
16549
+ },
16490
16550
  {
16491
16551
  "kind": "javascript-module",
16492
16552
  "path": "message/message.component.js",
@@ -16676,66 +16736,6 @@
16676
16736
  }
16677
16737
  ]
16678
16738
  },
16679
- {
16680
- "kind": "javascript-module",
16681
- "path": "menu/common.js",
16682
- "declarations": [],
16683
- "exports": [
16684
- {
16685
- "kind": "js",
16686
- "name": "*",
16687
- "declaration": {
16688
- "name": "*",
16689
- "module": "menu/common/menu-action-common.js"
16690
- }
16691
- }
16692
- ]
16693
- },
16694
- {
16695
- "kind": "javascript-module",
16696
- "path": "menu/menu-button.js",
16697
- "declarations": [],
16698
- "exports": [
16699
- {
16700
- "kind": "js",
16701
- "name": "*",
16702
- "declaration": {
16703
- "name": "*",
16704
- "module": "menu/menu-button/menu-button.component.js"
16705
- }
16706
- }
16707
- ]
16708
- },
16709
- {
16710
- "kind": "javascript-module",
16711
- "path": "menu/menu-link.js",
16712
- "declarations": [],
16713
- "exports": [
16714
- {
16715
- "kind": "js",
16716
- "name": "*",
16717
- "declaration": {
16718
- "name": "*",
16719
- "module": "menu/menu-link/menu-link.component.js"
16720
- }
16721
- }
16722
- ]
16723
- },
16724
- {
16725
- "kind": "javascript-module",
16726
- "path": "menu/menu.js",
16727
- "declarations": [],
16728
- "exports": [
16729
- {
16730
- "kind": "js",
16731
- "name": "*",
16732
- "declaration": {
16733
- "name": "*",
16734
- "module": "menu/menu/menu.component.js"
16735
- }
16736
- }
16737
- ]
16738
- },
16739
16739
  {
16740
16740
  "kind": "javascript-module",
16741
16741
  "path": "mini-calendar/mini-calendar-day.js",
@@ -31858,36 +31858,6 @@
31858
31858
  }
31859
31859
  ]
31860
31860
  },
31861
- {
31862
- "kind": "javascript-module",
31863
- "path": "toggle/toggle-option.js",
31864
- "declarations": [],
31865
- "exports": [
31866
- {
31867
- "kind": "js",
31868
- "name": "*",
31869
- "declaration": {
31870
- "name": "*",
31871
- "module": "toggle/toggle-option/toggle-option.component.js"
31872
- }
31873
- }
31874
- ]
31875
- },
31876
- {
31877
- "kind": "javascript-module",
31878
- "path": "toggle/toggle.js",
31879
- "declarations": [],
31880
- "exports": [
31881
- {
31882
- "kind": "js",
31883
- "name": "*",
31884
- "declaration": {
31885
- "name": "*",
31886
- "module": "toggle/toggle/toggle.component.js"
31887
- }
31888
- }
31889
- ]
31890
- },
31891
31861
  {
31892
31862
  "kind": "javascript-module",
31893
31863
  "path": "toast/toast.component.js",
@@ -32589,6 +32559,36 @@
32589
32559
  }
32590
32560
  ]
32591
32561
  },
32562
+ {
32563
+ "kind": "javascript-module",
32564
+ "path": "toggle/toggle-option.js",
32565
+ "declarations": [],
32566
+ "exports": [
32567
+ {
32568
+ "kind": "js",
32569
+ "name": "*",
32570
+ "declaration": {
32571
+ "name": "*",
32572
+ "module": "toggle/toggle-option/toggle-option.component.js"
32573
+ }
32574
+ }
32575
+ ]
32576
+ },
32577
+ {
32578
+ "kind": "javascript-module",
32579
+ "path": "toggle/toggle.js",
32580
+ "declarations": [],
32581
+ "exports": [
32582
+ {
32583
+ "kind": "js",
32584
+ "name": "*",
32585
+ "declaration": {
32586
+ "name": "*",
32587
+ "module": "toggle/toggle/toggle.component.js"
32588
+ }
32589
+ }
32590
+ ]
32591
+ },
32592
32592
  {
32593
32593
  "kind": "javascript-module",
32594
32594
  "path": "toggle-check/toggle-check.component.js",
@@ -37571,12 +37571,12 @@
37571
37571
  },
37572
37572
  {
37573
37573
  "kind": "javascript-module",
37574
- "path": "button/accent-button-link/accent-button-link.component.js",
37574
+ "path": "button/accent-button-static/accent-button-static.component.js",
37575
37575
  "declarations": [
37576
37576
  {
37577
37577
  "kind": "class",
37578
- "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
37579
- "name": "SbbAccentButtonLinkElement",
37578
+ "description": "It displays a static button enhanced with the SBB Design in the 'accent' variant.",
37579
+ "name": "SbbAccentButtonStaticElement",
37580
37580
  "cssProperties": [
37581
37581
  {
37582
37582
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -37586,7 +37586,7 @@
37586
37586
  ],
37587
37587
  "slots": [
37588
37588
  {
37589
- "description": "Use the unnamed slot to add content to the accent-button-link.",
37589
+ "description": "Use the unnamed slot to add content to the accent-button-static.",
37590
37590
  "name": ""
37591
37591
  },
37592
37592
  {
@@ -37604,7 +37604,7 @@
37604
37604
  "privacy": "public",
37605
37605
  "static": true,
37606
37606
  "readonly": true,
37607
- "default": "'sbb-accent-button-link'",
37607
+ "default": "'sbb-accent-button-static'",
37608
37608
  "inheritedFrom": {
37609
37609
  "name": "SbbElement",
37610
37610
  "module": "core/base-elements/element.js"
@@ -37739,22 +37739,6 @@
37739
37739
  "module": "icon/icon-name-mixin.js"
37740
37740
  }
37741
37741
  },
37742
- {
37743
- "kind": "field",
37744
- "name": "disabledInteractive",
37745
- "type": {
37746
- "text": "boolean"
37747
- },
37748
- "privacy": "public",
37749
- "default": "false",
37750
- "description": "Whether the button should be aria-disabled but stay interactive.",
37751
- "attribute": "disabled-interactive",
37752
- "reflects": true,
37753
- "inheritedFrom": {
37754
- "name": "SbbDisabledInteractiveMixin",
37755
- "module": "core/mixins/disabled-mixin.js"
37756
- }
37757
- },
37758
37742
  {
37759
37743
  "kind": "field",
37760
37744
  "name": "disabled",
@@ -37801,191 +37785,42 @@
37801
37785
  },
37802
37786
  {
37803
37787
  "kind": "field",
37804
- "name": "href",
37788
+ "name": "maybeDisabled",
37805
37789
  "type": {
37806
- "text": "string"
37790
+ "text": "boolean | undefined"
37807
37791
  },
37808
- "privacy": "public",
37809
- "default": "''",
37810
- "description": "The href value you want to link to.",
37811
- "attribute": "href",
37812
- "reflects": true,
37792
+ "privacy": "protected",
37793
+ "readonly": true,
37813
37794
  "inheritedFrom": {
37814
- "name": "SbbLinkBaseElement",
37815
- "module": "core/base-elements/link-base-element.js"
37795
+ "name": "SbbActionBaseElement",
37796
+ "module": "core/base-elements/action-base-element.js"
37816
37797
  }
37817
37798
  },
37818
37799
  {
37819
37800
  "kind": "field",
37820
- "name": "target",
37801
+ "name": "maybeDisabledInteractive",
37821
37802
  "type": {
37822
- "text": "LinkTargetType | string"
37803
+ "text": "boolean | undefined"
37823
37804
  },
37824
- "privacy": "public",
37825
- "default": "''",
37826
- "description": "Where to display the linked URL.",
37827
- "attribute": "target",
37828
- "reflects": true,
37805
+ "privacy": "protected",
37806
+ "readonly": true,
37829
37807
  "inheritedFrom": {
37830
- "name": "SbbLinkBaseElement",
37831
- "module": "core/base-elements/link-base-element.js"
37808
+ "name": "SbbActionBaseElement",
37809
+ "module": "core/base-elements/action-base-element.js"
37832
37810
  }
37833
37811
  },
37834
37812
  {
37835
- "kind": "field",
37836
- "name": "rel",
37837
- "type": {
37838
- "text": "string"
37813
+ "kind": "method",
37814
+ "name": "setupBaseEventHandlers",
37815
+ "privacy": "protected",
37816
+ "return": {
37817
+ "type": {
37818
+ "text": "void"
37819
+ }
37839
37820
  },
37840
- "privacy": "public",
37841
- "default": "''",
37842
- "description": "The relationship of the linked URL as space-separated link types.",
37843
- "attribute": "rel",
37844
- "reflects": true,
37845
37821
  "inheritedFrom": {
37846
- "name": "SbbLinkBaseElement",
37847
- "module": "core/base-elements/link-base-element.js"
37848
- }
37849
- },
37850
- {
37851
- "kind": "field",
37852
- "name": "download",
37853
- "type": {
37854
- "text": "boolean"
37855
- },
37856
- "privacy": "public",
37857
- "default": "false",
37858
- "description": "Whether the browser will show the download dialog on click.",
37859
- "attribute": "download",
37860
- "reflects": true,
37861
- "inheritedFrom": {
37862
- "name": "SbbLinkBaseElement",
37863
- "module": "core/base-elements/link-base-element.js"
37864
- }
37865
- },
37866
- {
37867
- "kind": "field",
37868
- "name": "accessibilityLabel",
37869
- "type": {
37870
- "text": "string"
37871
- },
37872
- "privacy": "public",
37873
- "default": "''",
37874
- "description": "This will be forwarded as aria-label to the inner anchor element.",
37875
- "attribute": "accessibility-label",
37876
- "inheritedFrom": {
37877
- "name": "SbbLinkBaseElement",
37878
- "module": "core/base-elements/link-base-element.js"
37879
- }
37880
- },
37881
- {
37882
- "kind": "field",
37883
- "name": "accessibilityCurrent",
37884
- "type": {
37885
- "text": "string"
37886
- },
37887
- "privacy": "public",
37888
- "default": "''",
37889
- "description": "This will be forwarded as aria-current to the inner anchor element.",
37890
- "attribute": "accessibility-current",
37891
- "inheritedFrom": {
37892
- "name": "SbbLinkBaseElement",
37893
- "module": "core/base-elements/link-base-element.js"
37894
- }
37895
- },
37896
- {
37897
- "kind": "field",
37898
- "name": "language",
37899
- "privacy": "protected",
37900
- "default": "new SbbLanguageController(this)",
37901
- "inheritedFrom": {
37902
- "name": "SbbLinkBaseElement",
37903
- "module": "core/base-elements/link-base-element.js"
37904
- }
37905
- },
37906
- {
37907
- "kind": "field",
37908
- "name": "anchorRole",
37909
- "type": {
37910
- "text": "string | null"
37911
- },
37912
- "privacy": "protected",
37913
- "readonly": true,
37914
- "default": "null",
37915
- "inheritedFrom": {
37916
- "name": "SbbLinkBaseElement",
37917
- "module": "core/base-elements/link-base-element.js"
37918
- }
37919
- },
37920
- {
37921
- "kind": "field",
37922
- "name": "_evaluateRelAttribute",
37923
- "privacy": "private",
37924
- "inheritedFrom": {
37925
- "name": "SbbLinkBaseElement",
37926
- "module": "core/base-elements/link-base-element.js"
37927
- }
37928
- },
37929
- {
37930
- "kind": "method",
37931
- "name": "renderLink",
37932
- "privacy": "protected",
37933
- "return": {
37934
- "type": {
37935
- "text": "TemplateResult"
37936
- }
37937
- },
37938
- "parameters": [
37939
- {
37940
- "name": "renderContent",
37941
- "type": {
37942
- "text": "TemplateResult"
37943
- }
37944
- }
37945
- ],
37946
- "inheritedFrom": {
37947
- "name": "SbbLinkBaseElement",
37948
- "module": "core/base-elements/link-base-element.js"
37949
- }
37950
- },
37951
- {
37952
- "kind": "field",
37953
- "name": "maybeDisabled",
37954
- "type": {
37955
- "text": "boolean | undefined"
37956
- },
37957
- "privacy": "protected",
37958
- "readonly": true,
37959
- "inheritedFrom": {
37960
- "name": "SbbActionBaseElement",
37961
- "module": "core/base-elements/action-base-element.js"
37962
- }
37963
- },
37964
- {
37965
- "kind": "field",
37966
- "name": "maybeDisabledInteractive",
37967
- "type": {
37968
- "text": "boolean | undefined"
37969
- },
37970
- "privacy": "protected",
37971
- "readonly": true,
37972
- "inheritedFrom": {
37973
- "name": "SbbActionBaseElement",
37974
- "module": "core/base-elements/action-base-element.js"
37975
- }
37976
- },
37977
- {
37978
- "kind": "method",
37979
- "name": "setupBaseEventHandlers",
37980
- "privacy": "protected",
37981
- "return": {
37982
- "type": {
37983
- "text": "void"
37984
- }
37985
- },
37986
- "inheritedFrom": {
37987
- "name": "SbbActionBaseElement",
37988
- "module": "core/base-elements/action-base-element.js"
37822
+ "name": "SbbActionBaseElement",
37823
+ "module": "core/base-elements/action-base-element.js"
37989
37824
  }
37990
37825
  },
37991
37826
  {
@@ -38099,20 +37934,16 @@
38099
37934
  "name": "SbbButtonCommonElementMixin",
38100
37935
  "module": "button/common.js"
38101
37936
  },
38102
- {
38103
- "name": "SbbDisabledInteractiveMixin",
38104
- "module": "core/mixins.js"
38105
- },
38106
37937
  {
38107
37938
  "name": "SbbDisabledMixin",
38108
37939
  "module": "core/mixins.js"
38109
37940
  }
38110
37941
  ],
38111
37942
  "superclass": {
38112
- "name": "SbbLinkBaseElement",
37943
+ "name": "SbbActionBaseElement",
38113
37944
  "module": "core/base-elements.js"
38114
37945
  },
38115
- "tagName": "sbb-accent-button-link",
37946
+ "tagName": "sbb-accent-button-static",
38116
37947
  "customElement": true,
38117
37948
  "attributes": [
38118
37949
  {
@@ -38167,19 +37998,6 @@
38167
37998
  "module": "icon/icon-name-mixin.js"
38168
37999
  }
38169
38000
  },
38170
- {
38171
- "name": "disabled-interactive",
38172
- "type": {
38173
- "text": "boolean"
38174
- },
38175
- "default": "false",
38176
- "description": "Whether the button should be aria-disabled but stay interactive.",
38177
- "fieldName": "disabledInteractive",
38178
- "inheritedFrom": {
38179
- "name": "SbbDisabledInteractiveMixin",
38180
- "module": "core/mixins/disabled-mixin.js"
38181
- }
38182
- },
38183
38001
  {
38184
38002
  "name": "disabled",
38185
38003
  "description": "Whether the component is disabled.",
@@ -38192,84 +38010,6 @@
38192
38010
  "name": "SbbDisabledMixin",
38193
38011
  "module": "core/mixins/disabled-mixin.js"
38194
38012
  }
38195
- },
38196
- {
38197
- "name": "href",
38198
- "type": {
38199
- "text": "string"
38200
- },
38201
- "default": "''",
38202
- "description": "The href value you want to link to.",
38203
- "fieldName": "href",
38204
- "inheritedFrom": {
38205
- "name": "SbbLinkBaseElement",
38206
- "module": "core/base-elements/link-base-element.js"
38207
- }
38208
- },
38209
- {
38210
- "name": "target",
38211
- "type": {
38212
- "text": "LinkTargetType | string"
38213
- },
38214
- "default": "''",
38215
- "description": "Where to display the linked URL.",
38216
- "fieldName": "target",
38217
- "inheritedFrom": {
38218
- "name": "SbbLinkBaseElement",
38219
- "module": "core/base-elements/link-base-element.js"
38220
- }
38221
- },
38222
- {
38223
- "name": "rel",
38224
- "type": {
38225
- "text": "string"
38226
- },
38227
- "default": "''",
38228
- "description": "The relationship of the linked URL as space-separated link types.",
38229
- "fieldName": "rel",
38230
- "inheritedFrom": {
38231
- "name": "SbbLinkBaseElement",
38232
- "module": "core/base-elements/link-base-element.js"
38233
- }
38234
- },
38235
- {
38236
- "name": "download",
38237
- "type": {
38238
- "text": "boolean"
38239
- },
38240
- "default": "false",
38241
- "description": "Whether the browser will show the download dialog on click.",
38242
- "fieldName": "download",
38243
- "inheritedFrom": {
38244
- "name": "SbbLinkBaseElement",
38245
- "module": "core/base-elements/link-base-element.js"
38246
- }
38247
- },
38248
- {
38249
- "name": "accessibility-label",
38250
- "type": {
38251
- "text": "string"
38252
- },
38253
- "default": "''",
38254
- "description": "This will be forwarded as aria-label to the inner anchor element.",
38255
- "fieldName": "accessibilityLabel",
38256
- "inheritedFrom": {
38257
- "name": "SbbLinkBaseElement",
38258
- "module": "core/base-elements/link-base-element.js"
38259
- }
38260
- },
38261
- {
38262
- "name": "accessibility-current",
38263
- "type": {
38264
- "text": "string"
38265
- },
38266
- "default": "''",
38267
- "description": "This will be forwarded as aria-current to the inner anchor element.",
38268
- "fieldName": "accessibilityCurrent",
38269
- "inheritedFrom": {
38270
- "name": "SbbLinkBaseElement",
38271
- "module": "core/base-elements/link-base-element.js"
38272
- }
38273
38013
  }
38274
38014
  ]
38275
38015
  }
@@ -38277,22 +38017,22 @@
38277
38017
  "exports": [
38278
38018
  {
38279
38019
  "kind": "js",
38280
- "name": "SbbAccentButtonLinkElement",
38020
+ "name": "SbbAccentButtonStaticElement",
38281
38021
  "declaration": {
38282
- "name": "SbbAccentButtonLinkElement",
38283
- "module": "button/accent-button-link/accent-button-link.component.js"
38022
+ "name": "SbbAccentButtonStaticElement",
38023
+ "module": "button/accent-button-static/accent-button-static.component.js"
38284
38024
  }
38285
38025
  }
38286
38026
  ]
38287
38027
  },
38288
38028
  {
38289
38029
  "kind": "javascript-module",
38290
- "path": "button/accent-button-static/accent-button-static.component.js",
38030
+ "path": "button/accent-button-link/accent-button-link.component.js",
38291
38031
  "declarations": [
38292
38032
  {
38293
38033
  "kind": "class",
38294
- "description": "It displays a static button enhanced with the SBB Design in the 'accent' variant.",
38295
- "name": "SbbAccentButtonStaticElement",
38034
+ "description": "It displays a button enhanced with the SBB Design in the 'accent' variant, which will behave as a link.",
38035
+ "name": "SbbAccentButtonLinkElement",
38296
38036
  "cssProperties": [
38297
38037
  {
38298
38038
  "description": "The delay before the loading animation starts, when setting the button into loading state.",
@@ -38302,7 +38042,7 @@
38302
38042
  ],
38303
38043
  "slots": [
38304
38044
  {
38305
- "description": "Use the unnamed slot to add content to the accent-button-static.",
38045
+ "description": "Use the unnamed slot to add content to the accent-button-link.",
38306
38046
  "name": ""
38307
38047
  },
38308
38048
  {
@@ -38320,7 +38060,7 @@
38320
38060
  "privacy": "public",
38321
38061
  "static": true,
38322
38062
  "readonly": true,
38323
- "default": "'sbb-accent-button-static'",
38063
+ "default": "'sbb-accent-button-link'",
38324
38064
  "inheritedFrom": {
38325
38065
  "name": "SbbElement",
38326
38066
  "module": "core/base-elements/element.js"
@@ -38455,6 +38195,22 @@
38455
38195
  "module": "icon/icon-name-mixin.js"
38456
38196
  }
38457
38197
  },
38198
+ {
38199
+ "kind": "field",
38200
+ "name": "disabledInteractive",
38201
+ "type": {
38202
+ "text": "boolean"
38203
+ },
38204
+ "privacy": "public",
38205
+ "default": "false",
38206
+ "description": "Whether the button should be aria-disabled but stay interactive.",
38207
+ "attribute": "disabled-interactive",
38208
+ "reflects": true,
38209
+ "inheritedFrom": {
38210
+ "name": "SbbDisabledInteractiveMixin",
38211
+ "module": "core/mixins/disabled-mixin.js"
38212
+ }
38213
+ },
38458
38214
  {
38459
38215
  "kind": "field",
38460
38216
  "name": "disabled",
@@ -38499,6 +38255,155 @@
38499
38255
  "module": "core/mixins/disabled-mixin.js"
38500
38256
  }
38501
38257
  },
38258
+ {
38259
+ "kind": "field",
38260
+ "name": "href",
38261
+ "type": {
38262
+ "text": "string"
38263
+ },
38264
+ "privacy": "public",
38265
+ "default": "''",
38266
+ "description": "The href value you want to link to.",
38267
+ "attribute": "href",
38268
+ "reflects": true,
38269
+ "inheritedFrom": {
38270
+ "name": "SbbLinkBaseElement",
38271
+ "module": "core/base-elements/link-base-element.js"
38272
+ }
38273
+ },
38274
+ {
38275
+ "kind": "field",
38276
+ "name": "target",
38277
+ "type": {
38278
+ "text": "LinkTargetType | string"
38279
+ },
38280
+ "privacy": "public",
38281
+ "default": "''",
38282
+ "description": "Where to display the linked URL.",
38283
+ "attribute": "target",
38284
+ "reflects": true,
38285
+ "inheritedFrom": {
38286
+ "name": "SbbLinkBaseElement",
38287
+ "module": "core/base-elements/link-base-element.js"
38288
+ }
38289
+ },
38290
+ {
38291
+ "kind": "field",
38292
+ "name": "rel",
38293
+ "type": {
38294
+ "text": "string"
38295
+ },
38296
+ "privacy": "public",
38297
+ "default": "''",
38298
+ "description": "The relationship of the linked URL as space-separated link types.",
38299
+ "attribute": "rel",
38300
+ "reflects": true,
38301
+ "inheritedFrom": {
38302
+ "name": "SbbLinkBaseElement",
38303
+ "module": "core/base-elements/link-base-element.js"
38304
+ }
38305
+ },
38306
+ {
38307
+ "kind": "field",
38308
+ "name": "download",
38309
+ "type": {
38310
+ "text": "boolean"
38311
+ },
38312
+ "privacy": "public",
38313
+ "default": "false",
38314
+ "description": "Whether the browser will show the download dialog on click.",
38315
+ "attribute": "download",
38316
+ "reflects": true,
38317
+ "inheritedFrom": {
38318
+ "name": "SbbLinkBaseElement",
38319
+ "module": "core/base-elements/link-base-element.js"
38320
+ }
38321
+ },
38322
+ {
38323
+ "kind": "field",
38324
+ "name": "accessibilityLabel",
38325
+ "type": {
38326
+ "text": "string"
38327
+ },
38328
+ "privacy": "public",
38329
+ "default": "''",
38330
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38331
+ "attribute": "accessibility-label",
38332
+ "inheritedFrom": {
38333
+ "name": "SbbLinkBaseElement",
38334
+ "module": "core/base-elements/link-base-element.js"
38335
+ }
38336
+ },
38337
+ {
38338
+ "kind": "field",
38339
+ "name": "accessibilityCurrent",
38340
+ "type": {
38341
+ "text": "string"
38342
+ },
38343
+ "privacy": "public",
38344
+ "default": "''",
38345
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38346
+ "attribute": "accessibility-current",
38347
+ "inheritedFrom": {
38348
+ "name": "SbbLinkBaseElement",
38349
+ "module": "core/base-elements/link-base-element.js"
38350
+ }
38351
+ },
38352
+ {
38353
+ "kind": "field",
38354
+ "name": "language",
38355
+ "privacy": "protected",
38356
+ "default": "new SbbLanguageController(this)",
38357
+ "inheritedFrom": {
38358
+ "name": "SbbLinkBaseElement",
38359
+ "module": "core/base-elements/link-base-element.js"
38360
+ }
38361
+ },
38362
+ {
38363
+ "kind": "field",
38364
+ "name": "anchorRole",
38365
+ "type": {
38366
+ "text": "string | null"
38367
+ },
38368
+ "privacy": "protected",
38369
+ "readonly": true,
38370
+ "default": "null",
38371
+ "inheritedFrom": {
38372
+ "name": "SbbLinkBaseElement",
38373
+ "module": "core/base-elements/link-base-element.js"
38374
+ }
38375
+ },
38376
+ {
38377
+ "kind": "field",
38378
+ "name": "_evaluateRelAttribute",
38379
+ "privacy": "private",
38380
+ "inheritedFrom": {
38381
+ "name": "SbbLinkBaseElement",
38382
+ "module": "core/base-elements/link-base-element.js"
38383
+ }
38384
+ },
38385
+ {
38386
+ "kind": "method",
38387
+ "name": "renderLink",
38388
+ "privacy": "protected",
38389
+ "return": {
38390
+ "type": {
38391
+ "text": "TemplateResult"
38392
+ }
38393
+ },
38394
+ "parameters": [
38395
+ {
38396
+ "name": "renderContent",
38397
+ "type": {
38398
+ "text": "TemplateResult"
38399
+ }
38400
+ }
38401
+ ],
38402
+ "inheritedFrom": {
38403
+ "name": "SbbLinkBaseElement",
38404
+ "module": "core/base-elements/link-base-element.js"
38405
+ }
38406
+ },
38502
38407
  {
38503
38408
  "kind": "field",
38504
38409
  "name": "maybeDisabled",
@@ -38650,16 +38555,20 @@
38650
38555
  "name": "SbbButtonCommonElementMixin",
38651
38556
  "module": "button/common.js"
38652
38557
  },
38558
+ {
38559
+ "name": "SbbDisabledInteractiveMixin",
38560
+ "module": "core/mixins.js"
38561
+ },
38653
38562
  {
38654
38563
  "name": "SbbDisabledMixin",
38655
38564
  "module": "core/mixins.js"
38656
38565
  }
38657
38566
  ],
38658
38567
  "superclass": {
38659
- "name": "SbbActionBaseElement",
38568
+ "name": "SbbLinkBaseElement",
38660
38569
  "module": "core/base-elements.js"
38661
38570
  },
38662
- "tagName": "sbb-accent-button-static",
38571
+ "tagName": "sbb-accent-button-link",
38663
38572
  "customElement": true,
38664
38573
  "attributes": [
38665
38574
  {
@@ -38714,6 +38623,19 @@
38714
38623
  "module": "icon/icon-name-mixin.js"
38715
38624
  }
38716
38625
  },
38626
+ {
38627
+ "name": "disabled-interactive",
38628
+ "type": {
38629
+ "text": "boolean"
38630
+ },
38631
+ "default": "false",
38632
+ "description": "Whether the button should be aria-disabled but stay interactive.",
38633
+ "fieldName": "disabledInteractive",
38634
+ "inheritedFrom": {
38635
+ "name": "SbbDisabledInteractiveMixin",
38636
+ "module": "core/mixins/disabled-mixin.js"
38637
+ }
38638
+ },
38717
38639
  {
38718
38640
  "name": "disabled",
38719
38641
  "description": "Whether the component is disabled.",
@@ -38726,6 +38648,84 @@
38726
38648
  "name": "SbbDisabledMixin",
38727
38649
  "module": "core/mixins/disabled-mixin.js"
38728
38650
  }
38651
+ },
38652
+ {
38653
+ "name": "href",
38654
+ "type": {
38655
+ "text": "string"
38656
+ },
38657
+ "default": "''",
38658
+ "description": "The href value you want to link to.",
38659
+ "fieldName": "href",
38660
+ "inheritedFrom": {
38661
+ "name": "SbbLinkBaseElement",
38662
+ "module": "core/base-elements/link-base-element.js"
38663
+ }
38664
+ },
38665
+ {
38666
+ "name": "target",
38667
+ "type": {
38668
+ "text": "LinkTargetType | string"
38669
+ },
38670
+ "default": "''",
38671
+ "description": "Where to display the linked URL.",
38672
+ "fieldName": "target",
38673
+ "inheritedFrom": {
38674
+ "name": "SbbLinkBaseElement",
38675
+ "module": "core/base-elements/link-base-element.js"
38676
+ }
38677
+ },
38678
+ {
38679
+ "name": "rel",
38680
+ "type": {
38681
+ "text": "string"
38682
+ },
38683
+ "default": "''",
38684
+ "description": "The relationship of the linked URL as space-separated link types.",
38685
+ "fieldName": "rel",
38686
+ "inheritedFrom": {
38687
+ "name": "SbbLinkBaseElement",
38688
+ "module": "core/base-elements/link-base-element.js"
38689
+ }
38690
+ },
38691
+ {
38692
+ "name": "download",
38693
+ "type": {
38694
+ "text": "boolean"
38695
+ },
38696
+ "default": "false",
38697
+ "description": "Whether the browser will show the download dialog on click.",
38698
+ "fieldName": "download",
38699
+ "inheritedFrom": {
38700
+ "name": "SbbLinkBaseElement",
38701
+ "module": "core/base-elements/link-base-element.js"
38702
+ }
38703
+ },
38704
+ {
38705
+ "name": "accessibility-label",
38706
+ "type": {
38707
+ "text": "string"
38708
+ },
38709
+ "default": "''",
38710
+ "description": "This will be forwarded as aria-label to the inner anchor element.",
38711
+ "fieldName": "accessibilityLabel",
38712
+ "inheritedFrom": {
38713
+ "name": "SbbLinkBaseElement",
38714
+ "module": "core/base-elements/link-base-element.js"
38715
+ }
38716
+ },
38717
+ {
38718
+ "name": "accessibility-current",
38719
+ "type": {
38720
+ "text": "string"
38721
+ },
38722
+ "default": "''",
38723
+ "description": "This will be forwarded as aria-current to the inner anchor element.",
38724
+ "fieldName": "accessibilityCurrent",
38725
+ "inheritedFrom": {
38726
+ "name": "SbbLinkBaseElement",
38727
+ "module": "core/base-elements/link-base-element.js"
38728
+ }
38729
38729
  }
38730
38730
  ]
38731
38731
  }
@@ -38733,10 +38733,10 @@
38733
38733
  "exports": [
38734
38734
  {
38735
38735
  "kind": "js",
38736
- "name": "SbbAccentButtonStaticElement",
38736
+ "name": "SbbAccentButtonLinkElement",
38737
38737
  "declaration": {
38738
- "name": "SbbAccentButtonStaticElement",
38739
- "module": "button/accent-button-static/accent-button-static.component.js"
38738
+ "name": "SbbAccentButtonLinkElement",
38739
+ "module": "button/accent-button-link/accent-button-link.component.js"
38740
38740
  }
38741
38741
  }
38742
38742
  ]
@@ -23,7 +23,6 @@ const blockStyle = css`:host {
23
23
  --sbb-link-color-hover: light-dark(var(--sbb-color-primary125), var(--sbb-color-cloud));
24
24
  --sbb-link-color-active: var(--sbb-color-primary150);
25
25
  --sbb-link-color-active: light-dark(var(--sbb-color-primary150), var(--sbb-color-silver));
26
- --sbb-link-gap: var(--sbb-spacing-fixed-1x);
27
26
  display: block;
28
27
  }
29
28
 
@@ -45,38 +44,28 @@ const blockStyle = css`:host {
45
44
  --sbb-link-text-decoration-line: underline;
46
45
  }
47
46
 
48
- .sbb-action-base {
49
- gap: var(--sbb-link-gap);
47
+ :host([size=xs]) {
48
+ --sbb-block-link-font-size: var(--sbb-text-font-size-xs);
50
49
  }
51
- :host([size=xs]) .sbb-action-base {
52
- --sbb-text-font-size: var(--sbb-text-font-size-xs);
53
- font-family: var(--sbb-typo-font-family);
54
- font-weight: normal;
55
- line-height: var(--sbb-typo-line-height-text);
56
- letter-spacing: var(--sbb-typo-letter-spacing-text);
57
- font-size: var(--sbb-text-font-size);
50
+
51
+ :host([size=s]) {
52
+ --sbb-block-link-font-size: var(--sbb-text-font-size-s);
58
53
  }
59
- :host([size=s]) .sbb-action-base {
60
- --sbb-text-font-size: var(--sbb-text-font-size-s);
61
- font-family: var(--sbb-typo-font-family);
62
- font-weight: normal;
63
- line-height: var(--sbb-typo-line-height-text);
64
- letter-spacing: var(--sbb-typo-letter-spacing-text);
65
- font-size: var(--sbb-text-font-size);
54
+
55
+ :host([size=m]) {
56
+ --sbb-block-link-font-size: var(--sbb-text-font-size-m);
66
57
  }
67
- :host([size=m]) .sbb-action-base {
68
- --sbb-text-font-size: var(--sbb-text-font-size-m);
69
- font-family: var(--sbb-typo-font-family);
70
- font-weight: normal;
71
- line-height: var(--sbb-typo-line-height-text);
58
+
59
+ .sbb-action-base {
60
+ gap: var(--sbb-block-link-gap);
72
61
  letter-spacing: var(--sbb-typo-letter-spacing-text);
73
- font-size: var(--sbb-text-font-size);
62
+ font-size: var(--sbb-block-link-font-size);
74
63
  }
75
64
 
76
65
  .sbb-link__icon {
77
66
  position: relative;
78
67
  height: calc(var(--sbb-typo-line-height-text) * 1em);
79
- width: var(--sbb-size-icon-ui-small);
68
+ width: var(--sbb-block-link-icon-size);
80
69
  flex: 0 0 auto;
81
70
  align-self: start;
82
71
  }
@@ -132,4 +121,4 @@ const SbbBlockLinkCommonElementMixin = (superClass) => {
132
121
  export {
133
122
  SbbBlockLinkCommonElementMixin
134
123
  };
135
- //# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiYmxvY2stbGluay1jb21tb24uanMiLCJzb3VyY2VzIjpbIi4uLy4uLy4uLy4uLy4uL3NyYy9lbGVtZW50cy9saW5rL2NvbW1vbi9ibG9jay1saW5rLWNvbW1vbi50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgdHlwZSB7IENTU1Jlc3VsdEdyb3VwLCBUZW1wbGF0ZVJlc3VsdCB9IGZyb20gJ2xpdCc7XG5pbXBvcnQgeyBwcm9wZXJ0eSB9IGZyb20gJ2xpdC9kZWNvcmF0b3JzLmpzJztcbmltcG9ydCB7IGh0bWwgfSBmcm9tICdsaXQvc3RhdGljLWh0bWwuanMnO1xuXG5pbXBvcnQgdHlwZSB7IFNiYkFjdGlvbkJhc2VFbGVtZW50IH0gZnJvbSAnLi4vLi4vY29yZS9iYXNlLWVsZW1lbnRzLnRzJztcbmltcG9ydCB0eXBlIHsgU2JiSWNvblBsYWNlbWVudCB9IGZyb20gJy4uLy4uL2NvcmUvaW50ZXJmYWNlcy50cyc7XG5pbXBvcnQgdHlwZSB7IEFic3RyYWN0Q29uc3RydWN0b3IgfSBmcm9tICcuLi8uLi9jb3JlL21peGlucy50cyc7XG5pbXBvcnQgeyBib3hTaXppbmdTdHlsZXMgfSBmcm9tICcuLi8uLi9jb3JlL3N0eWxlcy50cyc7XG5pbXBvcnQge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FEO0FBQUEsT0FQQTs7bUNBREMsU0FBUyxFQUFFLFdBQVcsa0JBQWtCLFNBQVMsS0FBQSxDQUFNLENBQUM7QUFDekQsbUJBQUEsSUFBQSxNQUFBLDJCQUFBLEVBQUEsTUFBQSxZQUFBLE1BQUEsaUJBQUEsUUFBQSxPQUFBLFNBQUEsT0FBQSxRQUFBLEVBQUEsS0FBQSxDQUFBLFFBQUEsbUJBQUEsS0FBQSxLQUFBLENBQUEsUUFBQSxJQUFnQixlQUFhLEtBQUEsQ0FBQSxLQUFBLFVBQUE7QUFBQSxZQUFiLGdCQUFhO0FBQUEsTUFBQSxLQUFBLFVBQUEsVUFBQSxHQUFBLDZCQUFBLGdDQUFBOztVQUpmLEdBQUEsU0FBeUIsQ0FBQyxpQkFBaUIsT0FBTyxVQUFVLEdBSjdEO0FBQUE7QUFpQmYsU0FBTztBQUVUOyJ9
@@ -1,43 +1,43 @@
1
- var c = (t) => {
2
- throw TypeError(t);
1
+ var c = (o) => {
2
+ throw TypeError(o);
3
3
  };
4
- var m = (t, e, o) => e.has(t) || c("Cannot " + o);
5
- var v = (t, e, o) => (m(t, e, "read from private field"), o ? o.call(t) : e.get(t)), p = (t, e, o) => e.has(t) ? c("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(t) : e.set(t, o), h = (t, e, o, s) => (m(t, e, "write to private field"), s ? s.call(t, o) : e.set(t, o), o);
6
- import { __esDecorate as k, __runInitializers as f } from "tslib";
7
- import { property as y } from "lit/decorators.js";
8
- import { html as d } from "lit/static-html.js";
9
- import { boxSizingStyles as u } from "../../core/styles.js";
10
- import { SbbIconNameMixin as x } from "../../icon.js";
11
- import { S as _, s as z } from "../../link-common-7IiqjmPD.js";
4
+ var m = (o, t, e) => t.has(o) || c("Cannot " + e);
5
+ var k = (o, t, e) => (m(o, t, "read from private field"), e ? e.call(o) : t.get(o)), v = (o, t, e) => t.has(o) ? c("Cannot add the same private member more than once") : t instanceof WeakSet ? t.add(o) : t.set(o, e), p = (o, t, e, s) => (m(o, t, "write to private field"), s ? s.call(o, e) : t.set(o, e), e);
6
+ import { __esDecorate as u, __runInitializers as h } from "tslib";
7
+ import { property as f } from "lit/decorators.js";
8
+ import { html as g } from "lit/static-html.js";
9
+ import { boxSizingStyles as _ } from "../../core/styles.js";
10
+ import { SbbIconNameMixin as y } from "../../icon.js";
11
+ import { S as x, s as z } from "../../link-common-7IiqjmPD.js";
12
12
  import { css as S } from "lit";
13
- const P = S`:host{--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), var(--sbb-color-graphite));--sbb-link-color-active: light-dark(var(--sbb-color-primary150), var(--sbb-color-metal));--sbb-link-color-normal: var(--sbb-color-granite);--sbb-link-color-normal: light-dark(var(--sbb-color-granite), var(--sbb-color-white));--sbb-link-color-hover: var(--sbb-color-primary125);--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), var(--sbb-color-cloud));--sbb-link-color-active: var(--sbb-color-primary150);--sbb-link-color-active: light-dark(var(--sbb-color-primary150), var(--sbb-color-silver));--sbb-link-gap: var(--sbb-spacing-fixed-1x);display:block}:host([negative]){--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-link-color-normal: var(--sbb-color-1-negative);--sbb-link-color-hover: var(--sbb-color-4-negative);--sbb-link-color-active: var(--sbb-color-silver)}:host(.sbb-active){--sbb-link-color-normal: var(--sbb-color-black);--sbb-link-color-normal: light-dark(var(--sbb-color-black), var(--sbb-color-cement));--sbb-link-text-decoration-line: underline}:host(.sbb-active[negative]){--sbb-link-color-normal: var(--sbb-color-cement);--sbb-link-text-decoration-line: underline}.sbb-action-base{gap:var(--sbb-link-gap)}:host([size=xs]) .sbb-action-base{--sbb-text-font-size: var(--sbb-text-font-size-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size)}:host([size=s]) .sbb-action-base{--sbb-text-font-size: var(--sbb-text-font-size-s);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size)}:host([size=m]) .sbb-action-base{--sbb-text-font-size: var(--sbb-text-font-size-m);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-text);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-text-font-size)}.sbb-link__icon{position:relative;height:calc(var(--sbb-typo-line-height-text) * 1em);width:var(--sbb-size-icon-ui-small);flex:0 0 auto;align-self:start}:host(:not(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name]))) .sbb-link__icon{display:none}:host([icon-placement=end]) .sbb-link__icon{order:2}.sbb-link__icon ::slotted([slot=icon]),.sbb-link__icon sbb-icon{position:absolute;top:50%;transform:translateY(-50%)}`, D = (t) => (() => {
14
- var r, i;
15
- let o = _(x(t)), s, b = [], l = [];
16
- return i = class extends o {
13
+ const P = S`:host{--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), var(--sbb-color-graphite));--sbb-link-color-active: light-dark(var(--sbb-color-primary150), var(--sbb-color-metal));--sbb-link-color-normal: var(--sbb-color-granite);--sbb-link-color-normal: light-dark(var(--sbb-color-granite), var(--sbb-color-white));--sbb-link-color-hover: var(--sbb-color-primary125);--sbb-link-color-hover: light-dark(var(--sbb-color-primary125), var(--sbb-color-cloud));--sbb-link-color-active: var(--sbb-color-primary150);--sbb-link-color-active: light-dark(var(--sbb-color-primary150), var(--sbb-color-silver));display:block}:host([negative]){--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark);--sbb-link-color-normal: var(--sbb-color-1-negative);--sbb-link-color-hover: var(--sbb-color-4-negative);--sbb-link-color-active: var(--sbb-color-silver)}:host(.sbb-active){--sbb-link-color-normal: var(--sbb-color-black);--sbb-link-color-normal: light-dark(var(--sbb-color-black), var(--sbb-color-cement));--sbb-link-text-decoration-line: underline}:host(.sbb-active[negative]){--sbb-link-color-normal: var(--sbb-color-cement);--sbb-link-text-decoration-line: underline}:host([size=xs]){--sbb-block-link-font-size: var(--sbb-text-font-size-xs)}:host([size=s]){--sbb-block-link-font-size: var(--sbb-text-font-size-s)}:host([size=m]){--sbb-block-link-font-size: var(--sbb-text-font-size-m)}.sbb-action-base{gap:var(--sbb-block-link-gap);letter-spacing:var(--sbb-typo-letter-spacing-text);font-size:var(--sbb-block-link-font-size)}.sbb-link__icon{position:relative;height:calc(var(--sbb-typo-line-height-text) * 1em);width:var(--sbb-block-link-icon-size);flex:0 0 auto;align-self:start}:host(:not(:is(:state(slotted-icon),[state--slotted-icon]),:is(:state(has-icon-name),[state--has-icon-name]))) .sbb-link__icon{display:none}:host([icon-placement=end]) .sbb-link__icon{order:2}.sbb-link__icon ::slotted([slot=icon]),.sbb-link__icon sbb-icon{position:absolute;top:50%;transform:translateY(-50%)}`, D = (o) => (() => {
14
+ var i, r;
15
+ let e = x(y(o)), s, n = [], b = [];
16
+ return r = class extends e {
17
17
  constructor() {
18
18
  super(...arguments);
19
- p(this, r, f(this, b, "start"));
20
- f(this, l);
19
+ v(this, i, h(this, n, "start"));
20
+ h(this, b);
21
21
  }
22
22
  /** Moves the icon to the end of the component if set to true. */
23
23
  get iconPlacement() {
24
- return v(this, r);
24
+ return k(this, i);
25
25
  }
26
- set iconPlacement(a) {
27
- h(this, r, a);
26
+ set iconPlacement(l) {
27
+ p(this, i, l);
28
28
  }
29
29
  renderTemplate() {
30
- return d`
30
+ return g`
31
31
  <span class="sbb-link__icon"> ${super.renderIconSlot()} </span>
32
32
  <slot></slot>
33
33
  `;
34
34
  }
35
- }, r = new WeakMap(), (() => {
36
- const a = typeof Symbol == "function" && Symbol.metadata ? Object.create(o[Symbol.metadata] ?? null) : void 0;
37
- s = [y({ attribute: "icon-placement", reflect: !0 })], k(i, null, s, { kind: "accessor", name: "iconPlacement", static: !1, private: !1, access: { has: (n) => "iconPlacement" in n, get: (n) => n.iconPlacement, set: (n, g) => {
38
- n.iconPlacement = g;
39
- } }, metadata: a }, b, l), a && Object.defineProperty(i, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: a });
40
- })(), i.styles = [u, z, P], i;
35
+ }, i = new WeakMap(), (() => {
36
+ const l = typeof Symbol == "function" && Symbol.metadata ? Object.create(e[Symbol.metadata] ?? null) : void 0;
37
+ s = [f({ attribute: "icon-placement", reflect: !0 })], u(r, null, s, { kind: "accessor", name: "iconPlacement", static: !1, private: !1, access: { has: (a) => "iconPlacement" in a, get: (a) => a.iconPlacement, set: (a, d) => {
38
+ a.iconPlacement = d;
39
+ } }, metadata: l }, n, b), l && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: l });
40
+ })(), r.styles = [_, z, P], r;
41
41
  })();
42
42
  export {
43
43
  D as SbbBlockLinkCommonElementMixin
@@ -1626,6 +1626,9 @@ summary {
1626
1626
  --sbb-header-environment-rotate: 45deg;
1627
1627
  --sbb-icon-sidebar-background-color: var(--sbb-background-color-1);
1628
1628
  --sbb-icon-sidebar-border-radius: var(--sbb-border-radius-8x);
1629
+ --sbb-block-link-gap: var(--sbb-spacing-fixed-1x);
1630
+ --sbb-block-link-icon-size: var(--sbb-size-icon-ui-small);
1631
+ --sbb-block-link-font-size: var(--sbb-text-font-size-s);
1629
1632
  --sbb-lead-container-background-color: var(--sbb-background-color-1);
1630
1633
  --sbb-lead-container-image-ratio: 2 / 1;
1631
1634
  --sbb-lead-container-image-overlap: var(--sbb-spacing-fixed-24x);
package/package.json CHANGED
@@ -1,13 +1,13 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-elements-dev",
3
- "version": "4.7.0-dev.1773236484",
3
+ "version": "4.7.0-dev.1773242335",
4
4
  "description": "Lyne Design System",
5
5
  "keywords": [
6
6
  "design system",
7
7
  "web components",
8
8
  "lit",
9
9
  "storybook",
10
- "https://github.com/sbb-design-systems/lyne-components/commit/29dfc89d0c2cc2a836bbb86e6c064d14a7573e72"
10
+ "https://github.com/sbb-design-systems/lyne-components/commit/19525157fea95fa3e36984e2709d9200aa83572c"
11
11
  ],
12
12
  "type": "module",
13
13
  "exports": {
package/safety-theme.css CHANGED
@@ -1626,6 +1626,9 @@ summary {
1626
1626
  --sbb-header-environment-rotate: 45deg;
1627
1627
  --sbb-icon-sidebar-background-color: var(--sbb-background-color-1);
1628
1628
  --sbb-icon-sidebar-border-radius: var(--sbb-border-radius-8x);
1629
+ --sbb-block-link-gap: var(--sbb-spacing-fixed-1x);
1630
+ --sbb-block-link-icon-size: var(--sbb-size-icon-ui-small);
1631
+ --sbb-block-link-font-size: var(--sbb-text-font-size-s);
1629
1632
  --sbb-lead-container-background-color: var(--sbb-background-color-1);
1630
1633
  --sbb-lead-container-image-ratio: 2 / 1;
1631
1634
  --sbb-lead-container-image-overlap: var(--sbb-spacing-fixed-24x);
@@ -1626,6 +1626,9 @@ summary {
1626
1626
  --sbb-header-environment-rotate: 45deg;
1627
1627
  --sbb-icon-sidebar-background-color: var(--sbb-background-color-1);
1628
1628
  --sbb-icon-sidebar-border-radius: var(--sbb-border-radius-8x);
1629
+ --sbb-block-link-gap: var(--sbb-spacing-fixed-1x);
1630
+ --sbb-block-link-icon-size: var(--sbb-size-icon-ui-small);
1631
+ --sbb-block-link-font-size: var(--sbb-text-font-size-s);
1629
1632
  --sbb-lead-container-background-color: var(--sbb-background-color-1);
1630
1633
  --sbb-lead-container-image-ratio: 2 / 1;
1631
1634
  --sbb-lead-container-image-overlap: var(--sbb-spacing-fixed-24x);