@sbb-esta/lyne-elements-dev 4.12.0-dev.1777455695 → 4.12.0-dev.1777503664

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 +247 -247
  2. package/package.json +2 -2
@@ -94658,253 +94658,6 @@
94658
94658
  }
94659
94659
  ]
94660
94660
  },
94661
- {
94662
- "kind": "javascript-module",
94663
- "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
94664
- "declarations": [
94665
- {
94666
- "kind": "class",
94667
- "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.",
94668
- "name": "SbbFormFieldTextCounterElement",
94669
- "slots": [
94670
- {
94671
- "description": "Use the unnamed slot to display a custom description text after the counter.",
94672
- "name": "",
94673
- "inheritedFrom": {
94674
- "name": "SbbHintElement",
94675
- "module": "form-field/hint/hint.component.js"
94676
- }
94677
- }
94678
- ],
94679
- "members": [
94680
- {
94681
- "kind": "field",
94682
- "name": "elementName",
94683
- "type": {
94684
- "text": "string"
94685
- },
94686
- "privacy": "public",
94687
- "static": true,
94688
- "readonly": true,
94689
- "default": "'sbb-form-field-text-counter'",
94690
- "inheritedFrom": {
94691
- "name": "SbbElement",
94692
- "module": "core/base-elements/element.js"
94693
- }
94694
- },
94695
- {
94696
- "kind": "field",
94697
- "name": "_remainingCharacters",
94698
- "type": {
94699
- "text": "number"
94700
- },
94701
- "privacy": "private",
94702
- "default": "0"
94703
- },
94704
- {
94705
- "kind": "field",
94706
- "name": "_language",
94707
- "privacy": "private",
94708
- "default": "new SbbLanguageController(this)"
94709
- },
94710
- {
94711
- "kind": "field",
94712
- "name": "_abortController",
94713
- "type": {
94714
- "text": "AbortController | null"
94715
- },
94716
- "privacy": "private",
94717
- "default": "null"
94718
- },
94719
- {
94720
- "kind": "method",
94721
- "name": "_onInputUpdate",
94722
- "privacy": "private",
94723
- "return": {
94724
- "type": {
94725
- "text": "void"
94726
- }
94727
- }
94728
- },
94729
- {
94730
- "kind": "method",
94731
- "name": "_infoText",
94732
- "privacy": "private",
94733
- "return": {
94734
- "type": {
94735
- "text": "string"
94736
- }
94737
- }
94738
- },
94739
- {
94740
- "kind": "field",
94741
- "name": "negative",
94742
- "type": {
94743
- "text": "boolean"
94744
- },
94745
- "privacy": "public",
94746
- "default": "false",
94747
- "description": "Negative coloring variant flag.",
94748
- "attribute": "negative",
94749
- "reflects": true,
94750
- "inheritedFrom": {
94751
- "name": "SbbNegativeMixin",
94752
- "module": "core/mixins/negative-mixin.js"
94753
- }
94754
- },
94755
- {
94756
- "kind": "field",
94757
- "name": "formField",
94758
- "type": {
94759
- "text": "SbbFormFieldElement | null"
94760
- },
94761
- "privacy": "protected",
94762
- "default": "null",
94763
- "inheritedFrom": {
94764
- "name": "SbbHintElement",
94765
- "module": "form-field/hint/hint.component.js"
94766
- }
94767
- },
94768
- {
94769
- "kind": "field",
94770
- "name": "_hydrationRequired",
94771
- "type": {
94772
- "text": "boolean"
94773
- },
94774
- "privacy": "private",
94775
- "default": "!!this.shadowRoot",
94776
- "inheritedFrom": {
94777
- "name": "SbbElement",
94778
- "module": "core/base-elements/element.js"
94779
- }
94780
- },
94781
- {
94782
- "kind": "field",
94783
- "name": "_hydrationComplete",
94784
- "privacy": "private",
94785
- "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
94786
- "inheritedFrom": {
94787
- "name": "SbbElement",
94788
- "module": "core/base-elements/element.js"
94789
- }
94790
- },
94791
- {
94792
- "kind": "field",
94793
- "name": "_resolveHydration",
94794
- "type": {
94795
- "text": "(hydrationRequired: boolean) => void"
94796
- },
94797
- "privacy": "private",
94798
- "inheritedFrom": {
94799
- "name": "SbbElement",
94800
- "module": "core/base-elements/element.js"
94801
- }
94802
- },
94803
- {
94804
- "kind": "field",
94805
- "name": "hydrationRequired",
94806
- "type": {
94807
- "text": "boolean"
94808
- },
94809
- "privacy": "protected",
94810
- "description": "Returns whether hydration is required and not completed.",
94811
- "readonly": true,
94812
- "inheritedFrom": {
94813
- "name": "SbbElement",
94814
- "module": "core/base-elements/element.js"
94815
- },
94816
- "default": "!!this.shadowRoot"
94817
- },
94818
- {
94819
- "kind": "method",
94820
- "name": "toggleState",
94821
- "privacy": "protected",
94822
- "return": {
94823
- "type": {
94824
- "text": "void"
94825
- }
94826
- },
94827
- "parameters": [
94828
- {
94829
- "name": "value",
94830
- "type": {
94831
- "text": "string"
94832
- }
94833
- },
94834
- {
94835
- "name": "force",
94836
- "optional": true,
94837
- "type": {
94838
- "text": "boolean"
94839
- }
94840
- }
94841
- ],
94842
- "inheritedFrom": {
94843
- "name": "SbbElement",
94844
- "module": "core/base-elements/element.js"
94845
- }
94846
- },
94847
- {
94848
- "kind": "field",
94849
- "name": "['_$sbbElement$']",
94850
- "type": {
94851
- "text": "boolean"
94852
- },
94853
- "privacy": "public",
94854
- "static": true,
94855
- "default": "true",
94856
- "inheritedFrom": {
94857
- "name": "SbbElement",
94858
- "module": "core/base-elements/element.js"
94859
- }
94860
- },
94861
- {
94862
- "kind": "field",
94863
- "name": "_controllers",
94864
- "type": {
94865
- "text": "Set<SbbReactiveController> | undefined"
94866
- },
94867
- "privacy": "private",
94868
- "inheritedFrom": {
94869
- "name": "SbbElement",
94870
- "module": "core/base-elements/element.js"
94871
- }
94872
- }
94873
- ],
94874
- "superclass": {
94875
- "name": "SbbHintElement",
94876
- "module": "form-field/hint/hint.component.js"
94877
- },
94878
- "tagName": "sbb-form-field-text-counter",
94879
- "customElement": true,
94880
- "attributes": [
94881
- {
94882
- "name": "negative",
94883
- "type": {
94884
- "text": "boolean"
94885
- },
94886
- "default": "false",
94887
- "description": "Negative coloring variant flag.",
94888
- "fieldName": "negative",
94889
- "inheritedFrom": {
94890
- "name": "SbbNegativeMixin",
94891
- "module": "core/mixins/negative-mixin.js"
94892
- }
94893
- }
94894
- ]
94895
- }
94896
- ],
94897
- "exports": [
94898
- {
94899
- "kind": "js",
94900
- "name": "SbbFormFieldTextCounterElement",
94901
- "declaration": {
94902
- "name": "SbbFormFieldTextCounterElement",
94903
- "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
94904
- }
94905
- }
94906
- ]
94907
- },
94908
94661
  {
94909
94662
  "kind": "javascript-module",
94910
94663
  "path": "form-field/form-field-clear/form-field-clear.component.js",
@@ -95713,6 +95466,253 @@
95713
95466
  }
95714
95467
  ]
95715
95468
  },
95469
+ {
95470
+ "kind": "javascript-module",
95471
+ "path": "form-field/form-field-text-counter/form-field-text-counter.component.js",
95472
+ "declarations": [
95473
+ {
95474
+ "kind": "class",
95475
+ "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.",
95476
+ "name": "SbbFormFieldTextCounterElement",
95477
+ "slots": [
95478
+ {
95479
+ "description": "Use the unnamed slot to display a custom description text after the counter.",
95480
+ "name": "",
95481
+ "inheritedFrom": {
95482
+ "name": "SbbHintElement",
95483
+ "module": "form-field/hint/hint.component.js"
95484
+ }
95485
+ }
95486
+ ],
95487
+ "members": [
95488
+ {
95489
+ "kind": "field",
95490
+ "name": "elementName",
95491
+ "type": {
95492
+ "text": "string"
95493
+ },
95494
+ "privacy": "public",
95495
+ "static": true,
95496
+ "readonly": true,
95497
+ "default": "'sbb-form-field-text-counter'",
95498
+ "inheritedFrom": {
95499
+ "name": "SbbElement",
95500
+ "module": "core/base-elements/element.js"
95501
+ }
95502
+ },
95503
+ {
95504
+ "kind": "field",
95505
+ "name": "_remainingCharacters",
95506
+ "type": {
95507
+ "text": "number"
95508
+ },
95509
+ "privacy": "private",
95510
+ "default": "0"
95511
+ },
95512
+ {
95513
+ "kind": "field",
95514
+ "name": "_language",
95515
+ "privacy": "private",
95516
+ "default": "new SbbLanguageController(this)"
95517
+ },
95518
+ {
95519
+ "kind": "field",
95520
+ "name": "_abortController",
95521
+ "type": {
95522
+ "text": "AbortController | null"
95523
+ },
95524
+ "privacy": "private",
95525
+ "default": "null"
95526
+ },
95527
+ {
95528
+ "kind": "method",
95529
+ "name": "_onInputUpdate",
95530
+ "privacy": "private",
95531
+ "return": {
95532
+ "type": {
95533
+ "text": "void"
95534
+ }
95535
+ }
95536
+ },
95537
+ {
95538
+ "kind": "method",
95539
+ "name": "_infoText",
95540
+ "privacy": "private",
95541
+ "return": {
95542
+ "type": {
95543
+ "text": "string"
95544
+ }
95545
+ }
95546
+ },
95547
+ {
95548
+ "kind": "field",
95549
+ "name": "negative",
95550
+ "type": {
95551
+ "text": "boolean"
95552
+ },
95553
+ "privacy": "public",
95554
+ "default": "false",
95555
+ "description": "Negative coloring variant flag.",
95556
+ "attribute": "negative",
95557
+ "reflects": true,
95558
+ "inheritedFrom": {
95559
+ "name": "SbbNegativeMixin",
95560
+ "module": "core/mixins/negative-mixin.js"
95561
+ }
95562
+ },
95563
+ {
95564
+ "kind": "field",
95565
+ "name": "formField",
95566
+ "type": {
95567
+ "text": "SbbFormFieldElement | null"
95568
+ },
95569
+ "privacy": "protected",
95570
+ "default": "null",
95571
+ "inheritedFrom": {
95572
+ "name": "SbbHintElement",
95573
+ "module": "form-field/hint/hint.component.js"
95574
+ }
95575
+ },
95576
+ {
95577
+ "kind": "field",
95578
+ "name": "_hydrationRequired",
95579
+ "type": {
95580
+ "text": "boolean"
95581
+ },
95582
+ "privacy": "private",
95583
+ "default": "!!this.shadowRoot",
95584
+ "inheritedFrom": {
95585
+ "name": "SbbElement",
95586
+ "module": "core/base-elements/element.js"
95587
+ }
95588
+ },
95589
+ {
95590
+ "kind": "field",
95591
+ "name": "_hydrationComplete",
95592
+ "privacy": "private",
95593
+ "default": "new Promise<boolean>( (resolve) => (this._resolveHydration = resolve), )",
95594
+ "inheritedFrom": {
95595
+ "name": "SbbElement",
95596
+ "module": "core/base-elements/element.js"
95597
+ }
95598
+ },
95599
+ {
95600
+ "kind": "field",
95601
+ "name": "_resolveHydration",
95602
+ "type": {
95603
+ "text": "(hydrationRequired: boolean) => void"
95604
+ },
95605
+ "privacy": "private",
95606
+ "inheritedFrom": {
95607
+ "name": "SbbElement",
95608
+ "module": "core/base-elements/element.js"
95609
+ }
95610
+ },
95611
+ {
95612
+ "kind": "field",
95613
+ "name": "hydrationRequired",
95614
+ "type": {
95615
+ "text": "boolean"
95616
+ },
95617
+ "privacy": "protected",
95618
+ "description": "Returns whether hydration is required and not completed.",
95619
+ "readonly": true,
95620
+ "inheritedFrom": {
95621
+ "name": "SbbElement",
95622
+ "module": "core/base-elements/element.js"
95623
+ },
95624
+ "default": "!!this.shadowRoot"
95625
+ },
95626
+ {
95627
+ "kind": "method",
95628
+ "name": "toggleState",
95629
+ "privacy": "protected",
95630
+ "return": {
95631
+ "type": {
95632
+ "text": "void"
95633
+ }
95634
+ },
95635
+ "parameters": [
95636
+ {
95637
+ "name": "value",
95638
+ "type": {
95639
+ "text": "string"
95640
+ }
95641
+ },
95642
+ {
95643
+ "name": "force",
95644
+ "optional": true,
95645
+ "type": {
95646
+ "text": "boolean"
95647
+ }
95648
+ }
95649
+ ],
95650
+ "inheritedFrom": {
95651
+ "name": "SbbElement",
95652
+ "module": "core/base-elements/element.js"
95653
+ }
95654
+ },
95655
+ {
95656
+ "kind": "field",
95657
+ "name": "['_$sbbElement$']",
95658
+ "type": {
95659
+ "text": "boolean"
95660
+ },
95661
+ "privacy": "public",
95662
+ "static": true,
95663
+ "default": "true",
95664
+ "inheritedFrom": {
95665
+ "name": "SbbElement",
95666
+ "module": "core/base-elements/element.js"
95667
+ }
95668
+ },
95669
+ {
95670
+ "kind": "field",
95671
+ "name": "_controllers",
95672
+ "type": {
95673
+ "text": "Set<SbbReactiveController> | undefined"
95674
+ },
95675
+ "privacy": "private",
95676
+ "inheritedFrom": {
95677
+ "name": "SbbElement",
95678
+ "module": "core/base-elements/element.js"
95679
+ }
95680
+ }
95681
+ ],
95682
+ "superclass": {
95683
+ "name": "SbbHintElement",
95684
+ "module": "form-field/hint/hint.component.js"
95685
+ },
95686
+ "tagName": "sbb-form-field-text-counter",
95687
+ "customElement": true,
95688
+ "attributes": [
95689
+ {
95690
+ "name": "negative",
95691
+ "type": {
95692
+ "text": "boolean"
95693
+ },
95694
+ "default": "false",
95695
+ "description": "Negative coloring variant flag.",
95696
+ "fieldName": "negative",
95697
+ "inheritedFrom": {
95698
+ "name": "SbbNegativeMixin",
95699
+ "module": "core/mixins/negative-mixin.js"
95700
+ }
95701
+ }
95702
+ ]
95703
+ }
95704
+ ],
95705
+ "exports": [
95706
+ {
95707
+ "kind": "js",
95708
+ "name": "SbbFormFieldTextCounterElement",
95709
+ "declaration": {
95710
+ "name": "SbbFormFieldTextCounterElement",
95711
+ "module": "form-field/form-field-text-counter/form-field-text-counter.component.js"
95712
+ }
95713
+ }
95714
+ ]
95715
+ },
95716
95716
  {
95717
95717
  "kind": "javascript-module",
95718
95718
  "path": "form-field/hint/hint.component.js",
package/package.json CHANGED
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sbb-esta/lyne-elements-dev",
3
- "version": "4.12.0-dev.1777455695",
3
+ "version": "4.12.0-dev.1777503664",
4
4
  "description": "Lyne Design System",
5
5
  "keywords": [
6
6
  "design system",
7
7
  "web components",
8
8
  "lit",
9
- "https://github.com/sbb-design-systems/lyne-components/commit/7e2e12c527043069bf3850f20a1d28b367b507f1"
9
+ "https://github.com/sbb-design-systems/lyne-components/commit/0cb903443299f90633654acddcd404040eebff22"
10
10
  ],
11
11
  "type": "module",
12
12
  "exports": {