@sbb-esta/lyne-elements-dev 4.5.1-dev.1771887437 → 4.5.1-dev.1771924969

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/custom-elements.json +773 -773
  2. package/package.json +2 -2
@@ -44611,157 +44611,6 @@
44611
44611
  }
44612
44612
  ]
44613
44613
  },
44614
- {
44615
- "kind": "javascript-module",
44616
- "path": "container/container/container.component.js",
44617
- "declarations": [
44618
- {
44619
- "kind": "class",
44620
- "description": "It displays its content with the default page spacing.",
44621
- "name": "SbbContainerElement",
44622
- "slots": [
44623
- {
44624
- "description": "Use the unnamed slot to add anything to the container.",
44625
- "name": ""
44626
- },
44627
- {
44628
- "description": "The slot used by the sbb-sticky-bar component.",
44629
- "name": "sticky-bar"
44630
- },
44631
- {
44632
- "description": "The slot used to slot an `sbb-image` to use as background.",
44633
- "name": "image"
44634
- }
44635
- ],
44636
- "members": [
44637
- {
44638
- "kind": "field",
44639
- "name": "expanded",
44640
- "type": {
44641
- "text": "boolean"
44642
- },
44643
- "privacy": "public",
44644
- "default": "false",
44645
- "description": "Whether the container is expanded.",
44646
- "attribute": "expanded",
44647
- "reflects": true
44648
- },
44649
- {
44650
- "kind": "field",
44651
- "name": "backgroundExpanded",
44652
- "type": {
44653
- "text": "boolean"
44654
- },
44655
- "privacy": "public",
44656
- "default": "false",
44657
- "description": "Whether the background color is shown on full container width on large screens.",
44658
- "attribute": "background-expanded",
44659
- "reflects": true
44660
- },
44661
- {
44662
- "kind": "field",
44663
- "name": "color",
44664
- "type": {
44665
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
44666
- },
44667
- "privacy": "public",
44668
- "default": "'white'",
44669
- "description": "Color of the container, like transparent, white etc.",
44670
- "attribute": "color",
44671
- "reflects": true
44672
- },
44673
- {
44674
- "kind": "method",
44675
- "name": "toggleState",
44676
- "privacy": "protected",
44677
- "return": {
44678
- "type": {
44679
- "text": "void"
44680
- }
44681
- },
44682
- "parameters": [
44683
- {
44684
- "name": "value",
44685
- "type": {
44686
- "text": "string"
44687
- }
44688
- },
44689
- {
44690
- "name": "force",
44691
- "optional": true,
44692
- "type": {
44693
- "text": "boolean"
44694
- }
44695
- }
44696
- ],
44697
- "inheritedFrom": {
44698
- "name": "SbbElementInternalsMixin",
44699
- "module": "core/mixins/element-internals-mixin.js"
44700
- }
44701
- }
44702
- ],
44703
- "attributes": [
44704
- {
44705
- "name": "expanded",
44706
- "type": {
44707
- "text": "boolean"
44708
- },
44709
- "default": "false",
44710
- "description": "Whether the container is expanded.",
44711
- "fieldName": "expanded"
44712
- },
44713
- {
44714
- "name": "background-expanded",
44715
- "type": {
44716
- "text": "boolean"
44717
- },
44718
- "default": "false",
44719
- "description": "Whether the background color is shown on full container width on large screens.",
44720
- "fieldName": "backgroundExpanded"
44721
- },
44722
- {
44723
- "name": "color",
44724
- "type": {
44725
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
44726
- },
44727
- "default": "'white'",
44728
- "description": "Color of the container, like transparent, white etc.",
44729
- "fieldName": "color"
44730
- }
44731
- ],
44732
- "mixins": [
44733
- {
44734
- "name": "SbbElementInternalsMixin",
44735
- "module": "core/mixins.js"
44736
- }
44737
- ],
44738
- "superclass": {
44739
- "name": "LitElement",
44740
- "package": "lit"
44741
- },
44742
- "tagName": "sbb-container",
44743
- "customElement": true
44744
- }
44745
- ],
44746
- "exports": [
44747
- {
44748
- "kind": "js",
44749
- "name": "SbbContainerElement",
44750
- "declaration": {
44751
- "name": "SbbContainerElement",
44752
- "module": "container/container/container.component.js"
44753
- }
44754
- },
44755
- {
44756
- "kind": "custom-element-definition",
44757
- "name": "sbb-container",
44758
- "declaration": {
44759
- "name": "SbbContainerElement",
44760
- "module": "container/container/container.component.js"
44761
- }
44762
- }
44763
- ]
44764
- },
44765
44614
  {
44766
44615
  "kind": "javascript-module",
44767
44616
  "path": "container/sticky-bar/sticky-bar.component.js",
@@ -45147,88 +44996,239 @@
45147
44996
  },
45148
44997
  {
45149
44998
  "kind": "javascript-module",
45150
- "path": "core/a11y/arrow-navigation.js",
44999
+ "path": "container/container/container.component.js",
45151
45000
  "declarations": [
45152
45001
  {
45153
- "kind": "function",
45154
- "name": "isArrowKeyPressed",
45155
- "return": {
45156
- "type": {
45157
- "text": "boolean"
45158
- }
45159
- },
45160
- "parameters": [
45002
+ "kind": "class",
45003
+ "description": "It displays its content with the default page spacing.",
45004
+ "name": "SbbContainerElement",
45005
+ "slots": [
45161
45006
  {
45162
- "name": "event",
45163
- "type": {
45164
- "text": "KeyboardEvent"
45165
- },
45166
- "description": "The keyboard event to check."
45007
+ "description": "Use the unnamed slot to add anything to the container.",
45008
+ "name": ""
45009
+ },
45010
+ {
45011
+ "description": "The slot used by the sbb-sticky-bar component.",
45012
+ "name": "sticky-bar"
45013
+ },
45014
+ {
45015
+ "description": "The slot used to slot an `sbb-image` to use as background.",
45016
+ "name": "image"
45167
45017
  }
45168
45018
  ],
45169
- "description": "Check if the key pressed is among those allowed for navigation."
45170
- },
45171
- {
45172
- "kind": "function",
45173
- "name": "isPreviousArrowKeyPressed",
45174
- "return": {
45175
- "type": {
45176
- "text": "boolean"
45177
- }
45178
- },
45179
- "parameters": [
45019
+ "members": [
45180
45020
  {
45181
- "name": "event",
45021
+ "kind": "field",
45022
+ "name": "expanded",
45182
45023
  "type": {
45183
- "text": "KeyboardEvent"
45024
+ "text": "boolean"
45184
45025
  },
45185
- "description": "The keyboard event to check."
45186
- }
45187
- ],
45188
- "description": "Check if the key pressed should move the navigation to the next element."
45189
- },
45190
- {
45191
- "kind": "function",
45192
- "name": "isNextArrowKeyPressed",
45193
- "return": {
45194
- "type": {
45195
- "text": "boolean"
45196
- }
45197
- },
45198
- "parameters": [
45026
+ "privacy": "public",
45027
+ "default": "false",
45028
+ "description": "Whether the container is expanded.",
45029
+ "attribute": "expanded",
45030
+ "reflects": true
45031
+ },
45199
45032
  {
45200
- "name": "event",
45033
+ "kind": "field",
45034
+ "name": "backgroundExpanded",
45201
45035
  "type": {
45202
- "text": "KeyboardEvent"
45036
+ "text": "boolean"
45203
45037
  },
45204
- "description": "The keyboard event to check."
45205
- }
45206
- ],
45207
- "description": "Check if the key pressed should move the navigation to the next element."
45208
- },
45209
- {
45210
- "kind": "function",
45211
- "name": "isArrowKeyOrPageKeysPressed",
45212
- "return": {
45213
- "type": {
45214
- "text": "boolean"
45215
- }
45216
- },
45217
- "parameters": [
45038
+ "privacy": "public",
45039
+ "default": "false",
45040
+ "description": "Whether the background color is shown on full container width on large screens.",
45041
+ "attribute": "background-expanded",
45042
+ "reflects": true
45043
+ },
45218
45044
  {
45219
- "name": "event",
45045
+ "kind": "field",
45046
+ "name": "color",
45220
45047
  "type": {
45221
- "text": "KeyboardEvent"
45048
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
45222
45049
  },
45223
- "description": "The keyboard event to check."
45224
- }
45225
- ],
45226
- "description": "Check if the key pressed is among those allowed for navigation."
45227
- },
45228
- {
45229
- "kind": "function",
45230
- "name": "getNextElementIndex",
45231
- "return": {
45050
+ "privacy": "public",
45051
+ "default": "'white'",
45052
+ "description": "Color of the container, like transparent, white etc.",
45053
+ "attribute": "color",
45054
+ "reflects": true
45055
+ },
45056
+ {
45057
+ "kind": "method",
45058
+ "name": "toggleState",
45059
+ "privacy": "protected",
45060
+ "return": {
45061
+ "type": {
45062
+ "text": "void"
45063
+ }
45064
+ },
45065
+ "parameters": [
45066
+ {
45067
+ "name": "value",
45068
+ "type": {
45069
+ "text": "string"
45070
+ }
45071
+ },
45072
+ {
45073
+ "name": "force",
45074
+ "optional": true,
45075
+ "type": {
45076
+ "text": "boolean"
45077
+ }
45078
+ }
45079
+ ],
45080
+ "inheritedFrom": {
45081
+ "name": "SbbElementInternalsMixin",
45082
+ "module": "core/mixins/element-internals-mixin.js"
45083
+ }
45084
+ }
45085
+ ],
45086
+ "attributes": [
45087
+ {
45088
+ "name": "expanded",
45089
+ "type": {
45090
+ "text": "boolean"
45091
+ },
45092
+ "default": "false",
45093
+ "description": "Whether the container is expanded.",
45094
+ "fieldName": "expanded"
45095
+ },
45096
+ {
45097
+ "name": "background-expanded",
45098
+ "type": {
45099
+ "text": "boolean"
45100
+ },
45101
+ "default": "false",
45102
+ "description": "Whether the background color is shown on full container width on large screens.",
45103
+ "fieldName": "backgroundExpanded"
45104
+ },
45105
+ {
45106
+ "name": "color",
45107
+ "type": {
45108
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
45109
+ },
45110
+ "default": "'white'",
45111
+ "description": "Color of the container, like transparent, white etc.",
45112
+ "fieldName": "color"
45113
+ }
45114
+ ],
45115
+ "mixins": [
45116
+ {
45117
+ "name": "SbbElementInternalsMixin",
45118
+ "module": "core/mixins.js"
45119
+ }
45120
+ ],
45121
+ "superclass": {
45122
+ "name": "LitElement",
45123
+ "package": "lit"
45124
+ },
45125
+ "tagName": "sbb-container",
45126
+ "customElement": true
45127
+ }
45128
+ ],
45129
+ "exports": [
45130
+ {
45131
+ "kind": "js",
45132
+ "name": "SbbContainerElement",
45133
+ "declaration": {
45134
+ "name": "SbbContainerElement",
45135
+ "module": "container/container/container.component.js"
45136
+ }
45137
+ },
45138
+ {
45139
+ "kind": "custom-element-definition",
45140
+ "name": "sbb-container",
45141
+ "declaration": {
45142
+ "name": "SbbContainerElement",
45143
+ "module": "container/container/container.component.js"
45144
+ }
45145
+ }
45146
+ ]
45147
+ },
45148
+ {
45149
+ "kind": "javascript-module",
45150
+ "path": "core/a11y/arrow-navigation.js",
45151
+ "declarations": [
45152
+ {
45153
+ "kind": "function",
45154
+ "name": "isArrowKeyPressed",
45155
+ "return": {
45156
+ "type": {
45157
+ "text": "boolean"
45158
+ }
45159
+ },
45160
+ "parameters": [
45161
+ {
45162
+ "name": "event",
45163
+ "type": {
45164
+ "text": "KeyboardEvent"
45165
+ },
45166
+ "description": "The keyboard event to check."
45167
+ }
45168
+ ],
45169
+ "description": "Check if the key pressed is among those allowed for navigation."
45170
+ },
45171
+ {
45172
+ "kind": "function",
45173
+ "name": "isPreviousArrowKeyPressed",
45174
+ "return": {
45175
+ "type": {
45176
+ "text": "boolean"
45177
+ }
45178
+ },
45179
+ "parameters": [
45180
+ {
45181
+ "name": "event",
45182
+ "type": {
45183
+ "text": "KeyboardEvent"
45184
+ },
45185
+ "description": "The keyboard event to check."
45186
+ }
45187
+ ],
45188
+ "description": "Check if the key pressed should move the navigation to the next element."
45189
+ },
45190
+ {
45191
+ "kind": "function",
45192
+ "name": "isNextArrowKeyPressed",
45193
+ "return": {
45194
+ "type": {
45195
+ "text": "boolean"
45196
+ }
45197
+ },
45198
+ "parameters": [
45199
+ {
45200
+ "name": "event",
45201
+ "type": {
45202
+ "text": "KeyboardEvent"
45203
+ },
45204
+ "description": "The keyboard event to check."
45205
+ }
45206
+ ],
45207
+ "description": "Check if the key pressed should move the navigation to the next element."
45208
+ },
45209
+ {
45210
+ "kind": "function",
45211
+ "name": "isArrowKeyOrPageKeysPressed",
45212
+ "return": {
45213
+ "type": {
45214
+ "text": "boolean"
45215
+ }
45216
+ },
45217
+ "parameters": [
45218
+ {
45219
+ "name": "event",
45220
+ "type": {
45221
+ "text": "KeyboardEvent"
45222
+ },
45223
+ "description": "The keyboard event to check."
45224
+ }
45225
+ ],
45226
+ "description": "Check if the key pressed is among those allowed for navigation."
45227
+ },
45228
+ {
45229
+ "kind": "function",
45230
+ "name": "getNextElementIndex",
45231
+ "return": {
45232
45232
  "type": {
45233
45233
  "text": ""
45234
45234
  }
@@ -75533,67 +75533,424 @@
75533
75533
  },
75534
75534
  {
75535
75535
  "kind": "javascript-module",
75536
- "path": "form-field/form-field-clear/form-field-clear.component.js",
75536
+ "path": "header/common/header-action-common.js",
75537
75537
  "declarations": [
75538
75538
  {
75539
75539
  "kind": "class",
75540
- "description": "Combined with `sbb-form-field`, it displays a button which clears the input value.",
75541
- "name": "SbbFormFieldClearElement",
75540
+ "description": "",
75541
+ "name": "SbbHeaderActionCommonElementMixinType",
75542
75542
  "members": [
75543
75543
  {
75544
75544
  "kind": "field",
75545
- "name": "_formField",
75545
+ "name": "expandFrom",
75546
75546
  "type": {
75547
- "text": "SbbFormFieldElement | null | undefined"
75547
+ "text": "SbbHorizontalFrom"
75548
75548
  },
75549
- "privacy": "private"
75549
+ "privacy": "public"
75550
75550
  },
75551
75551
  {
75552
75552
  "kind": "field",
75553
- "name": "_language",
75554
- "privacy": "private",
75555
- "default": "new SbbLanguageController(this)"
75553
+ "name": "iconName",
75554
+ "type": {
75555
+ "text": "string"
75556
+ },
75557
+ "privacy": "public",
75558
+ "default": "''",
75559
+ "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.",
75560
+ "attribute": "icon-name",
75561
+ "inheritedFrom": {
75562
+ "name": "SbbIconNameMixin",
75563
+ "module": "icon/icon-name-mixin.js"
75564
+ }
75556
75565
  },
75557
75566
  {
75558
75567
  "kind": "method",
75559
- "name": "_handleClick",
75560
- "privacy": "private",
75568
+ "name": "renderIconSlot",
75569
+ "privacy": "protected",
75561
75570
  "return": {
75562
75571
  "type": {
75563
- "text": "Promise<void>"
75572
+ "text": "TemplateResult"
75573
+ }
75574
+ },
75575
+ "parameters": [
75576
+ {
75577
+ "name": "classname",
75578
+ "optional": true,
75579
+ "type": {
75580
+ "text": "string"
75581
+ }
75564
75582
  }
75583
+ ],
75584
+ "inheritedFrom": {
75585
+ "name": "SbbIconNameMixin",
75586
+ "module": "icon/icon-name-mixin.js"
75565
75587
  }
75566
75588
  },
75567
75589
  {
75568
75590
  "kind": "method",
75569
- "name": "renderTemplate",
75591
+ "name": "renderIconName",
75570
75592
  "privacy": "protected",
75571
75593
  "return": {
75572
75594
  "type": {
75573
- "text": "TemplateResult"
75595
+ "text": "string"
75574
75596
  }
75575
75597
  },
75576
- "description": "Override this method to render the component template.",
75577
75598
  "inheritedFrom": {
75578
- "name": "SbbActionBaseElement",
75579
- "module": "core/base-elements/action-base-element.js"
75599
+ "name": "SbbIconNameMixin",
75600
+ "module": "icon/icon-name-mixin.js"
75580
75601
  }
75581
75602
  },
75582
75603
  {
75583
- "kind": "field",
75584
- "name": "negative",
75585
- "type": {
75586
- "text": "boolean"
75604
+ "kind": "method",
75605
+ "name": "_renderIconName",
75606
+ "privacy": "private",
75607
+ "return": {
75608
+ "type": {
75609
+ "text": "string"
75610
+ }
75587
75611
  },
75588
- "privacy": "public",
75589
- "default": "false",
75590
- "description": "Negative coloring variant flag.",
75591
- "attribute": "negative",
75592
- "reflects": true,
75593
75612
  "inheritedFrom": {
75594
- "name": "SbbNegativeMixin",
75595
- "module": "core/mixins/negative-mixin.js"
75596
- }
75613
+ "name": "SbbIconNameMixin",
75614
+ "module": "icon/icon-name-mixin.js"
75615
+ }
75616
+ },
75617
+ {
75618
+ "kind": "method",
75619
+ "name": "toggleState",
75620
+ "privacy": "protected",
75621
+ "return": {
75622
+ "type": {
75623
+ "text": "void"
75624
+ }
75625
+ },
75626
+ "parameters": [
75627
+ {
75628
+ "name": "value",
75629
+ "type": {
75630
+ "text": "string"
75631
+ }
75632
+ },
75633
+ {
75634
+ "name": "force",
75635
+ "optional": true,
75636
+ "type": {
75637
+ "text": "boolean"
75638
+ }
75639
+ }
75640
+ ],
75641
+ "inheritedFrom": {
75642
+ "name": "SbbActionBaseElement",
75643
+ "module": "core/base-elements/action-base-element.js"
75644
+ }
75645
+ },
75646
+ {
75647
+ "kind": "field",
75648
+ "name": "maybeDisabled",
75649
+ "type": {
75650
+ "text": "boolean | undefined"
75651
+ },
75652
+ "privacy": "protected",
75653
+ "readonly": true,
75654
+ "inheritedFrom": {
75655
+ "name": "SbbActionBaseElement",
75656
+ "module": "core/base-elements/action-base-element.js"
75657
+ }
75658
+ },
75659
+ {
75660
+ "kind": "field",
75661
+ "name": "maybeDisabledInteractive",
75662
+ "type": {
75663
+ "text": "boolean | undefined"
75664
+ },
75665
+ "privacy": "protected",
75666
+ "readonly": true,
75667
+ "inheritedFrom": {
75668
+ "name": "SbbActionBaseElement",
75669
+ "module": "core/base-elements/action-base-element.js"
75670
+ }
75671
+ },
75672
+ {
75673
+ "kind": "method",
75674
+ "name": "setupBaseEventHandlers",
75675
+ "privacy": "protected",
75676
+ "return": {
75677
+ "type": {
75678
+ "text": "void"
75679
+ }
75680
+ },
75681
+ "inheritedFrom": {
75682
+ "name": "SbbActionBaseElement",
75683
+ "module": "core/base-elements/action-base-element.js"
75684
+ }
75685
+ },
75686
+ {
75687
+ "kind": "method",
75688
+ "name": "renderTemplate",
75689
+ "privacy": "protected",
75690
+ "return": {
75691
+ "type": {
75692
+ "text": "TemplateResult"
75693
+ }
75694
+ },
75695
+ "description": "Override this method to render the component template.",
75696
+ "inheritedFrom": {
75697
+ "name": "SbbActionBaseElement",
75698
+ "module": "core/base-elements/action-base-element.js"
75699
+ }
75700
+ }
75701
+ ],
75702
+ "mixins": [
75703
+ {
75704
+ "name": "SbbIconNameMixin",
75705
+ "module": "icon.js"
75706
+ }
75707
+ ],
75708
+ "superclass": {
75709
+ "name": "SbbActionBaseElement",
75710
+ "module": "core/base-elements.js"
75711
+ },
75712
+ "attributes": [
75713
+ {
75714
+ "name": "icon-name",
75715
+ "type": {
75716
+ "text": "string"
75717
+ },
75718
+ "default": "''",
75719
+ "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.",
75720
+ "fieldName": "iconName",
75721
+ "inheritedFrom": {
75722
+ "name": "SbbIconNameMixin",
75723
+ "module": "icon/icon-name-mixin.js"
75724
+ }
75725
+ }
75726
+ ]
75727
+ },
75728
+ {
75729
+ "kind": "mixin",
75730
+ "description": "",
75731
+ "name": "SbbHeaderActionCommonElementMixin",
75732
+ "members": [
75733
+ {
75734
+ "kind": "field",
75735
+ "name": "styles",
75736
+ "type": {
75737
+ "text": "CSSResultGroup"
75738
+ },
75739
+ "privacy": "public",
75740
+ "static": true,
75741
+ "default": "[boxSizingStyles, style]"
75742
+ },
75743
+ {
75744
+ "kind": "field",
75745
+ "name": "expandFrom",
75746
+ "type": {
75747
+ "text": "SbbHorizontalFrom"
75748
+ },
75749
+ "privacy": "public",
75750
+ "default": "'large'",
75751
+ "description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
75752
+ "attribute": "expand-from",
75753
+ "reflects": true
75754
+ },
75755
+ {
75756
+ "kind": "method",
75757
+ "name": "renderTemplate",
75758
+ "privacy": "protected",
75759
+ "return": {
75760
+ "type": {
75761
+ "text": "TemplateResult"
75762
+ }
75763
+ }
75764
+ },
75765
+ {
75766
+ "kind": "field",
75767
+ "name": "iconName",
75768
+ "type": {
75769
+ "text": "string"
75770
+ },
75771
+ "privacy": "public",
75772
+ "default": "''",
75773
+ "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.",
75774
+ "attribute": "icon-name",
75775
+ "inheritedFrom": {
75776
+ "name": "SbbIconNameMixin",
75777
+ "module": "icon/icon-name-mixin.js"
75778
+ }
75779
+ },
75780
+ {
75781
+ "kind": "method",
75782
+ "name": "renderIconSlot",
75783
+ "privacy": "protected",
75784
+ "return": {
75785
+ "type": {
75786
+ "text": "TemplateResult"
75787
+ }
75788
+ },
75789
+ "parameters": [
75790
+ {
75791
+ "name": "classname",
75792
+ "optional": true,
75793
+ "type": {
75794
+ "text": "string"
75795
+ }
75796
+ }
75797
+ ],
75798
+ "inheritedFrom": {
75799
+ "name": "SbbIconNameMixin",
75800
+ "module": "icon/icon-name-mixin.js"
75801
+ }
75802
+ },
75803
+ {
75804
+ "kind": "method",
75805
+ "name": "renderIconName",
75806
+ "privacy": "protected",
75807
+ "return": {
75808
+ "type": {
75809
+ "text": "string"
75810
+ }
75811
+ },
75812
+ "inheritedFrom": {
75813
+ "name": "SbbIconNameMixin",
75814
+ "module": "icon/icon-name-mixin.js"
75815
+ }
75816
+ },
75817
+ {
75818
+ "kind": "method",
75819
+ "name": "_renderIconName",
75820
+ "privacy": "private",
75821
+ "return": {
75822
+ "type": {
75823
+ "text": "string"
75824
+ }
75825
+ },
75826
+ "inheritedFrom": {
75827
+ "name": "SbbIconNameMixin",
75828
+ "module": "icon/icon-name-mixin.js"
75829
+ }
75830
+ }
75831
+ ],
75832
+ "attributes": [
75833
+ {
75834
+ "name": "expand-from",
75835
+ "type": {
75836
+ "text": "SbbHorizontalFrom"
75837
+ },
75838
+ "default": "'large'",
75839
+ "description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
75840
+ "fieldName": "expandFrom"
75841
+ },
75842
+ {
75843
+ "name": "icon-name",
75844
+ "type": {
75845
+ "text": "string"
75846
+ },
75847
+ "default": "''",
75848
+ "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.",
75849
+ "fieldName": "iconName",
75850
+ "inheritedFrom": {
75851
+ "name": "SbbIconNameMixin",
75852
+ "module": "icon/icon-name-mixin.js"
75853
+ }
75854
+ }
75855
+ ],
75856
+ "mixins": [
75857
+ {
75858
+ "name": "SbbIconNameMixin",
75859
+ "module": "icon.js"
75860
+ }
75861
+ ],
75862
+ "parameters": [
75863
+ {
75864
+ "name": "superClass",
75865
+ "type": {
75866
+ "text": "T"
75867
+ }
75868
+ }
75869
+ ]
75870
+ }
75871
+ ],
75872
+ "exports": [
75873
+ {
75874
+ "kind": "js",
75875
+ "name": "SbbHeaderActionCommonElementMixinType",
75876
+ "declaration": {
75877
+ "name": "SbbHeaderActionCommonElementMixinType",
75878
+ "module": "header/common/header-action-common.js"
75879
+ }
75880
+ },
75881
+ {
75882
+ "kind": "js",
75883
+ "name": "SbbHeaderActionCommonElementMixin",
75884
+ "declaration": {
75885
+ "name": "SbbHeaderActionCommonElementMixin",
75886
+ "module": "header/common/header-action-common.js"
75887
+ }
75888
+ }
75889
+ ]
75890
+ },
75891
+ {
75892
+ "kind": "javascript-module",
75893
+ "path": "form-field/form-field-clear/form-field-clear.component.js",
75894
+ "declarations": [
75895
+ {
75896
+ "kind": "class",
75897
+ "description": "Combined with `sbb-form-field`, it displays a button which clears the input value.",
75898
+ "name": "SbbFormFieldClearElement",
75899
+ "members": [
75900
+ {
75901
+ "kind": "field",
75902
+ "name": "_formField",
75903
+ "type": {
75904
+ "text": "SbbFormFieldElement | null | undefined"
75905
+ },
75906
+ "privacy": "private"
75907
+ },
75908
+ {
75909
+ "kind": "field",
75910
+ "name": "_language",
75911
+ "privacy": "private",
75912
+ "default": "new SbbLanguageController(this)"
75913
+ },
75914
+ {
75915
+ "kind": "method",
75916
+ "name": "_handleClick",
75917
+ "privacy": "private",
75918
+ "return": {
75919
+ "type": {
75920
+ "text": "Promise<void>"
75921
+ }
75922
+ }
75923
+ },
75924
+ {
75925
+ "kind": "method",
75926
+ "name": "renderTemplate",
75927
+ "privacy": "protected",
75928
+ "return": {
75929
+ "type": {
75930
+ "text": "TemplateResult"
75931
+ }
75932
+ },
75933
+ "description": "Override this method to render the component template.",
75934
+ "inheritedFrom": {
75935
+ "name": "SbbActionBaseElement",
75936
+ "module": "core/base-elements/action-base-element.js"
75937
+ }
75938
+ },
75939
+ {
75940
+ "kind": "field",
75941
+ "name": "negative",
75942
+ "type": {
75943
+ "text": "boolean"
75944
+ },
75945
+ "privacy": "public",
75946
+ "default": "false",
75947
+ "description": "Negative coloring variant flag.",
75948
+ "attribute": "negative",
75949
+ "reflects": true,
75950
+ "inheritedFrom": {
75951
+ "name": "SbbNegativeMixin",
75952
+ "module": "core/mixins/negative-mixin.js"
75953
+ }
75597
75954
  },
75598
75955
  {
75599
75956
  "kind": "field",
@@ -75861,220 +76218,44 @@
75861
76218
  "type": {
75862
76219
  "text": "boolean"
75863
76220
  }
75864
- },
75865
- "inheritedFrom": {
75866
- "name": "SbbFormAssociatedMixin",
75867
- "module": "core/mixins/form-associated-mixin.js"
75868
- }
75869
- },
75870
- {
75871
- "kind": "method",
75872
- "name": "updateFormValue",
75873
- "privacy": "protected",
75874
- "return": {
75875
- "type": {
75876
- "text": "void"
75877
- }
75878
- },
75879
- "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
75880
- "inheritedFrom": {
75881
- "name": "SbbFormAssociatedMixin",
75882
- "module": "core/mixins/form-associated-mixin.js"
75883
- }
75884
- },
75885
- {
75886
- "kind": "method",
75887
- "name": "formState",
75888
- "privacy": "protected",
75889
- "return": {
75890
- "type": {
75891
- "text": "FormRestoreState"
75892
- }
75893
- },
75894
- "inheritedFrom": {
75895
- "name": "SbbFormAssociatedMixin",
75896
- "module": "core/mixins/form-associated-mixin.js"
75897
- }
75898
- },
75899
- {
75900
- "kind": "method",
75901
- "name": "setValidityFlag",
75902
- "privacy": "protected",
75903
- "return": {
75904
- "type": {
75905
- "text": "void"
75906
- }
75907
- },
75908
- "parameters": [
75909
- {
75910
- "name": "flag",
75911
- "type": {
75912
- "text": "T"
75913
- }
75914
- },
75915
- {
75916
- "name": "message",
75917
- "type": {
75918
- "text": "string"
75919
- }
75920
- },
75921
- {
75922
- "name": "flagValue",
75923
- "optional": true,
75924
- "type": {
75925
- "text": "ValidityStateFlags[T]"
75926
- }
75927
- }
75928
- ],
75929
- "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
75930
- "inheritedFrom": {
75931
- "name": "SbbFormAssociatedMixin",
75932
- "module": "core/mixins/form-associated-mixin.js"
75933
- }
75934
- },
75935
- {
75936
- "kind": "method",
75937
- "name": "removeValidityFlag",
75938
- "privacy": "protected",
75939
- "return": {
75940
- "type": {
75941
- "text": "void"
75942
- }
75943
- },
75944
- "parameters": [
75945
- {
75946
- "name": "flag",
75947
- "type": {
75948
- "text": "T"
75949
- }
75950
- }
75951
- ],
75952
- "description": "Removes the validity state flag entry and updates validity state.",
75953
- "inheritedFrom": {
75954
- "name": "SbbFormAssociatedMixin",
75955
- "module": "core/mixins/form-associated-mixin.js"
75956
- }
75957
- },
75958
- {
75959
- "kind": "method",
75960
- "name": "validate",
75961
- "privacy": "protected",
75962
- "return": {
75963
- "type": {
75964
- "text": "void"
75965
- }
75966
- },
75967
- "description": "To be called whenever the current element needs to be validated.",
75968
- "inheritedFrom": {
75969
- "name": "SbbFormAssociatedMixin",
75970
- "module": "core/mixins/form-associated-mixin.js"
75971
- }
75972
- },
75973
- {
75974
- "kind": "method",
75975
- "name": "shouldValidate",
75976
- "privacy": "protected",
75977
- "return": {
75978
- "type": {
75979
- "text": "boolean"
75980
- }
75981
- },
75982
- "parameters": [
75983
- {
75984
- "name": "name",
75985
- "type": {
75986
- "text": "PropertyKey | undefined"
75987
- }
75988
- }
75989
- ],
75990
- "description": "Whether validation should be run on a property change with the given name.",
75991
- "inheritedFrom": {
75992
- "name": "SbbFormAssociatedMixin",
75993
- "module": "core/mixins/form-associated-mixin.js"
75994
- }
75995
- },
75996
- {
75997
- "kind": "method",
75998
- "name": "_setInternalValidity",
75999
- "privacy": "private",
76000
- "return": {
76001
- "type": {
76002
- "text": "void"
76003
- }
76004
- },
76005
- "inheritedFrom": {
76006
- "name": "SbbFormAssociatedMixin",
76007
- "module": "core/mixins/form-associated-mixin.js"
76008
- }
76009
- },
76010
- {
76011
- "kind": "field",
76012
- "name": "role",
76013
- "type": {
76014
- "text": "ElementInternals['role']"
76015
- },
76016
- "privacy": "public",
76017
- "static": true,
76018
- "readonly": true,
76019
- "default": "'button'",
76020
- "inheritedFrom": {
76021
- "name": "SbbButtonLikeBaseElement",
76022
- "module": "core/base-elements/button-base-element.js"
76023
- }
76024
- },
76025
- {
76026
- "kind": "field",
76027
- "name": "_preventScrollOnSpaceKeydown",
76028
- "privacy": "private",
76029
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
76030
- "parameters": [
76031
- {
76032
- "description": "The origin event.",
76033
- "name": "event"
76034
- }
76035
- ],
76036
- "inheritedFrom": {
76037
- "name": "SbbButtonLikeBaseElement",
76038
- "module": "core/base-elements/button-base-element.js"
76039
- }
76040
- },
76041
- {
76042
- "kind": "field",
76043
- "name": "_removeActiveMarker",
76044
- "privacy": "private",
76221
+ },
76045
76222
  "inheritedFrom": {
76046
- "name": "SbbButtonLikeBaseElement",
76047
- "module": "core/base-elements/button-base-element.js"
76223
+ "name": "SbbFormAssociatedMixin",
76224
+ "module": "core/mixins/form-associated-mixin.js"
76048
76225
  }
76049
76226
  },
76050
76227
  {
76051
- "kind": "field",
76052
- "name": "_dispatchClickEventOnSpaceKeyup",
76053
- "privacy": "private",
76054
- "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
76055
- "parameters": [
76056
- {
76057
- "description": "The origin event.",
76058
- "name": "event"
76228
+ "kind": "method",
76229
+ "name": "updateFormValue",
76230
+ "privacy": "protected",
76231
+ "return": {
76232
+ "type": {
76233
+ "text": "void"
76059
76234
  }
76060
- ],
76235
+ },
76236
+ "description": "Should be called when form value is changed.\nAdapts and sets the formValue in the supported format (string | FormData | File | null)\nhttps://developer.mozilla.org/en-US/docs/Web/API/ElementInternals/setFormValue",
76061
76237
  "inheritedFrom": {
76062
- "name": "SbbButtonLikeBaseElement",
76063
- "module": "core/base-elements/button-base-element.js"
76238
+ "name": "SbbFormAssociatedMixin",
76239
+ "module": "core/mixins/form-associated-mixin.js"
76064
76240
  }
76065
76241
  },
76066
76242
  {
76067
- "kind": "field",
76068
- "name": "_dispatchClickEvent",
76069
- "privacy": "private",
76243
+ "kind": "method",
76244
+ "name": "formState",
76245
+ "privacy": "protected",
76246
+ "return": {
76247
+ "type": {
76248
+ "text": "FormRestoreState"
76249
+ }
76250
+ },
76070
76251
  "inheritedFrom": {
76071
- "name": "SbbButtonLikeBaseElement",
76072
- "module": "core/base-elements/button-base-element.js"
76252
+ "name": "SbbFormAssociatedMixin",
76253
+ "module": "core/mixins/form-associated-mixin.js"
76073
76254
  }
76074
76255
  },
76075
76256
  {
76076
76257
  "kind": "method",
76077
- "name": "toggleState",
76258
+ "name": "setValidityFlag",
76078
76259
  "privacy": "protected",
76079
76260
  "return": {
76080
76261
  "type": {
@@ -76083,244 +76264,169 @@
76083
76264
  },
76084
76265
  "parameters": [
76085
76266
  {
76086
- "name": "value",
76267
+ "name": "flag",
76268
+ "type": {
76269
+ "text": "T"
76270
+ }
76271
+ },
76272
+ {
76273
+ "name": "message",
76087
76274
  "type": {
76088
76275
  "text": "string"
76089
76276
  }
76090
76277
  },
76091
76278
  {
76092
- "name": "force",
76279
+ "name": "flagValue",
76093
76280
  "optional": true,
76094
76281
  "type": {
76095
- "text": "boolean"
76282
+ "text": "ValidityStateFlags[T]"
76096
76283
  }
76097
76284
  }
76098
76285
  ],
76286
+ "description": "Marks this element as suffering from the constraint indicated by the\nflag argument and associates the given message to it.\nNote that only one message is displayed at a time and custom messages by\nconsumers are always displayed before internal messages and internal\nmessages are displayed in the order they were added.\nTo set/define custom validity state flags, you need to extend the\nValidityState prototype (and the CustomValidityState interface).",
76099
76287
  "inheritedFrom": {
76100
- "name": "SbbActionBaseElement",
76101
- "module": "core/base-elements/action-base-element.js"
76288
+ "name": "SbbFormAssociatedMixin",
76289
+ "module": "core/mixins/form-associated-mixin.js"
76102
76290
  }
76103
76291
  },
76104
76292
  {
76105
- "kind": "field",
76106
- "name": "maybeDisabled",
76107
- "type": {
76108
- "text": "boolean | undefined"
76109
- },
76293
+ "kind": "method",
76294
+ "name": "removeValidityFlag",
76110
76295
  "privacy": "protected",
76111
- "readonly": true,
76112
- "inheritedFrom": {
76113
- "name": "SbbActionBaseElement",
76114
- "module": "core/base-elements/action-base-element.js"
76115
- }
76116
- },
76117
- {
76118
- "kind": "field",
76119
- "name": "maybeDisabledInteractive",
76120
- "type": {
76121
- "text": "boolean | undefined"
76296
+ "return": {
76297
+ "type": {
76298
+ "text": "void"
76299
+ }
76122
76300
  },
76123
- "privacy": "protected",
76124
- "readonly": true,
76301
+ "parameters": [
76302
+ {
76303
+ "name": "flag",
76304
+ "type": {
76305
+ "text": "T"
76306
+ }
76307
+ }
76308
+ ],
76309
+ "description": "Removes the validity state flag entry and updates validity state.",
76125
76310
  "inheritedFrom": {
76126
- "name": "SbbActionBaseElement",
76127
- "module": "core/base-elements/action-base-element.js"
76311
+ "name": "SbbFormAssociatedMixin",
76312
+ "module": "core/mixins/form-associated-mixin.js"
76128
76313
  }
76129
76314
  },
76130
76315
  {
76131
76316
  "kind": "method",
76132
- "name": "setupBaseEventHandlers",
76317
+ "name": "validate",
76133
76318
  "privacy": "protected",
76134
76319
  "return": {
76135
76320
  "type": {
76136
76321
  "text": "void"
76137
76322
  }
76138
76323
  },
76324
+ "description": "To be called whenever the current element needs to be validated.",
76139
76325
  "inheritedFrom": {
76140
- "name": "SbbActionBaseElement",
76141
- "module": "core/base-elements/action-base-element.js"
76142
- }
76143
- }
76144
- ],
76145
- "mixins": [
76146
- {
76147
- "name": "SbbNegativeMixin",
76148
- "module": "core/mixins.js"
76149
- }
76150
- ],
76151
- "superclass": {
76152
- "name": "SbbButtonBaseElement",
76153
- "module": "core/base-elements.js"
76154
- },
76155
- "tagName": "sbb-form-field-clear",
76156
- "customElement": true,
76157
- "attributes": [
76158
- {
76159
- "name": "negative",
76160
- "type": {
76161
- "text": "boolean"
76162
- },
76163
- "default": "false",
76164
- "description": "Negative coloring variant flag.",
76165
- "fieldName": "negative",
76166
- "inheritedFrom": {
76167
- "name": "SbbNegativeMixin",
76168
- "module": "core/mixins/negative-mixin.js"
76169
- }
76170
- },
76171
- {
76172
- "name": "value",
76173
- "type": {
76174
- "text": "string"
76175
- },
76176
- "default": "''",
76177
- "description": "Value of the form element.",
76178
- "fieldName": "value",
76179
- "inheritedFrom": {
76180
- "name": "SbbButtonBaseElement",
76181
- "module": "core/base-elements/button-base-element.js"
76182
- }
76183
- },
76184
- {
76185
- "name": "type",
76186
- "description": "The type attribute to use for the button.",
76187
- "default": "'button'",
76188
- "type": {
76189
- "text": "SbbButtonType"
76190
- },
76191
- "fieldName": "type",
76192
- "inheritedFrom": {
76193
- "name": "SbbButtonBaseElement",
76194
- "module": "core/base-elements/button-base-element.js"
76326
+ "name": "SbbFormAssociatedMixin",
76327
+ "module": "core/mixins/form-associated-mixin.js"
76195
76328
  }
76196
76329
  },
76197
76330
  {
76198
- "name": "form",
76199
- "description": "The `<form>` element to associate the button with.",
76200
- "type": {
76201
- "text": "HTMLFormElement | null"
76331
+ "kind": "method",
76332
+ "name": "shouldValidate",
76333
+ "privacy": "protected",
76334
+ "return": {
76335
+ "type": {
76336
+ "text": "boolean"
76337
+ }
76202
76338
  },
76203
- "fieldName": "form",
76339
+ "parameters": [
76340
+ {
76341
+ "name": "name",
76342
+ "type": {
76343
+ "text": "PropertyKey | undefined"
76344
+ }
76345
+ }
76346
+ ],
76347
+ "description": "Whether validation should be run on a property change with the given name.",
76204
76348
  "inheritedFrom": {
76205
- "name": "SbbButtonBaseElement",
76206
- "module": "core/base-elements/button-base-element.js"
76349
+ "name": "SbbFormAssociatedMixin",
76350
+ "module": "core/mixins/form-associated-mixin.js"
76207
76351
  }
76208
76352
  },
76209
76353
  {
76210
- "name": "name",
76211
- "description": "Name of the form element. Will be read from name attribute.",
76212
- "type": {
76213
- "text": "string"
76354
+ "kind": "method",
76355
+ "name": "_setInternalValidity",
76356
+ "privacy": "private",
76357
+ "return": {
76358
+ "type": {
76359
+ "text": "void"
76360
+ }
76214
76361
  },
76215
- "fieldName": "name",
76216
76362
  "inheritedFrom": {
76217
76363
  "name": "SbbFormAssociatedMixin",
76218
76364
  "module": "core/mixins/form-associated-mixin.js"
76219
76365
  }
76220
- }
76221
- ]
76222
- }
76223
- ],
76224
- "exports": [
76225
- {
76226
- "kind": "js",
76227
- "name": "SbbFormFieldClearElement",
76228
- "declaration": {
76229
- "name": "SbbFormFieldClearElement",
76230
- "module": "form-field/form-field-clear/form-field-clear.component.js"
76231
- }
76232
- },
76233
- {
76234
- "kind": "custom-element-definition",
76235
- "name": "sbb-form-field-clear",
76236
- "declaration": {
76237
- "name": "SbbFormFieldClearElement",
76238
- "module": "form-field/form-field-clear/form-field-clear.component.js"
76239
- }
76240
- }
76241
- ]
76242
- },
76243
- {
76244
- "kind": "javascript-module",
76245
- "path": "header/common/header-action-common.js",
76246
- "declarations": [
76247
- {
76248
- "kind": "class",
76249
- "description": "",
76250
- "name": "SbbHeaderActionCommonElementMixinType",
76251
- "members": [
76252
- {
76253
- "kind": "field",
76254
- "name": "expandFrom",
76255
- "type": {
76256
- "text": "SbbHorizontalFrom"
76257
- },
76258
- "privacy": "public"
76259
76366
  },
76260
76367
  {
76261
76368
  "kind": "field",
76262
- "name": "iconName",
76369
+ "name": "role",
76263
76370
  "type": {
76264
- "text": "string"
76371
+ "text": "ElementInternals['role']"
76265
76372
  },
76266
76373
  "privacy": "public",
76267
- "default": "''",
76268
- "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.",
76269
- "attribute": "icon-name",
76374
+ "static": true,
76375
+ "readonly": true,
76376
+ "default": "'button'",
76270
76377
  "inheritedFrom": {
76271
- "name": "SbbIconNameMixin",
76272
- "module": "icon/icon-name-mixin.js"
76273
- }
76274
- },
76275
- {
76276
- "kind": "method",
76277
- "name": "renderIconSlot",
76278
- "privacy": "protected",
76279
- "return": {
76280
- "type": {
76281
- "text": "TemplateResult"
76282
- }
76283
- },
76378
+ "name": "SbbButtonLikeBaseElement",
76379
+ "module": "core/base-elements/button-base-element.js"
76380
+ }
76381
+ },
76382
+ {
76383
+ "kind": "field",
76384
+ "name": "_preventScrollOnSpaceKeydown",
76385
+ "privacy": "private",
76386
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
76284
76387
  "parameters": [
76285
76388
  {
76286
- "name": "classname",
76287
- "optional": true,
76288
- "type": {
76289
- "text": "string"
76290
- }
76389
+ "description": "The origin event.",
76390
+ "name": "event"
76291
76391
  }
76292
76392
  ],
76293
76393
  "inheritedFrom": {
76294
- "name": "SbbIconNameMixin",
76295
- "module": "icon/icon-name-mixin.js"
76394
+ "name": "SbbButtonLikeBaseElement",
76395
+ "module": "core/base-elements/button-base-element.js"
76296
76396
  }
76297
76397
  },
76298
76398
  {
76299
- "kind": "method",
76300
- "name": "renderIconName",
76301
- "privacy": "protected",
76302
- "return": {
76303
- "type": {
76304
- "text": "string"
76305
- }
76306
- },
76399
+ "kind": "field",
76400
+ "name": "_removeActiveMarker",
76401
+ "privacy": "private",
76307
76402
  "inheritedFrom": {
76308
- "name": "SbbIconNameMixin",
76309
- "module": "icon/icon-name-mixin.js"
76403
+ "name": "SbbButtonLikeBaseElement",
76404
+ "module": "core/base-elements/button-base-element.js"
76310
76405
  }
76311
76406
  },
76312
76407
  {
76313
- "kind": "method",
76314
- "name": "_renderIconName",
76408
+ "kind": "field",
76409
+ "name": "_dispatchClickEventOnSpaceKeyup",
76315
76410
  "privacy": "private",
76316
- "return": {
76317
- "type": {
76318
- "text": "string"
76411
+ "description": "Dispatches a 'click' PointerEvent if the original keyboard event is a 'Space' press.\nAs verified with the native button, when 'Space' is pressed, a 'click' event is dispatched\nafter the 'keyup' event.",
76412
+ "parameters": [
76413
+ {
76414
+ "description": "The origin event.",
76415
+ "name": "event"
76319
76416
  }
76320
- },
76417
+ ],
76321
76418
  "inheritedFrom": {
76322
- "name": "SbbIconNameMixin",
76323
- "module": "icon/icon-name-mixin.js"
76419
+ "name": "SbbButtonLikeBaseElement",
76420
+ "module": "core/base-elements/button-base-element.js"
76421
+ }
76422
+ },
76423
+ {
76424
+ "kind": "field",
76425
+ "name": "_dispatchClickEvent",
76426
+ "privacy": "private",
76427
+ "inheritedFrom": {
76428
+ "name": "SbbButtonLikeBaseElement",
76429
+ "module": "core/base-elements/button-base-element.js"
76324
76430
  }
76325
76431
  },
76326
76432
  {
@@ -76391,188 +76497,82 @@
76391
76497
  "name": "SbbActionBaseElement",
76392
76498
  "module": "core/base-elements/action-base-element.js"
76393
76499
  }
76394
- },
76395
- {
76396
- "kind": "method",
76397
- "name": "renderTemplate",
76398
- "privacy": "protected",
76399
- "return": {
76400
- "type": {
76401
- "text": "TemplateResult"
76402
- }
76403
- },
76404
- "description": "Override this method to render the component template.",
76405
- "inheritedFrom": {
76406
- "name": "SbbActionBaseElement",
76407
- "module": "core/base-elements/action-base-element.js"
76408
- }
76409
76500
  }
76410
76501
  ],
76411
76502
  "mixins": [
76412
76503
  {
76413
- "name": "SbbIconNameMixin",
76414
- "module": "icon.js"
76504
+ "name": "SbbNegativeMixin",
76505
+ "module": "core/mixins.js"
76415
76506
  }
76416
76507
  ],
76417
76508
  "superclass": {
76418
- "name": "SbbActionBaseElement",
76509
+ "name": "SbbButtonBaseElement",
76419
76510
  "module": "core/base-elements.js"
76420
76511
  },
76512
+ "tagName": "sbb-form-field-clear",
76513
+ "customElement": true,
76421
76514
  "attributes": [
76422
76515
  {
76423
- "name": "icon-name",
76516
+ "name": "negative",
76424
76517
  "type": {
76425
- "text": "string"
76518
+ "text": "boolean"
76426
76519
  },
76427
- "default": "''",
76428
- "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.",
76429
- "fieldName": "iconName",
76520
+ "default": "false",
76521
+ "description": "Negative coloring variant flag.",
76522
+ "fieldName": "negative",
76430
76523
  "inheritedFrom": {
76431
- "name": "SbbIconNameMixin",
76432
- "module": "icon/icon-name-mixin.js"
76433
- }
76434
- }
76435
- ]
76436
- },
76437
- {
76438
- "kind": "mixin",
76439
- "description": "",
76440
- "name": "SbbHeaderActionCommonElementMixin",
76441
- "members": [
76442
- {
76443
- "kind": "field",
76444
- "name": "styles",
76445
- "type": {
76446
- "text": "CSSResultGroup"
76447
- },
76448
- "privacy": "public",
76449
- "static": true,
76450
- "default": "[boxSizingStyles, style]"
76451
- },
76452
- {
76453
- "kind": "field",
76454
- "name": "expandFrom",
76455
- "type": {
76456
- "text": "SbbHorizontalFrom"
76457
- },
76458
- "privacy": "public",
76459
- "default": "'large'",
76460
- "description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
76461
- "attribute": "expand-from",
76462
- "reflects": true
76463
- },
76464
- {
76465
- "kind": "method",
76466
- "name": "renderTemplate",
76467
- "privacy": "protected",
76468
- "return": {
76469
- "type": {
76470
- "text": "TemplateResult"
76471
- }
76524
+ "name": "SbbNegativeMixin",
76525
+ "module": "core/mixins/negative-mixin.js"
76472
76526
  }
76473
76527
  },
76474
76528
  {
76475
- "kind": "field",
76476
- "name": "iconName",
76529
+ "name": "value",
76477
76530
  "type": {
76478
76531
  "text": "string"
76479
76532
  },
76480
- "privacy": "public",
76481
76533
  "default": "''",
76482
- "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.",
76483
- "attribute": "icon-name",
76484
- "inheritedFrom": {
76485
- "name": "SbbIconNameMixin",
76486
- "module": "icon/icon-name-mixin.js"
76487
- }
76488
- },
76489
- {
76490
- "kind": "method",
76491
- "name": "renderIconSlot",
76492
- "privacy": "protected",
76493
- "return": {
76494
- "type": {
76495
- "text": "TemplateResult"
76496
- }
76497
- },
76498
- "parameters": [
76499
- {
76500
- "name": "classname",
76501
- "optional": true,
76502
- "type": {
76503
- "text": "string"
76504
- }
76505
- }
76506
- ],
76534
+ "description": "Value of the form element.",
76535
+ "fieldName": "value",
76507
76536
  "inheritedFrom": {
76508
- "name": "SbbIconNameMixin",
76509
- "module": "icon/icon-name-mixin.js"
76537
+ "name": "SbbButtonBaseElement",
76538
+ "module": "core/base-elements/button-base-element.js"
76510
76539
  }
76511
76540
  },
76512
76541
  {
76513
- "kind": "method",
76514
- "name": "renderIconName",
76515
- "privacy": "protected",
76516
- "return": {
76517
- "type": {
76518
- "text": "string"
76519
- }
76542
+ "name": "type",
76543
+ "description": "The type attribute to use for the button.",
76544
+ "default": "'button'",
76545
+ "type": {
76546
+ "text": "SbbButtonType"
76520
76547
  },
76548
+ "fieldName": "type",
76521
76549
  "inheritedFrom": {
76522
- "name": "SbbIconNameMixin",
76523
- "module": "icon/icon-name-mixin.js"
76550
+ "name": "SbbButtonBaseElement",
76551
+ "module": "core/base-elements/button-base-element.js"
76524
76552
  }
76525
76553
  },
76526
76554
  {
76527
- "kind": "method",
76528
- "name": "_renderIconName",
76529
- "privacy": "private",
76530
- "return": {
76531
- "type": {
76532
- "text": "string"
76533
- }
76555
+ "name": "form",
76556
+ "description": "The `<form>` element to associate the button with.",
76557
+ "type": {
76558
+ "text": "HTMLFormElement | null"
76534
76559
  },
76560
+ "fieldName": "form",
76535
76561
  "inheritedFrom": {
76536
- "name": "SbbIconNameMixin",
76537
- "module": "icon/icon-name-mixin.js"
76562
+ "name": "SbbButtonBaseElement",
76563
+ "module": "core/base-elements/button-base-element.js"
76538
76564
  }
76539
- }
76540
- ],
76541
- "attributes": [
76542
- {
76543
- "name": "expand-from",
76544
- "type": {
76545
- "text": "SbbHorizontalFrom"
76546
- },
76547
- "default": "'large'",
76548
- "description": "Used to set the minimum breakpoint from which the text is displayed.\nE.g. if set to 'large', the text will be visible for breakpoints large and ultra,\nand hidden for all the others. Ignored if no icon is set.",
76549
- "fieldName": "expandFrom"
76550
76565
  },
76551
76566
  {
76552
- "name": "icon-name",
76567
+ "name": "name",
76568
+ "description": "Name of the form element. Will be read from name attribute.",
76553
76569
  "type": {
76554
76570
  "text": "string"
76555
76571
  },
76556
- "default": "''",
76557
- "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.",
76558
- "fieldName": "iconName",
76572
+ "fieldName": "name",
76559
76573
  "inheritedFrom": {
76560
- "name": "SbbIconNameMixin",
76561
- "module": "icon/icon-name-mixin.js"
76562
- }
76563
- }
76564
- ],
76565
- "mixins": [
76566
- {
76567
- "name": "SbbIconNameMixin",
76568
- "module": "icon.js"
76569
- }
76570
- ],
76571
- "parameters": [
76572
- {
76573
- "name": "superClass",
76574
- "type": {
76575
- "text": "T"
76574
+ "name": "SbbFormAssociatedMixin",
76575
+ "module": "core/mixins/form-associated-mixin.js"
76576
76576
  }
76577
76577
  }
76578
76578
  ]
@@ -76581,18 +76581,18 @@
76581
76581
  "exports": [
76582
76582
  {
76583
76583
  "kind": "js",
76584
- "name": "SbbHeaderActionCommonElementMixinType",
76584
+ "name": "SbbFormFieldClearElement",
76585
76585
  "declaration": {
76586
- "name": "SbbHeaderActionCommonElementMixinType",
76587
- "module": "header/common/header-action-common.js"
76586
+ "name": "SbbFormFieldClearElement",
76587
+ "module": "form-field/form-field-clear/form-field-clear.component.js"
76588
76588
  }
76589
76589
  },
76590
76590
  {
76591
- "kind": "js",
76592
- "name": "SbbHeaderActionCommonElementMixin",
76591
+ "kind": "custom-element-definition",
76592
+ "name": "sbb-form-field-clear",
76593
76593
  "declaration": {
76594
- "name": "SbbHeaderActionCommonElementMixin",
76595
- "module": "header/common/header-action-common.js"
76594
+ "name": "SbbFormFieldClearElement",
76595
+ "module": "form-field/form-field-clear/form-field-clear.component.js"
76596
76596
  }
76597
76597
  }
76598
76598
  ]