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