@spectrum-web-components/textfield 0.31.1-react.3 → 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.
@@ -4,13 +4,22 @@
4
4
  "modules": [
5
5
  {
6
6
  "kind": "javascript-module",
7
- "path": "sp-textfield.ts",
7
+ "path": "sp-textfield.js",
8
8
  "declarations": [],
9
- "exports": []
9
+ "exports": [
10
+ {
11
+ "kind": "custom-element-definition",
12
+ "name": "sp-textfield",
13
+ "declaration": {
14
+ "name": "Textfield",
15
+ "module": "/src/Textfield.js"
16
+ }
17
+ }
18
+ ]
10
19
  },
11
20
  {
12
21
  "kind": "javascript-module",
13
- "path": "src/Textfield.ts",
22
+ "path": "src/Textfield.js",
14
23
  "declarations": [
15
24
  {
16
25
  "kind": "class",
@@ -223,7 +232,8 @@
223
232
  "type": {
224
233
  "text": "HTMLInputElement | HTMLTextAreaElement"
225
234
  },
226
- "privacy": "public"
235
+ "privacy": "public",
236
+ "readonly": true
227
237
  },
228
238
  {
229
239
  "kind": "method",
@@ -328,7 +338,8 @@
328
338
  "type": {
329
339
  "text": "string"
330
340
  },
331
- "privacy": "protected"
341
+ "privacy": "protected",
342
+ "readonly": true
332
343
  },
333
344
  {
334
345
  "kind": "field",
@@ -336,7 +347,8 @@
336
347
  "type": {
337
348
  "text": "TemplateResult"
338
349
  },
339
- "privacy": "private"
350
+ "privacy": "private",
351
+ "readonly": true
340
352
  },
341
353
  {
342
354
  "kind": "field",
@@ -344,7 +356,8 @@
344
356
  "type": {
345
357
  "text": "TemplateResult"
346
358
  },
347
- "privacy": "private"
359
+ "privacy": "private",
360
+ "readonly": true
348
361
  },
349
362
  {
350
363
  "kind": "method",
@@ -551,7 +564,7 @@
551
564
  "attribute": "value",
552
565
  "inheritedFrom": {
553
566
  "name": "TextfieldBase",
554
- "module": "src/Textfield.ts"
567
+ "module": "src/Textfield.js"
555
568
  }
556
569
  },
557
570
  {
@@ -564,7 +577,7 @@
564
577
  "default": "''",
565
578
  "inheritedFrom": {
566
579
  "name": "TextfieldBase",
567
- "module": "src/Textfield.ts"
580
+ "module": "src/Textfield.js"
568
581
  }
569
582
  },
570
583
  {
@@ -577,7 +590,7 @@
577
590
  "attribute": "allowed-keys",
578
591
  "inheritedFrom": {
579
592
  "name": "TextfieldBase",
580
- "module": "src/Textfield.ts"
593
+ "module": "src/Textfield.js"
581
594
  }
582
595
  },
583
596
  {
@@ -592,7 +605,7 @@
592
605
  "reflects": true,
593
606
  "inheritedFrom": {
594
607
  "name": "TextfieldBase",
595
- "module": "src/Textfield.ts"
608
+ "module": "src/Textfield.js"
596
609
  }
597
610
  },
598
611
  {
@@ -604,7 +617,7 @@
604
617
  "privacy": "protected",
605
618
  "inheritedFrom": {
606
619
  "name": "TextfieldBase",
607
- "module": "src/Textfield.ts"
620
+ "module": "src/Textfield.js"
608
621
  }
609
622
  },
610
623
  {
@@ -619,7 +632,7 @@
619
632
  "reflects": true,
620
633
  "inheritedFrom": {
621
634
  "name": "TextfieldBase",
622
- "module": "src/Textfield.ts"
635
+ "module": "src/Textfield.js"
623
636
  }
624
637
  },
625
638
  {
@@ -633,7 +646,7 @@
633
646
  "attribute": "label",
634
647
  "inheritedFrom": {
635
648
  "name": "TextfieldBase",
636
- "module": "src/Textfield.ts"
649
+ "module": "src/Textfield.js"
637
650
  }
638
651
  },
639
652
  {
@@ -647,7 +660,7 @@
647
660
  "attribute": "placeholder",
648
661
  "inheritedFrom": {
649
662
  "name": "TextfieldBase",
650
- "module": "src/Textfield.ts"
663
+ "module": "src/Textfield.js"
651
664
  }
652
665
  },
653
666
  {
@@ -662,7 +675,7 @@
662
675
  "reflects": true,
663
676
  "inheritedFrom": {
664
677
  "name": "TextfieldBase",
665
- "module": "src/Textfield.ts"
678
+ "module": "src/Textfield.js"
666
679
  }
667
680
  },
668
681
  {
@@ -673,7 +686,7 @@
673
686
  },
674
687
  "inheritedFrom": {
675
688
  "name": "TextfieldBase",
676
- "module": "src/Textfield.ts"
689
+ "module": "src/Textfield.js"
677
690
  }
678
691
  },
679
692
  {
@@ -686,7 +699,7 @@
686
699
  "attribute": "pattern",
687
700
  "inheritedFrom": {
688
701
  "name": "TextfieldBase",
689
- "module": "src/Textfield.ts"
702
+ "module": "src/Textfield.js"
690
703
  }
691
704
  },
692
705
  {
@@ -701,7 +714,7 @@
701
714
  "reflects": true,
702
715
  "inheritedFrom": {
703
716
  "name": "TextfieldBase",
704
- "module": "src/Textfield.ts"
717
+ "module": "src/Textfield.js"
705
718
  }
706
719
  },
707
720
  {
@@ -715,7 +728,7 @@
715
728
  "attribute": "maxlength",
716
729
  "inheritedFrom": {
717
730
  "name": "TextfieldBase",
718
- "module": "src/Textfield.ts"
731
+ "module": "src/Textfield.js"
719
732
  }
720
733
  },
721
734
  {
@@ -729,7 +742,7 @@
729
742
  "attribute": "minlength",
730
743
  "inheritedFrom": {
731
744
  "name": "TextfieldBase",
732
- "module": "src/Textfield.ts"
745
+ "module": "src/Textfield.js"
733
746
  }
734
747
  },
735
748
  {
@@ -744,7 +757,7 @@
744
757
  "reflects": true,
745
758
  "inheritedFrom": {
746
759
  "name": "TextfieldBase",
747
- "module": "src/Textfield.ts"
760
+ "module": "src/Textfield.js"
748
761
  }
749
762
  },
750
763
  {
@@ -759,7 +772,7 @@
759
772
  "reflects": true,
760
773
  "inheritedFrom": {
761
774
  "name": "TextfieldBase",
762
- "module": "src/Textfield.ts"
775
+ "module": "src/Textfield.js"
763
776
  }
764
777
  },
765
778
  {
@@ -774,7 +787,7 @@
774
787
  "reflects": true,
775
788
  "inheritedFrom": {
776
789
  "name": "TextfieldBase",
777
- "module": "src/Textfield.ts"
790
+ "module": "src/Textfield.js"
778
791
  }
779
792
  },
780
793
  {
@@ -789,7 +802,7 @@
789
802
  "reflects": true,
790
803
  "inheritedFrom": {
791
804
  "name": "TextfieldBase",
792
- "module": "src/Textfield.ts"
805
+ "module": "src/Textfield.js"
793
806
  }
794
807
  },
795
808
  {
@@ -804,7 +817,7 @@
804
817
  "reflects": true,
805
818
  "inheritedFrom": {
806
819
  "name": "TextfieldBase",
807
- "module": "src/Textfield.ts"
820
+ "module": "src/Textfield.js"
808
821
  }
809
822
  },
810
823
  {
@@ -818,7 +831,7 @@
818
831
  "reflects": true,
819
832
  "inheritedFrom": {
820
833
  "name": "TextfieldBase",
821
- "module": "src/Textfield.ts"
834
+ "module": "src/Textfield.js"
822
835
  }
823
836
  },
824
837
  {
@@ -828,9 +841,10 @@
828
841
  "text": "HTMLInputElement | HTMLTextAreaElement"
829
842
  },
830
843
  "privacy": "public",
844
+ "readonly": true,
831
845
  "inheritedFrom": {
832
846
  "name": "TextfieldBase",
833
- "module": "src/Textfield.ts"
847
+ "module": "src/Textfield.js"
834
848
  }
835
849
  },
836
850
  {
@@ -870,7 +884,7 @@
870
884
  "description": "Sets the start and end positions of the current selection.",
871
885
  "inheritedFrom": {
872
886
  "name": "TextfieldBase",
873
- "module": "src/Textfield.ts"
887
+ "module": "src/Textfield.js"
874
888
  }
875
889
  },
876
890
  {
@@ -885,7 +899,7 @@
885
899
  "description": "Selects all the text.",
886
900
  "inheritedFrom": {
887
901
  "name": "TextfieldBase",
888
- "module": "src/Textfield.ts"
902
+ "module": "src/Textfield.js"
889
903
  }
890
904
  },
891
905
  {
@@ -899,7 +913,7 @@
899
913
  },
900
914
  "inheritedFrom": {
901
915
  "name": "TextfieldBase",
902
- "module": "src/Textfield.ts"
916
+ "module": "src/Textfield.js"
903
917
  }
904
918
  },
905
919
  {
@@ -913,7 +927,7 @@
913
927
  },
914
928
  "inheritedFrom": {
915
929
  "name": "TextfieldBase",
916
- "module": "src/Textfield.ts"
930
+ "module": "src/Textfield.js"
917
931
  }
918
932
  },
919
933
  {
@@ -927,7 +941,7 @@
927
941
  },
928
942
  "inheritedFrom": {
929
943
  "name": "TextfieldBase",
930
- "module": "src/Textfield.ts"
944
+ "module": "src/Textfield.js"
931
945
  }
932
946
  },
933
947
  {
@@ -941,7 +955,7 @@
941
955
  },
942
956
  "inheritedFrom": {
943
957
  "name": "TextfieldBase",
944
- "module": "src/Textfield.ts"
958
+ "module": "src/Textfield.js"
945
959
  }
946
960
  },
947
961
  {
@@ -955,7 +969,7 @@
955
969
  },
956
970
  "inheritedFrom": {
957
971
  "name": "TextfieldBase",
958
- "module": "src/Textfield.ts"
972
+ "module": "src/Textfield.js"
959
973
  }
960
974
  },
961
975
  {
@@ -965,9 +979,10 @@
965
979
  "text": "string"
966
980
  },
967
981
  "privacy": "protected",
982
+ "readonly": true,
968
983
  "inheritedFrom": {
969
984
  "name": "TextfieldBase",
970
- "module": "src/Textfield.ts"
985
+ "module": "src/Textfield.js"
971
986
  }
972
987
  },
973
988
  {
@@ -977,9 +992,10 @@
977
992
  "text": "TemplateResult"
978
993
  },
979
994
  "privacy": "private",
995
+ "readonly": true,
980
996
  "inheritedFrom": {
981
997
  "name": "TextfieldBase",
982
- "module": "src/Textfield.ts"
998
+ "module": "src/Textfield.js"
983
999
  }
984
1000
  },
985
1001
  {
@@ -989,9 +1005,10 @@
989
1005
  "text": "TemplateResult"
990
1006
  },
991
1007
  "privacy": "private",
1008
+ "readonly": true,
992
1009
  "inheritedFrom": {
993
1010
  "name": "TextfieldBase",
994
- "module": "src/Textfield.ts"
1011
+ "module": "src/Textfield.js"
995
1012
  }
996
1013
  },
997
1014
  {
@@ -1005,7 +1022,7 @@
1005
1022
  },
1006
1023
  "inheritedFrom": {
1007
1024
  "name": "TextfieldBase",
1008
- "module": "src/Textfield.ts"
1025
+ "module": "src/Textfield.js"
1009
1026
  }
1010
1027
  },
1011
1028
  {
@@ -1019,7 +1036,7 @@
1019
1036
  },
1020
1037
  "inheritedFrom": {
1021
1038
  "name": "TextfieldBase",
1022
- "module": "src/Textfield.ts"
1039
+ "module": "src/Textfield.js"
1023
1040
  }
1024
1041
  }
1025
1042
  ],
@@ -1261,7 +1278,7 @@
1261
1278
  "name": "TextfieldBase",
1262
1279
  "declaration": {
1263
1280
  "name": "TextfieldBase",
1264
- "module": "src/Textfield.ts"
1281
+ "module": "src/Textfield.js"
1265
1282
  }
1266
1283
  },
1267
1284
  {
@@ -1269,7 +1286,7 @@
1269
1286
  "name": "Textfield",
1270
1287
  "declaration": {
1271
1288
  "name": "Textfield",
1272
- "module": "src/Textfield.ts"
1289
+ "module": "src/Textfield.js"
1273
1290
  }
1274
1291
  }
1275
1292
  ]
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/textfield",
3
- "version": "0.31.1-react.3+886f51591",
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.31.1-react.3+886f51591",
61
- "@spectrum-web-components/help-text": "^0.31.1-react.3+886f51591",
62
- "@spectrum-web-components/icon": "^0.31.1-react.3+886f51591",
63
- "@spectrum-web-components/icons-ui": "^0.31.1-react.3+886f51591",
64
- "@spectrum-web-components/icons-workflow": "^0.31.1-react.3+886f51591",
65
- "@spectrum-web-components/shared": "^0.31.1-react.3+886f51591"
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": "^3.2.16"
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": "886f515919ca0e8a1cec52a00babb1d4a195ae01"
76
+ "gitHead": "c5f67662ac54d0e37debaf7cbd7c2df60e8b294e"
77
77
  }
@@ -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'),