@spectrum-web-components/textfield 0.31.1-react.21 → 0.32.0
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.
- package/custom-elements.json +37 -37
- package/package.json +9 -9
- package/src/spectrum-config.js +5 -0
- package/src/spectrum-textfield.css.dev.js +578 -217
- package/src/spectrum-textfield.css.dev.js.map +2 -2
- package/src/spectrum-textfield.css.js +580 -219
- package/src/spectrum-textfield.css.js.map +2 -2
- package/src/textfield.css.dev.js +605 -223
- package/src/textfield.css.dev.js.map +2 -2
- package/src/textfield.css.js +607 -225
- package/src/textfield.css.js.map +2 -2
package/custom-elements.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"modules": [
|
|
5
5
|
{
|
|
6
6
|
"kind": "javascript-module",
|
|
7
|
-
"path": "sp-textfield.
|
|
7
|
+
"path": "sp-textfield.js",
|
|
8
8
|
"declarations": [],
|
|
9
9
|
"exports": [
|
|
10
10
|
{
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
{
|
|
21
21
|
"kind": "javascript-module",
|
|
22
|
-
"path": "src/Textfield.
|
|
22
|
+
"path": "src/Textfield.js",
|
|
23
23
|
"declarations": [
|
|
24
24
|
{
|
|
25
25
|
"kind": "class",
|
|
@@ -564,7 +564,7 @@
|
|
|
564
564
|
"attribute": "value",
|
|
565
565
|
"inheritedFrom": {
|
|
566
566
|
"name": "TextfieldBase",
|
|
567
|
-
"module": "src/Textfield.
|
|
567
|
+
"module": "src/Textfield.js"
|
|
568
568
|
}
|
|
569
569
|
},
|
|
570
570
|
{
|
|
@@ -577,7 +577,7 @@
|
|
|
577
577
|
"default": "''",
|
|
578
578
|
"inheritedFrom": {
|
|
579
579
|
"name": "TextfieldBase",
|
|
580
|
-
"module": "src/Textfield.
|
|
580
|
+
"module": "src/Textfield.js"
|
|
581
581
|
}
|
|
582
582
|
},
|
|
583
583
|
{
|
|
@@ -590,7 +590,7 @@
|
|
|
590
590
|
"attribute": "allowed-keys",
|
|
591
591
|
"inheritedFrom": {
|
|
592
592
|
"name": "TextfieldBase",
|
|
593
|
-
"module": "src/Textfield.
|
|
593
|
+
"module": "src/Textfield.js"
|
|
594
594
|
}
|
|
595
595
|
},
|
|
596
596
|
{
|
|
@@ -605,7 +605,7 @@
|
|
|
605
605
|
"reflects": true,
|
|
606
606
|
"inheritedFrom": {
|
|
607
607
|
"name": "TextfieldBase",
|
|
608
|
-
"module": "src/Textfield.
|
|
608
|
+
"module": "src/Textfield.js"
|
|
609
609
|
}
|
|
610
610
|
},
|
|
611
611
|
{
|
|
@@ -617,7 +617,7 @@
|
|
|
617
617
|
"privacy": "protected",
|
|
618
618
|
"inheritedFrom": {
|
|
619
619
|
"name": "TextfieldBase",
|
|
620
|
-
"module": "src/Textfield.
|
|
620
|
+
"module": "src/Textfield.js"
|
|
621
621
|
}
|
|
622
622
|
},
|
|
623
623
|
{
|
|
@@ -632,7 +632,7 @@
|
|
|
632
632
|
"reflects": true,
|
|
633
633
|
"inheritedFrom": {
|
|
634
634
|
"name": "TextfieldBase",
|
|
635
|
-
"module": "src/Textfield.
|
|
635
|
+
"module": "src/Textfield.js"
|
|
636
636
|
}
|
|
637
637
|
},
|
|
638
638
|
{
|
|
@@ -646,7 +646,7 @@
|
|
|
646
646
|
"attribute": "label",
|
|
647
647
|
"inheritedFrom": {
|
|
648
648
|
"name": "TextfieldBase",
|
|
649
|
-
"module": "src/Textfield.
|
|
649
|
+
"module": "src/Textfield.js"
|
|
650
650
|
}
|
|
651
651
|
},
|
|
652
652
|
{
|
|
@@ -660,7 +660,7 @@
|
|
|
660
660
|
"attribute": "placeholder",
|
|
661
661
|
"inheritedFrom": {
|
|
662
662
|
"name": "TextfieldBase",
|
|
663
|
-
"module": "src/Textfield.
|
|
663
|
+
"module": "src/Textfield.js"
|
|
664
664
|
}
|
|
665
665
|
},
|
|
666
666
|
{
|
|
@@ -675,7 +675,7 @@
|
|
|
675
675
|
"reflects": true,
|
|
676
676
|
"inheritedFrom": {
|
|
677
677
|
"name": "TextfieldBase",
|
|
678
|
-
"module": "src/Textfield.
|
|
678
|
+
"module": "src/Textfield.js"
|
|
679
679
|
}
|
|
680
680
|
},
|
|
681
681
|
{
|
|
@@ -686,7 +686,7 @@
|
|
|
686
686
|
},
|
|
687
687
|
"inheritedFrom": {
|
|
688
688
|
"name": "TextfieldBase",
|
|
689
|
-
"module": "src/Textfield.
|
|
689
|
+
"module": "src/Textfield.js"
|
|
690
690
|
}
|
|
691
691
|
},
|
|
692
692
|
{
|
|
@@ -699,7 +699,7 @@
|
|
|
699
699
|
"attribute": "pattern",
|
|
700
700
|
"inheritedFrom": {
|
|
701
701
|
"name": "TextfieldBase",
|
|
702
|
-
"module": "src/Textfield.
|
|
702
|
+
"module": "src/Textfield.js"
|
|
703
703
|
}
|
|
704
704
|
},
|
|
705
705
|
{
|
|
@@ -714,7 +714,7 @@
|
|
|
714
714
|
"reflects": true,
|
|
715
715
|
"inheritedFrom": {
|
|
716
716
|
"name": "TextfieldBase",
|
|
717
|
-
"module": "src/Textfield.
|
|
717
|
+
"module": "src/Textfield.js"
|
|
718
718
|
}
|
|
719
719
|
},
|
|
720
720
|
{
|
|
@@ -728,7 +728,7 @@
|
|
|
728
728
|
"attribute": "maxlength",
|
|
729
729
|
"inheritedFrom": {
|
|
730
730
|
"name": "TextfieldBase",
|
|
731
|
-
"module": "src/Textfield.
|
|
731
|
+
"module": "src/Textfield.js"
|
|
732
732
|
}
|
|
733
733
|
},
|
|
734
734
|
{
|
|
@@ -742,7 +742,7 @@
|
|
|
742
742
|
"attribute": "minlength",
|
|
743
743
|
"inheritedFrom": {
|
|
744
744
|
"name": "TextfieldBase",
|
|
745
|
-
"module": "src/Textfield.
|
|
745
|
+
"module": "src/Textfield.js"
|
|
746
746
|
}
|
|
747
747
|
},
|
|
748
748
|
{
|
|
@@ -757,7 +757,7 @@
|
|
|
757
757
|
"reflects": true,
|
|
758
758
|
"inheritedFrom": {
|
|
759
759
|
"name": "TextfieldBase",
|
|
760
|
-
"module": "src/Textfield.
|
|
760
|
+
"module": "src/Textfield.js"
|
|
761
761
|
}
|
|
762
762
|
},
|
|
763
763
|
{
|
|
@@ -772,7 +772,7 @@
|
|
|
772
772
|
"reflects": true,
|
|
773
773
|
"inheritedFrom": {
|
|
774
774
|
"name": "TextfieldBase",
|
|
775
|
-
"module": "src/Textfield.
|
|
775
|
+
"module": "src/Textfield.js"
|
|
776
776
|
}
|
|
777
777
|
},
|
|
778
778
|
{
|
|
@@ -787,7 +787,7 @@
|
|
|
787
787
|
"reflects": true,
|
|
788
788
|
"inheritedFrom": {
|
|
789
789
|
"name": "TextfieldBase",
|
|
790
|
-
"module": "src/Textfield.
|
|
790
|
+
"module": "src/Textfield.js"
|
|
791
791
|
}
|
|
792
792
|
},
|
|
793
793
|
{
|
|
@@ -802,7 +802,7 @@
|
|
|
802
802
|
"reflects": true,
|
|
803
803
|
"inheritedFrom": {
|
|
804
804
|
"name": "TextfieldBase",
|
|
805
|
-
"module": "src/Textfield.
|
|
805
|
+
"module": "src/Textfield.js"
|
|
806
806
|
}
|
|
807
807
|
},
|
|
808
808
|
{
|
|
@@ -817,7 +817,7 @@
|
|
|
817
817
|
"reflects": true,
|
|
818
818
|
"inheritedFrom": {
|
|
819
819
|
"name": "TextfieldBase",
|
|
820
|
-
"module": "src/Textfield.
|
|
820
|
+
"module": "src/Textfield.js"
|
|
821
821
|
}
|
|
822
822
|
},
|
|
823
823
|
{
|
|
@@ -831,7 +831,7 @@
|
|
|
831
831
|
"reflects": true,
|
|
832
832
|
"inheritedFrom": {
|
|
833
833
|
"name": "TextfieldBase",
|
|
834
|
-
"module": "src/Textfield.
|
|
834
|
+
"module": "src/Textfield.js"
|
|
835
835
|
}
|
|
836
836
|
},
|
|
837
837
|
{
|
|
@@ -844,7 +844,7 @@
|
|
|
844
844
|
"readonly": true,
|
|
845
845
|
"inheritedFrom": {
|
|
846
846
|
"name": "TextfieldBase",
|
|
847
|
-
"module": "src/Textfield.
|
|
847
|
+
"module": "src/Textfield.js"
|
|
848
848
|
}
|
|
849
849
|
},
|
|
850
850
|
{
|
|
@@ -884,7 +884,7 @@
|
|
|
884
884
|
"description": "Sets the start and end positions of the current selection.",
|
|
885
885
|
"inheritedFrom": {
|
|
886
886
|
"name": "TextfieldBase",
|
|
887
|
-
"module": "src/Textfield.
|
|
887
|
+
"module": "src/Textfield.js"
|
|
888
888
|
}
|
|
889
889
|
},
|
|
890
890
|
{
|
|
@@ -899,7 +899,7 @@
|
|
|
899
899
|
"description": "Selects all the text.",
|
|
900
900
|
"inheritedFrom": {
|
|
901
901
|
"name": "TextfieldBase",
|
|
902
|
-
"module": "src/Textfield.
|
|
902
|
+
"module": "src/Textfield.js"
|
|
903
903
|
}
|
|
904
904
|
},
|
|
905
905
|
{
|
|
@@ -913,7 +913,7 @@
|
|
|
913
913
|
},
|
|
914
914
|
"inheritedFrom": {
|
|
915
915
|
"name": "TextfieldBase",
|
|
916
|
-
"module": "src/Textfield.
|
|
916
|
+
"module": "src/Textfield.js"
|
|
917
917
|
}
|
|
918
918
|
},
|
|
919
919
|
{
|
|
@@ -927,7 +927,7 @@
|
|
|
927
927
|
},
|
|
928
928
|
"inheritedFrom": {
|
|
929
929
|
"name": "TextfieldBase",
|
|
930
|
-
"module": "src/Textfield.
|
|
930
|
+
"module": "src/Textfield.js"
|
|
931
931
|
}
|
|
932
932
|
},
|
|
933
933
|
{
|
|
@@ -941,7 +941,7 @@
|
|
|
941
941
|
},
|
|
942
942
|
"inheritedFrom": {
|
|
943
943
|
"name": "TextfieldBase",
|
|
944
|
-
"module": "src/Textfield.
|
|
944
|
+
"module": "src/Textfield.js"
|
|
945
945
|
}
|
|
946
946
|
},
|
|
947
947
|
{
|
|
@@ -955,7 +955,7 @@
|
|
|
955
955
|
},
|
|
956
956
|
"inheritedFrom": {
|
|
957
957
|
"name": "TextfieldBase",
|
|
958
|
-
"module": "src/Textfield.
|
|
958
|
+
"module": "src/Textfield.js"
|
|
959
959
|
}
|
|
960
960
|
},
|
|
961
961
|
{
|
|
@@ -969,7 +969,7 @@
|
|
|
969
969
|
},
|
|
970
970
|
"inheritedFrom": {
|
|
971
971
|
"name": "TextfieldBase",
|
|
972
|
-
"module": "src/Textfield.
|
|
972
|
+
"module": "src/Textfield.js"
|
|
973
973
|
}
|
|
974
974
|
},
|
|
975
975
|
{
|
|
@@ -982,7 +982,7 @@
|
|
|
982
982
|
"readonly": true,
|
|
983
983
|
"inheritedFrom": {
|
|
984
984
|
"name": "TextfieldBase",
|
|
985
|
-
"module": "src/Textfield.
|
|
985
|
+
"module": "src/Textfield.js"
|
|
986
986
|
}
|
|
987
987
|
},
|
|
988
988
|
{
|
|
@@ -995,7 +995,7 @@
|
|
|
995
995
|
"readonly": true,
|
|
996
996
|
"inheritedFrom": {
|
|
997
997
|
"name": "TextfieldBase",
|
|
998
|
-
"module": "src/Textfield.
|
|
998
|
+
"module": "src/Textfield.js"
|
|
999
999
|
}
|
|
1000
1000
|
},
|
|
1001
1001
|
{
|
|
@@ -1008,7 +1008,7 @@
|
|
|
1008
1008
|
"readonly": true,
|
|
1009
1009
|
"inheritedFrom": {
|
|
1010
1010
|
"name": "TextfieldBase",
|
|
1011
|
-
"module": "src/Textfield.
|
|
1011
|
+
"module": "src/Textfield.js"
|
|
1012
1012
|
}
|
|
1013
1013
|
},
|
|
1014
1014
|
{
|
|
@@ -1022,7 +1022,7 @@
|
|
|
1022
1022
|
},
|
|
1023
1023
|
"inheritedFrom": {
|
|
1024
1024
|
"name": "TextfieldBase",
|
|
1025
|
-
"module": "src/Textfield.
|
|
1025
|
+
"module": "src/Textfield.js"
|
|
1026
1026
|
}
|
|
1027
1027
|
},
|
|
1028
1028
|
{
|
|
@@ -1036,7 +1036,7 @@
|
|
|
1036
1036
|
},
|
|
1037
1037
|
"inheritedFrom": {
|
|
1038
1038
|
"name": "TextfieldBase",
|
|
1039
|
-
"module": "src/Textfield.
|
|
1039
|
+
"module": "src/Textfield.js"
|
|
1040
1040
|
}
|
|
1041
1041
|
}
|
|
1042
1042
|
],
|
|
@@ -1278,7 +1278,7 @@
|
|
|
1278
1278
|
"name": "TextfieldBase",
|
|
1279
1279
|
"declaration": {
|
|
1280
1280
|
"name": "TextfieldBase",
|
|
1281
|
-
"module": "src/Textfield.
|
|
1281
|
+
"module": "src/Textfield.js"
|
|
1282
1282
|
}
|
|
1283
1283
|
},
|
|
1284
1284
|
{
|
|
@@ -1286,7 +1286,7 @@
|
|
|
1286
1286
|
"name": "Textfield",
|
|
1287
1287
|
"declaration": {
|
|
1288
1288
|
"name": "Textfield",
|
|
1289
|
-
"module": "src/Textfield.
|
|
1289
|
+
"module": "src/Textfield.js"
|
|
1290
1290
|
}
|
|
1291
1291
|
}
|
|
1292
1292
|
]
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@spectrum-web-components/textfield",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.32.0",
|
|
4
4
|
"publishConfig": {
|
|
5
5
|
"access": "public"
|
|
6
6
|
},
|
|
@@ -57,15 +57,15 @@
|
|
|
57
57
|
"lit-html"
|
|
58
58
|
],
|
|
59
59
|
"dependencies": {
|
|
60
|
-
"@spectrum-web-components/base": "^0.
|
|
61
|
-
"@spectrum-web-components/help-text": "^0.
|
|
62
|
-
"@spectrum-web-components/icon": "^0.
|
|
63
|
-
"@spectrum-web-components/icons-ui": "^0.
|
|
64
|
-
"@spectrum-web-components/icons-workflow": "^0.
|
|
65
|
-
"@spectrum-web-components/shared": "^0.
|
|
60
|
+
"@spectrum-web-components/base": "^0.32.0",
|
|
61
|
+
"@spectrum-web-components/help-text": "^0.32.0",
|
|
62
|
+
"@spectrum-web-components/icon": "^0.32.0",
|
|
63
|
+
"@spectrum-web-components/icons-ui": "^0.32.0",
|
|
64
|
+
"@spectrum-web-components/icons-workflow": "^0.32.0",
|
|
65
|
+
"@spectrum-web-components/shared": "^0.32.0"
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
|
-
"@spectrum-css/textfield": "^
|
|
68
|
+
"@spectrum-css/textfield": "^5.1.7"
|
|
69
69
|
},
|
|
70
70
|
"types": "./src/index.d.ts",
|
|
71
71
|
"customElements": "custom-elements.json",
|
|
@@ -73,5 +73,5 @@
|
|
|
73
73
|
"./sp-*.js",
|
|
74
74
|
"./**/*.dev.js"
|
|
75
75
|
],
|
|
76
|
-
"gitHead": "
|
|
76
|
+
"gitHead": "c5f67662ac54d0e37debaf7cbd7c2df60e8b294e"
|
|
77
77
|
}
|
package/src/spectrum-config.js
CHANGED
|
@@ -51,8 +51,13 @@ export default {
|
|
|
51
51
|
'spectrum-Textfield-icon',
|
|
52
52
|
'icon-workflow'
|
|
53
53
|
),
|
|
54
|
+
converter.classToClass('spectrum-Search-icon', 'icon-search'),
|
|
54
55
|
converter.classToAttribute('spectrum-Textfield--multiline'),
|
|
55
56
|
converter.classToAttribute('spectrum-Textfield--quiet'),
|
|
57
|
+
converter.classToAttribute(
|
|
58
|
+
'spectrum-Textfield--grows',
|
|
59
|
+
'grows'
|
|
60
|
+
),
|
|
56
61
|
converter.classToAttribute('is-focused', 'focused'),
|
|
57
62
|
converter.classToAttribute('is-keyboardFocused', 'focused'),
|
|
58
63
|
converter.classToAttribute('is-valid', 'valid'),
|