ferns-ui 0.2.0
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/LICENSE +203 -0
- package/README.md +22 -0
- package/dist/ActionSheet.d.ts +490 -0
- package/dist/ActionSheet.js +647 -0
- package/dist/ActionSheet.js.map +1 -0
- package/dist/Banner.d.ts +27 -0
- package/dist/Banner.js +56 -0
- package/dist/Banner.js.map +1 -0
- package/dist/Banner.stories.d.ts +1 -0
- package/dist/Banner.stories.js +13 -0
- package/dist/Banner.stories.js.map +1 -0
- package/dist/BlurBox.d.ts +5 -0
- package/dist/BlurBox.js +28 -0
- package/dist/BlurBox.js.map +1 -0
- package/dist/BlurBox.native.d.ts +6 -0
- package/dist/BlurBox.native.js +30 -0
- package/dist/BlurBox.native.js.map +1 -0
- package/dist/Body.d.ts +6 -0
- package/dist/Body.js +21 -0
- package/dist/Body.js.map +1 -0
- package/dist/Box.d.ts +18 -0
- package/dist/Box.js +228 -0
- package/dist/Box.js.map +1 -0
- package/dist/Box.stories.d.ts +1 -0
- package/dist/Box.stories.js +45 -0
- package/dist/Box.stories.js.map +1 -0
- package/dist/Button.d.ts +20 -0
- package/dist/Button.js +103 -0
- package/dist/Button.js.map +1 -0
- package/dist/Button.stories.d.ts +1 -0
- package/dist/Button.stories.js +41 -0
- package/dist/Button.stories.js.map +1 -0
- package/dist/Card.d.ts +5 -0
- package/dist/Card.js +8 -0
- package/dist/Card.js.map +1 -0
- package/dist/Card.stories.d.ts +6 -0
- package/dist/Card.stories.js +18 -0
- package/dist/Card.stories.js.map +1 -0
- package/dist/CheckBox.d.ts +6 -0
- package/dist/CheckBox.js +27 -0
- package/dist/CheckBox.js.map +1 -0
- package/dist/CheckBox.stories.d.ts +1 -0
- package/dist/CheckBox.stories.js +28 -0
- package/dist/CheckBox.stories.js.map +1 -0
- package/dist/Common.d.ts +868 -0
- package/dist/Common.js +46 -0
- package/dist/Common.js.map +1 -0
- package/dist/DateTimeActionSheet.d.ts +15 -0
- package/dist/DateTimeActionSheet.js +28 -0
- package/dist/DateTimeActionSheet.js.map +1 -0
- package/dist/DecimalRangeActionSheet.d.ts +18 -0
- package/dist/DecimalRangeActionSheet.js +65 -0
- package/dist/DecimalRangeActionSheet.js.map +1 -0
- package/dist/ErrorBoundary.d.ts +19 -0
- package/dist/ErrorBoundary.js +31 -0
- package/dist/ErrorBoundary.js.map +1 -0
- package/dist/ErrorPage.d.ts +10 -0
- package/dist/ErrorPage.js +20 -0
- package/dist/ErrorPage.js.map +1 -0
- package/dist/Field.d.ts +15 -0
- package/dist/Field.js +136 -0
- package/dist/Field.js.map +1 -0
- package/dist/Field.stories.d.ts +6 -0
- package/dist/Field.stories.js +38 -0
- package/dist/Field.stories.js.map +1 -0
- package/dist/FieldWithLabels.d.ts +3 -0
- package/dist/FieldWithLabels.js +8 -0
- package/dist/FieldWithLabels.js.map +1 -0
- package/dist/FlatList.d.ts +2 -0
- package/dist/FlatList.js +3 -0
- package/dist/FlatList.js.map +1 -0
- package/dist/Form.d.ts +22 -0
- package/dist/Form.js +89 -0
- package/dist/Form.js.map +1 -0
- package/dist/Form.stories.d.ts +6 -0
- package/dist/Form.stories.js +36 -0
- package/dist/Form.stories.js.map +1 -0
- package/dist/HeaderButtons.d.ts +31 -0
- package/dist/HeaderButtons.js +53 -0
- package/dist/HeaderButtons.js.map +1 -0
- package/dist/HeaderButtons.stories.d.ts +6 -0
- package/dist/HeaderButtons.stories.js +6 -0
- package/dist/HeaderButtons.stories.js.map +1 -0
- package/dist/Heading.d.ts +11 -0
- package/dist/Heading.js +46 -0
- package/dist/Heading.js.map +1 -0
- package/dist/Heading.stories.d.ts +1 -0
- package/dist/Heading.stories.js +22 -0
- package/dist/Heading.stories.js.map +1 -0
- package/dist/HeightActionSheet.d.ts +16 -0
- package/dist/HeightActionSheet.js +58 -0
- package/dist/HeightActionSheet.js.map +1 -0
- package/dist/Icon.d.ts +9 -0
- package/dist/Icon.js +125 -0
- package/dist/Icon.js.map +1 -0
- package/dist/Icon.stories.d.ts +1 -0
- package/dist/Icon.stories.js +30 -0
- package/dist/Icon.stories.js.map +1 -0
- package/dist/IconButton.d.ts +5 -0
- package/dist/IconButton.js +41 -0
- package/dist/IconButton.js.map +1 -0
- package/dist/IconButton.stories.d.ts +1 -0
- package/dist/IconButton.stories.js +16 -0
- package/dist/IconButton.stories.js.map +1 -0
- package/dist/Image.d.ts +8 -0
- package/dist/Image.js +37 -0
- package/dist/Image.js.map +1 -0
- package/dist/ImageBackground.d.ts +9 -0
- package/dist/ImageBackground.js +8 -0
- package/dist/ImageBackground.js.map +1 -0
- package/dist/Layer.d.ts +9 -0
- package/dist/Layer.js +12 -0
- package/dist/Layer.js.map +1 -0
- package/dist/Link.d.ts +9 -0
- package/dist/Link.js +12 -0
- package/dist/Link.js.map +1 -0
- package/dist/Link.stories.d.ts +1 -0
- package/dist/Link.stories.js +18 -0
- package/dist/Link.stories.js.map +1 -0
- package/dist/Mask.d.ts +5 -0
- package/dist/Mask.js +22 -0
- package/dist/Mask.js.map +1 -0
- package/dist/Mask.stories.d.ts +1 -0
- package/dist/Mask.stories.js +28 -0
- package/dist/Mask.stories.js.map +1 -0
- package/dist/MediaQuery.d.ts +2 -0
- package/dist/MediaQuery.js +33 -0
- package/dist/MediaQuery.js.map +1 -0
- package/dist/Meta.d.ts +5 -0
- package/dist/Meta.js +7 -0
- package/dist/Meta.js.map +1 -0
- package/dist/ModalSheet.d.ts +7 -0
- package/dist/ModalSheet.js +42 -0
- package/dist/ModalSheet.js.map +1 -0
- package/dist/NumberPickerActionSheet.d.ts +16 -0
- package/dist/NumberPickerActionSheet.js +29 -0
- package/dist/NumberPickerActionSheet.js.map +1 -0
- package/dist/Page.d.ts +26 -0
- package/dist/Page.js +38 -0
- package/dist/Page.js.map +1 -0
- package/dist/Permissions.d.ts +2 -0
- package/dist/Permissions.js +35 -0
- package/dist/Permissions.js.map +1 -0
- package/dist/PickerSelect.d.ts +174 -0
- package/dist/PickerSelect.js +426 -0
- package/dist/PickerSelect.js.map +1 -0
- package/dist/Pill.d.ts +5 -0
- package/dist/Pill.js +10 -0
- package/dist/Pill.js.map +1 -0
- package/dist/Pill.stories.d.ts +1 -0
- package/dist/Pill.stories.js +38 -0
- package/dist/Pill.stories.js.map +1 -0
- package/dist/Pog.d.ts +15 -0
- package/dist/Pog.js +144 -0
- package/dist/Pog.js.map +1 -0
- package/dist/ProgressBar.d.ts +9 -0
- package/dist/ProgressBar.js +41 -0
- package/dist/ProgressBar.js.map +1 -0
- package/dist/ScrollView.d.ts +2 -0
- package/dist/ScrollView.js +3 -0
- package/dist/ScrollView.js.map +1 -0
- package/dist/SegmentedControl.d.ts +6 -0
- package/dist/SegmentedControl.js +18 -0
- package/dist/SegmentedControl.js.map +1 -0
- package/dist/SegmentedControl.stories.d.ts +1 -0
- package/dist/SegmentedControl.stories.js +31 -0
- package/dist/SegmentedControl.stories.js.map +1 -0
- package/dist/SelectList.d.ts +22 -0
- package/dist/SelectList.js +28 -0
- package/dist/SelectList.js.map +1 -0
- package/dist/SelectList.stories.d.ts +1 -0
- package/dist/SelectList.stories.js +26 -0
- package/dist/SelectList.stories.js.map +1 -0
- package/dist/Spinner.d.ts +21 -0
- package/dist/Spinner.js +58 -0
- package/dist/Spinner.js.map +1 -0
- package/dist/Spinner.stories.d.ts +1 -0
- package/dist/Spinner.stories.js +12 -0
- package/dist/Spinner.stories.js.map +1 -0
- package/dist/SplitPage.d.ts +31 -0
- package/dist/SplitPage.js +51 -0
- package/dist/SplitPage.js.map +1 -0
- package/dist/SplitPage.stories.d.ts +1 -0
- package/dist/SplitPage.stories.js +15 -0
- package/dist/SplitPage.stories.js.map +1 -0
- package/dist/StorybookContainer.d.ts +4 -0
- package/dist/StorybookContainer.js +8 -0
- package/dist/StorybookContainer.js.map +1 -0
- package/dist/Switch.d.ts +5 -0
- package/dist/Switch.js +10 -0
- package/dist/Switch.js.map +1 -0
- package/dist/Switch.stories.d.ts +1 -0
- package/dist/Switch.stories.js +34 -0
- package/dist/Switch.stories.js.map +1 -0
- package/dist/TapToEdit.d.ts +12 -0
- package/dist/TapToEdit.js +32 -0
- package/dist/TapToEdit.js.map +1 -0
- package/dist/Text.d.ts +11 -0
- package/dist/Text.js +85 -0
- package/dist/Text.js.map +1 -0
- package/dist/Text.stories.d.ts +1 -0
- package/dist/Text.stories.js +37 -0
- package/dist/Text.stories.js.map +1 -0
- package/dist/TextArea.d.ts +6 -0
- package/dist/TextArea.js +12 -0
- package/dist/TextArea.js.map +1 -0
- package/dist/TextArea.stories.d.ts +10 -0
- package/dist/TextArea.stories.js +24 -0
- package/dist/TextArea.stories.js.map +1 -0
- package/dist/TextField.d.ts +48 -0
- package/dist/TextField.js +207 -0
- package/dist/TextField.js.map +1 -0
- package/dist/TextField.stories.d.ts +6 -0
- package/dist/TextField.stories.js +18 -0
- package/dist/TextField.stories.js.map +1 -0
- package/dist/TextFieldNumberActionSheet.d.ts +15 -0
- package/dist/TextFieldNumberActionSheet.js +28 -0
- package/dist/TextFieldNumberActionSheet.js.map +1 -0
- package/dist/UnifiedScreens.d.ts +9 -0
- package/dist/UnifiedScreens.js +25 -0
- package/dist/UnifiedScreens.js.map +1 -0
- package/dist/Unifier.d.ts +40 -0
- package/dist/Unifier.js +203 -0
- package/dist/Unifier.js.map +1 -0
- package/dist/Utilities.d.ts +31 -0
- package/dist/Utilities.js +74 -0
- package/dist/Utilities.js.map +1 -0
- package/dist/WithLabel.d.ts +5 -0
- package/dist/WithLabel.js +27 -0
- package/dist/WithLabel.js.map +1 -0
- package/dist/dist/ActionSheet.d.ts +139 -0
- package/dist/dist/ActionSheet.js +637 -0
- package/dist/dist/ActionSheet.js.map +1 -0
- package/dist/dist/Banner.d.ts +12 -0
- package/dist/dist/Banner.js +49 -0
- package/dist/dist/Banner.js.map +1 -0
- package/dist/dist/Banner.stories.d.ts +1 -0
- package/dist/dist/Banner.stories.js +9 -0
- package/dist/dist/Banner.stories.js.map +1 -0
- package/dist/dist/BlurBox.d.ts +7 -0
- package/dist/dist/BlurBox.js +29 -0
- package/dist/dist/BlurBox.js.map +1 -0
- package/dist/dist/BlurBox.native.d.ts +9 -0
- package/dist/dist/BlurBox.native.js +32 -0
- package/dist/dist/BlurBox.native.js.map +1 -0
- package/dist/dist/Body.d.ts +12 -0
- package/dist/dist/Body.js +19 -0
- package/dist/dist/Body.js.map +1 -0
- package/dist/dist/Box.d.ts +205 -0
- package/dist/dist/Box.js +229 -0
- package/dist/dist/Box.js.map +1 -0
- package/dist/dist/Box.stories.d.ts +1 -0
- package/dist/dist/Box.stories.js +37 -0
- package/dist/dist/Box.stories.js.map +1 -0
- package/dist/dist/Button.d.ts +16 -0
- package/dist/dist/Button.js +98 -0
- package/dist/dist/Button.js.map +1 -0
- package/dist/dist/Button.stories.d.ts +13 -0
- package/dist/dist/Button.stories.js +26 -0
- package/dist/dist/Button.stories.js.map +1 -0
- package/dist/dist/Card.d.ts +6 -0
- package/dist/dist/Card.js +9 -0
- package/dist/dist/Card.js.map +1 -0
- package/dist/dist/Card.stories.d.ts +6 -0
- package/dist/dist/Card.stories.js +11 -0
- package/dist/dist/Card.stories.js.map +1 -0
- package/dist/dist/CheckBox.d.ts +8 -0
- package/dist/dist/CheckBox.js +23 -0
- package/dist/dist/CheckBox.js.map +1 -0
- package/dist/dist/CheckBox.stories.d.ts +1 -0
- package/dist/dist/CheckBox.stories.js +22 -0
- package/dist/dist/CheckBox.stories.js.map +1 -0
- package/dist/dist/Common.d.ts +5 -0
- package/dist/dist/Common.js +47 -0
- package/dist/dist/Common.js.map +1 -0
- package/dist/dist/DateTimeActionSheet.d.ts +5 -0
- package/dist/dist/DateTimeActionSheet.js +24 -0
- package/dist/dist/DateTimeActionSheet.js.map +1 -0
- package/dist/dist/DecimalRangeActionSheet.d.ts +9 -0
- package/dist/dist/DecimalRangeActionSheet.js +57 -0
- package/dist/dist/DecimalRangeActionSheet.js.map +1 -0
- package/dist/dist/ErrorBoundary.d.ts +12 -0
- package/dist/dist/ErrorBoundary.js +32 -0
- package/dist/dist/ErrorBoundary.js.map +1 -0
- package/dist/dist/ErrorPage.d.ts +7 -0
- package/dist/dist/ErrorPage.js +15 -0
- package/dist/dist/ErrorPage.js.map +1 -0
- package/dist/dist/Field.d.ts +17 -0
- package/dist/dist/Field.js +136 -0
- package/dist/dist/Field.js.map +1 -0
- package/dist/dist/Field.stories.d.ts +6 -0
- package/dist/dist/Field.stories.js +25 -0
- package/dist/dist/Field.stories.js.map +1 -0
- package/dist/dist/FieldWithLabels.d.ts +10 -0
- package/dist/dist/FieldWithLabels.js +7 -0
- package/dist/dist/FieldWithLabels.js.map +1 -0
- package/dist/dist/FlatList.d.ts +1 -0
- package/dist/dist/FlatList.js +4 -0
- package/dist/dist/FlatList.js.map +1 -0
- package/dist/dist/Form.d.ts +15 -0
- package/dist/dist/Form.js +56 -0
- package/dist/dist/Form.js.map +1 -0
- package/dist/dist/Form.stories.d.ts +6 -0
- package/dist/dist/Form.stories.js +27 -0
- package/dist/dist/Form.stories.js.map +1 -0
- package/dist/dist/HeaderButtons.d.ts +39 -0
- package/dist/dist/HeaderButtons.js +50 -0
- package/dist/dist/HeaderButtons.js.map +1 -0
- package/dist/dist/HeaderButtons.stories.d.ts +6 -0
- package/dist/dist/HeaderButtons.stories.js +7 -0
- package/dist/dist/HeaderButtons.stories.js.map +1 -0
- package/dist/dist/Heading.d.ts +32 -0
- package/dist/dist/Heading.js +47 -0
- package/dist/dist/Heading.js.map +1 -0
- package/dist/dist/Heading.stories.d.ts +1 -0
- package/dist/dist/Heading.stories.js +11 -0
- package/dist/dist/Heading.stories.js.map +1 -0
- package/dist/dist/HeightActionSheet.d.ts +9 -0
- package/dist/dist/HeightActionSheet.js +50 -0
- package/dist/dist/HeightActionSheet.js.map +1 -0
- package/dist/dist/Icon.d.ts +12 -0
- package/dist/dist/Icon.js +126 -0
- package/dist/dist/Icon.js.map +1 -0
- package/dist/dist/Icon.stories.d.ts +1 -0
- package/dist/dist/Icon.stories.js +11 -0
- package/dist/dist/Icon.stories.js.map +1 -0
- package/dist/dist/IconButton.d.ts +42 -0
- package/dist/dist/IconButton.js +41 -0
- package/dist/dist/IconButton.js.map +1 -0
- package/dist/dist/IconButton.stories.d.ts +1 -0
- package/dist/dist/IconButton.stories.js +8 -0
- package/dist/dist/IconButton.stories.js.map +1 -0
- package/dist/dist/Image.d.ts +9 -0
- package/dist/dist/Image.js +37 -0
- package/dist/dist/Image.js.map +1 -0
- package/dist/dist/ImageBackground.d.ts +6 -0
- package/dist/dist/ImageBackground.js +9 -0
- package/dist/dist/ImageBackground.js.map +1 -0
- package/dist/dist/Layer.d.ts +5 -0
- package/dist/dist/Layer.js +13 -0
- package/dist/dist/Layer.js.map +1 -0
- package/dist/dist/Link.d.ts +7 -0
- package/dist/dist/Link.js +13 -0
- package/dist/dist/Link.js.map +1 -0
- package/dist/dist/Link.stories.d.ts +1 -0
- package/dist/dist/Link.stories.js +8 -0
- package/dist/dist/Link.stories.js.map +1 -0
- package/dist/dist/Mask.d.ts +5 -0
- package/dist/dist/Mask.js +23 -0
- package/dist/dist/Mask.js.map +1 -0
- package/dist/dist/Mask.stories.d.ts +1 -0
- package/dist/dist/Mask.stories.js +13 -0
- package/dist/dist/Mask.stories.js.map +1 -0
- package/dist/dist/MediaQuery.d.ts +2 -0
- package/dist/dist/MediaQuery.js +34 -0
- package/dist/dist/MediaQuery.js.map +1 -0
- package/dist/dist/Meta.d.ts +6 -0
- package/dist/dist/Meta.js +8 -0
- package/dist/dist/Meta.js.map +1 -0
- package/dist/dist/ModalSheet.d.ts +3 -0
- package/dist/dist/ModalSheet.js +43 -0
- package/dist/dist/ModalSheet.js.map +1 -0
- package/dist/dist/NumberPickerActionSheet.d.ts +5 -0
- package/dist/dist/NumberPickerActionSheet.js +25 -0
- package/dist/dist/NumberPickerActionSheet.js.map +1 -0
- package/dist/dist/Page.d.ts +9 -0
- package/dist/dist/Page.js +26 -0
- package/dist/dist/Page.js.map +1 -0
- package/dist/dist/Permissions.d.ts +1 -0
- package/dist/dist/Permissions.js +36 -0
- package/dist/dist/Permissions.js.map +1 -0
- package/dist/dist/PickerSelect.d.ts +172 -0
- package/dist/dist/PickerSelect.js +403 -0
- package/dist/dist/PickerSelect.js.map +1 -0
- package/dist/dist/Pill.d.ts +7 -0
- package/dist/dist/Pill.js +10 -0
- package/dist/dist/Pill.js.map +1 -0
- package/dist/dist/Pill.stories.d.ts +1 -0
- package/dist/dist/Pill.stories.js +36 -0
- package/dist/dist/Pill.stories.js.map +1 -0
- package/dist/dist/Pog.d.ts +7 -0
- package/dist/dist/Pog.js +144 -0
- package/dist/dist/Pog.js.map +1 -0
- package/dist/dist/ProgressBar.d.ts +16 -0
- package/dist/dist/ProgressBar.js +40 -0
- package/dist/dist/ProgressBar.js.map +1 -0
- package/dist/dist/ScrollView.d.ts +1 -0
- package/dist/dist/ScrollView.js +4 -0
- package/dist/dist/ScrollView.js.map +1 -0
- package/dist/dist/SegmentedControl.d.ts +9 -0
- package/dist/dist/SegmentedControl.js +18 -0
- package/dist/dist/SegmentedControl.js.map +1 -0
- package/dist/dist/SegmentedControl.stories.d.ts +1 -0
- package/dist/dist/SegmentedControl.stories.js +32 -0
- package/dist/dist/SegmentedControl.stories.js.map +1 -0
- package/dist/dist/SelectList.d.ts +9 -0
- package/dist/dist/SelectList.js +29 -0
- package/dist/dist/SelectList.js.map +1 -0
- package/dist/dist/SelectList.stories.d.ts +1 -0
- package/dist/dist/SelectList.stories.js +24 -0
- package/dist/dist/SelectList.stories.js.map +1 -0
- package/dist/dist/Spinner.d.ts +44 -0
- package/dist/dist/Spinner.js +58 -0
- package/dist/dist/Spinner.js.map +1 -0
- package/dist/dist/Spinner.stories.d.ts +1 -0
- package/dist/dist/Spinner.stories.js +10 -0
- package/dist/dist/Spinner.stories.js.map +1 -0
- package/dist/dist/SplitPage.d.ts +7 -0
- package/dist/dist/SplitPage.js +20 -0
- package/dist/dist/SplitPage.js.map +1 -0
- package/dist/dist/SplitPage.stories.d.ts +1 -0
- package/dist/dist/SplitPage.stories.js +7 -0
- package/dist/dist/SplitPage.stories.js.map +1 -0
- package/dist/dist/StorybookContainer.d.ts +7 -0
- package/dist/dist/StorybookContainer.js +9 -0
- package/dist/dist/StorybookContainer.js.map +1 -0
- package/dist/dist/Switch.d.ts +6 -0
- package/dist/dist/Switch.js +10 -0
- package/dist/dist/Switch.js.map +1 -0
- package/dist/dist/Switch.stories.d.ts +1 -0
- package/dist/dist/Switch.stories.js +27 -0
- package/dist/dist/Switch.stories.js.map +1 -0
- package/dist/dist/TapToEdit.d.ts +9 -0
- package/dist/dist/TapToEdit.js +27 -0
- package/dist/dist/TapToEdit.js.map +1 -0
- package/dist/dist/Text.d.ts +36 -0
- package/dist/dist/Text.js +86 -0
- package/dist/dist/Text.js.map +1 -0
- package/dist/dist/Text.stories.d.ts +1 -0
- package/dist/dist/Text.stories.js +13 -0
- package/dist/dist/Text.stories.js.map +1 -0
- package/dist/dist/TextArea.d.ts +6 -0
- package/dist/dist/TextArea.js +13 -0
- package/dist/dist/TextArea.js.map +1 -0
- package/dist/dist/TextArea.stories.d.ts +12 -0
- package/dist/dist/TextArea.stories.js +21 -0
- package/dist/dist/TextArea.stories.js.map +1 -0
- package/dist/dist/TextField.d.ts +47 -0
- package/dist/dist/TextField.js +199 -0
- package/dist/dist/TextField.js.map +1 -0
- package/dist/dist/TextField.stories.d.ts +6 -0
- package/dist/dist/TextField.stories.js +15 -0
- package/dist/dist/TextField.stories.js.map +1 -0
- package/dist/dist/TextFieldNumberActionSheet.d.ts +5 -0
- package/dist/dist/TextFieldNumberActionSheet.js +24 -0
- package/dist/dist/TextFieldNumberActionSheet.js.map +1 -0
- package/dist/dist/UnifiedScreens.d.ts +2 -0
- package/dist/dist/UnifiedScreens.js +26 -0
- package/dist/dist/UnifiedScreens.js.map +1 -0
- package/dist/dist/Unifier.d.ts +131 -0
- package/dist/dist/Unifier.js +198 -0
- package/dist/dist/Unifier.js.map +1 -0
- package/dist/dist/Utilities.d.ts +51 -0
- package/dist/dist/Utilities.js +77 -0
- package/dist/dist/Utilities.js.map +1 -0
- package/dist/dist/WithLabel.d.ts +6 -0
- package/dist/dist/WithLabel.js +23 -0
- package/dist/dist/WithLabel.js.map +1 -0
- package/dist/dist/index.d.ts +43 -0
- package/dist/dist/index.js +49 -0
- package/dist/dist/index.js.map +1 -0
- package/dist/index.d.ts +1284 -0
- package/dist/index.js +49 -0
- package/dist/index.js.map +1 -0
- package/package.json +197 -0
- package/src/ActionSheet.tsx +1234 -0
- package/src/Banner.tsx +124 -0
- package/src/BlurBox.native.tsx +40 -0
- package/src/BlurBox.tsx +31 -0
- package/src/Body.tsx +32 -0
- package/src/Box.tsx +277 -0
- package/src/Button.tsx +139 -0
- package/src/Card.tsx +23 -0
- package/src/CheckBox.tsx +93 -0
- package/src/Common.ts +1376 -0
- package/src/DateTimeActionSheet.tsx +61 -0
- package/src/DecimalRangeActionSheet.tsx +113 -0
- package/src/ErrorBoundary.tsx +39 -0
- package/src/ErrorPage.tsx +44 -0
- package/src/Field.tsx +194 -0
- package/src/FieldWithLabels.tsx +36 -0
- package/src/FlatList.tsx +2 -0
- package/src/Form.tsx +182 -0
- package/src/HeaderButtons.tsx +107 -0
- package/src/Heading.tsx +53 -0
- package/src/HeightActionSheet.tsx +104 -0
- package/src/Icon.tsx +139 -0
- package/src/IconButton.tsx +52 -0
- package/src/Image.tsx +50 -0
- package/src/ImageBackground.tsx +13 -0
- package/src/Layer.tsx +17 -0
- package/src/Link.tsx +17 -0
- package/src/Mask.tsx +24 -0
- package/src/MediaQuery.ts +28 -0
- package/src/Meta.tsx +9 -0
- package/src/ModalSheet.tsx +58 -0
- package/src/NumberPickerActionSheet.tsx +66 -0
- package/src/Page.tsx +134 -0
- package/src/Permissions.ts +44 -0
- package/src/PickerSelect.tsx +673 -0
- package/src/Pill.tsx +24 -0
- package/src/Pog.tsx +211 -0
- package/src/ProgressBar.tsx +55 -0
- package/src/ScrollView.tsx +2 -0
- package/src/SegmentedControl.tsx +51 -0
- package/src/SelectList.tsx +48 -0
- package/src/Spinner.tsx +69 -0
- package/src/SplitPage.tsx +115 -0
- package/src/Switch.tsx +19 -0
- package/src/TapToEdit.tsx +48 -0
- package/src/Text.tsx +92 -0
- package/src/TextArea.tsx +15 -0
- package/src/TextField.tsx +291 -0
- package/src/TextFieldNumberActionSheet.tsx +61 -0
- package/src/UnifiedScreens.ts +24 -0
- package/src/Unifier.ts +268 -0
- package/src/Utilities.tsx +161 -0
- package/src/WithLabel.tsx +46 -0
- package/src/index.tsx +1332 -0
- package/src/polyfill.d.ts +11 -0
- package/tsconfig.json +29 -0
|
@@ -0,0 +1,490 @@
|
|
|
1
|
+
import React, { Component } from "react";
|
|
2
|
+
import { Animated, KeyboardEvent, LayoutChangeEvent, NativeScrollEvent, NativeSyntheticEvent, ViewStyle } from "react-native";
|
|
3
|
+
export declare type ActionSheetProps = {
|
|
4
|
+
children?: React.ReactNode;
|
|
5
|
+
ref?: React.MutableRefObject<{
|
|
6
|
+
/**
|
|
7
|
+
* Open or close the ActionSheet.
|
|
8
|
+
*/
|
|
9
|
+
setModalVisible(visible?: boolean): void;
|
|
10
|
+
/**
|
|
11
|
+
* Open the Action Sheet.
|
|
12
|
+
*/
|
|
13
|
+
show(): void;
|
|
14
|
+
/**
|
|
15
|
+
* Close the ActionSheet.
|
|
16
|
+
*/
|
|
17
|
+
hide(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Attach this to any child ScrollView Component's onScrollEndDrag,
|
|
20
|
+
* onMomentumScrollEnd,onScrollAnimationEnd callbacks to handle the ActionSheet
|
|
21
|
+
* closing and bouncing back properly.
|
|
22
|
+
*/
|
|
23
|
+
handleChildScrollEnd(): void;
|
|
24
|
+
/**
|
|
25
|
+
* Snap ActionSheet to given offset
|
|
26
|
+
*/
|
|
27
|
+
snapToOffset(offset: number): void;
|
|
28
|
+
}>;
|
|
29
|
+
/**
|
|
30
|
+
* Animate the opening and closing of ActionSheet.
|
|
31
|
+
|
|
32
|
+
| Type | Required |
|
|
33
|
+
| ---- | -------- |
|
|
34
|
+
| boolean | no |
|
|
35
|
+
|
|
36
|
+
Default: `true`
|
|
37
|
+
*/
|
|
38
|
+
animated?: boolean;
|
|
39
|
+
/**
|
|
40
|
+
* Use if you want to show the ActionSheet Partially on Opening. **Requires `gestureEnabled=true`**
|
|
41
|
+
|
|
42
|
+
| Type | Required |
|
|
43
|
+
| ---- | -------- |
|
|
44
|
+
| boolean | no |
|
|
45
|
+
|
|
46
|
+
Default:`1`
|
|
47
|
+
*/
|
|
48
|
+
initialOffsetFromBottom?: number;
|
|
49
|
+
/**
|
|
50
|
+
* When touch ends and user has not moved farther from the set springOffset, the ActionSheet will return to previous position.
|
|
51
|
+
|
|
52
|
+
| Type | Required |
|
|
53
|
+
| ---- | -------- |
|
|
54
|
+
| number | no |
|
|
55
|
+
|
|
56
|
+
Default: `50`
|
|
57
|
+
*/
|
|
58
|
+
springOffset?: number;
|
|
59
|
+
/**
|
|
60
|
+
* Add elevation to the ActionSheet container.
|
|
61
|
+
|
|
62
|
+
| Type | Required |
|
|
63
|
+
| ---- | -------- |
|
|
64
|
+
| number | no |
|
|
65
|
+
|
|
66
|
+
Default: `0`
|
|
67
|
+
|
|
68
|
+
#
|
|
69
|
+
*/
|
|
70
|
+
elevation?: number;
|
|
71
|
+
/**
|
|
72
|
+
* Color of the gestureEnabled Indicator.
|
|
73
|
+
|
|
74
|
+
| Type | Required |
|
|
75
|
+
| ---- | -------- |
|
|
76
|
+
| string | no |
|
|
77
|
+
|
|
78
|
+
Default: `"#f0f0f0"`
|
|
79
|
+
*/
|
|
80
|
+
indicatorColor?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Normally when the ActionSheet is fully opened, a small portion from the bottom is hidden by default. Use this prop if you want the ActionSheet to hover over the bottom of screen and not hide a little behind it.
|
|
83
|
+
|
|
84
|
+
| Type | Required |
|
|
85
|
+
| ---- | -------- |
|
|
86
|
+
| number | no |
|
|
87
|
+
|
|
88
|
+
Default:`0`
|
|
89
|
+
*/
|
|
90
|
+
extraScroll?: number;
|
|
91
|
+
/**
|
|
92
|
+
* Color of the overlay/backdrop.
|
|
93
|
+
|
|
94
|
+
| Type | Required |
|
|
95
|
+
| ---- | -------- |
|
|
96
|
+
| string | no |
|
|
97
|
+
|
|
98
|
+
Default: `"black"`
|
|
99
|
+
*/
|
|
100
|
+
overlayColor?: string;
|
|
101
|
+
/**
|
|
102
|
+
* Keep the header always visible even when gestures are disabled.
|
|
103
|
+
|
|
104
|
+
| Type | Required |
|
|
105
|
+
| ---- | -------- |
|
|
106
|
+
| boolean | no |
|
|
107
|
+
|
|
108
|
+
Default: `false`
|
|
109
|
+
*/
|
|
110
|
+
headerAlwaysVisible?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* Delay draw of ActionSheet on open for android.
|
|
113
|
+
|
|
114
|
+
| Type | Required |
|
|
115
|
+
| ---- | -------- |
|
|
116
|
+
| boolean | no |
|
|
117
|
+
|
|
118
|
+
Default: `false`
|
|
119
|
+
*/
|
|
120
|
+
delayActionSheetDraw?: boolean;
|
|
121
|
+
/**
|
|
122
|
+
* Delay draw of ActionSheet on open for android time.
|
|
123
|
+
|
|
124
|
+
| Type | Required |
|
|
125
|
+
| ---- | -------- |
|
|
126
|
+
| number (ms) | no |
|
|
127
|
+
|
|
128
|
+
Default: `50`
|
|
129
|
+
*/
|
|
130
|
+
delayActionSheetDrawTime?: number;
|
|
131
|
+
/**
|
|
132
|
+
* Your custom header component. Using this will hide the default indicator.
|
|
133
|
+
|
|
134
|
+
| Type | Required |
|
|
135
|
+
| ---- | -------- |
|
|
136
|
+
| React.Component | no |
|
|
137
|
+
*/
|
|
138
|
+
CustomHeaderComponent?: React.ReactNode;
|
|
139
|
+
/**
|
|
140
|
+
* Any custom styles for the container.
|
|
141
|
+
|
|
142
|
+
| Type | Required |
|
|
143
|
+
| ---- | -------- |
|
|
144
|
+
| Object | no |
|
|
145
|
+
*/
|
|
146
|
+
containerStyle?: ViewStyle;
|
|
147
|
+
/**
|
|
148
|
+
* Control closing ActionSheet by touching on backdrop.
|
|
149
|
+
|
|
150
|
+
| Type | Required |
|
|
151
|
+
| ---- | -------- |
|
|
152
|
+
| boolean | no |
|
|
153
|
+
|
|
154
|
+
Default: `true`
|
|
155
|
+
*/
|
|
156
|
+
closeOnTouchBackdrop?: boolean;
|
|
157
|
+
/**
|
|
158
|
+
* Speed of opening animation. Higher means the ActionSheet will open more quickly.
|
|
159
|
+
|
|
160
|
+
| Type | Required |
|
|
161
|
+
| ---- | -------- |
|
|
162
|
+
| number | no |
|
|
163
|
+
|
|
164
|
+
Default: `12`
|
|
165
|
+
*/
|
|
166
|
+
openAnimationSpeed?: number;
|
|
167
|
+
/**
|
|
168
|
+
* Duration of closing animation.
|
|
169
|
+
|
|
170
|
+
| Type | Required |
|
|
171
|
+
| ---- | -------- |
|
|
172
|
+
| number | no |
|
|
173
|
+
|
|
174
|
+
Default: `300`
|
|
175
|
+
*/
|
|
176
|
+
closeAnimationDuration?: number;
|
|
177
|
+
/**
|
|
178
|
+
*
|
|
179
|
+
How much you want the ActionSheet to bounce when it is opened.
|
|
180
|
+
|
|
181
|
+
| Type | Required |
|
|
182
|
+
| ---- | -------- |
|
|
183
|
+
| number | no |
|
|
184
|
+
|
|
185
|
+
Default: `8`
|
|
186
|
+
*/
|
|
187
|
+
bounciness?: number;
|
|
188
|
+
/**
|
|
189
|
+
* Will the ActionSheet close on `hardwareBackPress` event.
|
|
190
|
+
|
|
191
|
+
| Type | Required |
|
|
192
|
+
| ---- | -------- |
|
|
193
|
+
| boolean | no |
|
|
194
|
+
|
|
195
|
+
Default: `true`
|
|
196
|
+
*/
|
|
197
|
+
closeOnPressBack?: boolean;
|
|
198
|
+
/**
|
|
199
|
+
* Default opacity of the overlay/backdrop.
|
|
200
|
+
|
|
201
|
+
| Type | Required |
|
|
202
|
+
| ---- | -------- |
|
|
203
|
+
| number 0 - 1 | no |
|
|
204
|
+
|
|
205
|
+
Default: `0.3`
|
|
206
|
+
*/
|
|
207
|
+
defaultOverlayOpacity?: number;
|
|
208
|
+
/**
|
|
209
|
+
* Enables gesture control of ActionSheet
|
|
210
|
+
|
|
211
|
+
| Type | Required |
|
|
212
|
+
| ---- | -------- |
|
|
213
|
+
| boolean | no |
|
|
214
|
+
|
|
215
|
+
Default: `false`
|
|
216
|
+
*/
|
|
217
|
+
gestureEnabled?: boolean;
|
|
218
|
+
/**
|
|
219
|
+
* Bounces the ActionSheet on open.
|
|
220
|
+
|
|
221
|
+
| Type | Required |
|
|
222
|
+
| ---- | -------- |
|
|
223
|
+
| boolean | no |
|
|
224
|
+
|
|
225
|
+
Default: `false`
|
|
226
|
+
*/
|
|
227
|
+
bounceOnOpen?: boolean;
|
|
228
|
+
/**
|
|
229
|
+
* Setting the keyboard persistance of the ScrollView component, should be one of "never", "always", or "handled"
|
|
230
|
+
|
|
231
|
+
| Type | Required |
|
|
232
|
+
| ---- | -------- |
|
|
233
|
+
| string | no |
|
|
234
|
+
|
|
235
|
+
Default: `"never"`
|
|
236
|
+
*/
|
|
237
|
+
keyboardShouldPersistTaps?: boolean | "always" | "never" | "handled";
|
|
238
|
+
/**
|
|
239
|
+
* Determine whether the modal should go under the system statusbar.
|
|
240
|
+
|
|
241
|
+
| Type | Required |
|
|
242
|
+
| ---- | -------- |
|
|
243
|
+
| boolean | no |
|
|
244
|
+
|
|
245
|
+
Default: `true`
|
|
246
|
+
*/
|
|
247
|
+
statusBarTranslucent?: boolean;
|
|
248
|
+
/**
|
|
249
|
+
* Prevent ActionSheet from closing on
|
|
250
|
+
* gesture or tapping on backdrop.
|
|
251
|
+
* Instead snap it to `bottomOffset` location
|
|
252
|
+
*
|
|
253
|
+
*
|
|
254
|
+
* | Type | Required |
|
|
255
|
+
| ---- | -------- |
|
|
256
|
+
| boolean | no |
|
|
257
|
+
*/
|
|
258
|
+
closable?: boolean;
|
|
259
|
+
/**
|
|
260
|
+
* Allow ActionSheet to draw under the StatusBar.
|
|
261
|
+
* This is enabled by default.
|
|
262
|
+
*
|
|
263
|
+
*
|
|
264
|
+
* | Type | Required |
|
|
265
|
+
| ---- | -------- |
|
|
266
|
+
| boolean | no |
|
|
267
|
+
Default: `true`
|
|
268
|
+
*/
|
|
269
|
+
drawUnderStatusBar?: boolean;
|
|
270
|
+
/**
|
|
271
|
+
* Snap ActionSheet to this location if `closable` is set to false;
|
|
272
|
+
*
|
|
273
|
+
*
|
|
274
|
+
* | Type | Required |
|
|
275
|
+
| ---- | -------- |
|
|
276
|
+
| number | no |
|
|
277
|
+
*/
|
|
278
|
+
bottomOffset?: number;
|
|
279
|
+
/**
|
|
280
|
+
* Change how ActionSheet behaves when keyboard is opened.
|
|
281
|
+
*
|
|
282
|
+
*
|
|
283
|
+
* | Type | Required |
|
|
284
|
+
| ---- | -------- |
|
|
285
|
+
| "padding" | "position" | no |
|
|
286
|
+
Default:`padding`
|
|
287
|
+
*/
|
|
288
|
+
keyboardMode?: "padding" | "position";
|
|
289
|
+
/**
|
|
290
|
+
* Test ID for unit testing
|
|
291
|
+
*/
|
|
292
|
+
testID?: string;
|
|
293
|
+
/**
|
|
294
|
+
*
|
|
295
|
+
Event called when the ActionSheet closes.
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
* | Type | Required |
|
|
299
|
+
| ---- | -------- |
|
|
300
|
+
| function | no |
|
|
301
|
+
|
|
302
|
+
|
|
303
|
+
#
|
|
304
|
+
*/
|
|
305
|
+
onClose?: () => void;
|
|
306
|
+
/**
|
|
307
|
+
* An event called when the ActionSheet Opens.
|
|
308
|
+
|
|
309
|
+
| Type | Required |
|
|
310
|
+
| ---- | -------- |
|
|
311
|
+
| function | no |
|
|
312
|
+
*/
|
|
313
|
+
onOpen?: () => void;
|
|
314
|
+
/**
|
|
315
|
+
* Event called when position of ActionSheet changes.
|
|
316
|
+
*/
|
|
317
|
+
onPositionChanged?: (hasReachedTop: boolean) => void;
|
|
318
|
+
};
|
|
319
|
+
export declare const styles: {
|
|
320
|
+
scrollView: {
|
|
321
|
+
height: string;
|
|
322
|
+
width: string;
|
|
323
|
+
backgroundColor: string;
|
|
324
|
+
};
|
|
325
|
+
container: {
|
|
326
|
+
width: string;
|
|
327
|
+
backgroundColor: string;
|
|
328
|
+
alignSelf: "center";
|
|
329
|
+
};
|
|
330
|
+
safearea: {
|
|
331
|
+
position: "absolute";
|
|
332
|
+
top: number;
|
|
333
|
+
left: number;
|
|
334
|
+
};
|
|
335
|
+
indicator: {
|
|
336
|
+
height: number;
|
|
337
|
+
width: number;
|
|
338
|
+
borderRadius: number;
|
|
339
|
+
backgroundColor: string;
|
|
340
|
+
marginVertical: number;
|
|
341
|
+
alignSelf: "center";
|
|
342
|
+
};
|
|
343
|
+
parentContainer: {
|
|
344
|
+
width: string;
|
|
345
|
+
height: string;
|
|
346
|
+
justifyContent: "center";
|
|
347
|
+
alignItems: "center";
|
|
348
|
+
};
|
|
349
|
+
};
|
|
350
|
+
export declare function getDeviceHeight(statusBarTranslucent: boolean | undefined): number;
|
|
351
|
+
export declare const getElevation: (elevation?: number | undefined) => {
|
|
352
|
+
elevation?: undefined;
|
|
353
|
+
shadowColor?: undefined;
|
|
354
|
+
shadowOffset?: undefined;
|
|
355
|
+
shadowOpacity?: undefined;
|
|
356
|
+
shadowRadius?: undefined;
|
|
357
|
+
} | {
|
|
358
|
+
elevation: number;
|
|
359
|
+
shadowColor: string;
|
|
360
|
+
shadowOffset: {
|
|
361
|
+
width: number;
|
|
362
|
+
height: number;
|
|
363
|
+
};
|
|
364
|
+
shadowOpacity: number;
|
|
365
|
+
shadowRadius: number;
|
|
366
|
+
};
|
|
367
|
+
export declare const SUPPORTED_ORIENTATIONS: ("portrait" | "portrait-upside-down" | "landscape" | "landscape-left" | "landscape-right")[];
|
|
368
|
+
export declare const waitAsync: (ms: number) => Promise<null>;
|
|
369
|
+
declare type State = {
|
|
370
|
+
modalVisible: boolean;
|
|
371
|
+
scrollable: boolean;
|
|
372
|
+
layoutHasCalled: boolean;
|
|
373
|
+
keyboard: boolean;
|
|
374
|
+
deviceHeight: number;
|
|
375
|
+
deviceWidth: number;
|
|
376
|
+
portrait: boolean;
|
|
377
|
+
safeAreaInnerHeight: number;
|
|
378
|
+
paddingTop: number;
|
|
379
|
+
};
|
|
380
|
+
declare const defaultProps: {
|
|
381
|
+
animated: boolean;
|
|
382
|
+
closeOnPressBack: boolean;
|
|
383
|
+
bounciness: number;
|
|
384
|
+
extraScroll: number;
|
|
385
|
+
closeAnimationDuration: number;
|
|
386
|
+
delayActionSheetDrawTime: number;
|
|
387
|
+
openAnimationSpeed: number;
|
|
388
|
+
springOffset: number;
|
|
389
|
+
elevation: number;
|
|
390
|
+
initialOffsetFromBottom: number;
|
|
391
|
+
indicatorColor: string;
|
|
392
|
+
defaultOverlayOpacity: number;
|
|
393
|
+
overlayColor: string;
|
|
394
|
+
closable: boolean;
|
|
395
|
+
bottomOffset: number;
|
|
396
|
+
closeOnTouchBackdrop: boolean;
|
|
397
|
+
drawUnderStatusBar: boolean;
|
|
398
|
+
statusBarTranslucent: boolean;
|
|
399
|
+
keyboardMode: string;
|
|
400
|
+
gestureEnabled: boolean;
|
|
401
|
+
};
|
|
402
|
+
declare type Props = Partial<typeof defaultProps> & ActionSheetProps;
|
|
403
|
+
export declare class ActionSheet extends Component<Props, State, any> {
|
|
404
|
+
static defaultProps: {
|
|
405
|
+
animated: boolean;
|
|
406
|
+
closeOnPressBack: boolean;
|
|
407
|
+
bounciness: number;
|
|
408
|
+
extraScroll: number;
|
|
409
|
+
closeAnimationDuration: number;
|
|
410
|
+
delayActionSheetDrawTime: number;
|
|
411
|
+
openAnimationSpeed: number;
|
|
412
|
+
springOffset: number;
|
|
413
|
+
elevation: number;
|
|
414
|
+
initialOffsetFromBottom: number;
|
|
415
|
+
indicatorColor: string;
|
|
416
|
+
defaultOverlayOpacity: number;
|
|
417
|
+
overlayColor: string;
|
|
418
|
+
closable: boolean;
|
|
419
|
+
bottomOffset: number;
|
|
420
|
+
closeOnTouchBackdrop: boolean;
|
|
421
|
+
drawUnderStatusBar: boolean;
|
|
422
|
+
statusBarTranslucent: boolean;
|
|
423
|
+
keyboardMode: string;
|
|
424
|
+
gestureEnabled: boolean;
|
|
425
|
+
};
|
|
426
|
+
actionSheetHeight: number;
|
|
427
|
+
prevScroll: number;
|
|
428
|
+
timeout: any | null;
|
|
429
|
+
offsetY: number;
|
|
430
|
+
currentOffsetFromBottom: number;
|
|
431
|
+
scrollAnimationEndValue: number;
|
|
432
|
+
hasBounced: boolean;
|
|
433
|
+
layoutHasCalled: boolean;
|
|
434
|
+
isClosing: boolean;
|
|
435
|
+
isRecoiling: boolean;
|
|
436
|
+
isReachedTop: boolean;
|
|
437
|
+
deviceLayoutCalled: boolean;
|
|
438
|
+
scrollViewRef: React.RefObject<any>;
|
|
439
|
+
safeAreaViewRef: React.RefObject<any>;
|
|
440
|
+
transformValue: Animated.Value;
|
|
441
|
+
opacityValue: Animated.Value;
|
|
442
|
+
borderRadius: Animated.Value;
|
|
443
|
+
underlayTranslateY: Animated.Value;
|
|
444
|
+
underlayScale: Animated.Value;
|
|
445
|
+
indicatorTranslateY: Animated.Value;
|
|
446
|
+
constructor(props: ActionSheetProps);
|
|
447
|
+
/**
|
|
448
|
+
* Snap ActionSheet to Offset
|
|
449
|
+
*/
|
|
450
|
+
snapToOffset: (offset: number) => void;
|
|
451
|
+
show: () => void;
|
|
452
|
+
hide: () => void;
|
|
453
|
+
/**
|
|
454
|
+
* Open/Close the ActionSheet
|
|
455
|
+
*/
|
|
456
|
+
setModalVisible: (visible: boolean) => void;
|
|
457
|
+
_hideAnimation(): void;
|
|
458
|
+
_hideModal: () => void;
|
|
459
|
+
measure: () => Promise<number>;
|
|
460
|
+
_showModal: (event: LayoutChangeEvent) => Promise<void>;
|
|
461
|
+
_openAnimation: (scrollOffset: number) => void;
|
|
462
|
+
_onScrollBegin: () => Promise<void>;
|
|
463
|
+
_onScrollBeginDrag: (event: NativeSyntheticEvent<NativeScrollEvent>) => Promise<void>;
|
|
464
|
+
_applyHeightLimiter(): void;
|
|
465
|
+
_onScrollEnd: (event: NativeSyntheticEvent<NativeScrollEvent>) => Promise<void>;
|
|
466
|
+
updateActionSheetPosition(scrollPosition: number): void;
|
|
467
|
+
_returnToPrevScrollPosition(height: number): void;
|
|
468
|
+
_scrollTo: (y: number, animated?: boolean) => void;
|
|
469
|
+
_onTouchMove: () => void;
|
|
470
|
+
_onTouchStart: () => void;
|
|
471
|
+
_onTouchEnd: () => void;
|
|
472
|
+
_onScroll: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
473
|
+
_onRequestClose: () => void;
|
|
474
|
+
_onTouchBackdrop: () => void;
|
|
475
|
+
componentDidMount(): void;
|
|
476
|
+
_onKeyboardShow: (event: KeyboardEvent) => void;
|
|
477
|
+
/**
|
|
478
|
+
* Attach this to any child ScrollView Component's onScrollEndDrag,
|
|
479
|
+
* onMomentumScrollEnd,onScrollAnimationEnd callbacks to handle the ActionSheet
|
|
480
|
+
* closing and bouncing back properly.
|
|
481
|
+
*/
|
|
482
|
+
handleChildScrollEnd: () => Promise<void>;
|
|
483
|
+
_onKeyboardHide: () => void;
|
|
484
|
+
componentWillUnmount(): void;
|
|
485
|
+
_onDeviceLayout: (_event: any) => Promise<void>;
|
|
486
|
+
getInitialScrollPosition(): number;
|
|
487
|
+
_keyExtractor: (item: any) => any;
|
|
488
|
+
render(): JSX.Element;
|
|
489
|
+
}
|
|
490
|
+
export {};
|