@sbb-esta/lyne-elements-dev 5.0.0-next.2-dev.1778120187 → 5.0.0-next.2-dev.1778141158

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 (55) hide show
  1. package/autocomplete/autocomplete-base-element.js +1 -1
  2. package/autocomplete/autocomplete.component.js +1 -1
  3. package/{autocomplete-base-element-BuCAxBy3.js → autocomplete-base-element-CAWFmfLW.js} +20 -23
  4. package/autocomplete.js +1 -1
  5. package/autocomplete.pure.js +1 -1
  6. package/core/overlay/overlay-option-panel.js +6 -5
  7. package/core/styles/_index.scss +0 -1
  8. package/core/styles/core.scss +4 -2
  9. package/core/styles/option-panel-common.global.scss +11 -0
  10. package/core/styles/option-panel-common.scss +157 -0
  11. package/core/styles/styles.js +2 -2
  12. package/core.css +7 -5
  13. package/core.js +6 -7
  14. package/custom-elements.json +985 -1035
  15. package/development/autocomplete/autocomplete-base-element.d.ts +0 -1
  16. package/development/autocomplete/autocomplete-base-element.d.ts.map +1 -1
  17. package/development/autocomplete/autocomplete-base-element.js +1 -1
  18. package/development/autocomplete/autocomplete.component.js +1 -1
  19. package/development/autocomplete-base-element-DZx53PO1.js +683 -0
  20. package/development/autocomplete.js +1 -1
  21. package/development/autocomplete.pure.js +1 -1
  22. package/development/core/overlay/overlay-option-panel.d.ts +1 -1
  23. package/development/core/overlay/overlay-option-panel.d.ts.map +1 -1
  24. package/development/core/overlay/overlay-option-panel.js +5 -2
  25. package/development/core/styles/styles.d.ts +1 -0
  26. package/development/core/styles/styles.d.ts.map +1 -1
  27. package/development/core/styles/styles.js +2 -2
  28. package/development/core.d.ts +0 -1
  29. package/development/core.d.ts.map +1 -1
  30. package/development/core.js +2 -3
  31. package/development/select/select.component.d.ts +1 -2
  32. package/development/select/select.component.d.ts.map +1 -1
  33. package/development/select/select.component.js +1 -1
  34. package/development/select.component-VODtrUee.js +807 -0
  35. package/development/select.js +1 -1
  36. package/development/select.pure.js +1 -1
  37. package/development/styles-CmwkvLqU.js +22 -0
  38. package/off-brand-theme.css +7 -5
  39. package/package.json +2 -2
  40. package/safety-theme.css +7 -5
  41. package/select/select.component.js +1 -1
  42. package/{select.component-PLjAiAA3.js → select.component-CO-42jqH.js} +61 -61
  43. package/select.js +1 -1
  44. package/select.pure.js +1 -1
  45. package/standard-theme.css +7 -5
  46. package/styles-CgXa3TG9.js +5 -0
  47. package/core/overlay/overlay.js +0 -14
  48. package/core/styles/mixins/overlay.scss +0 -175
  49. package/development/autocomplete-base-element-CG5m0PpY.js +0 -686
  50. package/development/core/overlay/overlay.d.ts +0 -7
  51. package/development/core/overlay/overlay.d.ts.map +0 -1
  52. package/development/core/overlay/overlay.js +0 -20
  53. package/development/select.component-B8_tnz6D.js +0 -806
  54. package/development/styles-BzEbxmCd.js +0 -18
  55. package/styles-OHFAsnJq.js +0 -5
@@ -1247,14 +1247,6 @@
1247
1247
  "module": "core/mixins/update-scheduler-mixin.js"
1248
1248
  }
1249
1249
  },
1250
- {
1251
- "kind": "js",
1252
- "name": "*",
1253
- "declaration": {
1254
- "name": "*",
1255
- "module": "core/overlay/overlay.js"
1256
- }
1257
- },
1258
1250
  {
1259
1251
  "kind": "js",
1260
1252
  "name": "*",
@@ -4905,7 +4897,7 @@
4905
4897
  "kind": "field",
4906
4898
  "name": "_resizeObserver",
4907
4899
  "privacy": "private",
4908
- "default": "new ResizeController(this, { target: null, skipInitial: true, // This is an IIFE, because we need to keep track of the timeout state // for debouncing the resize callbacks. callback: (() => { let timeoutId: ReturnType<typeof setTimeout>; return () => { clearTimeout(timeoutId); timeoutId = setTimeout(() => this._setOverlayPosition(), 10); }; })(), })"
4900
+ "default": "new ResizeController(this, { target: null, skipInitial: true, // This is an IIFE, because we need to keep track of the timeout state // for debouncing the resize callbacks. callback: (() => { let timeoutId: ReturnType<typeof setTimeout>; return () => { clearTimeout(timeoutId); timeoutId = setTimeout(() => { if (this.state !== 'closed') { this._setOverlayPosition(); } }, 10); }; })(), })"
4909
4901
  },
4910
4902
  {
4911
4903
  "kind": "field",
@@ -4921,14 +4913,6 @@
4921
4913
  },
4922
4914
  "privacy": "private"
4923
4915
  },
4924
- {
4925
- "kind": "field",
4926
- "name": "_optionContainer",
4927
- "type": {
4928
- "text": "HTMLElement"
4929
- },
4930
- "privacy": "private"
4931
- },
4932
4916
  {
4933
4917
  "kind": "field",
4934
4918
  "name": "_triggerAbortController",
@@ -6469,7 +6453,7 @@
6469
6453
  "kind": "field",
6470
6454
  "name": "_resizeObserver",
6471
6455
  "privacy": "private",
6472
- "default": "new ResizeController(this, { target: null, skipInitial: true, // This is an IIFE, because we need to keep track of the timeout state // for debouncing the resize callbacks. callback: (() => { let timeoutId: ReturnType<typeof setTimeout>; return () => { clearTimeout(timeoutId); timeoutId = setTimeout(() => this._setOverlayPosition(), 10); }; })(), })",
6456
+ "default": "new ResizeController(this, { target: null, skipInitial: true, // This is an IIFE, because we need to keep track of the timeout state // for debouncing the resize callbacks. callback: (() => { let timeoutId: ReturnType<typeof setTimeout>; return () => { clearTimeout(timeoutId); timeoutId = setTimeout(() => { if (this.state !== 'closed') { this._setOverlayPosition(); } }, 10); }; })(), })",
6473
6457
  "inheritedFrom": {
6474
6458
  "name": "SbbAutocompleteBaseElement",
6475
6459
  "module": "autocomplete/autocomplete-base-element.js"
@@ -6497,18 +6481,6 @@
6497
6481
  "module": "autocomplete/autocomplete-base-element.js"
6498
6482
  }
6499
6483
  },
6500
- {
6501
- "kind": "field",
6502
- "name": "_optionContainer",
6503
- "type": {
6504
- "text": "HTMLElement"
6505
- },
6506
- "privacy": "private",
6507
- "inheritedFrom": {
6508
- "name": "SbbAutocompleteBaseElement",
6509
- "module": "autocomplete/autocomplete-base-element.js"
6510
- }
6511
- },
6512
6484
  {
6513
6485
  "kind": "field",
6514
6486
  "name": "_triggerAbortController",
@@ -28211,9 +28183,9 @@
28211
28183
  },
28212
28184
  {
28213
28185
  "kind": "field",
28214
- "name": "_originResizeObserver",
28186
+ "name": "_resizeObserver",
28215
28187
  "privacy": "private",
28216
- "default": "new ResizeController(this, { target: null, skipInitial: true, callback: () => { if (this.isOpen) { this._setOverlayPosition(); } }, })"
28188
+ "default": "new ResizeController(this, { target: null, skipInitial: true, // This is an IIFE, because we need to keep track of the timeout state // for debouncing the resize callbacks. callback: (() => { let timeoutId: ReturnType<typeof setTimeout>; return () => { clearTimeout(timeoutId); timeoutId = setTimeout(() => { if (this.state !== 'closed') { this._setOverlayPosition(); } }, 10); }; })(), })"
28217
28189
  },
28218
28190
  {
28219
28191
  "kind": "field",
@@ -28223,14 +28195,6 @@
28223
28195
  },
28224
28196
  "privacy": "private"
28225
28197
  },
28226
- {
28227
- "kind": "field",
28228
- "name": "_optionContainer",
28229
- "type": {
28230
- "text": "HTMLElement"
28231
- },
28232
- "privacy": "private"
28233
- },
28234
28198
  {
28235
28199
  "kind": "field",
28236
28200
  "name": "_originElement",
@@ -93993,7 +93957,7 @@
93993
93957
  "type": {
93994
93958
  "text": "HTMLElement"
93995
93959
  },
93996
- "description": "The element which has the position:fixed applied."
93960
+ "description": "The element that has the position:fixed applied."
93997
93961
  },
93998
93962
  {
93999
93963
  "name": "element",
@@ -94300,32 +94264,6 @@
94300
94264
  }
94301
94265
  ]
94302
94266
  },
94303
- {
94304
- "kind": "javascript-module",
94305
- "path": "core/overlay/overlay.js",
94306
- "declarations": [
94307
- {
94308
- "kind": "function",
94309
- "name": "overlayGapFixCorners",
94310
- "return": {
94311
- "type": {
94312
- "text": "TemplateResult"
94313
- }
94314
- },
94315
- "description": "Used to create the \"wrapping\" effect around the anchor for overlays (es. autocomplete)\nWorks in conjunction with the 'overlayGapFixCorners()' function in 'overlay.ts'"
94316
- }
94317
- ],
94318
- "exports": [
94319
- {
94320
- "kind": "js",
94321
- "name": "overlayGapFixCorners",
94322
- "declaration": {
94323
- "name": "overlayGapFixCorners",
94324
- "module": "core/overlay/overlay.js"
94325
- }
94326
- }
94327
- ]
94328
- },
94329
94267
  {
94330
94268
  "kind": "javascript-module",
94331
94269
  "path": "core/overlay/position.js",
@@ -94526,6 +94464,10 @@
94526
94464
  "kind": "variable",
94527
94465
  "name": "hostScrollbarStyles"
94528
94466
  },
94467
+ {
94468
+ "kind": "variable",
94469
+ "name": "optionPanelStyles"
94470
+ },
94529
94471
  {
94530
94472
  "kind": "variable",
94531
94473
  "name": "screenReaderOnlyStyles"
@@ -94544,6 +94486,14 @@
94544
94486
  "module": "core/styles/styles.js"
94545
94487
  }
94546
94488
  },
94489
+ {
94490
+ "kind": "js",
94491
+ "name": "optionPanelStyles",
94492
+ "declaration": {
94493
+ "name": "optionPanelStyles",
94494
+ "module": "core/styles/styles.js"
94495
+ }
94496
+ },
94547
94497
  {
94548
94498
  "kind": "js",
94549
94499
  "name": "screenReaderOnlyStyles",
@@ -125101,51 +125051,20 @@
125101
125051
  },
125102
125052
  {
125103
125053
  "kind": "javascript-module",
125104
- "path": "link/block-link-static/block-link-static.component.js",
125054
+ "path": "link/common/block-link-common.js",
125105
125055
  "declarations": [
125106
125056
  {
125107
125057
  "kind": "class",
125108
- "description": "It displays a static link enhanced with the SBB Design.",
125109
- "name": "SbbBlockLinkStaticElement",
125110
- "slots": [
125111
- {
125112
- "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
125113
- "name": ""
125114
- },
125115
- {
125116
- "description": "Slot used to display the icon, if one is set.",
125117
- "name": "icon"
125118
- }
125119
- ],
125058
+ "description": "",
125059
+ "name": "SbbBlockLinkCommonElementMixinType",
125120
125060
  "members": [
125121
125061
  {
125122
125062
  "kind": "field",
125123
- "name": "elementName",
125124
- "type": {
125125
- "text": "string"
125126
- },
125127
- "privacy": "public",
125128
- "static": true,
125129
- "readonly": true,
125130
- "inheritedFrom": {
125131
- "name": "SbbElement",
125132
- "module": "core/base-elements/element.js"
125133
- },
125134
- "default": "'sbb-block-link-static'"
125135
- },
125136
- {
125137
- "kind": "field",
125138
- "name": "styles",
125063
+ "name": "iconPlacement",
125139
125064
  "type": {
125140
- "text": "CSSResultGroup"
125065
+ "text": "SbbIconPlacement"
125141
125066
  },
125142
- "privacy": "public",
125143
- "static": true,
125144
- "default": "[unsafeCSS(blockStyle)]",
125145
- "inheritedFrom": {
125146
- "name": "SbbLinkCommonElementMixin",
125147
- "module": "link/common/link-common.js"
125148
- }
125067
+ "privacy": "public"
125149
125068
  },
125150
125069
  {
125151
125070
  "kind": "field",
@@ -125153,30 +125072,20 @@
125153
125072
  "type": {
125154
125073
  "text": "SbbLinkSize"
125155
125074
  },
125156
- "privacy": "public",
125157
- "description": "Size variant, either xs, s or m.",
125158
- "default": "'s' / 'xs' (lean)",
125159
- "attribute": "size",
125160
- "reflects": true,
125161
- "inheritedFrom": {
125162
- "name": "SbbBlockLinkCommonElementMixin",
125163
- "module": "link/common/block-link-common.js"
125164
- }
125075
+ "privacy": "public"
125165
125076
  },
125166
125077
  {
125167
125078
  "kind": "field",
125168
- "name": "iconPlacement",
125079
+ "name": "styles",
125169
125080
  "type": {
125170
- "text": "SbbIconPlacement"
125081
+ "text": "CSSResultGroup"
125171
125082
  },
125172
125083
  "privacy": "public",
125173
- "default": "'start'",
125174
- "description": "Moves the icon to the end of the component if set to true.",
125175
- "attribute": "icon-placement",
125176
- "reflects": true,
125084
+ "static": true,
125085
+ "default": "[unsafeCSS(style)]",
125177
125086
  "inheritedFrom": {
125178
- "name": "SbbBlockLinkCommonElementMixin",
125179
- "module": "link/common/block-link-common.js"
125087
+ "name": "SbbLinkCommonElementMixin",
125088
+ "module": "link/common/link-common.js"
125180
125089
  }
125181
125090
  },
125182
125091
  {
@@ -125194,6 +125103,22 @@
125194
125103
  "module": "core/base-elements/action-base-element.js"
125195
125104
  }
125196
125105
  },
125106
+ {
125107
+ "kind": "field",
125108
+ "name": "negative",
125109
+ "type": {
125110
+ "text": "boolean"
125111
+ },
125112
+ "privacy": "public",
125113
+ "default": "false",
125114
+ "description": "Negative coloring variant flag.",
125115
+ "attribute": "negative",
125116
+ "reflects": true,
125117
+ "inheritedFrom": {
125118
+ "name": "SbbNegativeMixin",
125119
+ "module": "core/mixins/negative-mixin.js"
125120
+ }
125121
+ },
125197
125122
  {
125198
125123
  "kind": "field",
125199
125124
  "name": "elementDependencies",
@@ -125274,50 +125199,6 @@
125274
125199
  "module": "icon/icon-name-mixin.js"
125275
125200
  }
125276
125201
  },
125277
- {
125278
- "kind": "field",
125279
- "name": "disabled",
125280
- "privacy": "public",
125281
- "description": "Whether the component is disabled.",
125282
- "default": "false",
125283
- "type": {
125284
- "text": "boolean"
125285
- },
125286
- "attribute": "disabled",
125287
- "reflects": true,
125288
- "inheritedFrom": {
125289
- "name": "SbbDisabledMixin",
125290
- "module": "core/mixins/disabled-mixin.js"
125291
- }
125292
- },
125293
- {
125294
- "kind": "field",
125295
- "name": "#disabled",
125296
- "privacy": "private",
125297
- "type": {
125298
- "text": "boolean"
125299
- },
125300
- "default": "false",
125301
- "inheritedFrom": {
125302
- "name": "SbbDisabledMixin",
125303
- "module": "core/mixins/disabled-mixin.js"
125304
- }
125305
- },
125306
- {
125307
- "kind": "method",
125308
- "name": "isDisabledExternally",
125309
- "privacy": "protected",
125310
- "return": {
125311
- "type": {
125312
- "text": "boolean"
125313
- }
125314
- },
125315
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
125316
- "inheritedFrom": {
125317
- "name": "SbbDisabledMixin",
125318
- "module": "core/mixins/disabled-mixin.js"
125319
- }
125320
- },
125321
125202
  {
125322
125203
  "kind": "field",
125323
125204
  "name": "maybeDisabled",
@@ -125372,6 +125253,20 @@
125372
125253
  "module": "core/base-elements/element.js"
125373
125254
  }
125374
125255
  },
125256
+ {
125257
+ "kind": "field",
125258
+ "name": "elementName",
125259
+ "type": {
125260
+ "text": "string"
125261
+ },
125262
+ "privacy": "public",
125263
+ "static": true,
125264
+ "readonly": true,
125265
+ "inheritedFrom": {
125266
+ "name": "SbbElement",
125267
+ "module": "core/base-elements/element.js"
125268
+ }
125269
+ },
125375
125270
  {
125376
125271
  "kind": "field",
125377
125272
  "name": "role",
@@ -125631,45 +125526,30 @@
125631
125526
  ],
125632
125527
  "mixins": [
125633
125528
  {
125634
- "name": "SbbBlockLinkCommonElementMixin",
125635
- "module": "link/common/block-link-common.js"
125529
+ "name": "SbbLinkCommonElementMixin",
125530
+ "module": "link/common/link-common.js"
125636
125531
  },
125637
125532
  {
125638
- "name": "SbbDisabledMixin",
125639
- "module": "core.js"
125533
+ "name": "SbbIconNameMixin",
125534
+ "module": "icon.pure.js"
125640
125535
  }
125641
125536
  ],
125642
125537
  "superclass": {
125643
125538
  "name": "SbbActionBaseElement",
125644
125539
  "module": "core.js"
125645
125540
  },
125646
- "tagName": "sbb-block-link-static",
125647
- "customElement": true,
125648
125541
  "attributes": [
125649
125542
  {
125650
- "name": "size",
125651
- "type": {
125652
- "text": "SbbLinkSize"
125653
- },
125654
- "description": "Size variant, either xs, s or m.",
125655
- "default": "'s' / 'xs' (lean)",
125656
- "fieldName": "size",
125657
- "inheritedFrom": {
125658
- "name": "SbbBlockLinkCommonElementMixin",
125659
- "module": "link/common/block-link-common.js"
125660
- }
125661
- },
125662
- {
125663
- "name": "icon-placement",
125543
+ "name": "negative",
125664
125544
  "type": {
125665
- "text": "SbbIconPlacement"
125545
+ "text": "boolean"
125666
125546
  },
125667
- "default": "'start'",
125668
- "description": "Moves the icon to the end of the component if set to true.",
125669
- "fieldName": "iconPlacement",
125547
+ "default": "false",
125548
+ "description": "Negative coloring variant flag.",
125549
+ "fieldName": "negative",
125670
125550
  "inheritedFrom": {
125671
- "name": "SbbBlockLinkCommonElementMixin",
125672
- "module": "link/common/block-link-common.js"
125551
+ "name": "SbbNegativeMixin",
125552
+ "module": "core/mixins/negative-mixin.js"
125673
125553
  }
125674
125554
  },
125675
125555
  {
@@ -125684,50 +125564,27 @@
125684
125564
  "name": "SbbIconNameMixin",
125685
125565
  "module": "icon/icon-name-mixin.js"
125686
125566
  }
125687
- },
125688
- {
125689
- "name": "disabled",
125690
- "description": "Whether the component is disabled.",
125691
- "default": "false",
125692
- "type": {
125693
- "text": "boolean"
125694
- },
125695
- "fieldName": "disabled",
125696
- "inheritedFrom": {
125697
- "name": "SbbDisabledMixin",
125698
- "module": "core/mixins/disabled-mixin.js"
125699
- }
125700
125567
  }
125701
125568
  ]
125702
- }
125703
- ],
125704
- "exports": [
125705
- {
125706
- "kind": "js",
125707
- "name": "SbbBlockLinkStaticElement",
125708
- "declaration": {
125709
- "name": "SbbBlockLinkStaticElement",
125710
- "module": "link/block-link-static/block-link-static.component.js"
125711
- }
125712
- }
125713
- ]
125714
- },
125715
- {
125716
- "kind": "javascript-module",
125717
- "path": "link/common/block-link-common.js",
125718
- "declarations": [
125569
+ },
125719
125570
  {
125720
- "kind": "class",
125571
+ "kind": "mixin",
125721
125572
  "description": "",
125722
- "name": "SbbBlockLinkCommonElementMixinType",
125573
+ "name": "SbbBlockLinkCommonElementMixin",
125723
125574
  "members": [
125724
125575
  {
125725
125576
  "kind": "field",
125726
- "name": "iconPlacement",
125577
+ "name": "styles",
125727
125578
  "type": {
125728
- "text": "SbbIconPlacement"
125579
+ "text": "CSSResultGroup"
125729
125580
  },
125730
- "privacy": "public"
125581
+ "privacy": "public",
125582
+ "static": true,
125583
+ "default": "[unsafeCSS(blockStyle)]",
125584
+ "inheritedFrom": {
125585
+ "name": "SbbLinkCommonElementMixin",
125586
+ "module": "link/common/link-common.js"
125587
+ }
125731
125588
  },
125732
125589
  {
125733
125590
  "kind": "field",
@@ -125735,21 +125592,23 @@
125735
125592
  "type": {
125736
125593
  "text": "SbbLinkSize"
125737
125594
  },
125738
- "privacy": "public"
125595
+ "privacy": "public",
125596
+ "description": "Size variant, either xs, s or m.",
125597
+ "default": "'s' / 'xs' (lean)",
125598
+ "attribute": "size",
125599
+ "reflects": true
125739
125600
  },
125740
125601
  {
125741
125602
  "kind": "field",
125742
- "name": "styles",
125603
+ "name": "iconPlacement",
125743
125604
  "type": {
125744
- "text": "CSSResultGroup"
125605
+ "text": "SbbIconPlacement"
125745
125606
  },
125746
125607
  "privacy": "public",
125747
- "static": true,
125748
- "default": "[unsafeCSS(style)]",
125749
- "inheritedFrom": {
125750
- "name": "SbbLinkCommonElementMixin",
125751
- "module": "link/common/link-common.js"
125752
- }
125608
+ "default": "'start'",
125609
+ "description": "Moves the icon to the end of the component if set to true.",
125610
+ "attribute": "icon-placement",
125611
+ "reflects": true
125753
125612
  },
125754
125613
  {
125755
125614
  "kind": "method",
@@ -125760,10 +125619,9 @@
125760
125619
  "text": "TemplateResult"
125761
125620
  }
125762
125621
  },
125763
- "description": "Override this method to render the component template.",
125764
125622
  "inheritedFrom": {
125765
- "name": "SbbActionBaseElement",
125766
- "module": "core/base-elements/action-base-element.js"
125623
+ "name": "SbbLinkCommonElementMixin",
125624
+ "module": "link/common/link-common.js"
125767
125625
  }
125768
125626
  },
125769
125627
  {
@@ -125790,11 +125648,11 @@
125790
125648
  },
125791
125649
  "privacy": "public",
125792
125650
  "static": true,
125651
+ "default": "[SbbIconElement]",
125793
125652
  "inheritedFrom": {
125794
- "name": "SbbElement",
125795
- "module": "core/base-elements/element.js"
125796
- },
125797
- "default": "[SbbIconElement]"
125653
+ "name": "SbbIconNameMixin",
125654
+ "module": "icon/icon-name-mixin.js"
125655
+ }
125798
125656
  },
125799
125657
  {
125800
125658
  "kind": "field",
@@ -125861,6 +125719,156 @@
125861
125719
  "name": "SbbIconNameMixin",
125862
125720
  "module": "icon/icon-name-mixin.js"
125863
125721
  }
125722
+ }
125723
+ ],
125724
+ "attributes": [
125725
+ {
125726
+ "name": "size",
125727
+ "type": {
125728
+ "text": "SbbLinkSize"
125729
+ },
125730
+ "description": "Size variant, either xs, s or m.",
125731
+ "default": "'s' / 'xs' (lean)",
125732
+ "fieldName": "size"
125733
+ },
125734
+ {
125735
+ "name": "icon-placement",
125736
+ "type": {
125737
+ "text": "SbbIconPlacement"
125738
+ },
125739
+ "default": "'start'",
125740
+ "description": "Moves the icon to the end of the component if set to true.",
125741
+ "fieldName": "iconPlacement"
125742
+ },
125743
+ {
125744
+ "name": "negative",
125745
+ "type": {
125746
+ "text": "boolean"
125747
+ },
125748
+ "default": "false",
125749
+ "description": "Negative coloring variant flag.",
125750
+ "fieldName": "negative",
125751
+ "inheritedFrom": {
125752
+ "name": "SbbNegativeMixin",
125753
+ "module": "core/mixins/negative-mixin.js"
125754
+ }
125755
+ },
125756
+ {
125757
+ "name": "icon-name",
125758
+ "type": {
125759
+ "text": "string"
125760
+ },
125761
+ "default": "''",
125762
+ "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.",
125763
+ "fieldName": "iconName",
125764
+ "inheritedFrom": {
125765
+ "name": "SbbIconNameMixin",
125766
+ "module": "icon/icon-name-mixin.js"
125767
+ }
125768
+ }
125769
+ ],
125770
+ "mixins": [
125771
+ {
125772
+ "name": "SbbLinkCommonElementMixin",
125773
+ "module": "link/common/link-common.js"
125774
+ },
125775
+ {
125776
+ "name": "SbbIconNameMixin",
125777
+ "module": "icon.pure.js"
125778
+ }
125779
+ ],
125780
+ "parameters": [
125781
+ {
125782
+ "name": "superClass",
125783
+ "type": {
125784
+ "text": "T"
125785
+ }
125786
+ }
125787
+ ]
125788
+ }
125789
+ ],
125790
+ "exports": [
125791
+ {
125792
+ "kind": "js",
125793
+ "name": "SbbBlockLinkCommonElementMixinType",
125794
+ "declaration": {
125795
+ "name": "SbbBlockLinkCommonElementMixinType",
125796
+ "module": "link/common/block-link-common.js"
125797
+ }
125798
+ },
125799
+ {
125800
+ "kind": "js",
125801
+ "name": "SbbBlockLinkCommonElementMixin",
125802
+ "declaration": {
125803
+ "name": "SbbBlockLinkCommonElementMixin",
125804
+ "module": "link/common/block-link-common.js"
125805
+ }
125806
+ }
125807
+ ]
125808
+ },
125809
+ {
125810
+ "kind": "javascript-module",
125811
+ "path": "link/common/inline-link-common.js",
125812
+ "declarations": [
125813
+ {
125814
+ "kind": "class",
125815
+ "description": "",
125816
+ "name": "SbbInlineLinkCommonElementMixinType",
125817
+ "mixins": [
125818
+ {
125819
+ "name": "SbbLinkCommonElementMixin",
125820
+ "module": "link/common/link-common.js"
125821
+ }
125822
+ ],
125823
+ "superclass": {
125824
+ "name": "SbbActionBaseElement",
125825
+ "module": "core.js"
125826
+ },
125827
+ "members": [
125828
+ {
125829
+ "kind": "field",
125830
+ "name": "styles",
125831
+ "type": {
125832
+ "text": "CSSResultGroup"
125833
+ },
125834
+ "privacy": "public",
125835
+ "static": true,
125836
+ "default": "[unsafeCSS(style)]",
125837
+ "inheritedFrom": {
125838
+ "name": "SbbLinkCommonElementMixin",
125839
+ "module": "link/common/link-common.js"
125840
+ }
125841
+ },
125842
+ {
125843
+ "kind": "method",
125844
+ "name": "renderTemplate",
125845
+ "privacy": "protected",
125846
+ "return": {
125847
+ "type": {
125848
+ "text": "TemplateResult"
125849
+ }
125850
+ },
125851
+ "description": "Override this method to render the component template.",
125852
+ "inheritedFrom": {
125853
+ "name": "SbbActionBaseElement",
125854
+ "module": "core/base-elements/action-base-element.js"
125855
+ }
125856
+ },
125857
+ {
125858
+ "kind": "field",
125859
+ "name": "negative",
125860
+ "type": {
125861
+ "text": "boolean"
125862
+ },
125863
+ "privacy": "public",
125864
+ "default": "false",
125865
+ "description": "Negative coloring variant flag.",
125866
+ "attribute": "negative",
125867
+ "reflects": true,
125868
+ "inheritedFrom": {
125869
+ "name": "SbbNegativeMixin",
125870
+ "module": "core/mixins/negative-mixin.js"
125871
+ }
125864
125872
  },
125865
125873
  {
125866
125874
  "kind": "field",
@@ -125930,6 +125938,19 @@
125930
125938
  "module": "core/base-elements/element.js"
125931
125939
  }
125932
125940
  },
125941
+ {
125942
+ "kind": "field",
125943
+ "name": "elementDependencies",
125944
+ "type": {
125945
+ "text": "SbbElementType[] | undefined"
125946
+ },
125947
+ "privacy": "public",
125948
+ "static": true,
125949
+ "inheritedFrom": {
125950
+ "name": "SbbElement",
125951
+ "module": "core/base-elements/element.js"
125952
+ }
125953
+ },
125933
125954
  {
125934
125955
  "kind": "field",
125935
125956
  "name": "role",
@@ -126187,20 +126208,6 @@
126187
126208
  }
126188
126209
  }
126189
126210
  ],
126190
- "mixins": [
126191
- {
126192
- "name": "SbbLinkCommonElementMixin",
126193
- "module": "link/common/link-common.js"
126194
- },
126195
- {
126196
- "name": "SbbIconNameMixin",
126197
- "module": "icon.pure.js"
126198
- }
126199
- ],
126200
- "superclass": {
126201
- "name": "SbbActionBaseElement",
126202
- "module": "core.js"
126203
- },
126204
126211
  "attributes": [
126205
126212
  {
126206
126213
  "name": "negative",
@@ -126214,26 +126221,13 @@
126214
126221
  "name": "SbbNegativeMixin",
126215
126222
  "module": "core/mixins/negative-mixin.js"
126216
126223
  }
126217
- },
126218
- {
126219
- "name": "icon-name",
126220
- "type": {
126221
- "text": "string"
126222
- },
126223
- "default": "''",
126224
- "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.",
126225
- "fieldName": "iconName",
126226
- "inheritedFrom": {
126227
- "name": "SbbIconNameMixin",
126228
- "module": "icon/icon-name-mixin.js"
126229
- }
126230
126224
  }
126231
126225
  ]
126232
126226
  },
126233
126227
  {
126234
126228
  "kind": "mixin",
126235
126229
  "description": "",
126236
- "name": "SbbBlockLinkCommonElementMixin",
126230
+ "name": "SbbInlineLinkCommonElementMixin",
126237
126231
  "members": [
126238
126232
  {
126239
126233
  "kind": "field",
@@ -126243,36 +126237,12 @@
126243
126237
  },
126244
126238
  "privacy": "public",
126245
126239
  "static": true,
126246
- "default": "[unsafeCSS(blockStyle)]",
126240
+ "default": "[unsafeCSS(inlineStyle)]",
126247
126241
  "inheritedFrom": {
126248
126242
  "name": "SbbLinkCommonElementMixin",
126249
126243
  "module": "link/common/link-common.js"
126250
126244
  }
126251
126245
  },
126252
- {
126253
- "kind": "field",
126254
- "name": "size",
126255
- "type": {
126256
- "text": "SbbLinkSize"
126257
- },
126258
- "privacy": "public",
126259
- "description": "Size variant, either xs, s or m.",
126260
- "default": "'s' / 'xs' (lean)",
126261
- "attribute": "size",
126262
- "reflects": true
126263
- },
126264
- {
126265
- "kind": "field",
126266
- "name": "iconPlacement",
126267
- "type": {
126268
- "text": "SbbIconPlacement"
126269
- },
126270
- "privacy": "public",
126271
- "default": "'start'",
126272
- "description": "Moves the icon to the end of the component if set to true.",
126273
- "attribute": "icon-placement",
126274
- "reflects": true
126275
- },
126276
126246
  {
126277
126247
  "kind": "method",
126278
126248
  "name": "renderTemplate",
@@ -126302,107 +126272,23 @@
126302
126272
  "name": "SbbNegativeMixin",
126303
126273
  "module": "core/mixins/negative-mixin.js"
126304
126274
  }
126305
- },
126275
+ }
126276
+ ],
126277
+ "mixins": [
126306
126278
  {
126307
- "kind": "field",
126308
- "name": "elementDependencies",
126309
- "type": {
126310
- "text": "SbbElementType[]"
126311
- },
126312
- "privacy": "public",
126313
- "static": true,
126314
- "default": "[SbbIconElement]",
126315
- "inheritedFrom": {
126316
- "name": "SbbIconNameMixin",
126317
- "module": "icon/icon-name-mixin.js"
126318
- }
126319
- },
126279
+ "name": "SbbLinkCommonElementMixin",
126280
+ "module": "link/common/link-common.js"
126281
+ }
126282
+ ],
126283
+ "parameters": [
126320
126284
  {
126321
- "kind": "field",
126322
- "name": "iconName",
126285
+ "name": "superClass",
126323
126286
  "type": {
126324
- "text": "string"
126325
- },
126326
- "privacy": "public",
126327
- "default": "''",
126328
- "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.",
126329
- "attribute": "icon-name",
126330
- "inheritedFrom": {
126331
- "name": "SbbIconNameMixin",
126332
- "module": "icon/icon-name-mixin.js"
126333
- }
126334
- },
126335
- {
126336
- "kind": "method",
126337
- "name": "renderIconSlot",
126338
- "privacy": "protected",
126339
- "return": {
126340
- "type": {
126341
- "text": "TemplateResult"
126342
- }
126343
- },
126344
- "parameters": [
126345
- {
126346
- "name": "classname",
126347
- "optional": true,
126348
- "type": {
126349
- "text": "string"
126350
- }
126351
- }
126352
- ],
126353
- "inheritedFrom": {
126354
- "name": "SbbIconNameMixin",
126355
- "module": "icon/icon-name-mixin.js"
126356
- }
126357
- },
126358
- {
126359
- "kind": "method",
126360
- "name": "renderIconName",
126361
- "privacy": "protected",
126362
- "return": {
126363
- "type": {
126364
- "text": "string"
126365
- }
126366
- },
126367
- "inheritedFrom": {
126368
- "name": "SbbIconNameMixin",
126369
- "module": "icon/icon-name-mixin.js"
126370
- }
126371
- },
126372
- {
126373
- "kind": "method",
126374
- "name": "_renderIconName",
126375
- "privacy": "private",
126376
- "return": {
126377
- "type": {
126378
- "text": "string"
126379
- }
126380
- },
126381
- "inheritedFrom": {
126382
- "name": "SbbIconNameMixin",
126383
- "module": "icon/icon-name-mixin.js"
126287
+ "text": "T"
126384
126288
  }
126385
126289
  }
126386
126290
  ],
126387
126291
  "attributes": [
126388
- {
126389
- "name": "size",
126390
- "type": {
126391
- "text": "SbbLinkSize"
126392
- },
126393
- "description": "Size variant, either xs, s or m.",
126394
- "default": "'s' / 'xs' (lean)",
126395
- "fieldName": "size"
126396
- },
126397
- {
126398
- "name": "icon-placement",
126399
- "type": {
126400
- "text": "SbbIconPlacement"
126401
- },
126402
- "default": "'start'",
126403
- "description": "Moves the icon to the end of the component if set to true.",
126404
- "fieldName": "iconPlacement"
126405
- },
126406
126292
  {
126407
126293
  "name": "negative",
126408
126294
  "type": {
@@ -126415,37 +126301,6 @@
126415
126301
  "name": "SbbNegativeMixin",
126416
126302
  "module": "core/mixins/negative-mixin.js"
126417
126303
  }
126418
- },
126419
- {
126420
- "name": "icon-name",
126421
- "type": {
126422
- "text": "string"
126423
- },
126424
- "default": "''",
126425
- "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.",
126426
- "fieldName": "iconName",
126427
- "inheritedFrom": {
126428
- "name": "SbbIconNameMixin",
126429
- "module": "icon/icon-name-mixin.js"
126430
- }
126431
- }
126432
- ],
126433
- "mixins": [
126434
- {
126435
- "name": "SbbLinkCommonElementMixin",
126436
- "module": "link/common/link-common.js"
126437
- },
126438
- {
126439
- "name": "SbbIconNameMixin",
126440
- "module": "icon.pure.js"
126441
- }
126442
- ],
126443
- "parameters": [
126444
- {
126445
- "name": "superClass",
126446
- "type": {
126447
- "text": "T"
126448
- }
126449
126304
  }
126450
126305
  ]
126451
126306
  }
@@ -126453,70 +126308,56 @@
126453
126308
  "exports": [
126454
126309
  {
126455
126310
  "kind": "js",
126456
- "name": "SbbBlockLinkCommonElementMixinType",
126311
+ "name": "SbbInlineLinkCommonElementMixinType",
126457
126312
  "declaration": {
126458
- "name": "SbbBlockLinkCommonElementMixinType",
126459
- "module": "link/common/block-link-common.js"
126313
+ "name": "SbbInlineLinkCommonElementMixinType",
126314
+ "module": "link/common/inline-link-common.js"
126460
126315
  }
126461
126316
  },
126462
126317
  {
126463
126318
  "kind": "js",
126464
- "name": "SbbBlockLinkCommonElementMixin",
126319
+ "name": "SbbInlineLinkCommonElementMixin",
126465
126320
  "declaration": {
126466
- "name": "SbbBlockLinkCommonElementMixin",
126467
- "module": "link/common/block-link-common.js"
126321
+ "name": "SbbInlineLinkCommonElementMixin",
126322
+ "module": "link/common/inline-link-common.js"
126468
126323
  }
126469
126324
  }
126470
126325
  ]
126471
126326
  },
126472
126327
  {
126473
126328
  "kind": "javascript-module",
126474
- "path": "link/common/inline-link-common.js",
126329
+ "path": "link/common/link-common.js",
126475
126330
  "declarations": [
126476
126331
  {
126477
126332
  "kind": "class",
126478
126333
  "description": "",
126479
- "name": "SbbInlineLinkCommonElementMixinType",
126334
+ "name": "SbbLinkCommonElementMixinType",
126480
126335
  "mixins": [
126481
126336
  {
126482
- "name": "SbbLinkCommonElementMixin",
126483
- "module": "link/common/link-common.js"
126337
+ "name": "SbbNegativeMixin",
126338
+ "module": "core.js"
126484
126339
  }
126485
126340
  ],
126486
126341
  "superclass": {
126487
126342
  "name": "SbbActionBaseElement",
126488
126343
  "module": "core.js"
126489
126344
  },
126490
- "members": [
126345
+ "attributes": [
126491
126346
  {
126492
- "kind": "field",
126493
- "name": "styles",
126347
+ "name": "negative",
126494
126348
  "type": {
126495
- "text": "CSSResultGroup"
126496
- },
126497
- "privacy": "public",
126498
- "static": true,
126499
- "default": "[unsafeCSS(style)]",
126500
- "inheritedFrom": {
126501
- "name": "SbbLinkCommonElementMixin",
126502
- "module": "link/common/link-common.js"
126503
- }
126504
- },
126505
- {
126506
- "kind": "method",
126507
- "name": "renderTemplate",
126508
- "privacy": "protected",
126509
- "return": {
126510
- "type": {
126511
- "text": "TemplateResult"
126512
- }
126349
+ "text": "boolean"
126513
126350
  },
126514
- "description": "Override this method to render the component template.",
126351
+ "default": "false",
126352
+ "description": "Negative coloring variant flag.",
126353
+ "fieldName": "negative",
126515
126354
  "inheritedFrom": {
126516
- "name": "SbbActionBaseElement",
126517
- "module": "core/base-elements/action-base-element.js"
126355
+ "name": "SbbNegativeMixin",
126356
+ "module": "core/mixins/negative-mixin.js"
126518
126357
  }
126519
- },
126358
+ }
126359
+ ],
126360
+ "members": [
126520
126361
  {
126521
126362
  "kind": "field",
126522
126363
  "name": "negative",
@@ -126573,6 +126414,21 @@
126573
126414
  "module": "core/base-elements/action-base-element.js"
126574
126415
  }
126575
126416
  },
126417
+ {
126418
+ "kind": "method",
126419
+ "name": "renderTemplate",
126420
+ "privacy": "protected",
126421
+ "return": {
126422
+ "type": {
126423
+ "text": "TemplateResult"
126424
+ }
126425
+ },
126426
+ "description": "Override this method to render the component template.",
126427
+ "inheritedFrom": {
126428
+ "name": "SbbActionBaseElement",
126429
+ "module": "core/base-elements/action-base-element.js"
126430
+ }
126431
+ },
126576
126432
  {
126577
126433
  "kind": "field",
126578
126434
  "name": "['_$sbbElement$']",
@@ -126870,27 +126726,12 @@
126870
126726
  "module": "core/base-elements/element.js"
126871
126727
  }
126872
126728
  }
126873
- ],
126874
- "attributes": [
126875
- {
126876
- "name": "negative",
126877
- "type": {
126878
- "text": "boolean"
126879
- },
126880
- "default": "false",
126881
- "description": "Negative coloring variant flag.",
126882
- "fieldName": "negative",
126883
- "inheritedFrom": {
126884
- "name": "SbbNegativeMixin",
126885
- "module": "core/mixins/negative-mixin.js"
126886
- }
126887
- }
126888
126729
  ]
126889
126730
  },
126890
126731
  {
126891
126732
  "kind": "mixin",
126892
126733
  "description": "",
126893
- "name": "SbbInlineLinkCommonElementMixin",
126734
+ "name": "SbbLinkCommonElementMixin",
126894
126735
  "members": [
126895
126736
  {
126896
126737
  "kind": "field",
@@ -126900,11 +126741,7 @@
126900
126741
  },
126901
126742
  "privacy": "public",
126902
126743
  "static": true,
126903
- "default": "[unsafeCSS(inlineStyle)]",
126904
- "inheritedFrom": {
126905
- "name": "SbbLinkCommonElementMixin",
126906
- "module": "link/common/link-common.js"
126907
- }
126744
+ "default": "[unsafeCSS(style)]"
126908
126745
  },
126909
126746
  {
126910
126747
  "kind": "method",
@@ -126914,10 +126751,6 @@
126914
126751
  "type": {
126915
126752
  "text": "TemplateResult"
126916
126753
  }
126917
- },
126918
- "inheritedFrom": {
126919
- "name": "SbbLinkCommonElementMixin",
126920
- "module": "link/common/link-common.js"
126921
126754
  }
126922
126755
  },
126923
126756
  {
@@ -126939,8 +126772,8 @@
126939
126772
  ],
126940
126773
  "mixins": [
126941
126774
  {
126942
- "name": "SbbLinkCommonElementMixin",
126943
- "module": "link/common/link-common.js"
126775
+ "name": "SbbNegativeMixin",
126776
+ "module": "core.js"
126944
126777
  }
126945
126778
  ],
126946
126779
  "parameters": [
@@ -126971,80 +126804,112 @@
126971
126804
  "exports": [
126972
126805
  {
126973
126806
  "kind": "js",
126974
- "name": "SbbInlineLinkCommonElementMixinType",
126807
+ "name": "SbbLinkCommonElementMixinType",
126975
126808
  "declaration": {
126976
- "name": "SbbInlineLinkCommonElementMixinType",
126977
- "module": "link/common/inline-link-common.js"
126809
+ "name": "SbbLinkCommonElementMixinType",
126810
+ "module": "link/common/link-common.js"
126978
126811
  }
126979
126812
  },
126980
126813
  {
126981
126814
  "kind": "js",
126982
- "name": "SbbInlineLinkCommonElementMixin",
126815
+ "name": "SbbLinkCommonElementMixin",
126983
126816
  "declaration": {
126984
- "name": "SbbInlineLinkCommonElementMixin",
126985
- "module": "link/common/inline-link-common.js"
126817
+ "name": "SbbLinkCommonElementMixin",
126818
+ "module": "link/common/link-common.js"
126986
126819
  }
126987
126820
  }
126988
126821
  ]
126989
126822
  },
126990
126823
  {
126991
126824
  "kind": "javascript-module",
126992
- "path": "link/common/link-common.js",
126825
+ "path": "link/block-link-static/block-link-static.component.js",
126993
126826
  "declarations": [
126994
126827
  {
126995
126828
  "kind": "class",
126996
- "description": "",
126997
- "name": "SbbLinkCommonElementMixinType",
126998
- "mixins": [
126829
+ "description": "It displays a static link enhanced with the SBB Design.",
126830
+ "name": "SbbBlockLinkStaticElement",
126831
+ "slots": [
126999
126832
  {
127000
- "name": "SbbNegativeMixin",
127001
- "module": "core.js"
126833
+ "description": "Use the unnamed slot to add content to the `sbb-block-link-static`.",
126834
+ "name": ""
126835
+ },
126836
+ {
126837
+ "description": "Slot used to display the icon, if one is set.",
126838
+ "name": "icon"
127002
126839
  }
127003
126840
  ],
127004
- "superclass": {
127005
- "name": "SbbActionBaseElement",
127006
- "module": "core.js"
127007
- },
127008
- "attributes": [
126841
+ "members": [
127009
126842
  {
127010
- "name": "negative",
126843
+ "kind": "field",
126844
+ "name": "elementName",
127011
126845
  "type": {
127012
- "text": "boolean"
126846
+ "text": "string"
127013
126847
  },
127014
- "default": "false",
127015
- "description": "Negative coloring variant flag.",
127016
- "fieldName": "negative",
126848
+ "privacy": "public",
126849
+ "static": true,
126850
+ "readonly": true,
127017
126851
  "inheritedFrom": {
127018
- "name": "SbbNegativeMixin",
127019
- "module": "core/mixins/negative-mixin.js"
126852
+ "name": "SbbElement",
126853
+ "module": "core/base-elements/element.js"
126854
+ },
126855
+ "default": "'sbb-block-link-static'"
126856
+ },
126857
+ {
126858
+ "kind": "field",
126859
+ "name": "styles",
126860
+ "type": {
126861
+ "text": "CSSResultGroup"
126862
+ },
126863
+ "privacy": "public",
126864
+ "static": true,
126865
+ "default": "[unsafeCSS(blockStyle)]",
126866
+ "inheritedFrom": {
126867
+ "name": "SbbLinkCommonElementMixin",
126868
+ "module": "link/common/link-common.js"
127020
126869
  }
127021
- }
127022
- ],
127023
- "members": [
126870
+ },
127024
126871
  {
127025
126872
  "kind": "field",
127026
- "name": "negative",
126873
+ "name": "size",
127027
126874
  "type": {
127028
- "text": "boolean"
126875
+ "text": "SbbLinkSize"
127029
126876
  },
127030
126877
  "privacy": "public",
127031
- "default": "false",
127032
- "description": "Negative coloring variant flag.",
127033
- "attribute": "negative",
126878
+ "description": "Size variant, either xs, s or m.",
126879
+ "default": "'s' / 'xs' (lean)",
126880
+ "attribute": "size",
127034
126881
  "reflects": true,
127035
126882
  "inheritedFrom": {
127036
- "name": "SbbNegativeMixin",
127037
- "module": "core/mixins/negative-mixin.js"
126883
+ "name": "SbbBlockLinkCommonElementMixin",
126884
+ "module": "link/common/block-link-common.js"
127038
126885
  }
127039
126886
  },
127040
126887
  {
127041
126888
  "kind": "field",
127042
- "name": "maybeDisabled",
126889
+ "name": "iconPlacement",
127043
126890
  "type": {
127044
- "text": "boolean | undefined"
126891
+ "text": "SbbIconPlacement"
127045
126892
  },
126893
+ "privacy": "public",
126894
+ "default": "'start'",
126895
+ "description": "Moves the icon to the end of the component if set to true.",
126896
+ "attribute": "icon-placement",
126897
+ "reflects": true,
126898
+ "inheritedFrom": {
126899
+ "name": "SbbBlockLinkCommonElementMixin",
126900
+ "module": "link/common/block-link-common.js"
126901
+ }
126902
+ },
126903
+ {
126904
+ "kind": "method",
126905
+ "name": "renderTemplate",
127046
126906
  "privacy": "protected",
127047
- "readonly": true,
126907
+ "return": {
126908
+ "type": {
126909
+ "text": "TemplateResult"
126910
+ }
126911
+ },
126912
+ "description": "Override this method to render the component template.",
127048
126913
  "inheritedFrom": {
127049
126914
  "name": "SbbActionBaseElement",
127050
126915
  "module": "core/base-elements/action-base-element.js"
@@ -127052,82 +126917,177 @@
127052
126917
  },
127053
126918
  {
127054
126919
  "kind": "field",
127055
- "name": "maybeDisabledInteractive",
126920
+ "name": "elementDependencies",
127056
126921
  "type": {
127057
- "text": "boolean | undefined"
126922
+ "text": "SbbElementType[]"
127058
126923
  },
127059
- "privacy": "protected",
127060
- "readonly": true,
126924
+ "privacy": "public",
126925
+ "static": true,
127061
126926
  "inheritedFrom": {
127062
- "name": "SbbActionBaseElement",
127063
- "module": "core/base-elements/action-base-element.js"
126927
+ "name": "SbbElement",
126928
+ "module": "core/base-elements/element.js"
126929
+ },
126930
+ "default": "[SbbIconElement]"
126931
+ },
126932
+ {
126933
+ "kind": "field",
126934
+ "name": "iconName",
126935
+ "type": {
126936
+ "text": "string"
126937
+ },
126938
+ "privacy": "public",
126939
+ "default": "''",
126940
+ "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.",
126941
+ "attribute": "icon-name",
126942
+ "inheritedFrom": {
126943
+ "name": "SbbIconNameMixin",
126944
+ "module": "icon/icon-name-mixin.js"
127064
126945
  }
127065
126946
  },
127066
126947
  {
127067
126948
  "kind": "method",
127068
- "name": "setupBaseEventHandlers",
126949
+ "name": "renderIconSlot",
127069
126950
  "privacy": "protected",
127070
126951
  "return": {
127071
126952
  "type": {
127072
- "text": "void"
126953
+ "text": "TemplateResult"
127073
126954
  }
127074
126955
  },
126956
+ "parameters": [
126957
+ {
126958
+ "name": "classname",
126959
+ "optional": true,
126960
+ "type": {
126961
+ "text": "string"
126962
+ }
126963
+ }
126964
+ ],
127075
126965
  "inheritedFrom": {
127076
- "name": "SbbActionBaseElement",
127077
- "module": "core/base-elements/action-base-element.js"
126966
+ "name": "SbbIconNameMixin",
126967
+ "module": "icon/icon-name-mixin.js"
127078
126968
  }
127079
126969
  },
127080
126970
  {
127081
126971
  "kind": "method",
127082
- "name": "renderTemplate",
126972
+ "name": "renderIconName",
127083
126973
  "privacy": "protected",
127084
126974
  "return": {
127085
126975
  "type": {
127086
- "text": "TemplateResult"
126976
+ "text": "string"
127087
126977
  }
127088
126978
  },
127089
- "description": "Override this method to render the component template.",
127090
126979
  "inheritedFrom": {
127091
- "name": "SbbActionBaseElement",
127092
- "module": "core/base-elements/action-base-element.js"
126980
+ "name": "SbbIconNameMixin",
126981
+ "module": "icon/icon-name-mixin.js"
126982
+ }
126983
+ },
126984
+ {
126985
+ "kind": "method",
126986
+ "name": "_renderIconName",
126987
+ "privacy": "private",
126988
+ "return": {
126989
+ "type": {
126990
+ "text": "string"
126991
+ }
126992
+ },
126993
+ "inheritedFrom": {
126994
+ "name": "SbbIconNameMixin",
126995
+ "module": "icon/icon-name-mixin.js"
127093
126996
  }
127094
126997
  },
127095
126998
  {
127096
126999
  "kind": "field",
127097
- "name": "['_$sbbElement$']",
127000
+ "name": "disabled",
127001
+ "privacy": "public",
127002
+ "description": "Whether the component is disabled.",
127003
+ "default": "false",
127098
127004
  "type": {
127099
127005
  "text": "boolean"
127100
127006
  },
127101
- "privacy": "public",
127102
- "static": true,
127103
- "default": "true",
127007
+ "attribute": "disabled",
127008
+ "reflects": true,
127104
127009
  "inheritedFrom": {
127105
- "name": "SbbElement",
127106
- "module": "core/base-elements/element.js"
127010
+ "name": "SbbDisabledMixin",
127011
+ "module": "core/mixins/disabled-mixin.js"
127107
127012
  }
127108
127013
  },
127109
127014
  {
127110
127015
  "kind": "field",
127111
- "name": "elementName",
127016
+ "name": "#disabled",
127017
+ "privacy": "private",
127112
127018
  "type": {
127113
- "text": "string"
127019
+ "text": "boolean"
127114
127020
  },
127115
- "privacy": "public",
127116
- "static": true,
127021
+ "default": "false",
127022
+ "inheritedFrom": {
127023
+ "name": "SbbDisabledMixin",
127024
+ "module": "core/mixins/disabled-mixin.js"
127025
+ }
127026
+ },
127027
+ {
127028
+ "kind": "method",
127029
+ "name": "isDisabledExternally",
127030
+ "privacy": "protected",
127031
+ "return": {
127032
+ "type": {
127033
+ "text": "boolean"
127034
+ }
127035
+ },
127036
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
127037
+ "inheritedFrom": {
127038
+ "name": "SbbDisabledMixin",
127039
+ "module": "core/mixins/disabled-mixin.js"
127040
+ }
127041
+ },
127042
+ {
127043
+ "kind": "field",
127044
+ "name": "maybeDisabled",
127045
+ "type": {
127046
+ "text": "boolean | undefined"
127047
+ },
127048
+ "privacy": "protected",
127117
127049
  "readonly": true,
127118
127050
  "inheritedFrom": {
127119
- "name": "SbbElement",
127120
- "module": "core/base-elements/element.js"
127051
+ "name": "SbbActionBaseElement",
127052
+ "module": "core/base-elements/action-base-element.js"
127121
127053
  }
127122
127054
  },
127123
127055
  {
127124
127056
  "kind": "field",
127125
- "name": "elementDependencies",
127057
+ "name": "maybeDisabledInteractive",
127126
127058
  "type": {
127127
- "text": "SbbElementType[] | undefined"
127059
+ "text": "boolean | undefined"
127060
+ },
127061
+ "privacy": "protected",
127062
+ "readonly": true,
127063
+ "inheritedFrom": {
127064
+ "name": "SbbActionBaseElement",
127065
+ "module": "core/base-elements/action-base-element.js"
127066
+ }
127067
+ },
127068
+ {
127069
+ "kind": "method",
127070
+ "name": "setupBaseEventHandlers",
127071
+ "privacy": "protected",
127072
+ "return": {
127073
+ "type": {
127074
+ "text": "void"
127075
+ }
127076
+ },
127077
+ "inheritedFrom": {
127078
+ "name": "SbbActionBaseElement",
127079
+ "module": "core/base-elements/action-base-element.js"
127080
+ }
127081
+ },
127082
+ {
127083
+ "kind": "field",
127084
+ "name": "['_$sbbElement$']",
127085
+ "type": {
127086
+ "text": "boolean"
127128
127087
  },
127129
127088
  "privacy": "public",
127130
127089
  "static": true,
127090
+ "default": "true",
127131
127091
  "inheritedFrom": {
127132
127092
  "name": "SbbElement",
127133
127093
  "module": "core/base-elements/element.js"
@@ -127389,76 +127349,74 @@
127389
127349
  "module": "core/base-elements/element.js"
127390
127350
  }
127391
127351
  }
127392
- ]
127393
- },
127394
- {
127395
- "kind": "mixin",
127396
- "description": "",
127397
- "name": "SbbLinkCommonElementMixin",
127398
- "members": [
127352
+ ],
127353
+ "mixins": [
127399
127354
  {
127400
- "kind": "field",
127401
- "name": "styles",
127402
- "type": {
127403
- "text": "CSSResultGroup"
127404
- },
127405
- "privacy": "public",
127406
- "static": true,
127407
- "default": "[unsafeCSS(style)]"
127355
+ "name": "SbbBlockLinkCommonElementMixin",
127356
+ "module": "link/common/block-link-common.js"
127408
127357
  },
127409
127358
  {
127410
- "kind": "method",
127411
- "name": "renderTemplate",
127412
- "privacy": "protected",
127413
- "return": {
127414
- "type": {
127415
- "text": "TemplateResult"
127416
- }
127359
+ "name": "SbbDisabledMixin",
127360
+ "module": "core.js"
127361
+ }
127362
+ ],
127363
+ "superclass": {
127364
+ "name": "SbbActionBaseElement",
127365
+ "module": "core.js"
127366
+ },
127367
+ "tagName": "sbb-block-link-static",
127368
+ "customElement": true,
127369
+ "attributes": [
127370
+ {
127371
+ "name": "size",
127372
+ "type": {
127373
+ "text": "SbbLinkSize"
127374
+ },
127375
+ "description": "Size variant, either xs, s or m.",
127376
+ "default": "'s' / 'xs' (lean)",
127377
+ "fieldName": "size",
127378
+ "inheritedFrom": {
127379
+ "name": "SbbBlockLinkCommonElementMixin",
127380
+ "module": "link/common/block-link-common.js"
127417
127381
  }
127418
127382
  },
127419
127383
  {
127420
- "kind": "field",
127421
- "name": "negative",
127384
+ "name": "icon-placement",
127422
127385
  "type": {
127423
- "text": "boolean"
127386
+ "text": "SbbIconPlacement"
127424
127387
  },
127425
- "privacy": "public",
127426
- "default": "false",
127427
- "description": "Negative coloring variant flag.",
127428
- "attribute": "negative",
127429
- "reflects": true,
127388
+ "default": "'start'",
127389
+ "description": "Moves the icon to the end of the component if set to true.",
127390
+ "fieldName": "iconPlacement",
127430
127391
  "inheritedFrom": {
127431
- "name": "SbbNegativeMixin",
127432
- "module": "core/mixins/negative-mixin.js"
127392
+ "name": "SbbBlockLinkCommonElementMixin",
127393
+ "module": "link/common/block-link-common.js"
127433
127394
  }
127434
- }
127435
- ],
127436
- "mixins": [
127437
- {
127438
- "name": "SbbNegativeMixin",
127439
- "module": "core.js"
127440
- }
127441
- ],
127442
- "parameters": [
127395
+ },
127443
127396
  {
127444
- "name": "superClass",
127397
+ "name": "icon-name",
127445
127398
  "type": {
127446
- "text": "T"
127399
+ "text": "string"
127400
+ },
127401
+ "default": "''",
127402
+ "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.",
127403
+ "fieldName": "iconName",
127404
+ "inheritedFrom": {
127405
+ "name": "SbbIconNameMixin",
127406
+ "module": "icon/icon-name-mixin.js"
127447
127407
  }
127448
- }
127449
- ],
127450
- "attributes": [
127408
+ },
127451
127409
  {
127452
- "name": "negative",
127410
+ "name": "disabled",
127411
+ "description": "Whether the component is disabled.",
127412
+ "default": "false",
127453
127413
  "type": {
127454
127414
  "text": "boolean"
127455
127415
  },
127456
- "default": "false",
127457
- "description": "Negative coloring variant flag.",
127458
- "fieldName": "negative",
127416
+ "fieldName": "disabled",
127459
127417
  "inheritedFrom": {
127460
- "name": "SbbNegativeMixin",
127461
- "module": "core/mixins/negative-mixin.js"
127418
+ "name": "SbbDisabledMixin",
127419
+ "module": "core/mixins/disabled-mixin.js"
127462
127420
  }
127463
127421
  }
127464
127422
  ]
@@ -127467,18 +127425,10 @@
127467
127425
  "exports": [
127468
127426
  {
127469
127427
  "kind": "js",
127470
- "name": "SbbLinkCommonElementMixinType",
127471
- "declaration": {
127472
- "name": "SbbLinkCommonElementMixinType",
127473
- "module": "link/common/link-common.js"
127474
- }
127475
- },
127476
- {
127477
- "kind": "js",
127478
- "name": "SbbLinkCommonElementMixin",
127428
+ "name": "SbbBlockLinkStaticElement",
127479
127429
  "declaration": {
127480
- "name": "SbbLinkCommonElementMixin",
127481
- "module": "link/common/link-common.js"
127430
+ "name": "SbbBlockLinkStaticElement",
127431
+ "module": "link/block-link-static/block-link-static.component.js"
127482
127432
  }
127483
127433
  }
127484
127434
  ]
@@ -153595,6 +153545,430 @@
153595
153545
  }
153596
153546
  ]
153597
153547
  },
153548
+ {
153549
+ "kind": "javascript-module",
153550
+ "path": "table/table-wrapper/table-wrapper.component.js",
153551
+ "declarations": [
153552
+ {
153553
+ "kind": "class",
153554
+ "description": "Wraps a table to enhance its functionality.",
153555
+ "name": "SbbTableWrapperElement",
153556
+ "slots": [
153557
+ {
153558
+ "description": "Use the unnamed slot to add the table.",
153559
+ "name": ""
153560
+ }
153561
+ ],
153562
+ "members": [
153563
+ {
153564
+ "kind": "field",
153565
+ "name": "elementName",
153566
+ "type": {
153567
+ "text": "string"
153568
+ },
153569
+ "privacy": "public",
153570
+ "static": true,
153571
+ "readonly": true,
153572
+ "default": "'sbb-table-wrapper'",
153573
+ "inheritedFrom": {
153574
+ "name": "SbbElement",
153575
+ "module": "core/base-elements/element.js"
153576
+ }
153577
+ },
153578
+ {
153579
+ "kind": "field",
153580
+ "name": "role",
153581
+ "type": {
153582
+ "text": "string"
153583
+ },
153584
+ "privacy": "public",
153585
+ "static": true,
153586
+ "readonly": true,
153587
+ "default": "'section'",
153588
+ "inheritedFrom": {
153589
+ "name": "SbbElement",
153590
+ "module": "core/base-elements/element.js"
153591
+ }
153592
+ },
153593
+ {
153594
+ "kind": "field",
153595
+ "name": "focusable",
153596
+ "type": {
153597
+ "text": "boolean"
153598
+ },
153599
+ "privacy": "public",
153600
+ "default": "false",
153601
+ "description": "Whether the table wrapper is focusable.",
153602
+ "attribute": "focusable",
153603
+ "reflects": true
153604
+ },
153605
+ {
153606
+ "kind": "method",
153607
+ "name": "_updateScrollbarClass",
153608
+ "privacy": "private",
153609
+ "return": {
153610
+ "type": {
153611
+ "text": "void"
153612
+ }
153613
+ }
153614
+ },
153615
+ {
153616
+ "kind": "method",
153617
+ "name": "_checkHorizontalScrollbarOffset",
153618
+ "privacy": "private",
153619
+ "return": {
153620
+ "type": {
153621
+ "text": "void"
153622
+ }
153623
+ },
153624
+ "description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
153625
+ },
153626
+ {
153627
+ "kind": "method",
153628
+ "name": "_calculateScrollOffset",
153629
+ "privacy": "private",
153630
+ "return": {
153631
+ "type": {
153632
+ "text": "'none' | 'left' | 'right' | 'both'"
153633
+ }
153634
+ }
153635
+ },
153636
+ {
153637
+ "kind": "field",
153638
+ "name": "negative",
153639
+ "type": {
153640
+ "text": "boolean"
153641
+ },
153642
+ "privacy": "public",
153643
+ "default": "false",
153644
+ "description": "Negative coloring variant flag.",
153645
+ "attribute": "negative",
153646
+ "reflects": true,
153647
+ "inheritedFrom": {
153648
+ "name": "SbbNegativeMixin",
153649
+ "module": "core/mixins/negative-mixin.js"
153650
+ }
153651
+ },
153652
+ {
153653
+ "kind": "field",
153654
+ "name": "['_$sbbElement$']",
153655
+ "type": {
153656
+ "text": "boolean"
153657
+ },
153658
+ "privacy": "public",
153659
+ "static": true,
153660
+ "default": "true",
153661
+ "inheritedFrom": {
153662
+ "name": "SbbElement",
153663
+ "module": "core/base-elements/element.js"
153664
+ }
153665
+ },
153666
+ {
153667
+ "kind": "field",
153668
+ "name": "elementDependencies",
153669
+ "type": {
153670
+ "text": "SbbElementType[] | undefined"
153671
+ },
153672
+ "privacy": "public",
153673
+ "static": true,
153674
+ "inheritedFrom": {
153675
+ "name": "SbbElement",
153676
+ "module": "core/base-elements/element.js"
153677
+ }
153678
+ },
153679
+ {
153680
+ "kind": "field",
153681
+ "name": "_controllers",
153682
+ "type": {
153683
+ "text": "Set<SbbReactiveController> | undefined"
153684
+ },
153685
+ "privacy": "private",
153686
+ "inheritedFrom": {
153687
+ "name": "SbbElement",
153688
+ "module": "core/base-elements/element.js"
153689
+ }
153690
+ },
153691
+ {
153692
+ "kind": "field",
153693
+ "name": "_hydrationRequired",
153694
+ "type": {
153695
+ "text": "boolean"
153696
+ },
153697
+ "privacy": "private",
153698
+ "default": "!!this.shadowRoot",
153699
+ "inheritedFrom": {
153700
+ "name": "SbbElement",
153701
+ "module": "core/base-elements/element.js"
153702
+ }
153703
+ },
153704
+ {
153705
+ "kind": "field",
153706
+ "name": "_hydrationComplete",
153707
+ "privacy": "private",
153708
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
153709
+ "inheritedFrom": {
153710
+ "name": "SbbElement",
153711
+ "module": "core/base-elements/element.js"
153712
+ }
153713
+ },
153714
+ {
153715
+ "kind": "field",
153716
+ "name": "_resolveHydration",
153717
+ "type": {
153718
+ "text": "(hydrationRequired: boolean) => void"
153719
+ },
153720
+ "privacy": "private",
153721
+ "inheritedFrom": {
153722
+ "name": "SbbElement",
153723
+ "module": "core/base-elements/element.js"
153724
+ }
153725
+ },
153726
+ {
153727
+ "kind": "field",
153728
+ "name": "_textObserver",
153729
+ "type": {
153730
+ "text": "MutationObserver | undefined"
153731
+ },
153732
+ "privacy": "private",
153733
+ "inheritedFrom": {
153734
+ "name": "SbbElement",
153735
+ "module": "core/base-elements/element.js"
153736
+ }
153737
+ },
153738
+ {
153739
+ "kind": "field",
153740
+ "name": "hydrationRequired",
153741
+ "type": {
153742
+ "text": "boolean"
153743
+ },
153744
+ "privacy": "protected",
153745
+ "description": "Returns whether hydration is required and not completed.",
153746
+ "readonly": true,
153747
+ "inheritedFrom": {
153748
+ "name": "SbbElement",
153749
+ "module": "core/base-elements/element.js"
153750
+ },
153751
+ "default": "!!this.shadowRoot"
153752
+ },
153753
+ {
153754
+ "kind": "method",
153755
+ "name": "finalizeStyles",
153756
+ "privacy": "protected",
153757
+ "static": true,
153758
+ "return": {
153759
+ "type": {
153760
+ "text": "CSSResultOrNative[]"
153761
+ }
153762
+ },
153763
+ "parameters": [
153764
+ {
153765
+ "name": "_styles",
153766
+ "type": {
153767
+ "text": "CSSResultGroup"
153768
+ }
153769
+ }
153770
+ ],
153771
+ "description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
153772
+ "inheritedFrom": {
153773
+ "name": "SbbElement",
153774
+ "module": "core/base-elements/element.js"
153775
+ }
153776
+ },
153777
+ {
153778
+ "kind": "method",
153779
+ "name": "toggleState",
153780
+ "privacy": "protected",
153781
+ "return": {
153782
+ "type": {
153783
+ "text": "void"
153784
+ }
153785
+ },
153786
+ "parameters": [
153787
+ {
153788
+ "name": "value",
153789
+ "type": {
153790
+ "text": "string"
153791
+ }
153792
+ },
153793
+ {
153794
+ "name": "force",
153795
+ "optional": true,
153796
+ "type": {
153797
+ "text": "boolean"
153798
+ }
153799
+ }
153800
+ ],
153801
+ "inheritedFrom": {
153802
+ "name": "SbbElement",
153803
+ "module": "core/base-elements/element.js"
153804
+ }
153805
+ },
153806
+ {
153807
+ "kind": "method",
153808
+ "name": "_slotchangeHandler",
153809
+ "privacy": "private",
153810
+ "return": {
153811
+ "type": {
153812
+ "text": "void"
153813
+ }
153814
+ },
153815
+ "parameters": [
153816
+ {
153817
+ "name": "event",
153818
+ "type": {
153819
+ "text": "Event"
153820
+ }
153821
+ },
153822
+ {
153823
+ "name": "slot",
153824
+ "type": {
153825
+ "text": "HTMLSlotElement"
153826
+ }
153827
+ }
153828
+ ],
153829
+ "inheritedFrom": {
153830
+ "name": "SbbElement",
153831
+ "module": "core/base-elements/element.js"
153832
+ }
153833
+ },
153834
+ {
153835
+ "kind": "method",
153836
+ "name": "_handleSlotChangeForSlottedState",
153837
+ "privacy": "private",
153838
+ "return": {
153839
+ "type": {
153840
+ "text": "void"
153841
+ }
153842
+ },
153843
+ "parameters": [
153844
+ {
153845
+ "name": "slot",
153846
+ "type": {
153847
+ "text": "HTMLSlotElement"
153848
+ }
153849
+ }
153850
+ ],
153851
+ "inheritedFrom": {
153852
+ "name": "SbbElement",
153853
+ "module": "core/base-elements/element.js"
153854
+ }
153855
+ },
153856
+ {
153857
+ "kind": "method",
153858
+ "name": "_updateSlottedState",
153859
+ "privacy": "private",
153860
+ "return": {
153861
+ "type": {
153862
+ "text": "void"
153863
+ }
153864
+ },
153865
+ "parameters": [
153866
+ {
153867
+ "name": "slot",
153868
+ "type": {
153869
+ "text": "HTMLSlotElement"
153870
+ }
153871
+ }
153872
+ ],
153873
+ "inheritedFrom": {
153874
+ "name": "SbbElement",
153875
+ "module": "core/base-elements/element.js"
153876
+ }
153877
+ },
153878
+ {
153879
+ "kind": "method",
153880
+ "name": "_observeTextNodesInSlot",
153881
+ "privacy": "private",
153882
+ "return": {
153883
+ "type": {
153884
+ "text": "void"
153885
+ }
153886
+ },
153887
+ "parameters": [
153888
+ {
153889
+ "name": "slot",
153890
+ "type": {
153891
+ "text": "HTMLSlotElement"
153892
+ }
153893
+ }
153894
+ ],
153895
+ "inheritedFrom": {
153896
+ "name": "SbbElement",
153897
+ "module": "core/base-elements/element.js"
153898
+ }
153899
+ },
153900
+ {
153901
+ "kind": "method",
153902
+ "name": "_hasSlottedContent",
153903
+ "privacy": "private",
153904
+ "return": {
153905
+ "type": {
153906
+ "text": "boolean"
153907
+ }
153908
+ },
153909
+ "parameters": [
153910
+ {
153911
+ "name": "slot",
153912
+ "type": {
153913
+ "text": "HTMLSlotElement"
153914
+ }
153915
+ }
153916
+ ],
153917
+ "inheritedFrom": {
153918
+ "name": "SbbElement",
153919
+ "module": "core/base-elements/element.js"
153920
+ }
153921
+ }
153922
+ ],
153923
+ "attributes": [
153924
+ {
153925
+ "name": "focusable",
153926
+ "type": {
153927
+ "text": "boolean"
153928
+ },
153929
+ "default": "false",
153930
+ "description": "Whether the table wrapper is focusable.",
153931
+ "fieldName": "focusable"
153932
+ },
153933
+ {
153934
+ "name": "negative",
153935
+ "type": {
153936
+ "text": "boolean"
153937
+ },
153938
+ "default": "false",
153939
+ "description": "Negative coloring variant flag.",
153940
+ "fieldName": "negative",
153941
+ "inheritedFrom": {
153942
+ "name": "SbbNegativeMixin",
153943
+ "module": "core/mixins/negative-mixin.js"
153944
+ }
153945
+ }
153946
+ ],
153947
+ "mixins": [
153948
+ {
153949
+ "name": "SbbNegativeMixin",
153950
+ "module": "core.js"
153951
+ }
153952
+ ],
153953
+ "superclass": {
153954
+ "name": "SbbElement",
153955
+ "module": "core.js"
153956
+ },
153957
+ "tagName": "sbb-table-wrapper",
153958
+ "customElement": true
153959
+ }
153960
+ ],
153961
+ "exports": [
153962
+ {
153963
+ "kind": "js",
153964
+ "name": "SbbTableWrapperElement",
153965
+ "declaration": {
153966
+ "name": "SbbTableWrapperElement",
153967
+ "module": "table/table-wrapper/table-wrapper.component.js"
153968
+ }
153969
+ }
153970
+ ]
153971
+ },
153598
153972
  {
153599
153973
  "kind": "javascript-module",
153600
153974
  "path": "stepper/stepper/stepper.component.js",
@@ -154404,430 +154778,6 @@
154404
154778
  }
154405
154779
  ]
154406
154780
  },
154407
- {
154408
- "kind": "javascript-module",
154409
- "path": "table/table-wrapper/table-wrapper.component.js",
154410
- "declarations": [
154411
- {
154412
- "kind": "class",
154413
- "description": "Wraps a table to enhance its functionality.",
154414
- "name": "SbbTableWrapperElement",
154415
- "slots": [
154416
- {
154417
- "description": "Use the unnamed slot to add the table.",
154418
- "name": ""
154419
- }
154420
- ],
154421
- "members": [
154422
- {
154423
- "kind": "field",
154424
- "name": "elementName",
154425
- "type": {
154426
- "text": "string"
154427
- },
154428
- "privacy": "public",
154429
- "static": true,
154430
- "readonly": true,
154431
- "default": "'sbb-table-wrapper'",
154432
- "inheritedFrom": {
154433
- "name": "SbbElement",
154434
- "module": "core/base-elements/element.js"
154435
- }
154436
- },
154437
- {
154438
- "kind": "field",
154439
- "name": "role",
154440
- "type": {
154441
- "text": "string"
154442
- },
154443
- "privacy": "public",
154444
- "static": true,
154445
- "readonly": true,
154446
- "default": "'section'",
154447
- "inheritedFrom": {
154448
- "name": "SbbElement",
154449
- "module": "core/base-elements/element.js"
154450
- }
154451
- },
154452
- {
154453
- "kind": "field",
154454
- "name": "focusable",
154455
- "type": {
154456
- "text": "boolean"
154457
- },
154458
- "privacy": "public",
154459
- "default": "false",
154460
- "description": "Whether the table wrapper is focusable.",
154461
- "attribute": "focusable",
154462
- "reflects": true
154463
- },
154464
- {
154465
- "kind": "method",
154466
- "name": "_updateScrollbarClass",
154467
- "privacy": "private",
154468
- "return": {
154469
- "type": {
154470
- "text": "void"
154471
- }
154472
- }
154473
- },
154474
- {
154475
- "kind": "method",
154476
- "name": "_checkHorizontalScrollbarOffset",
154477
- "privacy": "private",
154478
- "return": {
154479
- "type": {
154480
- "text": "void"
154481
- }
154482
- },
154483
- "description": "Calculates whether the table is horizontally scrolled and adds the\ncorresponding class `sbb-table-wrapper-offset-${none | left | right | both}`"
154484
- },
154485
- {
154486
- "kind": "method",
154487
- "name": "_calculateScrollOffset",
154488
- "privacy": "private",
154489
- "return": {
154490
- "type": {
154491
- "text": "'none' | 'left' | 'right' | 'both'"
154492
- }
154493
- }
154494
- },
154495
- {
154496
- "kind": "field",
154497
- "name": "negative",
154498
- "type": {
154499
- "text": "boolean"
154500
- },
154501
- "privacy": "public",
154502
- "default": "false",
154503
- "description": "Negative coloring variant flag.",
154504
- "attribute": "negative",
154505
- "reflects": true,
154506
- "inheritedFrom": {
154507
- "name": "SbbNegativeMixin",
154508
- "module": "core/mixins/negative-mixin.js"
154509
- }
154510
- },
154511
- {
154512
- "kind": "field",
154513
- "name": "['_$sbbElement$']",
154514
- "type": {
154515
- "text": "boolean"
154516
- },
154517
- "privacy": "public",
154518
- "static": true,
154519
- "default": "true",
154520
- "inheritedFrom": {
154521
- "name": "SbbElement",
154522
- "module": "core/base-elements/element.js"
154523
- }
154524
- },
154525
- {
154526
- "kind": "field",
154527
- "name": "elementDependencies",
154528
- "type": {
154529
- "text": "SbbElementType[] | undefined"
154530
- },
154531
- "privacy": "public",
154532
- "static": true,
154533
- "inheritedFrom": {
154534
- "name": "SbbElement",
154535
- "module": "core/base-elements/element.js"
154536
- }
154537
- },
154538
- {
154539
- "kind": "field",
154540
- "name": "_controllers",
154541
- "type": {
154542
- "text": "Set<SbbReactiveController> | undefined"
154543
- },
154544
- "privacy": "private",
154545
- "inheritedFrom": {
154546
- "name": "SbbElement",
154547
- "module": "core/base-elements/element.js"
154548
- }
154549
- },
154550
- {
154551
- "kind": "field",
154552
- "name": "_hydrationRequired",
154553
- "type": {
154554
- "text": "boolean"
154555
- },
154556
- "privacy": "private",
154557
- "default": "!!this.shadowRoot",
154558
- "inheritedFrom": {
154559
- "name": "SbbElement",
154560
- "module": "core/base-elements/element.js"
154561
- }
154562
- },
154563
- {
154564
- "kind": "field",
154565
- "name": "_hydrationComplete",
154566
- "privacy": "private",
154567
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
154568
- "inheritedFrom": {
154569
- "name": "SbbElement",
154570
- "module": "core/base-elements/element.js"
154571
- }
154572
- },
154573
- {
154574
- "kind": "field",
154575
- "name": "_resolveHydration",
154576
- "type": {
154577
- "text": "(hydrationRequired: boolean) => void"
154578
- },
154579
- "privacy": "private",
154580
- "inheritedFrom": {
154581
- "name": "SbbElement",
154582
- "module": "core/base-elements/element.js"
154583
- }
154584
- },
154585
- {
154586
- "kind": "field",
154587
- "name": "_textObserver",
154588
- "type": {
154589
- "text": "MutationObserver | undefined"
154590
- },
154591
- "privacy": "private",
154592
- "inheritedFrom": {
154593
- "name": "SbbElement",
154594
- "module": "core/base-elements/element.js"
154595
- }
154596
- },
154597
- {
154598
- "kind": "field",
154599
- "name": "hydrationRequired",
154600
- "type": {
154601
- "text": "boolean"
154602
- },
154603
- "privacy": "protected",
154604
- "description": "Returns whether hydration is required and not completed.",
154605
- "readonly": true,
154606
- "inheritedFrom": {
154607
- "name": "SbbElement",
154608
- "module": "core/base-elements/element.js"
154609
- },
154610
- "default": "!!this.shadowRoot"
154611
- },
154612
- {
154613
- "kind": "method",
154614
- "name": "finalizeStyles",
154615
- "privacy": "protected",
154616
- "static": true,
154617
- "return": {
154618
- "type": {
154619
- "text": "CSSResultOrNative[]"
154620
- }
154621
- },
154622
- "parameters": [
154623
- {
154624
- "name": "_styles",
154625
- "type": {
154626
- "text": "CSSResultGroup"
154627
- }
154628
- }
154629
- ],
154630
- "description": "Collects `styles` from every class in the prototype chain (using `Object.hasOwn`)\nand merges them in top-down order. This means each class/mixin only needs to declare\nits **own** styles — there is no need to reference `super.styles`.\n\nLit's default behaviour already walks the chain, but fails for mixins where\n`super.styles` resolves to the wrong class. This override fixes that.",
154631
- "inheritedFrom": {
154632
- "name": "SbbElement",
154633
- "module": "core/base-elements/element.js"
154634
- }
154635
- },
154636
- {
154637
- "kind": "method",
154638
- "name": "toggleState",
154639
- "privacy": "protected",
154640
- "return": {
154641
- "type": {
154642
- "text": "void"
154643
- }
154644
- },
154645
- "parameters": [
154646
- {
154647
- "name": "value",
154648
- "type": {
154649
- "text": "string"
154650
- }
154651
- },
154652
- {
154653
- "name": "force",
154654
- "optional": true,
154655
- "type": {
154656
- "text": "boolean"
154657
- }
154658
- }
154659
- ],
154660
- "inheritedFrom": {
154661
- "name": "SbbElement",
154662
- "module": "core/base-elements/element.js"
154663
- }
154664
- },
154665
- {
154666
- "kind": "method",
154667
- "name": "_slotchangeHandler",
154668
- "privacy": "private",
154669
- "return": {
154670
- "type": {
154671
- "text": "void"
154672
- }
154673
- },
154674
- "parameters": [
154675
- {
154676
- "name": "event",
154677
- "type": {
154678
- "text": "Event"
154679
- }
154680
- },
154681
- {
154682
- "name": "slot",
154683
- "type": {
154684
- "text": "HTMLSlotElement"
154685
- }
154686
- }
154687
- ],
154688
- "inheritedFrom": {
154689
- "name": "SbbElement",
154690
- "module": "core/base-elements/element.js"
154691
- }
154692
- },
154693
- {
154694
- "kind": "method",
154695
- "name": "_handleSlotChangeForSlottedState",
154696
- "privacy": "private",
154697
- "return": {
154698
- "type": {
154699
- "text": "void"
154700
- }
154701
- },
154702
- "parameters": [
154703
- {
154704
- "name": "slot",
154705
- "type": {
154706
- "text": "HTMLSlotElement"
154707
- }
154708
- }
154709
- ],
154710
- "inheritedFrom": {
154711
- "name": "SbbElement",
154712
- "module": "core/base-elements/element.js"
154713
- }
154714
- },
154715
- {
154716
- "kind": "method",
154717
- "name": "_updateSlottedState",
154718
- "privacy": "private",
154719
- "return": {
154720
- "type": {
154721
- "text": "void"
154722
- }
154723
- },
154724
- "parameters": [
154725
- {
154726
- "name": "slot",
154727
- "type": {
154728
- "text": "HTMLSlotElement"
154729
- }
154730
- }
154731
- ],
154732
- "inheritedFrom": {
154733
- "name": "SbbElement",
154734
- "module": "core/base-elements/element.js"
154735
- }
154736
- },
154737
- {
154738
- "kind": "method",
154739
- "name": "_observeTextNodesInSlot",
154740
- "privacy": "private",
154741
- "return": {
154742
- "type": {
154743
- "text": "void"
154744
- }
154745
- },
154746
- "parameters": [
154747
- {
154748
- "name": "slot",
154749
- "type": {
154750
- "text": "HTMLSlotElement"
154751
- }
154752
- }
154753
- ],
154754
- "inheritedFrom": {
154755
- "name": "SbbElement",
154756
- "module": "core/base-elements/element.js"
154757
- }
154758
- },
154759
- {
154760
- "kind": "method",
154761
- "name": "_hasSlottedContent",
154762
- "privacy": "private",
154763
- "return": {
154764
- "type": {
154765
- "text": "boolean"
154766
- }
154767
- },
154768
- "parameters": [
154769
- {
154770
- "name": "slot",
154771
- "type": {
154772
- "text": "HTMLSlotElement"
154773
- }
154774
- }
154775
- ],
154776
- "inheritedFrom": {
154777
- "name": "SbbElement",
154778
- "module": "core/base-elements/element.js"
154779
- }
154780
- }
154781
- ],
154782
- "attributes": [
154783
- {
154784
- "name": "focusable",
154785
- "type": {
154786
- "text": "boolean"
154787
- },
154788
- "default": "false",
154789
- "description": "Whether the table wrapper is focusable.",
154790
- "fieldName": "focusable"
154791
- },
154792
- {
154793
- "name": "negative",
154794
- "type": {
154795
- "text": "boolean"
154796
- },
154797
- "default": "false",
154798
- "description": "Negative coloring variant flag.",
154799
- "fieldName": "negative",
154800
- "inheritedFrom": {
154801
- "name": "SbbNegativeMixin",
154802
- "module": "core/mixins/negative-mixin.js"
154803
- }
154804
- }
154805
- ],
154806
- "mixins": [
154807
- {
154808
- "name": "SbbNegativeMixin",
154809
- "module": "core.js"
154810
- }
154811
- ],
154812
- "superclass": {
154813
- "name": "SbbElement",
154814
- "module": "core.js"
154815
- },
154816
- "tagName": "sbb-table-wrapper",
154817
- "customElement": true
154818
- }
154819
- ],
154820
- "exports": [
154821
- {
154822
- "kind": "js",
154823
- "name": "SbbTableWrapperElement",
154824
- "declaration": {
154825
- "name": "SbbTableWrapperElement",
154826
- "module": "table/table-wrapper/table-wrapper.component.js"
154827
- }
154828
- }
154829
- ]
154830
- },
154831
154781
  {
154832
154782
  "kind": "javascript-module",
154833
154783
  "path": "tabs/common/styles.js",