@spectrum-web-components/textfield 0.13.11-react.48 → 0.13.11-react.50

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