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

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