@openwebf/react-cupertino-ui 0.3.25 → 0.3.27
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 +231 -1
- package/dist/index.d.ts +231 -1
- package/dist/index.js +147 -42
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +144 -42
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,139 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WebFElementWithMethods } from '@openwebf/react-core-ui';
|
|
3
3
|
|
|
4
|
+
interface FlutterCupertinoInputProps {
|
|
5
|
+
/**
|
|
6
|
+
* Current text value of the input.
|
|
7
|
+
*/
|
|
8
|
+
val?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Placeholder text shown when the field is empty.
|
|
11
|
+
*/
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Input type / keyboard type.
|
|
15
|
+
* Supported values:
|
|
16
|
+
* - 'text' (default)
|
|
17
|
+
* - 'password'
|
|
18
|
+
* - 'number'
|
|
19
|
+
* - 'tel'
|
|
20
|
+
* - 'email'
|
|
21
|
+
* - 'url'
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the field is disabled (non-editable and dimmed).
|
|
26
|
+
* Default: false.
|
|
27
|
+
*/
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the field should autofocus when inserted.
|
|
31
|
+
* Default: false.
|
|
32
|
+
*/
|
|
33
|
+
autofocus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to show a clear button while editing.
|
|
36
|
+
* When true, a clear icon appears while text is non-empty.
|
|
37
|
+
* Default: false.
|
|
38
|
+
*/
|
|
39
|
+
clearable?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Maximum number of characters allowed.
|
|
42
|
+
* When set, input is truncated to this length.
|
|
43
|
+
*/
|
|
44
|
+
maxlength?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the field is read-only (focusable but not editable).
|
|
47
|
+
* Default: false.
|
|
48
|
+
*/
|
|
49
|
+
readonly?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Fired whenever the text changes.
|
|
52
|
+
* detail = current value.
|
|
53
|
+
*/
|
|
54
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
55
|
+
/**
|
|
56
|
+
* Fired when the user submits the field (e.g., presses the done/enter key).
|
|
57
|
+
* detail = current value.
|
|
58
|
+
*/
|
|
59
|
+
onSubmit?: (event: CustomEvent<string>) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Fired when the field gains focus.
|
|
62
|
+
*/
|
|
63
|
+
onFocus?: (event: CustomEvent<void>) => void;
|
|
64
|
+
/**
|
|
65
|
+
* Fired when the field loses focus.
|
|
66
|
+
*/
|
|
67
|
+
onBlur?: (event: CustomEvent<void>) => void;
|
|
68
|
+
/**
|
|
69
|
+
* Fired when the text is cleared via clear button or clear().
|
|
70
|
+
*/
|
|
71
|
+
onClear?: (event: CustomEvent<void>) => void;
|
|
72
|
+
/**
|
|
73
|
+
* HTML id attribute
|
|
74
|
+
*/
|
|
75
|
+
id?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Additional CSS styles
|
|
78
|
+
*/
|
|
79
|
+
style?: React.CSSProperties;
|
|
80
|
+
/**
|
|
81
|
+
* Children elements
|
|
82
|
+
*/
|
|
83
|
+
children?: React.ReactNode;
|
|
84
|
+
/**
|
|
85
|
+
* Additional CSS class names
|
|
86
|
+
*/
|
|
87
|
+
className?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Element interface with methods accessible via ref
|
|
91
|
+
* @example
|
|
92
|
+
* ```tsx
|
|
93
|
+
* const ref = useRef<FlutterCupertinoInputElement>(null);
|
|
94
|
+
* // Call methods on the element
|
|
95
|
+
* ref.current?.finishRefresh('success');
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
interface FlutterCupertinoInputElement extends WebFElementWithMethods<{
|
|
99
|
+
/**
|
|
100
|
+
* Programmatically focus the input.
|
|
101
|
+
*/
|
|
102
|
+
focus(): void;
|
|
103
|
+
/**
|
|
104
|
+
* Programmatically blur (unfocus) the input.
|
|
105
|
+
*/
|
|
106
|
+
blur(): void;
|
|
107
|
+
/**
|
|
108
|
+
* Clear the current value. Triggers the `clear` event.
|
|
109
|
+
*/
|
|
110
|
+
clear(): void;
|
|
111
|
+
}> {
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Properties for <flutter-cupertino-input>.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* ```tsx
|
|
118
|
+
* const ref = useRef<FlutterCupertinoInputElement>(null);
|
|
119
|
+
*
|
|
120
|
+
* <FlutterCupertinoInput
|
|
121
|
+
* ref={ref}
|
|
122
|
+
* // Add props here
|
|
123
|
+
* >
|
|
124
|
+
* Content
|
|
125
|
+
* </FlutterCupertinoInput>
|
|
126
|
+
*
|
|
127
|
+
* // Call methods on the element
|
|
128
|
+
* ref.current?.finishRefresh('success');
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
declare const FlutterCupertinoInput: React.ForwardRefExoticComponent<FlutterCupertinoInputProps & {
|
|
132
|
+
className?: string;
|
|
133
|
+
style?: React.CSSProperties;
|
|
134
|
+
children?: React.ReactNode;
|
|
135
|
+
} & React.RefAttributes<FlutterCupertinoInputElement>>;
|
|
136
|
+
|
|
4
137
|
interface FlutterCupertinoTabBarProps {
|
|
5
138
|
/**
|
|
6
139
|
* Zero-based active item index.
|
|
@@ -2488,6 +2621,103 @@ declare const FlutterCupertinoIcon: React.ForwardRefExoticComponent<FlutterCuper
|
|
|
2488
2621
|
children?: React.ReactNode;
|
|
2489
2622
|
} & React.RefAttributes<FlutterCupertinoIconElement>>;
|
|
2490
2623
|
|
|
2624
|
+
interface FlutterCupertinoFormSectionProps {
|
|
2625
|
+
/**
|
|
2626
|
+
* Whether this section uses the "insetGrouped" style.
|
|
2627
|
+
* When true, the section has insets and rounded corners similar to
|
|
2628
|
+
* `CupertinoFormSection.insetGrouped`.
|
|
2629
|
+
* Default: false.
|
|
2630
|
+
*/
|
|
2631
|
+
insetGrouped?: boolean;
|
|
2632
|
+
/**
|
|
2633
|
+
* Clip behavior applied to the section's background and children.
|
|
2634
|
+
* Accepts Flutter `Clip` values as strings, e.g.:
|
|
2635
|
+
* - 'none'
|
|
2636
|
+
* - 'hardEdge'
|
|
2637
|
+
* - 'antiAlias'
|
|
2638
|
+
* - 'antiAliasWithSaveLayer'
|
|
2639
|
+
*
|
|
2640
|
+
* Default: 'hardEdge'.
|
|
2641
|
+
*/
|
|
2642
|
+
clipBehavior?: string;
|
|
2643
|
+
/**
|
|
2644
|
+
* HTML id attribute
|
|
2645
|
+
*/
|
|
2646
|
+
id?: string;
|
|
2647
|
+
/**
|
|
2648
|
+
* Additional CSS styles
|
|
2649
|
+
*/
|
|
2650
|
+
style?: React.CSSProperties;
|
|
2651
|
+
/**
|
|
2652
|
+
* Children elements
|
|
2653
|
+
*/
|
|
2654
|
+
children?: React.ReactNode;
|
|
2655
|
+
/**
|
|
2656
|
+
* Additional CSS class names
|
|
2657
|
+
*/
|
|
2658
|
+
className?: string;
|
|
2659
|
+
}
|
|
2660
|
+
interface FlutterCupertinoFormSectionElement extends WebFElementWithMethods<{}> {
|
|
2661
|
+
}
|
|
2662
|
+
/**
|
|
2663
|
+
* Properties for <flutter-cupertino-form-section>.
|
|
2664
|
+
Wraps `CupertinoFormSection` with optional inset grouped styling.
|
|
2665
|
+
*
|
|
2666
|
+
* @example
|
|
2667
|
+
* ```tsx
|
|
2668
|
+
*
|
|
2669
|
+
* <FlutterCupertinoFormSection
|
|
2670
|
+
* // Add props here
|
|
2671
|
+
* >
|
|
2672
|
+
* Content
|
|
2673
|
+
* </FlutterCupertinoFormSection>
|
|
2674
|
+
* ```
|
|
2675
|
+
*/
|
|
2676
|
+
declare const FlutterCupertinoFormSection: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionProps & {
|
|
2677
|
+
className?: string;
|
|
2678
|
+
style?: React.CSSProperties;
|
|
2679
|
+
children?: React.ReactNode;
|
|
2680
|
+
} & React.RefAttributes<FlutterCupertinoFormSectionElement>>;
|
|
2681
|
+
interface FlutterCupertinoFormRowProps {
|
|
2682
|
+
/**
|
|
2683
|
+
* HTML id attribute
|
|
2684
|
+
*/
|
|
2685
|
+
id?: string;
|
|
2686
|
+
/**
|
|
2687
|
+
* Additional CSS styles
|
|
2688
|
+
*/
|
|
2689
|
+
style?: React.CSSProperties;
|
|
2690
|
+
/**
|
|
2691
|
+
* Children elements
|
|
2692
|
+
*/
|
|
2693
|
+
children?: React.ReactNode;
|
|
2694
|
+
/**
|
|
2695
|
+
* Additional CSS class names
|
|
2696
|
+
*/
|
|
2697
|
+
className?: string;
|
|
2698
|
+
}
|
|
2699
|
+
interface FlutterCupertinoFormRowElement extends WebFElementWithMethods<{}> {
|
|
2700
|
+
}
|
|
2701
|
+
/**
|
|
2702
|
+
* Properties for <flutter-cupertino-form-row>.
|
|
2703
|
+
Individual row inside a `CupertinoFormSection`.
|
|
2704
|
+
*
|
|
2705
|
+
* @example
|
|
2706
|
+
* ```tsx
|
|
2707
|
+
*
|
|
2708
|
+
* <FlutterCupertinoFormRow
|
|
2709
|
+
* // Add props here
|
|
2710
|
+
* >
|
|
2711
|
+
* Content
|
|
2712
|
+
* </FlutterCupertinoFormRow>
|
|
2713
|
+
* ```
|
|
2714
|
+
*/
|
|
2715
|
+
declare const FlutterCupertinoFormRow: React.ForwardRefExoticComponent<FlutterCupertinoFormRowProps & {
|
|
2716
|
+
className?: string;
|
|
2717
|
+
style?: React.CSSProperties;
|
|
2718
|
+
children?: React.ReactNode;
|
|
2719
|
+
} & React.RefAttributes<FlutterCupertinoFormRowElement>>;
|
|
2720
|
+
|
|
2491
2721
|
/**
|
|
2492
2722
|
* Properties for <flutter-cupertino-context-menu>.
|
|
2493
2723
|
* Wraps Flutter's CupertinoContextMenu.
|
|
@@ -3032,4 +3262,4 @@ declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<Flutt
|
|
|
3032
3262
|
children?: React.ReactNode;
|
|
3033
3263
|
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3034
3264
|
|
|
3035
|
-
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSlidingSegmentedControl, type FlutterCupertinoSlidingSegmentedControlElement, FlutterCupertinoSlidingSegmentedControlItem, type FlutterCupertinoSlidingSegmentedControlItemElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement };
|
|
3265
|
+
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSlidingSegmentedControl, type FlutterCupertinoSlidingSegmentedControlElement, FlutterCupertinoSlidingSegmentedControlItem, type FlutterCupertinoSlidingSegmentedControlItemElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,139 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WebFElementWithMethods } from '@openwebf/react-core-ui';
|
|
3
3
|
|
|
4
|
+
interface FlutterCupertinoInputProps {
|
|
5
|
+
/**
|
|
6
|
+
* Current text value of the input.
|
|
7
|
+
*/
|
|
8
|
+
val?: string;
|
|
9
|
+
/**
|
|
10
|
+
* Placeholder text shown when the field is empty.
|
|
11
|
+
*/
|
|
12
|
+
placeholder?: string;
|
|
13
|
+
/**
|
|
14
|
+
* Input type / keyboard type.
|
|
15
|
+
* Supported values:
|
|
16
|
+
* - 'text' (default)
|
|
17
|
+
* - 'password'
|
|
18
|
+
* - 'number'
|
|
19
|
+
* - 'tel'
|
|
20
|
+
* - 'email'
|
|
21
|
+
* - 'url'
|
|
22
|
+
*/
|
|
23
|
+
type?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Whether the field is disabled (non-editable and dimmed).
|
|
26
|
+
* Default: false.
|
|
27
|
+
*/
|
|
28
|
+
disabled?: boolean;
|
|
29
|
+
/**
|
|
30
|
+
* Whether the field should autofocus when inserted.
|
|
31
|
+
* Default: false.
|
|
32
|
+
*/
|
|
33
|
+
autofocus?: boolean;
|
|
34
|
+
/**
|
|
35
|
+
* Whether to show a clear button while editing.
|
|
36
|
+
* When true, a clear icon appears while text is non-empty.
|
|
37
|
+
* Default: false.
|
|
38
|
+
*/
|
|
39
|
+
clearable?: boolean;
|
|
40
|
+
/**
|
|
41
|
+
* Maximum number of characters allowed.
|
|
42
|
+
* When set, input is truncated to this length.
|
|
43
|
+
*/
|
|
44
|
+
maxlength?: number;
|
|
45
|
+
/**
|
|
46
|
+
* Whether the field is read-only (focusable but not editable).
|
|
47
|
+
* Default: false.
|
|
48
|
+
*/
|
|
49
|
+
readonly?: boolean;
|
|
50
|
+
/**
|
|
51
|
+
* Fired whenever the text changes.
|
|
52
|
+
* detail = current value.
|
|
53
|
+
*/
|
|
54
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
55
|
+
/**
|
|
56
|
+
* Fired when the user submits the field (e.g., presses the done/enter key).
|
|
57
|
+
* detail = current value.
|
|
58
|
+
*/
|
|
59
|
+
onSubmit?: (event: CustomEvent<string>) => void;
|
|
60
|
+
/**
|
|
61
|
+
* Fired when the field gains focus.
|
|
62
|
+
*/
|
|
63
|
+
onFocus?: (event: CustomEvent<void>) => void;
|
|
64
|
+
/**
|
|
65
|
+
* Fired when the field loses focus.
|
|
66
|
+
*/
|
|
67
|
+
onBlur?: (event: CustomEvent<void>) => void;
|
|
68
|
+
/**
|
|
69
|
+
* Fired when the text is cleared via clear button or clear().
|
|
70
|
+
*/
|
|
71
|
+
onClear?: (event: CustomEvent<void>) => void;
|
|
72
|
+
/**
|
|
73
|
+
* HTML id attribute
|
|
74
|
+
*/
|
|
75
|
+
id?: string;
|
|
76
|
+
/**
|
|
77
|
+
* Additional CSS styles
|
|
78
|
+
*/
|
|
79
|
+
style?: React.CSSProperties;
|
|
80
|
+
/**
|
|
81
|
+
* Children elements
|
|
82
|
+
*/
|
|
83
|
+
children?: React.ReactNode;
|
|
84
|
+
/**
|
|
85
|
+
* Additional CSS class names
|
|
86
|
+
*/
|
|
87
|
+
className?: string;
|
|
88
|
+
}
|
|
89
|
+
/**
|
|
90
|
+
* Element interface with methods accessible via ref
|
|
91
|
+
* @example
|
|
92
|
+
* ```tsx
|
|
93
|
+
* const ref = useRef<FlutterCupertinoInputElement>(null);
|
|
94
|
+
* // Call methods on the element
|
|
95
|
+
* ref.current?.finishRefresh('success');
|
|
96
|
+
* ```
|
|
97
|
+
*/
|
|
98
|
+
interface FlutterCupertinoInputElement extends WebFElementWithMethods<{
|
|
99
|
+
/**
|
|
100
|
+
* Programmatically focus the input.
|
|
101
|
+
*/
|
|
102
|
+
focus(): void;
|
|
103
|
+
/**
|
|
104
|
+
* Programmatically blur (unfocus) the input.
|
|
105
|
+
*/
|
|
106
|
+
blur(): void;
|
|
107
|
+
/**
|
|
108
|
+
* Clear the current value. Triggers the `clear` event.
|
|
109
|
+
*/
|
|
110
|
+
clear(): void;
|
|
111
|
+
}> {
|
|
112
|
+
}
|
|
113
|
+
/**
|
|
114
|
+
* Properties for <flutter-cupertino-input>.
|
|
115
|
+
*
|
|
116
|
+
* @example
|
|
117
|
+
* ```tsx
|
|
118
|
+
* const ref = useRef<FlutterCupertinoInputElement>(null);
|
|
119
|
+
*
|
|
120
|
+
* <FlutterCupertinoInput
|
|
121
|
+
* ref={ref}
|
|
122
|
+
* // Add props here
|
|
123
|
+
* >
|
|
124
|
+
* Content
|
|
125
|
+
* </FlutterCupertinoInput>
|
|
126
|
+
*
|
|
127
|
+
* // Call methods on the element
|
|
128
|
+
* ref.current?.finishRefresh('success');
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
declare const FlutterCupertinoInput: React.ForwardRefExoticComponent<FlutterCupertinoInputProps & {
|
|
132
|
+
className?: string;
|
|
133
|
+
style?: React.CSSProperties;
|
|
134
|
+
children?: React.ReactNode;
|
|
135
|
+
} & React.RefAttributes<FlutterCupertinoInputElement>>;
|
|
136
|
+
|
|
4
137
|
interface FlutterCupertinoTabBarProps {
|
|
5
138
|
/**
|
|
6
139
|
* Zero-based active item index.
|
|
@@ -2488,6 +2621,103 @@ declare const FlutterCupertinoIcon: React.ForwardRefExoticComponent<FlutterCuper
|
|
|
2488
2621
|
children?: React.ReactNode;
|
|
2489
2622
|
} & React.RefAttributes<FlutterCupertinoIconElement>>;
|
|
2490
2623
|
|
|
2624
|
+
interface FlutterCupertinoFormSectionProps {
|
|
2625
|
+
/**
|
|
2626
|
+
* Whether this section uses the "insetGrouped" style.
|
|
2627
|
+
* When true, the section has insets and rounded corners similar to
|
|
2628
|
+
* `CupertinoFormSection.insetGrouped`.
|
|
2629
|
+
* Default: false.
|
|
2630
|
+
*/
|
|
2631
|
+
insetGrouped?: boolean;
|
|
2632
|
+
/**
|
|
2633
|
+
* Clip behavior applied to the section's background and children.
|
|
2634
|
+
* Accepts Flutter `Clip` values as strings, e.g.:
|
|
2635
|
+
* - 'none'
|
|
2636
|
+
* - 'hardEdge'
|
|
2637
|
+
* - 'antiAlias'
|
|
2638
|
+
* - 'antiAliasWithSaveLayer'
|
|
2639
|
+
*
|
|
2640
|
+
* Default: 'hardEdge'.
|
|
2641
|
+
*/
|
|
2642
|
+
clipBehavior?: string;
|
|
2643
|
+
/**
|
|
2644
|
+
* HTML id attribute
|
|
2645
|
+
*/
|
|
2646
|
+
id?: string;
|
|
2647
|
+
/**
|
|
2648
|
+
* Additional CSS styles
|
|
2649
|
+
*/
|
|
2650
|
+
style?: React.CSSProperties;
|
|
2651
|
+
/**
|
|
2652
|
+
* Children elements
|
|
2653
|
+
*/
|
|
2654
|
+
children?: React.ReactNode;
|
|
2655
|
+
/**
|
|
2656
|
+
* Additional CSS class names
|
|
2657
|
+
*/
|
|
2658
|
+
className?: string;
|
|
2659
|
+
}
|
|
2660
|
+
interface FlutterCupertinoFormSectionElement extends WebFElementWithMethods<{}> {
|
|
2661
|
+
}
|
|
2662
|
+
/**
|
|
2663
|
+
* Properties for <flutter-cupertino-form-section>.
|
|
2664
|
+
Wraps `CupertinoFormSection` with optional inset grouped styling.
|
|
2665
|
+
*
|
|
2666
|
+
* @example
|
|
2667
|
+
* ```tsx
|
|
2668
|
+
*
|
|
2669
|
+
* <FlutterCupertinoFormSection
|
|
2670
|
+
* // Add props here
|
|
2671
|
+
* >
|
|
2672
|
+
* Content
|
|
2673
|
+
* </FlutterCupertinoFormSection>
|
|
2674
|
+
* ```
|
|
2675
|
+
*/
|
|
2676
|
+
declare const FlutterCupertinoFormSection: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionProps & {
|
|
2677
|
+
className?: string;
|
|
2678
|
+
style?: React.CSSProperties;
|
|
2679
|
+
children?: React.ReactNode;
|
|
2680
|
+
} & React.RefAttributes<FlutterCupertinoFormSectionElement>>;
|
|
2681
|
+
interface FlutterCupertinoFormRowProps {
|
|
2682
|
+
/**
|
|
2683
|
+
* HTML id attribute
|
|
2684
|
+
*/
|
|
2685
|
+
id?: string;
|
|
2686
|
+
/**
|
|
2687
|
+
* Additional CSS styles
|
|
2688
|
+
*/
|
|
2689
|
+
style?: React.CSSProperties;
|
|
2690
|
+
/**
|
|
2691
|
+
* Children elements
|
|
2692
|
+
*/
|
|
2693
|
+
children?: React.ReactNode;
|
|
2694
|
+
/**
|
|
2695
|
+
* Additional CSS class names
|
|
2696
|
+
*/
|
|
2697
|
+
className?: string;
|
|
2698
|
+
}
|
|
2699
|
+
interface FlutterCupertinoFormRowElement extends WebFElementWithMethods<{}> {
|
|
2700
|
+
}
|
|
2701
|
+
/**
|
|
2702
|
+
* Properties for <flutter-cupertino-form-row>.
|
|
2703
|
+
Individual row inside a `CupertinoFormSection`.
|
|
2704
|
+
*
|
|
2705
|
+
* @example
|
|
2706
|
+
* ```tsx
|
|
2707
|
+
*
|
|
2708
|
+
* <FlutterCupertinoFormRow
|
|
2709
|
+
* // Add props here
|
|
2710
|
+
* >
|
|
2711
|
+
* Content
|
|
2712
|
+
* </FlutterCupertinoFormRow>
|
|
2713
|
+
* ```
|
|
2714
|
+
*/
|
|
2715
|
+
declare const FlutterCupertinoFormRow: React.ForwardRefExoticComponent<FlutterCupertinoFormRowProps & {
|
|
2716
|
+
className?: string;
|
|
2717
|
+
style?: React.CSSProperties;
|
|
2718
|
+
children?: React.ReactNode;
|
|
2719
|
+
} & React.RefAttributes<FlutterCupertinoFormRowElement>>;
|
|
2720
|
+
|
|
2491
2721
|
/**
|
|
2492
2722
|
* Properties for <flutter-cupertino-context-menu>.
|
|
2493
2723
|
* Wraps Flutter's CupertinoContextMenu.
|
|
@@ -3032,4 +3262,4 @@ declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<Flutt
|
|
|
3032
3262
|
children?: React.ReactNode;
|
|
3033
3263
|
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3034
3264
|
|
|
3035
|
-
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSlidingSegmentedControl, type FlutterCupertinoSlidingSegmentedControlElement, FlutterCupertinoSlidingSegmentedControlItem, type FlutterCupertinoSlidingSegmentedControlItemElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement };
|
|
3265
|
+
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSlidingSegmentedControl, type FlutterCupertinoSlidingSegmentedControlElement, FlutterCupertinoSlidingSegmentedControlItem, type FlutterCupertinoSlidingSegmentedControlItemElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement };
|