@openwebf/react-cupertino-ui 0.3.10 → 0.3.11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.mts +130 -78
- package/dist/index.d.ts +130 -78
- package/dist/index.js +78 -78
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +78 -78
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1761,7 +1761,13 @@ declare const FlutterCupertinoButton: React.ForwardRefExoticComponent<FlutterCup
|
|
|
1761
1761
|
} & React.RefAttributes<FlutterCupertinoButtonElement>>;
|
|
1762
1762
|
|
|
1763
1763
|
interface FlutterCupertinoAlertOptions {
|
|
1764
|
+
/**
|
|
1765
|
+
* Optional override title for this show() call.
|
|
1766
|
+
*/
|
|
1764
1767
|
title?: string;
|
|
1768
|
+
/**
|
|
1769
|
+
* Optional override message for this show() call.
|
|
1770
|
+
*/
|
|
1765
1771
|
message?: string;
|
|
1766
1772
|
}
|
|
1767
1773
|
interface FlutterCupertinoAlertProps {
|
|
@@ -1882,6 +1888,130 @@ declare const FlutterCupertinoAlert: React.ForwardRefExoticComponent<FlutterCupe
|
|
|
1882
1888
|
children?: React.ReactNode;
|
|
1883
1889
|
} & React.RefAttributes<FlutterCupertinoAlertElement>>;
|
|
1884
1890
|
|
|
1891
|
+
interface FlutterCupertinoActionSheetAction {
|
|
1892
|
+
/**
|
|
1893
|
+
* Button label text.
|
|
1894
|
+
*/
|
|
1895
|
+
text: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* Marks this action as the default (emphasized) action.
|
|
1898
|
+
*/
|
|
1899
|
+
isDefault?: boolean;
|
|
1900
|
+
/**
|
|
1901
|
+
* Marks this action as destructive (red).
|
|
1902
|
+
*/
|
|
1903
|
+
isDestructive?: boolean;
|
|
1904
|
+
/**
|
|
1905
|
+
* Optional event name associated with this action.
|
|
1906
|
+
* If omitted, a name is derived from the text.
|
|
1907
|
+
*/
|
|
1908
|
+
event?: string;
|
|
1909
|
+
}
|
|
1910
|
+
interface FlutterCupertinoActionSheetOptions {
|
|
1911
|
+
/**
|
|
1912
|
+
* Optional title text shown at the top of the sheet.
|
|
1913
|
+
*/
|
|
1914
|
+
title?: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* Optional message/body text shown below the title.
|
|
1917
|
+
*/
|
|
1918
|
+
message?: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* List of action buttons.
|
|
1921
|
+
* Each action maps to a row in the sheet.
|
|
1922
|
+
*/
|
|
1923
|
+
actions?: FlutterCupertinoActionSheetAction[];
|
|
1924
|
+
/**
|
|
1925
|
+
* Optional cancel button displayed separately at the bottom.
|
|
1926
|
+
*/
|
|
1927
|
+
cancelButton?: FlutterCupertinoActionSheetAction;
|
|
1928
|
+
}
|
|
1929
|
+
interface FlutterCupertinoActionSheetSelectDetail {
|
|
1930
|
+
/**
|
|
1931
|
+
* Action text.
|
|
1932
|
+
*/
|
|
1933
|
+
text: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* Event name for this action.
|
|
1936
|
+
*/
|
|
1937
|
+
event: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* Whether the action is the default one.
|
|
1940
|
+
*/
|
|
1941
|
+
isDefault: boolean;
|
|
1942
|
+
/**
|
|
1943
|
+
* Whether the action is destructive.
|
|
1944
|
+
*/
|
|
1945
|
+
isDestructive: boolean;
|
|
1946
|
+
/**
|
|
1947
|
+
* Zero-based index of the action within `actions`, if applicable.
|
|
1948
|
+
*/
|
|
1949
|
+
index?: number;
|
|
1950
|
+
}
|
|
1951
|
+
interface FlutterCupertinoActionSheetProps {
|
|
1952
|
+
/**
|
|
1953
|
+
* Fired when any action (including cancel) is selected.
|
|
1954
|
+
* detail contains metadata about the selected action.
|
|
1955
|
+
*/
|
|
1956
|
+
onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
|
|
1957
|
+
/**
|
|
1958
|
+
* HTML id attribute
|
|
1959
|
+
*/
|
|
1960
|
+
id?: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* Additional CSS styles
|
|
1963
|
+
*/
|
|
1964
|
+
style?: React.CSSProperties;
|
|
1965
|
+
/**
|
|
1966
|
+
* Children elements
|
|
1967
|
+
*/
|
|
1968
|
+
children?: React.ReactNode;
|
|
1969
|
+
/**
|
|
1970
|
+
* Additional CSS class names
|
|
1971
|
+
*/
|
|
1972
|
+
className?: string;
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* Element interface with methods accessible via ref
|
|
1976
|
+
* @example
|
|
1977
|
+
* ```tsx
|
|
1978
|
+
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
1979
|
+
* // Call methods on the element
|
|
1980
|
+
* ref.current?.finishRefresh('success');
|
|
1981
|
+
* ```
|
|
1982
|
+
*/
|
|
1983
|
+
interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
|
|
1984
|
+
/**
|
|
1985
|
+
* Show the action sheet with the given options.
|
|
1986
|
+
*/
|
|
1987
|
+
show(options: FlutterCupertinoActionSheetOptions): void;
|
|
1988
|
+
}> {
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* Properties for <flutter-cupertino-action-sheet>.
|
|
1992
|
+
Imperative wrapper around Flutter's CupertinoActionSheet.
|
|
1993
|
+
*
|
|
1994
|
+
* @example
|
|
1995
|
+
* ```tsx
|
|
1996
|
+
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
1997
|
+
*
|
|
1998
|
+
* <FlutterCupertinoActionSheet
|
|
1999
|
+
* ref={ref}
|
|
2000
|
+
* // Add props here
|
|
2001
|
+
* >
|
|
2002
|
+
* Content
|
|
2003
|
+
* </FlutterCupertinoActionSheet>
|
|
2004
|
+
*
|
|
2005
|
+
* // Call methods on the element
|
|
2006
|
+
* ref.current?.finishRefresh('success');
|
|
2007
|
+
* ```
|
|
2008
|
+
*/
|
|
2009
|
+
declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
|
|
2010
|
+
className?: string;
|
|
2011
|
+
style?: React.CSSProperties;
|
|
2012
|
+
children?: React.ReactNode;
|
|
2013
|
+
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
2014
|
+
|
|
1885
2015
|
interface FlutterCupertinoToastOptions {
|
|
1886
2016
|
content: string;
|
|
1887
2017
|
type?: 'normal' | 'success' | 'warning' | 'error' | 'loading';
|
|
@@ -3815,82 +3945,4 @@ declare const FlutterCupertinoCheckbox: React.ForwardRefExoticComponent<FlutterC
|
|
|
3815
3945
|
children?: React.ReactNode;
|
|
3816
3946
|
} & React.RefAttributes<FlutterCupertinoCheckboxElement>>;
|
|
3817
3947
|
|
|
3818
|
-
interface FlutterCupertinoActionSheetAction {
|
|
3819
|
-
text: string;
|
|
3820
|
-
isDefault?: boolean;
|
|
3821
|
-
isDestructive?: boolean;
|
|
3822
|
-
event?: string;
|
|
3823
|
-
}
|
|
3824
|
-
interface FlutterCupertinoActionSheetOptions {
|
|
3825
|
-
title?: string;
|
|
3826
|
-
message?: string;
|
|
3827
|
-
actions?: FlutterCupertinoActionSheetAction[];
|
|
3828
|
-
cancelButton?: FlutterCupertinoActionSheetAction;
|
|
3829
|
-
}
|
|
3830
|
-
interface FlutterCupertinoActionSheetSelectDetail {
|
|
3831
|
-
text: string;
|
|
3832
|
-
event: string;
|
|
3833
|
-
isDefault: boolean;
|
|
3834
|
-
isDestructive: boolean;
|
|
3835
|
-
index?: number;
|
|
3836
|
-
}
|
|
3837
|
-
interface FlutterCupertinoActionSheetProps {
|
|
3838
|
-
/**
|
|
3839
|
-
* select event handler
|
|
3840
|
-
*/
|
|
3841
|
-
onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
|
|
3842
|
-
/**
|
|
3843
|
-
* HTML id attribute
|
|
3844
|
-
*/
|
|
3845
|
-
id?: string;
|
|
3846
|
-
/**
|
|
3847
|
-
* Additional CSS styles
|
|
3848
|
-
*/
|
|
3849
|
-
style?: React.CSSProperties;
|
|
3850
|
-
/**
|
|
3851
|
-
* Children elements
|
|
3852
|
-
*/
|
|
3853
|
-
children?: React.ReactNode;
|
|
3854
|
-
/**
|
|
3855
|
-
* Additional CSS class names
|
|
3856
|
-
*/
|
|
3857
|
-
className?: string;
|
|
3858
|
-
}
|
|
3859
|
-
/**
|
|
3860
|
-
* Element interface with methods accessible via ref
|
|
3861
|
-
* @example
|
|
3862
|
-
* ```tsx
|
|
3863
|
-
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
3864
|
-
* // Call methods on the element
|
|
3865
|
-
* ref.current?.finishRefresh('success');
|
|
3866
|
-
* ```
|
|
3867
|
-
*/
|
|
3868
|
-
interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
|
|
3869
|
-
show(options: FlutterCupertinoActionSheetOptions): void;
|
|
3870
|
-
}> {
|
|
3871
|
-
}
|
|
3872
|
-
/**
|
|
3873
|
-
* FlutterCupertinoActionSheet - WebF FlutterCupertinoActionSheet component
|
|
3874
|
-
*
|
|
3875
|
-
* @example
|
|
3876
|
-
* ```tsx
|
|
3877
|
-
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
3878
|
-
*
|
|
3879
|
-
* <FlutterCupertinoActionSheet
|
|
3880
|
-
* ref={ref}
|
|
3881
|
-
* // Add props here
|
|
3882
|
-
* >
|
|
3883
|
-
* Content
|
|
3884
|
-
* </FlutterCupertinoActionSheet>
|
|
3885
|
-
*
|
|
3886
|
-
* // Call methods on the element
|
|
3887
|
-
* ref.current?.finishRefresh('success');
|
|
3888
|
-
* ```
|
|
3889
|
-
*/
|
|
3890
|
-
declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
|
|
3891
|
-
className?: string;
|
|
3892
|
-
style?: React.CSSProperties;
|
|
3893
|
-
children?: React.ReactNode;
|
|
3894
|
-
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3895
|
-
|
|
3896
3948
|
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormRowError, type FlutterCupertinoFormRowErrorElement, FlutterCupertinoFormRowHelper, type FlutterCupertinoFormRowHelperElement, FlutterCupertinoFormRowPrefix, type FlutterCupertinoFormRowPrefixElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoFormSectionFooter, type FlutterCupertinoFormSectionFooterElement, FlutterCupertinoFormSectionHeader, type FlutterCupertinoFormSectionHeaderElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoInputPrefix, type FlutterCupertinoInputPrefixElement, FlutterCupertinoInputSuffix, type FlutterCupertinoInputSuffixElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoLoading, type FlutterCupertinoLoadingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoPickerItem, type FlutterCupertinoPickerItemElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSegmentedTab, type FlutterCupertinoSegmentedTabElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement, FlutterCupertinoToast, type FlutterCupertinoToastElement };
|
package/dist/index.d.ts
CHANGED
|
@@ -1761,7 +1761,13 @@ declare const FlutterCupertinoButton: React.ForwardRefExoticComponent<FlutterCup
|
|
|
1761
1761
|
} & React.RefAttributes<FlutterCupertinoButtonElement>>;
|
|
1762
1762
|
|
|
1763
1763
|
interface FlutterCupertinoAlertOptions {
|
|
1764
|
+
/**
|
|
1765
|
+
* Optional override title for this show() call.
|
|
1766
|
+
*/
|
|
1764
1767
|
title?: string;
|
|
1768
|
+
/**
|
|
1769
|
+
* Optional override message for this show() call.
|
|
1770
|
+
*/
|
|
1765
1771
|
message?: string;
|
|
1766
1772
|
}
|
|
1767
1773
|
interface FlutterCupertinoAlertProps {
|
|
@@ -1882,6 +1888,130 @@ declare const FlutterCupertinoAlert: React.ForwardRefExoticComponent<FlutterCupe
|
|
|
1882
1888
|
children?: React.ReactNode;
|
|
1883
1889
|
} & React.RefAttributes<FlutterCupertinoAlertElement>>;
|
|
1884
1890
|
|
|
1891
|
+
interface FlutterCupertinoActionSheetAction {
|
|
1892
|
+
/**
|
|
1893
|
+
* Button label text.
|
|
1894
|
+
*/
|
|
1895
|
+
text: string;
|
|
1896
|
+
/**
|
|
1897
|
+
* Marks this action as the default (emphasized) action.
|
|
1898
|
+
*/
|
|
1899
|
+
isDefault?: boolean;
|
|
1900
|
+
/**
|
|
1901
|
+
* Marks this action as destructive (red).
|
|
1902
|
+
*/
|
|
1903
|
+
isDestructive?: boolean;
|
|
1904
|
+
/**
|
|
1905
|
+
* Optional event name associated with this action.
|
|
1906
|
+
* If omitted, a name is derived from the text.
|
|
1907
|
+
*/
|
|
1908
|
+
event?: string;
|
|
1909
|
+
}
|
|
1910
|
+
interface FlutterCupertinoActionSheetOptions {
|
|
1911
|
+
/**
|
|
1912
|
+
* Optional title text shown at the top of the sheet.
|
|
1913
|
+
*/
|
|
1914
|
+
title?: string;
|
|
1915
|
+
/**
|
|
1916
|
+
* Optional message/body text shown below the title.
|
|
1917
|
+
*/
|
|
1918
|
+
message?: string;
|
|
1919
|
+
/**
|
|
1920
|
+
* List of action buttons.
|
|
1921
|
+
* Each action maps to a row in the sheet.
|
|
1922
|
+
*/
|
|
1923
|
+
actions?: FlutterCupertinoActionSheetAction[];
|
|
1924
|
+
/**
|
|
1925
|
+
* Optional cancel button displayed separately at the bottom.
|
|
1926
|
+
*/
|
|
1927
|
+
cancelButton?: FlutterCupertinoActionSheetAction;
|
|
1928
|
+
}
|
|
1929
|
+
interface FlutterCupertinoActionSheetSelectDetail {
|
|
1930
|
+
/**
|
|
1931
|
+
* Action text.
|
|
1932
|
+
*/
|
|
1933
|
+
text: string;
|
|
1934
|
+
/**
|
|
1935
|
+
* Event name for this action.
|
|
1936
|
+
*/
|
|
1937
|
+
event: string;
|
|
1938
|
+
/**
|
|
1939
|
+
* Whether the action is the default one.
|
|
1940
|
+
*/
|
|
1941
|
+
isDefault: boolean;
|
|
1942
|
+
/**
|
|
1943
|
+
* Whether the action is destructive.
|
|
1944
|
+
*/
|
|
1945
|
+
isDestructive: boolean;
|
|
1946
|
+
/**
|
|
1947
|
+
* Zero-based index of the action within `actions`, if applicable.
|
|
1948
|
+
*/
|
|
1949
|
+
index?: number;
|
|
1950
|
+
}
|
|
1951
|
+
interface FlutterCupertinoActionSheetProps {
|
|
1952
|
+
/**
|
|
1953
|
+
* Fired when any action (including cancel) is selected.
|
|
1954
|
+
* detail contains metadata about the selected action.
|
|
1955
|
+
*/
|
|
1956
|
+
onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
|
|
1957
|
+
/**
|
|
1958
|
+
* HTML id attribute
|
|
1959
|
+
*/
|
|
1960
|
+
id?: string;
|
|
1961
|
+
/**
|
|
1962
|
+
* Additional CSS styles
|
|
1963
|
+
*/
|
|
1964
|
+
style?: React.CSSProperties;
|
|
1965
|
+
/**
|
|
1966
|
+
* Children elements
|
|
1967
|
+
*/
|
|
1968
|
+
children?: React.ReactNode;
|
|
1969
|
+
/**
|
|
1970
|
+
* Additional CSS class names
|
|
1971
|
+
*/
|
|
1972
|
+
className?: string;
|
|
1973
|
+
}
|
|
1974
|
+
/**
|
|
1975
|
+
* Element interface with methods accessible via ref
|
|
1976
|
+
* @example
|
|
1977
|
+
* ```tsx
|
|
1978
|
+
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
1979
|
+
* // Call methods on the element
|
|
1980
|
+
* ref.current?.finishRefresh('success');
|
|
1981
|
+
* ```
|
|
1982
|
+
*/
|
|
1983
|
+
interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
|
|
1984
|
+
/**
|
|
1985
|
+
* Show the action sheet with the given options.
|
|
1986
|
+
*/
|
|
1987
|
+
show(options: FlutterCupertinoActionSheetOptions): void;
|
|
1988
|
+
}> {
|
|
1989
|
+
}
|
|
1990
|
+
/**
|
|
1991
|
+
* Properties for <flutter-cupertino-action-sheet>.
|
|
1992
|
+
Imperative wrapper around Flutter's CupertinoActionSheet.
|
|
1993
|
+
*
|
|
1994
|
+
* @example
|
|
1995
|
+
* ```tsx
|
|
1996
|
+
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
1997
|
+
*
|
|
1998
|
+
* <FlutterCupertinoActionSheet
|
|
1999
|
+
* ref={ref}
|
|
2000
|
+
* // Add props here
|
|
2001
|
+
* >
|
|
2002
|
+
* Content
|
|
2003
|
+
* </FlutterCupertinoActionSheet>
|
|
2004
|
+
*
|
|
2005
|
+
* // Call methods on the element
|
|
2006
|
+
* ref.current?.finishRefresh('success');
|
|
2007
|
+
* ```
|
|
2008
|
+
*/
|
|
2009
|
+
declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
|
|
2010
|
+
className?: string;
|
|
2011
|
+
style?: React.CSSProperties;
|
|
2012
|
+
children?: React.ReactNode;
|
|
2013
|
+
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
2014
|
+
|
|
1885
2015
|
interface FlutterCupertinoToastOptions {
|
|
1886
2016
|
content: string;
|
|
1887
2017
|
type?: 'normal' | 'success' | 'warning' | 'error' | 'loading';
|
|
@@ -3815,82 +3945,4 @@ declare const FlutterCupertinoCheckbox: React.ForwardRefExoticComponent<FlutterC
|
|
|
3815
3945
|
children?: React.ReactNode;
|
|
3816
3946
|
} & React.RefAttributes<FlutterCupertinoCheckboxElement>>;
|
|
3817
3947
|
|
|
3818
|
-
interface FlutterCupertinoActionSheetAction {
|
|
3819
|
-
text: string;
|
|
3820
|
-
isDefault?: boolean;
|
|
3821
|
-
isDestructive?: boolean;
|
|
3822
|
-
event?: string;
|
|
3823
|
-
}
|
|
3824
|
-
interface FlutterCupertinoActionSheetOptions {
|
|
3825
|
-
title?: string;
|
|
3826
|
-
message?: string;
|
|
3827
|
-
actions?: FlutterCupertinoActionSheetAction[];
|
|
3828
|
-
cancelButton?: FlutterCupertinoActionSheetAction;
|
|
3829
|
-
}
|
|
3830
|
-
interface FlutterCupertinoActionSheetSelectDetail {
|
|
3831
|
-
text: string;
|
|
3832
|
-
event: string;
|
|
3833
|
-
isDefault: boolean;
|
|
3834
|
-
isDestructive: boolean;
|
|
3835
|
-
index?: number;
|
|
3836
|
-
}
|
|
3837
|
-
interface FlutterCupertinoActionSheetProps {
|
|
3838
|
-
/**
|
|
3839
|
-
* select event handler
|
|
3840
|
-
*/
|
|
3841
|
-
onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
|
|
3842
|
-
/**
|
|
3843
|
-
* HTML id attribute
|
|
3844
|
-
*/
|
|
3845
|
-
id?: string;
|
|
3846
|
-
/**
|
|
3847
|
-
* Additional CSS styles
|
|
3848
|
-
*/
|
|
3849
|
-
style?: React.CSSProperties;
|
|
3850
|
-
/**
|
|
3851
|
-
* Children elements
|
|
3852
|
-
*/
|
|
3853
|
-
children?: React.ReactNode;
|
|
3854
|
-
/**
|
|
3855
|
-
* Additional CSS class names
|
|
3856
|
-
*/
|
|
3857
|
-
className?: string;
|
|
3858
|
-
}
|
|
3859
|
-
/**
|
|
3860
|
-
* Element interface with methods accessible via ref
|
|
3861
|
-
* @example
|
|
3862
|
-
* ```tsx
|
|
3863
|
-
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
3864
|
-
* // Call methods on the element
|
|
3865
|
-
* ref.current?.finishRefresh('success');
|
|
3866
|
-
* ```
|
|
3867
|
-
*/
|
|
3868
|
-
interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
|
|
3869
|
-
show(options: FlutterCupertinoActionSheetOptions): void;
|
|
3870
|
-
}> {
|
|
3871
|
-
}
|
|
3872
|
-
/**
|
|
3873
|
-
* FlutterCupertinoActionSheet - WebF FlutterCupertinoActionSheet component
|
|
3874
|
-
*
|
|
3875
|
-
* @example
|
|
3876
|
-
* ```tsx
|
|
3877
|
-
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
3878
|
-
*
|
|
3879
|
-
* <FlutterCupertinoActionSheet
|
|
3880
|
-
* ref={ref}
|
|
3881
|
-
* // Add props here
|
|
3882
|
-
* >
|
|
3883
|
-
* Content
|
|
3884
|
-
* </FlutterCupertinoActionSheet>
|
|
3885
|
-
*
|
|
3886
|
-
* // Call methods on the element
|
|
3887
|
-
* ref.current?.finishRefresh('success');
|
|
3888
|
-
* ```
|
|
3889
|
-
*/
|
|
3890
|
-
declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
|
|
3891
|
-
className?: string;
|
|
3892
|
-
style?: React.CSSProperties;
|
|
3893
|
-
children?: React.ReactNode;
|
|
3894
|
-
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3895
|
-
|
|
3896
3948
|
export { CupertinoColors, CupertinoIcons, FlutterCupertinoActionSheet, type FlutterCupertinoActionSheetElement, FlutterCupertinoAlert, type FlutterCupertinoAlertElement, FlutterCupertinoButton, type FlutterCupertinoButtonElement, FlutterCupertinoCheckbox, type FlutterCupertinoCheckboxElement, FlutterCupertinoContextMenu, type FlutterCupertinoContextMenuElement, FlutterCupertinoDatePicker, type FlutterCupertinoDatePickerElement, FlutterCupertinoFormRow, type FlutterCupertinoFormRowElement, FlutterCupertinoFormRowError, type FlutterCupertinoFormRowErrorElement, FlutterCupertinoFormRowHelper, type FlutterCupertinoFormRowHelperElement, FlutterCupertinoFormRowPrefix, type FlutterCupertinoFormRowPrefixElement, FlutterCupertinoFormSection, type FlutterCupertinoFormSectionElement, FlutterCupertinoFormSectionFooter, type FlutterCupertinoFormSectionFooterElement, FlutterCupertinoFormSectionHeader, type FlutterCupertinoFormSectionHeaderElement, FlutterCupertinoIcon, type FlutterCupertinoIconElement, FlutterCupertinoInput, type FlutterCupertinoInputElement, FlutterCupertinoInputPrefix, type FlutterCupertinoInputPrefixElement, FlutterCupertinoInputSuffix, type FlutterCupertinoInputSuffixElement, FlutterCupertinoListSection, type FlutterCupertinoListSectionElement, FlutterCupertinoListSectionFooter, type FlutterCupertinoListSectionFooterElement, FlutterCupertinoListSectionHeader, type FlutterCupertinoListSectionHeaderElement, FlutterCupertinoListTile, FlutterCupertinoListTileAdditionalInfo, type FlutterCupertinoListTileAdditionalInfoElement, type FlutterCupertinoListTileElement, FlutterCupertinoListTileLeading, type FlutterCupertinoListTileLeadingElement, FlutterCupertinoListTileSubtitle, type FlutterCupertinoListTileSubtitleElement, FlutterCupertinoListTileTrailing, type FlutterCupertinoListTileTrailingElement, FlutterCupertinoLoading, type FlutterCupertinoLoadingElement, FlutterCupertinoModalPopup, type FlutterCupertinoModalPopupElement, FlutterCupertinoPicker, type FlutterCupertinoPickerElement, FlutterCupertinoPickerItem, type FlutterCupertinoPickerItemElement, FlutterCupertinoRadio, type FlutterCupertinoRadioElement, FlutterCupertinoSearchInput, type FlutterCupertinoSearchInputElement, FlutterCupertinoSegmentedTab, type FlutterCupertinoSegmentedTabElement, FlutterCupertinoSlider, type FlutterCupertinoSliderElement, FlutterCupertinoSwitch, type FlutterCupertinoSwitchElement, FlutterCupertinoTabBar, type FlutterCupertinoTabBarElement, FlutterCupertinoTabBarItem, type FlutterCupertinoTabBarItemElement, FlutterCupertinoTabScaffold, type FlutterCupertinoTabScaffoldElement, FlutterCupertinoTabScaffoldTab, type FlutterCupertinoTabScaffoldTabElement, FlutterCupertinoTabView, type FlutterCupertinoTabViewElement, FlutterCupertinoTextarea, type FlutterCupertinoTextareaElement, FlutterCupertinoTimerPicker, type FlutterCupertinoTimerPickerElement, FlutterCupertinoToast, type FlutterCupertinoToastElement };
|