@expo/ui 56.0.17 → 56.0.19
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 +36 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/DatePickerView.kt +33 -8
- package/android/src/main/java/expo/modules/ui/ModalBottomSheetView.kt +14 -0
- 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/menu/types.d.ts +2 -2
- package/build/community/menu/types.d.ts.map +1 -1
- package/build/community/pager-view/PagerView.android.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 +8 -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/RNHostView/index.d.ts +8 -0
- package/build/jetpack-compose/RNHostView/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 +60 -2
- 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/swift-ui/modifiers/widgets.d.ts +7 -0
- package/build/swift-ui/modifiers/widgets.d.ts.map +1 -1
- package/build/universal/Button/index.d.ts.map +1 -1
- package/build/universal/Button/index.ios.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/FieldGroup/FieldSectionSlots.d.ts.map +1 -1
- package/build/universal/FieldGroup/groupChildren.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/Text/index.ios.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/modifierUtils.d.ts +16 -0
- package/build/universal/modifierUtils.d.ts.map +1 -0
- package/build/universal/transformStyle.android.d.ts +3 -0
- package/build/universal/transformStyle.android.d.ts.map +1 -1
- package/build/universal/transformStyle.ios.d.ts +3 -0
- package/build/universal/transformStyle.ios.d.ts.map +1 -1
- package/build/universal/types.d.ts +2 -0
- package/build/universal/types.d.ts.map +1 -1
- 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/ViewModifierRegistry.swift +119 -11
- package/ios/Modifiers/WidgetModifiers.swift +12 -0
- package/ios/RNHostView.swift +5 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.17/expo.modules.ui-56.0.17-sources.jar → 56.0.19/expo.modules.ui-56.0.19-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.17/expo.modules.ui-56.0.17.module → 56.0.19/expo.modules.ui-56.0.19.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{56.0.17/expo.modules.ui-56.0.17.pom → 56.0.19/expo.modules.ui-56.0.19.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.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 +4 -9
- package/plugin/tsconfig.tsbuildinfo +1 -0
- package/src/State/index.fx.ts +4 -5
- package/src/community/bottom-sheet/BottomSheet.android.tsx +8 -14
- package/src/community/bottom-sheet/BottomSheet.ios.tsx +9 -5
- 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/menu/types.tsx +2 -2
- package/src/community/pager-view/PagerView.android.tsx +10 -6
- 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 +9 -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/RNHostView/index.tsx +8 -0
- 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 +82 -1
- package/src/swift-ui/modifiers/presentationModifiers.ts +22 -0
- package/src/swift-ui/modifiers/widgets.ts +9 -0
- package/src/ts-declarations/react-native-web.d.ts +31 -3
- package/src/universal/Button/index.ios.tsx +6 -1
- 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/FieldGroup/FieldSectionSlots.tsx +3 -0
- package/src/universal/FieldGroup/groupChildren.tsx +3 -0
- 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/Text/index.ios.tsx +3 -1
- 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/modifierUtils.ts +23 -0
- package/src/universal/transformStyle.android.ts +9 -1
- package/src/universal/transformStyle.ios.ts +9 -1
- package/src/universal/types.ts +2 -0
- package/src/universal/webUtils.ts +245 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.17/expo.modules.ui-56.0.17.pom.sha512 +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transformStyle.ios.d.ts","sourceRoot":"","sources":["../../src/universal/transformStyle.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAUL,KAAK,cAAc,EACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"transformStyle.ios.d.ts","sourceRoot":"","sources":["../../src/universal/transformStyle.ios.ts"],"names":[],"mappings":"AAAA,OAAO,EAOL,KAAK,EAUL,KAAK,cAAc,EACpB,MAAM,6BAA6B,CAAC;AAErC,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAEvD,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAgBlE;;;;;;;;;;;GAWG;AACH,wBAAgB,oBAAoB,CAClC,KAAK,EAAE,cAAc,GAAG,SAAS,EACjC,KAAK,EAAE,IAAI,CACT,kBAAkB,EAClB,SAAS,GAAG,UAAU,GAAG,aAAa,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAC1E,EACD,cAAc,CAAC,EAAE,cAAc,EAAE,EACjC,OAAO,CAAC,EAAE;IACR,6DAA6D;IAC7D,cAAc,CAAC,EAAE,UAAU,CAAC,OAAO,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;IAC1D,wDAAwD;IACxD,SAAS,CAAC,EAAE,kBAAkB,CAAC;CAChC,GACA,cAAc,EAAE,CA4GlB"}
|
|
@@ -22,6 +22,8 @@ export interface UniversalBaseProps {
|
|
|
22
22
|
/**
|
|
23
23
|
* Platform-specific modifier escape hatch. Pass an array of modifier configs
|
|
24
24
|
* from `@expo/ui/swift-ui/modifiers` or `@expo/ui/jetpack-compose/modifiers`.
|
|
25
|
+
* A modifier supplied here replaces any modifier of the same type that the
|
|
26
|
+
* component derives from `style` or other props.
|
|
25
27
|
* @platform android
|
|
26
28
|
* @platform ios
|
|
27
29
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/universal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,SAAS,EACP,SAAS,GACT,mBAAmB,GACnB,iBAAiB,GACjB,YAAY,GACZ,eAAe,GACf,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,aAAa,GACb,SAAS,GACT,OAAO,GACP,QAAQ,CACX,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAGjC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/universal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAE9C,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAE/C;;;;GAIG;AACH,MAAM,MAAM,cAAc,GAAG,IAAI,CAC/B,SAAS,EACP,SAAS,GACT,mBAAmB,GACnB,iBAAiB,GACjB,YAAY,GACZ,eAAe,GACf,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,cAAc,GACd,aAAa,GACb,aAAa,GACb,SAAS,GACT,OAAO,GACP,QAAQ,CACX,CAAC;AAEF;;;GAGG;AACH,MAAM,WAAW,kBAAkB;IAGjC;;;;;;OAMG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;IAEvB;;;;;;;OAOG;IACH,SAAS,CAAC,EAAE,cAAc,EAAE,CAAC;IAI7B;;;;;OAKG;IACH,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IAIrB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;;;;OAKG;IACH,WAAW,CAAC,EAAE,MAAM,IAAI,CAAC;IAIzB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IAEnB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;;;;OAKG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB;AAED;;;GAGG;AACH,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import type { ComponentProps, ElementType } from 'react';
|
|
2
|
+
import { type ColorValue, type ImageStyle, type StyleProp, type TextStyle, type ViewStyle } from 'react-native';
|
|
3
|
+
type Simplify<T> = {
|
|
4
|
+
[K in keyof T]: T[K];
|
|
5
|
+
};
|
|
6
|
+
type Merge<A, B> = Simplify<Omit<A, keyof B> & B>;
|
|
7
|
+
type WebComponentProps<T extends ElementType> = Merge<ComponentProps<T>, {
|
|
8
|
+
dataSet?: Record<string, string | undefined>;
|
|
9
|
+
focusable?: boolean;
|
|
10
|
+
style?: StyleProp<ImageStyle | TextStyle | ViewStyle>;
|
|
11
|
+
testID?: string;
|
|
12
|
+
}>;
|
|
13
|
+
export declare const createWebComponent: <T extends ElementType>(type: T) => (props: WebComponentProps<T>) => import("react").ReactElement<Simplify<Omit<ComponentProps<T>, "style" | "testID" | "dataSet" | "focusable"> & {
|
|
14
|
+
dataSet?: Record<string, string | undefined>;
|
|
15
|
+
focusable?: boolean;
|
|
16
|
+
style?: StyleProp<ImageStyle | TextStyle | ViewStyle>;
|
|
17
|
+
testID?: string;
|
|
18
|
+
}>, string | import("react").JSXElementConstructor<any>>;
|
|
19
|
+
export declare const css: (strings: TemplateStringsArray, ...values: unknown[]) => string;
|
|
20
|
+
export declare const colors: {
|
|
21
|
+
background: string;
|
|
22
|
+
foreground: string;
|
|
23
|
+
red: string;
|
|
24
|
+
primary: {
|
|
25
|
+
foreground: string;
|
|
26
|
+
50: string;
|
|
27
|
+
100: string;
|
|
28
|
+
200: string;
|
|
29
|
+
300: string;
|
|
30
|
+
400: string;
|
|
31
|
+
500: string;
|
|
32
|
+
600: string;
|
|
33
|
+
700: string;
|
|
34
|
+
800: string;
|
|
35
|
+
900: string;
|
|
36
|
+
};
|
|
37
|
+
gray: {
|
|
38
|
+
50: string;
|
|
39
|
+
100: string;
|
|
40
|
+
200: string;
|
|
41
|
+
300: string;
|
|
42
|
+
400: string;
|
|
43
|
+
500: string;
|
|
44
|
+
600: string;
|
|
45
|
+
700: string;
|
|
46
|
+
800: string;
|
|
47
|
+
900: string;
|
|
48
|
+
};
|
|
49
|
+
};
|
|
50
|
+
export declare const durations: {
|
|
51
|
+
fast: string;
|
|
52
|
+
base: string;
|
|
53
|
+
slow: string;
|
|
54
|
+
};
|
|
55
|
+
export declare const easings: {
|
|
56
|
+
standard: string;
|
|
57
|
+
};
|
|
58
|
+
export declare const shadows: {
|
|
59
|
+
button: string;
|
|
60
|
+
focus: string;
|
|
61
|
+
input: string;
|
|
62
|
+
};
|
|
63
|
+
export declare const globalCss: string;
|
|
64
|
+
export declare const generatePrimaryColorScale: (color?: ColorValue | undefined) => Record<string, string>;
|
|
65
|
+
export {};
|
|
66
|
+
//# sourceMappingURL=webUtils.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"webUtils.d.ts","sourceRoot":"","sources":["../../src/universal/webUtils.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,OAAO,CAAC;AACzD,OAAO,EAGL,KAAK,UAAU,EACf,KAAK,UAAU,EACf,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAEtB,KAAK,QAAQ,CAAC,CAAC,IAAI;KAAG,CAAC,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAAE,CAAC;AAC5C,KAAK,KAAK,CAAC,CAAC,EAAE,CAAC,IAAI,QAAQ,CAAC,IAAI,CAAC,CAAC,EAAE,MAAM,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC;AAElD,KAAK,iBAAiB,CAAC,CAAC,SAAS,WAAW,IAAI,KAAK,CACnD,cAAc,CAAC,CAAC,CAAC,EACjB;IACE,OAAO,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC,CAAC;IAC7C,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,SAAS,CAAC,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC,CAAC;IACtD,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CACF,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAC5B,CAAC,SAAS,WAAW,EAAE,MAAM,CAAC,MAC9B,OAAO,iBAAiB,CAAC,CAAC,CAAC;cAThB,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;gBAChC,OAAO;YACX,SAAS,CAAC,UAAU,GAAG,SAAS,GAAG,SAAS,CAAC;aAC5C,MAAM;wDAOoB,CAAC;AAExC,eAAO,MAAM,GAAG,GAAI,SAAS,oBAAoB,EAAE,GAAG,QAAQ,OAAO,EAAE,KAAG,MAI/D,CAAC;AAwCZ,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgClB,CAAC;AAEF,eAAO,MAAM,SAAS;;;;CAIrB,CAAC;AAEF,eAAO,MAAM,OAAO;;CAEnB,CAAC;AAEF,eAAO,MAAM,OAAO;;;;CAInB,CAAC;AAEF,eAAO,MAAM,SAAS,QAcrB,CAAC;AA0FF,eAAO,MAAM,yBAAyB,GACpC,QAAO,UAAU,GAAG,SAAiC,KACpD,MAAM,CAAC,MAAM,EAAE,MAAM,CAevB,CAAC"}
|
package/expo-module.config.json
CHANGED
package/ios/HostView.swift
CHANGED
|
@@ -34,6 +34,7 @@ internal enum ExpoLayoutDirection: String, Enumerable {
|
|
|
34
34
|
internal final class HostViewProps: ExpoSwiftUI.ViewProps, ExpoSwiftUI.SafeAreaControllable {
|
|
35
35
|
@Field var useViewportSizeMeasurement: Bool = false
|
|
36
36
|
@Field var colorScheme: ExpoColorScheme?
|
|
37
|
+
@Field var seedColor: Color?
|
|
37
38
|
@Field var layoutDirection: ExpoLayoutDirection = .leftToRight
|
|
38
39
|
@Field var matchContentsHorizontal = false
|
|
39
40
|
@Field var matchContentsVertical = false
|
|
@@ -60,6 +61,7 @@ struct HostView: ExpoSwiftUI.View, ExpoSwiftUI.WithHostingView {
|
|
|
60
61
|
.fixedSize(horizontal: props.matchContentsHorizontal, vertical: props.matchContentsVertical)
|
|
61
62
|
.modifier(LayoutDirectionModifier(layoutDirection: layoutDirection))
|
|
62
63
|
.modifier(ColorSchemeModifier(colorScheme: props.colorScheme?.toColorScheme()))
|
|
64
|
+
.modifier(SeedColorModifier(seedColor: props.seedColor))
|
|
63
65
|
.applyModifiers(
|
|
64
66
|
props.modifiers,
|
|
65
67
|
appContext: props.appContext,
|
|
@@ -73,6 +75,7 @@ struct HostView: ExpoSwiftUI.View, ExpoSwiftUI.WithHostingView {
|
|
|
73
75
|
.fixedSize(horizontal: props.matchContentsHorizontal, vertical: props.matchContentsVertical)
|
|
74
76
|
.modifier(LayoutDirectionModifier(layoutDirection: layoutDirection))
|
|
75
77
|
.modifier(ColorSchemeModifier(colorScheme: props.colorScheme?.toColorScheme()))
|
|
78
|
+
.modifier(SeedColorModifier(seedColor: props.seedColor))
|
|
76
79
|
.applyModifiers(
|
|
77
80
|
props.modifiers,
|
|
78
81
|
appContext: props.appContext,
|
|
@@ -212,6 +215,18 @@ private struct ColorSchemeModifier: ViewModifier {
|
|
|
212
215
|
}
|
|
213
216
|
}
|
|
214
217
|
|
|
218
|
+
private struct SeedColorModifier: ViewModifier {
|
|
219
|
+
let seedColor: Color?
|
|
220
|
+
|
|
221
|
+
func body(content: Content) -> some View {
|
|
222
|
+
if let seedColor {
|
|
223
|
+
content.tint(seedColor)
|
|
224
|
+
} else {
|
|
225
|
+
content
|
|
226
|
+
}
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
|
|
215
230
|
private struct LayoutDirectionModifier: ViewModifier {
|
|
216
231
|
let layoutDirection: LayoutDirection?
|
|
217
232
|
|
|
@@ -218,4 +218,34 @@ internal struct PresentationBackgroundModifier: ViewModifier, Record {
|
|
|
218
218
|
content
|
|
219
219
|
}
|
|
220
220
|
}
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
// MARK: - Presentation Sizing
|
|
224
|
+
|
|
225
|
+
internal enum PresentationSizingOption: String, Enumerable {
|
|
226
|
+
case automatic
|
|
227
|
+
case fitted
|
|
228
|
+
case form
|
|
229
|
+
case page
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
internal struct PresentationSizingModifier: ViewModifier, Record {
|
|
233
|
+
@Field var sizing: PresentationSizingOption = .automatic
|
|
234
|
+
|
|
235
|
+
func body(content: Content) -> some View {
|
|
236
|
+
if #available(iOS 18.0, tvOS 18.0, macOS 15.0, *) {
|
|
237
|
+
switch sizing {
|
|
238
|
+
case .automatic:
|
|
239
|
+
content.presentationSizing(.automatic)
|
|
240
|
+
case .fitted:
|
|
241
|
+
content.presentationSizing(.fitted)
|
|
242
|
+
case .form:
|
|
243
|
+
content.presentationSizing(.form)
|
|
244
|
+
case .page:
|
|
245
|
+
content.presentationSizing(.page)
|
|
246
|
+
}
|
|
247
|
+
} else {
|
|
248
|
+
content
|
|
249
|
+
}
|
|
250
|
+
}
|
|
221
251
|
}
|
|
@@ -224,6 +224,61 @@ internal struct DisabledModifier: ViewModifier, Record {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
+
internal enum RedactionReason: String, Enumerable {
|
|
228
|
+
case placeholder
|
|
229
|
+
case privacy
|
|
230
|
+
case invalidated
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
internal struct RedactedModifier: ViewModifier, Record {
|
|
234
|
+
@Field var reasons: [RedactionReason] = [.placeholder]
|
|
235
|
+
|
|
236
|
+
func body(content: Content) -> some View {
|
|
237
|
+
content.redacted(reason: resolveReasons())
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
private func resolveReasons() -> RedactionReasons {
|
|
241
|
+
var set: RedactionReasons = []
|
|
242
|
+
for reason in reasons {
|
|
243
|
+
switch reason {
|
|
244
|
+
case .placeholder: set.insert(.placeholder)
|
|
245
|
+
case .privacy: set.insert(.privacy)
|
|
246
|
+
case .invalidated:
|
|
247
|
+
if #available(iOS 17.0, tvOS 17.0, macOS 14.0, *) {
|
|
248
|
+
set.insert(.invalidated)
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
}
|
|
252
|
+
return set
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
|
|
256
|
+
internal struct UnredactedModifier: ViewModifier, Record {
|
|
257
|
+
func body(content: Content) -> some View {
|
|
258
|
+
content.unredacted()
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
|
|
262
|
+
internal struct PrivacySensitiveModifier: ViewModifier, Record {
|
|
263
|
+
@Field var sensitive: Bool = true
|
|
264
|
+
|
|
265
|
+
func body(content: Content) -> some View {
|
|
266
|
+
content.privacySensitive(sensitive)
|
|
267
|
+
}
|
|
268
|
+
}
|
|
269
|
+
|
|
270
|
+
internal struct InvalidatableContentModifier: ViewModifier, Record {
|
|
271
|
+
@Field var invalidatable: Bool = true
|
|
272
|
+
|
|
273
|
+
func body(content: Content) -> some View {
|
|
274
|
+
if #available(iOS 17.0, tvOS 17.0, macOS 14.0, *) {
|
|
275
|
+
content.invalidatableContent(invalidatable)
|
|
276
|
+
} else {
|
|
277
|
+
content
|
|
278
|
+
}
|
|
279
|
+
}
|
|
280
|
+
}
|
|
281
|
+
|
|
227
282
|
internal struct ZIndexModifier: ViewModifier, Record {
|
|
228
283
|
@Field var index: Double = 0
|
|
229
284
|
|
|
@@ -518,6 +573,31 @@ internal struct AccessibilityHiddenModifier: ViewModifier, Record {
|
|
|
518
573
|
}
|
|
519
574
|
}
|
|
520
575
|
|
|
576
|
+
internal enum AccessibilityChildBehaviorType: String, Enumerable {
|
|
577
|
+
case ignore
|
|
578
|
+
case combine
|
|
579
|
+
case contain
|
|
580
|
+
|
|
581
|
+
func toNative() -> AccessibilityChildBehavior {
|
|
582
|
+
switch self {
|
|
583
|
+
case .ignore:
|
|
584
|
+
return .ignore
|
|
585
|
+
case .combine:
|
|
586
|
+
return .combine
|
|
587
|
+
case .contain:
|
|
588
|
+
return .contain
|
|
589
|
+
}
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
|
|
593
|
+
internal struct AccessibilityElementModifier: ViewModifier, Record {
|
|
594
|
+
@Field var children: AccessibilityChildBehaviorType = .ignore
|
|
595
|
+
|
|
596
|
+
func body(content: Content) -> some View {
|
|
597
|
+
content.accessibilityElement(children: children.toNative())
|
|
598
|
+
}
|
|
599
|
+
}
|
|
600
|
+
|
|
521
601
|
internal struct LayoutPriorityModifier: ViewModifier, Record {
|
|
522
602
|
@Field var priority: Double = 0
|
|
523
603
|
|
|
@@ -978,21 +1058,21 @@ internal struct HeaderProminence: ViewModifier, Record {
|
|
|
978
1058
|
}
|
|
979
1059
|
|
|
980
1060
|
internal struct ListRowInsets: ViewModifier, Record {
|
|
981
|
-
@Field var top: CGFloat
|
|
982
|
-
@Field var leading: CGFloat
|
|
983
|
-
@Field var bottom: CGFloat
|
|
984
|
-
@Field var trailing: CGFloat
|
|
1061
|
+
@Field var top: CGFloat?
|
|
1062
|
+
@Field var leading: CGFloat?
|
|
1063
|
+
@Field var bottom: CGFloat?
|
|
1064
|
+
@Field var trailing: CGFloat?
|
|
985
1065
|
|
|
986
1066
|
func body(content: Content) -> some View {
|
|
987
|
-
if top
|
|
1067
|
+
if top == nil && leading == nil && bottom == nil && trailing == nil {
|
|
1068
|
+
content
|
|
1069
|
+
} else {
|
|
988
1070
|
content.listRowInsets(.init(
|
|
989
|
-
top: top,
|
|
990
|
-
leading: leading,
|
|
991
|
-
bottom: bottom,
|
|
992
|
-
trailing: trailing
|
|
1071
|
+
top: top ?? 0,
|
|
1072
|
+
leading: leading ?? 0,
|
|
1073
|
+
bottom: bottom ?? 0,
|
|
1074
|
+
trailing: trailing ?? 0
|
|
993
1075
|
))
|
|
994
|
-
} else {
|
|
995
|
-
content
|
|
996
1076
|
}
|
|
997
1077
|
}
|
|
998
1078
|
}
|
|
@@ -1508,6 +1588,22 @@ extension ViewModifierRegistry {
|
|
|
1508
1588
|
return try DisabledModifier(from: params, appContext: appContext)
|
|
1509
1589
|
}
|
|
1510
1590
|
|
|
1591
|
+
register("redacted") { params, appContext, _ in
|
|
1592
|
+
return try RedactedModifier(from: params, appContext: appContext)
|
|
1593
|
+
}
|
|
1594
|
+
|
|
1595
|
+
register("unredacted") { params, appContext, _ in
|
|
1596
|
+
return try UnredactedModifier(from: params, appContext: appContext)
|
|
1597
|
+
}
|
|
1598
|
+
|
|
1599
|
+
register("privacySensitive") { params, appContext, _ in
|
|
1600
|
+
return try PrivacySensitiveModifier(from: params, appContext: appContext)
|
|
1601
|
+
}
|
|
1602
|
+
|
|
1603
|
+
register("invalidatableContent") { params, appContext, _ in
|
|
1604
|
+
return try InvalidatableContentModifier(from: params, appContext: appContext)
|
|
1605
|
+
}
|
|
1606
|
+
|
|
1511
1607
|
register("zIndex") { params, appContext, _ in
|
|
1512
1608
|
return try ZIndexModifier(from: params, appContext: appContext)
|
|
1513
1609
|
}
|
|
@@ -1596,6 +1692,10 @@ extension ViewModifierRegistry {
|
|
|
1596
1692
|
return try AccessibilityHiddenModifier(from: params, appContext: appContext)
|
|
1597
1693
|
}
|
|
1598
1694
|
|
|
1695
|
+
register("accessibilityElement") { params, appContext, _ in
|
|
1696
|
+
return try AccessibilityElementModifier(from: params, appContext: appContext)
|
|
1697
|
+
}
|
|
1698
|
+
|
|
1599
1699
|
register("layoutPriority") { params, appContext, _ in
|
|
1600
1700
|
return try LayoutPriorityModifier(from: params, appContext: appContext)
|
|
1601
1701
|
}
|
|
@@ -1892,6 +1992,10 @@ extension ViewModifierRegistry {
|
|
|
1892
1992
|
return try PresentationBackgroundModifier(from: params, appContext: appContext)
|
|
1893
1993
|
}
|
|
1894
1994
|
|
|
1995
|
+
register("presentationSizing") { params, appContext, _ in
|
|
1996
|
+
return try PresentationSizingModifier(from: params, appContext: appContext)
|
|
1997
|
+
}
|
|
1998
|
+
|
|
1895
1999
|
register("listStyle") { params, appContext, _ in
|
|
1896
2000
|
return try ListStyleModifier(from: params, appContext: appContext)
|
|
1897
2001
|
}
|
|
@@ -1916,6 +2020,10 @@ extension ViewModifierRegistry {
|
|
|
1916
2020
|
return try WidgetURLModifier(from: params, appContext: appContext)
|
|
1917
2021
|
}
|
|
1918
2022
|
|
|
2023
|
+
register("activityBackgroundTint") { params, appContext, _ in
|
|
2024
|
+
return try ActivityBackgroundTintModifier(from: params, appContext: appContext)
|
|
2025
|
+
}
|
|
2026
|
+
|
|
1919
2027
|
register("keyboardType") { params, appContext, _ in
|
|
1920
2028
|
return try KeyboardTypeModifier(from: params, appContext: appContext)
|
|
1921
2029
|
}
|
|
@@ -56,3 +56,15 @@ internal struct WidgetURLModifier: ViewModifier, Record {
|
|
|
56
56
|
#endif
|
|
57
57
|
}
|
|
58
58
|
}
|
|
59
|
+
|
|
60
|
+
internal struct ActivityBackgroundTintModifier: ViewModifier, Record {
|
|
61
|
+
@Field var color: Color?
|
|
62
|
+
|
|
63
|
+
func body(content: Content) -> some View {
|
|
64
|
+
#if !os(tvOS) && !os(macOS) && !targetEnvironment(macCatalyst)
|
|
65
|
+
content.activityBackgroundTint(color)
|
|
66
|
+
#else
|
|
67
|
+
content
|
|
68
|
+
#endif
|
|
69
|
+
}
|
|
70
|
+
}
|
package/ios/RNHostView.swift
CHANGED
|
@@ -19,6 +19,11 @@ struct RNHostView: ExpoSwiftUI.View {
|
|
|
19
19
|
.onAppear {
|
|
20
20
|
ExpoUITouchHandlerHelper.createAndAttachTouchHandler(for: childUIView)
|
|
21
21
|
}
|
|
22
|
+
} else if props.matchContents {
|
|
23
|
+
// No hosted UIView (a pure SwiftUI child, e.g. Text/Image). Render it at its
|
|
24
|
+
// natural size instead of falling into the fill branch below, which would
|
|
25
|
+
// stretch a self-sizing SwiftUI view to fill its container.
|
|
26
|
+
Children()
|
|
22
27
|
} else {
|
|
23
28
|
Children()
|
|
24
29
|
.frame(maxWidth: .infinity, maxHeight: .infinity)
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e50d71fc4e05c0d5255ddfd0e92ede94
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6abfcbf907f83e8fe7443a2e783fd2537c3935b2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
1b9fff22820c7fb50e59d2033ae3199e9fa2c5c853138629a6e2767f50f7ab2f
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
50b75ddd02eccceb55f0e7985344e58796d0636802fd81e940f357ed55f87bbf889edebad6dc727c1a677082928b67e6453595aaf809ada12871779e5e313978
|
|
Binary file
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
944517fc36046ca971cf969760574fad
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4d91a04542a27e40a7866b4e63f804293ff372b1
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
11705a42f0bda49ba0f6ca5f38214e9e98afea5ae6fe34954e06076cd8daf7e8
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.aar.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
33c0e88d0bb46e4e00f4916b859f78327081ff3995fb3340e132489c0898a61229aad5989455279a06d2a52a0e8be4945942602d3a231fc5d0cd930bb8b04a66
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.ui",
|
|
5
5
|
"module": "expo.modules.ui",
|
|
6
|
-
"version": "56.0.
|
|
6
|
+
"version": "56.0.19",
|
|
7
7
|
"attributes": {
|
|
8
8
|
"org.gradle.status": "release"
|
|
9
9
|
}
|
|
@@ -24,13 +24,13 @@
|
|
|
24
24
|
},
|
|
25
25
|
"files": [
|
|
26
26
|
{
|
|
27
|
-
"name": "expo.modules.ui-56.0.
|
|
28
|
-
"url": "expo.modules.ui-56.0.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.ui-56.0.19.aar",
|
|
28
|
+
"url": "expo.modules.ui-56.0.19.aar",
|
|
29
|
+
"size": 1941451,
|
|
30
|
+
"sha512": "33c0e88d0bb46e4e00f4916b859f78327081ff3995fb3340e132489c0898a61229aad5989455279a06d2a52a0e8be4945942602d3a231fc5d0cd930bb8b04a66",
|
|
31
|
+
"sha256": "11705a42f0bda49ba0f6ca5f38214e9e98afea5ae6fe34954e06076cd8daf7e8",
|
|
32
|
+
"sha1": "4d91a04542a27e40a7866b4e63f804293ff372b1",
|
|
33
|
+
"md5": "944517fc36046ca971cf969760574fad"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -141,13 +141,13 @@
|
|
|
141
141
|
],
|
|
142
142
|
"files": [
|
|
143
143
|
{
|
|
144
|
-
"name": "expo.modules.ui-56.0.
|
|
145
|
-
"url": "expo.modules.ui-56.0.
|
|
146
|
-
"size":
|
|
147
|
-
"sha512": "
|
|
148
|
-
"sha256": "
|
|
149
|
-
"sha1": "
|
|
150
|
-
"md5": "
|
|
144
|
+
"name": "expo.modules.ui-56.0.19.aar",
|
|
145
|
+
"url": "expo.modules.ui-56.0.19.aar",
|
|
146
|
+
"size": 1941451,
|
|
147
|
+
"sha512": "33c0e88d0bb46e4e00f4916b859f78327081ff3995fb3340e132489c0898a61229aad5989455279a06d2a52a0e8be4945942602d3a231fc5d0cd930bb8b04a66",
|
|
148
|
+
"sha256": "11705a42f0bda49ba0f6ca5f38214e9e98afea5ae6fe34954e06076cd8daf7e8",
|
|
149
|
+
"sha1": "4d91a04542a27e40a7866b4e63f804293ff372b1",
|
|
150
|
+
"md5": "944517fc36046ca971cf969760574fad"
|
|
151
151
|
}
|
|
152
152
|
]
|
|
153
153
|
},
|
|
@@ -161,13 +161,13 @@
|
|
|
161
161
|
},
|
|
162
162
|
"files": [
|
|
163
163
|
{
|
|
164
|
-
"name": "expo.modules.ui-56.0.
|
|
165
|
-
"url": "expo.modules.ui-56.0.
|
|
166
|
-
"size":
|
|
167
|
-
"sha512": "
|
|
168
|
-
"sha256": "
|
|
169
|
-
"sha1": "
|
|
170
|
-
"md5": "
|
|
164
|
+
"name": "expo.modules.ui-56.0.19-sources.jar",
|
|
165
|
+
"url": "expo.modules.ui-56.0.19-sources.jar",
|
|
166
|
+
"size": 94265,
|
|
167
|
+
"sha512": "50b75ddd02eccceb55f0e7985344e58796d0636802fd81e940f357ed55f87bbf889edebad6dc727c1a677082928b67e6453595aaf809ada12871779e5e313978",
|
|
168
|
+
"sha256": "1b9fff22820c7fb50e59d2033ae3199e9fa2c5c853138629a6e2767f50f7ab2f",
|
|
169
|
+
"sha1": "6abfcbf907f83e8fe7443a2e783fd2537c3935b2",
|
|
170
|
+
"md5": "e50d71fc4e05c0d5255ddfd0e92ede94"
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
}
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ee709723c0f0b8350e54de679da2c33a
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.module.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7c5b99acaf6c0cda8837c1c801326af0fb9100e7
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
88baad7895dc098316076d09f77fa89991bcc6073939b0d9470ae4a3cb913341
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
b9f1019c58e27034ae53a920d9a29b3a71fc6fced31d0803a6be42decc2a72eb409aa2601f5f19fd9fb6a1285a2acacea09181e45a1c69a4bee7d133ddbd5fe5
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
<modelVersion>4.0.0</modelVersion>
|
|
10
10
|
<groupId>expo.modules.ui</groupId>
|
|
11
11
|
<artifactId>expo.modules.ui</artifactId>
|
|
12
|
-
<version>56.0.
|
|
12
|
+
<version>56.0.19</version>
|
|
13
13
|
<packaging>aar</packaging>
|
|
14
14
|
<name>expo.modules.ui</name>
|
|
15
15
|
<url>https://github.com/expo/expo</url>
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4458a09078053a9f97260b991c96fdd9
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
e18f9283d4a7064d29dabb5bf6766dec81da5397
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c6136bb62be48327e43138ce5b402ef8e79e0957237bfa38f0cb7a448fd30db5
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/56.0.19/expo.modules.ui-56.0.19.pom.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6071f2acf6f9258f498f7e4e0ee4529cedad8a11e21509fa0a32ef1e74c3c1e265f0bef05532a7ce37578dc93c817531ed9d1658678c4fb9c14cf460c04282c5
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.ui</groupId>
|
|
4
4
|
<artifactId>expo.modules.ui</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>56.0.
|
|
7
|
-
<release>56.0.
|
|
6
|
+
<latest>56.0.19</latest>
|
|
7
|
+
<release>56.0.19</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>56.0.
|
|
9
|
+
<version>56.0.19</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260701091749</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
9803efc720ad653d2bd9a74777727160
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
fd5824d23d4a32c2eae7d0ecbb843f37f63f9e8a
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3d6457706347643d6c85060f7825816c18f96411c2b3bbadc3fdf6407097c68b
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
3a01fd0aa15aeddc5446489654d40bfcc4e84fd0425a834b5c5e265edcf88b137da16e998e1f0357928456c888d43e8190d71f3258ff7b8e5af5cdca29abf4f5
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@expo/ui",
|
|
3
|
-
"version": "56.0.
|
|
3
|
+
"version": "56.0.19",
|
|
4
4
|
"description": "A collection of UI components",
|
|
5
5
|
"sideEffects": [
|
|
6
6
|
"*.fx.js"
|
|
@@ -93,10 +93,9 @@
|
|
|
93
93
|
"@types/babel__core": "^7.20.5",
|
|
94
94
|
"@types/node": "^22.14.0",
|
|
95
95
|
"@types/react": "~19.2.0",
|
|
96
|
-
"react-native-reanimated": "4.3.1",
|
|
97
96
|
"react-native-worklets": "0.8.3",
|
|
98
|
-
"expo": "56.0.
|
|
99
|
-
"expo
|
|
97
|
+
"expo-module-scripts": "56.0.3",
|
|
98
|
+
"expo": "56.0.13"
|
|
100
99
|
},
|
|
101
100
|
"jest": {
|
|
102
101
|
"preset": "expo-module-scripts"
|
|
@@ -107,7 +106,6 @@
|
|
|
107
106
|
"react": "*",
|
|
108
107
|
"react-dom": "*",
|
|
109
108
|
"react-native": "*",
|
|
110
|
-
"react-native-reanimated": "*",
|
|
111
109
|
"react-native-worklets": "*"
|
|
112
110
|
},
|
|
113
111
|
"peerDependenciesMeta": {
|
|
@@ -117,14 +115,11 @@
|
|
|
117
115
|
"react-dom": {
|
|
118
116
|
"optional": true
|
|
119
117
|
},
|
|
120
|
-
"react-native-reanimated": {
|
|
121
|
-
"optional": true
|
|
122
|
-
},
|
|
123
118
|
"react-native-worklets": {
|
|
124
119
|
"optional": true
|
|
125
120
|
}
|
|
126
121
|
},
|
|
127
|
-
"gitHead": "
|
|
122
|
+
"gitHead": "b293744c7b199c6cbe910188863e93a174c21250",
|
|
128
123
|
"scripts": {
|
|
129
124
|
"build": "expo-module build",
|
|
130
125
|
"clean": "expo-module clean",
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"root":["./src/babel-plugin.ts"],"version":"6.0.3"}
|
package/src/State/index.fx.ts
CHANGED
|
@@ -61,11 +61,10 @@ function registerSharedObjectSerializer(): void {
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
try {
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
registerSharedObjectSerializer();
|
|
64
|
+
if (worklets) {
|
|
65
|
+
installOnUIRuntime(worklets.getUIRuntimeHolder());
|
|
66
|
+
registerSharedObjectSerializer();
|
|
67
|
+
}
|
|
69
68
|
} catch {
|
|
70
69
|
// Fail silently as worklet support is currently optional in Expo UI
|
|
71
70
|
}
|