@openwebf/react-cupertino-ui 0.3.32 → 0.3.34
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 +114 -1
- package/dist/index.d.ts +114 -1
- package/dist/index.js +92 -31
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +91 -31
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -31,6 +31,12 @@ interface FlutterCupertinoTextFormFieldRowProps {
|
|
|
31
31
|
* Default: false.
|
|
32
32
|
*/
|
|
33
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;
|
|
34
40
|
/**
|
|
35
41
|
* Maximum number of characters allowed.
|
|
36
42
|
* When set, input is truncated to this length.
|
|
@@ -662,6 +668,113 @@ declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCup
|
|
|
662
668
|
children?: React.ReactNode;
|
|
663
669
|
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
664
670
|
|
|
671
|
+
interface FlutterCupertinoSearchTextFieldProps {
|
|
672
|
+
/**
|
|
673
|
+
* Current text value of the search field.
|
|
674
|
+
*/
|
|
675
|
+
val?: string;
|
|
676
|
+
/**
|
|
677
|
+
* Placeholder text shown when the field is empty.
|
|
678
|
+
* Defaults to the localized "Search" string if not provided.
|
|
679
|
+
*/
|
|
680
|
+
placeholder?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Whether the field should autofocus when inserted.
|
|
683
|
+
* Default: false.
|
|
684
|
+
*/
|
|
685
|
+
autofocus?: boolean;
|
|
686
|
+
/**
|
|
687
|
+
* Whether the field is disabled (non-editable and dimmed).
|
|
688
|
+
* Default: false.
|
|
689
|
+
*/
|
|
690
|
+
disabled?: boolean;
|
|
691
|
+
/**
|
|
692
|
+
* Fired whenever the text changes.
|
|
693
|
+
* detail = current value.
|
|
694
|
+
*/
|
|
695
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
696
|
+
/**
|
|
697
|
+
* Fired when the user submits the field (e.g., presses the search button).
|
|
698
|
+
* detail = current value.
|
|
699
|
+
*/
|
|
700
|
+
onSubmit?: (event: CustomEvent<string>) => void;
|
|
701
|
+
/**
|
|
702
|
+
* Fired when the field gains focus.
|
|
703
|
+
*/
|
|
704
|
+
onFocus?: (event: CustomEvent<void>) => void;
|
|
705
|
+
/**
|
|
706
|
+
* Fired when the field loses focus.
|
|
707
|
+
*/
|
|
708
|
+
onBlur?: (event: CustomEvent<void>) => void;
|
|
709
|
+
/**
|
|
710
|
+
* Fired when the text is cleared via clear() or the suffix clear button.
|
|
711
|
+
*/
|
|
712
|
+
onClear?: (event: CustomEvent<void>) => void;
|
|
713
|
+
/**
|
|
714
|
+
* HTML id attribute
|
|
715
|
+
*/
|
|
716
|
+
id?: string;
|
|
717
|
+
/**
|
|
718
|
+
* Additional CSS styles
|
|
719
|
+
*/
|
|
720
|
+
style?: React.CSSProperties;
|
|
721
|
+
/**
|
|
722
|
+
* Children elements
|
|
723
|
+
*/
|
|
724
|
+
children?: React.ReactNode;
|
|
725
|
+
/**
|
|
726
|
+
* Additional CSS class names
|
|
727
|
+
*/
|
|
728
|
+
className?: string;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Element interface with methods accessible via ref
|
|
732
|
+
* @example
|
|
733
|
+
* ```tsx
|
|
734
|
+
* const ref = useRef<FlutterCupertinoSearchTextFieldElement>(null);
|
|
735
|
+
* // Call methods on the element
|
|
736
|
+
* ref.current?.finishRefresh('success');
|
|
737
|
+
* ```
|
|
738
|
+
*/
|
|
739
|
+
interface FlutterCupertinoSearchTextFieldElement extends WebFElementWithMethods<{
|
|
740
|
+
/**
|
|
741
|
+
* Programmatically focus the search field.
|
|
742
|
+
*/
|
|
743
|
+
focus(): void;
|
|
744
|
+
/**
|
|
745
|
+
* Programmatically blur (unfocus) the search field.
|
|
746
|
+
*/
|
|
747
|
+
blur(): void;
|
|
748
|
+
/**
|
|
749
|
+
* Clear the current value. Triggers the `clear` and `input` events.
|
|
750
|
+
*/
|
|
751
|
+
clear(): void;
|
|
752
|
+
}> {
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Properties for <flutter-cupertino-search-text-field>.
|
|
756
|
+
*
|
|
757
|
+
* @example
|
|
758
|
+
* ```tsx
|
|
759
|
+
* const ref = useRef<FlutterCupertinoSearchTextFieldElement>(null);
|
|
760
|
+
*
|
|
761
|
+
* <FlutterCupertinoSearchTextField
|
|
762
|
+
* ref={ref}
|
|
763
|
+
* // Add props here
|
|
764
|
+
* >
|
|
765
|
+
* Content
|
|
766
|
+
* </FlutterCupertinoSearchTextField>
|
|
767
|
+
*
|
|
768
|
+
* // Call methods on the element
|
|
769
|
+
* ref.current?.finishRefresh('success');
|
|
770
|
+
* ```
|
|
771
|
+
*/
|
|
772
|
+
declare const FlutterCupertinoSearchTextField: React.ForwardRefExoticComponent<FlutterCupertinoSearchTextFieldProps & {
|
|
773
|
+
className?: string;
|
|
774
|
+
style?: React.CSSProperties;
|
|
775
|
+
children?: React.ReactNode;
|
|
776
|
+
} & React.RefAttributes<FlutterCupertinoSearchTextFieldElement>>;
|
|
777
|
+
|
|
665
778
|
interface FlutterCupertinoRadioProps {
|
|
666
779
|
/**
|
|
667
780
|
* Value represented by this radio button.
|
|
@@ -3392,4 +3505,4 @@ declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<Flutt
|
|
|
3392
3505
|
children?: React.ReactNode;
|
|
3393
3506
|
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3394
3507
|
|
|
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 };
|
|
3508
|
+
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, FlutterCupertinoSearchTextField, type FlutterCupertinoSearchTextFieldElement, 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
|
@@ -31,6 +31,12 @@ interface FlutterCupertinoTextFormFieldRowProps {
|
|
|
31
31
|
* Default: false.
|
|
32
32
|
*/
|
|
33
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;
|
|
34
40
|
/**
|
|
35
41
|
* Maximum number of characters allowed.
|
|
36
42
|
* When set, input is truncated to this length.
|
|
@@ -662,6 +668,113 @@ declare const FlutterCupertinoSlider: React.ForwardRefExoticComponent<FlutterCup
|
|
|
662
668
|
children?: React.ReactNode;
|
|
663
669
|
} & React.RefAttributes<FlutterCupertinoSliderElement>>;
|
|
664
670
|
|
|
671
|
+
interface FlutterCupertinoSearchTextFieldProps {
|
|
672
|
+
/**
|
|
673
|
+
* Current text value of the search field.
|
|
674
|
+
*/
|
|
675
|
+
val?: string;
|
|
676
|
+
/**
|
|
677
|
+
* Placeholder text shown when the field is empty.
|
|
678
|
+
* Defaults to the localized "Search" string if not provided.
|
|
679
|
+
*/
|
|
680
|
+
placeholder?: string;
|
|
681
|
+
/**
|
|
682
|
+
* Whether the field should autofocus when inserted.
|
|
683
|
+
* Default: false.
|
|
684
|
+
*/
|
|
685
|
+
autofocus?: boolean;
|
|
686
|
+
/**
|
|
687
|
+
* Whether the field is disabled (non-editable and dimmed).
|
|
688
|
+
* Default: false.
|
|
689
|
+
*/
|
|
690
|
+
disabled?: boolean;
|
|
691
|
+
/**
|
|
692
|
+
* Fired whenever the text changes.
|
|
693
|
+
* detail = current value.
|
|
694
|
+
*/
|
|
695
|
+
onInput?: (event: CustomEvent<string>) => void;
|
|
696
|
+
/**
|
|
697
|
+
* Fired when the user submits the field (e.g., presses the search button).
|
|
698
|
+
* detail = current value.
|
|
699
|
+
*/
|
|
700
|
+
onSubmit?: (event: CustomEvent<string>) => void;
|
|
701
|
+
/**
|
|
702
|
+
* Fired when the field gains focus.
|
|
703
|
+
*/
|
|
704
|
+
onFocus?: (event: CustomEvent<void>) => void;
|
|
705
|
+
/**
|
|
706
|
+
* Fired when the field loses focus.
|
|
707
|
+
*/
|
|
708
|
+
onBlur?: (event: CustomEvent<void>) => void;
|
|
709
|
+
/**
|
|
710
|
+
* Fired when the text is cleared via clear() or the suffix clear button.
|
|
711
|
+
*/
|
|
712
|
+
onClear?: (event: CustomEvent<void>) => void;
|
|
713
|
+
/**
|
|
714
|
+
* HTML id attribute
|
|
715
|
+
*/
|
|
716
|
+
id?: string;
|
|
717
|
+
/**
|
|
718
|
+
* Additional CSS styles
|
|
719
|
+
*/
|
|
720
|
+
style?: React.CSSProperties;
|
|
721
|
+
/**
|
|
722
|
+
* Children elements
|
|
723
|
+
*/
|
|
724
|
+
children?: React.ReactNode;
|
|
725
|
+
/**
|
|
726
|
+
* Additional CSS class names
|
|
727
|
+
*/
|
|
728
|
+
className?: string;
|
|
729
|
+
}
|
|
730
|
+
/**
|
|
731
|
+
* Element interface with methods accessible via ref
|
|
732
|
+
* @example
|
|
733
|
+
* ```tsx
|
|
734
|
+
* const ref = useRef<FlutterCupertinoSearchTextFieldElement>(null);
|
|
735
|
+
* // Call methods on the element
|
|
736
|
+
* ref.current?.finishRefresh('success');
|
|
737
|
+
* ```
|
|
738
|
+
*/
|
|
739
|
+
interface FlutterCupertinoSearchTextFieldElement extends WebFElementWithMethods<{
|
|
740
|
+
/**
|
|
741
|
+
* Programmatically focus the search field.
|
|
742
|
+
*/
|
|
743
|
+
focus(): void;
|
|
744
|
+
/**
|
|
745
|
+
* Programmatically blur (unfocus) the search field.
|
|
746
|
+
*/
|
|
747
|
+
blur(): void;
|
|
748
|
+
/**
|
|
749
|
+
* Clear the current value. Triggers the `clear` and `input` events.
|
|
750
|
+
*/
|
|
751
|
+
clear(): void;
|
|
752
|
+
}> {
|
|
753
|
+
}
|
|
754
|
+
/**
|
|
755
|
+
* Properties for <flutter-cupertino-search-text-field>.
|
|
756
|
+
*
|
|
757
|
+
* @example
|
|
758
|
+
* ```tsx
|
|
759
|
+
* const ref = useRef<FlutterCupertinoSearchTextFieldElement>(null);
|
|
760
|
+
*
|
|
761
|
+
* <FlutterCupertinoSearchTextField
|
|
762
|
+
* ref={ref}
|
|
763
|
+
* // Add props here
|
|
764
|
+
* >
|
|
765
|
+
* Content
|
|
766
|
+
* </FlutterCupertinoSearchTextField>
|
|
767
|
+
*
|
|
768
|
+
* // Call methods on the element
|
|
769
|
+
* ref.current?.finishRefresh('success');
|
|
770
|
+
* ```
|
|
771
|
+
*/
|
|
772
|
+
declare const FlutterCupertinoSearchTextField: React.ForwardRefExoticComponent<FlutterCupertinoSearchTextFieldProps & {
|
|
773
|
+
className?: string;
|
|
774
|
+
style?: React.CSSProperties;
|
|
775
|
+
children?: React.ReactNode;
|
|
776
|
+
} & React.RefAttributes<FlutterCupertinoSearchTextFieldElement>>;
|
|
777
|
+
|
|
665
778
|
interface FlutterCupertinoRadioProps {
|
|
666
779
|
/**
|
|
667
780
|
* Value represented by this radio button.
|
|
@@ -3392,4 +3505,4 @@ declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<Flutt
|
|
|
3392
3505
|
children?: React.ReactNode;
|
|
3393
3506
|
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3394
3507
|
|
|
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 };
|
|
3508
|
+
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, FlutterCupertinoSearchTextField, type FlutterCupertinoSearchTextFieldElement, 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
|
@@ -41,6 +41,7 @@ __export(index_exports, {
|
|
|
41
41
|
FlutterCupertinoListTileTrailing: () => FlutterCupertinoListTileTrailing,
|
|
42
42
|
FlutterCupertinoModalPopup: () => FlutterCupertinoModalPopup,
|
|
43
43
|
FlutterCupertinoRadio: () => FlutterCupertinoRadio,
|
|
44
|
+
FlutterCupertinoSearchTextField: () => FlutterCupertinoSearchTextField,
|
|
44
45
|
FlutterCupertinoSlider: () => FlutterCupertinoSlider,
|
|
45
46
|
FlutterCupertinoSlidingSegmentedControl: () => FlutterCupertinoSlidingSegmentedControl,
|
|
46
47
|
FlutterCupertinoSlidingSegmentedControlItem: () => FlutterCupertinoSlidingSegmentedControlItem,
|
|
@@ -66,6 +67,7 @@ var FlutterCupertinoTextFormFieldRow = (0, import_react_core_ui.createWebFCompon
|
|
|
66
67
|
"type",
|
|
67
68
|
"disabled",
|
|
68
69
|
"autofocus",
|
|
70
|
+
"clearable",
|
|
69
71
|
"maxlength",
|
|
70
72
|
"readonly"
|
|
71
73
|
],
|
|
@@ -370,9 +372,67 @@ var FlutterCupertinoSlider = (0, import_react_core_ui8.createWebFComponent)({
|
|
|
370
372
|
}
|
|
371
373
|
});
|
|
372
374
|
|
|
373
|
-
// src/lib/src/
|
|
375
|
+
// src/lib/src/search-text-field.tsx
|
|
374
376
|
var import_react_core_ui9 = require("@openwebf/react-core-ui");
|
|
375
|
-
var
|
|
377
|
+
var FlutterCupertinoSearchTextField = (0, import_react_core_ui9.createWebFComponent)({
|
|
378
|
+
tagName: "flutter-cupertino-search-text-field",
|
|
379
|
+
displayName: "FlutterCupertinoSearchTextField",
|
|
380
|
+
// Map props to attributes
|
|
381
|
+
attributeProps: [
|
|
382
|
+
"val",
|
|
383
|
+
"placeholder",
|
|
384
|
+
"autofocus",
|
|
385
|
+
"disabled"
|
|
386
|
+
],
|
|
387
|
+
// Convert prop names to attribute names if needed
|
|
388
|
+
attributeMap: {},
|
|
389
|
+
// Event handlers
|
|
390
|
+
events: [
|
|
391
|
+
{
|
|
392
|
+
propName: "onInput",
|
|
393
|
+
eventName: "input",
|
|
394
|
+
handler: (callback) => (event) => {
|
|
395
|
+
callback(event);
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
propName: "onSubmit",
|
|
400
|
+
eventName: "submit",
|
|
401
|
+
handler: (callback) => (event) => {
|
|
402
|
+
callback(event);
|
|
403
|
+
}
|
|
404
|
+
},
|
|
405
|
+
{
|
|
406
|
+
propName: "onFocus",
|
|
407
|
+
eventName: "focus",
|
|
408
|
+
handler: (callback) => (event) => {
|
|
409
|
+
callback(event);
|
|
410
|
+
}
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
propName: "onBlur",
|
|
414
|
+
eventName: "blur",
|
|
415
|
+
handler: (callback) => (event) => {
|
|
416
|
+
callback(event);
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
propName: "onClear",
|
|
421
|
+
eventName: "clear",
|
|
422
|
+
handler: (callback) => (event) => {
|
|
423
|
+
callback(event);
|
|
424
|
+
}
|
|
425
|
+
}
|
|
426
|
+
],
|
|
427
|
+
// Default prop values
|
|
428
|
+
defaultProps: {
|
|
429
|
+
// Add default values here
|
|
430
|
+
}
|
|
431
|
+
});
|
|
432
|
+
|
|
433
|
+
// src/lib/src/radio.tsx
|
|
434
|
+
var import_react_core_ui10 = require("@openwebf/react-core-ui");
|
|
435
|
+
var FlutterCupertinoRadio = (0, import_react_core_ui10.createWebFComponent)({
|
|
376
436
|
tagName: "flutter-cupertino-radio",
|
|
377
437
|
displayName: "FlutterCupertinoRadio",
|
|
378
438
|
// Map props to attributes
|
|
@@ -414,8 +474,8 @@ var FlutterCupertinoRadio = (0, import_react_core_ui9.createWebFComponent)({
|
|
|
414
474
|
});
|
|
415
475
|
|
|
416
476
|
// src/lib/src/modal-popup.tsx
|
|
417
|
-
var
|
|
418
|
-
var FlutterCupertinoModalPopup = (0,
|
|
477
|
+
var import_react_core_ui11 = require("@openwebf/react-core-ui");
|
|
478
|
+
var FlutterCupertinoModalPopup = (0, import_react_core_ui11.createWebFComponent)({
|
|
419
479
|
tagName: "flutter-cupertino-modal-popup",
|
|
420
480
|
displayName: "FlutterCupertinoModalPopup",
|
|
421
481
|
// Map props to attributes
|
|
@@ -449,8 +509,8 @@ var FlutterCupertinoModalPopup = (0, import_react_core_ui10.createWebFComponent)
|
|
|
449
509
|
});
|
|
450
510
|
|
|
451
511
|
// src/lib/src/list_tile.tsx
|
|
452
|
-
var
|
|
453
|
-
var FlutterCupertinoListTile = (0,
|
|
512
|
+
var import_react_core_ui12 = require("@openwebf/react-core-ui");
|
|
513
|
+
var FlutterCupertinoListTile = (0, import_react_core_ui12.createWebFComponent)({
|
|
454
514
|
tagName: "flutter-cupertino-list-tile",
|
|
455
515
|
displayName: "FlutterCupertinoListTile",
|
|
456
516
|
// Map props to attributes
|
|
@@ -477,7 +537,7 @@ var FlutterCupertinoListTile = (0, import_react_core_ui11.createWebFComponent)({
|
|
|
477
537
|
// Add default values here
|
|
478
538
|
}
|
|
479
539
|
});
|
|
480
|
-
var FlutterCupertinoListTileLeading = (0,
|
|
540
|
+
var FlutterCupertinoListTileLeading = (0, import_react_core_ui12.createWebFComponent)({
|
|
481
541
|
tagName: "flutter-cupertino-list-tile-leading",
|
|
482
542
|
displayName: "FlutterCupertinoListTileLeading",
|
|
483
543
|
// Map props to attributes
|
|
@@ -491,7 +551,7 @@ var FlutterCupertinoListTileLeading = (0, import_react_core_ui11.createWebFCompo
|
|
|
491
551
|
// Add default values here
|
|
492
552
|
}
|
|
493
553
|
});
|
|
494
|
-
var FlutterCupertinoListTileSubtitle = (0,
|
|
554
|
+
var FlutterCupertinoListTileSubtitle = (0, import_react_core_ui12.createWebFComponent)({
|
|
495
555
|
tagName: "flutter-cupertino-list-tile-subtitle",
|
|
496
556
|
displayName: "FlutterCupertinoListTileSubtitle",
|
|
497
557
|
// Map props to attributes
|
|
@@ -505,7 +565,7 @@ var FlutterCupertinoListTileSubtitle = (0, import_react_core_ui11.createWebFComp
|
|
|
505
565
|
// Add default values here
|
|
506
566
|
}
|
|
507
567
|
});
|
|
508
|
-
var FlutterCupertinoListTileAdditionalInfo = (0,
|
|
568
|
+
var FlutterCupertinoListTileAdditionalInfo = (0, import_react_core_ui12.createWebFComponent)({
|
|
509
569
|
tagName: "flutter-cupertino-list-tile-additional-info",
|
|
510
570
|
displayName: "FlutterCupertinoListTileAdditionalInfo",
|
|
511
571
|
// Map props to attributes
|
|
@@ -519,7 +579,7 @@ var FlutterCupertinoListTileAdditionalInfo = (0, import_react_core_ui11.createWe
|
|
|
519
579
|
// Add default values here
|
|
520
580
|
}
|
|
521
581
|
});
|
|
522
|
-
var FlutterCupertinoListTileTrailing = (0,
|
|
582
|
+
var FlutterCupertinoListTileTrailing = (0, import_react_core_ui12.createWebFComponent)({
|
|
523
583
|
tagName: "flutter-cupertino-list-tile-trailing",
|
|
524
584
|
displayName: "FlutterCupertinoListTileTrailing",
|
|
525
585
|
// Map props to attributes
|
|
@@ -535,8 +595,8 @@ var FlutterCupertinoListTileTrailing = (0, import_react_core_ui11.createWebFComp
|
|
|
535
595
|
});
|
|
536
596
|
|
|
537
597
|
// src/lib/src/list_section.tsx
|
|
538
|
-
var
|
|
539
|
-
var FlutterCupertinoListSection = (0,
|
|
598
|
+
var import_react_core_ui13 = require("@openwebf/react-core-ui");
|
|
599
|
+
var FlutterCupertinoListSection = (0, import_react_core_ui13.createWebFComponent)({
|
|
540
600
|
tagName: "flutter-cupertino-list-section",
|
|
541
601
|
displayName: "FlutterCupertinoListSection",
|
|
542
602
|
// Map props to attributes
|
|
@@ -554,7 +614,7 @@ var FlutterCupertinoListSection = (0, import_react_core_ui12.createWebFComponent
|
|
|
554
614
|
// Add default values here
|
|
555
615
|
}
|
|
556
616
|
});
|
|
557
|
-
var FlutterCupertinoListSectionHeader = (0,
|
|
617
|
+
var FlutterCupertinoListSectionHeader = (0, import_react_core_ui13.createWebFComponent)({
|
|
558
618
|
tagName: "flutter-cupertino-list-section-header",
|
|
559
619
|
displayName: "FlutterCupertinoListSectionHeader",
|
|
560
620
|
// Map props to attributes
|
|
@@ -568,7 +628,7 @@ var FlutterCupertinoListSectionHeader = (0, import_react_core_ui12.createWebFCom
|
|
|
568
628
|
// Add default values here
|
|
569
629
|
}
|
|
570
630
|
});
|
|
571
|
-
var FlutterCupertinoListSectionFooter = (0,
|
|
631
|
+
var FlutterCupertinoListSectionFooter = (0, import_react_core_ui13.createWebFComponent)({
|
|
572
632
|
tagName: "flutter-cupertino-list-section-footer",
|
|
573
633
|
displayName: "FlutterCupertinoListSectionFooter",
|
|
574
634
|
// Map props to attributes
|
|
@@ -584,8 +644,8 @@ var FlutterCupertinoListSectionFooter = (0, import_react_core_ui12.createWebFCom
|
|
|
584
644
|
});
|
|
585
645
|
|
|
586
646
|
// src/lib/src/input.tsx
|
|
587
|
-
var
|
|
588
|
-
var FlutterCupertinoInput = (0,
|
|
647
|
+
var import_react_core_ui14 = require("@openwebf/react-core-ui");
|
|
648
|
+
var FlutterCupertinoInput = (0, import_react_core_ui14.createWebFComponent)({
|
|
589
649
|
tagName: "flutter-cupertino-input",
|
|
590
650
|
displayName: "FlutterCupertinoInput",
|
|
591
651
|
// Map props to attributes
|
|
@@ -646,8 +706,8 @@ var FlutterCupertinoInput = (0, import_react_core_ui13.createWebFComponent)({
|
|
|
646
706
|
});
|
|
647
707
|
|
|
648
708
|
// src/lib/src/icon.tsx
|
|
649
|
-
var
|
|
650
|
-
var FlutterCupertinoIcon = (0,
|
|
709
|
+
var import_react_core_ui15 = require("@openwebf/react-core-ui");
|
|
710
|
+
var FlutterCupertinoIcon = (0, import_react_core_ui15.createWebFComponent)({
|
|
651
711
|
tagName: "flutter-cupertino-icon",
|
|
652
712
|
displayName: "FlutterCupertinoIcon",
|
|
653
713
|
// Map props to attributes
|
|
@@ -664,8 +724,8 @@ var FlutterCupertinoIcon = (0, import_react_core_ui14.createWebFComponent)({
|
|
|
664
724
|
});
|
|
665
725
|
|
|
666
726
|
// src/lib/src/form-section.tsx
|
|
667
|
-
var
|
|
668
|
-
var FlutterCupertinoFormSection = (0,
|
|
727
|
+
var import_react_core_ui16 = require("@openwebf/react-core-ui");
|
|
728
|
+
var FlutterCupertinoFormSection = (0, import_react_core_ui16.createWebFComponent)({
|
|
669
729
|
tagName: "flutter-cupertino-form-section",
|
|
670
730
|
displayName: "FlutterCupertinoFormSection",
|
|
671
731
|
// Map props to attributes
|
|
@@ -685,7 +745,7 @@ var FlutterCupertinoFormSection = (0, import_react_core_ui15.createWebFComponent
|
|
|
685
745
|
// Add default values here
|
|
686
746
|
}
|
|
687
747
|
});
|
|
688
|
-
var FlutterCupertinoFormRow = (0,
|
|
748
|
+
var FlutterCupertinoFormRow = (0, import_react_core_ui16.createWebFComponent)({
|
|
689
749
|
tagName: "flutter-cupertino-form-row",
|
|
690
750
|
displayName: "FlutterCupertinoFormRow",
|
|
691
751
|
// Map props to attributes
|
|
@@ -701,8 +761,8 @@ var FlutterCupertinoFormRow = (0, import_react_core_ui15.createWebFComponent)({
|
|
|
701
761
|
});
|
|
702
762
|
|
|
703
763
|
// src/lib/src/context-menu.tsx
|
|
704
|
-
var
|
|
705
|
-
var FlutterCupertinoContextMenu = (0,
|
|
764
|
+
var import_react_core_ui17 = require("@openwebf/react-core-ui");
|
|
765
|
+
var FlutterCupertinoContextMenu = (0, import_react_core_ui17.createWebFComponent)({
|
|
706
766
|
tagName: "flutter-cupertino-context-menu",
|
|
707
767
|
displayName: "FlutterCupertinoContextMenu",
|
|
708
768
|
// Map props to attributes
|
|
@@ -730,8 +790,8 @@ var FlutterCupertinoContextMenu = (0, import_react_core_ui16.createWebFComponent
|
|
|
730
790
|
});
|
|
731
791
|
|
|
732
792
|
// src/lib/src/checkbox.tsx
|
|
733
|
-
var
|
|
734
|
-
var FlutterCupertinoCheckbox = (0,
|
|
793
|
+
var import_react_core_ui18 = require("@openwebf/react-core-ui");
|
|
794
|
+
var FlutterCupertinoCheckbox = (0, import_react_core_ui18.createWebFComponent)({
|
|
735
795
|
tagName: "flutter-cupertino-checkbox",
|
|
736
796
|
displayName: "FlutterCupertinoCheckbox",
|
|
737
797
|
// Map props to attributes
|
|
@@ -780,8 +840,8 @@ var FlutterCupertinoCheckbox = (0, import_react_core_ui17.createWebFComponent)({
|
|
|
780
840
|
});
|
|
781
841
|
|
|
782
842
|
// src/lib/src/button.tsx
|
|
783
|
-
var
|
|
784
|
-
var FlutterCupertinoButton = (0,
|
|
843
|
+
var import_react_core_ui19 = require("@openwebf/react-core-ui");
|
|
844
|
+
var FlutterCupertinoButton = (0, import_react_core_ui19.createWebFComponent)({
|
|
785
845
|
tagName: "flutter-cupertino-button",
|
|
786
846
|
displayName: "FlutterCupertinoButton",
|
|
787
847
|
// Map props to attributes
|
|
@@ -814,8 +874,8 @@ var FlutterCupertinoButton = (0, import_react_core_ui18.createWebFComponent)({
|
|
|
814
874
|
});
|
|
815
875
|
|
|
816
876
|
// src/lib/src/alert.tsx
|
|
817
|
-
var
|
|
818
|
-
var FlutterCupertinoAlert = (0,
|
|
877
|
+
var import_react_core_ui20 = require("@openwebf/react-core-ui");
|
|
878
|
+
var FlutterCupertinoAlert = (0, import_react_core_ui20.createWebFComponent)({
|
|
819
879
|
tagName: "flutter-cupertino-alert",
|
|
820
880
|
displayName: "FlutterCupertinoAlert",
|
|
821
881
|
// Map props to attributes
|
|
@@ -866,8 +926,8 @@ var FlutterCupertinoAlert = (0, import_react_core_ui19.createWebFComponent)({
|
|
|
866
926
|
});
|
|
867
927
|
|
|
868
928
|
// src/lib/src/action-sheet.tsx
|
|
869
|
-
var
|
|
870
|
-
var FlutterCupertinoActionSheet = (0,
|
|
929
|
+
var import_react_core_ui21 = require("@openwebf/react-core-ui");
|
|
930
|
+
var FlutterCupertinoActionSheet = (0, import_react_core_ui21.createWebFComponent)({
|
|
871
931
|
tagName: "flutter-cupertino-action-sheet",
|
|
872
932
|
displayName: "FlutterCupertinoActionSheet",
|
|
873
933
|
// Map props to attributes
|
|
@@ -2289,6 +2349,7 @@ var CupertinoColors = /* @__PURE__ */ ((CupertinoColors2) => {
|
|
|
2289
2349
|
FlutterCupertinoListTileTrailing,
|
|
2290
2350
|
FlutterCupertinoModalPopup,
|
|
2291
2351
|
FlutterCupertinoRadio,
|
|
2352
|
+
FlutterCupertinoSearchTextField,
|
|
2292
2353
|
FlutterCupertinoSlider,
|
|
2293
2354
|
FlutterCupertinoSlidingSegmentedControl,
|
|
2294
2355
|
FlutterCupertinoSlidingSegmentedControlItem,
|