@openwebf/react-cupertino-ui 0.3.9 → 0.3.11

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
@@ -1,250 +1,6 @@
1
1
  import React from 'react';
2
2
  import { WebFElementWithMethods } from '@openwebf/react-core-ui';
3
3
 
4
- interface FlutterCupertinoToastOptions {
5
- content: string;
6
- type?: 'normal' | 'success' | 'warning' | 'error' | 'loading';
7
- duration?: number;
8
- }
9
- interface FlutterCupertinoToastProps {
10
- /**
11
- * HTML id attribute
12
- */
13
- id?: string;
14
- /**
15
- * Additional CSS styles
16
- */
17
- style?: React.CSSProperties;
18
- /**
19
- * Children elements
20
- */
21
- children?: React.ReactNode;
22
- /**
23
- * Additional CSS class names
24
- */
25
- className?: string;
26
- }
27
- /**
28
- * Element interface with methods accessible via ref
29
- * @example
30
- * ```tsx
31
- * const ref = useRef<FlutterCupertinoToastElement>(null);
32
- * // Call methods on the element
33
- * ref.current?.finishRefresh('success');
34
- * ```
35
- */
36
- interface FlutterCupertinoToastElement extends WebFElementWithMethods<{
37
- show(options: FlutterCupertinoToastOptions): void;
38
- close(): void;
39
- }> {
40
- }
41
- /**
42
- * FlutterCupertinoToast - WebF FlutterCupertinoToast component
43
- *
44
- * @example
45
- * ```tsx
46
- * const ref = useRef<FlutterCupertinoToastElement>(null);
47
- *
48
- * <FlutterCupertinoToast
49
- * ref={ref}
50
- * // Add props here
51
- * >
52
- * Content
53
- * </FlutterCupertinoToast>
54
- *
55
- * // Call methods on the element
56
- * ref.current?.finishRefresh('success');
57
- * ```
58
- */
59
- declare const FlutterCupertinoToast: React.ForwardRefExoticComponent<FlutterCupertinoToastProps & {
60
- className?: string;
61
- style?: React.CSSProperties;
62
- children?: React.ReactNode;
63
- } & React.RefAttributes<FlutterCupertinoToastElement>>;
64
-
65
- interface FlutterCupertinoTimerPickerProps {
66
- /**
67
- * mode property
68
- * @default undefined
69
- */
70
- mode?: string;
71
- /**
72
- * initialTimerDuration property
73
- * @default undefined
74
- */
75
- initialTimerDuration?: number;
76
- /**
77
- * minuteInterval property
78
- * @default undefined
79
- */
80
- minuteInterval?: number;
81
- /**
82
- * secondInterval property
83
- * @default undefined
84
- */
85
- secondInterval?: number;
86
- /**
87
- * backgroundColor property
88
- * @default undefined
89
- */
90
- backgroundColor?: string;
91
- /**
92
- * height property
93
- * @default undefined
94
- */
95
- height?: number;
96
- /**
97
- * change event handler
98
- */
99
- onChange?: (event: CustomEvent<number>) => void;
100
- /**
101
- * HTML id attribute
102
- */
103
- id?: string;
104
- /**
105
- * Additional CSS styles
106
- */
107
- style?: React.CSSProperties;
108
- /**
109
- * Children elements
110
- */
111
- children?: React.ReactNode;
112
- /**
113
- * Additional CSS class names
114
- */
115
- className?: string;
116
- }
117
- interface FlutterCupertinoTimerPickerElement extends WebFElementWithMethods<{}> {
118
- }
119
- /**
120
- * FlutterCupertinoTimerPicker - WebF FlutterCupertinoTimerPicker component
121
- *
122
- * @example
123
- * ```tsx
124
- *
125
- * <FlutterCupertinoTimerPicker
126
- * // Add props here
127
- * >
128
- * Content
129
- * </FlutterCupertinoTimerPicker>
130
- * ```
131
- */
132
- declare const FlutterCupertinoTimerPicker: React.ForwardRefExoticComponent<FlutterCupertinoTimerPickerProps & {
133
- className?: string;
134
- style?: React.CSSProperties;
135
- children?: React.ReactNode;
136
- } & React.RefAttributes<FlutterCupertinoTimerPickerElement>>;
137
-
138
- interface FlutterCupertinoTextareaProps {
139
- /**
140
- * val property
141
- * @default undefined
142
- */
143
- val?: string;
144
- /**
145
- * placeholder property
146
- * @default undefined
147
- */
148
- placeholder?: string;
149
- /**
150
- * disabled property
151
- * @default undefined
152
- */
153
- disabled?: boolean;
154
- /**
155
- * readonly property
156
- * @default undefined
157
- */
158
- readonly?: boolean;
159
- /**
160
- * maxLength property
161
- * @default undefined
162
- */
163
- maxLength?: number;
164
- /**
165
- * rows property
166
- * @default undefined
167
- */
168
- rows?: number;
169
- /**
170
- * showCount property
171
- * @default undefined
172
- */
173
- showCount?: boolean;
174
- /**
175
- * autoSize property
176
- * @default undefined
177
- */
178
- autoSize?: boolean;
179
- /**
180
- * transparent property
181
- * @default undefined
182
- */
183
- transparent?: boolean;
184
- /**
185
- * input event handler
186
- */
187
- onInput?: (event: CustomEvent<string>) => void;
188
- /**
189
- * complete event handler
190
- */
191
- onComplete?: (event: Event) => void;
192
- /**
193
- * HTML id attribute
194
- */
195
- id?: string;
196
- /**
197
- * Additional CSS styles
198
- */
199
- style?: React.CSSProperties;
200
- /**
201
- * Children elements
202
- */
203
- children?: React.ReactNode;
204
- /**
205
- * Additional CSS class names
206
- */
207
- className?: string;
208
- }
209
- /**
210
- * Element interface with methods accessible via ref
211
- * @example
212
- * ```tsx
213
- * const ref = useRef<FlutterCupertinoTextareaElement>(null);
214
- * // Call methods on the element
215
- * ref.current?.finishRefresh('success');
216
- * ```
217
- */
218
- interface FlutterCupertinoTextareaElement extends WebFElementWithMethods<{
219
- focus(): void;
220
- blur(): void;
221
- clear(): void;
222
- }> {
223
- }
224
- /**
225
- * FlutterCupertinoTextarea - WebF FlutterCupertinoTextarea component
226
- *
227
- * @example
228
- * ```tsx
229
- * const ref = useRef<FlutterCupertinoTextareaElement>(null);
230
- *
231
- * <FlutterCupertinoTextarea
232
- * ref={ref}
233
- * // Add props here
234
- * >
235
- * Content
236
- * </FlutterCupertinoTextarea>
237
- *
238
- * // Call methods on the element
239
- * ref.current?.finishRefresh('success');
240
- * ```
241
- */
242
- declare const FlutterCupertinoTextarea: React.ForwardRefExoticComponent<FlutterCupertinoTextareaProps & {
243
- className?: string;
244
- style?: React.CSSProperties;
245
- children?: React.ReactNode;
246
- } & React.RefAttributes<FlutterCupertinoTextareaElement>>;
247
-
248
4
  interface FlutterCupertinoTabBarProps {
249
5
  /**
250
6
  * Zero-based active item index.
@@ -509,1163 +265,6 @@ declare const FlutterCupertinoTabScaffoldTab: React.ForwardRefExoticComponent<Fl
509
265
  children?: React.ReactNode;
510
266
  } & React.RefAttributes<FlutterCupertinoTabScaffoldTabElement>>;
511
267
 
512
- interface FlutterCupertinoSwitchProps {
513
- /**
514
- * checked property
515
- * @default undefined
516
- */
517
- checked?: boolean;
518
- /**
519
- * disabled property
520
- * @default undefined
521
- */
522
- disabled?: boolean;
523
- /**
524
- * activeColor property
525
- * @default undefined
526
- */
527
- activeColor?: string;
528
- /**
529
- * inactiveColor property
530
- * @default undefined
531
- */
532
- inactiveColor?: string;
533
- /**
534
- * change event handler
535
- */
536
- onChange?: (event: CustomEvent<boolean>) => void;
537
- /**
538
- * HTML id attribute
539
- */
540
- id?: string;
541
- /**
542
- * Additional CSS styles
543
- */
544
- style?: React.CSSProperties;
545
- /**
546
- * Children elements
547
- */
548
- children?: React.ReactNode;
549
- /**
550
- * Additional CSS class names
551
- */
552
- className?: string;
553
- }
554
- interface FlutterCupertinoSwitchElement extends WebFElementWithMethods<{}> {
555
- }
556
- /**
557
- * FlutterCupertinoSwitch - WebF FlutterCupertinoSwitch component
558
- *
559
- * @example
560
- * ```tsx
561
- *
562
- * <FlutterCupertinoSwitch
563
- * // Add props here
564
- * >
565
- * Content
566
- * </FlutterCupertinoSwitch>
567
- * ```
568
- */
569
- declare const FlutterCupertinoSwitch: React.ForwardRefExoticComponent<FlutterCupertinoSwitchProps & {
570
- className?: string;
571
- style?: React.CSSProperties;
572
- children?: React.ReactNode;
573
- } & React.RefAttributes<FlutterCupertinoSwitchElement>>;
574
-
575
- interface FlutterCupertinoSliderProps {
576
- /**
577
- * val property
578
- * @default undefined
579
- */
580
- val?: number;
581
- /**
582
- * min property
583
- * @default undefined
584
- */
585
- min?: number;
586
- /**
587
- * max property
588
- * @default undefined
589
- */
590
- max?: number;
591
- /**
592
- * step property
593
- * @default undefined
594
- */
595
- step?: number;
596
- /**
597
- * disabled property
598
- * @default undefined
599
- */
600
- disabled?: boolean;
601
- /**
602
- * change event handler
603
- */
604
- onChange?: (event: CustomEvent<number>) => void;
605
- /**
606
- * changestart event handler
607
- */
608
- onChangestart?: (event: CustomEvent<number>) => void;
609
- /**
610
- * changeend event handler
611
- */
612
- onChangeend?: (event: CustomEvent<number>) => void;
613
- /**
614
- * HTML id attribute
615
- */
616
- id?: string;
617
- /**
618
- * Additional CSS styles
619
- */
620
- style?: React.CSSProperties;
621
- /**
622
- * Children elements
623
- */
624
- children?: React.ReactNode;
625
- /**
626
- * Additional CSS class names
627
- */
628
- className?: string;
629
- }
630
- /**
631
- * Element interface with methods accessible via ref
632
- * @example
633
- * ```tsx
634
- * const ref = useRef<FlutterCupertinoSliderElement>(null);
635
- * // Call methods on the element
636
- * ref.current?.finishRefresh('success');
637
- * ```
638
- */
639
- interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{
640
- getValue(): number;
641
- setValue(val: number): void;
642
- }> {
643
- }
644
- /**
645
- * FlutterCupertinoSlider - WebF FlutterCupertinoSlider component
646
- *
647
- * @example
648
- * ```tsx
649
- * const ref = useRef<FlutterCupertinoSliderElement>(null);
650
- *
651
- * <FlutterCupertinoSlider
652
- * ref={ref}
653
- * // Add props here
654
- * >
655
- * Content
656
- * </FlutterCupertinoSlider>
657
- *
658
- * // Call methods on the element
659
- * ref.current?.finishRefresh('success');
660
- * ```
661
- */
662
- declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCupertinoSliderProps & {
663
- className?: string;
664
- style?: React.CSSProperties;
665
- children?: React.ReactNode;
666
- } & React.RefAttributes<FlutterCupertinoSliderElement>>;
667
-
668
- interface FlutterCupertinoSegmentedTabProps {
669
- /**
670
- * change event handler
671
- */
672
- onChange?: (event: CustomEvent<number>) => void;
673
- /**
674
- * HTML id attribute
675
- */
676
- id?: string;
677
- /**
678
- * Additional CSS styles
679
- */
680
- style?: React.CSSProperties;
681
- /**
682
- * Children elements
683
- */
684
- children?: React.ReactNode;
685
- /**
686
- * Additional CSS class names
687
- */
688
- className?: string;
689
- }
690
- interface FlutterCupertinoSegmentedTabElement extends WebFElementWithMethods<{}> {
691
- }
692
- /**
693
- * FlutterCupertinoSegmentedTab - WebF FlutterCupertinoSegmentedTab component
694
- *
695
- * @example
696
- * ```tsx
697
- *
698
- * <FlutterCupertinoSegmentedTab
699
- * // Add props here
700
- * >
701
- * Content
702
- * </FlutterCupertinoSegmentedTab>
703
- * ```
704
- */
705
- declare const FlutterCupertinoSegmentedTab: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabProps & {
706
- className?: string;
707
- style?: React.CSSProperties;
708
- children?: React.ReactNode;
709
- } & React.RefAttributes<FlutterCupertinoSegmentedTabElement>>;
710
-
711
- interface FlutterCupertinoSearchInputProps {
712
- /**
713
- * val property
714
- * @default undefined
715
- */
716
- val?: string;
717
- /**
718
- * placeholder property
719
- * @default undefined
720
- */
721
- placeholder?: string;
722
- /**
723
- * disabled property
724
- * @default undefined
725
- */
726
- disabled?: boolean;
727
- /**
728
- * type property
729
- * @default undefined
730
- */
731
- type?: string;
732
- /**
733
- * prefixIcon property
734
- * @default undefined
735
- */
736
- prefixIcon?: string;
737
- /**
738
- * suffixIcon property
739
- * @default undefined
740
- */
741
- suffixIcon?: string;
742
- /**
743
- * suffixModel property
744
- * @default undefined
745
- */
746
- suffixModel?: string;
747
- /**
748
- * itemColor property
749
- * @default undefined
750
- */
751
- itemColor?: string;
752
- /**
753
- * itemSize property
754
- * @default undefined
755
- */
756
- itemSize?: number;
757
- /**
758
- * autofocus property
759
- */
760
- autofocus: boolean;
761
- /**
762
- * input event handler
763
- */
764
- onInput?: (event: CustomEvent<string>) => void;
765
- /**
766
- * search event handler
767
- */
768
- onSearch?: (event: CustomEvent<string>) => void;
769
- /**
770
- * clear event handler
771
- */
772
- onClear?: (event: CustomEvent) => void;
773
- /**
774
- * HTML id attribute
775
- */
776
- id?: string;
777
- /**
778
- * Additional CSS styles
779
- */
780
- style?: React.CSSProperties;
781
- /**
782
- * Children elements
783
- */
784
- children?: React.ReactNode;
785
- /**
786
- * Additional CSS class names
787
- */
788
- className?: string;
789
- }
790
- /**
791
- * Element interface with methods accessible via ref
792
- * @example
793
- * ```tsx
794
- * const ref = useRef<FlutterCupertinoSearchInputElement>(null);
795
- * // Call methods on the element
796
- * ref.current?.finishRefresh('success');
797
- * ```
798
- */
799
- interface FlutterCupertinoSearchInputElement extends WebFElementWithMethods<{
800
- getValue(): string;
801
- setValue(value: string): void;
802
- focus(): void;
803
- blur(): void;
804
- clear(): void;
805
- }> {
806
- }
807
- /**
808
- * FlutterCupertinoSearchInput - WebF FlutterCupertinoSearchInput component
809
- *
810
- * @example
811
- * ```tsx
812
- * const ref = useRef<FlutterCupertinoSearchInputElement>(null);
813
- *
814
- * <FlutterCupertinoSearchInput
815
- * ref={ref}
816
- * // Add props here
817
- * >
818
- * Content
819
- * </FlutterCupertinoSearchInput>
820
- *
821
- * // Call methods on the element
822
- * ref.current?.finishRefresh('success');
823
- * ```
824
- */
825
- declare const FlutterCupertinoSearchInput: React.ForwardRefExoticComponent<FlutterCupertinoSearchInputProps & {
826
- className?: string;
827
- style?: React.CSSProperties;
828
- children?: React.ReactNode;
829
- } & React.RefAttributes<FlutterCupertinoSearchInputElement>>;
830
-
831
- interface FlutterCupertinoRadioProps {
832
- /**
833
- * val property
834
- * @default undefined
835
- */
836
- val?: string;
837
- /**
838
- * groupValue property
839
- * @default undefined
840
- */
841
- groupValue?: string;
842
- /**
843
- * useCheckmarkStyle property
844
- * @default undefined
845
- */
846
- useCheckmarkStyle?: boolean;
847
- /**
848
- * disabled property
849
- * @default undefined
850
- */
851
- disabled?: boolean;
852
- /**
853
- * activeColor property
854
- * @default undefined
855
- */
856
- activeColor?: string;
857
- /**
858
- * focusColor property
859
- * @default undefined
860
- */
861
- focusColor?: string;
862
- /**
863
- * change event handler
864
- */
865
- onChange?: (event: CustomEvent<string>) => void;
866
- /**
867
- * HTML id attribute
868
- */
869
- id?: string;
870
- /**
871
- * Additional CSS styles
872
- */
873
- style?: React.CSSProperties;
874
- /**
875
- * Children elements
876
- */
877
- children?: React.ReactNode;
878
- /**
879
- * Additional CSS class names
880
- */
881
- className?: string;
882
- }
883
- interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{}> {
884
- }
885
- /**
886
- * FlutterCupertinoRadio - WebF FlutterCupertinoRadio component
887
- *
888
- * @example
889
- * ```tsx
890
- *
891
- * <FlutterCupertinoRadio
892
- * // Add props here
893
- * >
894
- * Content
895
- * </FlutterCupertinoRadio>
896
- * ```
897
- */
898
- declare const FlutterCupertinoRadio: React.ForwardRefExoticComponent<FlutterCupertinoRadioProps & {
899
- className?: string;
900
- style?: React.CSSProperties;
901
- children?: React.ReactNode;
902
- } & React.RefAttributes<FlutterCupertinoRadioElement>>;
903
-
904
- interface FlutterCupertinoPickerProps {
905
- /**
906
- * height property
907
- * @default undefined
908
- */
909
- height?: number;
910
- /**
911
- * itemHeight property
912
- * @default undefined
913
- */
914
- itemHeight?: number;
915
- /**
916
- * change event handler
917
- */
918
- onChange?: (event: CustomEvent<string>) => void;
919
- /**
920
- * HTML id attribute
921
- */
922
- id?: string;
923
- /**
924
- * Additional CSS styles
925
- */
926
- style?: React.CSSProperties;
927
- /**
928
- * Children elements
929
- */
930
- children?: React.ReactNode;
931
- /**
932
- * Additional CSS class names
933
- */
934
- className?: string;
935
- }
936
- interface FlutterCupertinoPickerElement extends WebFElementWithMethods<{}> {
937
- }
938
- /**
939
- * FlutterCupertinoPicker - WebF FlutterCupertinoPicker component
940
- *
941
- * @example
942
- * ```tsx
943
- *
944
- * <FlutterCupertinoPicker
945
- * // Add props here
946
- * >
947
- * Content
948
- * </FlutterCupertinoPicker>
949
- * ```
950
- */
951
- declare const FlutterCupertinoPicker: React.ForwardRefExoticComponent<FlutterCupertinoPickerProps & {
952
- className?: string;
953
- style?: React.CSSProperties;
954
- children?: React.ReactNode;
955
- } & React.RefAttributes<FlutterCupertinoPickerElement>>;
956
-
957
- interface FlutterCupertinoPickerItemProps {
958
- /**
959
- * label property
960
- * @default undefined
961
- */
962
- label?: string;
963
- /**
964
- * val property
965
- * @default undefined
966
- */
967
- val?: string;
968
- /**
969
- * HTML id attribute
970
- */
971
- id?: string;
972
- /**
973
- * Additional CSS styles
974
- */
975
- style?: React.CSSProperties;
976
- /**
977
- * Children elements
978
- */
979
- children?: React.ReactNode;
980
- /**
981
- * Additional CSS class names
982
- */
983
- className?: string;
984
- }
985
- interface FlutterCupertinoPickerItemElement extends WebFElementWithMethods<{}> {
986
- }
987
- /**
988
- * FlutterCupertinoPickerItem - WebF FlutterCupertinoPickerItem component
989
- *
990
- * @example
991
- * ```tsx
992
- *
993
- * <FlutterCupertinoPickerItem
994
- * // Add props here
995
- * >
996
- * Content
997
- * </FlutterCupertinoPickerItem>
998
- * ```
999
- */
1000
- declare const FlutterCupertinoPickerItem: React.ForwardRefExoticComponent<FlutterCupertinoPickerItemProps & {
1001
- className?: string;
1002
- style?: React.CSSProperties;
1003
- children?: React.ReactNode;
1004
- } & React.RefAttributes<FlutterCupertinoPickerItemElement>>;
1005
-
1006
- interface FlutterCupertinoModalPopupProps {
1007
- /**
1008
- * visible property
1009
- * @default undefined
1010
- */
1011
- visible?: boolean;
1012
- /**
1013
- * height property
1014
- * @default undefined
1015
- */
1016
- height?: number;
1017
- /**
1018
- * surfacePainted property
1019
- * @default undefined
1020
- */
1021
- surfacePainted?: boolean;
1022
- /**
1023
- * maskClosable property
1024
- * @default undefined
1025
- */
1026
- maskClosable?: boolean;
1027
- /**
1028
- * backgroundOpacity property
1029
- * @default undefined
1030
- */
1031
- backgroundOpacity?: number;
1032
- /**
1033
- * close event handler
1034
- */
1035
- onClose?: (event: CustomEvent) => void;
1036
- /**
1037
- * HTML id attribute
1038
- */
1039
- id?: string;
1040
- /**
1041
- * Additional CSS styles
1042
- */
1043
- style?: React.CSSProperties;
1044
- /**
1045
- * Children elements
1046
- */
1047
- children?: React.ReactNode;
1048
- /**
1049
- * Additional CSS class names
1050
- */
1051
- className?: string;
1052
- }
1053
- /**
1054
- * Element interface with methods accessible via ref
1055
- * @example
1056
- * ```tsx
1057
- * const ref = useRef<FlutterCupertinoModalPopupElement>(null);
1058
- * // Call methods on the element
1059
- * ref.current?.finishRefresh('success');
1060
- * ```
1061
- */
1062
- interface FlutterCupertinoModalPopupElement extends WebFElementWithMethods<{
1063
- show(): void;
1064
- hide(): void;
1065
- }> {
1066
- }
1067
- /**
1068
- * FlutterCupertinoModalPopup - WebF FlutterCupertinoModalPopup component
1069
- *
1070
- * @example
1071
- * ```tsx
1072
- * const ref = useRef<FlutterCupertinoModalPopupElement>(null);
1073
- *
1074
- * <FlutterCupertinoModalPopup
1075
- * ref={ref}
1076
- * // Add props here
1077
- * >
1078
- * Content
1079
- * </FlutterCupertinoModalPopup>
1080
- *
1081
- * // Call methods on the element
1082
- * ref.current?.finishRefresh('success');
1083
- * ```
1084
- */
1085
- declare const FlutterCupertinoModalPopup: React.ForwardRefExoticComponent<FlutterCupertinoModalPopupProps & {
1086
- className?: string;
1087
- style?: React.CSSProperties;
1088
- children?: React.ReactNode;
1089
- } & React.RefAttributes<FlutterCupertinoModalPopupElement>>;
1090
-
1091
- interface FlutterCupertinoLoadingOptions {
1092
- text?: string;
1093
- }
1094
- interface FlutterCupertinoLoadingProps {
1095
- /**
1096
- * maskClosable property
1097
- * @default undefined
1098
- */
1099
- maskClosable?: boolean;
1100
- /**
1101
- * HTML id attribute
1102
- */
1103
- id?: string;
1104
- /**
1105
- * Additional CSS styles
1106
- */
1107
- style?: React.CSSProperties;
1108
- /**
1109
- * Children elements
1110
- */
1111
- children?: React.ReactNode;
1112
- /**
1113
- * Additional CSS class names
1114
- */
1115
- className?: string;
1116
- }
1117
- /**
1118
- * Element interface with methods accessible via ref
1119
- * @example
1120
- * ```tsx
1121
- * const ref = useRef<FlutterCupertinoLoadingElement>(null);
1122
- * // Call methods on the element
1123
- * ref.current?.finishRefresh('success');
1124
- * ```
1125
- */
1126
- interface FlutterCupertinoLoadingElement extends WebFElementWithMethods<{
1127
- show(options: FlutterCupertinoLoadingOptions): void;
1128
- hide(): void;
1129
- }> {
1130
- }
1131
- /**
1132
- * FlutterCupertinoLoading - WebF FlutterCupertinoLoading component
1133
- *
1134
- * @example
1135
- * ```tsx
1136
- * const ref = useRef<FlutterCupertinoLoadingElement>(null);
1137
- *
1138
- * <FlutterCupertinoLoading
1139
- * ref={ref}
1140
- * // Add props here
1141
- * >
1142
- * Content
1143
- * </FlutterCupertinoLoading>
1144
- *
1145
- * // Call methods on the element
1146
- * ref.current?.finishRefresh('success');
1147
- * ```
1148
- */
1149
- declare const FlutterCupertinoLoading: React.ForwardRefExoticComponent<FlutterCupertinoLoadingProps & {
1150
- className?: string;
1151
- style?: React.CSSProperties;
1152
- children?: React.ReactNode;
1153
- } & React.RefAttributes<FlutterCupertinoLoadingElement>>;
1154
-
1155
- interface FlutterCupertinoListTileProps {
1156
- /**
1157
- * showChevron property
1158
- * @default undefined
1159
- */
1160
- showChevron?: string;
1161
- /**
1162
- * click event handler
1163
- */
1164
- onClick?: (event: CustomEvent) => void;
1165
- /**
1166
- * HTML id attribute
1167
- */
1168
- id?: string;
1169
- /**
1170
- * Additional CSS styles
1171
- */
1172
- style?: React.CSSProperties;
1173
- /**
1174
- * Children elements
1175
- */
1176
- children?: React.ReactNode;
1177
- /**
1178
- * Additional CSS class names
1179
- */
1180
- className?: string;
1181
- }
1182
- interface FlutterCupertinoListTileElement extends WebFElementWithMethods<{}> {
1183
- }
1184
- /**
1185
- * FlutterCupertinoListTile - WebF FlutterCupertinoListTile component
1186
- *
1187
- * @example
1188
- * ```tsx
1189
- *
1190
- * <FlutterCupertinoListTile
1191
- * // Add props here
1192
- * >
1193
- * Content
1194
- * </FlutterCupertinoListTile>
1195
- * ```
1196
- */
1197
- declare const FlutterCupertinoListTile: React.ForwardRefExoticComponent<FlutterCupertinoListTileProps & {
1198
- className?: string;
1199
- style?: React.CSSProperties;
1200
- children?: React.ReactNode;
1201
- } & React.RefAttributes<FlutterCupertinoListTileElement>>;
1202
- interface FlutterCupertinoListTileLeadingProps {
1203
- /**
1204
- * HTML id attribute
1205
- */
1206
- id?: string;
1207
- /**
1208
- * Additional CSS styles
1209
- */
1210
- style?: React.CSSProperties;
1211
- /**
1212
- * Children elements
1213
- */
1214
- children?: React.ReactNode;
1215
- /**
1216
- * Additional CSS class names
1217
- */
1218
- className?: string;
1219
- }
1220
- interface FlutterCupertinoListTileLeadingElement extends WebFElementWithMethods<{}> {
1221
- }
1222
- /**
1223
- * FlutterCupertinoListTileLeading - WebF FlutterCupertinoListTileLeading component
1224
- *
1225
- * @example
1226
- * ```tsx
1227
- *
1228
- * <FlutterCupertinoListTileLeading
1229
- * // Add props here
1230
- * >
1231
- * Content
1232
- * </FlutterCupertinoListTileLeading>
1233
- * ```
1234
- */
1235
- declare const FlutterCupertinoListTileLeading: React.ForwardRefExoticComponent<FlutterCupertinoListTileLeadingProps & {
1236
- className?: string;
1237
- style?: React.CSSProperties;
1238
- children?: React.ReactNode;
1239
- } & React.RefAttributes<FlutterCupertinoListTileLeadingElement>>;
1240
- interface FlutterCupertinoListTileSubtitleProps {
1241
- /**
1242
- * HTML id attribute
1243
- */
1244
- id?: string;
1245
- /**
1246
- * Additional CSS styles
1247
- */
1248
- style?: React.CSSProperties;
1249
- /**
1250
- * Children elements
1251
- */
1252
- children?: React.ReactNode;
1253
- /**
1254
- * Additional CSS class names
1255
- */
1256
- className?: string;
1257
- }
1258
- interface FlutterCupertinoListTileSubtitleElement extends WebFElementWithMethods<{}> {
1259
- }
1260
- /**
1261
- * FlutterCupertinoListTileSubtitle - WebF FlutterCupertinoListTileSubtitle component
1262
- *
1263
- * @example
1264
- * ```tsx
1265
- *
1266
- * <FlutterCupertinoListTileSubtitle
1267
- * // Add props here
1268
- * >
1269
- * Content
1270
- * </FlutterCupertinoListTileSubtitle>
1271
- * ```
1272
- */
1273
- declare const FlutterCupertinoListTileSubtitle: React.ForwardRefExoticComponent<FlutterCupertinoListTileSubtitleProps & {
1274
- className?: string;
1275
- style?: React.CSSProperties;
1276
- children?: React.ReactNode;
1277
- } & React.RefAttributes<FlutterCupertinoListTileSubtitleElement>>;
1278
- interface FlutterCupertinoListTileAdditionalInfoProps {
1279
- /**
1280
- * HTML id attribute
1281
- */
1282
- id?: string;
1283
- /**
1284
- * Additional CSS styles
1285
- */
1286
- style?: React.CSSProperties;
1287
- /**
1288
- * Children elements
1289
- */
1290
- children?: React.ReactNode;
1291
- /**
1292
- * Additional CSS class names
1293
- */
1294
- className?: string;
1295
- }
1296
- interface FlutterCupertinoListTileAdditionalInfoElement extends WebFElementWithMethods<{}> {
1297
- }
1298
- /**
1299
- * FlutterCupertinoListTileAdditionalInfo - WebF FlutterCupertinoListTileAdditionalInfo component
1300
- *
1301
- * @example
1302
- * ```tsx
1303
- *
1304
- * <FlutterCupertinoListTileAdditionalInfo
1305
- * // Add props here
1306
- * >
1307
- * Content
1308
- * </FlutterCupertinoListTileAdditionalInfo>
1309
- * ```
1310
- */
1311
- declare const FlutterCupertinoListTileAdditionalInfo: React.ForwardRefExoticComponent<FlutterCupertinoListTileAdditionalInfoProps & {
1312
- className?: string;
1313
- style?: React.CSSProperties;
1314
- children?: React.ReactNode;
1315
- } & React.RefAttributes<FlutterCupertinoListTileAdditionalInfoElement>>;
1316
- interface FlutterCupertinoListTileTrailingProps {
1317
- /**
1318
- * HTML id attribute
1319
- */
1320
- id?: string;
1321
- /**
1322
- * Additional CSS styles
1323
- */
1324
- style?: React.CSSProperties;
1325
- /**
1326
- * Children elements
1327
- */
1328
- children?: React.ReactNode;
1329
- /**
1330
- * Additional CSS class names
1331
- */
1332
- className?: string;
1333
- }
1334
- interface FlutterCupertinoListTileTrailingElement extends WebFElementWithMethods<{}> {
1335
- }
1336
- /**
1337
- * FlutterCupertinoListTileTrailing - WebF FlutterCupertinoListTileTrailing component
1338
- *
1339
- * @example
1340
- * ```tsx
1341
- *
1342
- * <FlutterCupertinoListTileTrailing
1343
- * // Add props here
1344
- * >
1345
- * Content
1346
- * </FlutterCupertinoListTileTrailing>
1347
- * ```
1348
- */
1349
- declare const FlutterCupertinoListTileTrailing: React.ForwardRefExoticComponent<FlutterCupertinoListTileTrailingProps & {
1350
- className?: string;
1351
- style?: React.CSSProperties;
1352
- children?: React.ReactNode;
1353
- } & React.RefAttributes<FlutterCupertinoListTileTrailingElement>>;
1354
-
1355
- interface FlutterCupertinoListSectionProps {
1356
- /**
1357
- * insetGrouped property
1358
- * @default undefined
1359
- */
1360
- insetGrouped?: string;
1361
- /**
1362
- * HTML id attribute
1363
- */
1364
- id?: string;
1365
- /**
1366
- * Additional CSS styles
1367
- */
1368
- style?: React.CSSProperties;
1369
- /**
1370
- * Children elements
1371
- */
1372
- children?: React.ReactNode;
1373
- /**
1374
- * Additional CSS class names
1375
- */
1376
- className?: string;
1377
- }
1378
- interface FlutterCupertinoListSectionElement extends WebFElementWithMethods<{}> {
1379
- }
1380
- /**
1381
- * FlutterCupertinoListSection - WebF FlutterCupertinoListSection component
1382
- *
1383
- * @example
1384
- * ```tsx
1385
- *
1386
- * <FlutterCupertinoListSection
1387
- * // Add props here
1388
- * >
1389
- * Content
1390
- * </FlutterCupertinoListSection>
1391
- * ```
1392
- */
1393
- declare const FlutterCupertinoListSection: React.ForwardRefExoticComponent<FlutterCupertinoListSectionProps & {
1394
- className?: string;
1395
- style?: React.CSSProperties;
1396
- children?: React.ReactNode;
1397
- } & React.RefAttributes<FlutterCupertinoListSectionElement>>;
1398
- interface FlutterCupertinoListSectionHeaderProps {
1399
- /**
1400
- * HTML id attribute
1401
- */
1402
- id?: string;
1403
- /**
1404
- * Additional CSS styles
1405
- */
1406
- style?: React.CSSProperties;
1407
- /**
1408
- * Children elements
1409
- */
1410
- children?: React.ReactNode;
1411
- /**
1412
- * Additional CSS class names
1413
- */
1414
- className?: string;
1415
- }
1416
- interface FlutterCupertinoListSectionHeaderElement extends WebFElementWithMethods<{}> {
1417
- }
1418
- /**
1419
- * FlutterCupertinoListSectionHeader - WebF FlutterCupertinoListSectionHeader component
1420
- *
1421
- * @example
1422
- * ```tsx
1423
- *
1424
- * <FlutterCupertinoListSectionHeader
1425
- * // Add props here
1426
- * >
1427
- * Content
1428
- * </FlutterCupertinoListSectionHeader>
1429
- * ```
1430
- */
1431
- declare const FlutterCupertinoListSectionHeader: React.ForwardRefExoticComponent<FlutterCupertinoListSectionHeaderProps & {
1432
- className?: string;
1433
- style?: React.CSSProperties;
1434
- children?: React.ReactNode;
1435
- } & React.RefAttributes<FlutterCupertinoListSectionHeaderElement>>;
1436
- interface FlutterCupertinoListSectionFooterProps {
1437
- /**
1438
- * HTML id attribute
1439
- */
1440
- id?: string;
1441
- /**
1442
- * Additional CSS styles
1443
- */
1444
- style?: React.CSSProperties;
1445
- /**
1446
- * Children elements
1447
- */
1448
- children?: React.ReactNode;
1449
- /**
1450
- * Additional CSS class names
1451
- */
1452
- className?: string;
1453
- }
1454
- interface FlutterCupertinoListSectionFooterElement extends WebFElementWithMethods<{}> {
1455
- }
1456
- /**
1457
- * FlutterCupertinoListSectionFooter - WebF FlutterCupertinoListSectionFooter component
1458
- *
1459
- * @example
1460
- * ```tsx
1461
- *
1462
- * <FlutterCupertinoListSectionFooter
1463
- * // Add props here
1464
- * >
1465
- * Content
1466
- * </FlutterCupertinoListSectionFooter>
1467
- * ```
1468
- */
1469
- declare const FlutterCupertinoListSectionFooter: React.ForwardRefExoticComponent<FlutterCupertinoListSectionFooterProps & {
1470
- className?: string;
1471
- style?: React.CSSProperties;
1472
- children?: React.ReactNode;
1473
- } & React.RefAttributes<FlutterCupertinoListSectionFooterElement>>;
1474
-
1475
- interface FlutterCupertinoInputProps {
1476
- /**
1477
- * val property
1478
- * @default undefined
1479
- */
1480
- val?: string;
1481
- /**
1482
- * placeholder property
1483
- * @default undefined
1484
- */
1485
- placeholder?: string;
1486
- /**
1487
- * type property
1488
- * @default undefined
1489
- */
1490
- type?: string;
1491
- /**
1492
- * disabled property
1493
- * @default undefined
1494
- */
1495
- disabled?: boolean;
1496
- /**
1497
- * autofocus property
1498
- */
1499
- autofocus: boolean;
1500
- /**
1501
- * clearable property
1502
- * @default undefined
1503
- */
1504
- clearable?: boolean;
1505
- /**
1506
- * maxlength property
1507
- * @default undefined
1508
- */
1509
- maxlength?: number;
1510
- /**
1511
- * readonly property
1512
- * @default undefined
1513
- */
1514
- readonly?: boolean;
1515
- /**
1516
- * input event handler
1517
- */
1518
- onInput?: (event: CustomEvent<string>) => void;
1519
- /**
1520
- * submit event handler
1521
- */
1522
- onSubmit?: (event: CustomEvent<string>) => void;
1523
- /**
1524
- * focus event handler
1525
- */
1526
- onFocus?: (event: CustomEvent) => void;
1527
- /**
1528
- * blur event handler
1529
- */
1530
- onBlur?: (event: CustomEvent) => void;
1531
- /**
1532
- * clear event handler
1533
- */
1534
- onClear?: (event: CustomEvent) => void;
1535
- /**
1536
- * HTML id attribute
1537
- */
1538
- id?: string;
1539
- /**
1540
- * Additional CSS styles
1541
- */
1542
- style?: React.CSSProperties;
1543
- /**
1544
- * Children elements
1545
- */
1546
- children?: React.ReactNode;
1547
- /**
1548
- * Additional CSS class names
1549
- */
1550
- className?: string;
1551
- }
1552
- /**
1553
- * Element interface with methods accessible via ref
1554
- * @example
1555
- * ```tsx
1556
- * const ref = useRef<FlutterCupertinoInputElement>(null);
1557
- * // Call methods on the element
1558
- * ref.current?.finishRefresh('success');
1559
- * ```
1560
- */
1561
- interface FlutterCupertinoInputElement extends WebFElementWithMethods<{
1562
- getValue(): string;
1563
- setValue(value: string): void;
1564
- focus(): void;
1565
- blur(): void;
1566
- clear(): void;
1567
- }> {
1568
- }
1569
- /**
1570
- * FlutterCupertinoInput - WebF FlutterCupertinoInput component
1571
- *
1572
- * @example
1573
- * ```tsx
1574
- * const ref = useRef<FlutterCupertinoInputElement>(null);
1575
- *
1576
- * <FlutterCupertinoInput
1577
- * ref={ref}
1578
- * // Add props here
1579
- * >
1580
- * Content
1581
- * </FlutterCupertinoInput>
1582
- *
1583
- * // Call methods on the element
1584
- * ref.current?.finishRefresh('success');
1585
- * ```
1586
- */
1587
- declare const FlutterCupertinoInput: React.ForwardRefExoticComponent<FlutterCupertinoInputProps & {
1588
- className?: string;
1589
- style?: React.CSSProperties;
1590
- children?: React.ReactNode;
1591
- } & React.RefAttributes<FlutterCupertinoInputElement>>;
1592
- interface FlutterCupertinoInputPrefixProps {
1593
- /**
1594
- * HTML id attribute
1595
- */
1596
- id?: string;
1597
- /**
1598
- * Additional CSS styles
1599
- */
1600
- style?: React.CSSProperties;
1601
- /**
1602
- * Children elements
1603
- */
1604
- children?: React.ReactNode;
1605
- /**
1606
- * Additional CSS class names
1607
- */
1608
- className?: string;
1609
- }
1610
- interface FlutterCupertinoInputPrefixElement extends WebFElementWithMethods<{}> {
1611
- }
1612
- /**
1613
- * FlutterCupertinoInputPrefix - WebF FlutterCupertinoInputPrefix component
1614
- *
1615
- * @example
1616
- * ```tsx
1617
- *
1618
- * <FlutterCupertinoInputPrefix
1619
- * // Add props here
1620
- * >
1621
- * Content
1622
- * </FlutterCupertinoInputPrefix>
1623
- * ```
1624
- */
1625
- declare const FlutterCupertinoInputPrefix: React.ForwardRefExoticComponent<FlutterCupertinoInputPrefixProps & {
1626
- className?: string;
1627
- style?: React.CSSProperties;
1628
- children?: React.ReactNode;
1629
- } & React.RefAttributes<FlutterCupertinoInputPrefixElement>>;
1630
- interface FlutterCupertinoInputSuffixProps {
1631
- /**
1632
- * HTML id attribute
1633
- */
1634
- id?: string;
1635
- /**
1636
- * Additional CSS styles
1637
- */
1638
- style?: React.CSSProperties;
1639
- /**
1640
- * Children elements
1641
- */
1642
- children?: React.ReactNode;
1643
- /**
1644
- * Additional CSS class names
1645
- */
1646
- className?: string;
1647
- }
1648
- interface FlutterCupertinoInputSuffixElement extends WebFElementWithMethods<{}> {
1649
- }
1650
- /**
1651
- * FlutterCupertinoInputSuffix - WebF FlutterCupertinoInputSuffix component
1652
- *
1653
- * @example
1654
- * ```tsx
1655
- *
1656
- * <FlutterCupertinoInputSuffix
1657
- * // Add props here
1658
- * >
1659
- * Content
1660
- * </FlutterCupertinoInputSuffix>
1661
- * ```
1662
- */
1663
- declare const FlutterCupertinoInputSuffix: React.ForwardRefExoticComponent<FlutterCupertinoInputSuffixProps & {
1664
- className?: string;
1665
- style?: React.CSSProperties;
1666
- children?: React.ReactNode;
1667
- } & React.RefAttributes<FlutterCupertinoInputSuffixElement>>;
1668
-
1669
268
  declare enum CupertinoIcons {
1670
269
  add = "add",
1671
270
  add_circled = "add_circled",
@@ -2990,67 +1589,1696 @@ declare enum CupertinoIcons {
2990
1589
  zoom_out = "zoom_out",
2991
1590
  zzz = "zzz"
2992
1591
  }
2993
- declare enum CupertinoColors {
2994
- activeBlue = "rgba(0, 122, 255, 1)",
2995
- activeGreen = "rgba(52, 199, 89, 1)",
2996
- activeOrange = "rgba(255, 149, 0, 1)",
2997
- black = "rgba(0, 0, 0, 1)",
2998
- darkBackgroundGray = "rgba(23, 23, 23, 1)",
2999
- destructiveRed = "rgba(255, 59, 48, 1)",
3000
- extraLightBackgroundGray = "rgba(239, 239, 244, 1)",
3001
- inactiveGray = "rgba(153, 153, 153, 1)",
3002
- label = "rgba(0, 0, 0, 1)",
3003
- lightBackgroundGray = "rgba(229, 229, 234, 1)",
3004
- link = "rgba(0, 122, 255, 1)",
3005
- opaqueSeparator = "rgba(198, 198, 200, 1)",
3006
- placeholderText = "rgba(60, 60, 67, 0.298)",
3007
- quaternaryLabel = "rgba(60, 60, 67, 0.176)",
3008
- quaternarySystemFill = "rgba(116, 116, 128, 0.078)",
3009
- secondaryLabel = "rgba(60, 60, 67, 0.6)",
3010
- secondarySystemBackground = "rgba(242, 242, 247, 1)",
3011
- secondarySystemFill = "rgba(120, 120, 128, 0.157)",
3012
- secondarySystemGroupedBackground = "rgba(255, 255, 255, 1)",
3013
- separator = "rgba(60, 60, 67, 0.286)",
3014
- systemBackground = "rgba(255, 255, 255, 1)",
3015
- systemBlue = "rgba(0, 122, 255, 1)",
3016
- systemBrown = "rgba(162, 132, 94, 1)",
3017
- systemCyan = "rgba(50, 173, 230, 1)",
3018
- systemFill = "rgba(120, 120, 128, 0.2)",
3019
- systemGreen = "rgba(52, 199, 89, 1)",
3020
- systemGrey = "rgba(142, 142, 147, 1)",
3021
- systemGrey2 = "rgba(174, 174, 178, 1)",
3022
- systemGrey3 = "rgba(199, 199, 204, 1)",
3023
- systemGrey4 = "rgba(209, 209, 214, 1)",
3024
- systemGrey5 = "rgba(229, 229, 234, 1)",
3025
- systemGrey6 = "rgba(242, 242, 247, 1)",
3026
- systemGroupedBackground = "rgba(242, 242, 247, 1)",
3027
- systemIndigo = "rgba(88, 86, 214, 1)",
3028
- systemMint = "rgba(0, 199, 190, 1)",
3029
- systemOrange = "rgba(255, 149, 0, 1)",
3030
- systemPink = "rgba(255, 45, 85, 1)",
3031
- systemPurple = "rgba(175, 82, 222, 1)",
3032
- systemRed = "rgba(255, 59, 48, 1)",
3033
- systemTeal = "rgba(90, 200, 250, 1)",
3034
- systemYellow = "rgba(255, 204, 0, 1)",
3035
- tertiaryLabel = "rgba(60, 60, 67, 0.298)",
3036
- tertiarySystemBackground = "rgba(255, 255, 255, 1)",
3037
- tertiarySystemFill = "rgba(118, 118, 128, 0.118)",
3038
- tertiarySystemGroupedBackground = "rgba(242, 242, 247, 1)",
3039
- transparent = "rgba(0, 0, 0, 0)",
3040
- white = "rgba(255, 255, 255, 1)"
1592
+ declare enum CupertinoColors {
1593
+ activeBlue = "rgba(0, 122, 255, 1)",
1594
+ activeGreen = "rgba(52, 199, 89, 1)",
1595
+ activeOrange = "rgba(255, 149, 0, 1)",
1596
+ black = "rgba(0, 0, 0, 1)",
1597
+ darkBackgroundGray = "rgba(23, 23, 23, 1)",
1598
+ destructiveRed = "rgba(255, 59, 48, 1)",
1599
+ extraLightBackgroundGray = "rgba(239, 239, 244, 1)",
1600
+ inactiveGray = "rgba(153, 153, 153, 1)",
1601
+ label = "rgba(0, 0, 0, 1)",
1602
+ lightBackgroundGray = "rgba(229, 229, 234, 1)",
1603
+ link = "rgba(0, 122, 255, 1)",
1604
+ opaqueSeparator = "rgba(198, 198, 200, 1)",
1605
+ placeholderText = "rgba(60, 60, 67, 0.298)",
1606
+ quaternaryLabel = "rgba(60, 60, 67, 0.176)",
1607
+ quaternarySystemFill = "rgba(116, 116, 128, 0.078)",
1608
+ secondaryLabel = "rgba(60, 60, 67, 0.6)",
1609
+ secondarySystemBackground = "rgba(242, 242, 247, 1)",
1610
+ secondarySystemFill = "rgba(120, 120, 128, 0.157)",
1611
+ secondarySystemGroupedBackground = "rgba(255, 255, 255, 1)",
1612
+ separator = "rgba(60, 60, 67, 0.286)",
1613
+ systemBackground = "rgba(255, 255, 255, 1)",
1614
+ systemBlue = "rgba(0, 122, 255, 1)",
1615
+ systemBrown = "rgba(162, 132, 94, 1)",
1616
+ systemCyan = "rgba(50, 173, 230, 1)",
1617
+ systemFill = "rgba(120, 120, 128, 0.2)",
1618
+ systemGreen = "rgba(52, 199, 89, 1)",
1619
+ systemGrey = "rgba(142, 142, 147, 1)",
1620
+ systemGrey2 = "rgba(174, 174, 178, 1)",
1621
+ systemGrey3 = "rgba(199, 199, 204, 1)",
1622
+ systemGrey4 = "rgba(209, 209, 214, 1)",
1623
+ systemGrey5 = "rgba(229, 229, 234, 1)",
1624
+ systemGrey6 = "rgba(242, 242, 247, 1)",
1625
+ systemGroupedBackground = "rgba(242, 242, 247, 1)",
1626
+ systemIndigo = "rgba(88, 86, 214, 1)",
1627
+ systemMint = "rgba(0, 199, 190, 1)",
1628
+ systemOrange = "rgba(255, 149, 0, 1)",
1629
+ systemPink = "rgba(255, 45, 85, 1)",
1630
+ systemPurple = "rgba(175, 82, 222, 1)",
1631
+ systemRed = "rgba(255, 59, 48, 1)",
1632
+ systemTeal = "rgba(90, 200, 250, 1)",
1633
+ systemYellow = "rgba(255, 204, 0, 1)",
1634
+ tertiaryLabel = "rgba(60, 60, 67, 0.298)",
1635
+ tertiarySystemBackground = "rgba(255, 255, 255, 1)",
1636
+ tertiarySystemFill = "rgba(118, 118, 128, 0.118)",
1637
+ tertiarySystemGroupedBackground = "rgba(242, 242, 247, 1)",
1638
+ transparent = "rgba(0, 0, 0, 0)",
1639
+ white = "rgba(255, 255, 255, 1)"
1640
+ }
1641
+
1642
+ interface FlutterCupertinoIconProps {
1643
+ /**
1644
+ * type property
1645
+ * @default undefined
1646
+ */
1647
+ type?: CupertinoIcons;
1648
+ /**
1649
+ * label property
1650
+ * @default undefined
1651
+ */
1652
+ label?: string;
1653
+ /**
1654
+ * HTML id attribute
1655
+ */
1656
+ id?: string;
1657
+ /**
1658
+ * Additional CSS styles
1659
+ */
1660
+ style?: React.CSSProperties;
1661
+ /**
1662
+ * Children elements
1663
+ */
1664
+ children?: React.ReactNode;
1665
+ /**
1666
+ * Additional CSS class names
1667
+ */
1668
+ className?: string;
1669
+ }
1670
+ interface FlutterCupertinoIconElement extends WebFElementWithMethods<{}> {
1671
+ }
1672
+ /**
1673
+ * FlutterCupertinoIcon - WebF FlutterCupertinoIcon component
1674
+ *
1675
+ * @example
1676
+ * ```tsx
1677
+ *
1678
+ * <FlutterCupertinoIcon
1679
+ * // Add props here
1680
+ * >
1681
+ * Content
1682
+ * </FlutterCupertinoIcon>
1683
+ * ```
1684
+ */
1685
+ declare const FlutterCupertinoIcon: React.ForwardRefExoticComponent<FlutterCupertinoIconProps & {
1686
+ className?: string;
1687
+ style?: React.CSSProperties;
1688
+ children?: React.ReactNode;
1689
+ } & React.RefAttributes<FlutterCupertinoIconElement>>;
1690
+
1691
+ interface FlutterCupertinoButtonProps {
1692
+ /**
1693
+ * Visual variant of the button.
1694
+ * - 'plain': Standard CupertinoButton
1695
+ * - 'filled': CupertinoButton.filled (ignores custom background color)
1696
+ * - 'tinted': CupertinoButton.tinted
1697
+ * Default: 'plain'
1698
+ */
1699
+ variant?: string;
1700
+ /**
1701
+ * Size style used to derive default padding and min height.
1702
+ * - 'small': minSize ~32, compact padding
1703
+ * - 'large': minSize ~44, comfortable padding
1704
+ * Default: 'small'
1705
+ */
1706
+ size?: string;
1707
+ /**
1708
+ * Disable interactions. When true, onPressed is null and the button uses a disabled color.
1709
+ */
1710
+ disabled?: boolean;
1711
+ /**
1712
+ * Opacity applied while pressed (0.0–1.0). Default: 0.4
1713
+ * Note: Accepts numeric value as a string.
1714
+ */
1715
+ pressedOpacity?: string;
1716
+ /**
1717
+ * Hex color used when disabled. Accepts '#RRGGBB' or '#AARRGGBB'.
1718
+ * Overrides the internally computed disabled color.
1719
+ */
1720
+ disabledColor?: string;
1721
+ /**
1722
+ * Fired when the button is pressed (not emitted when disabled).
1723
+ */
1724
+ onClick?: (event: Event) => void;
1725
+ /**
1726
+ * HTML id attribute
1727
+ */
1728
+ id?: string;
1729
+ /**
1730
+ * Additional CSS styles
1731
+ */
1732
+ style?: React.CSSProperties;
1733
+ /**
1734
+ * Children elements
1735
+ */
1736
+ children?: React.ReactNode;
1737
+ /**
1738
+ * Additional CSS class names
1739
+ */
1740
+ className?: string;
1741
+ }
1742
+ interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{}> {
1743
+ }
1744
+ /**
1745
+ * Properties for <flutter-cupertino-button>
1746
+ *
1747
+ * @example
1748
+ * ```tsx
1749
+ *
1750
+ * <FlutterCupertinoButton
1751
+ * // Add props here
1752
+ * >
1753
+ * Content
1754
+ * </FlutterCupertinoButton>
1755
+ * ```
1756
+ */
1757
+ declare const FlutterCupertinoButton: React.ForwardRefExoticComponent<FlutterCupertinoButtonProps & {
1758
+ className?: string;
1759
+ style?: React.CSSProperties;
1760
+ children?: React.ReactNode;
1761
+ } & React.RefAttributes<FlutterCupertinoButtonElement>>;
1762
+
1763
+ interface FlutterCupertinoAlertOptions {
1764
+ /**
1765
+ * Optional override title for this show() call.
1766
+ */
1767
+ title?: string;
1768
+ /**
1769
+ * Optional override message for this show() call.
1770
+ */
1771
+ message?: string;
1772
+ }
1773
+ interface FlutterCupertinoAlertProps {
1774
+ /**
1775
+ * Dialog title text.
1776
+ */
1777
+ title?: string;
1778
+ /**
1779
+ * Dialog message/body text.
1780
+ */
1781
+ message?: string;
1782
+ /**
1783
+ * Cancel button label. If empty or omitted, no cancel button is shown.
1784
+ */
1785
+ cancelText?: string;
1786
+ /**
1787
+ * Whether the cancel button is destructive (red).
1788
+ * Default: false.
1789
+ */
1790
+ cancelDestructive?: boolean;
1791
+ /**
1792
+ * Whether the cancel button is the default action.
1793
+ * Default: false.
1794
+ */
1795
+ cancelDefault?: boolean;
1796
+ /**
1797
+ * JSON-encoded text style for the cancel button label.
1798
+ * Example: '{"color":"#FF0000","fontSize":16,"fontWeight":"bold"}'
1799
+ */
1800
+ cancelTextStyle?: string;
1801
+ /**
1802
+ * Confirm button label.
1803
+ * Default: localized 'OK'.
1804
+ */
1805
+ confirmText?: string;
1806
+ /**
1807
+ * Whether the confirm button is the default action.
1808
+ * Default: true.
1809
+ */
1810
+ confirmDefault?: boolean;
1811
+ /**
1812
+ * Whether the confirm button is destructive.
1813
+ * Default: false.
1814
+ */
1815
+ confirmDestructive?: boolean;
1816
+ /**
1817
+ * JSON-encoded text style for the confirm button label.
1818
+ */
1819
+ confirmTextStyle?: string;
1820
+ /**
1821
+ * Fired when the cancel button is pressed.
1822
+ */
1823
+ onCancel?: (event: CustomEvent<void>) => void;
1824
+ /**
1825
+ * Fired when the confirm button is pressed.
1826
+ */
1827
+ onConfirm?: (event: CustomEvent<void>) => void;
1828
+ /**
1829
+ * HTML id attribute
1830
+ */
1831
+ id?: string;
1832
+ /**
1833
+ * Additional CSS styles
1834
+ */
1835
+ style?: React.CSSProperties;
1836
+ /**
1837
+ * Children elements
1838
+ */
1839
+ children?: React.ReactNode;
1840
+ /**
1841
+ * Additional CSS class names
1842
+ */
1843
+ className?: string;
1844
+ }
1845
+ /**
1846
+ * Element interface with methods accessible via ref
1847
+ * @example
1848
+ * ```tsx
1849
+ * const ref = useRef<FlutterCupertinoAlertElement>(null);
1850
+ * // Call methods on the element
1851
+ * ref.current?.finishRefresh('success');
1852
+ * ```
1853
+ */
1854
+ interface FlutterCupertinoAlertElement extends WebFElementWithMethods<{
1855
+ /**
1856
+ * Show the alert dialog.
1857
+ * Options override the current title/message for this call only.
1858
+ */
1859
+ show(options: FlutterCupertinoAlertOptions): void;
1860
+ /**
1861
+ * Hide the alert dialog if it is currently visible.
1862
+ */
1863
+ hide(): void;
1864
+ }> {
1865
+ }
1866
+ /**
1867
+ * Properties for <flutter-cupertino-alert>
1868
+ Imperative wrapper around Flutter's CupertinoAlertDialog.
1869
+ *
1870
+ * @example
1871
+ * ```tsx
1872
+ * const ref = useRef<FlutterCupertinoAlertElement>(null);
1873
+ *
1874
+ * <FlutterCupertinoAlert
1875
+ * ref={ref}
1876
+ * // Add props here
1877
+ * >
1878
+ * Content
1879
+ * </FlutterCupertinoAlert>
1880
+ *
1881
+ * // Call methods on the element
1882
+ * ref.current?.finishRefresh('success');
1883
+ * ```
1884
+ */
1885
+ declare const FlutterCupertinoAlert: React.ForwardRefExoticComponent<FlutterCupertinoAlertProps & {
1886
+ className?: string;
1887
+ style?: React.CSSProperties;
1888
+ children?: React.ReactNode;
1889
+ } & React.RefAttributes<FlutterCupertinoAlertElement>>;
1890
+
1891
+ interface FlutterCupertinoActionSheetAction {
1892
+ /**
1893
+ * Button label text.
1894
+ */
1895
+ text: string;
1896
+ /**
1897
+ * Marks this action as the default (emphasized) action.
1898
+ */
1899
+ isDefault?: boolean;
1900
+ /**
1901
+ * Marks this action as destructive (red).
1902
+ */
1903
+ isDestructive?: boolean;
1904
+ /**
1905
+ * Optional event name associated with this action.
1906
+ * If omitted, a name is derived from the text.
1907
+ */
1908
+ event?: string;
1909
+ }
1910
+ interface FlutterCupertinoActionSheetOptions {
1911
+ /**
1912
+ * Optional title text shown at the top of the sheet.
1913
+ */
1914
+ title?: string;
1915
+ /**
1916
+ * Optional message/body text shown below the title.
1917
+ */
1918
+ message?: string;
1919
+ /**
1920
+ * List of action buttons.
1921
+ * Each action maps to a row in the sheet.
1922
+ */
1923
+ actions?: FlutterCupertinoActionSheetAction[];
1924
+ /**
1925
+ * Optional cancel button displayed separately at the bottom.
1926
+ */
1927
+ cancelButton?: FlutterCupertinoActionSheetAction;
1928
+ }
1929
+ interface FlutterCupertinoActionSheetSelectDetail {
1930
+ /**
1931
+ * Action text.
1932
+ */
1933
+ text: string;
1934
+ /**
1935
+ * Event name for this action.
1936
+ */
1937
+ event: string;
1938
+ /**
1939
+ * Whether the action is the default one.
1940
+ */
1941
+ isDefault: boolean;
1942
+ /**
1943
+ * Whether the action is destructive.
1944
+ */
1945
+ isDestructive: boolean;
1946
+ /**
1947
+ * Zero-based index of the action within `actions`, if applicable.
1948
+ */
1949
+ index?: number;
1950
+ }
1951
+ interface FlutterCupertinoActionSheetProps {
1952
+ /**
1953
+ * Fired when any action (including cancel) is selected.
1954
+ * detail contains metadata about the selected action.
1955
+ */
1956
+ onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
1957
+ /**
1958
+ * HTML id attribute
1959
+ */
1960
+ id?: string;
1961
+ /**
1962
+ * Additional CSS styles
1963
+ */
1964
+ style?: React.CSSProperties;
1965
+ /**
1966
+ * Children elements
1967
+ */
1968
+ children?: React.ReactNode;
1969
+ /**
1970
+ * Additional CSS class names
1971
+ */
1972
+ className?: string;
1973
+ }
1974
+ /**
1975
+ * Element interface with methods accessible via ref
1976
+ * @example
1977
+ * ```tsx
1978
+ * const ref = useRef<FlutterCupertinoActionSheetElement>(null);
1979
+ * // Call methods on the element
1980
+ * ref.current?.finishRefresh('success');
1981
+ * ```
1982
+ */
1983
+ interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
1984
+ /**
1985
+ * Show the action sheet with the given options.
1986
+ */
1987
+ show(options: FlutterCupertinoActionSheetOptions): void;
1988
+ }> {
1989
+ }
1990
+ /**
1991
+ * Properties for <flutter-cupertino-action-sheet>.
1992
+ Imperative wrapper around Flutter's CupertinoActionSheet.
1993
+ *
1994
+ * @example
1995
+ * ```tsx
1996
+ * const ref = useRef<FlutterCupertinoActionSheetElement>(null);
1997
+ *
1998
+ * <FlutterCupertinoActionSheet
1999
+ * ref={ref}
2000
+ * // Add props here
2001
+ * >
2002
+ * Content
2003
+ * </FlutterCupertinoActionSheet>
2004
+ *
2005
+ * // Call methods on the element
2006
+ * ref.current?.finishRefresh('success');
2007
+ * ```
2008
+ */
2009
+ declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
2010
+ className?: string;
2011
+ style?: React.CSSProperties;
2012
+ children?: React.ReactNode;
2013
+ } & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
2014
+
2015
+ interface FlutterCupertinoToastOptions {
2016
+ content: string;
2017
+ type?: 'normal' | 'success' | 'warning' | 'error' | 'loading';
2018
+ duration?: number;
2019
+ }
2020
+ interface FlutterCupertinoToastProps {
2021
+ /**
2022
+ * HTML id attribute
2023
+ */
2024
+ id?: string;
2025
+ /**
2026
+ * Additional CSS styles
2027
+ */
2028
+ style?: React.CSSProperties;
2029
+ /**
2030
+ * Children elements
2031
+ */
2032
+ children?: React.ReactNode;
2033
+ /**
2034
+ * Additional CSS class names
2035
+ */
2036
+ className?: string;
2037
+ }
2038
+ /**
2039
+ * Element interface with methods accessible via ref
2040
+ * @example
2041
+ * ```tsx
2042
+ * const ref = useRef<FlutterCupertinoToastElement>(null);
2043
+ * // Call methods on the element
2044
+ * ref.current?.finishRefresh('success');
2045
+ * ```
2046
+ */
2047
+ interface FlutterCupertinoToastElement extends WebFElementWithMethods<{
2048
+ show(options: FlutterCupertinoToastOptions): void;
2049
+ close(): void;
2050
+ }> {
2051
+ }
2052
+ /**
2053
+ * FlutterCupertinoToast - WebF FlutterCupertinoToast component
2054
+ *
2055
+ * @example
2056
+ * ```tsx
2057
+ * const ref = useRef<FlutterCupertinoToastElement>(null);
2058
+ *
2059
+ * <FlutterCupertinoToast
2060
+ * ref={ref}
2061
+ * // Add props here
2062
+ * >
2063
+ * Content
2064
+ * </FlutterCupertinoToast>
2065
+ *
2066
+ * // Call methods on the element
2067
+ * ref.current?.finishRefresh('success');
2068
+ * ```
2069
+ */
2070
+ declare const FlutterCupertinoToast: React.ForwardRefExoticComponent<FlutterCupertinoToastProps & {
2071
+ className?: string;
2072
+ style?: React.CSSProperties;
2073
+ children?: React.ReactNode;
2074
+ } & React.RefAttributes<FlutterCupertinoToastElement>>;
2075
+
2076
+ interface FlutterCupertinoTimerPickerProps {
2077
+ /**
2078
+ * mode property
2079
+ * @default undefined
2080
+ */
2081
+ mode?: string;
2082
+ /**
2083
+ * initialTimerDuration property
2084
+ * @default undefined
2085
+ */
2086
+ initialTimerDuration?: number;
2087
+ /**
2088
+ * minuteInterval property
2089
+ * @default undefined
2090
+ */
2091
+ minuteInterval?: number;
2092
+ /**
2093
+ * secondInterval property
2094
+ * @default undefined
2095
+ */
2096
+ secondInterval?: number;
2097
+ /**
2098
+ * backgroundColor property
2099
+ * @default undefined
2100
+ */
2101
+ backgroundColor?: string;
2102
+ /**
2103
+ * height property
2104
+ * @default undefined
2105
+ */
2106
+ height?: number;
2107
+ /**
2108
+ * change event handler
2109
+ */
2110
+ onChange?: (event: CustomEvent<number>) => void;
2111
+ /**
2112
+ * HTML id attribute
2113
+ */
2114
+ id?: string;
2115
+ /**
2116
+ * Additional CSS styles
2117
+ */
2118
+ style?: React.CSSProperties;
2119
+ /**
2120
+ * Children elements
2121
+ */
2122
+ children?: React.ReactNode;
2123
+ /**
2124
+ * Additional CSS class names
2125
+ */
2126
+ className?: string;
2127
+ }
2128
+ interface FlutterCupertinoTimerPickerElement extends WebFElementWithMethods<{}> {
2129
+ }
2130
+ /**
2131
+ * FlutterCupertinoTimerPicker - WebF FlutterCupertinoTimerPicker component
2132
+ *
2133
+ * @example
2134
+ * ```tsx
2135
+ *
2136
+ * <FlutterCupertinoTimerPicker
2137
+ * // Add props here
2138
+ * >
2139
+ * Content
2140
+ * </FlutterCupertinoTimerPicker>
2141
+ * ```
2142
+ */
2143
+ declare const FlutterCupertinoTimerPicker: React.ForwardRefExoticComponent<FlutterCupertinoTimerPickerProps & {
2144
+ className?: string;
2145
+ style?: React.CSSProperties;
2146
+ children?: React.ReactNode;
2147
+ } & React.RefAttributes<FlutterCupertinoTimerPickerElement>>;
2148
+
2149
+ interface FlutterCupertinoTextareaProps {
2150
+ /**
2151
+ * val property
2152
+ * @default undefined
2153
+ */
2154
+ val?: string;
2155
+ /**
2156
+ * placeholder property
2157
+ * @default undefined
2158
+ */
2159
+ placeholder?: string;
2160
+ /**
2161
+ * disabled property
2162
+ * @default undefined
2163
+ */
2164
+ disabled?: boolean;
2165
+ /**
2166
+ * readonly property
2167
+ * @default undefined
2168
+ */
2169
+ readonly?: boolean;
2170
+ /**
2171
+ * maxLength property
2172
+ * @default undefined
2173
+ */
2174
+ maxLength?: number;
2175
+ /**
2176
+ * rows property
2177
+ * @default undefined
2178
+ */
2179
+ rows?: number;
2180
+ /**
2181
+ * showCount property
2182
+ * @default undefined
2183
+ */
2184
+ showCount?: boolean;
2185
+ /**
2186
+ * autoSize property
2187
+ * @default undefined
2188
+ */
2189
+ autoSize?: boolean;
2190
+ /**
2191
+ * transparent property
2192
+ * @default undefined
2193
+ */
2194
+ transparent?: boolean;
2195
+ /**
2196
+ * input event handler
2197
+ */
2198
+ onInput?: (event: CustomEvent<string>) => void;
2199
+ /**
2200
+ * complete event handler
2201
+ */
2202
+ onComplete?: (event: Event) => void;
2203
+ /**
2204
+ * HTML id attribute
2205
+ */
2206
+ id?: string;
2207
+ /**
2208
+ * Additional CSS styles
2209
+ */
2210
+ style?: React.CSSProperties;
2211
+ /**
2212
+ * Children elements
2213
+ */
2214
+ children?: React.ReactNode;
2215
+ /**
2216
+ * Additional CSS class names
2217
+ */
2218
+ className?: string;
2219
+ }
2220
+ /**
2221
+ * Element interface with methods accessible via ref
2222
+ * @example
2223
+ * ```tsx
2224
+ * const ref = useRef<FlutterCupertinoTextareaElement>(null);
2225
+ * // Call methods on the element
2226
+ * ref.current?.finishRefresh('success');
2227
+ * ```
2228
+ */
2229
+ interface FlutterCupertinoTextareaElement extends WebFElementWithMethods<{
2230
+ focus(): void;
2231
+ blur(): void;
2232
+ clear(): void;
2233
+ }> {
2234
+ }
2235
+ /**
2236
+ * FlutterCupertinoTextarea - WebF FlutterCupertinoTextarea component
2237
+ *
2238
+ * @example
2239
+ * ```tsx
2240
+ * const ref = useRef<FlutterCupertinoTextareaElement>(null);
2241
+ *
2242
+ * <FlutterCupertinoTextarea
2243
+ * ref={ref}
2244
+ * // Add props here
2245
+ * >
2246
+ * Content
2247
+ * </FlutterCupertinoTextarea>
2248
+ *
2249
+ * // Call methods on the element
2250
+ * ref.current?.finishRefresh('success');
2251
+ * ```
2252
+ */
2253
+ declare const FlutterCupertinoTextarea: React.ForwardRefExoticComponent<FlutterCupertinoTextareaProps & {
2254
+ className?: string;
2255
+ style?: React.CSSProperties;
2256
+ children?: React.ReactNode;
2257
+ } & React.RefAttributes<FlutterCupertinoTextareaElement>>;
2258
+
2259
+ interface FlutterCupertinoSwitchProps {
2260
+ /**
2261
+ * checked property
2262
+ * @default undefined
2263
+ */
2264
+ checked?: boolean;
2265
+ /**
2266
+ * disabled property
2267
+ * @default undefined
2268
+ */
2269
+ disabled?: boolean;
2270
+ /**
2271
+ * activeColor property
2272
+ * @default undefined
2273
+ */
2274
+ activeColor?: string;
2275
+ /**
2276
+ * inactiveColor property
2277
+ * @default undefined
2278
+ */
2279
+ inactiveColor?: string;
2280
+ /**
2281
+ * change event handler
2282
+ */
2283
+ onChange?: (event: CustomEvent<boolean>) => void;
2284
+ /**
2285
+ * HTML id attribute
2286
+ */
2287
+ id?: string;
2288
+ /**
2289
+ * Additional CSS styles
2290
+ */
2291
+ style?: React.CSSProperties;
2292
+ /**
2293
+ * Children elements
2294
+ */
2295
+ children?: React.ReactNode;
2296
+ /**
2297
+ * Additional CSS class names
2298
+ */
2299
+ className?: string;
2300
+ }
2301
+ interface FlutterCupertinoSwitchElement extends WebFElementWithMethods<{}> {
2302
+ }
2303
+ /**
2304
+ * FlutterCupertinoSwitch - WebF FlutterCupertinoSwitch component
2305
+ *
2306
+ * @example
2307
+ * ```tsx
2308
+ *
2309
+ * <FlutterCupertinoSwitch
2310
+ * // Add props here
2311
+ * >
2312
+ * Content
2313
+ * </FlutterCupertinoSwitch>
2314
+ * ```
2315
+ */
2316
+ declare const FlutterCupertinoSwitch: React.ForwardRefExoticComponent<FlutterCupertinoSwitchProps & {
2317
+ className?: string;
2318
+ style?: React.CSSProperties;
2319
+ children?: React.ReactNode;
2320
+ } & React.RefAttributes<FlutterCupertinoSwitchElement>>;
2321
+
2322
+ interface FlutterCupertinoSliderProps {
2323
+ /**
2324
+ * val property
2325
+ * @default undefined
2326
+ */
2327
+ val?: number;
2328
+ /**
2329
+ * min property
2330
+ * @default undefined
2331
+ */
2332
+ min?: number;
2333
+ /**
2334
+ * max property
2335
+ * @default undefined
2336
+ */
2337
+ max?: number;
2338
+ /**
2339
+ * step property
2340
+ * @default undefined
2341
+ */
2342
+ step?: number;
2343
+ /**
2344
+ * disabled property
2345
+ * @default undefined
2346
+ */
2347
+ disabled?: boolean;
2348
+ /**
2349
+ * change event handler
2350
+ */
2351
+ onChange?: (event: CustomEvent<number>) => void;
2352
+ /**
2353
+ * changestart event handler
2354
+ */
2355
+ onChangestart?: (event: CustomEvent<number>) => void;
2356
+ /**
2357
+ * changeend event handler
2358
+ */
2359
+ onChangeend?: (event: CustomEvent<number>) => void;
2360
+ /**
2361
+ * HTML id attribute
2362
+ */
2363
+ id?: string;
2364
+ /**
2365
+ * Additional CSS styles
2366
+ */
2367
+ style?: React.CSSProperties;
2368
+ /**
2369
+ * Children elements
2370
+ */
2371
+ children?: React.ReactNode;
2372
+ /**
2373
+ * Additional CSS class names
2374
+ */
2375
+ className?: string;
2376
+ }
2377
+ /**
2378
+ * Element interface with methods accessible via ref
2379
+ * @example
2380
+ * ```tsx
2381
+ * const ref = useRef<FlutterCupertinoSliderElement>(null);
2382
+ * // Call methods on the element
2383
+ * ref.current?.finishRefresh('success');
2384
+ * ```
2385
+ */
2386
+ interface FlutterCupertinoSliderElement extends WebFElementWithMethods<{
2387
+ getValue(): number;
2388
+ setValue(val: number): void;
2389
+ }> {
2390
+ }
2391
+ /**
2392
+ * FlutterCupertinoSlider - WebF FlutterCupertinoSlider component
2393
+ *
2394
+ * @example
2395
+ * ```tsx
2396
+ * const ref = useRef<FlutterCupertinoSliderElement>(null);
2397
+ *
2398
+ * <FlutterCupertinoSlider
2399
+ * ref={ref}
2400
+ * // Add props here
2401
+ * >
2402
+ * Content
2403
+ * </FlutterCupertinoSlider>
2404
+ *
2405
+ * // Call methods on the element
2406
+ * ref.current?.finishRefresh('success');
2407
+ * ```
2408
+ */
2409
+ declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCupertinoSliderProps & {
2410
+ className?: string;
2411
+ style?: React.CSSProperties;
2412
+ children?: React.ReactNode;
2413
+ } & React.RefAttributes<FlutterCupertinoSliderElement>>;
2414
+
2415
+ interface FlutterCupertinoSegmentedTabProps {
2416
+ /**
2417
+ * change event handler
2418
+ */
2419
+ onChange?: (event: CustomEvent<number>) => void;
2420
+ /**
2421
+ * HTML id attribute
2422
+ */
2423
+ id?: string;
2424
+ /**
2425
+ * Additional CSS styles
2426
+ */
2427
+ style?: React.CSSProperties;
2428
+ /**
2429
+ * Children elements
2430
+ */
2431
+ children?: React.ReactNode;
2432
+ /**
2433
+ * Additional CSS class names
2434
+ */
2435
+ className?: string;
2436
+ }
2437
+ interface FlutterCupertinoSegmentedTabElement extends WebFElementWithMethods<{}> {
2438
+ }
2439
+ /**
2440
+ * FlutterCupertinoSegmentedTab - WebF FlutterCupertinoSegmentedTab component
2441
+ *
2442
+ * @example
2443
+ * ```tsx
2444
+ *
2445
+ * <FlutterCupertinoSegmentedTab
2446
+ * // Add props here
2447
+ * >
2448
+ * Content
2449
+ * </FlutterCupertinoSegmentedTab>
2450
+ * ```
2451
+ */
2452
+ declare const FlutterCupertinoSegmentedTab: React.ForwardRefExoticComponent<FlutterCupertinoSegmentedTabProps & {
2453
+ className?: string;
2454
+ style?: React.CSSProperties;
2455
+ children?: React.ReactNode;
2456
+ } & React.RefAttributes<FlutterCupertinoSegmentedTabElement>>;
2457
+
2458
+ interface FlutterCupertinoSearchInputProps {
2459
+ /**
2460
+ * val property
2461
+ * @default undefined
2462
+ */
2463
+ val?: string;
2464
+ /**
2465
+ * placeholder property
2466
+ * @default undefined
2467
+ */
2468
+ placeholder?: string;
2469
+ /**
2470
+ * disabled property
2471
+ * @default undefined
2472
+ */
2473
+ disabled?: boolean;
2474
+ /**
2475
+ * type property
2476
+ * @default undefined
2477
+ */
2478
+ type?: string;
2479
+ /**
2480
+ * prefixIcon property
2481
+ * @default undefined
2482
+ */
2483
+ prefixIcon?: string;
2484
+ /**
2485
+ * suffixIcon property
2486
+ * @default undefined
2487
+ */
2488
+ suffixIcon?: string;
2489
+ /**
2490
+ * suffixModel property
2491
+ * @default undefined
2492
+ */
2493
+ suffixModel?: string;
2494
+ /**
2495
+ * itemColor property
2496
+ * @default undefined
2497
+ */
2498
+ itemColor?: string;
2499
+ /**
2500
+ * itemSize property
2501
+ * @default undefined
2502
+ */
2503
+ itemSize?: number;
2504
+ /**
2505
+ * autofocus property
2506
+ */
2507
+ autofocus: boolean;
2508
+ /**
2509
+ * input event handler
2510
+ */
2511
+ onInput?: (event: CustomEvent<string>) => void;
2512
+ /**
2513
+ * search event handler
2514
+ */
2515
+ onSearch?: (event: CustomEvent<string>) => void;
2516
+ /**
2517
+ * clear event handler
2518
+ */
2519
+ onClear?: (event: CustomEvent) => void;
2520
+ /**
2521
+ * HTML id attribute
2522
+ */
2523
+ id?: string;
2524
+ /**
2525
+ * Additional CSS styles
2526
+ */
2527
+ style?: React.CSSProperties;
2528
+ /**
2529
+ * Children elements
2530
+ */
2531
+ children?: React.ReactNode;
2532
+ /**
2533
+ * Additional CSS class names
2534
+ */
2535
+ className?: string;
2536
+ }
2537
+ /**
2538
+ * Element interface with methods accessible via ref
2539
+ * @example
2540
+ * ```tsx
2541
+ * const ref = useRef<FlutterCupertinoSearchInputElement>(null);
2542
+ * // Call methods on the element
2543
+ * ref.current?.finishRefresh('success');
2544
+ * ```
2545
+ */
2546
+ interface FlutterCupertinoSearchInputElement extends WebFElementWithMethods<{
2547
+ getValue(): string;
2548
+ setValue(value: string): void;
2549
+ focus(): void;
2550
+ blur(): void;
2551
+ clear(): void;
2552
+ }> {
2553
+ }
2554
+ /**
2555
+ * FlutterCupertinoSearchInput - WebF FlutterCupertinoSearchInput component
2556
+ *
2557
+ * @example
2558
+ * ```tsx
2559
+ * const ref = useRef<FlutterCupertinoSearchInputElement>(null);
2560
+ *
2561
+ * <FlutterCupertinoSearchInput
2562
+ * ref={ref}
2563
+ * // Add props here
2564
+ * >
2565
+ * Content
2566
+ * </FlutterCupertinoSearchInput>
2567
+ *
2568
+ * // Call methods on the element
2569
+ * ref.current?.finishRefresh('success');
2570
+ * ```
2571
+ */
2572
+ declare const FlutterCupertinoSearchInput: React.ForwardRefExoticComponent<FlutterCupertinoSearchInputProps & {
2573
+ className?: string;
2574
+ style?: React.CSSProperties;
2575
+ children?: React.ReactNode;
2576
+ } & React.RefAttributes<FlutterCupertinoSearchInputElement>>;
2577
+
2578
+ interface FlutterCupertinoRadioProps {
2579
+ /**
2580
+ * val property
2581
+ * @default undefined
2582
+ */
2583
+ val?: string;
2584
+ /**
2585
+ * groupValue property
2586
+ * @default undefined
2587
+ */
2588
+ groupValue?: string;
2589
+ /**
2590
+ * useCheckmarkStyle property
2591
+ * @default undefined
2592
+ */
2593
+ useCheckmarkStyle?: boolean;
2594
+ /**
2595
+ * disabled property
2596
+ * @default undefined
2597
+ */
2598
+ disabled?: boolean;
2599
+ /**
2600
+ * activeColor property
2601
+ * @default undefined
2602
+ */
2603
+ activeColor?: string;
2604
+ /**
2605
+ * focusColor property
2606
+ * @default undefined
2607
+ */
2608
+ focusColor?: string;
2609
+ /**
2610
+ * change event handler
2611
+ */
2612
+ onChange?: (event: CustomEvent<string>) => void;
2613
+ /**
2614
+ * HTML id attribute
2615
+ */
2616
+ id?: string;
2617
+ /**
2618
+ * Additional CSS styles
2619
+ */
2620
+ style?: React.CSSProperties;
2621
+ /**
2622
+ * Children elements
2623
+ */
2624
+ children?: React.ReactNode;
2625
+ /**
2626
+ * Additional CSS class names
2627
+ */
2628
+ className?: string;
2629
+ }
2630
+ interface FlutterCupertinoRadioElement extends WebFElementWithMethods<{}> {
2631
+ }
2632
+ /**
2633
+ * FlutterCupertinoRadio - WebF FlutterCupertinoRadio component
2634
+ *
2635
+ * @example
2636
+ * ```tsx
2637
+ *
2638
+ * <FlutterCupertinoRadio
2639
+ * // Add props here
2640
+ * >
2641
+ * Content
2642
+ * </FlutterCupertinoRadio>
2643
+ * ```
2644
+ */
2645
+ declare const FlutterCupertinoRadio: React.ForwardRefExoticComponent<FlutterCupertinoRadioProps & {
2646
+ className?: string;
2647
+ style?: React.CSSProperties;
2648
+ children?: React.ReactNode;
2649
+ } & React.RefAttributes<FlutterCupertinoRadioElement>>;
2650
+
2651
+ interface FlutterCupertinoPickerProps {
2652
+ /**
2653
+ * height property
2654
+ * @default undefined
2655
+ */
2656
+ height?: number;
2657
+ /**
2658
+ * itemHeight property
2659
+ * @default undefined
2660
+ */
2661
+ itemHeight?: number;
2662
+ /**
2663
+ * change event handler
2664
+ */
2665
+ onChange?: (event: CustomEvent<string>) => void;
2666
+ /**
2667
+ * HTML id attribute
2668
+ */
2669
+ id?: string;
2670
+ /**
2671
+ * Additional CSS styles
2672
+ */
2673
+ style?: React.CSSProperties;
2674
+ /**
2675
+ * Children elements
2676
+ */
2677
+ children?: React.ReactNode;
2678
+ /**
2679
+ * Additional CSS class names
2680
+ */
2681
+ className?: string;
2682
+ }
2683
+ interface FlutterCupertinoPickerElement extends WebFElementWithMethods<{}> {
2684
+ }
2685
+ /**
2686
+ * FlutterCupertinoPicker - WebF FlutterCupertinoPicker component
2687
+ *
2688
+ * @example
2689
+ * ```tsx
2690
+ *
2691
+ * <FlutterCupertinoPicker
2692
+ * // Add props here
2693
+ * >
2694
+ * Content
2695
+ * </FlutterCupertinoPicker>
2696
+ * ```
2697
+ */
2698
+ declare const FlutterCupertinoPicker: React.ForwardRefExoticComponent<FlutterCupertinoPickerProps & {
2699
+ className?: string;
2700
+ style?: React.CSSProperties;
2701
+ children?: React.ReactNode;
2702
+ } & React.RefAttributes<FlutterCupertinoPickerElement>>;
2703
+
2704
+ interface FlutterCupertinoPickerItemProps {
2705
+ /**
2706
+ * label property
2707
+ * @default undefined
2708
+ */
2709
+ label?: string;
2710
+ /**
2711
+ * val property
2712
+ * @default undefined
2713
+ */
2714
+ val?: string;
2715
+ /**
2716
+ * HTML id attribute
2717
+ */
2718
+ id?: string;
2719
+ /**
2720
+ * Additional CSS styles
2721
+ */
2722
+ style?: React.CSSProperties;
2723
+ /**
2724
+ * Children elements
2725
+ */
2726
+ children?: React.ReactNode;
2727
+ /**
2728
+ * Additional CSS class names
2729
+ */
2730
+ className?: string;
2731
+ }
2732
+ interface FlutterCupertinoPickerItemElement extends WebFElementWithMethods<{}> {
2733
+ }
2734
+ /**
2735
+ * FlutterCupertinoPickerItem - WebF FlutterCupertinoPickerItem component
2736
+ *
2737
+ * @example
2738
+ * ```tsx
2739
+ *
2740
+ * <FlutterCupertinoPickerItem
2741
+ * // Add props here
2742
+ * >
2743
+ * Content
2744
+ * </FlutterCupertinoPickerItem>
2745
+ * ```
2746
+ */
2747
+ declare const FlutterCupertinoPickerItem: React.ForwardRefExoticComponent<FlutterCupertinoPickerItemProps & {
2748
+ className?: string;
2749
+ style?: React.CSSProperties;
2750
+ children?: React.ReactNode;
2751
+ } & React.RefAttributes<FlutterCupertinoPickerItemElement>>;
2752
+
2753
+ interface FlutterCupertinoModalPopupProps {
2754
+ /**
2755
+ * visible property
2756
+ * @default undefined
2757
+ */
2758
+ visible?: boolean;
2759
+ /**
2760
+ * height property
2761
+ * @default undefined
2762
+ */
2763
+ height?: number;
2764
+ /**
2765
+ * surfacePainted property
2766
+ * @default undefined
2767
+ */
2768
+ surfacePainted?: boolean;
2769
+ /**
2770
+ * maskClosable property
2771
+ * @default undefined
2772
+ */
2773
+ maskClosable?: boolean;
2774
+ /**
2775
+ * backgroundOpacity property
2776
+ * @default undefined
2777
+ */
2778
+ backgroundOpacity?: number;
2779
+ /**
2780
+ * close event handler
2781
+ */
2782
+ onClose?: (event: CustomEvent) => void;
2783
+ /**
2784
+ * HTML id attribute
2785
+ */
2786
+ id?: string;
2787
+ /**
2788
+ * Additional CSS styles
2789
+ */
2790
+ style?: React.CSSProperties;
2791
+ /**
2792
+ * Children elements
2793
+ */
2794
+ children?: React.ReactNode;
2795
+ /**
2796
+ * Additional CSS class names
2797
+ */
2798
+ className?: string;
2799
+ }
2800
+ /**
2801
+ * Element interface with methods accessible via ref
2802
+ * @example
2803
+ * ```tsx
2804
+ * const ref = useRef<FlutterCupertinoModalPopupElement>(null);
2805
+ * // Call methods on the element
2806
+ * ref.current?.finishRefresh('success');
2807
+ * ```
2808
+ */
2809
+ interface FlutterCupertinoModalPopupElement extends WebFElementWithMethods<{
2810
+ show(): void;
2811
+ hide(): void;
2812
+ }> {
2813
+ }
2814
+ /**
2815
+ * FlutterCupertinoModalPopup - WebF FlutterCupertinoModalPopup component
2816
+ *
2817
+ * @example
2818
+ * ```tsx
2819
+ * const ref = useRef<FlutterCupertinoModalPopupElement>(null);
2820
+ *
2821
+ * <FlutterCupertinoModalPopup
2822
+ * ref={ref}
2823
+ * // Add props here
2824
+ * >
2825
+ * Content
2826
+ * </FlutterCupertinoModalPopup>
2827
+ *
2828
+ * // Call methods on the element
2829
+ * ref.current?.finishRefresh('success');
2830
+ * ```
2831
+ */
2832
+ declare const FlutterCupertinoModalPopup: React.ForwardRefExoticComponent<FlutterCupertinoModalPopupProps & {
2833
+ className?: string;
2834
+ style?: React.CSSProperties;
2835
+ children?: React.ReactNode;
2836
+ } & React.RefAttributes<FlutterCupertinoModalPopupElement>>;
2837
+
2838
+ interface FlutterCupertinoLoadingOptions {
2839
+ text?: string;
2840
+ }
2841
+ interface FlutterCupertinoLoadingProps {
2842
+ /**
2843
+ * maskClosable property
2844
+ * @default undefined
2845
+ */
2846
+ maskClosable?: boolean;
2847
+ /**
2848
+ * HTML id attribute
2849
+ */
2850
+ id?: string;
2851
+ /**
2852
+ * Additional CSS styles
2853
+ */
2854
+ style?: React.CSSProperties;
2855
+ /**
2856
+ * Children elements
2857
+ */
2858
+ children?: React.ReactNode;
2859
+ /**
2860
+ * Additional CSS class names
2861
+ */
2862
+ className?: string;
2863
+ }
2864
+ /**
2865
+ * Element interface with methods accessible via ref
2866
+ * @example
2867
+ * ```tsx
2868
+ * const ref = useRef<FlutterCupertinoLoadingElement>(null);
2869
+ * // Call methods on the element
2870
+ * ref.current?.finishRefresh('success');
2871
+ * ```
2872
+ */
2873
+ interface FlutterCupertinoLoadingElement extends WebFElementWithMethods<{
2874
+ show(options: FlutterCupertinoLoadingOptions): void;
2875
+ hide(): void;
2876
+ }> {
2877
+ }
2878
+ /**
2879
+ * FlutterCupertinoLoading - WebF FlutterCupertinoLoading component
2880
+ *
2881
+ * @example
2882
+ * ```tsx
2883
+ * const ref = useRef<FlutterCupertinoLoadingElement>(null);
2884
+ *
2885
+ * <FlutterCupertinoLoading
2886
+ * ref={ref}
2887
+ * // Add props here
2888
+ * >
2889
+ * Content
2890
+ * </FlutterCupertinoLoading>
2891
+ *
2892
+ * // Call methods on the element
2893
+ * ref.current?.finishRefresh('success');
2894
+ * ```
2895
+ */
2896
+ declare const FlutterCupertinoLoading: React.ForwardRefExoticComponent<FlutterCupertinoLoadingProps & {
2897
+ className?: string;
2898
+ style?: React.CSSProperties;
2899
+ children?: React.ReactNode;
2900
+ } & React.RefAttributes<FlutterCupertinoLoadingElement>>;
2901
+
2902
+ interface FlutterCupertinoListTileProps {
2903
+ /**
2904
+ * showChevron property
2905
+ * @default undefined
2906
+ */
2907
+ showChevron?: string;
2908
+ /**
2909
+ * click event handler
2910
+ */
2911
+ onClick?: (event: CustomEvent) => void;
2912
+ /**
2913
+ * HTML id attribute
2914
+ */
2915
+ id?: string;
2916
+ /**
2917
+ * Additional CSS styles
2918
+ */
2919
+ style?: React.CSSProperties;
2920
+ /**
2921
+ * Children elements
2922
+ */
2923
+ children?: React.ReactNode;
2924
+ /**
2925
+ * Additional CSS class names
2926
+ */
2927
+ className?: string;
2928
+ }
2929
+ interface FlutterCupertinoListTileElement extends WebFElementWithMethods<{}> {
2930
+ }
2931
+ /**
2932
+ * FlutterCupertinoListTile - WebF FlutterCupertinoListTile component
2933
+ *
2934
+ * @example
2935
+ * ```tsx
2936
+ *
2937
+ * <FlutterCupertinoListTile
2938
+ * // Add props here
2939
+ * >
2940
+ * Content
2941
+ * </FlutterCupertinoListTile>
2942
+ * ```
2943
+ */
2944
+ declare const FlutterCupertinoListTile: React.ForwardRefExoticComponent<FlutterCupertinoListTileProps & {
2945
+ className?: string;
2946
+ style?: React.CSSProperties;
2947
+ children?: React.ReactNode;
2948
+ } & React.RefAttributes<FlutterCupertinoListTileElement>>;
2949
+ interface FlutterCupertinoListTileLeadingProps {
2950
+ /**
2951
+ * HTML id attribute
2952
+ */
2953
+ id?: string;
2954
+ /**
2955
+ * Additional CSS styles
2956
+ */
2957
+ style?: React.CSSProperties;
2958
+ /**
2959
+ * Children elements
2960
+ */
2961
+ children?: React.ReactNode;
2962
+ /**
2963
+ * Additional CSS class names
2964
+ */
2965
+ className?: string;
2966
+ }
2967
+ interface FlutterCupertinoListTileLeadingElement extends WebFElementWithMethods<{}> {
2968
+ }
2969
+ /**
2970
+ * FlutterCupertinoListTileLeading - WebF FlutterCupertinoListTileLeading component
2971
+ *
2972
+ * @example
2973
+ * ```tsx
2974
+ *
2975
+ * <FlutterCupertinoListTileLeading
2976
+ * // Add props here
2977
+ * >
2978
+ * Content
2979
+ * </FlutterCupertinoListTileLeading>
2980
+ * ```
2981
+ */
2982
+ declare const FlutterCupertinoListTileLeading: React.ForwardRefExoticComponent<FlutterCupertinoListTileLeadingProps & {
2983
+ className?: string;
2984
+ style?: React.CSSProperties;
2985
+ children?: React.ReactNode;
2986
+ } & React.RefAttributes<FlutterCupertinoListTileLeadingElement>>;
2987
+ interface FlutterCupertinoListTileSubtitleProps {
2988
+ /**
2989
+ * HTML id attribute
2990
+ */
2991
+ id?: string;
2992
+ /**
2993
+ * Additional CSS styles
2994
+ */
2995
+ style?: React.CSSProperties;
2996
+ /**
2997
+ * Children elements
2998
+ */
2999
+ children?: React.ReactNode;
3000
+ /**
3001
+ * Additional CSS class names
3002
+ */
3003
+ className?: string;
3004
+ }
3005
+ interface FlutterCupertinoListTileSubtitleElement extends WebFElementWithMethods<{}> {
3006
+ }
3007
+ /**
3008
+ * FlutterCupertinoListTileSubtitle - WebF FlutterCupertinoListTileSubtitle component
3009
+ *
3010
+ * @example
3011
+ * ```tsx
3012
+ *
3013
+ * <FlutterCupertinoListTileSubtitle
3014
+ * // Add props here
3015
+ * >
3016
+ * Content
3017
+ * </FlutterCupertinoListTileSubtitle>
3018
+ * ```
3019
+ */
3020
+ declare const FlutterCupertinoListTileSubtitle: React.ForwardRefExoticComponent<FlutterCupertinoListTileSubtitleProps & {
3021
+ className?: string;
3022
+ style?: React.CSSProperties;
3023
+ children?: React.ReactNode;
3024
+ } & React.RefAttributes<FlutterCupertinoListTileSubtitleElement>>;
3025
+ interface FlutterCupertinoListTileAdditionalInfoProps {
3026
+ /**
3027
+ * HTML id attribute
3028
+ */
3029
+ id?: string;
3030
+ /**
3031
+ * Additional CSS styles
3032
+ */
3033
+ style?: React.CSSProperties;
3034
+ /**
3035
+ * Children elements
3036
+ */
3037
+ children?: React.ReactNode;
3038
+ /**
3039
+ * Additional CSS class names
3040
+ */
3041
+ className?: string;
3042
+ }
3043
+ interface FlutterCupertinoListTileAdditionalInfoElement extends WebFElementWithMethods<{}> {
3044
+ }
3045
+ /**
3046
+ * FlutterCupertinoListTileAdditionalInfo - WebF FlutterCupertinoListTileAdditionalInfo component
3047
+ *
3048
+ * @example
3049
+ * ```tsx
3050
+ *
3051
+ * <FlutterCupertinoListTileAdditionalInfo
3052
+ * // Add props here
3053
+ * >
3054
+ * Content
3055
+ * </FlutterCupertinoListTileAdditionalInfo>
3056
+ * ```
3057
+ */
3058
+ declare const FlutterCupertinoListTileAdditionalInfo: React.ForwardRefExoticComponent<FlutterCupertinoListTileAdditionalInfoProps & {
3059
+ className?: string;
3060
+ style?: React.CSSProperties;
3061
+ children?: React.ReactNode;
3062
+ } & React.RefAttributes<FlutterCupertinoListTileAdditionalInfoElement>>;
3063
+ interface FlutterCupertinoListTileTrailingProps {
3064
+ /**
3065
+ * HTML id attribute
3066
+ */
3067
+ id?: string;
3068
+ /**
3069
+ * Additional CSS styles
3070
+ */
3071
+ style?: React.CSSProperties;
3072
+ /**
3073
+ * Children elements
3074
+ */
3075
+ children?: React.ReactNode;
3076
+ /**
3077
+ * Additional CSS class names
3078
+ */
3079
+ className?: string;
3080
+ }
3081
+ interface FlutterCupertinoListTileTrailingElement extends WebFElementWithMethods<{}> {
3082
+ }
3083
+ /**
3084
+ * FlutterCupertinoListTileTrailing - WebF FlutterCupertinoListTileTrailing component
3085
+ *
3086
+ * @example
3087
+ * ```tsx
3088
+ *
3089
+ * <FlutterCupertinoListTileTrailing
3090
+ * // Add props here
3091
+ * >
3092
+ * Content
3093
+ * </FlutterCupertinoListTileTrailing>
3094
+ * ```
3095
+ */
3096
+ declare const FlutterCupertinoListTileTrailing: React.ForwardRefExoticComponent<FlutterCupertinoListTileTrailingProps & {
3097
+ className?: string;
3098
+ style?: React.CSSProperties;
3099
+ children?: React.ReactNode;
3100
+ } & React.RefAttributes<FlutterCupertinoListTileTrailingElement>>;
3101
+
3102
+ interface FlutterCupertinoListSectionProps {
3103
+ /**
3104
+ * insetGrouped property
3105
+ * @default undefined
3106
+ */
3107
+ insetGrouped?: string;
3108
+ /**
3109
+ * HTML id attribute
3110
+ */
3111
+ id?: string;
3112
+ /**
3113
+ * Additional CSS styles
3114
+ */
3115
+ style?: React.CSSProperties;
3116
+ /**
3117
+ * Children elements
3118
+ */
3119
+ children?: React.ReactNode;
3120
+ /**
3121
+ * Additional CSS class names
3122
+ */
3123
+ className?: string;
3124
+ }
3125
+ interface FlutterCupertinoListSectionElement extends WebFElementWithMethods<{}> {
3126
+ }
3127
+ /**
3128
+ * FlutterCupertinoListSection - WebF FlutterCupertinoListSection component
3129
+ *
3130
+ * @example
3131
+ * ```tsx
3132
+ *
3133
+ * <FlutterCupertinoListSection
3134
+ * // Add props here
3135
+ * >
3136
+ * Content
3137
+ * </FlutterCupertinoListSection>
3138
+ * ```
3139
+ */
3140
+ declare const FlutterCupertinoListSection: React.ForwardRefExoticComponent<FlutterCupertinoListSectionProps & {
3141
+ className?: string;
3142
+ style?: React.CSSProperties;
3143
+ children?: React.ReactNode;
3144
+ } & React.RefAttributes<FlutterCupertinoListSectionElement>>;
3145
+ interface FlutterCupertinoListSectionHeaderProps {
3146
+ /**
3147
+ * HTML id attribute
3148
+ */
3149
+ id?: string;
3150
+ /**
3151
+ * Additional CSS styles
3152
+ */
3153
+ style?: React.CSSProperties;
3154
+ /**
3155
+ * Children elements
3156
+ */
3157
+ children?: React.ReactNode;
3158
+ /**
3159
+ * Additional CSS class names
3160
+ */
3161
+ className?: string;
3162
+ }
3163
+ interface FlutterCupertinoListSectionHeaderElement extends WebFElementWithMethods<{}> {
3164
+ }
3165
+ /**
3166
+ * FlutterCupertinoListSectionHeader - WebF FlutterCupertinoListSectionHeader component
3167
+ *
3168
+ * @example
3169
+ * ```tsx
3170
+ *
3171
+ * <FlutterCupertinoListSectionHeader
3172
+ * // Add props here
3173
+ * >
3174
+ * Content
3175
+ * </FlutterCupertinoListSectionHeader>
3176
+ * ```
3177
+ */
3178
+ declare const FlutterCupertinoListSectionHeader: React.ForwardRefExoticComponent<FlutterCupertinoListSectionHeaderProps & {
3179
+ className?: string;
3180
+ style?: React.CSSProperties;
3181
+ children?: React.ReactNode;
3182
+ } & React.RefAttributes<FlutterCupertinoListSectionHeaderElement>>;
3183
+ interface FlutterCupertinoListSectionFooterProps {
3184
+ /**
3185
+ * HTML id attribute
3186
+ */
3187
+ id?: string;
3188
+ /**
3189
+ * Additional CSS styles
3190
+ */
3191
+ style?: React.CSSProperties;
3192
+ /**
3193
+ * Children elements
3194
+ */
3195
+ children?: React.ReactNode;
3196
+ /**
3197
+ * Additional CSS class names
3198
+ */
3199
+ className?: string;
3200
+ }
3201
+ interface FlutterCupertinoListSectionFooterElement extends WebFElementWithMethods<{}> {
3041
3202
  }
3203
+ /**
3204
+ * FlutterCupertinoListSectionFooter - WebF FlutterCupertinoListSectionFooter component
3205
+ *
3206
+ * @example
3207
+ * ```tsx
3208
+ *
3209
+ * <FlutterCupertinoListSectionFooter
3210
+ * // Add props here
3211
+ * >
3212
+ * Content
3213
+ * </FlutterCupertinoListSectionFooter>
3214
+ * ```
3215
+ */
3216
+ declare const FlutterCupertinoListSectionFooter: React.ForwardRefExoticComponent<FlutterCupertinoListSectionFooterProps & {
3217
+ className?: string;
3218
+ style?: React.CSSProperties;
3219
+ children?: React.ReactNode;
3220
+ } & React.RefAttributes<FlutterCupertinoListSectionFooterElement>>;
3042
3221
 
3043
- interface FlutterCupertinoIconProps {
3222
+ interface FlutterCupertinoInputProps {
3223
+ /**
3224
+ * val property
3225
+ * @default undefined
3226
+ */
3227
+ val?: string;
3228
+ /**
3229
+ * placeholder property
3230
+ * @default undefined
3231
+ */
3232
+ placeholder?: string;
3044
3233
  /**
3045
3234
  * type property
3046
3235
  * @default undefined
3047
3236
  */
3048
- type?: CupertinoIcons;
3237
+ type?: string;
3049
3238
  /**
3050
- * label property
3239
+ * disabled property
3051
3240
  * @default undefined
3052
3241
  */
3053
- label?: string;
3242
+ disabled?: boolean;
3243
+ /**
3244
+ * autofocus property
3245
+ */
3246
+ autofocus: boolean;
3247
+ /**
3248
+ * clearable property
3249
+ * @default undefined
3250
+ */
3251
+ clearable?: boolean;
3252
+ /**
3253
+ * maxlength property
3254
+ * @default undefined
3255
+ */
3256
+ maxlength?: number;
3257
+ /**
3258
+ * readonly property
3259
+ * @default undefined
3260
+ */
3261
+ readonly?: boolean;
3262
+ /**
3263
+ * input event handler
3264
+ */
3265
+ onInput?: (event: CustomEvent<string>) => void;
3266
+ /**
3267
+ * submit event handler
3268
+ */
3269
+ onSubmit?: (event: CustomEvent<string>) => void;
3270
+ /**
3271
+ * focus event handler
3272
+ */
3273
+ onFocus?: (event: CustomEvent) => void;
3274
+ /**
3275
+ * blur event handler
3276
+ */
3277
+ onBlur?: (event: CustomEvent) => void;
3278
+ /**
3279
+ * clear event handler
3280
+ */
3281
+ onClear?: (event: CustomEvent) => void;
3054
3282
  /**
3055
3283
  * HTML id attribute
3056
3284
  */
@@ -3068,26 +3296,122 @@ interface FlutterCupertinoIconProps {
3068
3296
  */
3069
3297
  className?: string;
3070
3298
  }
3071
- interface FlutterCupertinoIconElement extends WebFElementWithMethods<{}> {
3299
+ /**
3300
+ * Element interface with methods accessible via ref
3301
+ * @example
3302
+ * ```tsx
3303
+ * const ref = useRef<FlutterCupertinoInputElement>(null);
3304
+ * // Call methods on the element
3305
+ * ref.current?.finishRefresh('success');
3306
+ * ```
3307
+ */
3308
+ interface FlutterCupertinoInputElement extends WebFElementWithMethods<{
3309
+ getValue(): string;
3310
+ setValue(value: string): void;
3311
+ focus(): void;
3312
+ blur(): void;
3313
+ clear(): void;
3314
+ }> {
3072
3315
  }
3073
3316
  /**
3074
- * FlutterCupertinoIcon - WebF FlutterCupertinoIcon component
3317
+ * FlutterCupertinoInput - WebF FlutterCupertinoInput component
3318
+ *
3319
+ * @example
3320
+ * ```tsx
3321
+ * const ref = useRef<FlutterCupertinoInputElement>(null);
3322
+ *
3323
+ * <FlutterCupertinoInput
3324
+ * ref={ref}
3325
+ * // Add props here
3326
+ * >
3327
+ * Content
3328
+ * </FlutterCupertinoInput>
3329
+ *
3330
+ * // Call methods on the element
3331
+ * ref.current?.finishRefresh('success');
3332
+ * ```
3333
+ */
3334
+ declare const FlutterCupertinoInput: React.ForwardRefExoticComponent<FlutterCupertinoInputProps & {
3335
+ className?: string;
3336
+ style?: React.CSSProperties;
3337
+ children?: React.ReactNode;
3338
+ } & React.RefAttributes<FlutterCupertinoInputElement>>;
3339
+ interface FlutterCupertinoInputPrefixProps {
3340
+ /**
3341
+ * HTML id attribute
3342
+ */
3343
+ id?: string;
3344
+ /**
3345
+ * Additional CSS styles
3346
+ */
3347
+ style?: React.CSSProperties;
3348
+ /**
3349
+ * Children elements
3350
+ */
3351
+ children?: React.ReactNode;
3352
+ /**
3353
+ * Additional CSS class names
3354
+ */
3355
+ className?: string;
3356
+ }
3357
+ interface FlutterCupertinoInputPrefixElement extends WebFElementWithMethods<{}> {
3358
+ }
3359
+ /**
3360
+ * FlutterCupertinoInputPrefix - WebF FlutterCupertinoInputPrefix component
3361
+ *
3362
+ * @example
3363
+ * ```tsx
3364
+ *
3365
+ * <FlutterCupertinoInputPrefix
3366
+ * // Add props here
3367
+ * >
3368
+ * Content
3369
+ * </FlutterCupertinoInputPrefix>
3370
+ * ```
3371
+ */
3372
+ declare const FlutterCupertinoInputPrefix: React.ForwardRefExoticComponent<FlutterCupertinoInputPrefixProps & {
3373
+ className?: string;
3374
+ style?: React.CSSProperties;
3375
+ children?: React.ReactNode;
3376
+ } & React.RefAttributes<FlutterCupertinoInputPrefixElement>>;
3377
+ interface FlutterCupertinoInputSuffixProps {
3378
+ /**
3379
+ * HTML id attribute
3380
+ */
3381
+ id?: string;
3382
+ /**
3383
+ * Additional CSS styles
3384
+ */
3385
+ style?: React.CSSProperties;
3386
+ /**
3387
+ * Children elements
3388
+ */
3389
+ children?: React.ReactNode;
3390
+ /**
3391
+ * Additional CSS class names
3392
+ */
3393
+ className?: string;
3394
+ }
3395
+ interface FlutterCupertinoInputSuffixElement extends WebFElementWithMethods<{}> {
3396
+ }
3397
+ /**
3398
+ * FlutterCupertinoInputSuffix - WebF FlutterCupertinoInputSuffix component
3075
3399
  *
3076
3400
  * @example
3077
3401
  * ```tsx
3078
3402
  *
3079
- * <FlutterCupertinoIcon
3403
+ * <FlutterCupertinoInputSuffix
3080
3404
  * // Add props here
3081
3405
  * >
3082
3406
  * Content
3083
- * </FlutterCupertinoIcon>
3407
+ * </FlutterCupertinoInputSuffix>
3084
3408
  * ```
3085
3409
  */
3086
- declare const FlutterCupertinoIcon: React.ForwardRefExoticComponent<FlutterCupertinoIconProps & {
3410
+ declare const FlutterCupertinoInputSuffix: React.ForwardRefExoticComponent<FlutterCupertinoInputSuffixProps & {
3087
3411
  className?: string;
3088
3412
  style?: React.CSSProperties;
3089
3413
  children?: React.ReactNode;
3090
- } & React.RefAttributes<FlutterCupertinoIconElement>>;
3414
+ } & React.RefAttributes<FlutterCupertinoInputSuffixElement>>;
3091
3415
 
3092
3416
  interface FlutterCupertinoFormSectionProps {
3093
3417
  /**
@@ -3621,272 +3945,4 @@ declare const FlutterCupertinoCheckbox: React.ForwardRefExoticComponent<FlutterC
3621
3945
  children?: React.ReactNode;
3622
3946
  } & React.RefAttributes<FlutterCupertinoCheckboxElement>>;
3623
3947
 
3624
- interface FlutterCupertinoButtonProps {
3625
- /**
3626
- * Visual variant of the button.
3627
- * - 'plain': Standard CupertinoButton
3628
- * - 'filled': CupertinoButton.filled (ignores custom background color)
3629
- * - 'tinted': CupertinoButton.tinted
3630
- * Default: 'plain'
3631
- */
3632
- variant?: string;
3633
- /**
3634
- * Size style used to derive default padding and min height.
3635
- * - 'small': minSize ~32, compact padding
3636
- * - 'large': minSize ~44, comfortable padding
3637
- * Default: 'small'
3638
- */
3639
- size?: string;
3640
- /**
3641
- * Disable interactions. When true, onPressed is null and the button uses a disabled color.
3642
- */
3643
- disabled?: boolean;
3644
- /**
3645
- * Opacity applied while pressed (0.0–1.0). Default: 0.4
3646
- * Note: Accepts numeric value as a string.
3647
- */
3648
- pressedOpacity?: string;
3649
- /**
3650
- * Hex color used when disabled. Accepts '#RRGGBB' or '#AARRGGBB'.
3651
- * Overrides the internally computed disabled color.
3652
- */
3653
- disabledColor?: string;
3654
- /**
3655
- * Fired when the button is pressed (not emitted when disabled).
3656
- */
3657
- onClick?: (event: Event) => void;
3658
- /**
3659
- * HTML id attribute
3660
- */
3661
- id?: string;
3662
- /**
3663
- * Additional CSS styles
3664
- */
3665
- style?: React.CSSProperties;
3666
- /**
3667
- * Children elements
3668
- */
3669
- children?: React.ReactNode;
3670
- /**
3671
- * Additional CSS class names
3672
- */
3673
- className?: string;
3674
- }
3675
- interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{}> {
3676
- }
3677
- /**
3678
- * Properties for <flutter-cupertino-button>
3679
- *
3680
- * @example
3681
- * ```tsx
3682
- *
3683
- * <FlutterCupertinoButton
3684
- * // Add props here
3685
- * >
3686
- * Content
3687
- * </FlutterCupertinoButton>
3688
- * ```
3689
- */
3690
- declare const FlutterCupertinoButton: React.ForwardRefExoticComponent<FlutterCupertinoButtonProps & {
3691
- className?: string;
3692
- style?: React.CSSProperties;
3693
- children?: React.ReactNode;
3694
- } & React.RefAttributes<FlutterCupertinoButtonElement>>;
3695
-
3696
- interface FlutterCupertinoAlertOptions {
3697
- title?: string;
3698
- message?: string;
3699
- }
3700
- interface FlutterCupertinoAlertProps {
3701
- /**
3702
- * title property
3703
- * @default undefined
3704
- */
3705
- title?: string;
3706
- /**
3707
- * message property
3708
- * @default undefined
3709
- */
3710
- message?: string;
3711
- /**
3712
- * cancelText property
3713
- * @default undefined
3714
- */
3715
- cancelText?: string;
3716
- /**
3717
- * cancelDestructive property
3718
- * @default undefined
3719
- */
3720
- cancelDestructive?: string;
3721
- /**
3722
- * cancelDefault property
3723
- * @default undefined
3724
- */
3725
- cancelDefault?: string;
3726
- /**
3727
- * cancelTextStyle property
3728
- * @default undefined
3729
- */
3730
- cancelTextStyle?: string;
3731
- /**
3732
- * confirmText property
3733
- * @default undefined
3734
- */
3735
- confirmText?: string;
3736
- /**
3737
- * confirmDefault property
3738
- * @default undefined
3739
- */
3740
- confirmDefault?: string;
3741
- /**
3742
- * confirmDestructive property
3743
- * @default undefined
3744
- */
3745
- confirmDestructive?: string;
3746
- /**
3747
- * confirmTextStyle property
3748
- * @default undefined
3749
- */
3750
- confirmTextStyle?: string;
3751
- /**
3752
- * cancel event handler
3753
- */
3754
- onCancel?: (event: CustomEvent) => void;
3755
- /**
3756
- * confirm event handler
3757
- */
3758
- onConfirm?: (event: CustomEvent) => void;
3759
- /**
3760
- * HTML id attribute
3761
- */
3762
- id?: string;
3763
- /**
3764
- * Additional CSS styles
3765
- */
3766
- style?: React.CSSProperties;
3767
- /**
3768
- * Children elements
3769
- */
3770
- children?: React.ReactNode;
3771
- /**
3772
- * Additional CSS class names
3773
- */
3774
- className?: string;
3775
- }
3776
- /**
3777
- * Element interface with methods accessible via ref
3778
- * @example
3779
- * ```tsx
3780
- * const ref = useRef<FlutterCupertinoAlertElement>(null);
3781
- * // Call methods on the element
3782
- * ref.current?.finishRefresh('success');
3783
- * ```
3784
- */
3785
- interface FlutterCupertinoAlertElement extends WebFElementWithMethods<{
3786
- show(options: FlutterCupertinoAlertOptions): void;
3787
- hide(): void;
3788
- }> {
3789
- }
3790
- /**
3791
- * FlutterCupertinoAlert - WebF FlutterCupertinoAlert component
3792
- *
3793
- * @example
3794
- * ```tsx
3795
- * const ref = useRef<FlutterCupertinoAlertElement>(null);
3796
- *
3797
- * <FlutterCupertinoAlert
3798
- * ref={ref}
3799
- * // Add props here
3800
- * >
3801
- * Content
3802
- * </FlutterCupertinoAlert>
3803
- *
3804
- * // Call methods on the element
3805
- * ref.current?.finishRefresh('success');
3806
- * ```
3807
- */
3808
- declare const FlutterCupertinoAlert: React.ForwardRefExoticComponent<FlutterCupertinoAlertProps & {
3809
- className?: string;
3810
- style?: React.CSSProperties;
3811
- children?: React.ReactNode;
3812
- } & React.RefAttributes<FlutterCupertinoAlertElement>>;
3813
-
3814
- interface FlutterCupertinoActionSheetAction {
3815
- text: string;
3816
- isDefault?: boolean;
3817
- isDestructive?: boolean;
3818
- event?: string;
3819
- }
3820
- interface FlutterCupertinoActionSheetOptions {
3821
- title?: string;
3822
- message?: string;
3823
- actions?: FlutterCupertinoActionSheetAction[];
3824
- cancelButton?: FlutterCupertinoActionSheetAction;
3825
- }
3826
- interface FlutterCupertinoActionSheetSelectDetail {
3827
- text: string;
3828
- event: string;
3829
- isDefault: boolean;
3830
- isDestructive: boolean;
3831
- index?: number;
3832
- }
3833
- interface FlutterCupertinoActionSheetProps {
3834
- /**
3835
- * select event handler
3836
- */
3837
- onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
3838
- /**
3839
- * HTML id attribute
3840
- */
3841
- id?: string;
3842
- /**
3843
- * Additional CSS styles
3844
- */
3845
- style?: React.CSSProperties;
3846
- /**
3847
- * Children elements
3848
- */
3849
- children?: React.ReactNode;
3850
- /**
3851
- * Additional CSS class names
3852
- */
3853
- className?: string;
3854
- }
3855
- /**
3856
- * Element interface with methods accessible via ref
3857
- * @example
3858
- * ```tsx
3859
- * const ref = useRef<FlutterCupertinoActionSheetElement>(null);
3860
- * // Call methods on the element
3861
- * ref.current?.finishRefresh('success');
3862
- * ```
3863
- */
3864
- interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
3865
- show(options: FlutterCupertinoActionSheetOptions): void;
3866
- }> {
3867
- }
3868
- /**
3869
- * FlutterCupertinoActionSheet - WebF FlutterCupertinoActionSheet component
3870
- *
3871
- * @example
3872
- * ```tsx
3873
- * const ref = useRef<FlutterCupertinoActionSheetElement>(null);
3874
- *
3875
- * <FlutterCupertinoActionSheet
3876
- * ref={ref}
3877
- * // Add props here
3878
- * >
3879
- * Content
3880
- * </FlutterCupertinoActionSheet>
3881
- *
3882
- * // Call methods on the element
3883
- * ref.current?.finishRefresh('success');
3884
- * ```
3885
- */
3886
- declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
3887
- className?: string;
3888
- style?: React.CSSProperties;
3889
- children?: React.ReactNode;
3890
- } & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
3891
-
3892
3948
  export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormRowError, type FlutterCupertinoFormRowErrorElement, FlutterCupertinoFormRowHelper, type FlutterCupertinoFormRowHelperElement, FlutterCupertinoFormRowPrefix, type FlutterCupertinoFormRowPrefixElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoFormSectionFooter, type FlutterCupertinoFormSectionFooterElement, FlutterCupertinoFormSectionHeader, type FlutterCupertinoFormSectionHeaderElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoInputPrefix, type FlutterCupertinoInputPrefixElement, FlutterCupertinoInputSuffix, type FlutterCupertinoInputSuffixElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoLoading, type FlutterCupertinoLoadingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoPickerItem, type FlutterCupertinoPickerItemElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSegmentedTab, type FlutterCupertinoSegmentedTabElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement, FlutterCupertinoToast, type FlutterCupertinoToastElement };