@sbb-esta/lyne-elements-dev 4.12.1-dev.1778146170 → 4.12.1-dev.1778235388

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 +1477 -1477
  2. package/package.json +2 -2
@@ -60693,240 +60693,6 @@
60693
60693
  }
60694
60694
  ]
60695
60695
  },
60696
- {
60697
- "kind": "javascript-module",
60698
- "path": "container/container/container.component.js",
60699
- "declarations": [
60700
- {
60701
- "kind": "class",
60702
- "description": "It displays its content with the default page spacing.",
60703
- "name": "SbbContainerElement",
60704
- "cssProperties": [
60705
- {
60706
- "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
60707
- "name": "--sbb-page-spacing-padding"
60708
- }
60709
- ],
60710
- "slots": [
60711
- {
60712
- "description": "Use the unnamed slot to add anything to the container.",
60713
- "name": ""
60714
- },
60715
- {
60716
- "description": "The slot used by the sbb-sticky-bar component.",
60717
- "name": "sticky-bar"
60718
- },
60719
- {
60720
- "description": "The slot used to slot an `sbb-image` to use as background.",
60721
- "name": "image"
60722
- }
60723
- ],
60724
- "members": [
60725
- {
60726
- "kind": "field",
60727
- "name": "elementName",
60728
- "type": {
60729
- "text": "string"
60730
- },
60731
- "privacy": "public",
60732
- "static": true,
60733
- "readonly": true,
60734
- "default": "'sbb-container'",
60735
- "inheritedFrom": {
60736
- "name": "SbbElement",
60737
- "module": "core/base-elements/element.js"
60738
- }
60739
- },
60740
- {
60741
- "kind": "field",
60742
- "name": "expanded",
60743
- "type": {
60744
- "text": "boolean"
60745
- },
60746
- "privacy": "public",
60747
- "default": "false",
60748
- "description": "Whether the container is expanded.",
60749
- "attribute": "expanded",
60750
- "reflects": true
60751
- },
60752
- {
60753
- "kind": "field",
60754
- "name": "backgroundExpanded",
60755
- "type": {
60756
- "text": "boolean"
60757
- },
60758
- "privacy": "public",
60759
- "default": "false",
60760
- "description": "Whether the background color is shown on full container width on large screens.",
60761
- "attribute": "background-expanded",
60762
- "reflects": true
60763
- },
60764
- {
60765
- "kind": "field",
60766
- "name": "color",
60767
- "type": {
60768
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60769
- },
60770
- "privacy": "public",
60771
- "default": "'white'",
60772
- "description": "Color of the container, like transparent, white etc.",
60773
- "attribute": "color",
60774
- "reflects": true
60775
- },
60776
- {
60777
- "kind": "field",
60778
- "name": "_hydrationRequired",
60779
- "type": {
60780
- "text": "boolean"
60781
- },
60782
- "privacy": "private",
60783
- "default": "!!this.shadowRoot",
60784
- "inheritedFrom": {
60785
- "name": "SbbHydrationMixin",
60786
- "module": "core/mixins/hydration-mixin.js"
60787
- }
60788
- },
60789
- {
60790
- "kind": "field",
60791
- "name": "_hydrationComplete",
60792
- "privacy": "private",
60793
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
60794
- "inheritedFrom": {
60795
- "name": "SbbHydrationMixin",
60796
- "module": "core/mixins/hydration-mixin.js"
60797
- }
60798
- },
60799
- {
60800
- "kind": "field",
60801
- "name": "_resolveHydration",
60802
- "type": {
60803
- "text": "(hydrationRequired: boolean) => void"
60804
- },
60805
- "privacy": "private",
60806
- "inheritedFrom": {
60807
- "name": "SbbHydrationMixin",
60808
- "module": "core/mixins/hydration-mixin.js"
60809
- }
60810
- },
60811
- {
60812
- "kind": "field",
60813
- "name": "hydrationRequired",
60814
- "type": {
60815
- "text": "boolean"
60816
- },
60817
- "privacy": "protected",
60818
- "description": "Returns whether hydration is required and not completed.",
60819
- "readonly": true,
60820
- "inheritedFrom": {
60821
- "name": "SbbHydrationMixin",
60822
- "module": "core/mixins/hydration-mixin.js"
60823
- },
60824
- "default": "!!this.shadowRoot"
60825
- },
60826
- {
60827
- "kind": "method",
60828
- "name": "toggleState",
60829
- "privacy": "protected",
60830
- "return": {
60831
- "type": {
60832
- "text": "void"
60833
- }
60834
- },
60835
- "parameters": [
60836
- {
60837
- "name": "value",
60838
- "type": {
60839
- "text": "string"
60840
- }
60841
- },
60842
- {
60843
- "name": "force",
60844
- "optional": true,
60845
- "type": {
60846
- "text": "boolean"
60847
- }
60848
- }
60849
- ],
60850
- "inheritedFrom": {
60851
- "name": "SbbElementInternalsMixin",
60852
- "module": "core/mixins/element-internals-mixin.js"
60853
- }
60854
- },
60855
- {
60856
- "kind": "field",
60857
- "name": "['_$sbbElement$']",
60858
- "type": {
60859
- "text": "boolean"
60860
- },
60861
- "privacy": "public",
60862
- "static": true,
60863
- "default": "true",
60864
- "inheritedFrom": {
60865
- "name": "SbbElement",
60866
- "module": "core/base-elements/element.js"
60867
- }
60868
- },
60869
- {
60870
- "kind": "field",
60871
- "name": "_controllers",
60872
- "type": {
60873
- "text": "Set<SbbReactiveController> | undefined"
60874
- },
60875
- "privacy": "private",
60876
- "inheritedFrom": {
60877
- "name": "SbbElement",
60878
- "module": "core/base-elements/element.js"
60879
- }
60880
- }
60881
- ],
60882
- "attributes": [
60883
- {
60884
- "name": "expanded",
60885
- "type": {
60886
- "text": "boolean"
60887
- },
60888
- "default": "false",
60889
- "description": "Whether the container is expanded.",
60890
- "fieldName": "expanded"
60891
- },
60892
- {
60893
- "name": "background-expanded",
60894
- "type": {
60895
- "text": "boolean"
60896
- },
60897
- "default": "false",
60898
- "description": "Whether the background color is shown on full container width on large screens.",
60899
- "fieldName": "backgroundExpanded"
60900
- },
60901
- {
60902
- "name": "color",
60903
- "type": {
60904
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60905
- },
60906
- "default": "'white'",
60907
- "description": "Color of the container, like transparent, white etc.",
60908
- "fieldName": "color"
60909
- }
60910
- ],
60911
- "superclass": {
60912
- "name": "SbbElement",
60913
- "module": "core/base-elements.js"
60914
- },
60915
- "tagName": "sbb-container",
60916
- "customElement": true
60917
- }
60918
- ],
60919
- "exports": [
60920
- {
60921
- "kind": "js",
60922
- "name": "SbbContainerElement",
60923
- "declaration": {
60924
- "name": "SbbContainerElement",
60925
- "module": "container/container/container.component.js"
60926
- }
60927
- }
60928
- ]
60929
- },
60930
60696
  {
60931
60697
  "kind": "javascript-module",
60932
60698
  "path": "container/sticky-bar/sticky-bar.component.js",
@@ -61389,6 +61155,240 @@
61389
61155
  }
61390
61156
  ]
61391
61157
  },
61158
+ {
61159
+ "kind": "javascript-module",
61160
+ "path": "container/container/container.component.js",
61161
+ "declarations": [
61162
+ {
61163
+ "kind": "class",
61164
+ "description": "It displays its content with the default page spacing.",
61165
+ "name": "SbbContainerElement",
61166
+ "cssProperties": [
61167
+ {
61168
+ "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
61169
+ "name": "--sbb-page-spacing-padding"
61170
+ }
61171
+ ],
61172
+ "slots": [
61173
+ {
61174
+ "description": "Use the unnamed slot to add anything to the container.",
61175
+ "name": ""
61176
+ },
61177
+ {
61178
+ "description": "The slot used by the sbb-sticky-bar component.",
61179
+ "name": "sticky-bar"
61180
+ },
61181
+ {
61182
+ "description": "The slot used to slot an `sbb-image` to use as background.",
61183
+ "name": "image"
61184
+ }
61185
+ ],
61186
+ "members": [
61187
+ {
61188
+ "kind": "field",
61189
+ "name": "elementName",
61190
+ "type": {
61191
+ "text": "string"
61192
+ },
61193
+ "privacy": "public",
61194
+ "static": true,
61195
+ "readonly": true,
61196
+ "default": "'sbb-container'",
61197
+ "inheritedFrom": {
61198
+ "name": "SbbElement",
61199
+ "module": "core/base-elements/element.js"
61200
+ }
61201
+ },
61202
+ {
61203
+ "kind": "field",
61204
+ "name": "expanded",
61205
+ "type": {
61206
+ "text": "boolean"
61207
+ },
61208
+ "privacy": "public",
61209
+ "default": "false",
61210
+ "description": "Whether the container is expanded.",
61211
+ "attribute": "expanded",
61212
+ "reflects": true
61213
+ },
61214
+ {
61215
+ "kind": "field",
61216
+ "name": "backgroundExpanded",
61217
+ "type": {
61218
+ "text": "boolean"
61219
+ },
61220
+ "privacy": "public",
61221
+ "default": "false",
61222
+ "description": "Whether the background color is shown on full container width on large screens.",
61223
+ "attribute": "background-expanded",
61224
+ "reflects": true
61225
+ },
61226
+ {
61227
+ "kind": "field",
61228
+ "name": "color",
61229
+ "type": {
61230
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
61231
+ },
61232
+ "privacy": "public",
61233
+ "default": "'white'",
61234
+ "description": "Color of the container, like transparent, white etc.",
61235
+ "attribute": "color",
61236
+ "reflects": true
61237
+ },
61238
+ {
61239
+ "kind": "field",
61240
+ "name": "_hydrationRequired",
61241
+ "type": {
61242
+ "text": "boolean"
61243
+ },
61244
+ "privacy": "private",
61245
+ "default": "!!this.shadowRoot",
61246
+ "inheritedFrom": {
61247
+ "name": "SbbHydrationMixin",
61248
+ "module": "core/mixins/hydration-mixin.js"
61249
+ }
61250
+ },
61251
+ {
61252
+ "kind": "field",
61253
+ "name": "_hydrationComplete",
61254
+ "privacy": "private",
61255
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
61256
+ "inheritedFrom": {
61257
+ "name": "SbbHydrationMixin",
61258
+ "module": "core/mixins/hydration-mixin.js"
61259
+ }
61260
+ },
61261
+ {
61262
+ "kind": "field",
61263
+ "name": "_resolveHydration",
61264
+ "type": {
61265
+ "text": "(hydrationRequired: boolean) => void"
61266
+ },
61267
+ "privacy": "private",
61268
+ "inheritedFrom": {
61269
+ "name": "SbbHydrationMixin",
61270
+ "module": "core/mixins/hydration-mixin.js"
61271
+ }
61272
+ },
61273
+ {
61274
+ "kind": "field",
61275
+ "name": "hydrationRequired",
61276
+ "type": {
61277
+ "text": "boolean"
61278
+ },
61279
+ "privacy": "protected",
61280
+ "description": "Returns whether hydration is required and not completed.",
61281
+ "readonly": true,
61282
+ "inheritedFrom": {
61283
+ "name": "SbbHydrationMixin",
61284
+ "module": "core/mixins/hydration-mixin.js"
61285
+ },
61286
+ "default": "!!this.shadowRoot"
61287
+ },
61288
+ {
61289
+ "kind": "method",
61290
+ "name": "toggleState",
61291
+ "privacy": "protected",
61292
+ "return": {
61293
+ "type": {
61294
+ "text": "void"
61295
+ }
61296
+ },
61297
+ "parameters": [
61298
+ {
61299
+ "name": "value",
61300
+ "type": {
61301
+ "text": "string"
61302
+ }
61303
+ },
61304
+ {
61305
+ "name": "force",
61306
+ "optional": true,
61307
+ "type": {
61308
+ "text": "boolean"
61309
+ }
61310
+ }
61311
+ ],
61312
+ "inheritedFrom": {
61313
+ "name": "SbbElementInternalsMixin",
61314
+ "module": "core/mixins/element-internals-mixin.js"
61315
+ }
61316
+ },
61317
+ {
61318
+ "kind": "field",
61319
+ "name": "['_$sbbElement$']",
61320
+ "type": {
61321
+ "text": "boolean"
61322
+ },
61323
+ "privacy": "public",
61324
+ "static": true,
61325
+ "default": "true",
61326
+ "inheritedFrom": {
61327
+ "name": "SbbElement",
61328
+ "module": "core/base-elements/element.js"
61329
+ }
61330
+ },
61331
+ {
61332
+ "kind": "field",
61333
+ "name": "_controllers",
61334
+ "type": {
61335
+ "text": "Set<SbbReactiveController> | undefined"
61336
+ },
61337
+ "privacy": "private",
61338
+ "inheritedFrom": {
61339
+ "name": "SbbElement",
61340
+ "module": "core/base-elements/element.js"
61341
+ }
61342
+ }
61343
+ ],
61344
+ "attributes": [
61345
+ {
61346
+ "name": "expanded",
61347
+ "type": {
61348
+ "text": "boolean"
61349
+ },
61350
+ "default": "false",
61351
+ "description": "Whether the container is expanded.",
61352
+ "fieldName": "expanded"
61353
+ },
61354
+ {
61355
+ "name": "background-expanded",
61356
+ "type": {
61357
+ "text": "boolean"
61358
+ },
61359
+ "default": "false",
61360
+ "description": "Whether the background color is shown on full container width on large screens.",
61361
+ "fieldName": "backgroundExpanded"
61362
+ },
61363
+ {
61364
+ "name": "color",
61365
+ "type": {
61366
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
61367
+ },
61368
+ "default": "'white'",
61369
+ "description": "Color of the container, like transparent, white etc.",
61370
+ "fieldName": "color"
61371
+ }
61372
+ ],
61373
+ "superclass": {
61374
+ "name": "SbbElement",
61375
+ "module": "core/base-elements.js"
61376
+ },
61377
+ "tagName": "sbb-container",
61378
+ "customElement": true
61379
+ }
61380
+ ],
61381
+ "exports": [
61382
+ {
61383
+ "kind": "js",
61384
+ "name": "SbbContainerElement",
61385
+ "declaration": {
61386
+ "name": "SbbContainerElement",
61387
+ "module": "container/container/container.component.js"
61388
+ }
61389
+ }
61390
+ ]
61391
+ },
61392
61392
  {
61393
61393
  "kind": "javascript-module",
61394
61394
  "path": "core/a11y/arrow-navigation.js",
@@ -87810,115 +87810,85 @@
87810
87810
  },
87811
87811
  {
87812
87812
  "kind": "javascript-module",
87813
- "path": "file-selector/common/file-selector-common.js",
87813
+ "path": "expansion-panel/expansion-panel-header/expansion-panel-header.component.js",
87814
87814
  "declarations": [
87815
- {
87816
- "kind": "variable",
87817
- "name": "fileSelectorCommonStyle"
87818
- },
87819
87815
  {
87820
87816
  "kind": "class",
87821
- "description": "",
87822
- "name": "SbbFileSelectorCommonElementMixinType",
87823
- "members": [
87824
- {
87825
- "kind": "field",
87826
- "name": "size",
87827
- "type": {
87828
- "text": "'s' | 'm'"
87829
- },
87830
- "privacy": "public"
87831
- },
87817
+ "description": "It acts as a native `summary` tag for the `sbb-expansion-panel` component.",
87818
+ "name": "SbbExpansionPanelHeaderElement",
87819
+ "slots": [
87832
87820
  {
87833
- "kind": "field",
87834
- "name": "multiple",
87835
- "type": {
87836
- "text": "boolean"
87837
- },
87838
- "privacy": "public"
87821
+ "description": "Use the unnamed slot to add content to the `sbb-expansion-panel-header`.",
87822
+ "name": ""
87839
87823
  },
87840
87824
  {
87841
- "kind": "field",
87842
- "name": "multipleMode",
87843
- "type": {
87844
- "text": "'default' | 'persistent'"
87845
- },
87846
- "privacy": "public"
87847
- },
87825
+ "description": "Slot used to render the `sbb-expansion-panel-header` icon.",
87826
+ "name": "icon"
87827
+ }
87828
+ ],
87829
+ "members": [
87848
87830
  {
87849
87831
  "kind": "field",
87850
- "name": "accept",
87832
+ "name": "elementName",
87851
87833
  "type": {
87852
87834
  "text": "string"
87853
87835
  },
87854
- "privacy": "public"
87855
- },
87856
- {
87857
- "kind": "field",
87858
- "name": "accessibilityLabel",
87859
- "type": {
87860
- "text": "string"
87836
+ "privacy": "public",
87837
+ "static": true,
87838
+ "readonly": true,
87839
+ "inheritedFrom": {
87840
+ "name": "SbbElement",
87841
+ "module": "core/base-elements/element.js"
87861
87842
  },
87862
- "privacy": "public"
87843
+ "default": "'sbb-expansion-panel-header'"
87863
87844
  },
87864
87845
  {
87865
87846
  "kind": "field",
87866
- "name": "files",
87847
+ "name": "events",
87848
+ "privacy": "public",
87849
+ "static": true,
87850
+ "readonly": true,
87851
+ "default": "{ toggleexpanded: 'toggleexpanded', }",
87867
87852
  "type": {
87868
- "text": "Readonly<File>[]"
87869
- },
87870
- "privacy": "public"
87853
+ "text": "{\n toggleexpanded: 'toggleexpanded',\n }"
87854
+ }
87871
87855
  },
87872
87856
  {
87873
87857
  "kind": "field",
87874
- "name": "value",
87875
- "type": {
87876
- "text": "string | null"
87877
- },
87878
- "privacy": "public",
87879
- "inheritedFrom": {
87880
- "name": "SbbFormAssociatedMixin",
87881
- "module": "core/mixins/form-associated-mixin.js"
87882
- }
87858
+ "name": "_mediaMatcher",
87859
+ "privacy": "private",
87860
+ "default": "new SbbMediaMatcherController(this, { [SbbMediaQueryHover]: (m) => (this._isHover = m), })"
87883
87861
  },
87884
87862
  {
87885
87863
  "kind": "field",
87886
- "name": "loadButton",
87864
+ "name": "_isHover",
87887
87865
  "type": {
87888
- "text": "SbbSecondaryButtonStaticElement"
87866
+ "text": "boolean"
87889
87867
  },
87890
- "privacy": "protected"
87868
+ "privacy": "private"
87891
87869
  },
87892
87870
  {
87893
87871
  "kind": "field",
87894
- "name": "language",
87872
+ "name": "_previousSize",
87895
87873
  "type": {
87896
- "text": "SbbLanguageController"
87874
+ "text": "string | undefined"
87897
87875
  },
87898
- "privacy": "protected"
87876
+ "privacy": "private"
87899
87877
  },
87900
87878
  {
87901
87879
  "kind": "method",
87902
- "name": "renderTemplate",
87903
- "privacy": "protected",
87880
+ "name": "_emitExpandedEvent",
87881
+ "privacy": "private",
87904
87882
  "return": {
87905
87883
  "type": {
87906
- "text": "TemplateResult"
87907
- }
87908
- },
87909
- "parameters": [
87910
- {
87911
- "name": "input",
87912
- "type": {
87913
- "text": "TemplateResult"
87914
- }
87884
+ "text": "void"
87915
87885
  }
87916
- ]
87886
+ }
87917
87887
  },
87918
87888
  {
87919
87889
  "kind": "method",
87920
- "name": "createFileList",
87921
- "privacy": "protected",
87890
+ "name": "_onMouseMovement",
87891
+ "privacy": "private",
87922
87892
  "return": {
87923
87893
  "type": {
87924
87894
  "text": "void"
@@ -87926,56 +87896,54 @@
87926
87896
  },
87927
87897
  "parameters": [
87928
87898
  {
87929
- "name": "files",
87899
+ "name": "toggleDataAttribute",
87930
87900
  "type": {
87931
- "text": "FileList"
87901
+ "text": "boolean"
87932
87902
  }
87933
87903
  }
87934
87904
  ]
87935
87905
  },
87936
87906
  {
87937
87907
  "kind": "method",
87938
- "name": "getButtonLabel",
87939
- "privacy": "protected",
87908
+ "name": "_setIconState",
87909
+ "privacy": "private",
87940
87910
  "return": {
87941
87911
  "type": {
87942
- "text": "string"
87912
+ "text": "void"
87943
87913
  }
87944
- }
87914
+ },
87915
+ "description": "The :state(icon) is used by the 'sbb-expansion-panel'.\nIt needs to be set before the"
87945
87916
  },
87946
87917
  {
87947
87918
  "kind": "method",
87948
- "name": "formResetCallback",
87949
- "privacy": "public",
87919
+ "name": "renderTemplate",
87920
+ "privacy": "protected",
87950
87921
  "return": {
87951
87922
  "type": {
87952
- "text": "void"
87923
+ "text": "TemplateResult"
87953
87924
  }
87925
+ },
87926
+ "description": "Override this method to render the component template.",
87927
+ "inheritedFrom": {
87928
+ "name": "SbbActionBaseElement",
87929
+ "module": "core/base-elements/action-base-element.js"
87954
87930
  }
87955
87931
  },
87956
87932
  {
87957
- "kind": "method",
87958
- "name": "formStateRestoreCallback",
87959
- "privacy": "public",
87960
- "return": {
87961
- "type": {
87962
- "text": "void"
87963
- }
87933
+ "kind": "field",
87934
+ "name": "disabledInteractive",
87935
+ "type": {
87936
+ "text": "boolean"
87964
87937
  },
87965
- "parameters": [
87966
- {
87967
- "name": "state",
87968
- "type": {
87969
- "text": "FormRestoreState | null"
87970
- }
87971
- },
87972
- {
87973
- "name": "reason",
87974
- "type": {
87975
- "text": "FormRestoreReason"
87976
- }
87977
- }
87978
- ]
87938
+ "privacy": "public",
87939
+ "default": "false",
87940
+ "description": "Whether the button should be aria-disabled but stay interactive.",
87941
+ "attribute": "disabled-interactive",
87942
+ "reflects": true,
87943
+ "inheritedFrom": {
87944
+ "name": "SbbDisabledInteractiveMixin",
87945
+ "module": "core/mixins/disabled-mixin.js"
87946
+ }
87979
87947
  },
87980
87948
  {
87981
87949
  "kind": "field",
@@ -88023,16 +87991,112 @@
88023
87991
  },
88024
87992
  {
88025
87993
  "kind": "field",
88026
- "name": "formAssociated",
87994
+ "name": "iconName",
88027
87995
  "type": {
88028
- "text": "boolean"
87996
+ "text": "string"
88029
87997
  },
88030
87998
  "privacy": "public",
88031
- "static": true,
88032
- "default": "true",
87999
+ "default": "''",
88000
+ "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.",
88001
+ "attribute": "icon-name",
88033
88002
  "inheritedFrom": {
88034
- "name": "SbbFormAssociatedMixin",
88035
- "module": "core/mixins/form-associated-mixin.js"
88003
+ "name": "SbbIconNameMixin",
88004
+ "module": "icon/icon-name-mixin.js"
88005
+ }
88006
+ },
88007
+ {
88008
+ "kind": "method",
88009
+ "name": "renderIconSlot",
88010
+ "privacy": "protected",
88011
+ "return": {
88012
+ "type": {
88013
+ "text": "TemplateResult"
88014
+ }
88015
+ },
88016
+ "parameters": [
88017
+ {
88018
+ "name": "classname",
88019
+ "optional": true,
88020
+ "type": {
88021
+ "text": "string"
88022
+ }
88023
+ }
88024
+ ],
88025
+ "inheritedFrom": {
88026
+ "name": "SbbIconNameMixin",
88027
+ "module": "icon/icon-name-mixin.js"
88028
+ }
88029
+ },
88030
+ {
88031
+ "kind": "method",
88032
+ "name": "renderIconName",
88033
+ "privacy": "protected",
88034
+ "return": {
88035
+ "type": {
88036
+ "text": "string"
88037
+ }
88038
+ },
88039
+ "inheritedFrom": {
88040
+ "name": "SbbIconNameMixin",
88041
+ "module": "icon/icon-name-mixin.js"
88042
+ }
88043
+ },
88044
+ {
88045
+ "kind": "method",
88046
+ "name": "_renderIconName",
88047
+ "privacy": "private",
88048
+ "return": {
88049
+ "type": {
88050
+ "text": "string"
88051
+ }
88052
+ },
88053
+ "inheritedFrom": {
88054
+ "name": "SbbIconNameMixin",
88055
+ "module": "icon/icon-name-mixin.js"
88056
+ }
88057
+ },
88058
+ {
88059
+ "kind": "field",
88060
+ "name": "_elementsOnWhichEnterPressTriggersSubmit",
88061
+ "type": {
88062
+ "text": "array"
88063
+ },
88064
+ "privacy": "private",
88065
+ "readonly": true,
88066
+ "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
88067
+ "inheritedFrom": {
88068
+ "name": "SbbButtonBaseElement",
88069
+ "module": "core/base-elements/button-base-element.js"
88070
+ }
88071
+ },
88072
+ {
88073
+ "kind": "field",
88074
+ "name": "value",
88075
+ "type": {
88076
+ "text": "string"
88077
+ },
88078
+ "privacy": "public",
88079
+ "inheritedFrom": {
88080
+ "name": "SbbButtonBaseElement",
88081
+ "module": "core/base-elements/button-base-element.js"
88082
+ },
88083
+ "default": "''",
88084
+ "description": "Value of the form element.",
88085
+ "attribute": "value"
88086
+ },
88087
+ {
88088
+ "kind": "field",
88089
+ "name": "type",
88090
+ "privacy": "public",
88091
+ "description": "The type attribute to use for the button.",
88092
+ "default": "'button'",
88093
+ "type": {
88094
+ "text": "SbbButtonType"
88095
+ },
88096
+ "attribute": "type",
88097
+ "inheritedFrom": {
88098
+ "name": "SbbButtonBaseElement",
88099
+ "module": "core/base-elements/button-base-element.js"
88036
88100
  }
88037
88101
  },
88038
88102
  {
@@ -88042,8 +88106,75 @@
88042
88106
  "text": "HTMLFormElement | null"
88043
88107
  },
88044
88108
  "privacy": "public",
88045
- "description": "Returns the form owner of this element.",
88046
- "readonly": true,
88109
+ "description": "The `<form>` element to associate the button with.",
88110
+ "inheritedFrom": {
88111
+ "name": "SbbButtonBaseElement",
88112
+ "module": "core/base-elements/button-base-element.js"
88113
+ },
88114
+ "attribute": "form"
88115
+ },
88116
+ {
88117
+ "kind": "field",
88118
+ "name": "_formId",
88119
+ "type": {
88120
+ "text": "string"
88121
+ },
88122
+ "privacy": "private",
88123
+ "default": "''",
88124
+ "inheritedFrom": {
88125
+ "name": "SbbButtonBaseElement",
88126
+ "module": "core/base-elements/button-base-element.js"
88127
+ }
88128
+ },
88129
+ {
88130
+ "kind": "field",
88131
+ "name": "_handleButtonClick",
88132
+ "privacy": "private",
88133
+ "inheritedFrom": {
88134
+ "name": "SbbButtonBaseElement",
88135
+ "module": "core/base-elements/button-base-element.js"
88136
+ }
88137
+ },
88138
+ {
88139
+ "kind": "method",
88140
+ "name": "_requestSubmit",
88141
+ "privacy": "private",
88142
+ "return": {
88143
+ "type": {
88144
+ "text": "void"
88145
+ }
88146
+ },
88147
+ "parameters": [
88148
+ {
88149
+ "name": "form",
88150
+ "type": {
88151
+ "text": "HTMLFormElement"
88152
+ }
88153
+ }
88154
+ ],
88155
+ "inheritedFrom": {
88156
+ "name": "SbbButtonBaseElement",
88157
+ "module": "core/base-elements/button-base-element.js"
88158
+ }
88159
+ },
88160
+ {
88161
+ "kind": "field",
88162
+ "name": "_formKeyDown",
88163
+ "privacy": "private",
88164
+ "inheritedFrom": {
88165
+ "name": "SbbButtonBaseElement",
88166
+ "module": "core/base-elements/button-base-element.js"
88167
+ }
88168
+ },
88169
+ {
88170
+ "kind": "field",
88171
+ "name": "formAssociated",
88172
+ "type": {
88173
+ "text": "boolean"
88174
+ },
88175
+ "privacy": "public",
88176
+ "static": true,
88177
+ "default": "true",
88047
88178
  "inheritedFrom": {
88048
88179
  "name": "SbbFormAssociatedMixin",
88049
88180
  "module": "core/mixins/form-associated-mixin.js"
@@ -88336,6 +88467,111 @@
88336
88467
  "module": "core/mixins/form-associated-mixin.js"
88337
88468
  }
88338
88469
  },
88470
+ {
88471
+ "kind": "field",
88472
+ "name": "role",
88473
+ "type": {
88474
+ "text": "ElementInternals['role']"
88475
+ },
88476
+ "privacy": "public",
88477
+ "static": true,
88478
+ "readonly": true,
88479
+ "default": "'button'",
88480
+ "inheritedFrom": {
88481
+ "name": "SbbButtonLikeBaseElement",
88482
+ "module": "core/base-elements/button-base-element.js"
88483
+ }
88484
+ },
88485
+ {
88486
+ "kind": "field",
88487
+ "name": "_preventScrollOnSpaceKeydown",
88488
+ "privacy": "private",
88489
+ "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
88490
+ "parameters": [
88491
+ {
88492
+ "description": "The origin event.",
88493
+ "name": "event"
88494
+ }
88495
+ ],
88496
+ "inheritedFrom": {
88497
+ "name": "SbbButtonLikeBaseElement",
88498
+ "module": "core/base-elements/button-base-element.js"
88499
+ }
88500
+ },
88501
+ {
88502
+ "kind": "field",
88503
+ "name": "_removeActiveMarker",
88504
+ "privacy": "private",
88505
+ "inheritedFrom": {
88506
+ "name": "SbbButtonLikeBaseElement",
88507
+ "module": "core/base-elements/button-base-element.js"
88508
+ }
88509
+ },
88510
+ {
88511
+ "kind": "field",
88512
+ "name": "_dispatchClickEventOnSpaceKeyup",
88513
+ "privacy": "private",
88514
+ "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.",
88515
+ "parameters": [
88516
+ {
88517
+ "description": "The origin event.",
88518
+ "name": "event"
88519
+ }
88520
+ ],
88521
+ "inheritedFrom": {
88522
+ "name": "SbbButtonLikeBaseElement",
88523
+ "module": "core/base-elements/button-base-element.js"
88524
+ }
88525
+ },
88526
+ {
88527
+ "kind": "field",
88528
+ "name": "_dispatchClickEvent",
88529
+ "privacy": "private",
88530
+ "inheritedFrom": {
88531
+ "name": "SbbButtonLikeBaseElement",
88532
+ "module": "core/base-elements/button-base-element.js"
88533
+ }
88534
+ },
88535
+ {
88536
+ "kind": "field",
88537
+ "name": "maybeDisabled",
88538
+ "type": {
88539
+ "text": "boolean | undefined"
88540
+ },
88541
+ "privacy": "protected",
88542
+ "readonly": true,
88543
+ "inheritedFrom": {
88544
+ "name": "SbbActionBaseElement",
88545
+ "module": "core/base-elements/action-base-element.js"
88546
+ }
88547
+ },
88548
+ {
88549
+ "kind": "field",
88550
+ "name": "maybeDisabledInteractive",
88551
+ "type": {
88552
+ "text": "boolean | undefined"
88553
+ },
88554
+ "privacy": "protected",
88555
+ "readonly": true,
88556
+ "inheritedFrom": {
88557
+ "name": "SbbActionBaseElement",
88558
+ "module": "core/base-elements/action-base-element.js"
88559
+ }
88560
+ },
88561
+ {
88562
+ "kind": "method",
88563
+ "name": "setupBaseEventHandlers",
88564
+ "privacy": "protected",
88565
+ "return": {
88566
+ "type": {
88567
+ "text": "void"
88568
+ }
88569
+ },
88570
+ "inheritedFrom": {
88571
+ "name": "SbbActionBaseElement",
88572
+ "module": "core/base-elements/action-base-element.js"
88573
+ }
88574
+ },
88339
88575
  {
88340
88576
  "kind": "field",
88341
88577
  "name": "_hydrationRequired",
@@ -88429,20 +88665,6 @@
88429
88665
  "module": "core/base-elements/element.js"
88430
88666
  }
88431
88667
  },
88432
- {
88433
- "kind": "field",
88434
- "name": "elementName",
88435
- "type": {
88436
- "text": "string"
88437
- },
88438
- "privacy": "public",
88439
- "static": true,
88440
- "readonly": true,
88441
- "inheritedFrom": {
88442
- "name": "SbbElement",
88443
- "module": "core/base-elements/element.js"
88444
- }
88445
- },
88446
88668
  {
88447
88669
  "kind": "field",
88448
88670
  "name": "_controllers",
@@ -88456,21 +88678,45 @@
88456
88678
  }
88457
88679
  }
88458
88680
  ],
88681
+ "events": [
88682
+ {
88683
+ "name": "toggleexpanded",
88684
+ "type": {
88685
+ "text": "Event"
88686
+ },
88687
+ "description": "Notifies that the `sbb-expansion-panel` is about to expand/shrink."
88688
+ }
88689
+ ],
88459
88690
  "mixins": [
88460
88691
  {
88461
- "name": "SbbDisabledMixin",
88692
+ "name": "SbbDisabledTabIndexActionMixin",
88462
88693
  "module": "core/mixins.js"
88463
88694
  },
88464
88695
  {
88465
- "name": "SbbFormAssociatedMixin",
88466
- "module": "core/mixins.js"
88696
+ "name": "SbbIconNameMixin",
88697
+ "module": "icon.js"
88467
88698
  }
88468
88699
  ],
88469
88700
  "superclass": {
88470
- "name": "SbbElement",
88701
+ "name": "SbbButtonBaseElement",
88471
88702
  "module": "core/base-elements.js"
88472
88703
  },
88704
+ "tagName": "sbb-expansion-panel-header",
88705
+ "customElement": true,
88473
88706
  "attributes": [
88707
+ {
88708
+ "name": "disabled-interactive",
88709
+ "type": {
88710
+ "text": "boolean"
88711
+ },
88712
+ "default": "false",
88713
+ "description": "Whether the button should be aria-disabled but stay interactive.",
88714
+ "fieldName": "disabledInteractive",
88715
+ "inheritedFrom": {
88716
+ "name": "SbbDisabledInteractiveMixin",
88717
+ "module": "core/mixins/disabled-mixin.js"
88718
+ }
88719
+ },
88474
88720
  {
88475
88721
  "name": "disabled",
88476
88722
  "description": "Whether the component is disabled.",
@@ -88485,157 +88731,154 @@
88485
88731
  }
88486
88732
  },
88487
88733
  {
88488
- "name": "name",
88489
- "description": "Name of the form element. Will be read from name attribute.",
88734
+ "name": "icon-name",
88490
88735
  "type": {
88491
88736
  "text": "string"
88492
88737
  },
88493
- "fieldName": "name",
88738
+ "default": "''",
88739
+ "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.",
88740
+ "fieldName": "iconName",
88494
88741
  "inheritedFrom": {
88495
- "name": "SbbFormAssociatedMixin",
88496
- "module": "core/mixins/form-associated-mixin.js"
88497
- }
88498
- }
88499
- ]
88500
- },
88501
- {
88502
- "kind": "mixin",
88503
- "description": "",
88504
- "name": "SbbFileSelectorCommonElementMixin",
88505
- "members": [
88506
- {
88507
- "kind": "field",
88508
- "name": "events",
88509
- "privacy": "public",
88510
- "static": true,
88511
- "readonly": true,
88512
- "default": "{ filechanged: 'filechanged', }",
88513
- "type": {
88514
- "text": "{\n filechanged: 'filechanged',\n }"
88742
+ "name": "SbbIconNameMixin",
88743
+ "module": "icon/icon-name-mixin.js"
88515
88744
  }
88516
88745
  },
88517
88746
  {
88518
- "kind": "field",
88519
- "name": "size",
88747
+ "name": "value",
88520
88748
  "type": {
88521
- "text": "'s' | 'm'"
88749
+ "text": "string"
88522
88750
  },
88523
- "privacy": "public",
88524
- "description": "Size variant, either s or m.",
88525
- "default": "'m' / 's' (lean)",
88526
- "attribute": "size",
88527
- "reflects": true
88751
+ "default": "''",
88752
+ "description": "Value of the form element.",
88753
+ "fieldName": "value",
88754
+ "inheritedFrom": {
88755
+ "name": "SbbButtonBaseElement",
88756
+ "module": "core/base-elements/button-base-element.js"
88757
+ }
88528
88758
  },
88529
88759
  {
88530
- "kind": "field",
88531
- "name": "multiple",
88760
+ "name": "type",
88761
+ "description": "The type attribute to use for the button.",
88762
+ "default": "'button'",
88532
88763
  "type": {
88533
- "text": "boolean"
88764
+ "text": "SbbButtonType"
88534
88765
  },
88535
- "privacy": "public",
88536
- "default": "false",
88537
- "description": "Whether more than one file can be selected.",
88538
- "attribute": "multiple"
88766
+ "fieldName": "type",
88767
+ "inheritedFrom": {
88768
+ "name": "SbbButtonBaseElement",
88769
+ "module": "core/base-elements/button-base-element.js"
88770
+ }
88539
88771
  },
88540
88772
  {
88541
- "kind": "field",
88542
- "name": "multipleMode",
88773
+ "name": "form",
88774
+ "description": "The `<form>` element to associate the button with.",
88543
88775
  "type": {
88544
- "text": "'default' | 'persistent'"
88776
+ "text": "HTMLFormElement | null"
88545
88777
  },
88546
- "privacy": "public",
88547
- "default": "'default'",
88548
- "description": "Whether the newly added files should override the previously added ones.",
88549
- "attribute": "multiple-mode"
88778
+ "fieldName": "form",
88779
+ "inheritedFrom": {
88780
+ "name": "SbbButtonBaseElement",
88781
+ "module": "core/base-elements/button-base-element.js"
88782
+ }
88550
88783
  },
88551
88784
  {
88552
- "kind": "field",
88553
- "name": "accept",
88785
+ "name": "name",
88786
+ "description": "Name of the form element. Will be read from name attribute.",
88554
88787
  "type": {
88555
88788
  "text": "string"
88556
88789
  },
88557
- "privacy": "public",
88558
- "default": "''",
88559
- "description": "A comma-separated list of allowed unique file type specifiers.",
88560
- "attribute": "accept"
88561
- },
88790
+ "fieldName": "name",
88791
+ "inheritedFrom": {
88792
+ "name": "SbbFormAssociatedMixin",
88793
+ "module": "core/mixins/form-associated-mixin.js"
88794
+ }
88795
+ }
88796
+ ]
88797
+ }
88798
+ ],
88799
+ "exports": [
88800
+ {
88801
+ "kind": "js",
88802
+ "name": "SbbExpansionPanelHeaderElement",
88803
+ "declaration": {
88804
+ "name": "SbbExpansionPanelHeaderElement",
88805
+ "module": "expansion-panel/expansion-panel-header/expansion-panel-header.component.js"
88806
+ }
88807
+ }
88808
+ ]
88809
+ },
88810
+ {
88811
+ "kind": "javascript-module",
88812
+ "path": "file-selector/common/file-selector-common.js",
88813
+ "declarations": [
88814
+ {
88815
+ "kind": "variable",
88816
+ "name": "fileSelectorCommonStyle"
88817
+ },
88818
+ {
88819
+ "kind": "class",
88820
+ "description": "",
88821
+ "name": "SbbFileSelectorCommonElementMixinType",
88822
+ "members": [
88562
88823
  {
88563
88824
  "kind": "field",
88564
- "name": "accessibilityLabel",
88825
+ "name": "size",
88565
88826
  "type": {
88566
- "text": "string"
88827
+ "text": "'s' | 'm'"
88567
88828
  },
88568
- "privacy": "public",
88569
- "default": "''",
88570
- "description": "This will be forwarded as aria-label to the native input element.",
88571
- "attribute": "accessibility-label"
88829
+ "privacy": "public"
88572
88830
  },
88573
88831
  {
88574
88832
  "kind": "field",
88575
- "name": "value",
88833
+ "name": "multiple",
88576
88834
  "type": {
88577
- "text": "string | null"
88835
+ "text": "boolean"
88578
88836
  },
88579
- "privacy": "public",
88580
- "description": "The path of the first selected file. Empty string ('') if no file is selected",
88581
- "inheritedFrom": {
88582
- "name": "SbbFormAssociatedMixin",
88583
- "module": "core/mixins/form-associated-mixin.js"
88584
- }
88585
- },
88586
- {
88587
- "kind": "field",
88588
- "name": "files",
88589
- "privacy": "public",
88590
- "description": "The list of selected files.",
88591
- "type": {
88592
- "text": "Readonly<File>[]"
88593
- }
88837
+ "privacy": "public"
88594
88838
  },
88595
88839
  {
88596
88840
  "kind": "field",
88597
- "name": "_files",
88841
+ "name": "multipleMode",
88598
88842
  "type": {
88599
- "text": "Readonly<File>[]"
88843
+ "text": "'default' | 'persistent'"
88600
88844
  },
88601
- "privacy": "private",
88602
- "default": "[]"
88845
+ "privacy": "public"
88603
88846
  },
88604
88847
  {
88605
88848
  "kind": "field",
88606
- "name": "type",
88849
+ "name": "accept",
88607
88850
  "type": {
88608
88851
  "text": "string"
88609
88852
  },
88610
- "privacy": "public",
88611
- "description": "Form type of element.",
88612
- "default": "'file'",
88613
- "readonly": true
88853
+ "privacy": "public"
88614
88854
  },
88615
88855
  {
88616
88856
  "kind": "field",
88617
- "name": "_hiddenInput",
88857
+ "name": "accessibilityLabel",
88618
88858
  "type": {
88619
- "text": "HTMLInputElement"
88859
+ "text": "string"
88620
88860
  },
88621
- "privacy": "private"
88861
+ "privacy": "public"
88622
88862
  },
88623
88863
  {
88624
88864
  "kind": "field",
88625
- "name": "_suffixes",
88865
+ "name": "files",
88626
88866
  "type": {
88627
- "text": "string[]"
88867
+ "text": "Readonly<File>[]"
88628
88868
  },
88629
- "privacy": "private",
88630
- "default": "['B', 'kB', 'MB', 'GB', 'TB']"
88869
+ "privacy": "public"
88631
88870
  },
88632
88871
  {
88633
88872
  "kind": "field",
88634
- "name": "_liveRegion",
88873
+ "name": "value",
88635
88874
  "type": {
88636
- "text": "HTMLParagraphElement"
88875
+ "text": "string | null"
88637
88876
  },
88638
- "privacy": "private"
88877
+ "privacy": "public",
88878
+ "inheritedFrom": {
88879
+ "name": "SbbFormAssociatedMixin",
88880
+ "module": "core/mixins/form-associated-mixin.js"
88881
+ }
88639
88882
  },
88640
88883
  {
88641
88884
  "kind": "field",
@@ -88648,25 +88891,10 @@
88648
88891
  {
88649
88892
  "kind": "field",
88650
88893
  "name": "language",
88651
- "privacy": "protected",
88652
- "default": "new SbbLanguageController(this)"
88653
- },
88654
- {
88655
- "kind": "field",
88656
- "name": "_counter",
88657
- "type": {
88658
- "text": "number"
88659
- },
88660
- "privacy": "private",
88661
- "default": "0"
88662
- },
88663
- {
88664
- "kind": "field",
88665
- "name": "_dragTarget",
88666
88894
  "type": {
88667
- "text": "HTMLElement | undefined"
88895
+ "text": "SbbLanguageController"
88668
88896
  },
88669
- "privacy": "private"
88897
+ "privacy": "protected"
88670
88898
  },
88671
88899
  {
88672
88900
  "kind": "method",
@@ -88686,118 +88914,6 @@
88686
88914
  }
88687
88915
  ]
88688
88916
  },
88689
- {
88690
- "kind": "method",
88691
- "name": "formResetCallback",
88692
- "privacy": "public",
88693
- "return": {
88694
- "type": {
88695
- "text": "void"
88696
- }
88697
- }
88698
- },
88699
- {
88700
- "kind": "method",
88701
- "name": "formStateRestoreCallback",
88702
- "privacy": "public",
88703
- "return": {
88704
- "type": {
88705
- "text": "void"
88706
- }
88707
- },
88708
- "parameters": [
88709
- {
88710
- "name": "state",
88711
- "type": {
88712
- "text": "FormRestoreState | null"
88713
- }
88714
- },
88715
- {
88716
- "name": "_reason",
88717
- "optional": true,
88718
- "type": {
88719
- "text": "FormRestoreReason"
88720
- }
88721
- }
88722
- ]
88723
- },
88724
- {
88725
- "kind": "method",
88726
- "name": "updateFormValue",
88727
- "privacy": "protected",
88728
- "return": {
88729
- "type": {
88730
- "text": "void"
88731
- }
88732
- },
88733
- "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",
88734
- "inheritedFrom": {
88735
- "name": "SbbFormAssociatedMixin",
88736
- "module": "core/mixins/form-associated-mixin.js"
88737
- }
88738
- },
88739
- {
88740
- "kind": "method",
88741
- "name": "_checkFileEquality",
88742
- "privacy": "private",
88743
- "return": {
88744
- "type": {
88745
- "text": "boolean"
88746
- }
88747
- },
88748
- "parameters": [
88749
- {
88750
- "name": "file1",
88751
- "type": {
88752
- "text": "Readonly<File>"
88753
- }
88754
- },
88755
- {
88756
- "name": "file2",
88757
- "type": {
88758
- "text": "Readonly<File>"
88759
- }
88760
- }
88761
- ]
88762
- },
88763
- {
88764
- "kind": "method",
88765
- "name": "_onFocus",
88766
- "privacy": "private",
88767
- "return": {
88768
- "type": {
88769
- "text": "void"
88770
- }
88771
- }
88772
- },
88773
- {
88774
- "kind": "method",
88775
- "name": "_onBlur",
88776
- "privacy": "private",
88777
- "return": {
88778
- "type": {
88779
- "text": "void"
88780
- }
88781
- }
88782
- },
88783
- {
88784
- "kind": "method",
88785
- "name": "_readFiles",
88786
- "privacy": "private",
88787
- "return": {
88788
- "type": {
88789
- "text": "void"
88790
- }
88791
- },
88792
- "parameters": [
88793
- {
88794
- "name": "event",
88795
- "type": {
88796
- "text": "Event"
88797
- }
88798
- }
88799
- ]
88800
- },
88801
88917
  {
88802
88918
  "kind": "method",
88803
88919
  "name": "createFileList",
@@ -88828,55 +88944,8 @@
88828
88944
  },
88829
88945
  {
88830
88946
  "kind": "method",
88831
- "name": "_removeFile",
88832
- "privacy": "private",
88833
- "return": {
88834
- "type": {
88835
- "text": "void"
88836
- }
88837
- },
88838
- "parameters": [
88839
- {
88840
- "name": "file",
88841
- "type": {
88842
- "text": "Readonly<File>"
88843
- }
88844
- }
88845
- ]
88846
- },
88847
- {
88848
- "kind": "method",
88849
- "name": "_dispatchFileChangedEvent",
88850
- "privacy": "private",
88851
- "return": {
88852
- "type": {
88853
- "text": "void"
88854
- }
88855
- }
88856
- },
88857
- {
88858
- "kind": "method",
88859
- "name": "_formatFileSize",
88860
- "privacy": "private",
88861
- "return": {
88862
- "type": {
88863
- "text": "string"
88864
- }
88865
- },
88866
- "parameters": [
88867
- {
88868
- "name": "size",
88869
- "type": {
88870
- "text": "number"
88871
- }
88872
- }
88873
- ],
88874
- "description": "Calculates the correct unit for the file's size."
88875
- },
88876
- {
88877
- "kind": "method",
88878
- "name": "_updateA11yLiveRegion",
88879
- "privacy": "private",
88947
+ "name": "formResetCallback",
88948
+ "privacy": "public",
88880
88949
  "return": {
88881
88950
  "type": {
88882
88951
  "text": "void"
@@ -88885,90 +88954,8 @@
88885
88954
  },
88886
88955
  {
88887
88956
  "kind": "method",
88888
- "name": "_renderFileList",
88889
- "privacy": "private",
88890
- "return": {
88891
- "type": {
88892
- "text": "TemplateResult"
88893
- }
88894
- }
88895
- },
88896
- {
88897
- "kind": "method",
88898
- "name": "_onDragEnter",
88899
- "privacy": "private",
88900
- "return": {
88901
- "type": {
88902
- "text": "void"
88903
- }
88904
- },
88905
- "parameters": [
88906
- {
88907
- "name": "event",
88908
- "type": {
88909
- "text": "DragEvent"
88910
- }
88911
- }
88912
- ]
88913
- },
88914
- {
88915
- "kind": "method",
88916
- "name": "_onDragLeave",
88917
- "privacy": "private",
88918
- "return": {
88919
- "type": {
88920
- "text": "void"
88921
- }
88922
- },
88923
- "parameters": [
88924
- {
88925
- "name": "event",
88926
- "type": {
88927
- "text": "DragEvent"
88928
- }
88929
- }
88930
- ]
88931
- },
88932
- {
88933
- "kind": "method",
88934
- "name": "_onFileDrop",
88935
- "privacy": "private",
88936
- "return": {
88937
- "type": {
88938
- "text": "void"
88939
- }
88940
- },
88941
- "parameters": [
88942
- {
88943
- "name": "event",
88944
- "type": {
88945
- "text": "DragEvent"
88946
- }
88947
- }
88948
- ]
88949
- },
88950
- {
88951
- "kind": "method",
88952
- "name": "_blockEvent",
88953
- "privacy": "private",
88954
- "return": {
88955
- "type": {
88956
- "text": "void"
88957
- }
88958
- },
88959
- "parameters": [
88960
- {
88961
- "name": "event",
88962
- "type": {
88963
- "text": "DragEvent"
88964
- }
88965
- }
88966
- ]
88967
- },
88968
- {
88969
- "kind": "method",
88970
- "name": "_setDragState",
88971
- "privacy": "private",
88957
+ "name": "formStateRestoreCallback",
88958
+ "privacy": "public",
88972
88959
  "return": {
88973
88960
  "type": {
88974
88961
  "text": "void"
@@ -88976,17 +88963,15 @@
88976
88963
  },
88977
88964
  "parameters": [
88978
88965
  {
88979
- "name": "dragTarget",
88980
- "default": "undefined",
88966
+ "name": "state",
88981
88967
  "type": {
88982
- "text": "HTMLElement | undefined"
88968
+ "text": "FormRestoreState | null"
88983
88969
  }
88984
88970
  },
88985
88971
  {
88986
- "name": "isDragEnter",
88987
- "default": "false",
88972
+ "name": "reason",
88988
88973
  "type": {
88989
- "text": "boolean"
88974
+ "text": "FormRestoreReason"
88990
88975
  }
88991
88976
  }
88992
88977
  ]
@@ -89210,6 +89195,21 @@
89210
89195
  "module": "core/mixins/form-associated-mixin.js"
89211
89196
  }
89212
89197
  },
89198
+ {
89199
+ "kind": "method",
89200
+ "name": "updateFormValue",
89201
+ "privacy": "protected",
89202
+ "return": {
89203
+ "type": {
89204
+ "text": "void"
89205
+ }
89206
+ },
89207
+ "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",
89208
+ "inheritedFrom": {
89209
+ "name": "SbbFormAssociatedMixin",
89210
+ "module": "core/mixins/form-associated-mixin.js"
89211
+ }
89212
+ },
89213
89213
  {
89214
89214
  "kind": "method",
89215
89215
  "name": "formState",
@@ -89334,77 +89334,142 @@
89334
89334
  "name": "SbbFormAssociatedMixin",
89335
89335
  "module": "core/mixins/form-associated-mixin.js"
89336
89336
  }
89337
- }
89338
- ],
89339
- "events": [
89337
+ },
89340
89338
  {
89341
- "name": "input",
89339
+ "kind": "field",
89340
+ "name": "_hydrationRequired",
89342
89341
  "type": {
89343
- "text": "InputEvent"
89342
+ "text": "boolean"
89344
89343
  },
89345
- "description": "The input event fires when the value has been changed as a direct result of a user action."
89344
+ "privacy": "private",
89345
+ "default": "!!this.shadowRoot",
89346
+ "inheritedFrom": {
89347
+ "name": "SbbElement",
89348
+ "module": "core/base-elements/element.js"
89349
+ }
89346
89350
  },
89347
89351
  {
89348
- "name": "change",
89352
+ "kind": "field",
89353
+ "name": "_hydrationComplete",
89354
+ "privacy": "private",
89355
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
89356
+ "inheritedFrom": {
89357
+ "name": "SbbElement",
89358
+ "module": "core/base-elements/element.js"
89359
+ }
89360
+ },
89361
+ {
89362
+ "kind": "field",
89363
+ "name": "_resolveHydration",
89349
89364
  "type": {
89350
- "text": "Event"
89365
+ "text": "(hydrationRequired: boolean) => void"
89351
89366
  },
89352
- "description": "The change event is fired when the user modifies the element's value.\nUnlike the input event, the change event is not necessarily fired\nfor each alteration to an element's value."
89367
+ "privacy": "private",
89368
+ "inheritedFrom": {
89369
+ "name": "SbbElement",
89370
+ "module": "core/base-elements/element.js"
89371
+ }
89353
89372
  },
89354
89373
  {
89355
- "name": "filechanged",
89374
+ "kind": "field",
89375
+ "name": "hydrationRequired",
89356
89376
  "type": {
89357
- "text": "CustomEvent<Readonly<File>[]>"
89377
+ "text": "boolean"
89358
89378
  },
89359
- "description": "An event which is emitted each time the file list changes."
89360
- }
89361
- ],
89362
- "attributes": [
89363
- {
89364
- "name": "size",
89365
- "type": {
89366
- "text": "'s' | 'm'"
89379
+ "privacy": "protected",
89380
+ "description": "Returns whether hydration is required and not completed.",
89381
+ "readonly": true,
89382
+ "inheritedFrom": {
89383
+ "name": "SbbElement",
89384
+ "module": "core/base-elements/element.js"
89367
89385
  },
89368
- "description": "Size variant, either s or m.",
89369
- "default": "'m' / 's' (lean)",
89370
- "fieldName": "size"
89386
+ "default": "!!this.shadowRoot"
89371
89387
  },
89372
89388
  {
89373
- "name": "multiple",
89374
- "type": {
89375
- "text": "boolean"
89389
+ "kind": "method",
89390
+ "name": "toggleState",
89391
+ "privacy": "protected",
89392
+ "return": {
89393
+ "type": {
89394
+ "text": "void"
89395
+ }
89376
89396
  },
89377
- "default": "false",
89378
- "description": "Whether more than one file can be selected.",
89379
- "fieldName": "multiple"
89397
+ "parameters": [
89398
+ {
89399
+ "name": "value",
89400
+ "type": {
89401
+ "text": "string"
89402
+ }
89403
+ },
89404
+ {
89405
+ "name": "force",
89406
+ "optional": true,
89407
+ "type": {
89408
+ "text": "boolean"
89409
+ }
89410
+ }
89411
+ ],
89412
+ "inheritedFrom": {
89413
+ "name": "SbbElement",
89414
+ "module": "core/base-elements/element.js"
89415
+ }
89380
89416
  },
89381
89417
  {
89382
- "name": "multiple-mode",
89418
+ "kind": "field",
89419
+ "name": "['_$sbbElement$']",
89383
89420
  "type": {
89384
- "text": "'default' | 'persistent'"
89421
+ "text": "boolean"
89385
89422
  },
89386
- "default": "'default'",
89387
- "description": "Whether the newly added files should override the previously added ones.",
89388
- "fieldName": "multipleMode"
89423
+ "privacy": "public",
89424
+ "static": true,
89425
+ "default": "true",
89426
+ "inheritedFrom": {
89427
+ "name": "SbbElement",
89428
+ "module": "core/base-elements/element.js"
89429
+ }
89389
89430
  },
89390
89431
  {
89391
- "name": "accept",
89432
+ "kind": "field",
89433
+ "name": "elementName",
89392
89434
  "type": {
89393
89435
  "text": "string"
89394
89436
  },
89395
- "default": "''",
89396
- "description": "A comma-separated list of allowed unique file type specifiers.",
89397
- "fieldName": "accept"
89437
+ "privacy": "public",
89438
+ "static": true,
89439
+ "readonly": true,
89440
+ "inheritedFrom": {
89441
+ "name": "SbbElement",
89442
+ "module": "core/base-elements/element.js"
89443
+ }
89398
89444
  },
89399
89445
  {
89400
- "name": "accessibility-label",
89446
+ "kind": "field",
89447
+ "name": "_controllers",
89401
89448
  "type": {
89402
- "text": "string"
89449
+ "text": "Set<SbbReactiveController> | undefined"
89403
89450
  },
89404
- "default": "''",
89405
- "description": "This will be forwarded as aria-label to the native input element.",
89406
- "fieldName": "accessibilityLabel"
89451
+ "privacy": "private",
89452
+ "inheritedFrom": {
89453
+ "name": "SbbElement",
89454
+ "module": "core/base-elements/element.js"
89455
+ }
89456
+ }
89457
+ ],
89458
+ "mixins": [
89459
+ {
89460
+ "name": "SbbDisabledMixin",
89461
+ "module": "core/mixins.js"
89407
89462
  },
89463
+ {
89464
+ "name": "SbbFormAssociatedMixin",
89465
+ "module": "core/mixins.js"
89466
+ }
89467
+ ],
89468
+ "superclass": {
89469
+ "name": "SbbElement",
89470
+ "module": "core/base-elements.js"
89471
+ },
89472
+ "attributes": [
89408
89473
  {
89409
89474
  "name": "disabled",
89410
89475
  "description": "Whether the component is disabled.",
@@ -89430,125 +89495,200 @@
89430
89495
  "module": "core/mixins/form-associated-mixin.js"
89431
89496
  }
89432
89497
  }
89433
- ],
89434
- "mixins": [
89498
+ ]
89499
+ },
89500
+ {
89501
+ "kind": "mixin",
89502
+ "description": "",
89503
+ "name": "SbbFileSelectorCommonElementMixin",
89504
+ "members": [
89435
89505
  {
89436
- "name": "SbbDisabledMixin",
89437
- "module": "core/mixins.js"
89506
+ "kind": "field",
89507
+ "name": "events",
89508
+ "privacy": "public",
89509
+ "static": true,
89510
+ "readonly": true,
89511
+ "default": "{ filechanged: 'filechanged', }",
89512
+ "type": {
89513
+ "text": "{\n filechanged: 'filechanged',\n }"
89514
+ }
89438
89515
  },
89439
89516
  {
89440
- "name": "SbbFormAssociatedMixin",
89441
- "module": "core/mixins.js"
89442
- }
89443
- ],
89444
- "parameters": [
89517
+ "kind": "field",
89518
+ "name": "size",
89519
+ "type": {
89520
+ "text": "'s' | 'm'"
89521
+ },
89522
+ "privacy": "public",
89523
+ "description": "Size variant, either s or m.",
89524
+ "default": "'m' / 's' (lean)",
89525
+ "attribute": "size",
89526
+ "reflects": true
89527
+ },
89445
89528
  {
89446
- "name": "superclass",
89529
+ "kind": "field",
89530
+ "name": "multiple",
89447
89531
  "type": {
89448
- "text": "T"
89449
- }
89450
- }
89451
- ]
89452
- }
89453
- ],
89454
- "exports": [
89455
- {
89456
- "kind": "js",
89457
- "name": "fileSelectorCommonStyle",
89458
- "declaration": {
89459
- "name": "fileSelectorCommonStyle",
89460
- "module": "file-selector/common/file-selector-common.js"
89461
- }
89462
- },
89463
- {
89464
- "kind": "js",
89465
- "name": "SbbFileSelectorCommonElementMixinType",
89466
- "declaration": {
89467
- "name": "SbbFileSelectorCommonElementMixinType",
89468
- "module": "file-selector/common/file-selector-common.js"
89469
- }
89470
- },
89471
- {
89472
- "kind": "js",
89473
- "name": "SbbFileSelectorCommonElementMixin",
89474
- "declaration": {
89475
- "name": "SbbFileSelectorCommonElementMixin",
89476
- "module": "file-selector/common/file-selector-common.js"
89477
- }
89478
- }
89479
- ]
89480
- },
89481
- {
89482
- "kind": "javascript-module",
89483
- "path": "expansion-panel/expansion-panel-header/expansion-panel-header.component.js",
89484
- "declarations": [
89485
- {
89486
- "kind": "class",
89487
- "description": "It acts as a native `summary` tag for the `sbb-expansion-panel` component.",
89488
- "name": "SbbExpansionPanelHeaderElement",
89489
- "slots": [
89532
+ "text": "boolean"
89533
+ },
89534
+ "privacy": "public",
89535
+ "default": "false",
89536
+ "description": "Whether more than one file can be selected.",
89537
+ "attribute": "multiple"
89538
+ },
89490
89539
  {
89491
- "description": "Use the unnamed slot to add content to the `sbb-expansion-panel-header`.",
89492
- "name": ""
89540
+ "kind": "field",
89541
+ "name": "multipleMode",
89542
+ "type": {
89543
+ "text": "'default' | 'persistent'"
89544
+ },
89545
+ "privacy": "public",
89546
+ "default": "'default'",
89547
+ "description": "Whether the newly added files should override the previously added ones.",
89548
+ "attribute": "multiple-mode"
89493
89549
  },
89494
89550
  {
89495
- "description": "Slot used to render the `sbb-expansion-panel-header` icon.",
89496
- "name": "icon"
89497
- }
89498
- ],
89499
- "members": [
89551
+ "kind": "field",
89552
+ "name": "accept",
89553
+ "type": {
89554
+ "text": "string"
89555
+ },
89556
+ "privacy": "public",
89557
+ "default": "''",
89558
+ "description": "A comma-separated list of allowed unique file type specifiers.",
89559
+ "attribute": "accept"
89560
+ },
89500
89561
  {
89501
89562
  "kind": "field",
89502
- "name": "elementName",
89563
+ "name": "accessibilityLabel",
89503
89564
  "type": {
89504
89565
  "text": "string"
89505
89566
  },
89506
89567
  "privacy": "public",
89507
- "static": true,
89508
- "readonly": true,
89509
- "inheritedFrom": {
89510
- "name": "SbbElement",
89511
- "module": "core/base-elements/element.js"
89568
+ "default": "''",
89569
+ "description": "This will be forwarded as aria-label to the native input element.",
89570
+ "attribute": "accessibility-label"
89571
+ },
89572
+ {
89573
+ "kind": "field",
89574
+ "name": "value",
89575
+ "type": {
89576
+ "text": "string | null"
89512
89577
  },
89513
- "default": "'sbb-expansion-panel-header'"
89578
+ "privacy": "public",
89579
+ "description": "The path of the first selected file. Empty string ('') if no file is selected",
89580
+ "inheritedFrom": {
89581
+ "name": "SbbFormAssociatedMixin",
89582
+ "module": "core/mixins/form-associated-mixin.js"
89583
+ }
89514
89584
  },
89515
89585
  {
89516
89586
  "kind": "field",
89517
- "name": "events",
89587
+ "name": "files",
89518
89588
  "privacy": "public",
89519
- "static": true,
89520
- "readonly": true,
89521
- "default": "{ toggleexpanded: 'toggleexpanded', }",
89589
+ "description": "The list of selected files.",
89522
89590
  "type": {
89523
- "text": "{\n toggleexpanded: 'toggleexpanded',\n }"
89591
+ "text": "Readonly<File>[]"
89524
89592
  }
89525
89593
  },
89526
89594
  {
89527
89595
  "kind": "field",
89528
- "name": "_mediaMatcher",
89596
+ "name": "_files",
89597
+ "type": {
89598
+ "text": "Readonly<File>[]"
89599
+ },
89529
89600
  "privacy": "private",
89530
- "default": "new SbbMediaMatcherController(this, { [SbbMediaQueryHover]: (m) => (this._isHover = m), })"
89601
+ "default": "[]"
89531
89602
  },
89532
89603
  {
89533
89604
  "kind": "field",
89534
- "name": "_isHover",
89605
+ "name": "type",
89535
89606
  "type": {
89536
- "text": "boolean"
89607
+ "text": "string"
89608
+ },
89609
+ "privacy": "public",
89610
+ "description": "Form type of element.",
89611
+ "default": "'file'",
89612
+ "readonly": true
89613
+ },
89614
+ {
89615
+ "kind": "field",
89616
+ "name": "_hiddenInput",
89617
+ "type": {
89618
+ "text": "HTMLInputElement"
89537
89619
  },
89538
89620
  "privacy": "private"
89539
89621
  },
89540
89622
  {
89541
89623
  "kind": "field",
89542
- "name": "_previousSize",
89624
+ "name": "_suffixes",
89543
89625
  "type": {
89544
- "text": "string | undefined"
89626
+ "text": "string[]"
89627
+ },
89628
+ "privacy": "private",
89629
+ "default": "['B', 'kB', 'MB', 'GB', 'TB']"
89630
+ },
89631
+ {
89632
+ "kind": "field",
89633
+ "name": "_liveRegion",
89634
+ "type": {
89635
+ "text": "HTMLParagraphElement"
89545
89636
  },
89546
89637
  "privacy": "private"
89547
89638
  },
89548
89639
  {
89549
- "kind": "method",
89550
- "name": "_emitExpandedEvent",
89640
+ "kind": "field",
89641
+ "name": "loadButton",
89642
+ "type": {
89643
+ "text": "SbbSecondaryButtonStaticElement"
89644
+ },
89645
+ "privacy": "protected"
89646
+ },
89647
+ {
89648
+ "kind": "field",
89649
+ "name": "language",
89650
+ "privacy": "protected",
89651
+ "default": "new SbbLanguageController(this)"
89652
+ },
89653
+ {
89654
+ "kind": "field",
89655
+ "name": "_counter",
89656
+ "type": {
89657
+ "text": "number"
89658
+ },
89551
89659
  "privacy": "private",
89660
+ "default": "0"
89661
+ },
89662
+ {
89663
+ "kind": "field",
89664
+ "name": "_dragTarget",
89665
+ "type": {
89666
+ "text": "HTMLElement | undefined"
89667
+ },
89668
+ "privacy": "private"
89669
+ },
89670
+ {
89671
+ "kind": "method",
89672
+ "name": "renderTemplate",
89673
+ "privacy": "protected",
89674
+ "return": {
89675
+ "type": {
89676
+ "text": "TemplateResult"
89677
+ }
89678
+ },
89679
+ "parameters": [
89680
+ {
89681
+ "name": "input",
89682
+ "type": {
89683
+ "text": "TemplateResult"
89684
+ }
89685
+ }
89686
+ ]
89687
+ },
89688
+ {
89689
+ "kind": "method",
89690
+ "name": "formResetCallback",
89691
+ "privacy": "public",
89552
89692
  "return": {
89553
89693
  "type": {
89554
89694
  "text": "void"
@@ -89557,8 +89697,8 @@
89557
89697
  },
89558
89698
  {
89559
89699
  "kind": "method",
89560
- "name": "_onMouseMovement",
89561
- "privacy": "private",
89700
+ "name": "formStateRestoreCallback",
89701
+ "privacy": "public",
89562
89702
  "return": {
89563
89703
  "type": {
89564
89704
  "text": "void"
@@ -89566,285 +89706,357 @@
89566
89706
  },
89567
89707
  "parameters": [
89568
89708
  {
89569
- "name": "toggleDataAttribute",
89709
+ "name": "state",
89570
89710
  "type": {
89571
- "text": "boolean"
89711
+ "text": "FormRestoreState | null"
89712
+ }
89713
+ },
89714
+ {
89715
+ "name": "_reason",
89716
+ "optional": true,
89717
+ "type": {
89718
+ "text": "FormRestoreReason"
89572
89719
  }
89573
89720
  }
89574
89721
  ]
89575
89722
  },
89576
89723
  {
89577
89724
  "kind": "method",
89578
- "name": "_setIconState",
89579
- "privacy": "private",
89725
+ "name": "updateFormValue",
89726
+ "privacy": "protected",
89580
89727
  "return": {
89581
89728
  "type": {
89582
89729
  "text": "void"
89583
89730
  }
89584
89731
  },
89585
- "description": "The :state(icon) is used by the 'sbb-expansion-panel'.\nIt needs to be set before the"
89732
+ "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",
89733
+ "inheritedFrom": {
89734
+ "name": "SbbFormAssociatedMixin",
89735
+ "module": "core/mixins/form-associated-mixin.js"
89736
+ }
89586
89737
  },
89587
89738
  {
89588
89739
  "kind": "method",
89589
- "name": "renderTemplate",
89590
- "privacy": "protected",
89740
+ "name": "_checkFileEquality",
89741
+ "privacy": "private",
89591
89742
  "return": {
89592
89743
  "type": {
89593
- "text": "TemplateResult"
89744
+ "text": "boolean"
89594
89745
  }
89595
89746
  },
89596
- "description": "Override this method to render the component template.",
89597
- "inheritedFrom": {
89598
- "name": "SbbActionBaseElement",
89599
- "module": "core/base-elements/action-base-element.js"
89600
- }
89747
+ "parameters": [
89748
+ {
89749
+ "name": "file1",
89750
+ "type": {
89751
+ "text": "Readonly<File>"
89752
+ }
89753
+ },
89754
+ {
89755
+ "name": "file2",
89756
+ "type": {
89757
+ "text": "Readonly<File>"
89758
+ }
89759
+ }
89760
+ ]
89601
89761
  },
89602
89762
  {
89603
- "kind": "field",
89604
- "name": "disabledInteractive",
89605
- "type": {
89606
- "text": "boolean"
89607
- },
89608
- "privacy": "public",
89609
- "default": "false",
89610
- "description": "Whether the button should be aria-disabled but stay interactive.",
89611
- "attribute": "disabled-interactive",
89612
- "reflects": true,
89613
- "inheritedFrom": {
89614
- "name": "SbbDisabledInteractiveMixin",
89615
- "module": "core/mixins/disabled-mixin.js"
89763
+ "kind": "method",
89764
+ "name": "_onFocus",
89765
+ "privacy": "private",
89766
+ "return": {
89767
+ "type": {
89768
+ "text": "void"
89769
+ }
89616
89770
  }
89617
89771
  },
89618
89772
  {
89619
- "kind": "field",
89620
- "name": "disabled",
89621
- "privacy": "public",
89622
- "description": "Whether the component is disabled.",
89623
- "default": "false",
89624
- "type": {
89625
- "text": "boolean"
89626
- },
89627
- "attribute": "disabled",
89628
- "reflects": true,
89629
- "inheritedFrom": {
89630
- "name": "SbbDisabledMixin",
89631
- "module": "core/mixins/disabled-mixin.js"
89773
+ "kind": "method",
89774
+ "name": "_onBlur",
89775
+ "privacy": "private",
89776
+ "return": {
89777
+ "type": {
89778
+ "text": "void"
89779
+ }
89632
89780
  }
89633
89781
  },
89634
89782
  {
89635
- "kind": "field",
89636
- "name": "#disabled",
89783
+ "kind": "method",
89784
+ "name": "_readFiles",
89637
89785
  "privacy": "private",
89638
- "type": {
89639
- "text": "boolean"
89786
+ "return": {
89787
+ "type": {
89788
+ "text": "void"
89789
+ }
89640
89790
  },
89641
- "default": "false",
89642
- "inheritedFrom": {
89643
- "name": "SbbDisabledMixin",
89644
- "module": "core/mixins/disabled-mixin.js"
89645
- }
89791
+ "parameters": [
89792
+ {
89793
+ "name": "event",
89794
+ "type": {
89795
+ "text": "Event"
89796
+ }
89797
+ }
89798
+ ]
89646
89799
  },
89647
89800
  {
89648
89801
  "kind": "method",
89649
- "name": "isDisabledExternally",
89802
+ "name": "createFileList",
89650
89803
  "privacy": "protected",
89651
89804
  "return": {
89652
89805
  "type": {
89653
- "text": "boolean"
89806
+ "text": "void"
89654
89807
  }
89655
89808
  },
89656
- "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
89657
- "inheritedFrom": {
89658
- "name": "SbbDisabledMixin",
89659
- "module": "core/mixins/disabled-mixin.js"
89809
+ "parameters": [
89810
+ {
89811
+ "name": "files",
89812
+ "type": {
89813
+ "text": "FileList"
89814
+ }
89815
+ }
89816
+ ]
89817
+ },
89818
+ {
89819
+ "kind": "method",
89820
+ "name": "getButtonLabel",
89821
+ "privacy": "protected",
89822
+ "return": {
89823
+ "type": {
89824
+ "text": "string"
89825
+ }
89660
89826
  }
89661
89827
  },
89662
89828
  {
89663
- "kind": "field",
89664
- "name": "iconName",
89665
- "type": {
89666
- "text": "string"
89829
+ "kind": "method",
89830
+ "name": "_removeFile",
89831
+ "privacy": "private",
89832
+ "return": {
89833
+ "type": {
89834
+ "text": "void"
89835
+ }
89667
89836
  },
89668
- "privacy": "public",
89669
- "default": "''",
89670
- "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.",
89671
- "attribute": "icon-name",
89672
- "inheritedFrom": {
89673
- "name": "SbbIconNameMixin",
89674
- "module": "icon/icon-name-mixin.js"
89837
+ "parameters": [
89838
+ {
89839
+ "name": "file",
89840
+ "type": {
89841
+ "text": "Readonly<File>"
89842
+ }
89843
+ }
89844
+ ]
89845
+ },
89846
+ {
89847
+ "kind": "method",
89848
+ "name": "_dispatchFileChangedEvent",
89849
+ "privacy": "private",
89850
+ "return": {
89851
+ "type": {
89852
+ "text": "void"
89853
+ }
89675
89854
  }
89676
89855
  },
89677
89856
  {
89678
89857
  "kind": "method",
89679
- "name": "renderIconSlot",
89680
- "privacy": "protected",
89858
+ "name": "_formatFileSize",
89859
+ "privacy": "private",
89681
89860
  "return": {
89682
89861
  "type": {
89683
- "text": "TemplateResult"
89862
+ "text": "string"
89684
89863
  }
89685
89864
  },
89686
89865
  "parameters": [
89687
89866
  {
89688
- "name": "classname",
89689
- "optional": true,
89867
+ "name": "size",
89690
89868
  "type": {
89691
- "text": "string"
89869
+ "text": "number"
89692
89870
  }
89693
89871
  }
89694
89872
  ],
89695
- "inheritedFrom": {
89696
- "name": "SbbIconNameMixin",
89697
- "module": "icon/icon-name-mixin.js"
89873
+ "description": "Calculates the correct unit for the file's size."
89874
+ },
89875
+ {
89876
+ "kind": "method",
89877
+ "name": "_updateA11yLiveRegion",
89878
+ "privacy": "private",
89879
+ "return": {
89880
+ "type": {
89881
+ "text": "void"
89882
+ }
89698
89883
  }
89699
89884
  },
89700
89885
  {
89701
89886
  "kind": "method",
89702
- "name": "renderIconName",
89703
- "privacy": "protected",
89887
+ "name": "_renderFileList",
89888
+ "privacy": "private",
89704
89889
  "return": {
89705
89890
  "type": {
89706
- "text": "string"
89891
+ "text": "TemplateResult"
89892
+ }
89893
+ }
89894
+ },
89895
+ {
89896
+ "kind": "method",
89897
+ "name": "_onDragEnter",
89898
+ "privacy": "private",
89899
+ "return": {
89900
+ "type": {
89901
+ "text": "void"
89902
+ }
89903
+ },
89904
+ "parameters": [
89905
+ {
89906
+ "name": "event",
89907
+ "type": {
89908
+ "text": "DragEvent"
89909
+ }
89910
+ }
89911
+ ]
89912
+ },
89913
+ {
89914
+ "kind": "method",
89915
+ "name": "_onDragLeave",
89916
+ "privacy": "private",
89917
+ "return": {
89918
+ "type": {
89919
+ "text": "void"
89920
+ }
89921
+ },
89922
+ "parameters": [
89923
+ {
89924
+ "name": "event",
89925
+ "type": {
89926
+ "text": "DragEvent"
89927
+ }
89928
+ }
89929
+ ]
89930
+ },
89931
+ {
89932
+ "kind": "method",
89933
+ "name": "_onFileDrop",
89934
+ "privacy": "private",
89935
+ "return": {
89936
+ "type": {
89937
+ "text": "void"
89938
+ }
89939
+ },
89940
+ "parameters": [
89941
+ {
89942
+ "name": "event",
89943
+ "type": {
89944
+ "text": "DragEvent"
89945
+ }
89946
+ }
89947
+ ]
89948
+ },
89949
+ {
89950
+ "kind": "method",
89951
+ "name": "_blockEvent",
89952
+ "privacy": "private",
89953
+ "return": {
89954
+ "type": {
89955
+ "text": "void"
89956
+ }
89957
+ },
89958
+ "parameters": [
89959
+ {
89960
+ "name": "event",
89961
+ "type": {
89962
+ "text": "DragEvent"
89963
+ }
89707
89964
  }
89708
- },
89709
- "inheritedFrom": {
89710
- "name": "SbbIconNameMixin",
89711
- "module": "icon/icon-name-mixin.js"
89712
- }
89965
+ ]
89713
89966
  },
89714
89967
  {
89715
89968
  "kind": "method",
89716
- "name": "_renderIconName",
89969
+ "name": "_setDragState",
89717
89970
  "privacy": "private",
89718
89971
  "return": {
89719
89972
  "type": {
89720
- "text": "string"
89973
+ "text": "void"
89721
89974
  }
89722
89975
  },
89723
- "inheritedFrom": {
89724
- "name": "SbbIconNameMixin",
89725
- "module": "icon/icon-name-mixin.js"
89726
- }
89727
- },
89728
- {
89729
- "kind": "field",
89730
- "name": "_elementsOnWhichEnterPressTriggersSubmit",
89731
- "type": {
89732
- "text": "array"
89733
- },
89734
- "privacy": "private",
89735
- "readonly": true,
89736
- "default": "[ 'input', 'sbb-date-input', 'sbb-time-input', ]",
89737
- "inheritedFrom": {
89738
- "name": "SbbButtonBaseElement",
89739
- "module": "core/base-elements/button-base-element.js"
89740
- }
89741
- },
89742
- {
89743
- "kind": "field",
89744
- "name": "value",
89745
- "type": {
89746
- "text": "string"
89747
- },
89748
- "privacy": "public",
89749
- "inheritedFrom": {
89750
- "name": "SbbButtonBaseElement",
89751
- "module": "core/base-elements/button-base-element.js"
89752
- },
89753
- "default": "''",
89754
- "description": "Value of the form element.",
89755
- "attribute": "value"
89976
+ "parameters": [
89977
+ {
89978
+ "name": "dragTarget",
89979
+ "default": "undefined",
89980
+ "type": {
89981
+ "text": "HTMLElement | undefined"
89982
+ }
89983
+ },
89984
+ {
89985
+ "name": "isDragEnter",
89986
+ "default": "false",
89987
+ "type": {
89988
+ "text": "boolean"
89989
+ }
89990
+ }
89991
+ ]
89756
89992
  },
89757
89993
  {
89758
89994
  "kind": "field",
89759
- "name": "type",
89995
+ "name": "disabled",
89760
89996
  "privacy": "public",
89761
- "description": "The type attribute to use for the button.",
89762
- "default": "'button'",
89997
+ "description": "Whether the component is disabled.",
89998
+ "default": "false",
89763
89999
  "type": {
89764
- "text": "SbbButtonType"
90000
+ "text": "boolean"
89765
90001
  },
89766
- "attribute": "type",
90002
+ "attribute": "disabled",
90003
+ "reflects": true,
89767
90004
  "inheritedFrom": {
89768
- "name": "SbbButtonBaseElement",
89769
- "module": "core/base-elements/button-base-element.js"
90005
+ "name": "SbbDisabledMixin",
90006
+ "module": "core/mixins/disabled-mixin.js"
89770
90007
  }
89771
90008
  },
89772
90009
  {
89773
90010
  "kind": "field",
89774
- "name": "form",
89775
- "type": {
89776
- "text": "HTMLFormElement | null"
89777
- },
89778
- "privacy": "public",
89779
- "description": "The `<form>` element to associate the button with.",
89780
- "inheritedFrom": {
89781
- "name": "SbbButtonBaseElement",
89782
- "module": "core/base-elements/button-base-element.js"
89783
- },
89784
- "attribute": "form"
89785
- },
89786
- {
89787
- "kind": "field",
89788
- "name": "_formId",
90011
+ "name": "#disabled",
90012
+ "privacy": "private",
89789
90013
  "type": {
89790
- "text": "string"
90014
+ "text": "boolean"
89791
90015
  },
89792
- "privacy": "private",
89793
- "default": "''",
89794
- "inheritedFrom": {
89795
- "name": "SbbButtonBaseElement",
89796
- "module": "core/base-elements/button-base-element.js"
89797
- }
89798
- },
89799
- {
89800
- "kind": "field",
89801
- "name": "_handleButtonClick",
89802
- "privacy": "private",
90016
+ "default": "false",
89803
90017
  "inheritedFrom": {
89804
- "name": "SbbButtonBaseElement",
89805
- "module": "core/base-elements/button-base-element.js"
90018
+ "name": "SbbDisabledMixin",
90019
+ "module": "core/mixins/disabled-mixin.js"
89806
90020
  }
89807
90021
  },
89808
90022
  {
89809
90023
  "kind": "method",
89810
- "name": "_requestSubmit",
89811
- "privacy": "private",
90024
+ "name": "isDisabledExternally",
90025
+ "privacy": "protected",
89812
90026
  "return": {
89813
90027
  "type": {
89814
- "text": "void"
90028
+ "text": "boolean"
89815
90029
  }
89816
90030
  },
89817
- "parameters": [
89818
- {
89819
- "name": "form",
89820
- "type": {
89821
- "text": "HTMLFormElement"
89822
- }
89823
- }
89824
- ],
90031
+ "description": "Will be used as 'or' check to the current disabled state.\nCan e.g. be used to read disabled state of a group.",
89825
90032
  "inheritedFrom": {
89826
- "name": "SbbButtonBaseElement",
89827
- "module": "core/base-elements/button-base-element.js"
90033
+ "name": "SbbDisabledMixin",
90034
+ "module": "core/mixins/disabled-mixin.js"
89828
90035
  }
89829
90036
  },
89830
90037
  {
89831
90038
  "kind": "field",
89832
- "name": "_formKeyDown",
89833
- "privacy": "private",
90039
+ "name": "formAssociated",
90040
+ "type": {
90041
+ "text": "boolean"
90042
+ },
90043
+ "privacy": "public",
90044
+ "static": true,
90045
+ "default": "true",
89834
90046
  "inheritedFrom": {
89835
- "name": "SbbButtonBaseElement",
89836
- "module": "core/base-elements/button-base-element.js"
90047
+ "name": "SbbFormAssociatedMixin",
90048
+ "module": "core/mixins/form-associated-mixin.js"
89837
90049
  }
89838
90050
  },
89839
90051
  {
89840
90052
  "kind": "field",
89841
- "name": "formAssociated",
90053
+ "name": "form",
89842
90054
  "type": {
89843
- "text": "boolean"
90055
+ "text": "HTMLFormElement | null"
89844
90056
  },
89845
90057
  "privacy": "public",
89846
- "static": true,
89847
- "default": "true",
90058
+ "description": "Returns the form owner of this element.",
90059
+ "readonly": true,
89848
90060
  "inheritedFrom": {
89849
90061
  "name": "SbbFormAssociatedMixin",
89850
90062
  "module": "core/mixins/form-associated-mixin.js"
@@ -89997,21 +90209,6 @@
89997
90209
  "module": "core/mixins/form-associated-mixin.js"
89998
90210
  }
89999
90211
  },
90000
- {
90001
- "kind": "method",
90002
- "name": "updateFormValue",
90003
- "privacy": "protected",
90004
- "return": {
90005
- "type": {
90006
- "text": "void"
90007
- }
90008
- },
90009
- "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",
90010
- "inheritedFrom": {
90011
- "name": "SbbFormAssociatedMixin",
90012
- "module": "core/mixins/form-associated-mixin.js"
90013
- }
90014
- },
90015
90212
  {
90016
90213
  "kind": "method",
90017
90214
  "name": "formState",
@@ -90136,256 +90333,76 @@
90136
90333
  "name": "SbbFormAssociatedMixin",
90137
90334
  "module": "core/mixins/form-associated-mixin.js"
90138
90335
  }
90139
- },
90140
- {
90141
- "kind": "field",
90142
- "name": "role",
90143
- "type": {
90144
- "text": "ElementInternals['role']"
90145
- },
90146
- "privacy": "public",
90147
- "static": true,
90148
- "readonly": true,
90149
- "default": "'button'",
90150
- "inheritedFrom": {
90151
- "name": "SbbButtonLikeBaseElement",
90152
- "module": "core/base-elements/button-base-element.js"
90153
- }
90154
- },
90155
- {
90156
- "kind": "field",
90157
- "name": "_preventScrollOnSpaceKeydown",
90158
- "privacy": "private",
90159
- "description": "Prevents scrolling from pressing Space, when the event target is an action element.\nAlso sets active state.",
90160
- "parameters": [
90161
- {
90162
- "description": "The origin event.",
90163
- "name": "event"
90164
- }
90165
- ],
90166
- "inheritedFrom": {
90167
- "name": "SbbButtonLikeBaseElement",
90168
- "module": "core/base-elements/button-base-element.js"
90169
- }
90170
- },
90171
- {
90172
- "kind": "field",
90173
- "name": "_removeActiveMarker",
90174
- "privacy": "private",
90175
- "inheritedFrom": {
90176
- "name": "SbbButtonLikeBaseElement",
90177
- "module": "core/base-elements/button-base-element.js"
90178
- }
90179
- },
90180
- {
90181
- "kind": "field",
90182
- "name": "_dispatchClickEventOnSpaceKeyup",
90183
- "privacy": "private",
90184
- "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.",
90185
- "parameters": [
90186
- {
90187
- "description": "The origin event.",
90188
- "name": "event"
90189
- }
90190
- ],
90191
- "inheritedFrom": {
90192
- "name": "SbbButtonLikeBaseElement",
90193
- "module": "core/base-elements/button-base-element.js"
90194
- }
90195
- },
90196
- {
90197
- "kind": "field",
90198
- "name": "_dispatchClickEvent",
90199
- "privacy": "private",
90200
- "inheritedFrom": {
90201
- "name": "SbbButtonLikeBaseElement",
90202
- "module": "core/base-elements/button-base-element.js"
90203
- }
90204
- },
90336
+ }
90337
+ ],
90338
+ "events": [
90205
90339
  {
90206
- "kind": "field",
90207
- "name": "maybeDisabled",
90340
+ "name": "input",
90208
90341
  "type": {
90209
- "text": "boolean | undefined"
90342
+ "text": "InputEvent"
90210
90343
  },
90211
- "privacy": "protected",
90212
- "readonly": true,
90213
- "inheritedFrom": {
90214
- "name": "SbbActionBaseElement",
90215
- "module": "core/base-elements/action-base-element.js"
90216
- }
90344
+ "description": "The input event fires when the value has been changed as a direct result of a user action."
90217
90345
  },
90218
90346
  {
90219
- "kind": "field",
90220
- "name": "maybeDisabledInteractive",
90347
+ "name": "change",
90221
90348
  "type": {
90222
- "text": "boolean | undefined"
90223
- },
90224
- "privacy": "protected",
90225
- "readonly": true,
90226
- "inheritedFrom": {
90227
- "name": "SbbActionBaseElement",
90228
- "module": "core/base-elements/action-base-element.js"
90229
- }
90230
- },
90231
- {
90232
- "kind": "method",
90233
- "name": "setupBaseEventHandlers",
90234
- "privacy": "protected",
90235
- "return": {
90236
- "type": {
90237
- "text": "void"
90238
- }
90349
+ "text": "Event"
90239
90350
  },
90240
- "inheritedFrom": {
90241
- "name": "SbbActionBaseElement",
90242
- "module": "core/base-elements/action-base-element.js"
90243
- }
90351
+ "description": "The change event is fired when the user modifies the element's value.\nUnlike the input event, the change event is not necessarily fired\nfor each alteration to an element's value."
90244
90352
  },
90245
90353
  {
90246
- "kind": "field",
90247
- "name": "_hydrationRequired",
90354
+ "name": "filechanged",
90248
90355
  "type": {
90249
- "text": "boolean"
90356
+ "text": "CustomEvent<Readonly<File>[]>"
90250
90357
  },
90251
- "privacy": "private",
90252
- "default": "!!this.shadowRoot",
90253
- "inheritedFrom": {
90254
- "name": "SbbElement",
90255
- "module": "core/base-elements/element.js"
90256
- }
90257
- },
90258
- {
90259
- "kind": "field",
90260
- "name": "_hydrationComplete",
90261
- "privacy": "private",
90262
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
90263
- "inheritedFrom": {
90264
- "name": "SbbElement",
90265
- "module": "core/base-elements/element.js"
90266
- }
90267
- },
90358
+ "description": "An event which is emitted each time the file list changes."
90359
+ }
90360
+ ],
90361
+ "attributes": [
90268
90362
  {
90269
- "kind": "field",
90270
- "name": "_resolveHydration",
90363
+ "name": "size",
90271
90364
  "type": {
90272
- "text": "(hydrationRequired: boolean) => void"
90365
+ "text": "'s' | 'm'"
90273
90366
  },
90274
- "privacy": "private",
90275
- "inheritedFrom": {
90276
- "name": "SbbElement",
90277
- "module": "core/base-elements/element.js"
90278
- }
90367
+ "description": "Size variant, either s or m.",
90368
+ "default": "'m' / 's' (lean)",
90369
+ "fieldName": "size"
90279
90370
  },
90280
90371
  {
90281
- "kind": "field",
90282
- "name": "hydrationRequired",
90372
+ "name": "multiple",
90283
90373
  "type": {
90284
90374
  "text": "boolean"
90285
90375
  },
90286
- "privacy": "protected",
90287
- "description": "Returns whether hydration is required and not completed.",
90288
- "readonly": true,
90289
- "inheritedFrom": {
90290
- "name": "SbbElement",
90291
- "module": "core/base-elements/element.js"
90292
- },
90293
- "default": "!!this.shadowRoot"
90294
- },
90295
- {
90296
- "kind": "method",
90297
- "name": "toggleState",
90298
- "privacy": "protected",
90299
- "return": {
90300
- "type": {
90301
- "text": "void"
90302
- }
90303
- },
90304
- "parameters": [
90305
- {
90306
- "name": "value",
90307
- "type": {
90308
- "text": "string"
90309
- }
90310
- },
90311
- {
90312
- "name": "force",
90313
- "optional": true,
90314
- "type": {
90315
- "text": "boolean"
90316
- }
90317
- }
90318
- ],
90319
- "inheritedFrom": {
90320
- "name": "SbbElement",
90321
- "module": "core/base-elements/element.js"
90322
- }
90376
+ "default": "false",
90377
+ "description": "Whether more than one file can be selected.",
90378
+ "fieldName": "multiple"
90323
90379
  },
90324
90380
  {
90325
- "kind": "field",
90326
- "name": "['_$sbbElement$']",
90381
+ "name": "multiple-mode",
90327
90382
  "type": {
90328
- "text": "boolean"
90383
+ "text": "'default' | 'persistent'"
90329
90384
  },
90330
- "privacy": "public",
90331
- "static": true,
90332
- "default": "true",
90333
- "inheritedFrom": {
90334
- "name": "SbbElement",
90335
- "module": "core/base-elements/element.js"
90336
- }
90385
+ "default": "'default'",
90386
+ "description": "Whether the newly added files should override the previously added ones.",
90387
+ "fieldName": "multipleMode"
90337
90388
  },
90338
90389
  {
90339
- "kind": "field",
90340
- "name": "_controllers",
90341
- "type": {
90342
- "text": "Set<SbbReactiveController> | undefined"
90343
- },
90344
- "privacy": "private",
90345
- "inheritedFrom": {
90346
- "name": "SbbElement",
90347
- "module": "core/base-elements/element.js"
90348
- }
90349
- }
90350
- ],
90351
- "events": [
90352
- {
90353
- "name": "toggleexpanded",
90390
+ "name": "accept",
90354
90391
  "type": {
90355
- "text": "Event"
90392
+ "text": "string"
90356
90393
  },
90357
- "description": "Notifies that the `sbb-expansion-panel` is about to expand/shrink."
90358
- }
90359
- ],
90360
- "mixins": [
90361
- {
90362
- "name": "SbbDisabledTabIndexActionMixin",
90363
- "module": "core/mixins.js"
90394
+ "default": "''",
90395
+ "description": "A comma-separated list of allowed unique file type specifiers.",
90396
+ "fieldName": "accept"
90364
90397
  },
90365
90398
  {
90366
- "name": "SbbIconNameMixin",
90367
- "module": "icon.js"
90368
- }
90369
- ],
90370
- "superclass": {
90371
- "name": "SbbButtonBaseElement",
90372
- "module": "core/base-elements.js"
90373
- },
90374
- "tagName": "sbb-expansion-panel-header",
90375
- "customElement": true,
90376
- "attributes": [
90377
- {
90378
- "name": "disabled-interactive",
90399
+ "name": "accessibility-label",
90379
90400
  "type": {
90380
- "text": "boolean"
90401
+ "text": "string"
90381
90402
  },
90382
- "default": "false",
90383
- "description": "Whether the button should be aria-disabled but stay interactive.",
90384
- "fieldName": "disabledInteractive",
90385
- "inheritedFrom": {
90386
- "name": "SbbDisabledInteractiveMixin",
90387
- "module": "core/mixins/disabled-mixin.js"
90388
- }
90403
+ "default": "''",
90404
+ "description": "This will be forwarded as aria-label to the native input element.",
90405
+ "fieldName": "accessibilityLabel"
90389
90406
  },
90390
90407
  {
90391
90408
  "name": "disabled",
@@ -90401,66 +90418,33 @@
90401
90418
  }
90402
90419
  },
90403
90420
  {
90404
- "name": "icon-name",
90405
- "type": {
90406
- "text": "string"
90407
- },
90408
- "default": "''",
90409
- "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.",
90410
- "fieldName": "iconName",
90411
- "inheritedFrom": {
90412
- "name": "SbbIconNameMixin",
90413
- "module": "icon/icon-name-mixin.js"
90414
- }
90415
- },
90416
- {
90417
- "name": "value",
90421
+ "name": "name",
90422
+ "description": "Name of the form element. Will be read from name attribute.",
90418
90423
  "type": {
90419
90424
  "text": "string"
90420
90425
  },
90421
- "default": "''",
90422
- "description": "Value of the form element.",
90423
- "fieldName": "value",
90426
+ "fieldName": "name",
90424
90427
  "inheritedFrom": {
90425
- "name": "SbbButtonBaseElement",
90426
- "module": "core/base-elements/button-base-element.js"
90428
+ "name": "SbbFormAssociatedMixin",
90429
+ "module": "core/mixins/form-associated-mixin.js"
90427
90430
  }
90428
- },
90431
+ }
90432
+ ],
90433
+ "mixins": [
90429
90434
  {
90430
- "name": "type",
90431
- "description": "The type attribute to use for the button.",
90432
- "default": "'button'",
90433
- "type": {
90434
- "text": "SbbButtonType"
90435
- },
90436
- "fieldName": "type",
90437
- "inheritedFrom": {
90438
- "name": "SbbButtonBaseElement",
90439
- "module": "core/base-elements/button-base-element.js"
90440
- }
90435
+ "name": "SbbDisabledMixin",
90436
+ "module": "core/mixins.js"
90441
90437
  },
90442
90438
  {
90443
- "name": "form",
90444
- "description": "The `<form>` element to associate the button with.",
90445
- "type": {
90446
- "text": "HTMLFormElement | null"
90447
- },
90448
- "fieldName": "form",
90449
- "inheritedFrom": {
90450
- "name": "SbbButtonBaseElement",
90451
- "module": "core/base-elements/button-base-element.js"
90452
- }
90453
- },
90439
+ "name": "SbbFormAssociatedMixin",
90440
+ "module": "core/mixins.js"
90441
+ }
90442
+ ],
90443
+ "parameters": [
90454
90444
  {
90455
- "name": "name",
90456
- "description": "Name of the form element. Will be read from name attribute.",
90445
+ "name": "superclass",
90457
90446
  "type": {
90458
- "text": "string"
90459
- },
90460
- "fieldName": "name",
90461
- "inheritedFrom": {
90462
- "name": "SbbFormAssociatedMixin",
90463
- "module": "core/mixins/form-associated-mixin.js"
90447
+ "text": "T"
90464
90448
  }
90465
90449
  }
90466
90450
  ]
@@ -90469,10 +90453,26 @@
90469
90453
  "exports": [
90470
90454
  {
90471
90455
  "kind": "js",
90472
- "name": "SbbExpansionPanelHeaderElement",
90456
+ "name": "fileSelectorCommonStyle",
90473
90457
  "declaration": {
90474
- "name": "SbbExpansionPanelHeaderElement",
90475
- "module": "expansion-panel/expansion-panel-header/expansion-panel-header.component.js"
90458
+ "name": "fileSelectorCommonStyle",
90459
+ "module": "file-selector/common/file-selector-common.js"
90460
+ }
90461
+ },
90462
+ {
90463
+ "kind": "js",
90464
+ "name": "SbbFileSelectorCommonElementMixinType",
90465
+ "declaration": {
90466
+ "name": "SbbFileSelectorCommonElementMixinType",
90467
+ "module": "file-selector/common/file-selector-common.js"
90468
+ }
90469
+ },
90470
+ {
90471
+ "kind": "js",
90472
+ "name": "SbbFileSelectorCommonElementMixin",
90473
+ "declaration": {
90474
+ "name": "SbbFileSelectorCommonElementMixin",
90475
+ "module": "file-selector/common/file-selector-common.js"
90476
90476
  }
90477
90477
  }
90478
90478
  ]
@@ -109983,176 +109983,6 @@
109983
109983
  }
109984
109984
  ]
109985
109985
  },
109986
- {
109987
- "kind": "javascript-module",
109988
- "path": "navigation/common/navigation-action-common.js",
109989
- "declarations": [
109990
- {
109991
- "kind": "class",
109992
- "description": "",
109993
- "name": "SbbNavigationActionCommonElementMixinType",
109994
- "members": [
109995
- {
109996
- "kind": "field",
109997
- "name": "size",
109998
- "type": {
109999
- "text": "SbbNavigationActionSize"
110000
- },
110001
- "privacy": "public"
110002
- },
110003
- {
110004
- "kind": "field",
110005
- "name": "marker",
110006
- "type": {
110007
- "text": "SbbNavigationMarkerElement | null"
110008
- },
110009
- "privacy": "public",
110010
- "readonly": true
110011
- },
110012
- {
110013
- "kind": "field",
110014
- "name": "section",
110015
- "type": {
110016
- "text": "SbbNavigationSectionElement | null"
110017
- },
110018
- "privacy": "public",
110019
- "readonly": true
110020
- },
110021
- {
110022
- "kind": "field",
110023
- "name": "connectedSection",
110024
- "type": {
110025
- "text": "SbbNavigationSectionElement | undefined"
110026
- },
110027
- "privacy": "public"
110028
- }
110029
- ]
110030
- },
110031
- {
110032
- "kind": "mixin",
110033
- "description": "",
110034
- "name": "SbbNavigationActionCommonElementMixin",
110035
- "members": [
110036
- {
110037
- "kind": "field",
110038
- "name": "styles",
110039
- "type": {
110040
- "text": "CSSResultGroup"
110041
- },
110042
- "privacy": "public",
110043
- "static": true,
110044
- "default": "[boxSizingStyles, unsafeCSS(style)]"
110045
- },
110046
- {
110047
- "kind": "field",
110048
- "name": "size",
110049
- "type": {
110050
- "text": "SbbNavigationActionSize"
110051
- },
110052
- "privacy": "public",
110053
- "description": "Action size variant, either s, m or l.",
110054
- "default": "'l' / 's' (lean)",
110055
- "attribute": "size",
110056
- "reflects": true
110057
- },
110058
- {
110059
- "kind": "field",
110060
- "name": "connectedSection",
110061
- "type": {
110062
- "text": "SbbNavigationSectionElement | undefined"
110063
- },
110064
- "privacy": "public",
110065
- "description": "The section that is being controlled by the action, if any."
110066
- },
110067
- {
110068
- "kind": "field",
110069
- "name": "marker",
110070
- "type": {
110071
- "text": "SbbNavigationMarkerElement | null"
110072
- },
110073
- "privacy": "public",
110074
- "description": "The navigation marker in which the action is nested.",
110075
- "readonly": true
110076
- },
110077
- {
110078
- "kind": "field",
110079
- "name": "section",
110080
- "type": {
110081
- "text": "SbbNavigationSectionElement | null"
110082
- },
110083
- "privacy": "public",
110084
- "description": "The section in which the action is nested.",
110085
- "readonly": true
110086
- },
110087
- {
110088
- "kind": "field",
110089
- "name": "_navigationMarker",
110090
- "type": {
110091
- "text": "SbbNavigationMarkerElement | null"
110092
- },
110093
- "privacy": "private",
110094
- "default": "null"
110095
- },
110096
- {
110097
- "kind": "field",
110098
- "name": "_navigationSection",
110099
- "type": {
110100
- "text": "SbbNavigationSectionElement | null"
110101
- },
110102
- "privacy": "private",
110103
- "default": "null"
110104
- },
110105
- {
110106
- "kind": "method",
110107
- "name": "renderTemplate",
110108
- "privacy": "protected",
110109
- "return": {
110110
- "type": {
110111
- "text": "TemplateResult"
110112
- }
110113
- }
110114
- }
110115
- ],
110116
- "attributes": [
110117
- {
110118
- "name": "size",
110119
- "type": {
110120
- "text": "SbbNavigationActionSize"
110121
- },
110122
- "description": "Action size variant, either s, m or l.",
110123
- "default": "'l' / 's' (lean)",
110124
- "fieldName": "size"
110125
- }
110126
- ],
110127
- "parameters": [
110128
- {
110129
- "name": "superClass",
110130
- "type": {
110131
- "text": "T"
110132
- }
110133
- }
110134
- ]
110135
- }
110136
- ],
110137
- "exports": [
110138
- {
110139
- "kind": "js",
110140
- "name": "SbbNavigationActionCommonElementMixinType",
110141
- "declaration": {
110142
- "name": "SbbNavigationActionCommonElementMixinType",
110143
- "module": "navigation/common/navigation-action-common.js"
110144
- }
110145
- },
110146
- {
110147
- "kind": "js",
110148
- "name": "SbbNavigationActionCommonElementMixin",
110149
- "declaration": {
110150
- "name": "SbbNavigationActionCommonElementMixin",
110151
- "module": "navigation/common/navigation-action-common.js"
110152
- }
110153
- }
110154
- ]
110155
- },
110156
109986
  {
110157
109987
  "kind": "javascript-module",
110158
109988
  "path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
@@ -110371,6 +110201,176 @@
110371
110201
  }
110372
110202
  ]
110373
110203
  },
110204
+ {
110205
+ "kind": "javascript-module",
110206
+ "path": "navigation/common/navigation-action-common.js",
110207
+ "declarations": [
110208
+ {
110209
+ "kind": "class",
110210
+ "description": "",
110211
+ "name": "SbbNavigationActionCommonElementMixinType",
110212
+ "members": [
110213
+ {
110214
+ "kind": "field",
110215
+ "name": "size",
110216
+ "type": {
110217
+ "text": "SbbNavigationActionSize"
110218
+ },
110219
+ "privacy": "public"
110220
+ },
110221
+ {
110222
+ "kind": "field",
110223
+ "name": "marker",
110224
+ "type": {
110225
+ "text": "SbbNavigationMarkerElement | null"
110226
+ },
110227
+ "privacy": "public",
110228
+ "readonly": true
110229
+ },
110230
+ {
110231
+ "kind": "field",
110232
+ "name": "section",
110233
+ "type": {
110234
+ "text": "SbbNavigationSectionElement | null"
110235
+ },
110236
+ "privacy": "public",
110237
+ "readonly": true
110238
+ },
110239
+ {
110240
+ "kind": "field",
110241
+ "name": "connectedSection",
110242
+ "type": {
110243
+ "text": "SbbNavigationSectionElement | undefined"
110244
+ },
110245
+ "privacy": "public"
110246
+ }
110247
+ ]
110248
+ },
110249
+ {
110250
+ "kind": "mixin",
110251
+ "description": "",
110252
+ "name": "SbbNavigationActionCommonElementMixin",
110253
+ "members": [
110254
+ {
110255
+ "kind": "field",
110256
+ "name": "styles",
110257
+ "type": {
110258
+ "text": "CSSResultGroup"
110259
+ },
110260
+ "privacy": "public",
110261
+ "static": true,
110262
+ "default": "[boxSizingStyles, unsafeCSS(style)]"
110263
+ },
110264
+ {
110265
+ "kind": "field",
110266
+ "name": "size",
110267
+ "type": {
110268
+ "text": "SbbNavigationActionSize"
110269
+ },
110270
+ "privacy": "public",
110271
+ "description": "Action size variant, either s, m or l.",
110272
+ "default": "'l' / 's' (lean)",
110273
+ "attribute": "size",
110274
+ "reflects": true
110275
+ },
110276
+ {
110277
+ "kind": "field",
110278
+ "name": "connectedSection",
110279
+ "type": {
110280
+ "text": "SbbNavigationSectionElement | undefined"
110281
+ },
110282
+ "privacy": "public",
110283
+ "description": "The section that is being controlled by the action, if any."
110284
+ },
110285
+ {
110286
+ "kind": "field",
110287
+ "name": "marker",
110288
+ "type": {
110289
+ "text": "SbbNavigationMarkerElement | null"
110290
+ },
110291
+ "privacy": "public",
110292
+ "description": "The navigation marker in which the action is nested.",
110293
+ "readonly": true
110294
+ },
110295
+ {
110296
+ "kind": "field",
110297
+ "name": "section",
110298
+ "type": {
110299
+ "text": "SbbNavigationSectionElement | null"
110300
+ },
110301
+ "privacy": "public",
110302
+ "description": "The section in which the action is nested.",
110303
+ "readonly": true
110304
+ },
110305
+ {
110306
+ "kind": "field",
110307
+ "name": "_navigationMarker",
110308
+ "type": {
110309
+ "text": "SbbNavigationMarkerElement | null"
110310
+ },
110311
+ "privacy": "private",
110312
+ "default": "null"
110313
+ },
110314
+ {
110315
+ "kind": "field",
110316
+ "name": "_navigationSection",
110317
+ "type": {
110318
+ "text": "SbbNavigationSectionElement | null"
110319
+ },
110320
+ "privacy": "private",
110321
+ "default": "null"
110322
+ },
110323
+ {
110324
+ "kind": "method",
110325
+ "name": "renderTemplate",
110326
+ "privacy": "protected",
110327
+ "return": {
110328
+ "type": {
110329
+ "text": "TemplateResult"
110330
+ }
110331
+ }
110332
+ }
110333
+ ],
110334
+ "attributes": [
110335
+ {
110336
+ "name": "size",
110337
+ "type": {
110338
+ "text": "SbbNavigationActionSize"
110339
+ },
110340
+ "description": "Action size variant, either s, m or l.",
110341
+ "default": "'l' / 's' (lean)",
110342
+ "fieldName": "size"
110343
+ }
110344
+ ],
110345
+ "parameters": [
110346
+ {
110347
+ "name": "superClass",
110348
+ "type": {
110349
+ "text": "T"
110350
+ }
110351
+ }
110352
+ ]
110353
+ }
110354
+ ],
110355
+ "exports": [
110356
+ {
110357
+ "kind": "js",
110358
+ "name": "SbbNavigationActionCommonElementMixinType",
110359
+ "declaration": {
110360
+ "name": "SbbNavigationActionCommonElementMixinType",
110361
+ "module": "navigation/common/navigation-action-common.js"
110362
+ }
110363
+ },
110364
+ {
110365
+ "kind": "js",
110366
+ "name": "SbbNavigationActionCommonElementMixin",
110367
+ "declaration": {
110368
+ "name": "SbbNavigationActionCommonElementMixin",
110369
+ "module": "navigation/common/navigation-action-common.js"
110370
+ }
110371
+ }
110372
+ ]
110373
+ },
110374
110374
  {
110375
110375
  "kind": "javascript-module",
110376
110376
  "path": "navigation/navigation/navigation.component.js",