@openwebf/react-cupertino-ui 0.3.7 → 0.3.8
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 +849 -849
- package/dist/index.d.ts +849 -849
- package/dist/index.js.map +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1666,855 +1666,6 @@ declare const FlutterCupertinoInputSuffix: React.ForwardRefExoticComponent<Flutt
|
|
|
1666
1666
|
children?: React.ReactNode;
|
|
1667
1667
|
} & React.RefAttributes<FlutterCupertinoInputSuffixElement>>;
|
|
1668
1668
|
|
|
1669
|
-
interface FlutterCupertinoIconProps {
|
|
1670
|
-
/**
|
|
1671
|
-
* type property
|
|
1672
|
-
* @default undefined
|
|
1673
|
-
*/
|
|
1674
|
-
type?: any;
|
|
1675
|
-
/**
|
|
1676
|
-
* label property
|
|
1677
|
-
* @default undefined
|
|
1678
|
-
*/
|
|
1679
|
-
label?: string;
|
|
1680
|
-
/**
|
|
1681
|
-
* HTML id attribute
|
|
1682
|
-
*/
|
|
1683
|
-
id?: string;
|
|
1684
|
-
/**
|
|
1685
|
-
* Additional CSS styles
|
|
1686
|
-
*/
|
|
1687
|
-
style?: React.CSSProperties;
|
|
1688
|
-
/**
|
|
1689
|
-
* Children elements
|
|
1690
|
-
*/
|
|
1691
|
-
children?: React.ReactNode;
|
|
1692
|
-
/**
|
|
1693
|
-
* Additional CSS class names
|
|
1694
|
-
*/
|
|
1695
|
-
className?: string;
|
|
1696
|
-
}
|
|
1697
|
-
interface FlutterCupertinoIconElement extends WebFElementWithMethods<{}> {
|
|
1698
|
-
}
|
|
1699
|
-
/**
|
|
1700
|
-
* FlutterCupertinoIcon - WebF FlutterCupertinoIcon component
|
|
1701
|
-
*
|
|
1702
|
-
* @example
|
|
1703
|
-
* ```tsx
|
|
1704
|
-
*
|
|
1705
|
-
* <FlutterCupertinoIcon
|
|
1706
|
-
* // Add props here
|
|
1707
|
-
* >
|
|
1708
|
-
* Content
|
|
1709
|
-
* </FlutterCupertinoIcon>
|
|
1710
|
-
* ```
|
|
1711
|
-
*/
|
|
1712
|
-
declare const FlutterCupertinoIcon: React.ForwardRefExoticComponent<FlutterCupertinoIconProps & {
|
|
1713
|
-
className?: string;
|
|
1714
|
-
style?: React.CSSProperties;
|
|
1715
|
-
children?: React.ReactNode;
|
|
1716
|
-
} & React.RefAttributes<FlutterCupertinoIconElement>>;
|
|
1717
|
-
|
|
1718
|
-
interface FlutterCupertinoFormSectionProps {
|
|
1719
|
-
/**
|
|
1720
|
-
* insetGrouped property
|
|
1721
|
-
* @default undefined
|
|
1722
|
-
*/
|
|
1723
|
-
insetGrouped?: string;
|
|
1724
|
-
/**
|
|
1725
|
-
* clipBehavior property
|
|
1726
|
-
* @default undefined
|
|
1727
|
-
*/
|
|
1728
|
-
clipBehavior?: string;
|
|
1729
|
-
/**
|
|
1730
|
-
* HTML id attribute
|
|
1731
|
-
*/
|
|
1732
|
-
id?: string;
|
|
1733
|
-
/**
|
|
1734
|
-
* Additional CSS styles
|
|
1735
|
-
*/
|
|
1736
|
-
style?: React.CSSProperties;
|
|
1737
|
-
/**
|
|
1738
|
-
* Children elements
|
|
1739
|
-
*/
|
|
1740
|
-
children?: React.ReactNode;
|
|
1741
|
-
/**
|
|
1742
|
-
* Additional CSS class names
|
|
1743
|
-
*/
|
|
1744
|
-
className?: string;
|
|
1745
|
-
}
|
|
1746
|
-
interface FlutterCupertinoFormSectionElement extends WebFElementWithMethods<{}> {
|
|
1747
|
-
}
|
|
1748
|
-
/**
|
|
1749
|
-
* FlutterCupertinoFormSection - WebF FlutterCupertinoFormSection component
|
|
1750
|
-
*
|
|
1751
|
-
* @example
|
|
1752
|
-
* ```tsx
|
|
1753
|
-
*
|
|
1754
|
-
* <FlutterCupertinoFormSection
|
|
1755
|
-
* // Add props here
|
|
1756
|
-
* >
|
|
1757
|
-
* Content
|
|
1758
|
-
* </FlutterCupertinoFormSection>
|
|
1759
|
-
* ```
|
|
1760
|
-
*/
|
|
1761
|
-
declare const FlutterCupertinoFormSection: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionProps & {
|
|
1762
|
-
className?: string;
|
|
1763
|
-
style?: React.CSSProperties;
|
|
1764
|
-
children?: React.ReactNode;
|
|
1765
|
-
} & React.RefAttributes<FlutterCupertinoFormSectionElement>>;
|
|
1766
|
-
interface FlutterCupertinoFormSectionHeaderProps {
|
|
1767
|
-
/**
|
|
1768
|
-
* HTML id attribute
|
|
1769
|
-
*/
|
|
1770
|
-
id?: string;
|
|
1771
|
-
/**
|
|
1772
|
-
* Additional CSS styles
|
|
1773
|
-
*/
|
|
1774
|
-
style?: React.CSSProperties;
|
|
1775
|
-
/**
|
|
1776
|
-
* Children elements
|
|
1777
|
-
*/
|
|
1778
|
-
children?: React.ReactNode;
|
|
1779
|
-
/**
|
|
1780
|
-
* Additional CSS class names
|
|
1781
|
-
*/
|
|
1782
|
-
className?: string;
|
|
1783
|
-
}
|
|
1784
|
-
interface FlutterCupertinoFormSectionHeaderElement extends WebFElementWithMethods<{}> {
|
|
1785
|
-
}
|
|
1786
|
-
/**
|
|
1787
|
-
* FlutterCupertinoFormSectionHeader - WebF FlutterCupertinoFormSectionHeader component
|
|
1788
|
-
*
|
|
1789
|
-
* @example
|
|
1790
|
-
* ```tsx
|
|
1791
|
-
*
|
|
1792
|
-
* <FlutterCupertinoFormSectionHeader
|
|
1793
|
-
* // Add props here
|
|
1794
|
-
* >
|
|
1795
|
-
* Content
|
|
1796
|
-
* </FlutterCupertinoFormSectionHeader>
|
|
1797
|
-
* ```
|
|
1798
|
-
*/
|
|
1799
|
-
declare const FlutterCupertinoFormSectionHeader: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionHeaderProps & {
|
|
1800
|
-
className?: string;
|
|
1801
|
-
style?: React.CSSProperties;
|
|
1802
|
-
children?: React.ReactNode;
|
|
1803
|
-
} & React.RefAttributes<FlutterCupertinoFormSectionHeaderElement>>;
|
|
1804
|
-
interface FlutterCupertinoFormSectionFooterProps {
|
|
1805
|
-
/**
|
|
1806
|
-
* HTML id attribute
|
|
1807
|
-
*/
|
|
1808
|
-
id?: string;
|
|
1809
|
-
/**
|
|
1810
|
-
* Additional CSS styles
|
|
1811
|
-
*/
|
|
1812
|
-
style?: React.CSSProperties;
|
|
1813
|
-
/**
|
|
1814
|
-
* Children elements
|
|
1815
|
-
*/
|
|
1816
|
-
children?: React.ReactNode;
|
|
1817
|
-
/**
|
|
1818
|
-
* Additional CSS class names
|
|
1819
|
-
*/
|
|
1820
|
-
className?: string;
|
|
1821
|
-
}
|
|
1822
|
-
interface FlutterCupertinoFormSectionFooterElement extends WebFElementWithMethods<{}> {
|
|
1823
|
-
}
|
|
1824
|
-
/**
|
|
1825
|
-
* FlutterCupertinoFormSectionFooter - WebF FlutterCupertinoFormSectionFooter component
|
|
1826
|
-
*
|
|
1827
|
-
* @example
|
|
1828
|
-
* ```tsx
|
|
1829
|
-
*
|
|
1830
|
-
* <FlutterCupertinoFormSectionFooter
|
|
1831
|
-
* // Add props here
|
|
1832
|
-
* >
|
|
1833
|
-
* Content
|
|
1834
|
-
* </FlutterCupertinoFormSectionFooter>
|
|
1835
|
-
* ```
|
|
1836
|
-
*/
|
|
1837
|
-
declare const FlutterCupertinoFormSectionFooter: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionFooterProps & {
|
|
1838
|
-
className?: string;
|
|
1839
|
-
style?: React.CSSProperties;
|
|
1840
|
-
children?: React.ReactNode;
|
|
1841
|
-
} & React.RefAttributes<FlutterCupertinoFormSectionFooterElement>>;
|
|
1842
|
-
|
|
1843
|
-
interface FlutterCupertinoFormRowProps {
|
|
1844
|
-
/**
|
|
1845
|
-
* HTML id attribute
|
|
1846
|
-
*/
|
|
1847
|
-
id?: string;
|
|
1848
|
-
/**
|
|
1849
|
-
* Additional CSS styles
|
|
1850
|
-
*/
|
|
1851
|
-
style?: React.CSSProperties;
|
|
1852
|
-
/**
|
|
1853
|
-
* Children elements
|
|
1854
|
-
*/
|
|
1855
|
-
children?: React.ReactNode;
|
|
1856
|
-
/**
|
|
1857
|
-
* Additional CSS class names
|
|
1858
|
-
*/
|
|
1859
|
-
className?: string;
|
|
1860
|
-
}
|
|
1861
|
-
interface FlutterCupertinoFormRowElement extends WebFElementWithMethods<{}> {
|
|
1862
|
-
}
|
|
1863
|
-
/**
|
|
1864
|
-
* FlutterCupertinoFormRow - WebF FlutterCupertinoFormRow component
|
|
1865
|
-
*
|
|
1866
|
-
* @example
|
|
1867
|
-
* ```tsx
|
|
1868
|
-
*
|
|
1869
|
-
* <FlutterCupertinoFormRow
|
|
1870
|
-
* // Add props here
|
|
1871
|
-
* >
|
|
1872
|
-
* Content
|
|
1873
|
-
* </FlutterCupertinoFormRow>
|
|
1874
|
-
* ```
|
|
1875
|
-
*/
|
|
1876
|
-
declare const FlutterCupertinoFormRow: React.ForwardRefExoticComponent<FlutterCupertinoFormRowProps & {
|
|
1877
|
-
className?: string;
|
|
1878
|
-
style?: React.CSSProperties;
|
|
1879
|
-
children?: React.ReactNode;
|
|
1880
|
-
} & React.RefAttributes<FlutterCupertinoFormRowElement>>;
|
|
1881
|
-
interface FlutterCupertinoFormRowPrefixProps {
|
|
1882
|
-
/**
|
|
1883
|
-
* HTML id attribute
|
|
1884
|
-
*/
|
|
1885
|
-
id?: string;
|
|
1886
|
-
/**
|
|
1887
|
-
* Additional CSS styles
|
|
1888
|
-
*/
|
|
1889
|
-
style?: React.CSSProperties;
|
|
1890
|
-
/**
|
|
1891
|
-
* Children elements
|
|
1892
|
-
*/
|
|
1893
|
-
children?: React.ReactNode;
|
|
1894
|
-
/**
|
|
1895
|
-
* Additional CSS class names
|
|
1896
|
-
*/
|
|
1897
|
-
className?: string;
|
|
1898
|
-
}
|
|
1899
|
-
interface FlutterCupertinoFormRowPrefixElement extends WebFElementWithMethods<{}> {
|
|
1900
|
-
}
|
|
1901
|
-
/**
|
|
1902
|
-
* FlutterCupertinoFormRowPrefix - WebF FlutterCupertinoFormRowPrefix component
|
|
1903
|
-
*
|
|
1904
|
-
* @example
|
|
1905
|
-
* ```tsx
|
|
1906
|
-
*
|
|
1907
|
-
* <FlutterCupertinoFormRowPrefix
|
|
1908
|
-
* // Add props here
|
|
1909
|
-
* >
|
|
1910
|
-
* Content
|
|
1911
|
-
* </FlutterCupertinoFormRowPrefix>
|
|
1912
|
-
* ```
|
|
1913
|
-
*/
|
|
1914
|
-
declare const FlutterCupertinoFormRowPrefix: React.ForwardRefExoticComponent<FlutterCupertinoFormRowPrefixProps & {
|
|
1915
|
-
className?: string;
|
|
1916
|
-
style?: React.CSSProperties;
|
|
1917
|
-
children?: React.ReactNode;
|
|
1918
|
-
} & React.RefAttributes<FlutterCupertinoFormRowPrefixElement>>;
|
|
1919
|
-
interface FlutterCupertinoFormRowHelperProps {
|
|
1920
|
-
/**
|
|
1921
|
-
* HTML id attribute
|
|
1922
|
-
*/
|
|
1923
|
-
id?: string;
|
|
1924
|
-
/**
|
|
1925
|
-
* Additional CSS styles
|
|
1926
|
-
*/
|
|
1927
|
-
style?: React.CSSProperties;
|
|
1928
|
-
/**
|
|
1929
|
-
* Children elements
|
|
1930
|
-
*/
|
|
1931
|
-
children?: React.ReactNode;
|
|
1932
|
-
/**
|
|
1933
|
-
* Additional CSS class names
|
|
1934
|
-
*/
|
|
1935
|
-
className?: string;
|
|
1936
|
-
}
|
|
1937
|
-
interface FlutterCupertinoFormRowHelperElement extends WebFElementWithMethods<{}> {
|
|
1938
|
-
}
|
|
1939
|
-
/**
|
|
1940
|
-
* FlutterCupertinoFormRowHelper - WebF FlutterCupertinoFormRowHelper component
|
|
1941
|
-
*
|
|
1942
|
-
* @example
|
|
1943
|
-
* ```tsx
|
|
1944
|
-
*
|
|
1945
|
-
* <FlutterCupertinoFormRowHelper
|
|
1946
|
-
* // Add props here
|
|
1947
|
-
* >
|
|
1948
|
-
* Content
|
|
1949
|
-
* </FlutterCupertinoFormRowHelper>
|
|
1950
|
-
* ```
|
|
1951
|
-
*/
|
|
1952
|
-
declare const FlutterCupertinoFormRowHelper: React.ForwardRefExoticComponent<FlutterCupertinoFormRowHelperProps & {
|
|
1953
|
-
className?: string;
|
|
1954
|
-
style?: React.CSSProperties;
|
|
1955
|
-
children?: React.ReactNode;
|
|
1956
|
-
} & React.RefAttributes<FlutterCupertinoFormRowHelperElement>>;
|
|
1957
|
-
interface FlutterCupertinoFormRowErrorProps {
|
|
1958
|
-
/**
|
|
1959
|
-
* HTML id attribute
|
|
1960
|
-
*/
|
|
1961
|
-
id?: string;
|
|
1962
|
-
/**
|
|
1963
|
-
* Additional CSS styles
|
|
1964
|
-
*/
|
|
1965
|
-
style?: React.CSSProperties;
|
|
1966
|
-
/**
|
|
1967
|
-
* Children elements
|
|
1968
|
-
*/
|
|
1969
|
-
children?: React.ReactNode;
|
|
1970
|
-
/**
|
|
1971
|
-
* Additional CSS class names
|
|
1972
|
-
*/
|
|
1973
|
-
className?: string;
|
|
1974
|
-
}
|
|
1975
|
-
interface FlutterCupertinoFormRowErrorElement extends WebFElementWithMethods<{}> {
|
|
1976
|
-
}
|
|
1977
|
-
/**
|
|
1978
|
-
* FlutterCupertinoFormRowError - WebF FlutterCupertinoFormRowError component
|
|
1979
|
-
*
|
|
1980
|
-
* @example
|
|
1981
|
-
* ```tsx
|
|
1982
|
-
*
|
|
1983
|
-
* <FlutterCupertinoFormRowError
|
|
1984
|
-
* // Add props here
|
|
1985
|
-
* >
|
|
1986
|
-
* Content
|
|
1987
|
-
* </FlutterCupertinoFormRowError>
|
|
1988
|
-
* ```
|
|
1989
|
-
*/
|
|
1990
|
-
declare const FlutterCupertinoFormRowError: React.ForwardRefExoticComponent<FlutterCupertinoFormRowErrorProps & {
|
|
1991
|
-
className?: string;
|
|
1992
|
-
style?: React.CSSProperties;
|
|
1993
|
-
children?: React.ReactNode;
|
|
1994
|
-
} & React.RefAttributes<FlutterCupertinoFormRowErrorElement>>;
|
|
1995
|
-
|
|
1996
|
-
interface FlutterCupertinoDatePickerProps {
|
|
1997
|
-
/**
|
|
1998
|
-
* mode property
|
|
1999
|
-
* @default undefined
|
|
2000
|
-
*/
|
|
2001
|
-
mode?: string;
|
|
2002
|
-
/**
|
|
2003
|
-
* minimumDate property
|
|
2004
|
-
* @default undefined
|
|
2005
|
-
*/
|
|
2006
|
-
minimumDate?: string;
|
|
2007
|
-
/**
|
|
2008
|
-
* maximumDate property
|
|
2009
|
-
* @default undefined
|
|
2010
|
-
*/
|
|
2011
|
-
maximumDate?: string;
|
|
2012
|
-
/**
|
|
2013
|
-
* minuteInterval property
|
|
2014
|
-
* @default undefined
|
|
2015
|
-
*/
|
|
2016
|
-
minuteInterval?: string;
|
|
2017
|
-
/**
|
|
2018
|
-
* value property
|
|
2019
|
-
* @default undefined
|
|
2020
|
-
*/
|
|
2021
|
-
value?: string;
|
|
2022
|
-
/**
|
|
2023
|
-
* minimumYear property
|
|
2024
|
-
* @default undefined
|
|
2025
|
-
*/
|
|
2026
|
-
minimumYear?: string;
|
|
2027
|
-
/**
|
|
2028
|
-
* maximumYear property
|
|
2029
|
-
* @default undefined
|
|
2030
|
-
*/
|
|
2031
|
-
maximumYear?: string;
|
|
2032
|
-
/**
|
|
2033
|
-
* showDayOfWeek property
|
|
2034
|
-
* @default undefined
|
|
2035
|
-
*/
|
|
2036
|
-
showDayOfWeek?: string;
|
|
2037
|
-
/**
|
|
2038
|
-
* dateOrder property
|
|
2039
|
-
* @default undefined
|
|
2040
|
-
*/
|
|
2041
|
-
dateOrder?: string;
|
|
2042
|
-
/**
|
|
2043
|
-
* height property
|
|
2044
|
-
* @default undefined
|
|
2045
|
-
*/
|
|
2046
|
-
height?: string;
|
|
2047
|
-
/**
|
|
2048
|
-
* use24H property
|
|
2049
|
-
* @default undefined
|
|
2050
|
-
*/
|
|
2051
|
-
use24H?: boolean;
|
|
2052
|
-
/**
|
|
2053
|
-
* change event handler
|
|
2054
|
-
*/
|
|
2055
|
-
onChange?: (event: CustomEvent<string>) => void;
|
|
2056
|
-
/**
|
|
2057
|
-
* HTML id attribute
|
|
2058
|
-
*/
|
|
2059
|
-
id?: string;
|
|
2060
|
-
/**
|
|
2061
|
-
* Additional CSS styles
|
|
2062
|
-
*/
|
|
2063
|
-
style?: React.CSSProperties;
|
|
2064
|
-
/**
|
|
2065
|
-
* Children elements
|
|
2066
|
-
*/
|
|
2067
|
-
children?: React.ReactNode;
|
|
2068
|
-
/**
|
|
2069
|
-
* Additional CSS class names
|
|
2070
|
-
*/
|
|
2071
|
-
className?: string;
|
|
2072
|
-
}
|
|
2073
|
-
interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{}> {
|
|
2074
|
-
}
|
|
2075
|
-
/**
|
|
2076
|
-
* FlutterCupertinoDatePicker - WebF FlutterCupertinoDatePicker component
|
|
2077
|
-
*
|
|
2078
|
-
* @example
|
|
2079
|
-
* ```tsx
|
|
2080
|
-
*
|
|
2081
|
-
* <FlutterCupertinoDatePicker
|
|
2082
|
-
* // Add props here
|
|
2083
|
-
* >
|
|
2084
|
-
* Content
|
|
2085
|
-
* </FlutterCupertinoDatePicker>
|
|
2086
|
-
* ```
|
|
2087
|
-
*/
|
|
2088
|
-
declare const FlutterCupertinoDatePicker: React.ForwardRefExoticComponent<FlutterCupertinoDatePickerProps & {
|
|
2089
|
-
className?: string;
|
|
2090
|
-
style?: React.CSSProperties;
|
|
2091
|
-
children?: React.ReactNode;
|
|
2092
|
-
} & React.RefAttributes<FlutterCupertinoDatePickerElement>>;
|
|
2093
|
-
|
|
2094
|
-
interface ContextMenuAction {
|
|
2095
|
-
text: string;
|
|
2096
|
-
icon?: string;
|
|
2097
|
-
destructive?: boolean;
|
|
2098
|
-
default?: boolean;
|
|
2099
|
-
event?: string;
|
|
2100
|
-
}
|
|
2101
|
-
interface FlutterCupertinoContextMenuSelectDetail {
|
|
2102
|
-
index: number;
|
|
2103
|
-
text: string;
|
|
2104
|
-
event: string;
|
|
2105
|
-
destructive: boolean;
|
|
2106
|
-
default: boolean;
|
|
2107
|
-
}
|
|
2108
|
-
interface FlutterCupertinoContextMenuProps {
|
|
2109
|
-
/**
|
|
2110
|
-
* enableHapticFeedback property
|
|
2111
|
-
* @default undefined
|
|
2112
|
-
*/
|
|
2113
|
-
enableHapticFeedback?: boolean;
|
|
2114
|
-
/**
|
|
2115
|
-
* select event handler
|
|
2116
|
-
*/
|
|
2117
|
-
onSelect?: (event: CustomEvent<FlutterCupertinoContextMenuSelectDetail>) => void;
|
|
2118
|
-
/**
|
|
2119
|
-
* HTML id attribute
|
|
2120
|
-
*/
|
|
2121
|
-
id?: string;
|
|
2122
|
-
/**
|
|
2123
|
-
* Additional CSS styles
|
|
2124
|
-
*/
|
|
2125
|
-
style?: React.CSSProperties;
|
|
2126
|
-
/**
|
|
2127
|
-
* Children elements
|
|
2128
|
-
*/
|
|
2129
|
-
children?: React.ReactNode;
|
|
2130
|
-
/**
|
|
2131
|
-
* Additional CSS class names
|
|
2132
|
-
*/
|
|
2133
|
-
className?: string;
|
|
2134
|
-
}
|
|
2135
|
-
/**
|
|
2136
|
-
* Element interface with methods accessible via ref
|
|
2137
|
-
* @example
|
|
2138
|
-
* ```tsx
|
|
2139
|
-
* const ref = useRef<FlutterCupertinoContextMenuElement>(null);
|
|
2140
|
-
* // Call methods on the element
|
|
2141
|
-
* ref.current?.finishRefresh('success');
|
|
2142
|
-
* ```
|
|
2143
|
-
*/
|
|
2144
|
-
interface FlutterCupertinoContextMenuElement extends WebFElementWithMethods<{
|
|
2145
|
-
setActions(actions: ContextMenuAction[]): void;
|
|
2146
|
-
}> {
|
|
2147
|
-
}
|
|
2148
|
-
/**
|
|
2149
|
-
* FlutterCupertinoContextMenu - WebF FlutterCupertinoContextMenu component
|
|
2150
|
-
*
|
|
2151
|
-
* @example
|
|
2152
|
-
* ```tsx
|
|
2153
|
-
* const ref = useRef<FlutterCupertinoContextMenuElement>(null);
|
|
2154
|
-
*
|
|
2155
|
-
* <FlutterCupertinoContextMenu
|
|
2156
|
-
* ref={ref}
|
|
2157
|
-
* // Add props here
|
|
2158
|
-
* >
|
|
2159
|
-
* Content
|
|
2160
|
-
* </FlutterCupertinoContextMenu>
|
|
2161
|
-
*
|
|
2162
|
-
* // Call methods on the element
|
|
2163
|
-
* ref.current?.finishRefresh('success');
|
|
2164
|
-
* ```
|
|
2165
|
-
*/
|
|
2166
|
-
declare const FlutterCupertinoContextMenu: React.ForwardRefExoticComponent<FlutterCupertinoContextMenuProps & {
|
|
2167
|
-
className?: string;
|
|
2168
|
-
style?: React.CSSProperties;
|
|
2169
|
-
children?: React.ReactNode;
|
|
2170
|
-
} & React.RefAttributes<FlutterCupertinoContextMenuElement>>;
|
|
2171
|
-
|
|
2172
|
-
interface FlutterCupertinoCheckboxProps {
|
|
2173
|
-
/**
|
|
2174
|
-
* val property
|
|
2175
|
-
* @default undefined
|
|
2176
|
-
*/
|
|
2177
|
-
val?: string;
|
|
2178
|
-
/**
|
|
2179
|
-
* disabled property
|
|
2180
|
-
* @default undefined
|
|
2181
|
-
*/
|
|
2182
|
-
disabled?: boolean;
|
|
2183
|
-
/**
|
|
2184
|
-
* activeColor property
|
|
2185
|
-
* @default undefined
|
|
2186
|
-
*/
|
|
2187
|
-
activeColor?: string;
|
|
2188
|
-
/**
|
|
2189
|
-
* checkColor property
|
|
2190
|
-
* @default undefined
|
|
2191
|
-
*/
|
|
2192
|
-
checkColor?: string;
|
|
2193
|
-
/**
|
|
2194
|
-
* focusColor property
|
|
2195
|
-
* @default undefined
|
|
2196
|
-
*/
|
|
2197
|
-
focusColor?: string;
|
|
2198
|
-
/**
|
|
2199
|
-
* fillColorSelected property
|
|
2200
|
-
* @default undefined
|
|
2201
|
-
*/
|
|
2202
|
-
fillColorSelected?: string;
|
|
2203
|
-
/**
|
|
2204
|
-
* fillColorDisabled property
|
|
2205
|
-
* @default undefined
|
|
2206
|
-
*/
|
|
2207
|
-
fillColorDisabled?: string;
|
|
2208
|
-
/**
|
|
2209
|
-
* change event handler
|
|
2210
|
-
*/
|
|
2211
|
-
onChange?: (event: CustomEvent<boolean>) => void;
|
|
2212
|
-
/**
|
|
2213
|
-
* HTML id attribute
|
|
2214
|
-
*/
|
|
2215
|
-
id?: string;
|
|
2216
|
-
/**
|
|
2217
|
-
* Additional CSS styles
|
|
2218
|
-
*/
|
|
2219
|
-
style?: React.CSSProperties;
|
|
2220
|
-
/**
|
|
2221
|
-
* Children elements
|
|
2222
|
-
*/
|
|
2223
|
-
children?: React.ReactNode;
|
|
2224
|
-
/**
|
|
2225
|
-
* Additional CSS class names
|
|
2226
|
-
*/
|
|
2227
|
-
className?: string;
|
|
2228
|
-
}
|
|
2229
|
-
interface FlutterCupertinoCheckboxElement extends WebFElementWithMethods<{}> {
|
|
2230
|
-
}
|
|
2231
|
-
/**
|
|
2232
|
-
* FlutterCupertinoCheckbox - WebF FlutterCupertinoCheckbox component
|
|
2233
|
-
*
|
|
2234
|
-
* @example
|
|
2235
|
-
* ```tsx
|
|
2236
|
-
*
|
|
2237
|
-
* <FlutterCupertinoCheckbox
|
|
2238
|
-
* // Add props here
|
|
2239
|
-
* >
|
|
2240
|
-
* Content
|
|
2241
|
-
* </FlutterCupertinoCheckbox>
|
|
2242
|
-
* ```
|
|
2243
|
-
*/
|
|
2244
|
-
declare const FlutterCupertinoCheckbox: React.ForwardRefExoticComponent<FlutterCupertinoCheckboxProps & {
|
|
2245
|
-
className?: string;
|
|
2246
|
-
style?: React.CSSProperties;
|
|
2247
|
-
children?: React.ReactNode;
|
|
2248
|
-
} & React.RefAttributes<FlutterCupertinoCheckboxElement>>;
|
|
2249
|
-
|
|
2250
|
-
interface FlutterCupertinoButtonProps {
|
|
2251
|
-
/**
|
|
2252
|
-
* Visual variant of the button.
|
|
2253
|
-
* - 'plain': Standard CupertinoButton
|
|
2254
|
-
* - 'filled': CupertinoButton.filled (ignores custom background color)
|
|
2255
|
-
* - 'tinted': CupertinoButton.tinted
|
|
2256
|
-
* Default: 'plain'
|
|
2257
|
-
*/
|
|
2258
|
-
variant?: string;
|
|
2259
|
-
/**
|
|
2260
|
-
* Size style used to derive default padding and min height.
|
|
2261
|
-
* - 'small': minSize ~32, compact padding
|
|
2262
|
-
* - 'large': minSize ~44, comfortable padding
|
|
2263
|
-
* Default: 'small'
|
|
2264
|
-
*/
|
|
2265
|
-
size?: string;
|
|
2266
|
-
/**
|
|
2267
|
-
* Disable interactions. When true, onPressed is null and the button uses a disabled color.
|
|
2268
|
-
*/
|
|
2269
|
-
disabled?: boolean;
|
|
2270
|
-
/**
|
|
2271
|
-
* Opacity applied while pressed (0.0–1.0). Default: 0.4
|
|
2272
|
-
* Note: Accepts numeric value as a string.
|
|
2273
|
-
*/
|
|
2274
|
-
pressedOpacity?: string;
|
|
2275
|
-
/**
|
|
2276
|
-
* Hex color used when disabled. Accepts '#RRGGBB' or '#AARRGGBB'.
|
|
2277
|
-
* Overrides the internally computed disabled color.
|
|
2278
|
-
*/
|
|
2279
|
-
disabledColor?: string;
|
|
2280
|
-
/**
|
|
2281
|
-
* Fired when the button is pressed (not emitted when disabled).
|
|
2282
|
-
*/
|
|
2283
|
-
onClick?: (event: Event) => void;
|
|
2284
|
-
/**
|
|
2285
|
-
* HTML id attribute
|
|
2286
|
-
*/
|
|
2287
|
-
id?: string;
|
|
2288
|
-
/**
|
|
2289
|
-
* Additional CSS styles
|
|
2290
|
-
*/
|
|
2291
|
-
style?: React.CSSProperties;
|
|
2292
|
-
/**
|
|
2293
|
-
* Children elements
|
|
2294
|
-
*/
|
|
2295
|
-
children?: React.ReactNode;
|
|
2296
|
-
/**
|
|
2297
|
-
* Additional CSS class names
|
|
2298
|
-
*/
|
|
2299
|
-
className?: string;
|
|
2300
|
-
}
|
|
2301
|
-
interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{}> {
|
|
2302
|
-
}
|
|
2303
|
-
/**
|
|
2304
|
-
* Properties for <flutter-cupertino-button>
|
|
2305
|
-
*
|
|
2306
|
-
* @example
|
|
2307
|
-
* ```tsx
|
|
2308
|
-
*
|
|
2309
|
-
* <FlutterCupertinoButton
|
|
2310
|
-
* // Add props here
|
|
2311
|
-
* >
|
|
2312
|
-
* Content
|
|
2313
|
-
* </FlutterCupertinoButton>
|
|
2314
|
-
* ```
|
|
2315
|
-
*/
|
|
2316
|
-
declare const FlutterCupertinoButton: React.ForwardRefExoticComponent<FlutterCupertinoButtonProps & {
|
|
2317
|
-
className?: string;
|
|
2318
|
-
style?: React.CSSProperties;
|
|
2319
|
-
children?: React.ReactNode;
|
|
2320
|
-
} & React.RefAttributes<FlutterCupertinoButtonElement>>;
|
|
2321
|
-
|
|
2322
|
-
interface FlutterCupertinoAlertOptions {
|
|
2323
|
-
title?: string;
|
|
2324
|
-
message?: string;
|
|
2325
|
-
}
|
|
2326
|
-
interface FlutterCupertinoAlertProps {
|
|
2327
|
-
/**
|
|
2328
|
-
* title property
|
|
2329
|
-
* @default undefined
|
|
2330
|
-
*/
|
|
2331
|
-
title?: string;
|
|
2332
|
-
/**
|
|
2333
|
-
* message property
|
|
2334
|
-
* @default undefined
|
|
2335
|
-
*/
|
|
2336
|
-
message?: string;
|
|
2337
|
-
/**
|
|
2338
|
-
* cancelText property
|
|
2339
|
-
* @default undefined
|
|
2340
|
-
*/
|
|
2341
|
-
cancelText?: string;
|
|
2342
|
-
/**
|
|
2343
|
-
* cancelDestructive property
|
|
2344
|
-
* @default undefined
|
|
2345
|
-
*/
|
|
2346
|
-
cancelDestructive?: string;
|
|
2347
|
-
/**
|
|
2348
|
-
* cancelDefault property
|
|
2349
|
-
* @default undefined
|
|
2350
|
-
*/
|
|
2351
|
-
cancelDefault?: string;
|
|
2352
|
-
/**
|
|
2353
|
-
* cancelTextStyle property
|
|
2354
|
-
* @default undefined
|
|
2355
|
-
*/
|
|
2356
|
-
cancelTextStyle?: string;
|
|
2357
|
-
/**
|
|
2358
|
-
* confirmText property
|
|
2359
|
-
* @default undefined
|
|
2360
|
-
*/
|
|
2361
|
-
confirmText?: string;
|
|
2362
|
-
/**
|
|
2363
|
-
* confirmDefault property
|
|
2364
|
-
* @default undefined
|
|
2365
|
-
*/
|
|
2366
|
-
confirmDefault?: string;
|
|
2367
|
-
/**
|
|
2368
|
-
* confirmDestructive property
|
|
2369
|
-
* @default undefined
|
|
2370
|
-
*/
|
|
2371
|
-
confirmDestructive?: string;
|
|
2372
|
-
/**
|
|
2373
|
-
* confirmTextStyle property
|
|
2374
|
-
* @default undefined
|
|
2375
|
-
*/
|
|
2376
|
-
confirmTextStyle?: string;
|
|
2377
|
-
/**
|
|
2378
|
-
* cancel event handler
|
|
2379
|
-
*/
|
|
2380
|
-
onCancel?: (event: CustomEvent) => void;
|
|
2381
|
-
/**
|
|
2382
|
-
* confirm event handler
|
|
2383
|
-
*/
|
|
2384
|
-
onConfirm?: (event: CustomEvent) => void;
|
|
2385
|
-
/**
|
|
2386
|
-
* HTML id attribute
|
|
2387
|
-
*/
|
|
2388
|
-
id?: string;
|
|
2389
|
-
/**
|
|
2390
|
-
* Additional CSS styles
|
|
2391
|
-
*/
|
|
2392
|
-
style?: React.CSSProperties;
|
|
2393
|
-
/**
|
|
2394
|
-
* Children elements
|
|
2395
|
-
*/
|
|
2396
|
-
children?: React.ReactNode;
|
|
2397
|
-
/**
|
|
2398
|
-
* Additional CSS class names
|
|
2399
|
-
*/
|
|
2400
|
-
className?: string;
|
|
2401
|
-
}
|
|
2402
|
-
/**
|
|
2403
|
-
* Element interface with methods accessible via ref
|
|
2404
|
-
* @example
|
|
2405
|
-
* ```tsx
|
|
2406
|
-
* const ref = useRef<FlutterCupertinoAlertElement>(null);
|
|
2407
|
-
* // Call methods on the element
|
|
2408
|
-
* ref.current?.finishRefresh('success');
|
|
2409
|
-
* ```
|
|
2410
|
-
*/
|
|
2411
|
-
interface FlutterCupertinoAlertElement extends WebFElementWithMethods<{
|
|
2412
|
-
show(options: FlutterCupertinoAlertOptions): void;
|
|
2413
|
-
hide(): void;
|
|
2414
|
-
}> {
|
|
2415
|
-
}
|
|
2416
|
-
/**
|
|
2417
|
-
* FlutterCupertinoAlert - WebF FlutterCupertinoAlert component
|
|
2418
|
-
*
|
|
2419
|
-
* @example
|
|
2420
|
-
* ```tsx
|
|
2421
|
-
* const ref = useRef<FlutterCupertinoAlertElement>(null);
|
|
2422
|
-
*
|
|
2423
|
-
* <FlutterCupertinoAlert
|
|
2424
|
-
* ref={ref}
|
|
2425
|
-
* // Add props here
|
|
2426
|
-
* >
|
|
2427
|
-
* Content
|
|
2428
|
-
* </FlutterCupertinoAlert>
|
|
2429
|
-
*
|
|
2430
|
-
* // Call methods on the element
|
|
2431
|
-
* ref.current?.finishRefresh('success');
|
|
2432
|
-
* ```
|
|
2433
|
-
*/
|
|
2434
|
-
declare const FlutterCupertinoAlert: React.ForwardRefExoticComponent<FlutterCupertinoAlertProps & {
|
|
2435
|
-
className?: string;
|
|
2436
|
-
style?: React.CSSProperties;
|
|
2437
|
-
children?: React.ReactNode;
|
|
2438
|
-
} & React.RefAttributes<FlutterCupertinoAlertElement>>;
|
|
2439
|
-
|
|
2440
|
-
interface FlutterCupertinoActionSheetAction {
|
|
2441
|
-
text: string;
|
|
2442
|
-
isDefault?: boolean;
|
|
2443
|
-
isDestructive?: boolean;
|
|
2444
|
-
event?: string;
|
|
2445
|
-
}
|
|
2446
|
-
interface FlutterCupertinoActionSheetOptions {
|
|
2447
|
-
title?: string;
|
|
2448
|
-
message?: string;
|
|
2449
|
-
actions?: FlutterCupertinoActionSheetAction[];
|
|
2450
|
-
cancelButton?: FlutterCupertinoActionSheetAction;
|
|
2451
|
-
}
|
|
2452
|
-
interface FlutterCupertinoActionSheetSelectDetail {
|
|
2453
|
-
text: string;
|
|
2454
|
-
event: string;
|
|
2455
|
-
isDefault: boolean;
|
|
2456
|
-
isDestructive: boolean;
|
|
2457
|
-
index?: number;
|
|
2458
|
-
}
|
|
2459
|
-
interface FlutterCupertinoActionSheetProps {
|
|
2460
|
-
/**
|
|
2461
|
-
* select event handler
|
|
2462
|
-
*/
|
|
2463
|
-
onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
|
|
2464
|
-
/**
|
|
2465
|
-
* HTML id attribute
|
|
2466
|
-
*/
|
|
2467
|
-
id?: string;
|
|
2468
|
-
/**
|
|
2469
|
-
* Additional CSS styles
|
|
2470
|
-
*/
|
|
2471
|
-
style?: React.CSSProperties;
|
|
2472
|
-
/**
|
|
2473
|
-
* Children elements
|
|
2474
|
-
*/
|
|
2475
|
-
children?: React.ReactNode;
|
|
2476
|
-
/**
|
|
2477
|
-
* Additional CSS class names
|
|
2478
|
-
*/
|
|
2479
|
-
className?: string;
|
|
2480
|
-
}
|
|
2481
|
-
/**
|
|
2482
|
-
* Element interface with methods accessible via ref
|
|
2483
|
-
* @example
|
|
2484
|
-
* ```tsx
|
|
2485
|
-
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
2486
|
-
* // Call methods on the element
|
|
2487
|
-
* ref.current?.finishRefresh('success');
|
|
2488
|
-
* ```
|
|
2489
|
-
*/
|
|
2490
|
-
interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
|
|
2491
|
-
show(options: FlutterCupertinoActionSheetOptions): void;
|
|
2492
|
-
}> {
|
|
2493
|
-
}
|
|
2494
|
-
/**
|
|
2495
|
-
* FlutterCupertinoActionSheet - WebF FlutterCupertinoActionSheet component
|
|
2496
|
-
*
|
|
2497
|
-
* @example
|
|
2498
|
-
* ```tsx
|
|
2499
|
-
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
2500
|
-
*
|
|
2501
|
-
* <FlutterCupertinoActionSheet
|
|
2502
|
-
* ref={ref}
|
|
2503
|
-
* // Add props here
|
|
2504
|
-
* >
|
|
2505
|
-
* Content
|
|
2506
|
-
* </FlutterCupertinoActionSheet>
|
|
2507
|
-
*
|
|
2508
|
-
* // Call methods on the element
|
|
2509
|
-
* ref.current?.finishRefresh('success');
|
|
2510
|
-
* ```
|
|
2511
|
-
*/
|
|
2512
|
-
declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
|
|
2513
|
-
className?: string;
|
|
2514
|
-
style?: React.CSSProperties;
|
|
2515
|
-
children?: React.ReactNode;
|
|
2516
|
-
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
2517
|
-
|
|
2518
1669
|
declare const CupertinoIcons: {
|
|
2519
1670
|
readonly add: "add";
|
|
2520
1671
|
readonly add_circled: "add_circled";
|
|
@@ -3889,4 +3040,853 @@ declare enum CupertinoColors {
|
|
|
3889
3040
|
white = "rgba(255, 255, 255, 1)"
|
|
3890
3041
|
}
|
|
3891
3042
|
|
|
3043
|
+
interface FlutterCupertinoIconProps {
|
|
3044
|
+
/**
|
|
3045
|
+
* type property
|
|
3046
|
+
* @default undefined
|
|
3047
|
+
*/
|
|
3048
|
+
type?: typeof CupertinoIcons;
|
|
3049
|
+
/**
|
|
3050
|
+
* label property
|
|
3051
|
+
* @default undefined
|
|
3052
|
+
*/
|
|
3053
|
+
label?: string;
|
|
3054
|
+
/**
|
|
3055
|
+
* HTML id attribute
|
|
3056
|
+
*/
|
|
3057
|
+
id?: string;
|
|
3058
|
+
/**
|
|
3059
|
+
* Additional CSS styles
|
|
3060
|
+
*/
|
|
3061
|
+
style?: React.CSSProperties;
|
|
3062
|
+
/**
|
|
3063
|
+
* Children elements
|
|
3064
|
+
*/
|
|
3065
|
+
children?: React.ReactNode;
|
|
3066
|
+
/**
|
|
3067
|
+
* Additional CSS class names
|
|
3068
|
+
*/
|
|
3069
|
+
className?: string;
|
|
3070
|
+
}
|
|
3071
|
+
interface FlutterCupertinoIconElement extends WebFElementWithMethods<{}> {
|
|
3072
|
+
}
|
|
3073
|
+
/**
|
|
3074
|
+
* FlutterCupertinoIcon - WebF FlutterCupertinoIcon component
|
|
3075
|
+
*
|
|
3076
|
+
* @example
|
|
3077
|
+
* ```tsx
|
|
3078
|
+
*
|
|
3079
|
+
* <FlutterCupertinoIcon
|
|
3080
|
+
* // Add props here
|
|
3081
|
+
* >
|
|
3082
|
+
* Content
|
|
3083
|
+
* </FlutterCupertinoIcon>
|
|
3084
|
+
* ```
|
|
3085
|
+
*/
|
|
3086
|
+
declare const FlutterCupertinoIcon: React.ForwardRefExoticComponent<FlutterCupertinoIconProps & {
|
|
3087
|
+
className?: string;
|
|
3088
|
+
style?: React.CSSProperties;
|
|
3089
|
+
children?: React.ReactNode;
|
|
3090
|
+
} & React.RefAttributes<FlutterCupertinoIconElement>>;
|
|
3091
|
+
|
|
3092
|
+
interface FlutterCupertinoFormSectionProps {
|
|
3093
|
+
/**
|
|
3094
|
+
* insetGrouped property
|
|
3095
|
+
* @default undefined
|
|
3096
|
+
*/
|
|
3097
|
+
insetGrouped?: string;
|
|
3098
|
+
/**
|
|
3099
|
+
* clipBehavior property
|
|
3100
|
+
* @default undefined
|
|
3101
|
+
*/
|
|
3102
|
+
clipBehavior?: string;
|
|
3103
|
+
/**
|
|
3104
|
+
* HTML id attribute
|
|
3105
|
+
*/
|
|
3106
|
+
id?: string;
|
|
3107
|
+
/**
|
|
3108
|
+
* Additional CSS styles
|
|
3109
|
+
*/
|
|
3110
|
+
style?: React.CSSProperties;
|
|
3111
|
+
/**
|
|
3112
|
+
* Children elements
|
|
3113
|
+
*/
|
|
3114
|
+
children?: React.ReactNode;
|
|
3115
|
+
/**
|
|
3116
|
+
* Additional CSS class names
|
|
3117
|
+
*/
|
|
3118
|
+
className?: string;
|
|
3119
|
+
}
|
|
3120
|
+
interface FlutterCupertinoFormSectionElement extends WebFElementWithMethods<{}> {
|
|
3121
|
+
}
|
|
3122
|
+
/**
|
|
3123
|
+
* FlutterCupertinoFormSection - WebF FlutterCupertinoFormSection component
|
|
3124
|
+
*
|
|
3125
|
+
* @example
|
|
3126
|
+
* ```tsx
|
|
3127
|
+
*
|
|
3128
|
+
* <FlutterCupertinoFormSection
|
|
3129
|
+
* // Add props here
|
|
3130
|
+
* >
|
|
3131
|
+
* Content
|
|
3132
|
+
* </FlutterCupertinoFormSection>
|
|
3133
|
+
* ```
|
|
3134
|
+
*/
|
|
3135
|
+
declare const FlutterCupertinoFormSection: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionProps & {
|
|
3136
|
+
className?: string;
|
|
3137
|
+
style?: React.CSSProperties;
|
|
3138
|
+
children?: React.ReactNode;
|
|
3139
|
+
} & React.RefAttributes<FlutterCupertinoFormSectionElement>>;
|
|
3140
|
+
interface FlutterCupertinoFormSectionHeaderProps {
|
|
3141
|
+
/**
|
|
3142
|
+
* HTML id attribute
|
|
3143
|
+
*/
|
|
3144
|
+
id?: string;
|
|
3145
|
+
/**
|
|
3146
|
+
* Additional CSS styles
|
|
3147
|
+
*/
|
|
3148
|
+
style?: React.CSSProperties;
|
|
3149
|
+
/**
|
|
3150
|
+
* Children elements
|
|
3151
|
+
*/
|
|
3152
|
+
children?: React.ReactNode;
|
|
3153
|
+
/**
|
|
3154
|
+
* Additional CSS class names
|
|
3155
|
+
*/
|
|
3156
|
+
className?: string;
|
|
3157
|
+
}
|
|
3158
|
+
interface FlutterCupertinoFormSectionHeaderElement extends WebFElementWithMethods<{}> {
|
|
3159
|
+
}
|
|
3160
|
+
/**
|
|
3161
|
+
* FlutterCupertinoFormSectionHeader - WebF FlutterCupertinoFormSectionHeader component
|
|
3162
|
+
*
|
|
3163
|
+
* @example
|
|
3164
|
+
* ```tsx
|
|
3165
|
+
*
|
|
3166
|
+
* <FlutterCupertinoFormSectionHeader
|
|
3167
|
+
* // Add props here
|
|
3168
|
+
* >
|
|
3169
|
+
* Content
|
|
3170
|
+
* </FlutterCupertinoFormSectionHeader>
|
|
3171
|
+
* ```
|
|
3172
|
+
*/
|
|
3173
|
+
declare const FlutterCupertinoFormSectionHeader: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionHeaderProps & {
|
|
3174
|
+
className?: string;
|
|
3175
|
+
style?: React.CSSProperties;
|
|
3176
|
+
children?: React.ReactNode;
|
|
3177
|
+
} & React.RefAttributes<FlutterCupertinoFormSectionHeaderElement>>;
|
|
3178
|
+
interface FlutterCupertinoFormSectionFooterProps {
|
|
3179
|
+
/**
|
|
3180
|
+
* HTML id attribute
|
|
3181
|
+
*/
|
|
3182
|
+
id?: string;
|
|
3183
|
+
/**
|
|
3184
|
+
* Additional CSS styles
|
|
3185
|
+
*/
|
|
3186
|
+
style?: React.CSSProperties;
|
|
3187
|
+
/**
|
|
3188
|
+
* Children elements
|
|
3189
|
+
*/
|
|
3190
|
+
children?: React.ReactNode;
|
|
3191
|
+
/**
|
|
3192
|
+
* Additional CSS class names
|
|
3193
|
+
*/
|
|
3194
|
+
className?: string;
|
|
3195
|
+
}
|
|
3196
|
+
interface FlutterCupertinoFormSectionFooterElement extends WebFElementWithMethods<{}> {
|
|
3197
|
+
}
|
|
3198
|
+
/**
|
|
3199
|
+
* FlutterCupertinoFormSectionFooter - WebF FlutterCupertinoFormSectionFooter component
|
|
3200
|
+
*
|
|
3201
|
+
* @example
|
|
3202
|
+
* ```tsx
|
|
3203
|
+
*
|
|
3204
|
+
* <FlutterCupertinoFormSectionFooter
|
|
3205
|
+
* // Add props here
|
|
3206
|
+
* >
|
|
3207
|
+
* Content
|
|
3208
|
+
* </FlutterCupertinoFormSectionFooter>
|
|
3209
|
+
* ```
|
|
3210
|
+
*/
|
|
3211
|
+
declare const FlutterCupertinoFormSectionFooter: React.ForwardRefExoticComponent<FlutterCupertinoFormSectionFooterProps & {
|
|
3212
|
+
className?: string;
|
|
3213
|
+
style?: React.CSSProperties;
|
|
3214
|
+
children?: React.ReactNode;
|
|
3215
|
+
} & React.RefAttributes<FlutterCupertinoFormSectionFooterElement>>;
|
|
3216
|
+
|
|
3217
|
+
interface FlutterCupertinoFormRowProps {
|
|
3218
|
+
/**
|
|
3219
|
+
* HTML id attribute
|
|
3220
|
+
*/
|
|
3221
|
+
id?: string;
|
|
3222
|
+
/**
|
|
3223
|
+
* Additional CSS styles
|
|
3224
|
+
*/
|
|
3225
|
+
style?: React.CSSProperties;
|
|
3226
|
+
/**
|
|
3227
|
+
* Children elements
|
|
3228
|
+
*/
|
|
3229
|
+
children?: React.ReactNode;
|
|
3230
|
+
/**
|
|
3231
|
+
* Additional CSS class names
|
|
3232
|
+
*/
|
|
3233
|
+
className?: string;
|
|
3234
|
+
}
|
|
3235
|
+
interface FlutterCupertinoFormRowElement extends WebFElementWithMethods<{}> {
|
|
3236
|
+
}
|
|
3237
|
+
/**
|
|
3238
|
+
* FlutterCupertinoFormRow - WebF FlutterCupertinoFormRow component
|
|
3239
|
+
*
|
|
3240
|
+
* @example
|
|
3241
|
+
* ```tsx
|
|
3242
|
+
*
|
|
3243
|
+
* <FlutterCupertinoFormRow
|
|
3244
|
+
* // Add props here
|
|
3245
|
+
* >
|
|
3246
|
+
* Content
|
|
3247
|
+
* </FlutterCupertinoFormRow>
|
|
3248
|
+
* ```
|
|
3249
|
+
*/
|
|
3250
|
+
declare const FlutterCupertinoFormRow: React.ForwardRefExoticComponent<FlutterCupertinoFormRowProps & {
|
|
3251
|
+
className?: string;
|
|
3252
|
+
style?: React.CSSProperties;
|
|
3253
|
+
children?: React.ReactNode;
|
|
3254
|
+
} & React.RefAttributes<FlutterCupertinoFormRowElement>>;
|
|
3255
|
+
interface FlutterCupertinoFormRowPrefixProps {
|
|
3256
|
+
/**
|
|
3257
|
+
* HTML id attribute
|
|
3258
|
+
*/
|
|
3259
|
+
id?: string;
|
|
3260
|
+
/**
|
|
3261
|
+
* Additional CSS styles
|
|
3262
|
+
*/
|
|
3263
|
+
style?: React.CSSProperties;
|
|
3264
|
+
/**
|
|
3265
|
+
* Children elements
|
|
3266
|
+
*/
|
|
3267
|
+
children?: React.ReactNode;
|
|
3268
|
+
/**
|
|
3269
|
+
* Additional CSS class names
|
|
3270
|
+
*/
|
|
3271
|
+
className?: string;
|
|
3272
|
+
}
|
|
3273
|
+
interface FlutterCupertinoFormRowPrefixElement extends WebFElementWithMethods<{}> {
|
|
3274
|
+
}
|
|
3275
|
+
/**
|
|
3276
|
+
* FlutterCupertinoFormRowPrefix - WebF FlutterCupertinoFormRowPrefix component
|
|
3277
|
+
*
|
|
3278
|
+
* @example
|
|
3279
|
+
* ```tsx
|
|
3280
|
+
*
|
|
3281
|
+
* <FlutterCupertinoFormRowPrefix
|
|
3282
|
+
* // Add props here
|
|
3283
|
+
* >
|
|
3284
|
+
* Content
|
|
3285
|
+
* </FlutterCupertinoFormRowPrefix>
|
|
3286
|
+
* ```
|
|
3287
|
+
*/
|
|
3288
|
+
declare const FlutterCupertinoFormRowPrefix: React.ForwardRefExoticComponent<FlutterCupertinoFormRowPrefixProps & {
|
|
3289
|
+
className?: string;
|
|
3290
|
+
style?: React.CSSProperties;
|
|
3291
|
+
children?: React.ReactNode;
|
|
3292
|
+
} & React.RefAttributes<FlutterCupertinoFormRowPrefixElement>>;
|
|
3293
|
+
interface FlutterCupertinoFormRowHelperProps {
|
|
3294
|
+
/**
|
|
3295
|
+
* HTML id attribute
|
|
3296
|
+
*/
|
|
3297
|
+
id?: string;
|
|
3298
|
+
/**
|
|
3299
|
+
* Additional CSS styles
|
|
3300
|
+
*/
|
|
3301
|
+
style?: React.CSSProperties;
|
|
3302
|
+
/**
|
|
3303
|
+
* Children elements
|
|
3304
|
+
*/
|
|
3305
|
+
children?: React.ReactNode;
|
|
3306
|
+
/**
|
|
3307
|
+
* Additional CSS class names
|
|
3308
|
+
*/
|
|
3309
|
+
className?: string;
|
|
3310
|
+
}
|
|
3311
|
+
interface FlutterCupertinoFormRowHelperElement extends WebFElementWithMethods<{}> {
|
|
3312
|
+
}
|
|
3313
|
+
/**
|
|
3314
|
+
* FlutterCupertinoFormRowHelper - WebF FlutterCupertinoFormRowHelper component
|
|
3315
|
+
*
|
|
3316
|
+
* @example
|
|
3317
|
+
* ```tsx
|
|
3318
|
+
*
|
|
3319
|
+
* <FlutterCupertinoFormRowHelper
|
|
3320
|
+
* // Add props here
|
|
3321
|
+
* >
|
|
3322
|
+
* Content
|
|
3323
|
+
* </FlutterCupertinoFormRowHelper>
|
|
3324
|
+
* ```
|
|
3325
|
+
*/
|
|
3326
|
+
declare const FlutterCupertinoFormRowHelper: React.ForwardRefExoticComponent<FlutterCupertinoFormRowHelperProps & {
|
|
3327
|
+
className?: string;
|
|
3328
|
+
style?: React.CSSProperties;
|
|
3329
|
+
children?: React.ReactNode;
|
|
3330
|
+
} & React.RefAttributes<FlutterCupertinoFormRowHelperElement>>;
|
|
3331
|
+
interface FlutterCupertinoFormRowErrorProps {
|
|
3332
|
+
/**
|
|
3333
|
+
* HTML id attribute
|
|
3334
|
+
*/
|
|
3335
|
+
id?: string;
|
|
3336
|
+
/**
|
|
3337
|
+
* Additional CSS styles
|
|
3338
|
+
*/
|
|
3339
|
+
style?: React.CSSProperties;
|
|
3340
|
+
/**
|
|
3341
|
+
* Children elements
|
|
3342
|
+
*/
|
|
3343
|
+
children?: React.ReactNode;
|
|
3344
|
+
/**
|
|
3345
|
+
* Additional CSS class names
|
|
3346
|
+
*/
|
|
3347
|
+
className?: string;
|
|
3348
|
+
}
|
|
3349
|
+
interface FlutterCupertinoFormRowErrorElement extends WebFElementWithMethods<{}> {
|
|
3350
|
+
}
|
|
3351
|
+
/**
|
|
3352
|
+
* FlutterCupertinoFormRowError - WebF FlutterCupertinoFormRowError component
|
|
3353
|
+
*
|
|
3354
|
+
* @example
|
|
3355
|
+
* ```tsx
|
|
3356
|
+
*
|
|
3357
|
+
* <FlutterCupertinoFormRowError
|
|
3358
|
+
* // Add props here
|
|
3359
|
+
* >
|
|
3360
|
+
* Content
|
|
3361
|
+
* </FlutterCupertinoFormRowError>
|
|
3362
|
+
* ```
|
|
3363
|
+
*/
|
|
3364
|
+
declare const FlutterCupertinoFormRowError: React.ForwardRefExoticComponent<FlutterCupertinoFormRowErrorProps & {
|
|
3365
|
+
className?: string;
|
|
3366
|
+
style?: React.CSSProperties;
|
|
3367
|
+
children?: React.ReactNode;
|
|
3368
|
+
} & React.RefAttributes<FlutterCupertinoFormRowErrorElement>>;
|
|
3369
|
+
|
|
3370
|
+
interface FlutterCupertinoDatePickerProps {
|
|
3371
|
+
/**
|
|
3372
|
+
* mode property
|
|
3373
|
+
* @default undefined
|
|
3374
|
+
*/
|
|
3375
|
+
mode?: string;
|
|
3376
|
+
/**
|
|
3377
|
+
* minimumDate property
|
|
3378
|
+
* @default undefined
|
|
3379
|
+
*/
|
|
3380
|
+
minimumDate?: string;
|
|
3381
|
+
/**
|
|
3382
|
+
* maximumDate property
|
|
3383
|
+
* @default undefined
|
|
3384
|
+
*/
|
|
3385
|
+
maximumDate?: string;
|
|
3386
|
+
/**
|
|
3387
|
+
* minuteInterval property
|
|
3388
|
+
* @default undefined
|
|
3389
|
+
*/
|
|
3390
|
+
minuteInterval?: string;
|
|
3391
|
+
/**
|
|
3392
|
+
* value property
|
|
3393
|
+
* @default undefined
|
|
3394
|
+
*/
|
|
3395
|
+
value?: string;
|
|
3396
|
+
/**
|
|
3397
|
+
* minimumYear property
|
|
3398
|
+
* @default undefined
|
|
3399
|
+
*/
|
|
3400
|
+
minimumYear?: string;
|
|
3401
|
+
/**
|
|
3402
|
+
* maximumYear property
|
|
3403
|
+
* @default undefined
|
|
3404
|
+
*/
|
|
3405
|
+
maximumYear?: string;
|
|
3406
|
+
/**
|
|
3407
|
+
* showDayOfWeek property
|
|
3408
|
+
* @default undefined
|
|
3409
|
+
*/
|
|
3410
|
+
showDayOfWeek?: string;
|
|
3411
|
+
/**
|
|
3412
|
+
* dateOrder property
|
|
3413
|
+
* @default undefined
|
|
3414
|
+
*/
|
|
3415
|
+
dateOrder?: string;
|
|
3416
|
+
/**
|
|
3417
|
+
* height property
|
|
3418
|
+
* @default undefined
|
|
3419
|
+
*/
|
|
3420
|
+
height?: string;
|
|
3421
|
+
/**
|
|
3422
|
+
* use24H property
|
|
3423
|
+
* @default undefined
|
|
3424
|
+
*/
|
|
3425
|
+
use24H?: boolean;
|
|
3426
|
+
/**
|
|
3427
|
+
* change event handler
|
|
3428
|
+
*/
|
|
3429
|
+
onChange?: (event: CustomEvent<string>) => void;
|
|
3430
|
+
/**
|
|
3431
|
+
* HTML id attribute
|
|
3432
|
+
*/
|
|
3433
|
+
id?: string;
|
|
3434
|
+
/**
|
|
3435
|
+
* Additional CSS styles
|
|
3436
|
+
*/
|
|
3437
|
+
style?: React.CSSProperties;
|
|
3438
|
+
/**
|
|
3439
|
+
* Children elements
|
|
3440
|
+
*/
|
|
3441
|
+
children?: React.ReactNode;
|
|
3442
|
+
/**
|
|
3443
|
+
* Additional CSS class names
|
|
3444
|
+
*/
|
|
3445
|
+
className?: string;
|
|
3446
|
+
}
|
|
3447
|
+
interface FlutterCupertinoDatePickerElement extends WebFElementWithMethods<{}> {
|
|
3448
|
+
}
|
|
3449
|
+
/**
|
|
3450
|
+
* FlutterCupertinoDatePicker - WebF FlutterCupertinoDatePicker component
|
|
3451
|
+
*
|
|
3452
|
+
* @example
|
|
3453
|
+
* ```tsx
|
|
3454
|
+
*
|
|
3455
|
+
* <FlutterCupertinoDatePicker
|
|
3456
|
+
* // Add props here
|
|
3457
|
+
* >
|
|
3458
|
+
* Content
|
|
3459
|
+
* </FlutterCupertinoDatePicker>
|
|
3460
|
+
* ```
|
|
3461
|
+
*/
|
|
3462
|
+
declare const FlutterCupertinoDatePicker: React.ForwardRefExoticComponent<FlutterCupertinoDatePickerProps & {
|
|
3463
|
+
className?: string;
|
|
3464
|
+
style?: React.CSSProperties;
|
|
3465
|
+
children?: React.ReactNode;
|
|
3466
|
+
} & React.RefAttributes<FlutterCupertinoDatePickerElement>>;
|
|
3467
|
+
|
|
3468
|
+
interface ContextMenuAction {
|
|
3469
|
+
text: string;
|
|
3470
|
+
icon?: string;
|
|
3471
|
+
destructive?: boolean;
|
|
3472
|
+
default?: boolean;
|
|
3473
|
+
event?: string;
|
|
3474
|
+
}
|
|
3475
|
+
interface FlutterCupertinoContextMenuSelectDetail {
|
|
3476
|
+
index: number;
|
|
3477
|
+
text: string;
|
|
3478
|
+
event: string;
|
|
3479
|
+
destructive: boolean;
|
|
3480
|
+
default: boolean;
|
|
3481
|
+
}
|
|
3482
|
+
interface FlutterCupertinoContextMenuProps {
|
|
3483
|
+
/**
|
|
3484
|
+
* enableHapticFeedback property
|
|
3485
|
+
* @default undefined
|
|
3486
|
+
*/
|
|
3487
|
+
enableHapticFeedback?: boolean;
|
|
3488
|
+
/**
|
|
3489
|
+
* select event handler
|
|
3490
|
+
*/
|
|
3491
|
+
onSelect?: (event: CustomEvent<FlutterCupertinoContextMenuSelectDetail>) => void;
|
|
3492
|
+
/**
|
|
3493
|
+
* HTML id attribute
|
|
3494
|
+
*/
|
|
3495
|
+
id?: string;
|
|
3496
|
+
/**
|
|
3497
|
+
* Additional CSS styles
|
|
3498
|
+
*/
|
|
3499
|
+
style?: React.CSSProperties;
|
|
3500
|
+
/**
|
|
3501
|
+
* Children elements
|
|
3502
|
+
*/
|
|
3503
|
+
children?: React.ReactNode;
|
|
3504
|
+
/**
|
|
3505
|
+
* Additional CSS class names
|
|
3506
|
+
*/
|
|
3507
|
+
className?: string;
|
|
3508
|
+
}
|
|
3509
|
+
/**
|
|
3510
|
+
* Element interface with methods accessible via ref
|
|
3511
|
+
* @example
|
|
3512
|
+
* ```tsx
|
|
3513
|
+
* const ref = useRef<FlutterCupertinoContextMenuElement>(null);
|
|
3514
|
+
* // Call methods on the element
|
|
3515
|
+
* ref.current?.finishRefresh('success');
|
|
3516
|
+
* ```
|
|
3517
|
+
*/
|
|
3518
|
+
interface FlutterCupertinoContextMenuElement extends WebFElementWithMethods<{
|
|
3519
|
+
setActions(actions: ContextMenuAction[]): void;
|
|
3520
|
+
}> {
|
|
3521
|
+
}
|
|
3522
|
+
/**
|
|
3523
|
+
* FlutterCupertinoContextMenu - WebF FlutterCupertinoContextMenu component
|
|
3524
|
+
*
|
|
3525
|
+
* @example
|
|
3526
|
+
* ```tsx
|
|
3527
|
+
* const ref = useRef<FlutterCupertinoContextMenuElement>(null);
|
|
3528
|
+
*
|
|
3529
|
+
* <FlutterCupertinoContextMenu
|
|
3530
|
+
* ref={ref}
|
|
3531
|
+
* // Add props here
|
|
3532
|
+
* >
|
|
3533
|
+
* Content
|
|
3534
|
+
* </FlutterCupertinoContextMenu>
|
|
3535
|
+
*
|
|
3536
|
+
* // Call methods on the element
|
|
3537
|
+
* ref.current?.finishRefresh('success');
|
|
3538
|
+
* ```
|
|
3539
|
+
*/
|
|
3540
|
+
declare const FlutterCupertinoContextMenu: React.ForwardRefExoticComponent<FlutterCupertinoContextMenuProps & {
|
|
3541
|
+
className?: string;
|
|
3542
|
+
style?: React.CSSProperties;
|
|
3543
|
+
children?: React.ReactNode;
|
|
3544
|
+
} & React.RefAttributes<FlutterCupertinoContextMenuElement>>;
|
|
3545
|
+
|
|
3546
|
+
interface FlutterCupertinoCheckboxProps {
|
|
3547
|
+
/**
|
|
3548
|
+
* val property
|
|
3549
|
+
* @default undefined
|
|
3550
|
+
*/
|
|
3551
|
+
val?: string;
|
|
3552
|
+
/**
|
|
3553
|
+
* disabled property
|
|
3554
|
+
* @default undefined
|
|
3555
|
+
*/
|
|
3556
|
+
disabled?: boolean;
|
|
3557
|
+
/**
|
|
3558
|
+
* activeColor property
|
|
3559
|
+
* @default undefined
|
|
3560
|
+
*/
|
|
3561
|
+
activeColor?: string;
|
|
3562
|
+
/**
|
|
3563
|
+
* checkColor property
|
|
3564
|
+
* @default undefined
|
|
3565
|
+
*/
|
|
3566
|
+
checkColor?: string;
|
|
3567
|
+
/**
|
|
3568
|
+
* focusColor property
|
|
3569
|
+
* @default undefined
|
|
3570
|
+
*/
|
|
3571
|
+
focusColor?: string;
|
|
3572
|
+
/**
|
|
3573
|
+
* fillColorSelected property
|
|
3574
|
+
* @default undefined
|
|
3575
|
+
*/
|
|
3576
|
+
fillColorSelected?: string;
|
|
3577
|
+
/**
|
|
3578
|
+
* fillColorDisabled property
|
|
3579
|
+
* @default undefined
|
|
3580
|
+
*/
|
|
3581
|
+
fillColorDisabled?: string;
|
|
3582
|
+
/**
|
|
3583
|
+
* change event handler
|
|
3584
|
+
*/
|
|
3585
|
+
onChange?: (event: CustomEvent<boolean>) => void;
|
|
3586
|
+
/**
|
|
3587
|
+
* HTML id attribute
|
|
3588
|
+
*/
|
|
3589
|
+
id?: string;
|
|
3590
|
+
/**
|
|
3591
|
+
* Additional CSS styles
|
|
3592
|
+
*/
|
|
3593
|
+
style?: React.CSSProperties;
|
|
3594
|
+
/**
|
|
3595
|
+
* Children elements
|
|
3596
|
+
*/
|
|
3597
|
+
children?: React.ReactNode;
|
|
3598
|
+
/**
|
|
3599
|
+
* Additional CSS class names
|
|
3600
|
+
*/
|
|
3601
|
+
className?: string;
|
|
3602
|
+
}
|
|
3603
|
+
interface FlutterCupertinoCheckboxElement extends WebFElementWithMethods<{}> {
|
|
3604
|
+
}
|
|
3605
|
+
/**
|
|
3606
|
+
* FlutterCupertinoCheckbox - WebF FlutterCupertinoCheckbox component
|
|
3607
|
+
*
|
|
3608
|
+
* @example
|
|
3609
|
+
* ```tsx
|
|
3610
|
+
*
|
|
3611
|
+
* <FlutterCupertinoCheckbox
|
|
3612
|
+
* // Add props here
|
|
3613
|
+
* >
|
|
3614
|
+
* Content
|
|
3615
|
+
* </FlutterCupertinoCheckbox>
|
|
3616
|
+
* ```
|
|
3617
|
+
*/
|
|
3618
|
+
declare const FlutterCupertinoCheckbox: React.ForwardRefExoticComponent<FlutterCupertinoCheckboxProps & {
|
|
3619
|
+
className?: string;
|
|
3620
|
+
style?: React.CSSProperties;
|
|
3621
|
+
children?: React.ReactNode;
|
|
3622
|
+
} & React.RefAttributes<FlutterCupertinoCheckboxElement>>;
|
|
3623
|
+
|
|
3624
|
+
interface FlutterCupertinoButtonProps {
|
|
3625
|
+
/**
|
|
3626
|
+
* Visual variant of the button.
|
|
3627
|
+
* - 'plain': Standard CupertinoButton
|
|
3628
|
+
* - 'filled': CupertinoButton.filled (ignores custom background color)
|
|
3629
|
+
* - 'tinted': CupertinoButton.tinted
|
|
3630
|
+
* Default: 'plain'
|
|
3631
|
+
*/
|
|
3632
|
+
variant?: string;
|
|
3633
|
+
/**
|
|
3634
|
+
* Size style used to derive default padding and min height.
|
|
3635
|
+
* - 'small': minSize ~32, compact padding
|
|
3636
|
+
* - 'large': minSize ~44, comfortable padding
|
|
3637
|
+
* Default: 'small'
|
|
3638
|
+
*/
|
|
3639
|
+
size?: string;
|
|
3640
|
+
/**
|
|
3641
|
+
* Disable interactions. When true, onPressed is null and the button uses a disabled color.
|
|
3642
|
+
*/
|
|
3643
|
+
disabled?: boolean;
|
|
3644
|
+
/**
|
|
3645
|
+
* Opacity applied while pressed (0.0–1.0). Default: 0.4
|
|
3646
|
+
* Note: Accepts numeric value as a string.
|
|
3647
|
+
*/
|
|
3648
|
+
pressedOpacity?: string;
|
|
3649
|
+
/**
|
|
3650
|
+
* Hex color used when disabled. Accepts '#RRGGBB' or '#AARRGGBB'.
|
|
3651
|
+
* Overrides the internally computed disabled color.
|
|
3652
|
+
*/
|
|
3653
|
+
disabledColor?: string;
|
|
3654
|
+
/**
|
|
3655
|
+
* Fired when the button is pressed (not emitted when disabled).
|
|
3656
|
+
*/
|
|
3657
|
+
onClick?: (event: Event) => void;
|
|
3658
|
+
/**
|
|
3659
|
+
* HTML id attribute
|
|
3660
|
+
*/
|
|
3661
|
+
id?: string;
|
|
3662
|
+
/**
|
|
3663
|
+
* Additional CSS styles
|
|
3664
|
+
*/
|
|
3665
|
+
style?: React.CSSProperties;
|
|
3666
|
+
/**
|
|
3667
|
+
* Children elements
|
|
3668
|
+
*/
|
|
3669
|
+
children?: React.ReactNode;
|
|
3670
|
+
/**
|
|
3671
|
+
* Additional CSS class names
|
|
3672
|
+
*/
|
|
3673
|
+
className?: string;
|
|
3674
|
+
}
|
|
3675
|
+
interface FlutterCupertinoButtonElement extends WebFElementWithMethods<{}> {
|
|
3676
|
+
}
|
|
3677
|
+
/**
|
|
3678
|
+
* Properties for <flutter-cupertino-button>
|
|
3679
|
+
*
|
|
3680
|
+
* @example
|
|
3681
|
+
* ```tsx
|
|
3682
|
+
*
|
|
3683
|
+
* <FlutterCupertinoButton
|
|
3684
|
+
* // Add props here
|
|
3685
|
+
* >
|
|
3686
|
+
* Content
|
|
3687
|
+
* </FlutterCupertinoButton>
|
|
3688
|
+
* ```
|
|
3689
|
+
*/
|
|
3690
|
+
declare const FlutterCupertinoButton: React.ForwardRefExoticComponent<FlutterCupertinoButtonProps & {
|
|
3691
|
+
className?: string;
|
|
3692
|
+
style?: React.CSSProperties;
|
|
3693
|
+
children?: React.ReactNode;
|
|
3694
|
+
} & React.RefAttributes<FlutterCupertinoButtonElement>>;
|
|
3695
|
+
|
|
3696
|
+
interface FlutterCupertinoAlertOptions {
|
|
3697
|
+
title?: string;
|
|
3698
|
+
message?: string;
|
|
3699
|
+
}
|
|
3700
|
+
interface FlutterCupertinoAlertProps {
|
|
3701
|
+
/**
|
|
3702
|
+
* title property
|
|
3703
|
+
* @default undefined
|
|
3704
|
+
*/
|
|
3705
|
+
title?: string;
|
|
3706
|
+
/**
|
|
3707
|
+
* message property
|
|
3708
|
+
* @default undefined
|
|
3709
|
+
*/
|
|
3710
|
+
message?: string;
|
|
3711
|
+
/**
|
|
3712
|
+
* cancelText property
|
|
3713
|
+
* @default undefined
|
|
3714
|
+
*/
|
|
3715
|
+
cancelText?: string;
|
|
3716
|
+
/**
|
|
3717
|
+
* cancelDestructive property
|
|
3718
|
+
* @default undefined
|
|
3719
|
+
*/
|
|
3720
|
+
cancelDestructive?: string;
|
|
3721
|
+
/**
|
|
3722
|
+
* cancelDefault property
|
|
3723
|
+
* @default undefined
|
|
3724
|
+
*/
|
|
3725
|
+
cancelDefault?: string;
|
|
3726
|
+
/**
|
|
3727
|
+
* cancelTextStyle property
|
|
3728
|
+
* @default undefined
|
|
3729
|
+
*/
|
|
3730
|
+
cancelTextStyle?: string;
|
|
3731
|
+
/**
|
|
3732
|
+
* confirmText property
|
|
3733
|
+
* @default undefined
|
|
3734
|
+
*/
|
|
3735
|
+
confirmText?: string;
|
|
3736
|
+
/**
|
|
3737
|
+
* confirmDefault property
|
|
3738
|
+
* @default undefined
|
|
3739
|
+
*/
|
|
3740
|
+
confirmDefault?: string;
|
|
3741
|
+
/**
|
|
3742
|
+
* confirmDestructive property
|
|
3743
|
+
* @default undefined
|
|
3744
|
+
*/
|
|
3745
|
+
confirmDestructive?: string;
|
|
3746
|
+
/**
|
|
3747
|
+
* confirmTextStyle property
|
|
3748
|
+
* @default undefined
|
|
3749
|
+
*/
|
|
3750
|
+
confirmTextStyle?: string;
|
|
3751
|
+
/**
|
|
3752
|
+
* cancel event handler
|
|
3753
|
+
*/
|
|
3754
|
+
onCancel?: (event: CustomEvent) => void;
|
|
3755
|
+
/**
|
|
3756
|
+
* confirm event handler
|
|
3757
|
+
*/
|
|
3758
|
+
onConfirm?: (event: CustomEvent) => void;
|
|
3759
|
+
/**
|
|
3760
|
+
* HTML id attribute
|
|
3761
|
+
*/
|
|
3762
|
+
id?: string;
|
|
3763
|
+
/**
|
|
3764
|
+
* Additional CSS styles
|
|
3765
|
+
*/
|
|
3766
|
+
style?: React.CSSProperties;
|
|
3767
|
+
/**
|
|
3768
|
+
* Children elements
|
|
3769
|
+
*/
|
|
3770
|
+
children?: React.ReactNode;
|
|
3771
|
+
/**
|
|
3772
|
+
* Additional CSS class names
|
|
3773
|
+
*/
|
|
3774
|
+
className?: string;
|
|
3775
|
+
}
|
|
3776
|
+
/**
|
|
3777
|
+
* Element interface with methods accessible via ref
|
|
3778
|
+
* @example
|
|
3779
|
+
* ```tsx
|
|
3780
|
+
* const ref = useRef<FlutterCupertinoAlertElement>(null);
|
|
3781
|
+
* // Call methods on the element
|
|
3782
|
+
* ref.current?.finishRefresh('success');
|
|
3783
|
+
* ```
|
|
3784
|
+
*/
|
|
3785
|
+
interface FlutterCupertinoAlertElement extends WebFElementWithMethods<{
|
|
3786
|
+
show(options: FlutterCupertinoAlertOptions): void;
|
|
3787
|
+
hide(): void;
|
|
3788
|
+
}> {
|
|
3789
|
+
}
|
|
3790
|
+
/**
|
|
3791
|
+
* FlutterCupertinoAlert - WebF FlutterCupertinoAlert component
|
|
3792
|
+
*
|
|
3793
|
+
* @example
|
|
3794
|
+
* ```tsx
|
|
3795
|
+
* const ref = useRef<FlutterCupertinoAlertElement>(null);
|
|
3796
|
+
*
|
|
3797
|
+
* <FlutterCupertinoAlert
|
|
3798
|
+
* ref={ref}
|
|
3799
|
+
* // Add props here
|
|
3800
|
+
* >
|
|
3801
|
+
* Content
|
|
3802
|
+
* </FlutterCupertinoAlert>
|
|
3803
|
+
*
|
|
3804
|
+
* // Call methods on the element
|
|
3805
|
+
* ref.current?.finishRefresh('success');
|
|
3806
|
+
* ```
|
|
3807
|
+
*/
|
|
3808
|
+
declare const FlutterCupertinoAlert: React.ForwardRefExoticComponent<FlutterCupertinoAlertProps & {
|
|
3809
|
+
className?: string;
|
|
3810
|
+
style?: React.CSSProperties;
|
|
3811
|
+
children?: React.ReactNode;
|
|
3812
|
+
} & React.RefAttributes<FlutterCupertinoAlertElement>>;
|
|
3813
|
+
|
|
3814
|
+
interface FlutterCupertinoActionSheetAction {
|
|
3815
|
+
text: string;
|
|
3816
|
+
isDefault?: boolean;
|
|
3817
|
+
isDestructive?: boolean;
|
|
3818
|
+
event?: string;
|
|
3819
|
+
}
|
|
3820
|
+
interface FlutterCupertinoActionSheetOptions {
|
|
3821
|
+
title?: string;
|
|
3822
|
+
message?: string;
|
|
3823
|
+
actions?: FlutterCupertinoActionSheetAction[];
|
|
3824
|
+
cancelButton?: FlutterCupertinoActionSheetAction;
|
|
3825
|
+
}
|
|
3826
|
+
interface FlutterCupertinoActionSheetSelectDetail {
|
|
3827
|
+
text: string;
|
|
3828
|
+
event: string;
|
|
3829
|
+
isDefault: boolean;
|
|
3830
|
+
isDestructive: boolean;
|
|
3831
|
+
index?: number;
|
|
3832
|
+
}
|
|
3833
|
+
interface FlutterCupertinoActionSheetProps {
|
|
3834
|
+
/**
|
|
3835
|
+
* select event handler
|
|
3836
|
+
*/
|
|
3837
|
+
onSelect?: (event: CustomEvent<FlutterCupertinoActionSheetSelectDetail>) => void;
|
|
3838
|
+
/**
|
|
3839
|
+
* HTML id attribute
|
|
3840
|
+
*/
|
|
3841
|
+
id?: string;
|
|
3842
|
+
/**
|
|
3843
|
+
* Additional CSS styles
|
|
3844
|
+
*/
|
|
3845
|
+
style?: React.CSSProperties;
|
|
3846
|
+
/**
|
|
3847
|
+
* Children elements
|
|
3848
|
+
*/
|
|
3849
|
+
children?: React.ReactNode;
|
|
3850
|
+
/**
|
|
3851
|
+
* Additional CSS class names
|
|
3852
|
+
*/
|
|
3853
|
+
className?: string;
|
|
3854
|
+
}
|
|
3855
|
+
/**
|
|
3856
|
+
* Element interface with methods accessible via ref
|
|
3857
|
+
* @example
|
|
3858
|
+
* ```tsx
|
|
3859
|
+
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
3860
|
+
* // Call methods on the element
|
|
3861
|
+
* ref.current?.finishRefresh('success');
|
|
3862
|
+
* ```
|
|
3863
|
+
*/
|
|
3864
|
+
interface FlutterCupertinoActionSheetElement extends WebFElementWithMethods<{
|
|
3865
|
+
show(options: FlutterCupertinoActionSheetOptions): void;
|
|
3866
|
+
}> {
|
|
3867
|
+
}
|
|
3868
|
+
/**
|
|
3869
|
+
* FlutterCupertinoActionSheet - WebF FlutterCupertinoActionSheet component
|
|
3870
|
+
*
|
|
3871
|
+
* @example
|
|
3872
|
+
* ```tsx
|
|
3873
|
+
* const ref = useRef<FlutterCupertinoActionSheetElement>(null);
|
|
3874
|
+
*
|
|
3875
|
+
* <FlutterCupertinoActionSheet
|
|
3876
|
+
* ref={ref}
|
|
3877
|
+
* // Add props here
|
|
3878
|
+
* >
|
|
3879
|
+
* Content
|
|
3880
|
+
* </FlutterCupertinoActionSheet>
|
|
3881
|
+
*
|
|
3882
|
+
* // Call methods on the element
|
|
3883
|
+
* ref.current?.finishRefresh('success');
|
|
3884
|
+
* ```
|
|
3885
|
+
*/
|
|
3886
|
+
declare const FlutterCupertinoActionSheet: React.ForwardRefExoticComponent<FlutterCupertinoActionSheetProps & {
|
|
3887
|
+
className?: string;
|
|
3888
|
+
style?: React.CSSProperties;
|
|
3889
|
+
children?: React.ReactNode;
|
|
3890
|
+
} & React.RefAttributes<FlutterCupertinoActionSheetElement>>;
|
|
3891
|
+
|
|
3892
3892
|
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 };
|