@openwebf/react-cupertino-ui 0.3.22 → 0.3.23

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.
package/dist/index.d.mts CHANGED
@@ -629,6 +629,218 @@ declare const FlutterCupertinoRadio: React.ForwardRefExoticComponent<FlutterCupe
629
629
  children?: React.ReactNode;
630
630
  } & React.RefAttributes<FlutterCupertinoRadioElement>>;
631
631
 
632
+ interface FlutterCupertinoListTileProps {
633
+ /**
634
+ * Whether to use the notched style.
635
+ * When true, renders using CupertinoListTile.notched.
636
+ * Default: false.
637
+ */
638
+ notched?: boolean;
639
+ /**
640
+ * Whether to show the standard chevron icon when
641
+ * no explicit trailing slot is provided.
642
+ * Default: false.
643
+ */
644
+ showChevron?: boolean;
645
+ /**
646
+ * Fired when the tile is tapped/clicked.
647
+ */
648
+ onClick?: (event: Event) => void;
649
+ /**
650
+ * HTML id attribute
651
+ */
652
+ id?: string;
653
+ /**
654
+ * Additional CSS styles
655
+ */
656
+ style?: React.CSSProperties;
657
+ /**
658
+ * Children elements
659
+ */
660
+ children?: React.ReactNode;
661
+ /**
662
+ * Additional CSS class names
663
+ */
664
+ className?: string;
665
+ }
666
+ interface FlutterCupertinoListTileElement extends WebFElementWithMethods<{}> {
667
+ }
668
+ /**
669
+ * Properties for <flutter-cupertino-list-tile>
670
+ iOS-style list row with slots for leading, subtitle, additional info, and trailing.
671
+ *
672
+ * @example
673
+ * ```tsx
674
+ *
675
+ * <FlutterCupertinoListTile
676
+ * // Add props here
677
+ * >
678
+ * Content
679
+ * </FlutterCupertinoListTile>
680
+ * ```
681
+ */
682
+ declare const FlutterCupertinoListTile: React.ForwardRefExoticComponent<FlutterCupertinoListTileProps & {
683
+ className?: string;
684
+ style?: React.CSSProperties;
685
+ children?: React.ReactNode;
686
+ } & React.RefAttributes<FlutterCupertinoListTileElement>>;
687
+ interface FlutterCupertinoListTileLeadingProps {
688
+ /**
689
+ * HTML id attribute
690
+ */
691
+ id?: string;
692
+ /**
693
+ * Additional CSS styles
694
+ */
695
+ style?: React.CSSProperties;
696
+ /**
697
+ * Children elements
698
+ */
699
+ children?: React.ReactNode;
700
+ /**
701
+ * Additional CSS class names
702
+ */
703
+ className?: string;
704
+ }
705
+ interface FlutterCupertinoListTileLeadingElement extends WebFElementWithMethods<{}> {
706
+ }
707
+ /**
708
+ * Properties for <flutter-cupertino-list-tile-leading>.
709
+ Slot for leading content.
710
+ *
711
+ * @example
712
+ * ```tsx
713
+ *
714
+ * <FlutterCupertinoListTileLeading
715
+ * // Add props here
716
+ * >
717
+ * Content
718
+ * </FlutterCupertinoListTileLeading>
719
+ * ```
720
+ */
721
+ declare const FlutterCupertinoListTileLeading: React.ForwardRefExoticComponent<FlutterCupertinoListTileLeadingProps & {
722
+ className?: string;
723
+ style?: React.CSSProperties;
724
+ children?: React.ReactNode;
725
+ } & React.RefAttributes<FlutterCupertinoListTileLeadingElement>>;
726
+ interface FlutterCupertinoListTileSubtitleProps {
727
+ /**
728
+ * HTML id attribute
729
+ */
730
+ id?: string;
731
+ /**
732
+ * Additional CSS styles
733
+ */
734
+ style?: React.CSSProperties;
735
+ /**
736
+ * Children elements
737
+ */
738
+ children?: React.ReactNode;
739
+ /**
740
+ * Additional CSS class names
741
+ */
742
+ className?: string;
743
+ }
744
+ interface FlutterCupertinoListTileSubtitleElement extends WebFElementWithMethods<{}> {
745
+ }
746
+ /**
747
+ * Properties for <flutter-cupertino-list-tile-subtitle>.
748
+ Slot for secondary text under the title.
749
+ *
750
+ * @example
751
+ * ```tsx
752
+ *
753
+ * <FlutterCupertinoListTileSubtitle
754
+ * // Add props here
755
+ * >
756
+ * Content
757
+ * </FlutterCupertinoListTileSubtitle>
758
+ * ```
759
+ */
760
+ declare const FlutterCupertinoListTileSubtitle: React.ForwardRefExoticComponent<FlutterCupertinoListTileSubtitleProps & {
761
+ className?: string;
762
+ style?: React.CSSProperties;
763
+ children?: React.ReactNode;
764
+ } & React.RefAttributes<FlutterCupertinoListTileSubtitleElement>>;
765
+ interface FlutterCupertinoListTileAdditionalInfoProps {
766
+ /**
767
+ * HTML id attribute
768
+ */
769
+ id?: string;
770
+ /**
771
+ * Additional CSS styles
772
+ */
773
+ style?: React.CSSProperties;
774
+ /**
775
+ * Children elements
776
+ */
777
+ children?: React.ReactNode;
778
+ /**
779
+ * Additional CSS class names
780
+ */
781
+ className?: string;
782
+ }
783
+ interface FlutterCupertinoListTileAdditionalInfoElement extends WebFElementWithMethods<{}> {
784
+ }
785
+ /**
786
+ * Properties for <flutter-cupertino-list-tile-additional-info>.
787
+ Slot for right-aligned secondary info next to the title.
788
+ *
789
+ * @example
790
+ * ```tsx
791
+ *
792
+ * <FlutterCupertinoListTileAdditionalInfo
793
+ * // Add props here
794
+ * >
795
+ * Content
796
+ * </FlutterCupertinoListTileAdditionalInfo>
797
+ * ```
798
+ */
799
+ declare const FlutterCupertinoListTileAdditionalInfo: React.ForwardRefExoticComponent<FlutterCupertinoListTileAdditionalInfoProps & {
800
+ className?: string;
801
+ style?: React.CSSProperties;
802
+ children?: React.ReactNode;
803
+ } & React.RefAttributes<FlutterCupertinoListTileAdditionalInfoElement>>;
804
+ interface FlutterCupertinoListTileTrailingProps {
805
+ /**
806
+ * HTML id attribute
807
+ */
808
+ id?: string;
809
+ /**
810
+ * Additional CSS styles
811
+ */
812
+ style?: React.CSSProperties;
813
+ /**
814
+ * Children elements
815
+ */
816
+ children?: React.ReactNode;
817
+ /**
818
+ * Additional CSS class names
819
+ */
820
+ className?: string;
821
+ }
822
+ interface FlutterCupertinoListTileTrailingElement extends WebFElementWithMethods<{}> {
823
+ }
824
+ /**
825
+ * Properties for <flutter-cupertino-list-tile-trailing>.
826
+ Slot for custom trailing widget (e.g., switch, icon).
827
+ *
828
+ * @example
829
+ * ```tsx
830
+ *
831
+ * <FlutterCupertinoListTileTrailing
832
+ * // Add props here
833
+ * >
834
+ * Content
835
+ * </FlutterCupertinoListTileTrailing>
836
+ * ```
837
+ */
838
+ declare const FlutterCupertinoListTileTrailing: React.ForwardRefExoticComponent<FlutterCupertinoListTileTrailingProps & {
839
+ className?: string;
840
+ style?: React.CSSProperties;
841
+ children?: React.ReactNode;
842
+ } & React.RefAttributes<FlutterCupertinoListTileTrailingElement>>;
843
+
632
844
  interface FlutterCupertinoListSectionProps {
633
845
  /**
634
846
  * Whether to use the inset grouped style (iOS Settings-style sections).
@@ -3420,206 +3632,6 @@ declare const FlutterCupertinoLoading: React.ForwardRefExoticComponent<FlutterCu
3420
3632
  children?: React.ReactNode;
3421
3633
  } & React.RefAttributes<FlutterCupertinoLoadingElement>>;
3422
3634
 
3423
- interface FlutterCupertinoListTileProps {
3424
- /**
3425
- * showChevron property
3426
- * @default undefined
3427
- */
3428
- showChevron?: string;
3429
- /**
3430
- * click event handler
3431
- */
3432
- onClick?: (event: CustomEvent) => void;
3433
- /**
3434
- * HTML id attribute
3435
- */
3436
- id?: string;
3437
- /**
3438
- * Additional CSS styles
3439
- */
3440
- style?: React.CSSProperties;
3441
- /**
3442
- * Children elements
3443
- */
3444
- children?: React.ReactNode;
3445
- /**
3446
- * Additional CSS class names
3447
- */
3448
- className?: string;
3449
- }
3450
- interface FlutterCupertinoListTileElement extends WebFElementWithMethods<{}> {
3451
- }
3452
- /**
3453
- * FlutterCupertinoListTile - WebF FlutterCupertinoListTile component
3454
- *
3455
- * @example
3456
- * ```tsx
3457
- *
3458
- * <FlutterCupertinoListTile
3459
- * // Add props here
3460
- * >
3461
- * Content
3462
- * </FlutterCupertinoListTile>
3463
- * ```
3464
- */
3465
- declare const FlutterCupertinoListTile: React.ForwardRefExoticComponent<FlutterCupertinoListTileProps & {
3466
- className?: string;
3467
- style?: React.CSSProperties;
3468
- children?: React.ReactNode;
3469
- } & React.RefAttributes<FlutterCupertinoListTileElement>>;
3470
- interface FlutterCupertinoListTileLeadingProps {
3471
- /**
3472
- * HTML id attribute
3473
- */
3474
- id?: string;
3475
- /**
3476
- * Additional CSS styles
3477
- */
3478
- style?: React.CSSProperties;
3479
- /**
3480
- * Children elements
3481
- */
3482
- children?: React.ReactNode;
3483
- /**
3484
- * Additional CSS class names
3485
- */
3486
- className?: string;
3487
- }
3488
- interface FlutterCupertinoListTileLeadingElement extends WebFElementWithMethods<{}> {
3489
- }
3490
- /**
3491
- * FlutterCupertinoListTileLeading - WebF FlutterCupertinoListTileLeading component
3492
- *
3493
- * @example
3494
- * ```tsx
3495
- *
3496
- * <FlutterCupertinoListTileLeading
3497
- * // Add props here
3498
- * >
3499
- * Content
3500
- * </FlutterCupertinoListTileLeading>
3501
- * ```
3502
- */
3503
- declare const FlutterCupertinoListTileLeading: React.ForwardRefExoticComponent<FlutterCupertinoListTileLeadingProps & {
3504
- className?: string;
3505
- style?: React.CSSProperties;
3506
- children?: React.ReactNode;
3507
- } & React.RefAttributes<FlutterCupertinoListTileLeadingElement>>;
3508
- interface FlutterCupertinoListTileSubtitleProps {
3509
- /**
3510
- * HTML id attribute
3511
- */
3512
- id?: string;
3513
- /**
3514
- * Additional CSS styles
3515
- */
3516
- style?: React.CSSProperties;
3517
- /**
3518
- * Children elements
3519
- */
3520
- children?: React.ReactNode;
3521
- /**
3522
- * Additional CSS class names
3523
- */
3524
- className?: string;
3525
- }
3526
- interface FlutterCupertinoListTileSubtitleElement extends WebFElementWithMethods<{}> {
3527
- }
3528
- /**
3529
- * FlutterCupertinoListTileSubtitle - WebF FlutterCupertinoListTileSubtitle component
3530
- *
3531
- * @example
3532
- * ```tsx
3533
- *
3534
- * <FlutterCupertinoListTileSubtitle
3535
- * // Add props here
3536
- * >
3537
- * Content
3538
- * </FlutterCupertinoListTileSubtitle>
3539
- * ```
3540
- */
3541
- declare const FlutterCupertinoListTileSubtitle: React.ForwardRefExoticComponent<FlutterCupertinoListTileSubtitleProps & {
3542
- className?: string;
3543
- style?: React.CSSProperties;
3544
- children?: React.ReactNode;
3545
- } & React.RefAttributes<FlutterCupertinoListTileSubtitleElement>>;
3546
- interface FlutterCupertinoListTileAdditionalInfoProps {
3547
- /**
3548
- * HTML id attribute
3549
- */
3550
- id?: string;
3551
- /**
3552
- * Additional CSS styles
3553
- */
3554
- style?: React.CSSProperties;
3555
- /**
3556
- * Children elements
3557
- */
3558
- children?: React.ReactNode;
3559
- /**
3560
- * Additional CSS class names
3561
- */
3562
- className?: string;
3563
- }
3564
- interface FlutterCupertinoListTileAdditionalInfoElement extends WebFElementWithMethods<{}> {
3565
- }
3566
- /**
3567
- * FlutterCupertinoListTileAdditionalInfo - WebF FlutterCupertinoListTileAdditionalInfo component
3568
- *
3569
- * @example
3570
- * ```tsx
3571
- *
3572
- * <FlutterCupertinoListTileAdditionalInfo
3573
- * // Add props here
3574
- * >
3575
- * Content
3576
- * </FlutterCupertinoListTileAdditionalInfo>
3577
- * ```
3578
- */
3579
- declare const FlutterCupertinoListTileAdditionalInfo: React.ForwardRefExoticComponent<FlutterCupertinoListTileAdditionalInfoProps & {
3580
- className?: string;
3581
- style?: React.CSSProperties;
3582
- children?: React.ReactNode;
3583
- } & React.RefAttributes<FlutterCupertinoListTileAdditionalInfoElement>>;
3584
- interface FlutterCupertinoListTileTrailingProps {
3585
- /**
3586
- * HTML id attribute
3587
- */
3588
- id?: string;
3589
- /**
3590
- * Additional CSS styles
3591
- */
3592
- style?: React.CSSProperties;
3593
- /**
3594
- * Children elements
3595
- */
3596
- children?: React.ReactNode;
3597
- /**
3598
- * Additional CSS class names
3599
- */
3600
- className?: string;
3601
- }
3602
- interface FlutterCupertinoListTileTrailingElement extends WebFElementWithMethods<{}> {
3603
- }
3604
- /**
3605
- * FlutterCupertinoListTileTrailing - WebF FlutterCupertinoListTileTrailing component
3606
- *
3607
- * @example
3608
- * ```tsx
3609
- *
3610
- * <FlutterCupertinoListTileTrailing
3611
- * // Add props here
3612
- * >
3613
- * Content
3614
- * </FlutterCupertinoListTileTrailing>
3615
- * ```
3616
- */
3617
- declare const FlutterCupertinoListTileTrailing: React.ForwardRefExoticComponent<FlutterCupertinoListTileTrailingProps & {
3618
- className?: string;
3619
- style?: React.CSSProperties;
3620
- children?: React.ReactNode;
3621
- } & React.RefAttributes<FlutterCupertinoListTileTrailingElement>>;
3622
-
3623
3635
  interface FlutterCupertinoInputProps {
3624
3636
  /**
3625
3637
  * val property