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

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 +739 -739
  2. package/package.json +2 -2
@@ -60763,240 +60763,6 @@
60763
60763
  }
60764
60764
  ]
60765
60765
  },
60766
- {
60767
- "kind": "javascript-module",
60768
- "path": "container/container/container.component.js",
60769
- "declarations": [
60770
- {
60771
- "kind": "class",
60772
- "description": "It displays its content with the default page spacing.",
60773
- "name": "SbbContainerElement",
60774
- "cssProperties": [
60775
- {
60776
- "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
60777
- "name": "--sbb-page-spacing-padding"
60778
- }
60779
- ],
60780
- "slots": [
60781
- {
60782
- "description": "Use the unnamed slot to add anything to the container.",
60783
- "name": ""
60784
- },
60785
- {
60786
- "description": "The slot used by the sbb-sticky-bar component.",
60787
- "name": "sticky-bar"
60788
- },
60789
- {
60790
- "description": "The slot used to slot an `sbb-image` to use as background.",
60791
- "name": "image"
60792
- }
60793
- ],
60794
- "members": [
60795
- {
60796
- "kind": "field",
60797
- "name": "elementName",
60798
- "type": {
60799
- "text": "string"
60800
- },
60801
- "privacy": "public",
60802
- "static": true,
60803
- "readonly": true,
60804
- "default": "'sbb-container'",
60805
- "inheritedFrom": {
60806
- "name": "SbbElement",
60807
- "module": "core/base-elements/element.js"
60808
- }
60809
- },
60810
- {
60811
- "kind": "field",
60812
- "name": "expanded",
60813
- "type": {
60814
- "text": "boolean"
60815
- },
60816
- "privacy": "public",
60817
- "default": "false",
60818
- "description": "Whether the container is expanded.",
60819
- "attribute": "expanded",
60820
- "reflects": true
60821
- },
60822
- {
60823
- "kind": "field",
60824
- "name": "backgroundExpanded",
60825
- "type": {
60826
- "text": "boolean"
60827
- },
60828
- "privacy": "public",
60829
- "default": "false",
60830
- "description": "Whether the background color is shown on full container width on large screens.",
60831
- "attribute": "background-expanded",
60832
- "reflects": true
60833
- },
60834
- {
60835
- "kind": "field",
60836
- "name": "color",
60837
- "type": {
60838
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60839
- },
60840
- "privacy": "public",
60841
- "default": "'white'",
60842
- "description": "Color of the container, like transparent, white etc.",
60843
- "attribute": "color",
60844
- "reflects": true
60845
- },
60846
- {
60847
- "kind": "field",
60848
- "name": "_hydrationRequired",
60849
- "type": {
60850
- "text": "boolean"
60851
- },
60852
- "privacy": "private",
60853
- "default": "!!this.shadowRoot",
60854
- "inheritedFrom": {
60855
- "name": "SbbHydrationMixin",
60856
- "module": "core/mixins/hydration-mixin.js"
60857
- }
60858
- },
60859
- {
60860
- "kind": "field",
60861
- "name": "_hydrationComplete",
60862
- "privacy": "private",
60863
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
60864
- "inheritedFrom": {
60865
- "name": "SbbHydrationMixin",
60866
- "module": "core/mixins/hydration-mixin.js"
60867
- }
60868
- },
60869
- {
60870
- "kind": "field",
60871
- "name": "_resolveHydration",
60872
- "type": {
60873
- "text": "(hydrationRequired: boolean) => void"
60874
- },
60875
- "privacy": "private",
60876
- "inheritedFrom": {
60877
- "name": "SbbHydrationMixin",
60878
- "module": "core/mixins/hydration-mixin.js"
60879
- }
60880
- },
60881
- {
60882
- "kind": "field",
60883
- "name": "hydrationRequired",
60884
- "type": {
60885
- "text": "boolean"
60886
- },
60887
- "privacy": "protected",
60888
- "description": "Returns whether hydration is required and not completed.",
60889
- "readonly": true,
60890
- "inheritedFrom": {
60891
- "name": "SbbHydrationMixin",
60892
- "module": "core/mixins/hydration-mixin.js"
60893
- },
60894
- "default": "!!this.shadowRoot"
60895
- },
60896
- {
60897
- "kind": "method",
60898
- "name": "toggleState",
60899
- "privacy": "protected",
60900
- "return": {
60901
- "type": {
60902
- "text": "void"
60903
- }
60904
- },
60905
- "parameters": [
60906
- {
60907
- "name": "value",
60908
- "type": {
60909
- "text": "string"
60910
- }
60911
- },
60912
- {
60913
- "name": "force",
60914
- "optional": true,
60915
- "type": {
60916
- "text": "boolean"
60917
- }
60918
- }
60919
- ],
60920
- "inheritedFrom": {
60921
- "name": "SbbElementInternalsMixin",
60922
- "module": "core/mixins/element-internals-mixin.js"
60923
- }
60924
- },
60925
- {
60926
- "kind": "field",
60927
- "name": "['_$sbbElement$']",
60928
- "type": {
60929
- "text": "boolean"
60930
- },
60931
- "privacy": "public",
60932
- "static": true,
60933
- "default": "true",
60934
- "inheritedFrom": {
60935
- "name": "SbbElement",
60936
- "module": "core/base-elements/element.js"
60937
- }
60938
- },
60939
- {
60940
- "kind": "field",
60941
- "name": "_controllers",
60942
- "type": {
60943
- "text": "Set<SbbReactiveController> | undefined"
60944
- },
60945
- "privacy": "private",
60946
- "inheritedFrom": {
60947
- "name": "SbbElement",
60948
- "module": "core/base-elements/element.js"
60949
- }
60950
- }
60951
- ],
60952
- "attributes": [
60953
- {
60954
- "name": "expanded",
60955
- "type": {
60956
- "text": "boolean"
60957
- },
60958
- "default": "false",
60959
- "description": "Whether the container is expanded.",
60960
- "fieldName": "expanded"
60961
- },
60962
- {
60963
- "name": "background-expanded",
60964
- "type": {
60965
- "text": "boolean"
60966
- },
60967
- "default": "false",
60968
- "description": "Whether the background color is shown on full container width on large screens.",
60969
- "fieldName": "backgroundExpanded"
60970
- },
60971
- {
60972
- "name": "color",
60973
- "type": {
60974
- "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
60975
- },
60976
- "default": "'white'",
60977
- "description": "Color of the container, like transparent, white etc.",
60978
- "fieldName": "color"
60979
- }
60980
- ],
60981
- "superclass": {
60982
- "name": "SbbElement",
60983
- "module": "core/base-elements.js"
60984
- },
60985
- "tagName": "sbb-container",
60986
- "customElement": true
60987
- }
60988
- ],
60989
- "exports": [
60990
- {
60991
- "kind": "js",
60992
- "name": "SbbContainerElement",
60993
- "declaration": {
60994
- "name": "SbbContainerElement",
60995
- "module": "container/container/container.component.js"
60996
- }
60997
- }
60998
- ]
60999
- },
61000
60766
  {
61001
60767
  "kind": "javascript-module",
61002
60768
  "path": "container/sticky-bar/sticky-bar.component.js",
@@ -61459,6 +61225,240 @@
61459
61225
  }
61460
61226
  ]
61461
61227
  },
61228
+ {
61229
+ "kind": "javascript-module",
61230
+ "path": "container/container/container.component.js",
61231
+ "declarations": [
61232
+ {
61233
+ "kind": "class",
61234
+ "description": "It displays its content with the default page spacing.",
61235
+ "name": "SbbContainerElement",
61236
+ "cssProperties": [
61237
+ {
61238
+ "description": "Use this variable to override the default page spacing. Note that overriding this will disable the standard responsive spacing behavior of the container.",
61239
+ "name": "--sbb-page-spacing-padding"
61240
+ }
61241
+ ],
61242
+ "slots": [
61243
+ {
61244
+ "description": "Use the unnamed slot to add anything to the container.",
61245
+ "name": ""
61246
+ },
61247
+ {
61248
+ "description": "The slot used by the sbb-sticky-bar component.",
61249
+ "name": "sticky-bar"
61250
+ },
61251
+ {
61252
+ "description": "The slot used to slot an `sbb-image` to use as background.",
61253
+ "name": "image"
61254
+ }
61255
+ ],
61256
+ "members": [
61257
+ {
61258
+ "kind": "field",
61259
+ "name": "elementName",
61260
+ "type": {
61261
+ "text": "string"
61262
+ },
61263
+ "privacy": "public",
61264
+ "static": true,
61265
+ "readonly": true,
61266
+ "default": "'sbb-container'",
61267
+ "inheritedFrom": {
61268
+ "name": "SbbElement",
61269
+ "module": "core/base-elements/element.js"
61270
+ }
61271
+ },
61272
+ {
61273
+ "kind": "field",
61274
+ "name": "expanded",
61275
+ "type": {
61276
+ "text": "boolean"
61277
+ },
61278
+ "privacy": "public",
61279
+ "default": "false",
61280
+ "description": "Whether the container is expanded.",
61281
+ "attribute": "expanded",
61282
+ "reflects": true
61283
+ },
61284
+ {
61285
+ "kind": "field",
61286
+ "name": "backgroundExpanded",
61287
+ "type": {
61288
+ "text": "boolean"
61289
+ },
61290
+ "privacy": "public",
61291
+ "default": "false",
61292
+ "description": "Whether the background color is shown on full container width on large screens.",
61293
+ "attribute": "background-expanded",
61294
+ "reflects": true
61295
+ },
61296
+ {
61297
+ "kind": "field",
61298
+ "name": "color",
61299
+ "type": {
61300
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
61301
+ },
61302
+ "privacy": "public",
61303
+ "default": "'white'",
61304
+ "description": "Color of the container, like transparent, white etc.",
61305
+ "attribute": "color",
61306
+ "reflects": true
61307
+ },
61308
+ {
61309
+ "kind": "field",
61310
+ "name": "_hydrationRequired",
61311
+ "type": {
61312
+ "text": "boolean"
61313
+ },
61314
+ "privacy": "private",
61315
+ "default": "!!this.shadowRoot",
61316
+ "inheritedFrom": {
61317
+ "name": "SbbHydrationMixin",
61318
+ "module": "core/mixins/hydration-mixin.js"
61319
+ }
61320
+ },
61321
+ {
61322
+ "kind": "field",
61323
+ "name": "_hydrationComplete",
61324
+ "privacy": "private",
61325
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
61326
+ "inheritedFrom": {
61327
+ "name": "SbbHydrationMixin",
61328
+ "module": "core/mixins/hydration-mixin.js"
61329
+ }
61330
+ },
61331
+ {
61332
+ "kind": "field",
61333
+ "name": "_resolveHydration",
61334
+ "type": {
61335
+ "text": "(hydrationRequired: boolean) => void"
61336
+ },
61337
+ "privacy": "private",
61338
+ "inheritedFrom": {
61339
+ "name": "SbbHydrationMixin",
61340
+ "module": "core/mixins/hydration-mixin.js"
61341
+ }
61342
+ },
61343
+ {
61344
+ "kind": "field",
61345
+ "name": "hydrationRequired",
61346
+ "type": {
61347
+ "text": "boolean"
61348
+ },
61349
+ "privacy": "protected",
61350
+ "description": "Returns whether hydration is required and not completed.",
61351
+ "readonly": true,
61352
+ "inheritedFrom": {
61353
+ "name": "SbbHydrationMixin",
61354
+ "module": "core/mixins/hydration-mixin.js"
61355
+ },
61356
+ "default": "!!this.shadowRoot"
61357
+ },
61358
+ {
61359
+ "kind": "method",
61360
+ "name": "toggleState",
61361
+ "privacy": "protected",
61362
+ "return": {
61363
+ "type": {
61364
+ "text": "void"
61365
+ }
61366
+ },
61367
+ "parameters": [
61368
+ {
61369
+ "name": "value",
61370
+ "type": {
61371
+ "text": "string"
61372
+ }
61373
+ },
61374
+ {
61375
+ "name": "force",
61376
+ "optional": true,
61377
+ "type": {
61378
+ "text": "boolean"
61379
+ }
61380
+ }
61381
+ ],
61382
+ "inheritedFrom": {
61383
+ "name": "SbbElementInternalsMixin",
61384
+ "module": "core/mixins/element-internals-mixin.js"
61385
+ }
61386
+ },
61387
+ {
61388
+ "kind": "field",
61389
+ "name": "['_$sbbElement$']",
61390
+ "type": {
61391
+ "text": "boolean"
61392
+ },
61393
+ "privacy": "public",
61394
+ "static": true,
61395
+ "default": "true",
61396
+ "inheritedFrom": {
61397
+ "name": "SbbElement",
61398
+ "module": "core/base-elements/element.js"
61399
+ }
61400
+ },
61401
+ {
61402
+ "kind": "field",
61403
+ "name": "_controllers",
61404
+ "type": {
61405
+ "text": "Set<SbbReactiveController> | undefined"
61406
+ },
61407
+ "privacy": "private",
61408
+ "inheritedFrom": {
61409
+ "name": "SbbElement",
61410
+ "module": "core/base-elements/element.js"
61411
+ }
61412
+ }
61413
+ ],
61414
+ "attributes": [
61415
+ {
61416
+ "name": "expanded",
61417
+ "type": {
61418
+ "text": "boolean"
61419
+ },
61420
+ "default": "false",
61421
+ "description": "Whether the container is expanded.",
61422
+ "fieldName": "expanded"
61423
+ },
61424
+ {
61425
+ "name": "background-expanded",
61426
+ "type": {
61427
+ "text": "boolean"
61428
+ },
61429
+ "default": "false",
61430
+ "description": "Whether the background color is shown on full container width on large screens.",
61431
+ "fieldName": "backgroundExpanded"
61432
+ },
61433
+ {
61434
+ "name": "color",
61435
+ "type": {
61436
+ "text": "| 'transparent'\n | 'white'\n | 'milk'\n | 'midnight'\n | 'charcoal'"
61437
+ },
61438
+ "default": "'white'",
61439
+ "description": "Color of the container, like transparent, white etc.",
61440
+ "fieldName": "color"
61441
+ }
61442
+ ],
61443
+ "superclass": {
61444
+ "name": "SbbElement",
61445
+ "module": "core/base-elements.js"
61446
+ },
61447
+ "tagName": "sbb-container",
61448
+ "customElement": true
61449
+ }
61450
+ ],
61451
+ "exports": [
61452
+ {
61453
+ "kind": "js",
61454
+ "name": "SbbContainerElement",
61455
+ "declaration": {
61456
+ "name": "SbbContainerElement",
61457
+ "module": "container/container/container.component.js"
61458
+ }
61459
+ }
61460
+ ]
61461
+ },
61462
61462
  {
61463
61463
  "kind": "javascript-module",
61464
61464
  "path": "core/a11y/arrow-navigation.js",
@@ -94638,337 +94638,70 @@
94638
94638
  ],
94639
94639
  "attributes": [
94640
94640
  {
94641
- "name": "error-space",
94642
- "type": {
94643
- "text": "'none' | 'reserve'"
94644
- },
94645
- "default": "'none'",
94646
- "description": "Whether to reserve space for an error message, hint or text-counter.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
94647
- "fieldName": "errorSpace"
94648
- },
94649
- {
94650
- "name": "optional",
94651
- "type": {
94652
- "text": "boolean"
94653
- },
94654
- "default": "false",
94655
- "description": "Indicates whether the input is optional.",
94656
- "deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
94657
- "fieldName": "optional"
94658
- },
94659
- {
94660
- "name": "size",
94661
- "type": {
94662
- "text": "'l' | 'm' | 's'"
94663
- },
94664
- "description": "Size variant, either l, m or s.",
94665
- "default": "'m' / 's' (lean)",
94666
- "fieldName": "size"
94667
- },
94668
- {
94669
- "name": "borderless",
94670
- "type": {
94671
- "text": "boolean"
94672
- },
94673
- "default": "false",
94674
- "description": "Whether to display the form field without a border.",
94675
- "fieldName": "borderless"
94676
- },
94677
- {
94678
- "name": "width",
94679
- "type": {
94680
- "text": "'default' | 'collapse'"
94681
- },
94682
- "default": "'default'",
94683
- "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
94684
- "fieldName": "width"
94685
- },
94686
- {
94687
- "name": "hidden-label",
94688
- "type": {
94689
- "text": "boolean"
94690
- },
94691
- "default": "false",
94692
- "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
94693
- "fieldName": "hiddenLabel"
94694
- },
94695
- {
94696
- "name": "floating-label",
94697
- "type": {
94698
- "text": "boolean"
94699
- },
94700
- "default": "false",
94701
- "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
94702
- "fieldName": "floatingLabel"
94703
- },
94704
- {
94705
- "name": "negative",
94706
- "type": {
94707
- "text": "boolean"
94708
- },
94709
- "default": "false",
94710
- "description": "Negative coloring variant flag.",
94711
- "fieldName": "negative",
94712
- "inheritedFrom": {
94713
- "name": "SbbNegativeMixin",
94714
- "module": "core/mixins/negative-mixin.js"
94715
- }
94716
- }
94717
- ],
94718
- "mixins": [
94719
- {
94720
- "name": "SbbNegativeMixin",
94721
- "module": "core/mixins.js"
94722
- }
94723
- ],
94724
- "superclass": {
94725
- "name": "SbbElement",
94726
- "module": "core/base-elements.js"
94727
- },
94728
- "tagName": "sbb-form-field",
94729
- "customElement": true
94730
- }
94731
- ],
94732
- "exports": [
94733
- {
94734
- "kind": "js",
94735
- "name": "SbbFormFieldControlEvent",
94736
- "declaration": {
94737
- "name": "SbbFormFieldControlEvent",
94738
- "module": "form-field/form-field/form-field.component.js"
94739
- }
94740
- },
94741
- {
94742
- "kind": "js",
94743
- "name": "SbbFormFieldElement",
94744
- "declaration": {
94745
- "name": "SbbFormFieldElement",
94746
- "module": "form-field/form-field/form-field.component.js"
94747
- }
94748
- }
94749
- ]
94750
- },
94751
- {
94752
- "kind": "javascript-module",
94753
- "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
94754
- "declarations": [
94755
- {
94756
- "kind": "class",
94757
- "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
94758
- "name": "SbbFormFieldTextCounterElement",
94759
- "slots": [
94760
- {
94761
- "description": "Use the unnamed slot to display a custom description text after the counter.",
94762
- "name": "",
94763
- "inheritedFrom": {
94764
- "name": "SbbHintElement",
94765
- "module": "form-field/hint/hint.component.js"
94766
- }
94767
- }
94768
- ],
94769
- "members": [
94770
- {
94771
- "kind": "field",
94772
- "name": "elementName",
94773
- "type": {
94774
- "text": "string"
94775
- },
94776
- "privacy": "public",
94777
- "static": true,
94778
- "readonly": true,
94779
- "default": "'sbb-form-field-text-counter'",
94780
- "inheritedFrom": {
94781
- "name": "SbbElement",
94782
- "module": "core/base-elements/element.js"
94783
- }
94784
- },
94785
- {
94786
- "kind": "field",
94787
- "name": "_remainingCharacters",
94788
- "type": {
94789
- "text": "number"
94790
- },
94791
- "privacy": "private",
94792
- "default": "0"
94793
- },
94794
- {
94795
- "kind": "field",
94796
- "name": "_language",
94797
- "privacy": "private",
94798
- "default": "new SbbLanguageController(this)"
94799
- },
94800
- {
94801
- "kind": "field",
94802
- "name": "_abortController",
94803
- "type": {
94804
- "text": "AbortController | null"
94805
- },
94806
- "privacy": "private",
94807
- "default": "null"
94808
- },
94809
- {
94810
- "kind": "method",
94811
- "name": "_onInputUpdate",
94812
- "privacy": "private",
94813
- "return": {
94814
- "type": {
94815
- "text": "void"
94816
- }
94817
- }
94818
- },
94819
- {
94820
- "kind": "method",
94821
- "name": "_infoText",
94822
- "privacy": "private",
94823
- "return": {
94824
- "type": {
94825
- "text": "string"
94826
- }
94827
- }
94828
- },
94829
- {
94830
- "kind": "field",
94831
- "name": "negative",
94832
- "type": {
94833
- "text": "boolean"
94834
- },
94835
- "privacy": "public",
94836
- "default": "false",
94837
- "description": "Negative coloring variant flag.",
94838
- "attribute": "negative",
94839
- "reflects": true,
94840
- "inheritedFrom": {
94841
- "name": "SbbNegativeMixin",
94842
- "module": "core/mixins/negative-mixin.js"
94843
- }
94844
- },
94845
- {
94846
- "kind": "field",
94847
- "name": "formField",
94848
- "type": {
94849
- "text": "SbbFormFieldElement | null"
94850
- },
94851
- "privacy": "protected",
94852
- "default": "null",
94853
- "inheritedFrom": {
94854
- "name": "SbbHintElement",
94855
- "module": "form-field/hint/hint.component.js"
94856
- }
94857
- },
94858
- {
94859
- "kind": "field",
94860
- "name": "_hydrationRequired",
94861
- "type": {
94862
- "text": "boolean"
94863
- },
94864
- "privacy": "private",
94865
- "default": "!!this.shadowRoot",
94866
- "inheritedFrom": {
94867
- "name": "SbbElement",
94868
- "module": "core/base-elements/element.js"
94869
- }
94870
- },
94871
- {
94872
- "kind": "field",
94873
- "name": "_hydrationComplete",
94874
- "privacy": "private",
94875
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
94876
- "inheritedFrom": {
94877
- "name": "SbbElement",
94878
- "module": "core/base-elements/element.js"
94879
- }
94880
- },
94881
- {
94882
- "kind": "field",
94883
- "name": "_resolveHydration",
94884
- "type": {
94885
- "text": "(hydrationRequired: boolean) => void"
94886
- },
94887
- "privacy": "private",
94888
- "inheritedFrom": {
94889
- "name": "SbbElement",
94890
- "module": "core/base-elements/element.js"
94891
- }
94892
- },
94893
- {
94894
- "kind": "field",
94895
- "name": "hydrationRequired",
94896
- "type": {
94897
- "text": "boolean"
94898
- },
94899
- "privacy": "protected",
94900
- "description": "Returns whether hydration is required and not completed.",
94901
- "readonly": true,
94902
- "inheritedFrom": {
94903
- "name": "SbbElement",
94904
- "module": "core/base-elements/element.js"
94905
- },
94906
- "default": "!!this.shadowRoot"
94907
- },
94908
- {
94909
- "kind": "method",
94910
- "name": "toggleState",
94911
- "privacy": "protected",
94912
- "return": {
94913
- "type": {
94914
- "text": "void"
94915
- }
94916
- },
94917
- "parameters": [
94918
- {
94919
- "name": "value",
94920
- "type": {
94921
- "text": "string"
94922
- }
94923
- },
94924
- {
94925
- "name": "force",
94926
- "optional": true,
94927
- "type": {
94928
- "text": "boolean"
94929
- }
94930
- }
94931
- ],
94932
- "inheritedFrom": {
94933
- "name": "SbbElement",
94934
- "module": "core/base-elements/element.js"
94935
- }
94936
- },
94937
- {
94938
- "kind": "field",
94939
- "name": "['_$sbbElement$']",
94940
- "type": {
94941
- "text": "boolean"
94942
- },
94943
- "privacy": "public",
94944
- "static": true,
94945
- "default": "true",
94946
- "inheritedFrom": {
94947
- "name": "SbbElement",
94948
- "module": "core/base-elements/element.js"
94949
- }
94950
- },
94951
- {
94952
- "kind": "field",
94953
- "name": "_controllers",
94954
- "type": {
94955
- "text": "Set<SbbReactiveController> | undefined"
94956
- },
94957
- "privacy": "private",
94958
- "inheritedFrom": {
94959
- "name": "SbbElement",
94960
- "module": "core/base-elements/element.js"
94961
- }
94962
- }
94963
- ],
94964
- "superclass": {
94965
- "name": "SbbHintElement",
94966
- "module": "form-field/hint/hint.component.js"
94967
- },
94968
- "tagName": "sbb-form-field-text-counter",
94969
- "customElement": true,
94970
- "attributes": [
94971
- {
94641
+ "name": "error-space",
94642
+ "type": {
94643
+ "text": "'none' | 'reserve'"
94644
+ },
94645
+ "default": "'none'",
94646
+ "description": "Whether to reserve space for an error message, hint or text-counter.\n`none` does not reserve any space.\n`reserve` does reserve one row for an error message.",
94647
+ "fieldName": "errorSpace"
94648
+ },
94649
+ {
94650
+ "name": "optional",
94651
+ "type": {
94652
+ "text": "boolean"
94653
+ },
94654
+ "default": "false",
94655
+ "description": "Indicates whether the input is optional.",
94656
+ "deprecated": "Set the (optional) label text manually. Will be removed with next major version.",
94657
+ "fieldName": "optional"
94658
+ },
94659
+ {
94660
+ "name": "size",
94661
+ "type": {
94662
+ "text": "'l' | 'm' | 's'"
94663
+ },
94664
+ "description": "Size variant, either l, m or s.",
94665
+ "default": "'m' / 's' (lean)",
94666
+ "fieldName": "size"
94667
+ },
94668
+ {
94669
+ "name": "borderless",
94670
+ "type": {
94671
+ "text": "boolean"
94672
+ },
94673
+ "default": "false",
94674
+ "description": "Whether to display the form field without a border.",
94675
+ "fieldName": "borderless"
94676
+ },
94677
+ {
94678
+ "name": "width",
94679
+ "type": {
94680
+ "text": "'default' | 'collapse'"
94681
+ },
94682
+ "default": "'default'",
94683
+ "description": "Defines the width of the component:\n- `default`: the component has defined width and min-width;\n- `collapse`: the component adapts itself to its inner input content.",
94684
+ "fieldName": "width"
94685
+ },
94686
+ {
94687
+ "name": "hidden-label",
94688
+ "type": {
94689
+ "text": "boolean"
94690
+ },
94691
+ "default": "false",
94692
+ "description": "Whether to visually hide the label. If hidden, screen readers will still read it.",
94693
+ "fieldName": "hiddenLabel"
94694
+ },
94695
+ {
94696
+ "name": "floating-label",
94697
+ "type": {
94698
+ "text": "boolean"
94699
+ },
94700
+ "default": "false",
94701
+ "description": "Whether the label should float. If activated, the placeholder of the input is hidden.",
94702
+ "fieldName": "floatingLabel"
94703
+ },
94704
+ {
94972
94705
  "name": "negative",
94973
94706
  "type": {
94974
94707
  "text": "boolean"
@@ -94981,16 +94714,36 @@
94981
94714
  "module": "core/mixins/negative-mixin.js"
94982
94715
  }
94983
94716
  }
94984
- ]
94717
+ ],
94718
+ "mixins": [
94719
+ {
94720
+ "name": "SbbNegativeMixin",
94721
+ "module": "core/mixins.js"
94722
+ }
94723
+ ],
94724
+ "superclass": {
94725
+ "name": "SbbElement",
94726
+ "module": "core/base-elements.js"
94727
+ },
94728
+ "tagName": "sbb-form-field",
94729
+ "customElement": true
94985
94730
  }
94986
94731
  ],
94987
94732
  "exports": [
94988
94733
  {
94989
94734
  "kind": "js",
94990
- "name": "SbbFormFieldTextCounterElement",
94735
+ "name": "SbbFormFieldControlEvent",
94991
94736
  "declaration": {
94992
- "name": "SbbFormFieldTextCounterElement",
94993
- "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
94737
+ "name": "SbbFormFieldControlEvent",
94738
+ "module": "form-field/form-field/form-field.component.js"
94739
+ }
94740
+ },
94741
+ {
94742
+ "kind": "js",
94743
+ "name": "SbbFormFieldElement",
94744
+ "declaration": {
94745
+ "name": "SbbFormFieldElement",
94746
+ "module": "form-field/form-field/form-field.component.js"
94994
94747
  }
94995
94748
  }
94996
94749
  ]
@@ -95803,6 +95556,253 @@
95803
95556
  }
95804
95557
  ]
95805
95558
  },
95559
+ {
95560
+ "kind": "javascript-module",
95561
+ "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
95562
+ "declarations": [
95563
+ {
95564
+ "kind": "class",
95565
+ "description": "It displays the remaining characters count for input/textarea elements with a configured\nmaxlength property in the `sbb-form-field`.\nThe component automatically uses the form field's inputElement and displays the remaining character count.\nIf the input is disabled, readonly or an `sbb-error` is present, the output is suppressed.",
95566
+ "name": "SbbFormFieldTextCounterElement",
95567
+ "slots": [
95568
+ {
95569
+ "description": "Use the unnamed slot to display a custom description text after the counter.",
95570
+ "name": "",
95571
+ "inheritedFrom": {
95572
+ "name": "SbbHintElement",
95573
+ "module": "form-field/hint/hint.component.js"
95574
+ }
95575
+ }
95576
+ ],
95577
+ "members": [
95578
+ {
95579
+ "kind": "field",
95580
+ "name": "elementName",
95581
+ "type": {
95582
+ "text": "string"
95583
+ },
95584
+ "privacy": "public",
95585
+ "static": true,
95586
+ "readonly": true,
95587
+ "default": "'sbb-form-field-text-counter'",
95588
+ "inheritedFrom": {
95589
+ "name": "SbbElement",
95590
+ "module": "core/base-elements/element.js"
95591
+ }
95592
+ },
95593
+ {
95594
+ "kind": "field",
95595
+ "name": "_remainingCharacters",
95596
+ "type": {
95597
+ "text": "number"
95598
+ },
95599
+ "privacy": "private",
95600
+ "default": "0"
95601
+ },
95602
+ {
95603
+ "kind": "field",
95604
+ "name": "_language",
95605
+ "privacy": "private",
95606
+ "default": "new SbbLanguageController(this)"
95607
+ },
95608
+ {
95609
+ "kind": "field",
95610
+ "name": "_abortController",
95611
+ "type": {
95612
+ "text": "AbortController | null"
95613
+ },
95614
+ "privacy": "private",
95615
+ "default": "null"
95616
+ },
95617
+ {
95618
+ "kind": "method",
95619
+ "name": "_onInputUpdate",
95620
+ "privacy": "private",
95621
+ "return": {
95622
+ "type": {
95623
+ "text": "void"
95624
+ }
95625
+ }
95626
+ },
95627
+ {
95628
+ "kind": "method",
95629
+ "name": "_infoText",
95630
+ "privacy": "private",
95631
+ "return": {
95632
+ "type": {
95633
+ "text": "string"
95634
+ }
95635
+ }
95636
+ },
95637
+ {
95638
+ "kind": "field",
95639
+ "name": "negative",
95640
+ "type": {
95641
+ "text": "boolean"
95642
+ },
95643
+ "privacy": "public",
95644
+ "default": "false",
95645
+ "description": "Negative coloring variant flag.",
95646
+ "attribute": "negative",
95647
+ "reflects": true,
95648
+ "inheritedFrom": {
95649
+ "name": "SbbNegativeMixin",
95650
+ "module": "core/mixins/negative-mixin.js"
95651
+ }
95652
+ },
95653
+ {
95654
+ "kind": "field",
95655
+ "name": "formField",
95656
+ "type": {
95657
+ "text": "SbbFormFieldElement | null"
95658
+ },
95659
+ "privacy": "protected",
95660
+ "default": "null",
95661
+ "inheritedFrom": {
95662
+ "name": "SbbHintElement",
95663
+ "module": "form-field/hint/hint.component.js"
95664
+ }
95665
+ },
95666
+ {
95667
+ "kind": "field",
95668
+ "name": "_hydrationRequired",
95669
+ "type": {
95670
+ "text": "boolean"
95671
+ },
95672
+ "privacy": "private",
95673
+ "default": "!!this.shadowRoot",
95674
+ "inheritedFrom": {
95675
+ "name": "SbbElement",
95676
+ "module": "core/base-elements/element.js"
95677
+ }
95678
+ },
95679
+ {
95680
+ "kind": "field",
95681
+ "name": "_hydrationComplete",
95682
+ "privacy": "private",
95683
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
95684
+ "inheritedFrom": {
95685
+ "name": "SbbElement",
95686
+ "module": "core/base-elements/element.js"
95687
+ }
95688
+ },
95689
+ {
95690
+ "kind": "field",
95691
+ "name": "_resolveHydration",
95692
+ "type": {
95693
+ "text": "(hydrationRequired: boolean) => void"
95694
+ },
95695
+ "privacy": "private",
95696
+ "inheritedFrom": {
95697
+ "name": "SbbElement",
95698
+ "module": "core/base-elements/element.js"
95699
+ }
95700
+ },
95701
+ {
95702
+ "kind": "field",
95703
+ "name": "hydrationRequired",
95704
+ "type": {
95705
+ "text": "boolean"
95706
+ },
95707
+ "privacy": "protected",
95708
+ "description": "Returns whether hydration is required and not completed.",
95709
+ "readonly": true,
95710
+ "inheritedFrom": {
95711
+ "name": "SbbElement",
95712
+ "module": "core/base-elements/element.js"
95713
+ },
95714
+ "default": "!!this.shadowRoot"
95715
+ },
95716
+ {
95717
+ "kind": "method",
95718
+ "name": "toggleState",
95719
+ "privacy": "protected",
95720
+ "return": {
95721
+ "type": {
95722
+ "text": "void"
95723
+ }
95724
+ },
95725
+ "parameters": [
95726
+ {
95727
+ "name": "value",
95728
+ "type": {
95729
+ "text": "string"
95730
+ }
95731
+ },
95732
+ {
95733
+ "name": "force",
95734
+ "optional": true,
95735
+ "type": {
95736
+ "text": "boolean"
95737
+ }
95738
+ }
95739
+ ],
95740
+ "inheritedFrom": {
95741
+ "name": "SbbElement",
95742
+ "module": "core/base-elements/element.js"
95743
+ }
95744
+ },
95745
+ {
95746
+ "kind": "field",
95747
+ "name": "['_$sbbElement$']",
95748
+ "type": {
95749
+ "text": "boolean"
95750
+ },
95751
+ "privacy": "public",
95752
+ "static": true,
95753
+ "default": "true",
95754
+ "inheritedFrom": {
95755
+ "name": "SbbElement",
95756
+ "module": "core/base-elements/element.js"
95757
+ }
95758
+ },
95759
+ {
95760
+ "kind": "field",
95761
+ "name": "_controllers",
95762
+ "type": {
95763
+ "text": "Set<SbbReactiveController> | undefined"
95764
+ },
95765
+ "privacy": "private",
95766
+ "inheritedFrom": {
95767
+ "name": "SbbElement",
95768
+ "module": "core/base-elements/element.js"
95769
+ }
95770
+ }
95771
+ ],
95772
+ "superclass": {
95773
+ "name": "SbbHintElement",
95774
+ "module": "form-field/hint/hint.component.js"
95775
+ },
95776
+ "tagName": "sbb-form-field-text-counter",
95777
+ "customElement": true,
95778
+ "attributes": [
95779
+ {
95780
+ "name": "negative",
95781
+ "type": {
95782
+ "text": "boolean"
95783
+ },
95784
+ "default": "false",
95785
+ "description": "Negative coloring variant flag.",
95786
+ "fieldName": "negative",
95787
+ "inheritedFrom": {
95788
+ "name": "SbbNegativeMixin",
95789
+ "module": "core/mixins/negative-mixin.js"
95790
+ }
95791
+ }
95792
+ ]
95793
+ }
95794
+ ],
95795
+ "exports": [
95796
+ {
95797
+ "kind": "js",
95798
+ "name": "SbbFormFieldTextCounterElement",
95799
+ "declaration": {
95800
+ "name": "SbbFormFieldTextCounterElement",
95801
+ "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
95802
+ }
95803
+ }
95804
+ ]
95805
+ },
95806
95806
  {
95807
95807
  "kind": "javascript-module",
95808
95808
  "path": "form-field/hint/hint.component.js",
@@ -110073,176 +110073,6 @@
110073
110073
  }
110074
110074
  ]
110075
110075
  },
110076
- {
110077
- "kind": "javascript-module",
110078
- "path": "navigation/common/navigation-action-common.js",
110079
- "declarations": [
110080
- {
110081
- "kind": "class",
110082
- "description": "",
110083
- "name": "SbbNavigationActionCommonElementMixinType",
110084
- "members": [
110085
- {
110086
- "kind": "field",
110087
- "name": "size",
110088
- "type": {
110089
- "text": "SbbNavigationActionSize"
110090
- },
110091
- "privacy": "public"
110092
- },
110093
- {
110094
- "kind": "field",
110095
- "name": "marker",
110096
- "type": {
110097
- "text": "SbbNavigationMarkerElement | null"
110098
- },
110099
- "privacy": "public",
110100
- "readonly": true
110101
- },
110102
- {
110103
- "kind": "field",
110104
- "name": "section",
110105
- "type": {
110106
- "text": "SbbNavigationSectionElement | null"
110107
- },
110108
- "privacy": "public",
110109
- "readonly": true
110110
- },
110111
- {
110112
- "kind": "field",
110113
- "name": "connectedSection",
110114
- "type": {
110115
- "text": "SbbNavigationSectionElement | undefined"
110116
- },
110117
- "privacy": "public"
110118
- }
110119
- ]
110120
- },
110121
- {
110122
- "kind": "mixin",
110123
- "description": "",
110124
- "name": "SbbNavigationActionCommonElementMixin",
110125
- "members": [
110126
- {
110127
- "kind": "field",
110128
- "name": "styles",
110129
- "type": {
110130
- "text": "CSSResultGroup"
110131
- },
110132
- "privacy": "public",
110133
- "static": true,
110134
- "default": "[boxSizingStyles, unsafeCSS(style)]"
110135
- },
110136
- {
110137
- "kind": "field",
110138
- "name": "size",
110139
- "type": {
110140
- "text": "SbbNavigationActionSize"
110141
- },
110142
- "privacy": "public",
110143
- "description": "Action size variant, either s, m or l.",
110144
- "default": "'l' / 's' (lean)",
110145
- "attribute": "size",
110146
- "reflects": true
110147
- },
110148
- {
110149
- "kind": "field",
110150
- "name": "connectedSection",
110151
- "type": {
110152
- "text": "SbbNavigationSectionElement | undefined"
110153
- },
110154
- "privacy": "public",
110155
- "description": "The section that is being controlled by the action, if any."
110156
- },
110157
- {
110158
- "kind": "field",
110159
- "name": "marker",
110160
- "type": {
110161
- "text": "SbbNavigationMarkerElement | null"
110162
- },
110163
- "privacy": "public",
110164
- "description": "The navigation marker in which the action is nested.",
110165
- "readonly": true
110166
- },
110167
- {
110168
- "kind": "field",
110169
- "name": "section",
110170
- "type": {
110171
- "text": "SbbNavigationSectionElement | null"
110172
- },
110173
- "privacy": "public",
110174
- "description": "The section in which the action is nested.",
110175
- "readonly": true
110176
- },
110177
- {
110178
- "kind": "field",
110179
- "name": "_navigationMarker",
110180
- "type": {
110181
- "text": "SbbNavigationMarkerElement | null"
110182
- },
110183
- "privacy": "private",
110184
- "default": "null"
110185
- },
110186
- {
110187
- "kind": "field",
110188
- "name": "_navigationSection",
110189
- "type": {
110190
- "text": "SbbNavigationSectionElement | null"
110191
- },
110192
- "privacy": "private",
110193
- "default": "null"
110194
- },
110195
- {
110196
- "kind": "method",
110197
- "name": "renderTemplate",
110198
- "privacy": "protected",
110199
- "return": {
110200
- "type": {
110201
- "text": "TemplateResult"
110202
- }
110203
- }
110204
- }
110205
- ],
110206
- "attributes": [
110207
- {
110208
- "name": "size",
110209
- "type": {
110210
- "text": "SbbNavigationActionSize"
110211
- },
110212
- "description": "Action size variant, either s, m or l.",
110213
- "default": "'l' / 's' (lean)",
110214
- "fieldName": "size"
110215
- }
110216
- ],
110217
- "parameters": [
110218
- {
110219
- "name": "superClass",
110220
- "type": {
110221
- "text": "T"
110222
- }
110223
- }
110224
- ]
110225
- }
110226
- ],
110227
- "exports": [
110228
- {
110229
- "kind": "js",
110230
- "name": "SbbNavigationActionCommonElementMixinType",
110231
- "declaration": {
110232
- "name": "SbbNavigationActionCommonElementMixinType",
110233
- "module": "navigation/common/navigation-action-common.js"
110234
- }
110235
- },
110236
- {
110237
- "kind": "js",
110238
- "name": "SbbNavigationActionCommonElementMixin",
110239
- "declaration": {
110240
- "name": "SbbNavigationActionCommonElementMixin",
110241
- "module": "navigation/common/navigation-action-common.js"
110242
- }
110243
- }
110244
- ]
110245
- },
110246
110076
  {
110247
110077
  "kind": "javascript-module",
110248
110078
  "path": "mini-calendar/mini-calendar-month/mini-calendar-month.component.js",
@@ -110461,6 +110291,176 @@
110461
110291
  }
110462
110292
  ]
110463
110293
  },
110294
+ {
110295
+ "kind": "javascript-module",
110296
+ "path": "navigation/common/navigation-action-common.js",
110297
+ "declarations": [
110298
+ {
110299
+ "kind": "class",
110300
+ "description": "",
110301
+ "name": "SbbNavigationActionCommonElementMixinType",
110302
+ "members": [
110303
+ {
110304
+ "kind": "field",
110305
+ "name": "size",
110306
+ "type": {
110307
+ "text": "SbbNavigationActionSize"
110308
+ },
110309
+ "privacy": "public"
110310
+ },
110311
+ {
110312
+ "kind": "field",
110313
+ "name": "marker",
110314
+ "type": {
110315
+ "text": "SbbNavigationMarkerElement | null"
110316
+ },
110317
+ "privacy": "public",
110318
+ "readonly": true
110319
+ },
110320
+ {
110321
+ "kind": "field",
110322
+ "name": "section",
110323
+ "type": {
110324
+ "text": "SbbNavigationSectionElement | null"
110325
+ },
110326
+ "privacy": "public",
110327
+ "readonly": true
110328
+ },
110329
+ {
110330
+ "kind": "field",
110331
+ "name": "connectedSection",
110332
+ "type": {
110333
+ "text": "SbbNavigationSectionElement | undefined"
110334
+ },
110335
+ "privacy": "public"
110336
+ }
110337
+ ]
110338
+ },
110339
+ {
110340
+ "kind": "mixin",
110341
+ "description": "",
110342
+ "name": "SbbNavigationActionCommonElementMixin",
110343
+ "members": [
110344
+ {
110345
+ "kind": "field",
110346
+ "name": "styles",
110347
+ "type": {
110348
+ "text": "CSSResultGroup"
110349
+ },
110350
+ "privacy": "public",
110351
+ "static": true,
110352
+ "default": "[boxSizingStyles, unsafeCSS(style)]"
110353
+ },
110354
+ {
110355
+ "kind": "field",
110356
+ "name": "size",
110357
+ "type": {
110358
+ "text": "SbbNavigationActionSize"
110359
+ },
110360
+ "privacy": "public",
110361
+ "description": "Action size variant, either s, m or l.",
110362
+ "default": "'l' / 's' (lean)",
110363
+ "attribute": "size",
110364
+ "reflects": true
110365
+ },
110366
+ {
110367
+ "kind": "field",
110368
+ "name": "connectedSection",
110369
+ "type": {
110370
+ "text": "SbbNavigationSectionElement | undefined"
110371
+ },
110372
+ "privacy": "public",
110373
+ "description": "The section that is being controlled by the action, if any."
110374
+ },
110375
+ {
110376
+ "kind": "field",
110377
+ "name": "marker",
110378
+ "type": {
110379
+ "text": "SbbNavigationMarkerElement | null"
110380
+ },
110381
+ "privacy": "public",
110382
+ "description": "The navigation marker in which the action is nested.",
110383
+ "readonly": true
110384
+ },
110385
+ {
110386
+ "kind": "field",
110387
+ "name": "section",
110388
+ "type": {
110389
+ "text": "SbbNavigationSectionElement | null"
110390
+ },
110391
+ "privacy": "public",
110392
+ "description": "The section in which the action is nested.",
110393
+ "readonly": true
110394
+ },
110395
+ {
110396
+ "kind": "field",
110397
+ "name": "_navigationMarker",
110398
+ "type": {
110399
+ "text": "SbbNavigationMarkerElement | null"
110400
+ },
110401
+ "privacy": "private",
110402
+ "default": "null"
110403
+ },
110404
+ {
110405
+ "kind": "field",
110406
+ "name": "_navigationSection",
110407
+ "type": {
110408
+ "text": "SbbNavigationSectionElement | null"
110409
+ },
110410
+ "privacy": "private",
110411
+ "default": "null"
110412
+ },
110413
+ {
110414
+ "kind": "method",
110415
+ "name": "renderTemplate",
110416
+ "privacy": "protected",
110417
+ "return": {
110418
+ "type": {
110419
+ "text": "TemplateResult"
110420
+ }
110421
+ }
110422
+ }
110423
+ ],
110424
+ "attributes": [
110425
+ {
110426
+ "name": "size",
110427
+ "type": {
110428
+ "text": "SbbNavigationActionSize"
110429
+ },
110430
+ "description": "Action size variant, either s, m or l.",
110431
+ "default": "'l' / 's' (lean)",
110432
+ "fieldName": "size"
110433
+ }
110434
+ ],
110435
+ "parameters": [
110436
+ {
110437
+ "name": "superClass",
110438
+ "type": {
110439
+ "text": "T"
110440
+ }
110441
+ }
110442
+ ]
110443
+ }
110444
+ ],
110445
+ "exports": [
110446
+ {
110447
+ "kind": "js",
110448
+ "name": "SbbNavigationActionCommonElementMixinType",
110449
+ "declaration": {
110450
+ "name": "SbbNavigationActionCommonElementMixinType",
110451
+ "module": "navigation/common/navigation-action-common.js"
110452
+ }
110453
+ },
110454
+ {
110455
+ "kind": "js",
110456
+ "name": "SbbNavigationActionCommonElementMixin",
110457
+ "declaration": {
110458
+ "name": "SbbNavigationActionCommonElementMixin",
110459
+ "module": "navigation/common/navigation-action-common.js"
110460
+ }
110461
+ }
110462
+ ]
110463
+ },
110464
110464
  {
110465
110465
  "kind": "javascript-module",
110466
110466
  "path": "navigation/navigation/navigation.component.js",