react-native-macos 0.71.16 → 0.71.17

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.
@@ -386,92 +386,6 @@ export interface TextInputMacOSProps {
386
386
  * @see https://reactnative.dev/docs/textinput#props
387
387
  */
388
388
  export interface TextInputAndroidProps {
389
- /**
390
- * Specifies autocomplete hints for the system, so it can provide autofill. On Android, the system will always attempt to offer autofill by using heuristics to identify the type of content.
391
- * To disable autocomplete, set `autoComplete` to `off`.
392
- *
393
- * *Android Only*
394
- *
395
- * Possible values for `autoComplete` are:
396
- *
397
- * - `birthdate-day`
398
- * - `birthdate-full`
399
- * - `birthdate-month`
400
- * - `birthdate-year`
401
- * - `cc-csc`
402
- * - `cc-exp`
403
- * - `cc-exp-day`
404
- * - `cc-exp-month`
405
- * - `cc-exp-year`
406
- * - `cc-number`
407
- * - `email`
408
- * - `gender`
409
- * - `name`
410
- * - `name-family`
411
- * - `name-given`
412
- * - `name-middle`
413
- * - `name-middle-initial`
414
- * - `name-prefix`
415
- * - `name-suffix`
416
- * - `password`
417
- * - `password-new`
418
- * - `postal-address`
419
- * - `postal-address-country`
420
- * - `postal-address-extended`
421
- * - `postal-address-extended-postal-code`
422
- * - `postal-address-locality`
423
- * - `postal-address-region`
424
- * - `postal-code`
425
- * - `street-address`
426
- * - `sms-otp`
427
- * - `tel`
428
- * - `tel-country-code`
429
- * - `tel-national`
430
- * - `tel-device`
431
- * - `username`
432
- * - `username-new`
433
- * - `off`
434
- */
435
- autoComplete?:
436
- | 'birthdate-day'
437
- | 'birthdate-full'
438
- | 'birthdate-month'
439
- | 'birthdate-year'
440
- | 'cc-csc'
441
- | 'cc-exp'
442
- | 'cc-exp-day'
443
- | 'cc-exp-month'
444
- | 'cc-exp-year'
445
- | 'cc-number'
446
- | 'email'
447
- | 'gender'
448
- | 'name'
449
- | 'name-family'
450
- | 'name-given'
451
- | 'name-middle'
452
- | 'name-middle-initial'
453
- | 'name-prefix'
454
- | 'name-suffix'
455
- | 'password'
456
- | 'password-new'
457
- | 'postal-address'
458
- | 'postal-address-country'
459
- | 'postal-address-extended'
460
- | 'postal-address-extended-postal-code'
461
- | 'postal-address-locality'
462
- | 'postal-address-region'
463
- | 'postal-code'
464
- | 'street-address'
465
- | 'sms-otp'
466
- | 'tel'
467
- | 'tel-country-code'
468
- | 'tel-national'
469
- | 'tel-device'
470
- | 'username'
471
- | 'username-new'
472
- | 'off'
473
- | undefined;
474
-
475
389
  /**
476
390
  * When provided it will set the color of the cursor (or "caret") in the component.
477
391
  * Unlike the behavior of `selectionColor` the cursor color will be set independently
@@ -655,6 +569,127 @@ export interface TextInputProps
655
569
  */
656
570
  autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters' | undefined;
657
571
 
572
+ /**
573
+ * Specifies autocomplete hints for the system, so it can provide autofill.
574
+ * On Android, the system will always attempt to offer autofill by using heuristics to identify the type of content.
575
+ * To disable autocomplete, set autoComplete to off.
576
+ *
577
+ * The following values work across platforms:
578
+ *
579
+ * - `additional-name`
580
+ * - `address-line1`
581
+ * - `address-line2`
582
+ * - `cc-number`
583
+ * - `country`
584
+ * - `current-password`
585
+ * - `email`
586
+ * - `family-name`
587
+ * - `given-name`
588
+ * - `honorific-prefix`
589
+ * - `honorific-suffix`
590
+ * - `name`
591
+ * - `new-password`
592
+ * - `off`
593
+ * - `one-time-code`
594
+ * - `postal-code`
595
+ * - `street-address`
596
+ * - `tel`
597
+ * - `username`
598
+ *
599
+ * The following values work on iOS only:
600
+ *
601
+ * - `nickname`
602
+ * - `organization`
603
+ * - `organization-title`
604
+ * - `url`
605
+ *
606
+ * The following values work on Android only:
607
+ *
608
+ * - `birthdate-day`
609
+ * - `birthdate-full`
610
+ * - `birthdate-month`
611
+ * - `birthdate-year`
612
+ * - `cc-csc`
613
+ * - `cc-exp`
614
+ * - `cc-exp-day`
615
+ * - `cc-exp-month`
616
+ * - `cc-exp-year`
617
+ * - `gender`
618
+ * - `name-family`
619
+ * - `name-given`
620
+ * - `name-middle`
621
+ * - `name-middle-initial`
622
+ * - `name-prefix`
623
+ * - `name-suffix`
624
+ * - `password`
625
+ * - `password-new`
626
+ * - `postal-address`
627
+ * - `postal-address-country`
628
+ * - `postal-address-extended`
629
+ * - `postal-address-extended-postal-code`
630
+ * - `postal-address-locality`
631
+ * - `postal-address-region`
632
+ * - `sms-otp`
633
+ * - `tel-country-code`
634
+ * - `tel-national`
635
+ * - `tel-device`
636
+ * - `username-new`
637
+ */
638
+ autoComplete?:
639
+ | 'additional-name'
640
+ | 'address-line1'
641
+ | 'address-line2'
642
+ | 'birthdate-day'
643
+ | 'birthdate-full'
644
+ | 'birthdate-month'
645
+ | 'birthdate-year'
646
+ | 'cc-csc'
647
+ | 'cc-exp'
648
+ | 'cc-exp-day'
649
+ | 'cc-exp-month'
650
+ | 'cc-exp-year'
651
+ | 'cc-number'
652
+ | 'country'
653
+ | 'current-password'
654
+ | 'email'
655
+ | 'family-name'
656
+ | 'gender'
657
+ | 'given-name'
658
+ | 'honorific-prefix'
659
+ | 'honorific-suffix'
660
+ | 'name'
661
+ | 'name-family'
662
+ | 'name-given'
663
+ | 'name-middle'
664
+ | 'name-middle-initial'
665
+ | 'name-prefix'
666
+ | 'name-suffix'
667
+ | 'new-password'
668
+ | 'nickname'
669
+ | 'one-time-code'
670
+ | 'organization'
671
+ | 'organization-title'
672
+ | 'password'
673
+ | 'password-new'
674
+ | 'postal-address'
675
+ | 'postal-address-country'
676
+ | 'postal-address-extended'
677
+ | 'postal-address-extended-postal-code'
678
+ | 'postal-address-locality'
679
+ | 'postal-address-region'
680
+ | 'postal-code'
681
+ | 'street-address'
682
+ | 'sms-otp'
683
+ | 'tel'
684
+ | 'tel-country-code'
685
+ | 'tel-national'
686
+ | 'tel-device'
687
+ | 'url'
688
+ | 'username'
689
+ | 'username-new'
690
+ | 'off'
691
+ | undefined;
692
+
658
693
  /**
659
694
  * If false, disables auto-correct.
660
695
  * The default value is true.
@@ -232,36 +232,6 @@ export type enterKeyHintType =
232
232
  type PasswordRules = string;
233
233
 
234
234
  type IOSProps = $ReadOnly<{|
235
- /**
236
- * Give the keyboard and the system information about the
237
- * expected semantic meaning for the content that users enter.
238
- * @platform ios
239
- */
240
- autoComplete?: ?(
241
- | 'address-line1'
242
- | 'address-line2'
243
- | 'cc-number'
244
- | 'current-password'
245
- | 'country'
246
- | 'email'
247
- | 'name'
248
- | 'additional-name'
249
- | 'family-name'
250
- | 'given-name'
251
- | 'nickname'
252
- | 'honorific-prefix'
253
- | 'honorific-suffix'
254
- | 'new-password'
255
- | 'off'
256
- | 'one-time-code'
257
- | 'organization'
258
- | 'organization-title'
259
- | 'postal-code'
260
- | 'street-address'
261
- | 'tel'
262
- | 'url'
263
- | 'username'
264
- ),
265
235
  /**
266
236
  * When the clear button should appear on the right side of the text view.
267
237
  * This property is supported only for single-line TextInput component.
@@ -453,111 +423,6 @@ type MacOSProps = $ReadOnly<{|
453
423
  // macOS]
454
424
 
455
425
  type AndroidProps = $ReadOnly<{|
456
- /**
457
- * Specifies autocomplete hints for the system, so it can provide autofill. On Android, the system will always attempt to offer autofill by using heuristics to identify the type of content.
458
- * To disable autocomplete, set `autoComplete` to `off`.
459
- *
460
- * *Android Only*
461
- *
462
- * Possible values for `autoComplete` are:
463
- *
464
- * - `birthdate-day`
465
- * - `birthdate-full`
466
- * - `birthdate-month`
467
- * - `birthdate-year`
468
- * - `cc-csc`
469
- * - `cc-exp`
470
- * - `cc-exp-day`
471
- * - `cc-exp-month`
472
- * - `cc-exp-year`
473
- * - `cc-number`
474
- * - `email`
475
- * - `gender`
476
- * - `name`
477
- * - `name-family`
478
- * - `name-given`
479
- * - `name-middle`
480
- * - `name-middle-initial`
481
- * - `name-prefix`
482
- * - `name-suffix`
483
- * - `password`
484
- * - `password-new`
485
- * - `postal-address`
486
- * - `postal-address-country`
487
- * - `postal-address-extended`
488
- * - `postal-address-extended-postal-code`
489
- * - `postal-address-locality`
490
- * - `postal-address-region`
491
- * - `postal-code`
492
- * - `street-address`
493
- * - `sms-otp`
494
- * - `tel`
495
- * - `tel-country-code`
496
- * - `tel-national`
497
- * - `tel-device`
498
- * - `username`
499
- * - `username-new`
500
- * - `off`
501
- *
502
- * @platform android
503
- */
504
- autoComplete?: ?(
505
- | 'birthdate-day'
506
- | 'birthdate-full'
507
- | 'birthdate-month'
508
- | 'birthdate-year'
509
- | 'cc-csc'
510
- | 'cc-exp'
511
- | 'cc-exp-day'
512
- | 'cc-exp-month'
513
- | 'cc-exp-year'
514
- | 'cc-number'
515
- | 'email'
516
- | 'gender'
517
- | 'name'
518
- | 'name-family'
519
- | 'name-given'
520
- | 'name-middle'
521
- | 'name-middle-initial'
522
- | 'name-prefix'
523
- | 'name-suffix'
524
- | 'password'
525
- | 'password-new'
526
- | 'postal-address'
527
- | 'postal-address-country'
528
- | 'postal-address-extended'
529
- | 'postal-address-extended-postal-code'
530
- | 'postal-address-locality'
531
- | 'postal-address-region'
532
- | 'postal-code'
533
- | 'street-address'
534
- | 'sms-otp'
535
- | 'tel'
536
- | 'tel-country-code'
537
- | 'tel-national'
538
- | 'tel-device'
539
- | 'username'
540
- | 'username-new'
541
- | 'off'
542
- // additional HTML autocomplete values
543
- | 'address-line1'
544
- | 'address-line2'
545
- | 'bday'
546
- | 'bday-day'
547
- | 'bday-month'
548
- | 'bday-year'
549
- | 'country'
550
- | 'current-password'
551
- | 'honorific-prefix'
552
- | 'honorific-suffix'
553
- | 'additional-name'
554
- | 'family-name'
555
- | 'given-name'
556
- | 'new-password'
557
- | 'one-time-code'
558
- | 'sex'
559
- ),
560
-
561
426
  /**
562
427
  * When provided it will set the color of the cursor (or "caret") in the component.
563
428
  * Unlike the behavior of `selectionColor` the cursor color will be set independently
@@ -662,6 +527,127 @@ export type Props = $ReadOnly<{|
662
527
  */
663
528
  autoCapitalize?: ?AutoCapitalize,
664
529
 
530
+ /**
531
+ * Specifies autocomplete hints for the system, so it can provide autofill.
532
+ * On Android, the system will always attempt to offer autofill by using heuristics to identify the type of content.
533
+ * To disable autocomplete, set autoComplete to off.
534
+ *
535
+ * The following values work across platforms:
536
+ *
537
+ * - `additional-name`
538
+ * - `address-line1`
539
+ * - `address-line2`
540
+ * - `cc-number`
541
+ * - `country`
542
+ * - `current-password`
543
+ * - `email`
544
+ * - `family-name`
545
+ * - `given-name`
546
+ * - `honorific-prefix`
547
+ * - `honorific-suffix`
548
+ * - `name`
549
+ * - `new-password`
550
+ * - `off`
551
+ * - `one-time-code`
552
+ * - `postal-code`
553
+ * - `street-address`
554
+ * - `tel`
555
+ * - `username`
556
+ *
557
+ * The following values work on iOS only:
558
+ *
559
+ * - `nickname`
560
+ * - `organization`
561
+ * - `organization-title`
562
+ * - `url`
563
+ *
564
+ * The following values work on Android only:
565
+ *
566
+ * - `birthdate-day`
567
+ * - `birthdate-full`
568
+ * - `birthdate-month`
569
+ * - `birthdate-year`
570
+ * - `cc-csc`
571
+ * - `cc-exp`
572
+ * - `cc-exp-day`
573
+ * - `cc-exp-month`
574
+ * - `cc-exp-year`
575
+ * - `gender`
576
+ * - `name-family`
577
+ * - `name-given`
578
+ * - `name-middle`
579
+ * - `name-middle-initial`
580
+ * - `name-prefix`
581
+ * - `name-suffix`
582
+ * - `password`
583
+ * - `password-new`
584
+ * - `postal-address`
585
+ * - `postal-address-country`
586
+ * - `postal-address-extended`
587
+ * - `postal-address-extended-postal-code`
588
+ * - `postal-address-locality`
589
+ * - `postal-address-region`
590
+ * - `sms-otp`
591
+ * - `tel-country-code`
592
+ * - `tel-national`
593
+ * - `tel-device`
594
+ * - `username-new`
595
+ */
596
+ autoComplete?: ?(
597
+ | 'additional-name'
598
+ | 'address-line1'
599
+ | 'address-line2'
600
+ | 'birthdate-day'
601
+ | 'birthdate-full'
602
+ | 'birthdate-month'
603
+ | 'birthdate-year'
604
+ | 'cc-csc'
605
+ | 'cc-exp'
606
+ | 'cc-exp-day'
607
+ | 'cc-exp-month'
608
+ | 'cc-exp-year'
609
+ | 'cc-number'
610
+ | 'country'
611
+ | 'current-password'
612
+ | 'email'
613
+ | 'family-name'
614
+ | 'gender'
615
+ | 'given-name'
616
+ | 'honorific-prefix'
617
+ | 'honorific-suffix'
618
+ | 'name'
619
+ | 'name-family'
620
+ | 'name-given'
621
+ | 'name-middle'
622
+ | 'name-middle-initial'
623
+ | 'name-prefix'
624
+ | 'name-suffix'
625
+ | 'new-password'
626
+ | 'nickname'
627
+ | 'one-time-code'
628
+ | 'organization'
629
+ | 'organization-title'
630
+ | 'password'
631
+ | 'password-new'
632
+ | 'postal-address'
633
+ | 'postal-address-country'
634
+ | 'postal-address-extended'
635
+ | 'postal-address-extended-postal-code'
636
+ | 'postal-address-locality'
637
+ | 'postal-address-region'
638
+ | 'postal-code'
639
+ | 'street-address'
640
+ | 'sms-otp'
641
+ | 'tel'
642
+ | 'tel-country-code'
643
+ | 'tel-national'
644
+ | 'tel-device'
645
+ | 'url'
646
+ | 'username'
647
+ | 'username-new'
648
+ | 'off'
649
+ ),
650
+
665
651
  /**
666
652
  * If `false`, disables auto-correct. The default value is `true`.
667
653
  */