@expo/ui 56.0.18 → 56.0.20
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/CHANGELOG.md +38 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/DatePickerView.kt +33 -8
- package/build/community/bottom-sheet/BottomSheet.android.d.ts.map +1 -1
- package/build/community/bottom-sheet/BottomSheet.ios.d.ts.map +1 -1
- package/build/community/bottom-sheet/scrollContextReset.d.ts +5 -0
- package/build/community/bottom-sheet/scrollContextReset.d.ts.map +1 -0
- package/build/community/datetime-picker/DateTimePicker.d.ts.map +1 -1
- package/build/community/datetime-picker/types.d.ts +2 -2
- package/build/community/datetime-picker/types.d.ts.map +1 -1
- package/build/community/masked-view/MaskedView.android.d.ts.map +1 -1
- package/build/community/masked-view/MaskedView.ios.d.ts.map +1 -1
- package/build/community/menu/types.d.ts +2 -2
- package/build/community/menu/types.d.ts.map +1 -1
- package/build/community/pager-view/types.d.ts +2 -2
- package/build/community/pager-view/types.d.ts.map +1 -1
- package/build/community/segmented-control/types.d.ts +2 -2
- package/build/community/segmented-control/types.d.ts.map +1 -1
- package/build/community/slider/types.d.ts +2 -2
- package/build/community/slider/types.d.ts.map +1 -1
- package/build/jetpack-compose/AlertDialog/index.d.ts +2 -2
- package/build/jetpack-compose/AlertDialog/index.d.ts.map +1 -1
- package/build/jetpack-compose/AnimatedVisibility/index.d.ts +2 -2
- package/build/jetpack-compose/AnimatedVisibility/index.d.ts.map +1 -1
- package/build/jetpack-compose/Badge/index.d.ts +2 -2
- package/build/jetpack-compose/Badge/index.d.ts.map +1 -1
- package/build/jetpack-compose/BadgedBox/index.d.ts +2 -2
- package/build/jetpack-compose/BadgedBox/index.d.ts.map +1 -1
- package/build/jetpack-compose/BasicAlertDialog/index.d.ts +2 -2
- package/build/jetpack-compose/BasicAlertDialog/index.d.ts.map +1 -1
- package/build/jetpack-compose/Box/index.d.ts +2 -2
- package/build/jetpack-compose/Box/index.d.ts.map +1 -1
- package/build/jetpack-compose/Button/index.d.ts +2 -2
- package/build/jetpack-compose/Button/index.d.ts.map +1 -1
- package/build/jetpack-compose/Card/index.d.ts +6 -6
- package/build/jetpack-compose/Card/index.d.ts.map +1 -1
- package/build/jetpack-compose/Carousel/index.d.ts +6 -6
- package/build/jetpack-compose/Carousel/index.d.ts.map +1 -1
- package/build/jetpack-compose/Checkbox/index.d.ts +4 -4
- package/build/jetpack-compose/Checkbox/index.d.ts.map +1 -1
- package/build/jetpack-compose/Chip/index.d.ts +8 -8
- package/build/jetpack-compose/Chip/index.d.ts.map +1 -1
- package/build/jetpack-compose/Column/index.d.ts +2 -2
- package/build/jetpack-compose/Column/index.d.ts.map +1 -1
- package/build/jetpack-compose/DatePicker/index.d.ts +6 -6
- package/build/jetpack-compose/DatePicker/index.d.ts.map +1 -1
- package/build/jetpack-compose/DockedSearchBar/index.d.ts +2 -2
- package/build/jetpack-compose/DockedSearchBar/index.d.ts.map +1 -1
- package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts +2 -2
- package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts.map +1 -1
- package/build/jetpack-compose/DropdownMenu/index.d.ts +2 -2
- package/build/jetpack-compose/DropdownMenu/index.d.ts.map +1 -1
- package/build/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.d.ts +2 -2
- package/build/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.d.ts.map +1 -1
- package/build/jetpack-compose/ExposedDropdownMenuBox/index.d.ts +2 -2
- package/build/jetpack-compose/ExposedDropdownMenuBox/index.d.ts.map +1 -1
- package/build/jetpack-compose/FloatingActionButton/index.d.ts +8 -6
- package/build/jetpack-compose/FloatingActionButton/index.d.ts.map +1 -1
- package/build/jetpack-compose/FlowRow/index.d.ts +2 -2
- package/build/jetpack-compose/FlowRow/index.d.ts.map +1 -1
- package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts +4 -4
- package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts.map +1 -1
- package/build/jetpack-compose/HorizontalPager/index.d.ts +2 -2
- package/build/jetpack-compose/HorizontalPager/index.d.ts.map +1 -1
- package/build/jetpack-compose/Host/index.d.ts +2 -2
- package/build/jetpack-compose/Host/index.d.ts.map +1 -1
- package/build/jetpack-compose/Icon/index.d.ts +2 -2
- package/build/jetpack-compose/Icon/index.d.ts.map +1 -1
- package/build/jetpack-compose/IconButton/index.d.ts +2 -2
- package/build/jetpack-compose/IconButton/index.d.ts.map +1 -1
- package/build/jetpack-compose/LazyColumn/index.d.ts +2 -2
- package/build/jetpack-compose/LazyColumn/index.d.ts.map +1 -1
- package/build/jetpack-compose/LazyRow/index.d.ts +2 -2
- package/build/jetpack-compose/LazyRow/index.d.ts.map +1 -1
- package/build/jetpack-compose/ListItem/index.d.ts +2 -2
- package/build/jetpack-compose/ListItem/index.d.ts.map +1 -1
- package/build/jetpack-compose/LoadingIndicator/index.d.ts +2 -2
- package/build/jetpack-compose/LoadingIndicator/index.d.ts.map +1 -1
- package/build/jetpack-compose/ModalBottomSheet/index.d.ts +2 -2
- package/build/jetpack-compose/ModalBottomSheet/index.d.ts.map +1 -1
- package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts +2 -2
- package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts.map +1 -1
- package/build/jetpack-compose/NavigationBar/index.d.ts +4 -4
- package/build/jetpack-compose/NavigationBar/index.d.ts.map +1 -1
- package/build/jetpack-compose/Progress/index.d.ts +9 -8
- package/build/jetpack-compose/Progress/index.d.ts.map +1 -1
- package/build/jetpack-compose/PullToRefreshBox/index.d.ts +4 -4
- package/build/jetpack-compose/PullToRefreshBox/index.d.ts.map +1 -1
- package/build/jetpack-compose/RadioButton/index.d.ts +2 -2
- package/build/jetpack-compose/RadioButton/index.d.ts.map +1 -1
- package/build/jetpack-compose/Row/index.d.ts +2 -2
- package/build/jetpack-compose/Row/index.d.ts.map +1 -1
- package/build/jetpack-compose/SearchBar/index.d.ts +2 -2
- package/build/jetpack-compose/SearchBar/index.d.ts.map +1 -1
- package/build/jetpack-compose/SegmentedButton/index.d.ts +2 -2
- package/build/jetpack-compose/SegmentedButton/index.d.ts.map +1 -1
- package/build/jetpack-compose/Shape/index.d.ts +2 -2
- package/build/jetpack-compose/Shape/index.d.ts.map +1 -1
- package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts +2 -2
- package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts.map +1 -1
- package/build/jetpack-compose/Slider/index.d.ts +2 -2
- package/build/jetpack-compose/Slider/index.d.ts.map +1 -1
- package/build/jetpack-compose/Snackbar/index.d.ts +4 -4
- package/build/jetpack-compose/Snackbar/index.d.ts.map +1 -1
- package/build/jetpack-compose/Spacer/index.d.ts +2 -2
- package/build/jetpack-compose/Spacer/index.d.ts.map +1 -1
- package/build/jetpack-compose/Surface/index.d.ts +2 -2
- package/build/jetpack-compose/Surface/index.d.ts.map +1 -1
- package/build/jetpack-compose/Switch/index.d.ts +2 -2
- package/build/jetpack-compose/Switch/index.d.ts.map +1 -1
- package/build/jetpack-compose/SyncSwitch/index.d.ts +2 -2
- package/build/jetpack-compose/SyncSwitch/index.d.ts.map +1 -1
- package/build/jetpack-compose/Text/index.d.ts +2 -2
- package/build/jetpack-compose/Text/index.d.ts.map +1 -1
- package/build/jetpack-compose/TextField/BasicTextField.d.ts +2 -2
- package/build/jetpack-compose/TextField/BasicTextField.d.ts.map +1 -1
- package/build/jetpack-compose/TextField/TextField.d.ts +4 -4
- package/build/jetpack-compose/TextField/TextField.d.ts.map +1 -1
- package/build/jetpack-compose/ToggleButton/index.d.ts +2 -2
- package/build/jetpack-compose/ToggleButton/index.d.ts.map +1 -1
- package/build/jetpack-compose/Tooltip/index.d.ts +6 -6
- package/build/jetpack-compose/Tooltip/index.d.ts.map +1 -1
- package/build/swift-ui/AccessoryWidgetBackground/index.d.ts +2 -1
- package/build/swift-ui/AccessoryWidgetBackground/index.d.ts.map +1 -1
- package/build/swift-ui/Alert/index.d.ts +2 -2
- package/build/swift-ui/Alert/index.d.ts.map +1 -1
- package/build/swift-ui/BottomSheet/index.d.ts +2 -2
- package/build/swift-ui/BottomSheet/index.d.ts.map +1 -1
- package/build/swift-ui/Button/index.d.ts +2 -2
- package/build/swift-ui/Button/index.d.ts.map +1 -1
- package/build/swift-ui/Chart/index.d.ts +2 -2
- package/build/swift-ui/Chart/index.d.ts.map +1 -1
- package/build/swift-ui/ColorPicker/index.d.ts +2 -2
- package/build/swift-ui/ColorPicker/index.d.ts.map +1 -1
- package/build/swift-ui/ConfirmationDialog/index.d.ts +2 -2
- package/build/swift-ui/ConfirmationDialog/index.d.ts.map +1 -1
- package/build/swift-ui/ContextMenu/types.d.ts +4 -4
- package/build/swift-ui/ContextMenu/types.d.ts.map +1 -1
- package/build/swift-ui/DatePicker/index.d.ts +2 -2
- package/build/swift-ui/DatePicker/index.d.ts.map +1 -1
- package/build/swift-ui/Divider/index.d.ts +2 -1
- package/build/swift-ui/Divider/index.d.ts.map +1 -1
- package/build/swift-ui/Gauge/index.d.ts +2 -2
- package/build/swift-ui/Gauge/index.d.ts.map +1 -1
- package/build/swift-ui/GlassEffectContainer/index.d.ts +2 -2
- package/build/swift-ui/GlassEffectContainer/index.d.ts.map +1 -1
- package/build/swift-ui/Grid/index.d.ts +2 -2
- package/build/swift-ui/Grid/index.d.ts.map +1 -1
- package/build/swift-ui/HStack/index.d.ts +2 -2
- package/build/swift-ui/HStack/index.d.ts.map +1 -1
- package/build/swift-ui/Host/index.d.ts +9 -3
- package/build/swift-ui/Host/index.d.ts.map +1 -1
- package/build/swift-ui/Label/index.d.ts +2 -2
- package/build/swift-ui/Label/index.d.ts.map +1 -1
- package/build/swift-ui/LabeledContent/index.d.ts +2 -2
- package/build/swift-ui/LabeledContent/index.d.ts.map +1 -1
- package/build/swift-ui/LazyHStack/index.d.ts +2 -2
- package/build/swift-ui/LazyHStack/index.d.ts.map +1 -1
- package/build/swift-ui/LazyVStack/index.d.ts +2 -2
- package/build/swift-ui/LazyVStack/index.d.ts.map +1 -1
- package/build/swift-ui/Link/index.d.ts +2 -2
- package/build/swift-ui/Link/index.d.ts.map +1 -1
- package/build/swift-ui/List/ListForEach.d.ts +2 -2
- package/build/swift-ui/List/ListForEach.d.ts.map +1 -1
- package/build/swift-ui/Mask/index.d.ts +2 -2
- package/build/swift-ui/Mask/index.d.ts.map +1 -1
- package/build/swift-ui/Menu/types.d.ts +2 -2
- package/build/swift-ui/Menu/types.d.ts.map +1 -1
- package/build/swift-ui/Namespace.d.ts +2 -2
- package/build/swift-ui/Namespace.d.ts.map +1 -1
- package/build/swift-ui/Overlay/index.d.ts +2 -2
- package/build/swift-ui/Overlay/index.d.ts.map +1 -1
- package/build/swift-ui/Popover/index.d.ts +2 -2
- package/build/swift-ui/Popover/index.d.ts.map +1 -1
- package/build/swift-ui/ProgressView/index.d.ts +2 -2
- package/build/swift-ui/ProgressView/index.d.ts.map +1 -1
- package/build/swift-ui/RNHostView.d.ts +2 -2
- package/build/swift-ui/RNHostView.d.ts.map +1 -1
- package/build/swift-ui/ScrollView/index.d.ts +2 -2
- package/build/swift-ui/ScrollView/index.d.ts.map +1 -1
- package/build/swift-ui/Section/index.d.ts +2 -2
- package/build/swift-ui/Section/index.d.ts.map +1 -1
- package/build/swift-ui/SecureField/index.d.ts +2 -2
- package/build/swift-ui/SecureField/index.d.ts.map +1 -1
- package/build/swift-ui/ShareLink/index.d.ts +2 -2
- package/build/swift-ui/ShareLink/index.d.ts.map +1 -1
- package/build/swift-ui/Slider/index.d.ts +2 -2
- package/build/swift-ui/Slider/index.d.ts.map +1 -1
- package/build/swift-ui/Stepper/index.d.ts +2 -2
- package/build/swift-ui/Stepper/index.d.ts.map +1 -1
- package/build/swift-ui/SwipeActions/index.d.ts +4 -4
- package/build/swift-ui/SwipeActions/index.d.ts.map +1 -1
- package/build/swift-ui/SyncToggle/index.d.ts +2 -2
- package/build/swift-ui/SyncToggle/index.d.ts.map +1 -1
- package/build/swift-ui/TabView/Tab.d.ts +2 -2
- package/build/swift-ui/TabView/Tab.d.ts.map +1 -1
- package/build/swift-ui/TabView/index.d.ts +2 -2
- package/build/swift-ui/TabView/index.d.ts.map +1 -1
- package/build/swift-ui/TextField/index.d.ts +2 -2
- package/build/swift-ui/TextField/index.d.ts.map +1 -1
- package/build/swift-ui/Toggle/index.d.ts +2 -2
- package/build/swift-ui/Toggle/index.d.ts.map +1 -1
- package/build/swift-ui/VStack/index.d.ts +2 -2
- package/build/swift-ui/VStack/index.d.ts.map +1 -1
- package/build/swift-ui/ZStack/index.d.ts +2 -2
- package/build/swift-ui/ZStack/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +107 -1
- package/build/swift-ui/modifiers/index.d.ts.map +1 -1
- package/build/swift-ui/modifiers/presentationModifiers.d.ts +19 -0
- package/build/swift-ui/modifiers/presentationModifiers.d.ts.map +1 -1
- package/build/universal/Button/index.d.ts.map +1 -1
- package/build/universal/Checkbox/index.d.ts.map +1 -1
- package/build/universal/Collapsible/index.d.ts.map +1 -1
- package/build/universal/FieldGroup/FieldGroup.d.ts.map +1 -1
- package/build/universal/FieldGroup/FieldSection.d.ts.map +1 -1
- package/build/universal/Host/index.d.ts +1 -2
- package/build/universal/Host/index.d.ts.map +1 -1
- package/build/universal/Host/types.d.ts +16 -2
- package/build/universal/Host/types.d.ts.map +1 -1
- package/build/universal/ListItem/ListItem.android.d.ts.map +1 -1
- package/build/universal/ListItem/ListItem.ios.d.ts.map +1 -1
- package/build/universal/ListItem/types.d.ts +8 -0
- package/build/universal/ListItem/types.d.ts.map +1 -1
- package/build/universal/Picker/Picker.d.ts.map +1 -1
- package/build/universal/Slider/index.d.ts.map +1 -1
- package/build/universal/Switch/index.d.ts.map +1 -1
- package/build/universal/TextInput/index.d.ts.map +1 -1
- package/build/universal/hooks.d.ts +11 -0
- package/build/universal/hooks.d.ts.map +1 -1
- package/build/universal/keyboardEvent.fx.d.ts +2 -0
- package/build/universal/keyboardEvent.fx.d.ts.map +1 -0
- package/build/universal/webUtils.d.ts +66 -0
- package/build/universal/webUtils.d.ts.map +1 -0
- package/expo-module.config.json +1 -1
- package/ios/HostView.swift +15 -0
- package/ios/Modifiers/PresentationModifiers.swift +30 -0
- package/ios/Modifiers/ShapeTypes.swift +50 -0
- package/ios/Modifiers/ViewModifierRegistry.swift +259 -11
- package/ios/Modifiers/WidgetModifiers.swift +1 -1
- package/ios/RNHostView.swift +5 -0
- package/ios/TextFieldView.swift +29 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.18/expo.modules.ui-56.0.18-sources.jar → 56.0.20/expo.modules.ui-56.0.20-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.18/expo.modules.ui-56.0.18.module → 56.0.20/expo.modules.ui-56.0.20.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.18/expo.modules.ui-56.0.18.pom → 56.0.20/expo.modules.ui-56.0.20.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.20/expo.modules.ui-56.0.20.pom.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml +4 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.md5 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha1 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha256 +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/maven-metadata.xml.sha512 +1 -1
- package/package.json +5 -9
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/src/State/index.fx.ts +4 -5
- package/src/community/bottom-sheet/BottomSheet.android.tsx +6 -1
- package/src/community/bottom-sheet/BottomSheet.ios.tsx +8 -4
- package/src/community/bottom-sheet/scrollContextReset.tsx +24 -0
- package/src/community/datetime-picker/DateTimePicker.tsx +9 -1
- package/src/community/datetime-picker/types.tsx +2 -2
- package/src/community/masked-view/MaskedView.android.tsx +5 -2
- package/src/community/masked-view/MaskedView.ios.tsx +5 -2
- package/src/community/menu/types.tsx +2 -2
- package/src/community/pager-view/types.tsx +2 -2
- package/src/community/segmented-control/types.tsx +2 -2
- package/src/community/slider/types.tsx +2 -2
- package/src/jetpack-compose/AlertDialog/index.tsx +2 -2
- package/src/jetpack-compose/AnimatedVisibility/index.tsx +2 -2
- package/src/jetpack-compose/Badge/index.tsx +2 -2
- package/src/jetpack-compose/BadgedBox/index.tsx +2 -2
- package/src/jetpack-compose/BasicAlertDialog/index.tsx +2 -2
- package/src/jetpack-compose/Box/index.tsx +2 -2
- package/src/jetpack-compose/Button/index.tsx +2 -2
- package/src/jetpack-compose/Card/index.tsx +6 -6
- package/src/jetpack-compose/Carousel/index.tsx +6 -6
- package/src/jetpack-compose/Checkbox/index.tsx +4 -4
- package/src/jetpack-compose/Chip/index.tsx +8 -8
- package/src/jetpack-compose/Column/index.tsx +2 -2
- package/src/jetpack-compose/DatePicker/index.tsx +6 -6
- package/src/jetpack-compose/DockedSearchBar/index.tsx +2 -2
- package/src/jetpack-compose/DropdownMenu/DropdownMenuItem.tsx +2 -2
- package/src/jetpack-compose/DropdownMenu/index.tsx +2 -2
- package/src/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.tsx +2 -2
- package/src/jetpack-compose/ExposedDropdownMenuBox/index.tsx +2 -2
- package/src/jetpack-compose/FloatingActionButton/index.tsx +6 -6
- package/src/jetpack-compose/FlowRow/index.tsx +2 -2
- package/src/jetpack-compose/HorizontalFloatingToolbar/index.tsx +4 -4
- package/src/jetpack-compose/HorizontalPager/index.tsx +2 -2
- package/src/jetpack-compose/Host/index.tsx +2 -2
- package/src/jetpack-compose/Icon/index.tsx +2 -2
- package/src/jetpack-compose/IconButton/index.tsx +2 -2
- package/src/jetpack-compose/LazyColumn/index.tsx +2 -2
- package/src/jetpack-compose/LazyRow/index.tsx +2 -2
- package/src/jetpack-compose/ListItem/index.tsx +2 -2
- package/src/jetpack-compose/LoadingIndicator/index.tsx +2 -2
- package/src/jetpack-compose/ModalBottomSheet/index.tsx +2 -2
- package/src/jetpack-compose/MultiChoiceSegmentedButtonRow/index.tsx +2 -2
- package/src/jetpack-compose/NavigationBar/index.tsx +4 -4
- package/src/jetpack-compose/Progress/index.tsx +7 -7
- package/src/jetpack-compose/PullToRefreshBox/index.tsx +4 -4
- package/src/jetpack-compose/RadioButton/index.tsx +2 -2
- package/src/jetpack-compose/Row/index.tsx +2 -2
- package/src/jetpack-compose/SearchBar/index.tsx +2 -2
- package/src/jetpack-compose/SegmentedButton/index.tsx +2 -2
- package/src/jetpack-compose/Shape/index.tsx +2 -2
- package/src/jetpack-compose/SingleChoiceSegmentedButtonRow/index.tsx +2 -2
- package/src/jetpack-compose/Slider/index.tsx +2 -2
- package/src/jetpack-compose/Snackbar/index.tsx +4 -4
- package/src/jetpack-compose/Spacer/index.tsx +2 -2
- package/src/jetpack-compose/Surface/index.tsx +2 -2
- package/src/jetpack-compose/Switch/index.tsx +2 -2
- package/src/jetpack-compose/SyncSwitch/index.tsx +2 -2
- package/src/jetpack-compose/Text/index.tsx +2 -2
- package/src/jetpack-compose/TextField/BasicTextField.tsx +2 -2
- package/src/jetpack-compose/TextField/TextField.tsx +4 -4
- package/src/jetpack-compose/ToggleButton/index.tsx +2 -2
- package/src/jetpack-compose/Tooltip/index.tsx +6 -6
- package/src/swift-ui/AccessoryWidgetBackground/index.tsx +1 -1
- package/src/swift-ui/Alert/index.tsx +2 -2
- package/src/swift-ui/BottomSheet/index.tsx +2 -2
- package/src/swift-ui/Button/index.tsx +2 -2
- package/src/swift-ui/Chart/index.tsx +2 -2
- package/src/swift-ui/ColorPicker/index.tsx +2 -2
- package/src/swift-ui/ConfirmationDialog/index.tsx +2 -2
- package/src/swift-ui/ContextMenu/types.ts +4 -4
- package/src/swift-ui/DatePicker/index.tsx +2 -2
- package/src/swift-ui/Divider/index.tsx +1 -1
- package/src/swift-ui/Gauge/index.tsx +2 -2
- package/src/swift-ui/GlassEffectContainer/index.tsx +2 -2
- package/src/swift-ui/Grid/index.tsx +2 -2
- package/src/swift-ui/HStack/index.tsx +2 -2
- package/src/swift-ui/Host/index.tsx +12 -3
- package/src/swift-ui/Label/index.tsx +2 -2
- package/src/swift-ui/LabeledContent/index.tsx +2 -2
- package/src/swift-ui/LazyHStack/index.tsx +2 -2
- package/src/swift-ui/LazyVStack/index.tsx +2 -2
- package/src/swift-ui/Link/index.tsx +2 -2
- package/src/swift-ui/List/ListForEach.tsx +2 -2
- package/src/swift-ui/Mask/index.tsx +2 -2
- package/src/swift-ui/Menu/types.ts +2 -2
- package/src/swift-ui/Namespace.tsx +2 -2
- package/src/swift-ui/Overlay/index.tsx +2 -2
- package/src/swift-ui/Popover/index.tsx +2 -2
- package/src/swift-ui/ProgressView/index.tsx +2 -2
- package/src/swift-ui/RNHostView.tsx +2 -2
- package/src/swift-ui/ScrollView/index.tsx +2 -2
- package/src/swift-ui/Section/index.tsx +2 -2
- package/src/swift-ui/SecureField/index.tsx +2 -2
- package/src/swift-ui/ShareLink/index.tsx +2 -2
- package/src/swift-ui/Slider/index.tsx +2 -2
- package/src/swift-ui/Stepper/index.tsx +2 -2
- package/src/swift-ui/SwipeActions/index.tsx +4 -4
- package/src/swift-ui/SyncToggle/index.tsx +2 -2
- package/src/swift-ui/TabView/Tab.tsx +2 -2
- package/src/swift-ui/TabView/index.tsx +2 -2
- package/src/swift-ui/TextField/index.tsx +2 -2
- package/src/swift-ui/Toggle/index.tsx +2 -2
- package/src/swift-ui/VStack/index.tsx +2 -2
- package/src/swift-ui/ZStack/index.tsx +2 -2
- package/src/swift-ui/modifiers/index.ts +161 -0
- package/src/swift-ui/modifiers/presentationModifiers.ts +22 -0
- package/src/ts-declarations/react-native-web.d.ts +31 -3
- package/src/universal/Button/index.tsx +83 -35
- package/src/universal/Checkbox/index.tsx +85 -30
- package/src/universal/Collapsible/index.tsx +5 -17
- package/src/universal/FieldGroup/FieldGroup.tsx +5 -15
- package/src/universal/FieldGroup/FieldSection.tsx +14 -31
- package/src/universal/Host/index.tsx +44 -30
- package/src/universal/Host/types.ts +17 -2
- package/src/universal/ListItem/ListItem.android.tsx +10 -2
- package/src/universal/ListItem/ListItem.ios.tsx +23 -6
- package/src/universal/ListItem/types.ts +10 -0
- package/src/universal/Picker/Picker.tsx +74 -29
- package/src/universal/Slider/index.tsx +90 -9
- package/src/universal/Switch/index.android.tsx +2 -2
- package/src/universal/Switch/index.tsx +77 -18
- package/src/universal/TextInput/index.tsx +49 -13
- package/src/universal/hooks.ts +25 -1
- package/src/universal/keyboardEvent.fx.ts +28 -0
- package/src/universal/webUtils.ts +245 -0
- package/CLAUDE.md +0 -54
- package/CONTRIBUTING.md +0 -30
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.18/expo.modules.ui-56.0.18.pom.sha512 +0 -1
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
transformProps,
|
|
10
10
|
} from '../layout-types';
|
|
11
11
|
|
|
12
|
-
export
|
|
12
|
+
export interface ColumnProps extends PrimitiveBaseProps {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* Horizontal arrangement of children.
|
|
@@ -27,7 +27,7 @@ export type ColumnProps = {
|
|
|
27
27
|
* Vertical alignment of children.
|
|
28
28
|
*/
|
|
29
29
|
verticalAlignment?: VerticalAlignment;
|
|
30
|
-
}
|
|
30
|
+
}
|
|
31
31
|
|
|
32
32
|
const ColumnNativeView: React.ComponentType<ColumnProps> = requireNativeView(
|
|
33
33
|
'ExpoUI',
|
|
@@ -98,7 +98,7 @@ export type TimePickerElementColors = {
|
|
|
98
98
|
timeSelectorUnselectedContentColor?: ColorValue;
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export
|
|
101
|
+
export interface DateTimePickerProps {
|
|
102
102
|
/**
|
|
103
103
|
* The initial date to display on the picker.
|
|
104
104
|
*/
|
|
@@ -154,7 +154,7 @@ export type DateTimePickerProps = {
|
|
|
154
154
|
* Modifiers for the component.
|
|
155
155
|
*/
|
|
156
156
|
modifiers?: ModifierConfig[];
|
|
157
|
-
}
|
|
157
|
+
}
|
|
158
158
|
|
|
159
159
|
type NativeDatePickerProps = Omit<
|
|
160
160
|
DateTimePickerProps,
|
|
@@ -212,7 +212,7 @@ export function DateTimePicker(props: DateTimePickerProps) {
|
|
|
212
212
|
|
|
213
213
|
// -- Dialog views (used internally by the compat layer) ---------------------
|
|
214
214
|
|
|
215
|
-
export
|
|
215
|
+
export interface DatePickerDialogProps {
|
|
216
216
|
initialDate?: string | null;
|
|
217
217
|
variant?: AndroidVariant;
|
|
218
218
|
showVariantToggle?: boolean;
|
|
@@ -223,7 +223,7 @@ export type DatePickerDialogProps = {
|
|
|
223
223
|
selectableDates?: { start?: Date; end?: Date };
|
|
224
224
|
onDateSelected?: (date: Date) => void;
|
|
225
225
|
onDismissRequest: () => void;
|
|
226
|
-
}
|
|
226
|
+
}
|
|
227
227
|
|
|
228
228
|
type NativeDatePickerDialogProps = Omit<
|
|
229
229
|
DatePickerDialogProps,
|
|
@@ -260,7 +260,7 @@ export function DatePickerDialog(props: DatePickerDialogProps) {
|
|
|
260
260
|
return <DatePickerDialogNativeView {...nativeProps} />;
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
export
|
|
263
|
+
export interface TimePickerDialogProps {
|
|
264
264
|
initialDate?: string | null;
|
|
265
265
|
is24Hour?: boolean;
|
|
266
266
|
confirmButtonLabel?: string;
|
|
@@ -269,7 +269,7 @@ export type TimePickerDialogProps = {
|
|
|
269
269
|
elementColors?: DatePickerElementColors & TimePickerElementColors;
|
|
270
270
|
onDateSelected?: (date: Date) => void;
|
|
271
271
|
onDismissRequest: () => void;
|
|
272
|
-
}
|
|
272
|
+
}
|
|
273
273
|
|
|
274
274
|
type NativeTimePickerDialogProps = Omit<
|
|
275
275
|
TimePickerDialogProps,
|
|
@@ -3,7 +3,7 @@ import { requireNativeView } from 'expo';
|
|
|
3
3
|
import { type ExpoModifier, type ViewEvent } from '../../types';
|
|
4
4
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export interface DockedSearchBarProps {
|
|
7
7
|
/**
|
|
8
8
|
* Callback function that is called when the search query changes.
|
|
9
9
|
*/
|
|
@@ -18,7 +18,7 @@ export type DockedSearchBarProps = {
|
|
|
18
18
|
* The children of the component.
|
|
19
19
|
*/
|
|
20
20
|
children?: React.ReactNode;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
|
|
23
23
|
type PlaceholderProps = {
|
|
24
24
|
children: React.ReactNode;
|
|
@@ -31,7 +31,7 @@ export type DropdownMenuItemElementColors = {
|
|
|
31
31
|
/**
|
|
32
32
|
* Props of the `DropdownMenuItem` component.
|
|
33
33
|
*/
|
|
34
|
-
export
|
|
34
|
+
export interface DropdownMenuItemProps {
|
|
35
35
|
/**
|
|
36
36
|
* Whether the menu item is enabled.
|
|
37
37
|
* @default true
|
|
@@ -53,7 +53,7 @@ export type DropdownMenuItemProps = {
|
|
|
53
53
|
* Slot children for text, leading/trailing icons.
|
|
54
54
|
*/
|
|
55
55
|
children?: React.ReactNode;
|
|
56
|
-
}
|
|
56
|
+
}
|
|
57
57
|
|
|
58
58
|
type NativeDropdownMenuItemProps = Omit<DropdownMenuItemProps, 'onClick' | 'children'> &
|
|
59
59
|
ViewEvent<'onItemPressed', void> & { children?: React.ReactNode };
|
|
@@ -19,7 +19,7 @@ const SlotNativeView: React.ComponentType<{
|
|
|
19
19
|
/**
|
|
20
20
|
* Props of the `DropdownMenu` component.
|
|
21
21
|
*/
|
|
22
|
-
export
|
|
22
|
+
export interface DropdownMenuProps {
|
|
23
23
|
/**
|
|
24
24
|
* The contents of the submenu are used as an anchor for the dropdown menu.
|
|
25
25
|
* The children will be wrapped in a pressable element, which triggers opening of the dropdown menu.
|
|
@@ -51,7 +51,7 @@ export type DropdownMenuProps = {
|
|
|
51
51
|
* Modifiers for the component.
|
|
52
52
|
*/
|
|
53
53
|
modifiers?: ModifierConfig[];
|
|
54
|
-
}
|
|
54
|
+
}
|
|
55
55
|
|
|
56
56
|
type NativeMenuProps = {
|
|
57
57
|
expanded?: boolean;
|
|
@@ -13,7 +13,7 @@ const NativeView: React.ComponentType<ExposedDropdownMenuProps> = requireNativeV
|
|
|
13
13
|
/**
|
|
14
14
|
* Props for the `ExposedDropdownMenu` component.
|
|
15
15
|
*/
|
|
16
|
-
export
|
|
16
|
+
export interface ExposedDropdownMenuProps {
|
|
17
17
|
/**
|
|
18
18
|
* Whether the dropdown menu is expanded (visible).
|
|
19
19
|
*/
|
|
@@ -34,7 +34,7 @@ export type ExposedDropdownMenuProps = {
|
|
|
34
34
|
* Children should be `DropdownMenuItem` components.
|
|
35
35
|
*/
|
|
36
36
|
children?: ReactNode;
|
|
37
|
-
}
|
|
37
|
+
}
|
|
38
38
|
|
|
39
39
|
/**
|
|
40
40
|
* A Material 3 `ExposedDropdownMenu` that displays menu items in a dropdown.
|
|
@@ -10,7 +10,7 @@ const NativeView: React.ComponentType<NativeExposedDropdownMenuBoxProps> = requi
|
|
|
10
10
|
'ExposedDropdownMenuBoxView'
|
|
11
11
|
);
|
|
12
12
|
|
|
13
|
-
export
|
|
13
|
+
export interface ExposedDropdownMenuBoxProps {
|
|
14
14
|
/**
|
|
15
15
|
* Whether the dropdown menu is expanded (visible).
|
|
16
16
|
*/
|
|
@@ -28,7 +28,7 @@ export type ExposedDropdownMenuBoxProps = {
|
|
|
28
28
|
* and an `ExposedDropdownMenu` with `DropdownMenuItem` children.
|
|
29
29
|
*/
|
|
30
30
|
children?: ReactNode;
|
|
31
|
-
}
|
|
31
|
+
}
|
|
32
32
|
|
|
33
33
|
type NativeExposedDropdownMenuBoxProps = Omit<
|
|
34
34
|
ExposedDropdownMenuBoxProps,
|
|
@@ -16,7 +16,7 @@ type NativeSlotViewProps = {
|
|
|
16
16
|
/**
|
|
17
17
|
* Props shared by all `FloatingActionButton` variants.
|
|
18
18
|
*/
|
|
19
|
-
export
|
|
19
|
+
export interface FloatingActionButtonProps {
|
|
20
20
|
/**
|
|
21
21
|
* Slot-based children (use `.Icon` sub-component).
|
|
22
22
|
*/
|
|
@@ -37,24 +37,24 @@ export type FloatingActionButtonProps = {
|
|
|
37
37
|
* Modifiers for the component.
|
|
38
38
|
*/
|
|
39
39
|
modifiers?: ModifierConfig[];
|
|
40
|
-
}
|
|
40
|
+
}
|
|
41
41
|
|
|
42
42
|
/**
|
|
43
43
|
* Props for the `SmallFloatingActionButton` component.
|
|
44
44
|
* Same as {@link FloatingActionButtonProps}.
|
|
45
45
|
*/
|
|
46
|
-
export
|
|
46
|
+
export interface SmallFloatingActionButtonProps extends FloatingActionButtonProps {}
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
49
|
* Props for the `LargeFloatingActionButton` component.
|
|
50
50
|
* Same as {@link FloatingActionButtonProps}.
|
|
51
51
|
*/
|
|
52
|
-
export
|
|
52
|
+
export interface LargeFloatingActionButtonProps extends FloatingActionButtonProps {}
|
|
53
53
|
|
|
54
54
|
/**
|
|
55
55
|
* Props for the `ExtendedFloatingActionButton` component.
|
|
56
56
|
*/
|
|
57
|
-
export
|
|
57
|
+
export interface ExtendedFloatingActionButtonProps extends FloatingActionButtonProps {
|
|
58
58
|
/**
|
|
59
59
|
* Slot-based children (use `.Icon` and `.Text` sub-components).
|
|
60
60
|
*/
|
|
@@ -65,7 +65,7 @@ export type ExtendedFloatingActionButtonProps = FloatingActionButtonProps & {
|
|
|
65
65
|
* @default true
|
|
66
66
|
*/
|
|
67
67
|
expanded?: boolean;
|
|
68
|
-
}
|
|
68
|
+
}
|
|
69
69
|
|
|
70
70
|
/**
|
|
71
71
|
* @hidden
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
transformProps,
|
|
8
8
|
} from '../layout-types';
|
|
9
9
|
|
|
10
|
-
export
|
|
10
|
+
export interface FlowRowProps extends PrimitiveBaseProps {
|
|
11
11
|
children?: React.ReactNode;
|
|
12
12
|
/**
|
|
13
13
|
* Horizontal arrangement of children.
|
|
@@ -17,7 +17,7 @@ export type FlowRowProps = {
|
|
|
17
17
|
* Vertical arrangement of children.
|
|
18
18
|
*/
|
|
19
19
|
verticalArrangement?: VerticalArrangement;
|
|
20
|
-
}
|
|
20
|
+
}
|
|
21
21
|
|
|
22
22
|
const FlowRowNativeView: React.ComponentType<FlowRowProps> = requireNativeView(
|
|
23
23
|
'ExpoUI',
|
|
@@ -26,7 +26,7 @@ export type HorizontalFloatingToolbarColors = {
|
|
|
26
26
|
fabContentColor?: ColorValue;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
export
|
|
29
|
+
export interface HorizontalFloatingToolbarProps {
|
|
30
30
|
/**
|
|
31
31
|
* The variant of the horizontal floating toolbar.
|
|
32
32
|
* @default 'standard'
|
|
@@ -48,9 +48,9 @@ export type HorizontalFloatingToolbarProps = {
|
|
|
48
48
|
* Modifiers for the component.
|
|
49
49
|
*/
|
|
50
50
|
modifiers?: ExpoModifier[];
|
|
51
|
-
}
|
|
51
|
+
}
|
|
52
52
|
|
|
53
|
-
export
|
|
53
|
+
export interface HorizontalFloatingToolbarFloatingActionButtonProps {
|
|
54
54
|
/**
|
|
55
55
|
* A callback that is called when the button is pressed.
|
|
56
56
|
*/
|
|
@@ -60,7 +60,7 @@ export type HorizontalFloatingToolbarFloatingActionButtonProps = {
|
|
|
60
60
|
* The children of the component.
|
|
61
61
|
*/
|
|
62
62
|
children: React.ReactNode;
|
|
63
|
-
}
|
|
63
|
+
}
|
|
64
64
|
|
|
65
65
|
type NativeHorizontalFloatingToolbarProps = HorizontalFloatingToolbarProps & {};
|
|
66
66
|
|
|
@@ -26,7 +26,7 @@ export type HorizontalPagerHandle = {
|
|
|
26
26
|
*/
|
|
27
27
|
export type HorizontalPagerDragInteraction = 'start' | 'stop' | 'cancel';
|
|
28
28
|
|
|
29
|
-
export
|
|
29
|
+
export interface HorizontalPagerProps {
|
|
30
30
|
/**
|
|
31
31
|
* Imperative handle for programmatic navigation. Mirrors the methods on
|
|
32
32
|
* Compose's `PagerState`.
|
|
@@ -104,7 +104,7 @@ export type HorizontalPagerProps = {
|
|
|
104
104
|
* Children to render as pages.
|
|
105
105
|
*/
|
|
106
106
|
children: React.ReactNode;
|
|
107
|
-
}
|
|
107
|
+
}
|
|
108
108
|
|
|
109
109
|
type NativeHorizontalPagerProps = Omit<
|
|
110
110
|
HorizontalPagerProps,
|
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
import { getMaterialColors, HostPaletteContext } from '../colors';
|
|
13
13
|
import { type PrimitiveBaseProps } from '../layout';
|
|
14
14
|
|
|
15
|
-
export
|
|
15
|
+
export interface HostProps extends PrimitiveBaseProps {
|
|
16
16
|
/**
|
|
17
17
|
* When true, the host view will update its size in the React Native view tree to match the content's layout from Jetpack Compose.
|
|
18
18
|
* Can be only set once on mount.
|
|
@@ -65,7 +65,7 @@ export type HostProps = {
|
|
|
65
65
|
children: React.ReactNode;
|
|
66
66
|
style?: StyleProp<ViewStyle>;
|
|
67
67
|
pointerEvents?: 'box-none' | 'none' | 'box-only' | 'auto';
|
|
68
|
-
}
|
|
68
|
+
}
|
|
69
69
|
|
|
70
70
|
type NativeHostProps = Omit<HostProps, 'colorScheme'> & {
|
|
71
71
|
matchContentsVertical?: boolean;
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
import type { ModifierConfig } from '../../types';
|
|
10
10
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
11
11
|
|
|
12
|
-
export
|
|
12
|
+
export interface IconProps {
|
|
13
13
|
/**
|
|
14
14
|
* The source of the icon. Can be a URI string or the result of `require()`.
|
|
15
15
|
* On Android, supports XML vector drawables loaded via Metro bundler.
|
|
@@ -81,7 +81,7 @@ export type IconProps = {
|
|
|
81
81
|
* ```
|
|
82
82
|
*/
|
|
83
83
|
modifiers?: ModifierConfig[];
|
|
84
|
-
}
|
|
84
|
+
}
|
|
85
85
|
|
|
86
86
|
/**
|
|
87
87
|
* @hidden
|
|
@@ -15,7 +15,7 @@ export type IconButtonColors = {
|
|
|
15
15
|
disabledContentColor?: ColorValue;
|
|
16
16
|
};
|
|
17
17
|
|
|
18
|
-
export
|
|
18
|
+
export interface IconButtonProps {
|
|
19
19
|
/**
|
|
20
20
|
* Callback that is called when the icon button is clicked.
|
|
21
21
|
*/
|
|
@@ -42,7 +42,7 @@ export type IconButtonProps = {
|
|
|
42
42
|
* Content to display inside the icon button.
|
|
43
43
|
*/
|
|
44
44
|
children: React.ReactNode;
|
|
45
|
-
}
|
|
45
|
+
}
|
|
46
46
|
|
|
47
47
|
type NativeIconButtonProps = Omit<IconButtonProps, 'onClick' | 'shape' | 'children'> & {
|
|
48
48
|
shape?: ShapeRecordProps;
|
|
@@ -25,7 +25,7 @@ export type ContentPadding = {
|
|
|
25
25
|
bottom?: number;
|
|
26
26
|
};
|
|
27
27
|
|
|
28
|
-
export
|
|
28
|
+
export interface LazyColumnProps {
|
|
29
29
|
/**
|
|
30
30
|
* The content to display inside the lazy column.
|
|
31
31
|
*/
|
|
@@ -54,7 +54,7 @@ export type LazyColumnProps = {
|
|
|
54
54
|
* Modifiers for the component.
|
|
55
55
|
*/
|
|
56
56
|
modifiers?: ExpoModifier[];
|
|
57
|
-
}
|
|
57
|
+
}
|
|
58
58
|
|
|
59
59
|
type NativeLazyColumnProps = LazyColumnProps;
|
|
60
60
|
const LazyColumnNativeView: React.ComponentType<NativeLazyColumnProps> = requireNativeView(
|
|
@@ -4,7 +4,7 @@ import type { ExpoModifier } from '../../types';
|
|
|
4
4
|
import { type ContentPadding } from '../LazyColumn';
|
|
5
5
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
6
6
|
|
|
7
|
-
export
|
|
7
|
+
export interface LazyRowProps {
|
|
8
8
|
/**
|
|
9
9
|
* The content to display inside the lazy row.
|
|
10
10
|
*/
|
|
@@ -33,7 +33,7 @@ export type LazyRowProps = {
|
|
|
33
33
|
* Modifiers for the component.
|
|
34
34
|
*/
|
|
35
35
|
modifiers?: ExpoModifier[];
|
|
36
|
-
}
|
|
36
|
+
}
|
|
37
37
|
|
|
38
38
|
type NativeLazyRowProps = LazyRowProps;
|
|
39
39
|
const LazyRowNativeView: React.ComponentType<NativeLazyRowProps> = requireNativeView(
|
|
@@ -16,7 +16,7 @@ export type ListItemColors = {
|
|
|
16
16
|
overlineContentColor?: ColorValue;
|
|
17
17
|
};
|
|
18
18
|
|
|
19
|
-
export
|
|
19
|
+
export interface ListItemProps {
|
|
20
20
|
/**
|
|
21
21
|
* Colors for list item elements.
|
|
22
22
|
*/
|
|
@@ -39,7 +39,7 @@ export type ListItemProps = {
|
|
|
39
39
|
* Children containing slot sub-components.
|
|
40
40
|
*/
|
|
41
41
|
children?: React.ReactNode;
|
|
42
|
-
}
|
|
42
|
+
}
|
|
43
43
|
|
|
44
44
|
type SlotProps = {
|
|
45
45
|
slotName: string;
|
|
@@ -71,12 +71,12 @@ export const LoadingIndicator = createLoadingIndicatorComponent('LoadingIndicato
|
|
|
71
71
|
|
|
72
72
|
// region ContainedLoadingIndicator
|
|
73
73
|
|
|
74
|
-
export
|
|
74
|
+
export interface ContainedLoadingIndicatorProps extends LoadingIndicatorCommonConfig {
|
|
75
75
|
/**
|
|
76
76
|
* Loading indicator's container color
|
|
77
77
|
*/
|
|
78
78
|
containerColor?: ColorValue;
|
|
79
|
-
}
|
|
79
|
+
}
|
|
80
80
|
|
|
81
81
|
/**
|
|
82
82
|
* A loading indicator that displays loading using morphing shapes inside a container.
|
|
@@ -42,7 +42,7 @@ export type ModalBottomSheetProperties = {
|
|
|
42
42
|
shouldDismissOnClickOutside?: boolean;
|
|
43
43
|
};
|
|
44
44
|
|
|
45
|
-
export
|
|
45
|
+
export interface ModalBottomSheetProps {
|
|
46
46
|
/**
|
|
47
47
|
* The children of the `ModalBottomSheet` component.
|
|
48
48
|
* Can include a `ModalBottomSheet.DragHandle` slot for a custom drag handle.
|
|
@@ -99,7 +99,7 @@ export type ModalBottomSheetProps = {
|
|
|
99
99
|
* Modifiers for the component.
|
|
100
100
|
*/
|
|
101
101
|
modifiers?: ModifierConfig[];
|
|
102
|
-
}
|
|
102
|
+
}
|
|
103
103
|
|
|
104
104
|
type NativeModalBottomSheetProps = Omit<ModalBottomSheetProps, 'onDismissRequest'> & {
|
|
105
105
|
onDismissRequest: () => void;
|
|
@@ -3,7 +3,7 @@ import { requireNativeView } from 'expo';
|
|
|
3
3
|
import { type ModifierConfig } from '../../types';
|
|
4
4
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export interface MultiChoiceSegmentedButtonRowProps {
|
|
7
7
|
/**
|
|
8
8
|
* SegmentedButton children.
|
|
9
9
|
*/
|
|
@@ -12,7 +12,7 @@ export type MultiChoiceSegmentedButtonRowProps = {
|
|
|
12
12
|
* Modifiers for the component.
|
|
13
13
|
*/
|
|
14
14
|
modifiers?: ModifierConfig[];
|
|
15
|
-
}
|
|
15
|
+
}
|
|
16
16
|
|
|
17
17
|
const MultiChoiceSegmentedButtonRowNativeView: React.ComponentType<MultiChoiceSegmentedButtonRowProps> =
|
|
18
18
|
requireNativeView('ExpoUI', 'MultiChoiceSegmentedButtonRowView');
|
|
@@ -26,7 +26,7 @@ export type NavigationBarItemColors = {
|
|
|
26
26
|
disabledTextColor?: ColorValue;
|
|
27
27
|
};
|
|
28
28
|
|
|
29
|
-
export
|
|
29
|
+
export interface NavigationBarProps {
|
|
30
30
|
/**
|
|
31
31
|
* Background color of the navigation bar.
|
|
32
32
|
* @default NavigationBarDefaults.containerColor
|
|
@@ -50,9 +50,9 @@ export type NavigationBarProps = {
|
|
|
50
50
|
* Navigation bar items.
|
|
51
51
|
*/
|
|
52
52
|
children?: React.ReactNode;
|
|
53
|
-
}
|
|
53
|
+
}
|
|
54
54
|
|
|
55
|
-
export
|
|
55
|
+
export interface NavigationBarItemProps {
|
|
56
56
|
/**
|
|
57
57
|
* Whether this item is currently selected.
|
|
58
58
|
*/
|
|
@@ -83,7 +83,7 @@ export type NavigationBarItemProps = {
|
|
|
83
83
|
* Children containing `Icon`, `SelectedIcon`, and `Label` slots.
|
|
84
84
|
*/
|
|
85
85
|
children?: React.ReactNode;
|
|
86
|
-
}
|
|
86
|
+
}
|
|
87
87
|
|
|
88
88
|
type NativeNavigationBarItemProps = Omit<NavigationBarItemProps, 'onClick'> &
|
|
89
89
|
ViewEvent<'onButtonPressed', void>;
|
|
@@ -72,7 +72,7 @@ export type DrawStopIndicatorConfig = {
|
|
|
72
72
|
stopSize?: number;
|
|
73
73
|
};
|
|
74
74
|
|
|
75
|
-
export
|
|
75
|
+
export interface LinearProgressIndicatorProps extends ProgressCommonConfig {
|
|
76
76
|
/**
|
|
77
77
|
* Stroke cap style for the indicator ends.
|
|
78
78
|
* @default 'round'
|
|
@@ -86,7 +86,7 @@ export type LinearProgressIndicatorProps = ProgressCommonConfig & {
|
|
|
86
86
|
* Configuration for the stop indicator dot at the end of the determinate progress track.
|
|
87
87
|
*/
|
|
88
88
|
drawStopIndicator?: DrawStopIndicatorConfig;
|
|
89
|
-
}
|
|
89
|
+
}
|
|
90
90
|
|
|
91
91
|
/**
|
|
92
92
|
* A linear progress indicator that displays progress in a horizontal bar.
|
|
@@ -101,7 +101,7 @@ export const LinearProgressIndicator = createProgressComponent<LinearProgressInd
|
|
|
101
101
|
|
|
102
102
|
// region CircularProgressIndicator
|
|
103
103
|
|
|
104
|
-
export
|
|
104
|
+
export interface CircularProgressIndicatorProps extends ProgressCommonConfig {
|
|
105
105
|
/**
|
|
106
106
|
* Width of the circular stroke in dp.
|
|
107
107
|
*/
|
|
@@ -115,7 +115,7 @@ export type CircularProgressIndicatorProps = ProgressCommonConfig & {
|
|
|
115
115
|
* Gap size between the indicator and track in dp.
|
|
116
116
|
*/
|
|
117
117
|
gapSize?: number;
|
|
118
|
-
}
|
|
118
|
+
}
|
|
119
119
|
|
|
120
120
|
/**
|
|
121
121
|
* A circular progress indicator that displays progress in a circular format.
|
|
@@ -130,12 +130,12 @@ export const CircularProgressIndicator = createProgressComponent<CircularProgres
|
|
|
130
130
|
|
|
131
131
|
// region LinearWavyProgressIndicator
|
|
132
132
|
|
|
133
|
-
export
|
|
133
|
+
export interface LinearWavyProgressIndicatorProps extends ProgressCommonConfig {
|
|
134
134
|
/**
|
|
135
135
|
* Size of the stop indicator in dp at the end of the determinate progress track.
|
|
136
136
|
*/
|
|
137
137
|
stopSize?: number;
|
|
138
|
-
}
|
|
138
|
+
}
|
|
139
139
|
|
|
140
140
|
/**
|
|
141
141
|
* A linear progress indicator with wavy animation style.
|
|
@@ -149,7 +149,7 @@ export const LinearWavyProgressIndicator =
|
|
|
149
149
|
|
|
150
150
|
// region CircularWavyProgressIndicator
|
|
151
151
|
|
|
152
|
-
export
|
|
152
|
+
export interface CircularWavyProgressIndicatorProps extends ProgressCommonConfig {}
|
|
153
153
|
|
|
154
154
|
/**
|
|
155
155
|
* A circular progress indicator with wavy animation style.
|
|
@@ -8,7 +8,7 @@ import { createViewModifierEventListener } from '../modifiers/utils';
|
|
|
8
8
|
/**
|
|
9
9
|
* Configuration for the loading indicator shown during pull-to-refresh.
|
|
10
10
|
*/
|
|
11
|
-
export
|
|
11
|
+
export interface PullToRefreshIndicatorProps {
|
|
12
12
|
/**
|
|
13
13
|
* Color of the loading indicator spinner.
|
|
14
14
|
* @default MaterialTheme.colorScheme.primary
|
|
@@ -23,9 +23,9 @@ export type PullToRefreshIndicatorProps = {
|
|
|
23
23
|
* Modifiers for the loading indicator.
|
|
24
24
|
*/
|
|
25
25
|
modifiers?: ModifierConfig[];
|
|
26
|
-
}
|
|
26
|
+
}
|
|
27
27
|
|
|
28
|
-
export
|
|
28
|
+
export interface PullToRefreshBoxProps {
|
|
29
29
|
/**
|
|
30
30
|
* Whether the content is refreshing.
|
|
31
31
|
* @default false
|
|
@@ -52,7 +52,7 @@ export type PullToRefreshBoxProps = {
|
|
|
52
52
|
* The content to refresh.
|
|
53
53
|
*/
|
|
54
54
|
children: React.ReactNode;
|
|
55
|
-
}
|
|
55
|
+
}
|
|
56
56
|
|
|
57
57
|
type NativePullToRefreshBoxProps = Omit<PullToRefreshBoxProps, 'onRefresh'> &
|
|
58
58
|
ViewEvent<'onRefresh', void>;
|
|
@@ -3,7 +3,7 @@ import { requireNativeView } from 'expo';
|
|
|
3
3
|
import { type ModifierConfig, type ViewEvent } from '../../types';
|
|
4
4
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export interface RadioButtonProps {
|
|
7
7
|
/**
|
|
8
8
|
* Whether the radio button is selected.
|
|
9
9
|
*/
|
|
@@ -16,7 +16,7 @@ export type RadioButtonProps = {
|
|
|
16
16
|
* Modifiers for the component.
|
|
17
17
|
*/
|
|
18
18
|
modifiers?: ModifierConfig[];
|
|
19
|
-
}
|
|
19
|
+
}
|
|
20
20
|
|
|
21
21
|
type NativeRadioButtonProps = Omit<RadioButtonProps, 'onClick'> &
|
|
22
22
|
ViewEvent<'onButtonPressed', void> & {
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
transformProps,
|
|
10
10
|
} from '../layout-types';
|
|
11
11
|
|
|
12
|
-
export
|
|
12
|
+
export interface RowProps extends PrimitiveBaseProps {
|
|
13
13
|
children?: React.ReactNode;
|
|
14
14
|
/**
|
|
15
15
|
* Horizontal arrangement of children.
|
|
@@ -27,7 +27,7 @@ export type RowProps = {
|
|
|
27
27
|
* Vertical alignment of children.
|
|
28
28
|
*/
|
|
29
29
|
verticalAlignment?: VerticalAlignment;
|
|
30
|
-
}
|
|
30
|
+
}
|
|
31
31
|
|
|
32
32
|
const RowNativeView: React.ComponentType<RowProps> = requireNativeView('ExpoUI', 'RowView');
|
|
33
33
|
|
|
@@ -3,7 +3,7 @@ import { requireNativeView } from 'expo';
|
|
|
3
3
|
import { type ExpoModifier, type ViewEvent } from '../../types';
|
|
4
4
|
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
5
5
|
|
|
6
|
-
export
|
|
6
|
+
export interface SearchBarProps {
|
|
7
7
|
/**
|
|
8
8
|
* Callback function that is called when the search text is submitted.
|
|
9
9
|
*/
|
|
@@ -18,7 +18,7 @@ export type SearchBarProps = {
|
|
|
18
18
|
* The children of the component.
|
|
19
19
|
*/
|
|
20
20
|
children?: React.ReactNode;
|
|
21
|
-
}
|
|
21
|
+
}
|
|
22
22
|
|
|
23
23
|
type PlaceholderProps = {
|
|
24
24
|
/**
|
|
@@ -22,7 +22,7 @@ export type SegmentedButtonColors = {
|
|
|
22
22
|
disabledInactiveContainerColor?: ColorValue;
|
|
23
23
|
};
|
|
24
24
|
|
|
25
|
-
export
|
|
25
|
+
export interface SegmentedButtonProps {
|
|
26
26
|
/**
|
|
27
27
|
* Whether the button is currently selected (used inside `SingleChoiceSegmentedButtonRow`).
|
|
28
28
|
*/
|
|
@@ -56,7 +56,7 @@ export type SegmentedButtonProps = {
|
|
|
56
56
|
* Children containing a `Label` slot.
|
|
57
57
|
*/
|
|
58
58
|
children?: React.ReactNode;
|
|
59
|
-
}
|
|
59
|
+
}
|
|
60
60
|
|
|
61
61
|
type NativeSlotViewProps = {
|
|
62
62
|
slotName: string;
|
|
@@ -35,7 +35,7 @@ export type CornerRadii = {
|
|
|
35
35
|
bottomEnd?: number;
|
|
36
36
|
};
|
|
37
37
|
|
|
38
|
-
export
|
|
38
|
+
export interface ShapeProps {
|
|
39
39
|
/**
|
|
40
40
|
* Corner rounding percentage. Multiplied by the shorter dimension of the view to produce pixel values.
|
|
41
41
|
* @default 0.0
|
|
@@ -71,7 +71,7 @@ export type ShapeProps = {
|
|
|
71
71
|
* Modifiers for the component.
|
|
72
72
|
*/
|
|
73
73
|
modifiers?: ExpoModifier[];
|
|
74
|
-
}
|
|
74
|
+
}
|
|
75
75
|
|
|
76
76
|
type NativeShapeProps = Omit<ShapeProps, 'modifiers'> & {
|
|
77
77
|
type: ShapeType;
|