@spectrum-web-components/textfield 0.31.1-overlay.29 → 0.31.1-react.3

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 +1278 -0
  2. package/package.json +8 -8
@@ -0,0 +1,1278 @@
1
+ {
2
+ "schemaVersion": "1.0.0",
3
+ "readme": "",
4
+ "modules": [
5
+ {
6
+ "kind": "javascript-module",
7
+ "path": "sp-textfield.ts",
8
+ "declarations": [],
9
+ "exports": []
10
+ },
11
+ {
12
+ "kind": "javascript-module",
13
+ "path": "src/Textfield.ts",
14
+ "declarations": [
15
+ {
16
+ "kind": "class",
17
+ "description": "",
18
+ "name": "TextfieldBase",
19
+ "members": [
20
+ {
21
+ "kind": "field",
22
+ "name": "allowedKeys",
23
+ "type": {
24
+ "text": "string"
25
+ },
26
+ "default": "''",
27
+ "attribute": "allowed-keys"
28
+ },
29
+ {
30
+ "kind": "field",
31
+ "name": "focused",
32
+ "type": {
33
+ "text": "boolean"
34
+ },
35
+ "privacy": "public",
36
+ "default": "false",
37
+ "attribute": "focused",
38
+ "reflects": true
39
+ },
40
+ {
41
+ "kind": "field",
42
+ "name": "inputElement",
43
+ "type": {
44
+ "text": "HTMLInputElement | HTMLTextAreaElement"
45
+ },
46
+ "privacy": "protected"
47
+ },
48
+ {
49
+ "kind": "field",
50
+ "name": "invalid",
51
+ "type": {
52
+ "text": "boolean"
53
+ },
54
+ "privacy": "public",
55
+ "default": "false",
56
+ "attribute": "invalid",
57
+ "reflects": true
58
+ },
59
+ {
60
+ "kind": "field",
61
+ "name": "label",
62
+ "type": {
63
+ "text": "string"
64
+ },
65
+ "privacy": "public",
66
+ "default": "''",
67
+ "attribute": "label"
68
+ },
69
+ {
70
+ "kind": "field",
71
+ "name": "placeholder",
72
+ "type": {
73
+ "text": "string"
74
+ },
75
+ "privacy": "public",
76
+ "default": "''",
77
+ "attribute": "placeholder"
78
+ },
79
+ {
80
+ "kind": "field",
81
+ "name": "_type",
82
+ "type": {
83
+ "text": "TextfieldType"
84
+ },
85
+ "privacy": "private",
86
+ "default": "'text'",
87
+ "attribute": "type",
88
+ "reflects": true
89
+ },
90
+ {
91
+ "kind": "field",
92
+ "name": "type",
93
+ "type": {
94
+ "text": "TextfieldType"
95
+ }
96
+ },
97
+ {
98
+ "kind": "field",
99
+ "name": "pattern",
100
+ "type": {
101
+ "text": "string | undefined"
102
+ },
103
+ "privacy": "public",
104
+ "attribute": "pattern"
105
+ },
106
+ {
107
+ "kind": "field",
108
+ "name": "grows",
109
+ "type": {
110
+ "text": "boolean"
111
+ },
112
+ "privacy": "public",
113
+ "default": "false",
114
+ "attribute": "grows",
115
+ "reflects": true
116
+ },
117
+ {
118
+ "kind": "field",
119
+ "name": "maxlength",
120
+ "type": {
121
+ "text": "number"
122
+ },
123
+ "privacy": "public",
124
+ "default": "-1",
125
+ "attribute": "maxlength"
126
+ },
127
+ {
128
+ "kind": "field",
129
+ "name": "minlength",
130
+ "type": {
131
+ "text": "number"
132
+ },
133
+ "privacy": "public",
134
+ "default": "-1",
135
+ "attribute": "minlength"
136
+ },
137
+ {
138
+ "kind": "field",
139
+ "name": "multiline",
140
+ "type": {
141
+ "text": "boolean"
142
+ },
143
+ "privacy": "public",
144
+ "default": "false",
145
+ "attribute": "multiline",
146
+ "reflects": true
147
+ },
148
+ {
149
+ "kind": "field",
150
+ "name": "readonly",
151
+ "type": {
152
+ "text": "boolean"
153
+ },
154
+ "privacy": "public",
155
+ "default": "false",
156
+ "attribute": "readonly",
157
+ "reflects": true
158
+ },
159
+ {
160
+ "kind": "field",
161
+ "name": "valid",
162
+ "type": {
163
+ "text": "boolean"
164
+ },
165
+ "privacy": "public",
166
+ "default": "false",
167
+ "attribute": "valid",
168
+ "reflects": true
169
+ },
170
+ {
171
+ "kind": "field",
172
+ "name": "value",
173
+ "privacy": "public",
174
+ "type": {
175
+ "text": "string | number"
176
+ },
177
+ "attribute": "value"
178
+ },
179
+ {
180
+ "kind": "field",
181
+ "name": "_value",
182
+ "type": {
183
+ "text": "string | number"
184
+ },
185
+ "privacy": "protected",
186
+ "default": "''"
187
+ },
188
+ {
189
+ "kind": "field",
190
+ "name": "quiet",
191
+ "type": {
192
+ "text": "boolean"
193
+ },
194
+ "privacy": "public",
195
+ "default": "false",
196
+ "attribute": "quiet",
197
+ "reflects": true
198
+ },
199
+ {
200
+ "kind": "field",
201
+ "name": "required",
202
+ "type": {
203
+ "text": "boolean"
204
+ },
205
+ "privacy": "public",
206
+ "default": "false",
207
+ "attribute": "required",
208
+ "reflects": true
209
+ },
210
+ {
211
+ "kind": "field",
212
+ "name": "autocomplete",
213
+ "type": {
214
+ "text": "| HTMLInputElement['autocomplete']\n | HTMLTextAreaElement['autocomplete'] | undefined"
215
+ },
216
+ "privacy": "public",
217
+ "attribute": "autocomplete",
218
+ "reflects": true
219
+ },
220
+ {
221
+ "kind": "field",
222
+ "name": "focusElement",
223
+ "type": {
224
+ "text": "HTMLInputElement | HTMLTextAreaElement"
225
+ },
226
+ "privacy": "public"
227
+ },
228
+ {
229
+ "kind": "method",
230
+ "name": "setSelectionRange",
231
+ "privacy": "public",
232
+ "return": {
233
+ "type": {
234
+ "text": "void"
235
+ }
236
+ },
237
+ "parameters": [
238
+ {
239
+ "name": "selectionStart",
240
+ "type": {
241
+ "text": "number"
242
+ },
243
+ "description": "The 0-based index of the first selected character. An index greater than the length of the\nelement's value is treated as pointing to the end of the value."
244
+ },
245
+ {
246
+ "name": "selectionEnd",
247
+ "type": {
248
+ "text": "number"
249
+ },
250
+ "description": "The 0-based index of the character after the last selected character. An index greater than\nthe length of the element's value is treated as pointing to the end of the value."
251
+ },
252
+ {
253
+ "name": "selectionDirection",
254
+ "default": "'none'",
255
+ "type": {
256
+ "text": "'forward' | 'backward' | 'none'"
257
+ },
258
+ "description": "A string indicating the direction in which the selection is considered to\nhave been performed.",
259
+ "optional": true
260
+ }
261
+ ],
262
+ "description": "Sets the start and end positions of the current selection."
263
+ },
264
+ {
265
+ "kind": "method",
266
+ "name": "select",
267
+ "privacy": "public",
268
+ "return": {
269
+ "type": {
270
+ "text": "void"
271
+ }
272
+ },
273
+ "description": "Selects all the text."
274
+ },
275
+ {
276
+ "kind": "method",
277
+ "name": "handleInput",
278
+ "privacy": "protected",
279
+ "return": {
280
+ "type": {
281
+ "text": "void"
282
+ }
283
+ }
284
+ },
285
+ {
286
+ "kind": "method",
287
+ "name": "handleChange",
288
+ "privacy": "protected",
289
+ "return": {
290
+ "type": {
291
+ "text": "void"
292
+ }
293
+ }
294
+ },
295
+ {
296
+ "kind": "method",
297
+ "name": "onFocus",
298
+ "privacy": "protected",
299
+ "return": {
300
+ "type": {
301
+ "text": "void"
302
+ }
303
+ }
304
+ },
305
+ {
306
+ "kind": "method",
307
+ "name": "onBlur",
308
+ "privacy": "protected",
309
+ "return": {
310
+ "type": {
311
+ "text": "void"
312
+ }
313
+ }
314
+ },
315
+ {
316
+ "kind": "method",
317
+ "name": "renderStateIcons",
318
+ "privacy": "protected",
319
+ "return": {
320
+ "type": {
321
+ "text": "TemplateResult | typeof nothing"
322
+ }
323
+ }
324
+ },
325
+ {
326
+ "kind": "field",
327
+ "name": "displayValue",
328
+ "type": {
329
+ "text": "string"
330
+ },
331
+ "privacy": "protected"
332
+ },
333
+ {
334
+ "kind": "field",
335
+ "name": "renderMultiline",
336
+ "type": {
337
+ "text": "TemplateResult"
338
+ },
339
+ "privacy": "private"
340
+ },
341
+ {
342
+ "kind": "field",
343
+ "name": "renderInput",
344
+ "type": {
345
+ "text": "TemplateResult"
346
+ },
347
+ "privacy": "private"
348
+ },
349
+ {
350
+ "kind": "method",
351
+ "name": "renderField",
352
+ "privacy": "protected",
353
+ "return": {
354
+ "type": {
355
+ "text": "TemplateResult"
356
+ }
357
+ }
358
+ },
359
+ {
360
+ "kind": "method",
361
+ "name": "checkValidity",
362
+ "privacy": "public",
363
+ "return": {
364
+ "type": {
365
+ "text": "boolean"
366
+ }
367
+ }
368
+ }
369
+ ],
370
+ "events": [
371
+ {
372
+ "name": "change",
373
+ "type": {
374
+ "text": "Event"
375
+ },
376
+ "description": "An alteration to the value of the element has been committed by the user."
377
+ },
378
+ {
379
+ "description": "The value of the element has changed.",
380
+ "name": "input"
381
+ }
382
+ ],
383
+ "attributes": [
384
+ {
385
+ "name": "allowed-keys",
386
+ "type": {
387
+ "text": "string"
388
+ },
389
+ "default": "''",
390
+ "fieldName": "allowedKeys"
391
+ },
392
+ {
393
+ "name": "focused",
394
+ "type": {
395
+ "text": "boolean"
396
+ },
397
+ "default": "false",
398
+ "fieldName": "focused"
399
+ },
400
+ {
401
+ "name": "invalid",
402
+ "type": {
403
+ "text": "boolean"
404
+ },
405
+ "default": "false",
406
+ "fieldName": "invalid"
407
+ },
408
+ {
409
+ "name": "label",
410
+ "type": {
411
+ "text": "string"
412
+ },
413
+ "default": "''",
414
+ "fieldName": "label"
415
+ },
416
+ {
417
+ "name": "placeholder",
418
+ "type": {
419
+ "text": "string"
420
+ },
421
+ "default": "''",
422
+ "fieldName": "placeholder"
423
+ },
424
+ {
425
+ "name": "type",
426
+ "type": {
427
+ "text": "TextfieldType"
428
+ },
429
+ "default": "'text'",
430
+ "fieldName": "_type"
431
+ },
432
+ {
433
+ "name": "pattern",
434
+ "type": {
435
+ "text": "string | undefined"
436
+ },
437
+ "fieldName": "pattern"
438
+ },
439
+ {
440
+ "name": "grows",
441
+ "type": {
442
+ "text": "boolean"
443
+ },
444
+ "default": "false",
445
+ "fieldName": "grows"
446
+ },
447
+ {
448
+ "name": "maxlength",
449
+ "type": {
450
+ "text": "number"
451
+ },
452
+ "default": "-1",
453
+ "fieldName": "maxlength"
454
+ },
455
+ {
456
+ "name": "minlength",
457
+ "type": {
458
+ "text": "number"
459
+ },
460
+ "default": "-1",
461
+ "fieldName": "minlength"
462
+ },
463
+ {
464
+ "name": "multiline",
465
+ "type": {
466
+ "text": "boolean"
467
+ },
468
+ "default": "false",
469
+ "fieldName": "multiline"
470
+ },
471
+ {
472
+ "name": "readonly",
473
+ "type": {
474
+ "text": "boolean"
475
+ },
476
+ "default": "false",
477
+ "fieldName": "readonly"
478
+ },
479
+ {
480
+ "name": "valid",
481
+ "type": {
482
+ "text": "boolean"
483
+ },
484
+ "default": "false",
485
+ "fieldName": "valid"
486
+ },
487
+ {
488
+ "name": "value",
489
+ "type": {
490
+ "text": "string | number"
491
+ },
492
+ "fieldName": "value"
493
+ },
494
+ {
495
+ "name": "quiet",
496
+ "type": {
497
+ "text": "boolean"
498
+ },
499
+ "default": "false",
500
+ "fieldName": "quiet"
501
+ },
502
+ {
503
+ "name": "required",
504
+ "type": {
505
+ "text": "boolean"
506
+ },
507
+ "default": "false",
508
+ "fieldName": "required"
509
+ },
510
+ {
511
+ "name": "autocomplete",
512
+ "type": {
513
+ "text": "| HTMLInputElement['autocomplete']\n | HTMLTextAreaElement['autocomplete'] | undefined"
514
+ },
515
+ "fieldName": "autocomplete"
516
+ }
517
+ ],
518
+ "mixins": [
519
+ {
520
+ "name": "ManageHelpText",
521
+ "package": "@spectrum-web-components/help-text/src/manage-help-text.js"
522
+ }
523
+ ],
524
+ "superclass": {
525
+ "name": "Focusable",
526
+ "package": "@spectrum-web-components/shared/src/focusable.js"
527
+ }
528
+ },
529
+ {
530
+ "kind": "class",
531
+ "description": "",
532
+ "name": "Textfield",
533
+ "slots": [
534
+ {
535
+ "description": "default or non-negative help text to associate to your form element",
536
+ "name": "help-text"
537
+ },
538
+ {
539
+ "description": "negative help text to associate to your form element when `invalid`",
540
+ "name": "negative-help-text"
541
+ }
542
+ ],
543
+ "members": [
544
+ {
545
+ "kind": "field",
546
+ "name": "value",
547
+ "privacy": "public",
548
+ "type": {
549
+ "text": "string | number"
550
+ },
551
+ "attribute": "value",
552
+ "inheritedFrom": {
553
+ "name": "TextfieldBase",
554
+ "module": "src/Textfield.ts"
555
+ }
556
+ },
557
+ {
558
+ "kind": "field",
559
+ "name": "_value",
560
+ "type": {
561
+ "text": "string | number"
562
+ },
563
+ "privacy": "protected",
564
+ "default": "''",
565
+ "inheritedFrom": {
566
+ "name": "TextfieldBase",
567
+ "module": "src/Textfield.ts"
568
+ }
569
+ },
570
+ {
571
+ "kind": "field",
572
+ "name": "allowedKeys",
573
+ "type": {
574
+ "text": "string"
575
+ },
576
+ "default": "''",
577
+ "attribute": "allowed-keys",
578
+ "inheritedFrom": {
579
+ "name": "TextfieldBase",
580
+ "module": "src/Textfield.ts"
581
+ }
582
+ },
583
+ {
584
+ "kind": "field",
585
+ "name": "focused",
586
+ "type": {
587
+ "text": "boolean"
588
+ },
589
+ "privacy": "public",
590
+ "default": "false",
591
+ "attribute": "focused",
592
+ "reflects": true,
593
+ "inheritedFrom": {
594
+ "name": "TextfieldBase",
595
+ "module": "src/Textfield.ts"
596
+ }
597
+ },
598
+ {
599
+ "kind": "field",
600
+ "name": "inputElement",
601
+ "type": {
602
+ "text": "HTMLInputElement | HTMLTextAreaElement"
603
+ },
604
+ "privacy": "protected",
605
+ "inheritedFrom": {
606
+ "name": "TextfieldBase",
607
+ "module": "src/Textfield.ts"
608
+ }
609
+ },
610
+ {
611
+ "kind": "field",
612
+ "name": "invalid",
613
+ "type": {
614
+ "text": "boolean"
615
+ },
616
+ "privacy": "public",
617
+ "default": "false",
618
+ "attribute": "invalid",
619
+ "reflects": true,
620
+ "inheritedFrom": {
621
+ "name": "TextfieldBase",
622
+ "module": "src/Textfield.ts"
623
+ }
624
+ },
625
+ {
626
+ "kind": "field",
627
+ "name": "label",
628
+ "type": {
629
+ "text": "string"
630
+ },
631
+ "privacy": "public",
632
+ "default": "''",
633
+ "attribute": "label",
634
+ "inheritedFrom": {
635
+ "name": "TextfieldBase",
636
+ "module": "src/Textfield.ts"
637
+ }
638
+ },
639
+ {
640
+ "kind": "field",
641
+ "name": "placeholder",
642
+ "type": {
643
+ "text": "string"
644
+ },
645
+ "privacy": "public",
646
+ "default": "''",
647
+ "attribute": "placeholder",
648
+ "inheritedFrom": {
649
+ "name": "TextfieldBase",
650
+ "module": "src/Textfield.ts"
651
+ }
652
+ },
653
+ {
654
+ "kind": "field",
655
+ "name": "_type",
656
+ "type": {
657
+ "text": "TextfieldType"
658
+ },
659
+ "privacy": "private",
660
+ "default": "'text'",
661
+ "attribute": "type",
662
+ "reflects": true,
663
+ "inheritedFrom": {
664
+ "name": "TextfieldBase",
665
+ "module": "src/Textfield.ts"
666
+ }
667
+ },
668
+ {
669
+ "kind": "field",
670
+ "name": "type",
671
+ "type": {
672
+ "text": "TextfieldType"
673
+ },
674
+ "inheritedFrom": {
675
+ "name": "TextfieldBase",
676
+ "module": "src/Textfield.ts"
677
+ }
678
+ },
679
+ {
680
+ "kind": "field",
681
+ "name": "pattern",
682
+ "type": {
683
+ "text": "string | undefined"
684
+ },
685
+ "privacy": "public",
686
+ "attribute": "pattern",
687
+ "inheritedFrom": {
688
+ "name": "TextfieldBase",
689
+ "module": "src/Textfield.ts"
690
+ }
691
+ },
692
+ {
693
+ "kind": "field",
694
+ "name": "grows",
695
+ "type": {
696
+ "text": "boolean"
697
+ },
698
+ "privacy": "public",
699
+ "default": "false",
700
+ "attribute": "grows",
701
+ "reflects": true,
702
+ "inheritedFrom": {
703
+ "name": "TextfieldBase",
704
+ "module": "src/Textfield.ts"
705
+ }
706
+ },
707
+ {
708
+ "kind": "field",
709
+ "name": "maxlength",
710
+ "type": {
711
+ "text": "number"
712
+ },
713
+ "privacy": "public",
714
+ "default": "-1",
715
+ "attribute": "maxlength",
716
+ "inheritedFrom": {
717
+ "name": "TextfieldBase",
718
+ "module": "src/Textfield.ts"
719
+ }
720
+ },
721
+ {
722
+ "kind": "field",
723
+ "name": "minlength",
724
+ "type": {
725
+ "text": "number"
726
+ },
727
+ "privacy": "public",
728
+ "default": "-1",
729
+ "attribute": "minlength",
730
+ "inheritedFrom": {
731
+ "name": "TextfieldBase",
732
+ "module": "src/Textfield.ts"
733
+ }
734
+ },
735
+ {
736
+ "kind": "field",
737
+ "name": "multiline",
738
+ "type": {
739
+ "text": "boolean"
740
+ },
741
+ "privacy": "public",
742
+ "default": "false",
743
+ "attribute": "multiline",
744
+ "reflects": true,
745
+ "inheritedFrom": {
746
+ "name": "TextfieldBase",
747
+ "module": "src/Textfield.ts"
748
+ }
749
+ },
750
+ {
751
+ "kind": "field",
752
+ "name": "readonly",
753
+ "type": {
754
+ "text": "boolean"
755
+ },
756
+ "privacy": "public",
757
+ "default": "false",
758
+ "attribute": "readonly",
759
+ "reflects": true,
760
+ "inheritedFrom": {
761
+ "name": "TextfieldBase",
762
+ "module": "src/Textfield.ts"
763
+ }
764
+ },
765
+ {
766
+ "kind": "field",
767
+ "name": "valid",
768
+ "type": {
769
+ "text": "boolean"
770
+ },
771
+ "privacy": "public",
772
+ "default": "false",
773
+ "attribute": "valid",
774
+ "reflects": true,
775
+ "inheritedFrom": {
776
+ "name": "TextfieldBase",
777
+ "module": "src/Textfield.ts"
778
+ }
779
+ },
780
+ {
781
+ "kind": "field",
782
+ "name": "quiet",
783
+ "type": {
784
+ "text": "boolean"
785
+ },
786
+ "privacy": "public",
787
+ "default": "false",
788
+ "attribute": "quiet",
789
+ "reflects": true,
790
+ "inheritedFrom": {
791
+ "name": "TextfieldBase",
792
+ "module": "src/Textfield.ts"
793
+ }
794
+ },
795
+ {
796
+ "kind": "field",
797
+ "name": "required",
798
+ "type": {
799
+ "text": "boolean"
800
+ },
801
+ "privacy": "public",
802
+ "default": "false",
803
+ "attribute": "required",
804
+ "reflects": true,
805
+ "inheritedFrom": {
806
+ "name": "TextfieldBase",
807
+ "module": "src/Textfield.ts"
808
+ }
809
+ },
810
+ {
811
+ "kind": "field",
812
+ "name": "autocomplete",
813
+ "type": {
814
+ "text": "| HTMLInputElement['autocomplete']\n | HTMLTextAreaElement['autocomplete'] | undefined"
815
+ },
816
+ "privacy": "public",
817
+ "attribute": "autocomplete",
818
+ "reflects": true,
819
+ "inheritedFrom": {
820
+ "name": "TextfieldBase",
821
+ "module": "src/Textfield.ts"
822
+ }
823
+ },
824
+ {
825
+ "kind": "field",
826
+ "name": "focusElement",
827
+ "type": {
828
+ "text": "HTMLInputElement | HTMLTextAreaElement"
829
+ },
830
+ "privacy": "public",
831
+ "inheritedFrom": {
832
+ "name": "TextfieldBase",
833
+ "module": "src/Textfield.ts"
834
+ }
835
+ },
836
+ {
837
+ "kind": "method",
838
+ "name": "setSelectionRange",
839
+ "privacy": "public",
840
+ "return": {
841
+ "type": {
842
+ "text": "void"
843
+ }
844
+ },
845
+ "parameters": [
846
+ {
847
+ "name": "selectionStart",
848
+ "type": {
849
+ "text": "number"
850
+ },
851
+ "description": "The 0-based index of the first selected character. An index greater than the length of the\nelement's value is treated as pointing to the end of the value."
852
+ },
853
+ {
854
+ "name": "selectionEnd",
855
+ "type": {
856
+ "text": "number"
857
+ },
858
+ "description": "The 0-based index of the character after the last selected character. An index greater than\nthe length of the element's value is treated as pointing to the end of the value."
859
+ },
860
+ {
861
+ "name": "selectionDirection",
862
+ "default": "'none'",
863
+ "type": {
864
+ "text": "'forward' | 'backward' | 'none'"
865
+ },
866
+ "description": "A string indicating the direction in which the selection is considered to\nhave been performed.",
867
+ "optional": true
868
+ }
869
+ ],
870
+ "description": "Sets the start and end positions of the current selection.",
871
+ "inheritedFrom": {
872
+ "name": "TextfieldBase",
873
+ "module": "src/Textfield.ts"
874
+ }
875
+ },
876
+ {
877
+ "kind": "method",
878
+ "name": "select",
879
+ "privacy": "public",
880
+ "return": {
881
+ "type": {
882
+ "text": "void"
883
+ }
884
+ },
885
+ "description": "Selects all the text.",
886
+ "inheritedFrom": {
887
+ "name": "TextfieldBase",
888
+ "module": "src/Textfield.ts"
889
+ }
890
+ },
891
+ {
892
+ "kind": "method",
893
+ "name": "handleInput",
894
+ "privacy": "protected",
895
+ "return": {
896
+ "type": {
897
+ "text": "void"
898
+ }
899
+ },
900
+ "inheritedFrom": {
901
+ "name": "TextfieldBase",
902
+ "module": "src/Textfield.ts"
903
+ }
904
+ },
905
+ {
906
+ "kind": "method",
907
+ "name": "handleChange",
908
+ "privacy": "protected",
909
+ "return": {
910
+ "type": {
911
+ "text": "void"
912
+ }
913
+ },
914
+ "inheritedFrom": {
915
+ "name": "TextfieldBase",
916
+ "module": "src/Textfield.ts"
917
+ }
918
+ },
919
+ {
920
+ "kind": "method",
921
+ "name": "onFocus",
922
+ "privacy": "protected",
923
+ "return": {
924
+ "type": {
925
+ "text": "void"
926
+ }
927
+ },
928
+ "inheritedFrom": {
929
+ "name": "TextfieldBase",
930
+ "module": "src/Textfield.ts"
931
+ }
932
+ },
933
+ {
934
+ "kind": "method",
935
+ "name": "onBlur",
936
+ "privacy": "protected",
937
+ "return": {
938
+ "type": {
939
+ "text": "void"
940
+ }
941
+ },
942
+ "inheritedFrom": {
943
+ "name": "TextfieldBase",
944
+ "module": "src/Textfield.ts"
945
+ }
946
+ },
947
+ {
948
+ "kind": "method",
949
+ "name": "renderStateIcons",
950
+ "privacy": "protected",
951
+ "return": {
952
+ "type": {
953
+ "text": "TemplateResult | typeof nothing"
954
+ }
955
+ },
956
+ "inheritedFrom": {
957
+ "name": "TextfieldBase",
958
+ "module": "src/Textfield.ts"
959
+ }
960
+ },
961
+ {
962
+ "kind": "field",
963
+ "name": "displayValue",
964
+ "type": {
965
+ "text": "string"
966
+ },
967
+ "privacy": "protected",
968
+ "inheritedFrom": {
969
+ "name": "TextfieldBase",
970
+ "module": "src/Textfield.ts"
971
+ }
972
+ },
973
+ {
974
+ "kind": "field",
975
+ "name": "renderMultiline",
976
+ "type": {
977
+ "text": "TemplateResult"
978
+ },
979
+ "privacy": "private",
980
+ "inheritedFrom": {
981
+ "name": "TextfieldBase",
982
+ "module": "src/Textfield.ts"
983
+ }
984
+ },
985
+ {
986
+ "kind": "field",
987
+ "name": "renderInput",
988
+ "type": {
989
+ "text": "TemplateResult"
990
+ },
991
+ "privacy": "private",
992
+ "inheritedFrom": {
993
+ "name": "TextfieldBase",
994
+ "module": "src/Textfield.ts"
995
+ }
996
+ },
997
+ {
998
+ "kind": "method",
999
+ "name": "renderField",
1000
+ "privacy": "protected",
1001
+ "return": {
1002
+ "type": {
1003
+ "text": "TemplateResult"
1004
+ }
1005
+ },
1006
+ "inheritedFrom": {
1007
+ "name": "TextfieldBase",
1008
+ "module": "src/Textfield.ts"
1009
+ }
1010
+ },
1011
+ {
1012
+ "kind": "method",
1013
+ "name": "checkValidity",
1014
+ "privacy": "public",
1015
+ "return": {
1016
+ "type": {
1017
+ "text": "boolean"
1018
+ }
1019
+ },
1020
+ "inheritedFrom": {
1021
+ "name": "TextfieldBase",
1022
+ "module": "src/Textfield.ts"
1023
+ }
1024
+ }
1025
+ ],
1026
+ "attributes": [
1027
+ {
1028
+ "name": "value",
1029
+ "type": {
1030
+ "text": "string | number"
1031
+ },
1032
+ "fieldName": "value",
1033
+ "inheritedFrom": {
1034
+ "name": "TextfieldBase",
1035
+ "module": "src/Textfield.ts"
1036
+ }
1037
+ },
1038
+ {
1039
+ "name": "allowed-keys",
1040
+ "type": {
1041
+ "text": "string"
1042
+ },
1043
+ "default": "''",
1044
+ "fieldName": "allowedKeys",
1045
+ "inheritedFrom": {
1046
+ "name": "TextfieldBase",
1047
+ "module": "src/Textfield.ts"
1048
+ }
1049
+ },
1050
+ {
1051
+ "name": "focused",
1052
+ "type": {
1053
+ "text": "boolean"
1054
+ },
1055
+ "default": "false",
1056
+ "fieldName": "focused",
1057
+ "inheritedFrom": {
1058
+ "name": "TextfieldBase",
1059
+ "module": "src/Textfield.ts"
1060
+ }
1061
+ },
1062
+ {
1063
+ "name": "invalid",
1064
+ "type": {
1065
+ "text": "boolean"
1066
+ },
1067
+ "default": "false",
1068
+ "fieldName": "invalid",
1069
+ "inheritedFrom": {
1070
+ "name": "TextfieldBase",
1071
+ "module": "src/Textfield.ts"
1072
+ }
1073
+ },
1074
+ {
1075
+ "name": "label",
1076
+ "type": {
1077
+ "text": "string"
1078
+ },
1079
+ "default": "''",
1080
+ "fieldName": "label",
1081
+ "inheritedFrom": {
1082
+ "name": "TextfieldBase",
1083
+ "module": "src/Textfield.ts"
1084
+ }
1085
+ },
1086
+ {
1087
+ "name": "placeholder",
1088
+ "type": {
1089
+ "text": "string"
1090
+ },
1091
+ "default": "''",
1092
+ "fieldName": "placeholder",
1093
+ "inheritedFrom": {
1094
+ "name": "TextfieldBase",
1095
+ "module": "src/Textfield.ts"
1096
+ }
1097
+ },
1098
+ {
1099
+ "name": "type",
1100
+ "type": {
1101
+ "text": "TextfieldType"
1102
+ },
1103
+ "default": "'text'",
1104
+ "fieldName": "_type",
1105
+ "inheritedFrom": {
1106
+ "name": "TextfieldBase",
1107
+ "module": "src/Textfield.ts"
1108
+ }
1109
+ },
1110
+ {
1111
+ "name": "pattern",
1112
+ "type": {
1113
+ "text": "string | undefined"
1114
+ },
1115
+ "fieldName": "pattern",
1116
+ "inheritedFrom": {
1117
+ "name": "TextfieldBase",
1118
+ "module": "src/Textfield.ts"
1119
+ }
1120
+ },
1121
+ {
1122
+ "name": "grows",
1123
+ "type": {
1124
+ "text": "boolean"
1125
+ },
1126
+ "default": "false",
1127
+ "fieldName": "grows",
1128
+ "inheritedFrom": {
1129
+ "name": "TextfieldBase",
1130
+ "module": "src/Textfield.ts"
1131
+ }
1132
+ },
1133
+ {
1134
+ "name": "maxlength",
1135
+ "type": {
1136
+ "text": "number"
1137
+ },
1138
+ "default": "-1",
1139
+ "fieldName": "maxlength",
1140
+ "inheritedFrom": {
1141
+ "name": "TextfieldBase",
1142
+ "module": "src/Textfield.ts"
1143
+ }
1144
+ },
1145
+ {
1146
+ "name": "minlength",
1147
+ "type": {
1148
+ "text": "number"
1149
+ },
1150
+ "default": "-1",
1151
+ "fieldName": "minlength",
1152
+ "inheritedFrom": {
1153
+ "name": "TextfieldBase",
1154
+ "module": "src/Textfield.ts"
1155
+ }
1156
+ },
1157
+ {
1158
+ "name": "multiline",
1159
+ "type": {
1160
+ "text": "boolean"
1161
+ },
1162
+ "default": "false",
1163
+ "fieldName": "multiline",
1164
+ "inheritedFrom": {
1165
+ "name": "TextfieldBase",
1166
+ "module": "src/Textfield.ts"
1167
+ }
1168
+ },
1169
+ {
1170
+ "name": "readonly",
1171
+ "type": {
1172
+ "text": "boolean"
1173
+ },
1174
+ "default": "false",
1175
+ "fieldName": "readonly",
1176
+ "inheritedFrom": {
1177
+ "name": "TextfieldBase",
1178
+ "module": "src/Textfield.ts"
1179
+ }
1180
+ },
1181
+ {
1182
+ "name": "valid",
1183
+ "type": {
1184
+ "text": "boolean"
1185
+ },
1186
+ "default": "false",
1187
+ "fieldName": "valid",
1188
+ "inheritedFrom": {
1189
+ "name": "TextfieldBase",
1190
+ "module": "src/Textfield.ts"
1191
+ }
1192
+ },
1193
+ {
1194
+ "name": "quiet",
1195
+ "type": {
1196
+ "text": "boolean"
1197
+ },
1198
+ "default": "false",
1199
+ "fieldName": "quiet",
1200
+ "inheritedFrom": {
1201
+ "name": "TextfieldBase",
1202
+ "module": "src/Textfield.ts"
1203
+ }
1204
+ },
1205
+ {
1206
+ "name": "required",
1207
+ "type": {
1208
+ "text": "boolean"
1209
+ },
1210
+ "default": "false",
1211
+ "fieldName": "required",
1212
+ "inheritedFrom": {
1213
+ "name": "TextfieldBase",
1214
+ "module": "src/Textfield.ts"
1215
+ }
1216
+ },
1217
+ {
1218
+ "name": "autocomplete",
1219
+ "type": {
1220
+ "text": "| HTMLInputElement['autocomplete']\n | HTMLTextAreaElement['autocomplete'] | undefined"
1221
+ },
1222
+ "fieldName": "autocomplete",
1223
+ "inheritedFrom": {
1224
+ "name": "TextfieldBase",
1225
+ "module": "src/Textfield.ts"
1226
+ }
1227
+ }
1228
+ ],
1229
+ "superclass": {
1230
+ "name": "TextfieldBase",
1231
+ "module": "src/Textfield.ts"
1232
+ },
1233
+ "tagName": "sp-textfield",
1234
+ "customElement": true,
1235
+ "events": [
1236
+ {
1237
+ "name": "change",
1238
+ "type": {
1239
+ "text": "Event"
1240
+ },
1241
+ "description": "An alteration to the value of the element has been committed by the user.",
1242
+ "inheritedFrom": {
1243
+ "name": "TextfieldBase",
1244
+ "module": "src/Textfield.ts"
1245
+ }
1246
+ },
1247
+ {
1248
+ "description": "The value of the element has changed.",
1249
+ "name": "input",
1250
+ "inheritedFrom": {
1251
+ "name": "TextfieldBase",
1252
+ "module": "src/Textfield.ts"
1253
+ }
1254
+ }
1255
+ ]
1256
+ }
1257
+ ],
1258
+ "exports": [
1259
+ {
1260
+ "kind": "js",
1261
+ "name": "TextfieldBase",
1262
+ "declaration": {
1263
+ "name": "TextfieldBase",
1264
+ "module": "src/Textfield.ts"
1265
+ }
1266
+ },
1267
+ {
1268
+ "kind": "js",
1269
+ "name": "Textfield",
1270
+ "declaration": {
1271
+ "name": "Textfield",
1272
+ "module": "src/Textfield.ts"
1273
+ }
1274
+ }
1275
+ ]
1276
+ }
1277
+ ]
1278
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spectrum-web-components/textfield",
3
- "version": "0.31.1-overlay.29+93d3f11dd",
3
+ "version": "0.31.1-react.3+886f51591",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -57,12 +57,12 @@
57
57
  "lit-html"
58
58
  ],
59
59
  "dependencies": {
60
- "@spectrum-web-components/base": "^0.31.1-overlay.29+93d3f11dd",
61
- "@spectrum-web-components/help-text": "^0.31.1-overlay.29+93d3f11dd",
62
- "@spectrum-web-components/icon": "^0.31.1-overlay.29+93d3f11dd",
63
- "@spectrum-web-components/icons-ui": "^0.31.1-overlay.29+93d3f11dd",
64
- "@spectrum-web-components/icons-workflow": "^0.31.1-overlay.29+93d3f11dd",
65
- "@spectrum-web-components/shared": "^0.31.1-overlay.29+93d3f11dd"
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"
66
66
  },
67
67
  "devDependencies": {
68
68
  "@spectrum-css/textfield": "^3.2.16"
@@ -73,5 +73,5 @@
73
73
  "./sp-*.js",
74
74
  "./**/*.dev.js"
75
75
  ],
76
- "gitHead": "93d3f11dde0f578bd1ddcf7fbb78b02916fdfbe0"
76
+ "gitHead": "886f515919ca0e8a1cec52a00babb1d4a195ae01"
77
77
  }