@openwebf/react-cupertino-ui 0.3.31 → 0.3.32
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 +131 -1
- package/dist/index.d.ts +131 -1
- package/dist/index.js +112 -49
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +110 -48
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1,6 +1,136 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WebFElementWithMethods } from '@openwebf/react-core-ui';
|
|
3
3
|
|
|
4
|
+
interface FlutterCupertinoTextFormFieldRowProps {
|
|
5
|
+
/**
|
|
6
|
+
* Current text value of the field.
|
|
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
|
+
* Maximum number of characters allowed.
|
|
36
|
+
* When set, input is truncated to this length.
|
|
37
|
+
*/
|
|
38
|
+
maxlength?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the field is read-only (focusable but not editable).
|
|
41
|
+
* Default: false.
|
|
42
|
+
*/
|
|
43
|
+
readonly?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Fired whenever the text changes.
|
|
46
|
+
* detail = current value.
|
|
47
|
+
*/
|
|
48
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Fired when the user submits the field (e.g., presses the done/enter key).
|
|
51
|
+
* detail = current value.
|
|
52
|
+
*/
|
|
53
|
+
onSubmit?: (event: CustomEvent<string>) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Fired when the field gains focus.
|
|
56
|
+
*/
|
|
57
|
+
onFocus?: (event: CustomEvent<void>) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Fired when the field loses focus.
|
|
60
|
+
*/
|
|
61
|
+
onBlur?: (event: CustomEvent<void>) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Fired when the text is cleared via clear() or internal clear logic.
|
|
64
|
+
*/
|
|
65
|
+
onClear?: (event: CustomEvent<void>) => void;
|
|
66
|
+
/**
|
|
67
|
+
* HTML id attribute
|
|
68
|
+
*/
|
|
69
|
+
id?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Additional CSS styles
|
|
72
|
+
*/
|
|
73
|
+
style?: React.CSSProperties;
|
|
74
|
+
/**
|
|
75
|
+
* Children elements
|
|
76
|
+
*/
|
|
77
|
+
children?: React.ReactNode;
|
|
78
|
+
/**
|
|
79
|
+
* Additional CSS class names
|
|
80
|
+
*/
|
|
81
|
+
className?: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Element interface with methods accessible via ref
|
|
85
|
+
* @example
|
|
86
|
+
* ```tsx
|
|
87
|
+
* const ref = useRef<FlutterCupertinoTextFormFieldRowElement>(null);
|
|
88
|
+
* // Call methods on the element
|
|
89
|
+
* ref.current?.finishRefresh('success');
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
interface FlutterCupertinoTextFormFieldRowElement extends WebFElementWithMethods<{
|
|
93
|
+
/**
|
|
94
|
+
* Programmatically focus the input inside the row.
|
|
95
|
+
*/
|
|
96
|
+
focus(): void;
|
|
97
|
+
/**
|
|
98
|
+
* Programmatically blur (unfocus) the input inside the row.
|
|
99
|
+
*/
|
|
100
|
+
blur(): void;
|
|
101
|
+
/**
|
|
102
|
+
* Clear the current value. Triggers the `clear` event.
|
|
103
|
+
*/
|
|
104
|
+
clear(): void;
|
|
105
|
+
}> {
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Properties for <flutter-cupertino-text-form-field-row>.
|
|
109
|
+
This element behaves similarly to using a <flutter-cupertino-form-row>
|
|
110
|
+
with a <flutter-cupertino-input> as its child, but wrapped into a single
|
|
111
|
+
convenience component.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* ```tsx
|
|
115
|
+
* const ref = useRef<FlutterCupertinoTextFormFieldRowElement>(null);
|
|
116
|
+
*
|
|
117
|
+
* <FlutterCupertinoTextFormFieldRow
|
|
118
|
+
* ref={ref}
|
|
119
|
+
* // Add props here
|
|
120
|
+
* >
|
|
121
|
+
* Content
|
|
122
|
+
* </FlutterCupertinoTextFormFieldRow>
|
|
123
|
+
*
|
|
124
|
+
* // Call methods on the element
|
|
125
|
+
* ref.current?.finishRefresh('success');
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
declare const FlutterCupertinoTextFormFieldRow: React.ForwardRefExoticComponent<FlutterCupertinoTextFormFieldRowProps & {
|
|
129
|
+
className?: string;
|
|
130
|
+
style?: React.CSSProperties;
|
|
131
|
+
children?: React.ReactNode;
|
|
132
|
+
} & React.RefAttributes<FlutterCupertinoTextFormFieldRowElement>>;
|
|
133
|
+
|
|
4
134
|
interface FlutterCupertinoTabBarProps {
|
|
5
135
|
/**
|
|
6
136
|
* Zero-based active item index.
|
|
@@ -3262,4 +3392,4 @@ declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<Flutt
|
|
|
3262
3392
|
children?: React.ReactNode;
|
|
3263
3393
|
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3264
3394
|
|
|
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 };
|
|
3395
|
+
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, FlutterCupertinoTextFormFieldRow, type FlutterCupertinoTextFormFieldRowElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,136 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { WebFElementWithMethods } from '@openwebf/react-core-ui';
|
|
3
3
|
|
|
4
|
+
interface FlutterCupertinoTextFormFieldRowProps {
|
|
5
|
+
/**
|
|
6
|
+
* Current text value of the field.
|
|
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
|
+
* Maximum number of characters allowed.
|
|
36
|
+
* When set, input is truncated to this length.
|
|
37
|
+
*/
|
|
38
|
+
maxlength?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Whether the field is read-only (focusable but not editable).
|
|
41
|
+
* Default: false.
|
|
42
|
+
*/
|
|
43
|
+
readonly?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Fired whenever the text changes.
|
|
46
|
+
* detail = current value.
|
|
47
|
+
*/
|
|
48
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
49
|
+
/**
|
|
50
|
+
* Fired when the user submits the field (e.g., presses the done/enter key).
|
|
51
|
+
* detail = current value.
|
|
52
|
+
*/
|
|
53
|
+
onSubmit?: (event: CustomEvent<string>) => void;
|
|
54
|
+
/**
|
|
55
|
+
* Fired when the field gains focus.
|
|
56
|
+
*/
|
|
57
|
+
onFocus?: (event: CustomEvent<void>) => void;
|
|
58
|
+
/**
|
|
59
|
+
* Fired when the field loses focus.
|
|
60
|
+
*/
|
|
61
|
+
onBlur?: (event: CustomEvent<void>) => void;
|
|
62
|
+
/**
|
|
63
|
+
* Fired when the text is cleared via clear() or internal clear logic.
|
|
64
|
+
*/
|
|
65
|
+
onClear?: (event: CustomEvent<void>) => void;
|
|
66
|
+
/**
|
|
67
|
+
* HTML id attribute
|
|
68
|
+
*/
|
|
69
|
+
id?: string;
|
|
70
|
+
/**
|
|
71
|
+
* Additional CSS styles
|
|
72
|
+
*/
|
|
73
|
+
style?: React.CSSProperties;
|
|
74
|
+
/**
|
|
75
|
+
* Children elements
|
|
76
|
+
*/
|
|
77
|
+
children?: React.ReactNode;
|
|
78
|
+
/**
|
|
79
|
+
* Additional CSS class names
|
|
80
|
+
*/
|
|
81
|
+
className?: string;
|
|
82
|
+
}
|
|
83
|
+
/**
|
|
84
|
+
* Element interface with methods accessible via ref
|
|
85
|
+
* @example
|
|
86
|
+
* ```tsx
|
|
87
|
+
* const ref = useRef<FlutterCupertinoTextFormFieldRowElement>(null);
|
|
88
|
+
* // Call methods on the element
|
|
89
|
+
* ref.current?.finishRefresh('success');
|
|
90
|
+
* ```
|
|
91
|
+
*/
|
|
92
|
+
interface FlutterCupertinoTextFormFieldRowElement extends WebFElementWithMethods<{
|
|
93
|
+
/**
|
|
94
|
+
* Programmatically focus the input inside the row.
|
|
95
|
+
*/
|
|
96
|
+
focus(): void;
|
|
97
|
+
/**
|
|
98
|
+
* Programmatically blur (unfocus) the input inside the row.
|
|
99
|
+
*/
|
|
100
|
+
blur(): void;
|
|
101
|
+
/**
|
|
102
|
+
* Clear the current value. Triggers the `clear` event.
|
|
103
|
+
*/
|
|
104
|
+
clear(): void;
|
|
105
|
+
}> {
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Properties for <flutter-cupertino-text-form-field-row>.
|
|
109
|
+
This element behaves similarly to using a <flutter-cupertino-form-row>
|
|
110
|
+
with a <flutter-cupertino-input> as its child, but wrapped into a single
|
|
111
|
+
convenience component.
|
|
112
|
+
*
|
|
113
|
+
* @example
|
|
114
|
+
* ```tsx
|
|
115
|
+
* const ref = useRef<FlutterCupertinoTextFormFieldRowElement>(null);
|
|
116
|
+
*
|
|
117
|
+
* <FlutterCupertinoTextFormFieldRow
|
|
118
|
+
* ref={ref}
|
|
119
|
+
* // Add props here
|
|
120
|
+
* >
|
|
121
|
+
* Content
|
|
122
|
+
* </FlutterCupertinoTextFormFieldRow>
|
|
123
|
+
*
|
|
124
|
+
* // Call methods on the element
|
|
125
|
+
* ref.current?.finishRefresh('success');
|
|
126
|
+
* ```
|
|
127
|
+
*/
|
|
128
|
+
declare const FlutterCupertinoTextFormFieldRow: React.ForwardRefExoticComponent<FlutterCupertinoTextFormFieldRowProps & {
|
|
129
|
+
className?: string;
|
|
130
|
+
style?: React.CSSProperties;
|
|
131
|
+
children?: React.ReactNode;
|
|
132
|
+
} & React.RefAttributes<FlutterCupertinoTextFormFieldRowElement>>;
|
|
133
|
+
|
|
4
134
|
interface FlutterCupertinoTabBarProps {
|
|
5
135
|
/**
|
|
6
136
|
* Zero-based active item index.
|
|
@@ -3262,4 +3392,4 @@ declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<Flutt
|
|
|
3262
3392
|
children?: React.ReactNode;
|
|
3263
3393
|
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3264
3394
|
|
|
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 };
|
|
3395
|
+
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, FlutterCupertinoTextFormFieldRow, type FlutterCupertinoTextFormFieldRowElement };
|
package/dist/index.js
CHANGED
|
@@ -49,13 +49,75 @@ __export(index_exports, {
|
|
|
49
49
|
FlutterCupertinoTabBarItem: () => FlutterCupertinoTabBarItem,
|
|
50
50
|
FlutterCupertinoTabScaffold: () => FlutterCupertinoTabScaffold,
|
|
51
51
|
FlutterCupertinoTabScaffoldTab: () => FlutterCupertinoTabScaffoldTab,
|
|
52
|
-
FlutterCupertinoTabView: () => FlutterCupertinoTabView
|
|
52
|
+
FlutterCupertinoTabView: () => FlutterCupertinoTabView,
|
|
53
|
+
FlutterCupertinoTextFormFieldRow: () => FlutterCupertinoTextFormFieldRow
|
|
53
54
|
});
|
|
54
55
|
module.exports = __toCommonJS(index_exports);
|
|
55
56
|
|
|
56
|
-
// src/lib/src/
|
|
57
|
+
// src/lib/src/text-form-field-row.tsx
|
|
57
58
|
var import_react_core_ui = require("@openwebf/react-core-ui");
|
|
58
|
-
var
|
|
59
|
+
var FlutterCupertinoTextFormFieldRow = (0, import_react_core_ui.createWebFComponent)({
|
|
60
|
+
tagName: "flutter-cupertino-text-form-field-row",
|
|
61
|
+
displayName: "FlutterCupertinoTextFormFieldRow",
|
|
62
|
+
// Map props to attributes
|
|
63
|
+
attributeProps: [
|
|
64
|
+
"val",
|
|
65
|
+
"placeholder",
|
|
66
|
+
"type",
|
|
67
|
+
"disabled",
|
|
68
|
+
"autofocus",
|
|
69
|
+
"maxlength",
|
|
70
|
+
"readonly"
|
|
71
|
+
],
|
|
72
|
+
// Convert prop names to attribute names if needed
|
|
73
|
+
attributeMap: {},
|
|
74
|
+
// Event handlers
|
|
75
|
+
events: [
|
|
76
|
+
{
|
|
77
|
+
propName: "onInput",
|
|
78
|
+
eventName: "input",
|
|
79
|
+
handler: (callback) => (event) => {
|
|
80
|
+
callback(event);
|
|
81
|
+
}
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
propName: "onSubmit",
|
|
85
|
+
eventName: "submit",
|
|
86
|
+
handler: (callback) => (event) => {
|
|
87
|
+
callback(event);
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
propName: "onFocus",
|
|
92
|
+
eventName: "focus",
|
|
93
|
+
handler: (callback) => (event) => {
|
|
94
|
+
callback(event);
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
propName: "onBlur",
|
|
99
|
+
eventName: "blur",
|
|
100
|
+
handler: (callback) => (event) => {
|
|
101
|
+
callback(event);
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
propName: "onClear",
|
|
106
|
+
eventName: "clear",
|
|
107
|
+
handler: (callback) => (event) => {
|
|
108
|
+
callback(event);
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
],
|
|
112
|
+
// Default prop values
|
|
113
|
+
defaultProps: {
|
|
114
|
+
// Add default values here
|
|
115
|
+
}
|
|
116
|
+
});
|
|
117
|
+
|
|
118
|
+
// src/lib/src/tab_bar.tsx
|
|
119
|
+
var import_react_core_ui2 = require("@openwebf/react-core-ui");
|
|
120
|
+
var FlutterCupertinoTabBar = (0, import_react_core_ui2.createWebFComponent)({
|
|
59
121
|
tagName: "flutter-cupertino-tab-bar",
|
|
60
122
|
displayName: "FlutterCupertinoTabBar",
|
|
61
123
|
// Map props to attributes
|
|
@@ -93,8 +155,8 @@ var FlutterCupertinoTabBar = (0, import_react_core_ui.createWebFComponent)({
|
|
|
93
155
|
});
|
|
94
156
|
|
|
95
157
|
// src/lib/src/tab.tsx
|
|
96
|
-
var
|
|
97
|
-
var FlutterCupertinoTabBarItem = (0,
|
|
158
|
+
var import_react_core_ui3 = require("@openwebf/react-core-ui");
|
|
159
|
+
var FlutterCupertinoTabBarItem = (0, import_react_core_ui3.createWebFComponent)({
|
|
98
160
|
tagName: "flutter-cupertino-tab-bar-item",
|
|
99
161
|
displayName: "FlutterCupertinoTabBarItem",
|
|
100
162
|
// Map props to attributes
|
|
@@ -112,8 +174,8 @@ var FlutterCupertinoTabBarItem = (0, import_react_core_ui2.createWebFComponent)(
|
|
|
112
174
|
});
|
|
113
175
|
|
|
114
176
|
// src/lib/src/tab-view.tsx
|
|
115
|
-
var
|
|
116
|
-
var FlutterCupertinoTabView = (0,
|
|
177
|
+
var import_react_core_ui4 = require("@openwebf/react-core-ui");
|
|
178
|
+
var FlutterCupertinoTabView = (0, import_react_core_ui4.createWebFComponent)({
|
|
117
179
|
tagName: "flutter-cupertino-tab-view",
|
|
118
180
|
displayName: "FlutterCupertinoTabView",
|
|
119
181
|
// Map props to attributes
|
|
@@ -135,8 +197,8 @@ var FlutterCupertinoTabView = (0, import_react_core_ui3.createWebFComponent)({
|
|
|
135
197
|
});
|
|
136
198
|
|
|
137
199
|
// src/lib/src/tab-scaffold.tsx
|
|
138
|
-
var
|
|
139
|
-
var FlutterCupertinoTabScaffold = (0,
|
|
200
|
+
var import_react_core_ui5 = require("@openwebf/react-core-ui");
|
|
201
|
+
var FlutterCupertinoTabScaffold = (0, import_react_core_ui5.createWebFComponent)({
|
|
140
202
|
tagName: "flutter-cupertino-tab-scaffold",
|
|
141
203
|
displayName: "FlutterCupertinoTabScaffold",
|
|
142
204
|
// Map props to attributes
|
|
@@ -164,7 +226,7 @@ var FlutterCupertinoTabScaffold = (0, import_react_core_ui4.createWebFComponent)
|
|
|
164
226
|
// Add default values here
|
|
165
227
|
}
|
|
166
228
|
});
|
|
167
|
-
var FlutterCupertinoTabScaffoldTab = (0,
|
|
229
|
+
var FlutterCupertinoTabScaffoldTab = (0, import_react_core_ui5.createWebFComponent)({
|
|
168
230
|
tagName: "flutter-cupertino-tab-scaffold-tab",
|
|
169
231
|
displayName: "FlutterCupertinoTabScaffoldTab",
|
|
170
232
|
// Map props to attributes
|
|
@@ -182,8 +244,8 @@ var FlutterCupertinoTabScaffoldTab = (0, import_react_core_ui4.createWebFCompone
|
|
|
182
244
|
});
|
|
183
245
|
|
|
184
246
|
// src/lib/src/switch.tsx
|
|
185
|
-
var
|
|
186
|
-
var FlutterCupertinoSwitch = (0,
|
|
247
|
+
var import_react_core_ui6 = require("@openwebf/react-core-ui");
|
|
248
|
+
var FlutterCupertinoSwitch = (0, import_react_core_ui6.createWebFComponent)({
|
|
187
249
|
tagName: "flutter-cupertino-switch",
|
|
188
250
|
displayName: "FlutterCupertinoSwitch",
|
|
189
251
|
// Map props to attributes
|
|
@@ -215,8 +277,8 @@ var FlutterCupertinoSwitch = (0, import_react_core_ui5.createWebFComponent)({
|
|
|
215
277
|
});
|
|
216
278
|
|
|
217
279
|
// src/lib/src/sliding-segmented-control.tsx
|
|
218
|
-
var
|
|
219
|
-
var FlutterCupertinoSlidingSegmentedControl = (0,
|
|
280
|
+
var import_react_core_ui7 = require("@openwebf/react-core-ui");
|
|
281
|
+
var FlutterCupertinoSlidingSegmentedControl = (0, import_react_core_ui7.createWebFComponent)({
|
|
220
282
|
tagName: "flutter-cupertino-sliding-segmented-control",
|
|
221
283
|
displayName: "FlutterCupertinoSlidingSegmentedControl",
|
|
222
284
|
// Map props to attributes
|
|
@@ -246,7 +308,7 @@ var FlutterCupertinoSlidingSegmentedControl = (0, import_react_core_ui6.createWe
|
|
|
246
308
|
// Add default values here
|
|
247
309
|
}
|
|
248
310
|
});
|
|
249
|
-
var FlutterCupertinoSlidingSegmentedControlItem = (0,
|
|
311
|
+
var FlutterCupertinoSlidingSegmentedControlItem = (0, import_react_core_ui7.createWebFComponent)({
|
|
250
312
|
tagName: "flutter-cupertino-sliding-segmented-control-item",
|
|
251
313
|
displayName: "FlutterCupertinoSlidingSegmentedControlItem",
|
|
252
314
|
// Map props to attributes
|
|
@@ -264,8 +326,8 @@ var FlutterCupertinoSlidingSegmentedControlItem = (0, import_react_core_ui6.crea
|
|
|
264
326
|
});
|
|
265
327
|
|
|
266
328
|
// src/lib/src/slider.tsx
|
|
267
|
-
var
|
|
268
|
-
var FlutterCupertinoSlider = (0,
|
|
329
|
+
var import_react_core_ui8 = require("@openwebf/react-core-ui");
|
|
330
|
+
var FlutterCupertinoSlider = (0, import_react_core_ui8.createWebFComponent)({
|
|
269
331
|
tagName: "flutter-cupertino-slider",
|
|
270
332
|
displayName: "FlutterCupertinoSlider",
|
|
271
333
|
// Map props to attributes
|
|
@@ -309,8 +371,8 @@ var FlutterCupertinoSlider = (0, import_react_core_ui7.createWebFComponent)({
|
|
|
309
371
|
});
|
|
310
372
|
|
|
311
373
|
// src/lib/src/radio.tsx
|
|
312
|
-
var
|
|
313
|
-
var FlutterCupertinoRadio = (0,
|
|
374
|
+
var import_react_core_ui9 = require("@openwebf/react-core-ui");
|
|
375
|
+
var FlutterCupertinoRadio = (0, import_react_core_ui9.createWebFComponent)({
|
|
314
376
|
tagName: "flutter-cupertino-radio",
|
|
315
377
|
displayName: "FlutterCupertinoRadio",
|
|
316
378
|
// Map props to attributes
|
|
@@ -352,8 +414,8 @@ var FlutterCupertinoRadio = (0, import_react_core_ui8.createWebFComponent)({
|
|
|
352
414
|
});
|
|
353
415
|
|
|
354
416
|
// src/lib/src/modal-popup.tsx
|
|
355
|
-
var
|
|
356
|
-
var FlutterCupertinoModalPopup = (0,
|
|
417
|
+
var import_react_core_ui10 = require("@openwebf/react-core-ui");
|
|
418
|
+
var FlutterCupertinoModalPopup = (0, import_react_core_ui10.createWebFComponent)({
|
|
357
419
|
tagName: "flutter-cupertino-modal-popup",
|
|
358
420
|
displayName: "FlutterCupertinoModalPopup",
|
|
359
421
|
// Map props to attributes
|
|
@@ -387,8 +449,8 @@ var FlutterCupertinoModalPopup = (0, import_react_core_ui9.createWebFComponent)(
|
|
|
387
449
|
});
|
|
388
450
|
|
|
389
451
|
// src/lib/src/list_tile.tsx
|
|
390
|
-
var
|
|
391
|
-
var FlutterCupertinoListTile = (0,
|
|
452
|
+
var import_react_core_ui11 = require("@openwebf/react-core-ui");
|
|
453
|
+
var FlutterCupertinoListTile = (0, import_react_core_ui11.createWebFComponent)({
|
|
392
454
|
tagName: "flutter-cupertino-list-tile",
|
|
393
455
|
displayName: "FlutterCupertinoListTile",
|
|
394
456
|
// Map props to attributes
|
|
@@ -415,7 +477,7 @@ var FlutterCupertinoListTile = (0, import_react_core_ui10.createWebFComponent)({
|
|
|
415
477
|
// Add default values here
|
|
416
478
|
}
|
|
417
479
|
});
|
|
418
|
-
var FlutterCupertinoListTileLeading = (0,
|
|
480
|
+
var FlutterCupertinoListTileLeading = (0, import_react_core_ui11.createWebFComponent)({
|
|
419
481
|
tagName: "flutter-cupertino-list-tile-leading",
|
|
420
482
|
displayName: "FlutterCupertinoListTileLeading",
|
|
421
483
|
// Map props to attributes
|
|
@@ -429,7 +491,7 @@ var FlutterCupertinoListTileLeading = (0, import_react_core_ui10.createWebFCompo
|
|
|
429
491
|
// Add default values here
|
|
430
492
|
}
|
|
431
493
|
});
|
|
432
|
-
var FlutterCupertinoListTileSubtitle = (0,
|
|
494
|
+
var FlutterCupertinoListTileSubtitle = (0, import_react_core_ui11.createWebFComponent)({
|
|
433
495
|
tagName: "flutter-cupertino-list-tile-subtitle",
|
|
434
496
|
displayName: "FlutterCupertinoListTileSubtitle",
|
|
435
497
|
// Map props to attributes
|
|
@@ -443,7 +505,7 @@ var FlutterCupertinoListTileSubtitle = (0, import_react_core_ui10.createWebFComp
|
|
|
443
505
|
// Add default values here
|
|
444
506
|
}
|
|
445
507
|
});
|
|
446
|
-
var FlutterCupertinoListTileAdditionalInfo = (0,
|
|
508
|
+
var FlutterCupertinoListTileAdditionalInfo = (0, import_react_core_ui11.createWebFComponent)({
|
|
447
509
|
tagName: "flutter-cupertino-list-tile-additional-info",
|
|
448
510
|
displayName: "FlutterCupertinoListTileAdditionalInfo",
|
|
449
511
|
// Map props to attributes
|
|
@@ -457,7 +519,7 @@ var FlutterCupertinoListTileAdditionalInfo = (0, import_react_core_ui10.createWe
|
|
|
457
519
|
// Add default values here
|
|
458
520
|
}
|
|
459
521
|
});
|
|
460
|
-
var FlutterCupertinoListTileTrailing = (0,
|
|
522
|
+
var FlutterCupertinoListTileTrailing = (0, import_react_core_ui11.createWebFComponent)({
|
|
461
523
|
tagName: "flutter-cupertino-list-tile-trailing",
|
|
462
524
|
displayName: "FlutterCupertinoListTileTrailing",
|
|
463
525
|
// Map props to attributes
|
|
@@ -473,8 +535,8 @@ var FlutterCupertinoListTileTrailing = (0, import_react_core_ui10.createWebFComp
|
|
|
473
535
|
});
|
|
474
536
|
|
|
475
537
|
// src/lib/src/list_section.tsx
|
|
476
|
-
var
|
|
477
|
-
var FlutterCupertinoListSection = (0,
|
|
538
|
+
var import_react_core_ui12 = require("@openwebf/react-core-ui");
|
|
539
|
+
var FlutterCupertinoListSection = (0, import_react_core_ui12.createWebFComponent)({
|
|
478
540
|
tagName: "flutter-cupertino-list-section",
|
|
479
541
|
displayName: "FlutterCupertinoListSection",
|
|
480
542
|
// Map props to attributes
|
|
@@ -492,7 +554,7 @@ var FlutterCupertinoListSection = (0, import_react_core_ui11.createWebFComponent
|
|
|
492
554
|
// Add default values here
|
|
493
555
|
}
|
|
494
556
|
});
|
|
495
|
-
var FlutterCupertinoListSectionHeader = (0,
|
|
557
|
+
var FlutterCupertinoListSectionHeader = (0, import_react_core_ui12.createWebFComponent)({
|
|
496
558
|
tagName: "flutter-cupertino-list-section-header",
|
|
497
559
|
displayName: "FlutterCupertinoListSectionHeader",
|
|
498
560
|
// Map props to attributes
|
|
@@ -506,7 +568,7 @@ var FlutterCupertinoListSectionHeader = (0, import_react_core_ui11.createWebFCom
|
|
|
506
568
|
// Add default values here
|
|
507
569
|
}
|
|
508
570
|
});
|
|
509
|
-
var FlutterCupertinoListSectionFooter = (0,
|
|
571
|
+
var FlutterCupertinoListSectionFooter = (0, import_react_core_ui12.createWebFComponent)({
|
|
510
572
|
tagName: "flutter-cupertino-list-section-footer",
|
|
511
573
|
displayName: "FlutterCupertinoListSectionFooter",
|
|
512
574
|
// Map props to attributes
|
|
@@ -522,8 +584,8 @@ var FlutterCupertinoListSectionFooter = (0, import_react_core_ui11.createWebFCom
|
|
|
522
584
|
});
|
|
523
585
|
|
|
524
586
|
// src/lib/src/input.tsx
|
|
525
|
-
var
|
|
526
|
-
var FlutterCupertinoInput = (0,
|
|
587
|
+
var import_react_core_ui13 = require("@openwebf/react-core-ui");
|
|
588
|
+
var FlutterCupertinoInput = (0, import_react_core_ui13.createWebFComponent)({
|
|
527
589
|
tagName: "flutter-cupertino-input",
|
|
528
590
|
displayName: "FlutterCupertinoInput",
|
|
529
591
|
// Map props to attributes
|
|
@@ -584,8 +646,8 @@ var FlutterCupertinoInput = (0, import_react_core_ui12.createWebFComponent)({
|
|
|
584
646
|
});
|
|
585
647
|
|
|
586
648
|
// src/lib/src/icon.tsx
|
|
587
|
-
var
|
|
588
|
-
var FlutterCupertinoIcon = (0,
|
|
649
|
+
var import_react_core_ui14 = require("@openwebf/react-core-ui");
|
|
650
|
+
var FlutterCupertinoIcon = (0, import_react_core_ui14.createWebFComponent)({
|
|
589
651
|
tagName: "flutter-cupertino-icon",
|
|
590
652
|
displayName: "FlutterCupertinoIcon",
|
|
591
653
|
// Map props to attributes
|
|
@@ -602,8 +664,8 @@ var FlutterCupertinoIcon = (0, import_react_core_ui13.createWebFComponent)({
|
|
|
602
664
|
});
|
|
603
665
|
|
|
604
666
|
// src/lib/src/form-section.tsx
|
|
605
|
-
var
|
|
606
|
-
var FlutterCupertinoFormSection = (0,
|
|
667
|
+
var import_react_core_ui15 = require("@openwebf/react-core-ui");
|
|
668
|
+
var FlutterCupertinoFormSection = (0, import_react_core_ui15.createWebFComponent)({
|
|
607
669
|
tagName: "flutter-cupertino-form-section",
|
|
608
670
|
displayName: "FlutterCupertinoFormSection",
|
|
609
671
|
// Map props to attributes
|
|
@@ -623,7 +685,7 @@ var FlutterCupertinoFormSection = (0, import_react_core_ui14.createWebFComponent
|
|
|
623
685
|
// Add default values here
|
|
624
686
|
}
|
|
625
687
|
});
|
|
626
|
-
var FlutterCupertinoFormRow = (0,
|
|
688
|
+
var FlutterCupertinoFormRow = (0, import_react_core_ui15.createWebFComponent)({
|
|
627
689
|
tagName: "flutter-cupertino-form-row",
|
|
628
690
|
displayName: "FlutterCupertinoFormRow",
|
|
629
691
|
// Map props to attributes
|
|
@@ -639,8 +701,8 @@ var FlutterCupertinoFormRow = (0, import_react_core_ui14.createWebFComponent)({
|
|
|
639
701
|
});
|
|
640
702
|
|
|
641
703
|
// src/lib/src/context-menu.tsx
|
|
642
|
-
var
|
|
643
|
-
var FlutterCupertinoContextMenu = (0,
|
|
704
|
+
var import_react_core_ui16 = require("@openwebf/react-core-ui");
|
|
705
|
+
var FlutterCupertinoContextMenu = (0, import_react_core_ui16.createWebFComponent)({
|
|
644
706
|
tagName: "flutter-cupertino-context-menu",
|
|
645
707
|
displayName: "FlutterCupertinoContextMenu",
|
|
646
708
|
// Map props to attributes
|
|
@@ -668,8 +730,8 @@ var FlutterCupertinoContextMenu = (0, import_react_core_ui15.createWebFComponent
|
|
|
668
730
|
});
|
|
669
731
|
|
|
670
732
|
// src/lib/src/checkbox.tsx
|
|
671
|
-
var
|
|
672
|
-
var FlutterCupertinoCheckbox = (0,
|
|
733
|
+
var import_react_core_ui17 = require("@openwebf/react-core-ui");
|
|
734
|
+
var FlutterCupertinoCheckbox = (0, import_react_core_ui17.createWebFComponent)({
|
|
673
735
|
tagName: "flutter-cupertino-checkbox",
|
|
674
736
|
displayName: "FlutterCupertinoCheckbox",
|
|
675
737
|
// Map props to attributes
|
|
@@ -718,8 +780,8 @@ var FlutterCupertinoCheckbox = (0, import_react_core_ui16.createWebFComponent)({
|
|
|
718
780
|
});
|
|
719
781
|
|
|
720
782
|
// src/lib/src/button.tsx
|
|
721
|
-
var
|
|
722
|
-
var FlutterCupertinoButton = (0,
|
|
783
|
+
var import_react_core_ui18 = require("@openwebf/react-core-ui");
|
|
784
|
+
var FlutterCupertinoButton = (0, import_react_core_ui18.createWebFComponent)({
|
|
723
785
|
tagName: "flutter-cupertino-button",
|
|
724
786
|
displayName: "FlutterCupertinoButton",
|
|
725
787
|
// Map props to attributes
|
|
@@ -752,8 +814,8 @@ var FlutterCupertinoButton = (0, import_react_core_ui17.createWebFComponent)({
|
|
|
752
814
|
});
|
|
753
815
|
|
|
754
816
|
// src/lib/src/alert.tsx
|
|
755
|
-
var
|
|
756
|
-
var FlutterCupertinoAlert = (0,
|
|
817
|
+
var import_react_core_ui19 = require("@openwebf/react-core-ui");
|
|
818
|
+
var FlutterCupertinoAlert = (0, import_react_core_ui19.createWebFComponent)({
|
|
757
819
|
tagName: "flutter-cupertino-alert",
|
|
758
820
|
displayName: "FlutterCupertinoAlert",
|
|
759
821
|
// Map props to attributes
|
|
@@ -804,8 +866,8 @@ var FlutterCupertinoAlert = (0, import_react_core_ui18.createWebFComponent)({
|
|
|
804
866
|
});
|
|
805
867
|
|
|
806
868
|
// src/lib/src/action-sheet.tsx
|
|
807
|
-
var
|
|
808
|
-
var FlutterCupertinoActionSheet = (0,
|
|
869
|
+
var import_react_core_ui20 = require("@openwebf/react-core-ui");
|
|
870
|
+
var FlutterCupertinoActionSheet = (0, import_react_core_ui20.createWebFComponent)({
|
|
809
871
|
tagName: "flutter-cupertino-action-sheet",
|
|
810
872
|
displayName: "FlutterCupertinoActionSheet",
|
|
811
873
|
// Map props to attributes
|
|
@@ -2235,6 +2297,7 @@ var CupertinoColors = /* @__PURE__ */ ((CupertinoColors2) => {
|
|
|
2235
2297
|
FlutterCupertinoTabBarItem,
|
|
2236
2298
|
FlutterCupertinoTabScaffold,
|
|
2237
2299
|
FlutterCupertinoTabScaffoldTab,
|
|
2238
|
-
FlutterCupertinoTabView
|
|
2300
|
+
FlutterCupertinoTabView,
|
|
2301
|
+
FlutterCupertinoTextFormFieldRow
|
|
2239
2302
|
});
|
|
2240
2303
|
//# sourceMappingURL=index.js.map
|