@expo/ui 58.0.3 → 58.0.4
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 +11 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/RNHostView.kt +2 -2
- package/build/PresentedContentContext.d.ts +1 -1
- package/build/community/bottom-sheet/BottomSheet.android.d.ts +1 -1
- package/build/community/bottom-sheet/BottomSheet.d.ts +1 -1
- package/build/community/bottom-sheet/BottomSheet.ios.d.ts +1 -1
- package/build/community/bottom-sheet/index.d.ts +3 -3
- package/build/community/bottom-sheet/scrollContextReset.d.ts +1 -1
- package/build/community/datetime-picker/DateTimePicker.android.d.ts +1 -1
- package/build/community/datetime-picker/DateTimePicker.d.ts +1 -1
- package/build/community/masked-view/MaskedView.android.d.ts +1 -1
- package/build/community/masked-view/MaskedView.d.ts +1 -1
- package/build/community/masked-view/MaskedView.ios.d.ts +1 -1
- package/build/community/menu/MenuView.android.d.ts +1 -1
- package/build/community/menu/MenuView.d.ts +1 -1
- package/build/community/menu/MenuView.ios.d.ts +1 -1
- package/build/community/pager-view/PagerView.android.d.ts +1 -1
- package/build/community/pager-view/PagerView.ios.d.ts +1 -1
- package/build/community/picker/Picker.android.d.ts +1 -1
- package/build/community/picker/Picker.d.ts +1 -1
- package/build/community/picker/Picker.ios.d.ts +1 -1
- package/build/community/segmented-control/SegmentedControl.android.d.ts +1 -1
- package/build/community/segmented-control/SegmentedControl.ios.d.ts +1 -1
- package/build/community/segmented-control/vendor/SegmentedControl.d.ts +2 -1
- package/build/community/segmented-control/vendor/SegmentedControlTab.d.ts +1 -1
- package/build/community/segmented-control/vendor/SegmentsSeparators.d.ts +1 -1
- package/build/community/slider/Slider.android.d.ts +1 -1
- package/build/community/slider/Slider.d.ts +2 -1
- package/build/community/slider/Slider.ios.d.ts +1 -1
- package/build/jetpack-compose/AlertDialog/index.d.ts +6 -6
- package/build/jetpack-compose/AnimatedVisibility/index.d.ts +1 -1
- package/build/jetpack-compose/Badge/index.d.ts +1 -1
- package/build/jetpack-compose/BadgedBox/index.d.ts +2 -2
- package/build/jetpack-compose/BasicAlertDialog/index.d.ts +1 -1
- package/build/jetpack-compose/Box/index.d.ts +1 -1
- package/build/jetpack-compose/Button/index.d.ts +5 -5
- package/build/jetpack-compose/Checkbox/index.d.ts +2 -2
- package/build/jetpack-compose/Chip/index.d.ts +15 -15
- package/build/jetpack-compose/Column/index.d.ts +1 -1
- package/build/jetpack-compose/DatePicker/index.d.ts +5 -5
- package/build/jetpack-compose/DockedSearchBar/index.d.ts +3 -3
- package/build/jetpack-compose/DropdownMenu/DropdownMenuItem.d.ts +4 -4
- package/build/jetpack-compose/DropdownMenu/index.d.ts +4 -4
- package/build/jetpack-compose/ExposedDropdownMenuBox/ExposedDropdownMenu.d.ts +1 -1
- package/build/jetpack-compose/ExposedDropdownMenuBox/index.d.ts +1 -1
- package/build/jetpack-compose/FloatingActionButton/index.d.ts +6 -6
- package/build/jetpack-compose/FlowRow/index.d.ts +1 -1
- package/build/jetpack-compose/HorizontalFloatingToolbar/index.d.ts +2 -2
- package/build/jetpack-compose/HorizontalPager/index.d.ts +1 -1
- package/build/jetpack-compose/Host/index.d.ts +1 -1
- package/build/jetpack-compose/Icon/index.d.ts +1 -1
- package/build/jetpack-compose/IconButton/index.d.ts +4 -4
- package/build/jetpack-compose/Image/index.d.ts +1 -1
- package/build/jetpack-compose/LazyColumn/index.d.ts +1 -1
- package/build/jetpack-compose/LazyRow/index.d.ts +1 -1
- package/build/jetpack-compose/ListItem/index.d.ts +6 -6
- package/build/jetpack-compose/ModalBottomSheet/index.d.ts +2 -2
- package/build/jetpack-compose/MultiChoiceSegmentedButtonRow/index.d.ts +1 -1
- package/build/jetpack-compose/NavigationBar/index.d.ts +5 -5
- package/build/jetpack-compose/PullToRefreshBox/index.d.ts +1 -1
- package/build/jetpack-compose/RNHostView/index.d.ts +1 -1
- package/build/jetpack-compose/RadioButton/index.d.ts +1 -1
- package/build/jetpack-compose/Row/index.d.ts +1 -1
- package/build/jetpack-compose/SearchBar/index.d.ts +3 -3
- package/build/jetpack-compose/SegmentedButton/index.d.ts +2 -2
- package/build/jetpack-compose/SingleChoiceSegmentedButtonRow/index.d.ts +1 -1
- package/build/jetpack-compose/Slider/index.d.ts +6 -6
- package/build/jetpack-compose/SlotView.d.ts +1 -1
- package/build/jetpack-compose/Snackbar/index.d.ts +2 -2
- package/build/jetpack-compose/Spacer/index.d.ts +1 -1
- package/build/jetpack-compose/Surface/index.d.ts +1 -1
- package/build/jetpack-compose/Switch/index.d.ts +2 -2
- package/build/jetpack-compose/SyncSwitch/index.d.ts +1 -1
- package/build/jetpack-compose/Text/index.d.ts +1 -1
- package/build/jetpack-compose/TextField/BasicTextField.d.ts +4 -4
- package/build/jetpack-compose/TextField/TextField.d.ts +16 -16
- package/build/jetpack-compose/ToggleButton/index.d.ts +4 -4
- package/build/jetpack-compose/Tooltip/index.d.ts +6 -6
- package/build/keyboard/index.d.ts +1 -1
- package/build/swift-ui/AccessoryWidgetBackground/index.d.ts +1 -1
- package/build/swift-ui/Alert/index.d.ts +4 -4
- package/build/swift-ui/Background/index.d.ts +2 -2
- package/build/swift-ui/BottomSheet/index.d.ts +1 -1
- package/build/swift-ui/Button/index.d.ts +1 -1
- package/build/swift-ui/Chart/index.d.ts +1 -1
- package/build/swift-ui/ColorPicker/index.d.ts +1 -1
- package/build/swift-ui/ConfirmationDialog/index.d.ts +4 -4
- package/build/swift-ui/ContentUnavailableView/index.d.ts +1 -1
- package/build/swift-ui/ContextMenu/index.d.ts +4 -4
- package/build/swift-ui/ControlGroup/index.d.ts +1 -1
- package/build/swift-ui/DatePicker/index.d.ts +1 -1
- package/build/swift-ui/DisclosureGroup/index.d.ts +2 -2
- package/build/swift-ui/Divider/index.d.ts +1 -1
- package/build/swift-ui/Form/index.d.ts +1 -1
- package/build/swift-ui/Gauge/index.d.ts +1 -1
- package/build/swift-ui/GlassEffectContainer/index.d.ts +1 -1
- package/build/swift-ui/Grid/index.d.ts +1 -1
- package/build/swift-ui/Group/index.d.ts +1 -1
- package/build/swift-ui/HStack/index.d.ts +1 -1
- package/build/swift-ui/Host/index.d.ts +1 -1
- package/build/swift-ui/Image/index.d.ts +1 -1
- package/build/swift-ui/Label/index.d.ts +1 -1
- package/build/swift-ui/LabeledContent/index.d.ts +1 -1
- package/build/swift-ui/LazyHStack/index.d.ts +1 -1
- package/build/swift-ui/LazyVStack/index.d.ts +1 -1
- package/build/swift-ui/Link/index.d.ts +1 -1
- package/build/swift-ui/List/ListForEach.d.ts +1 -1
- package/build/swift-ui/List/index.d.ts +1 -1
- package/build/swift-ui/Mask/index.d.ts +2 -2
- package/build/swift-ui/Menu/index.d.ts +1 -1
- package/build/swift-ui/Namespace.d.ts +1 -1
- package/build/swift-ui/NavigationDestination/index.d.ts +1 -1
- package/build/swift-ui/NavigationLink/index.d.ts +1 -1
- package/build/swift-ui/NavigationSplitView/index.d.ts +4 -4
- package/build/swift-ui/NavigationStack/index.d.ts +1 -1
- package/build/swift-ui/Overlay/index.d.ts +2 -2
- package/build/swift-ui/Picker/index.d.ts +1 -1
- package/build/swift-ui/Popover/index.d.ts +3 -3
- package/build/swift-ui/ProgressView/index.d.ts +1 -1
- package/build/swift-ui/RNHostView.d.ts +1 -1
- package/build/swift-ui/ScrollView/index.d.ts +1 -1
- package/build/swift-ui/Section/index.d.ts +1 -1
- package/build/swift-ui/SecureField/index.d.ts +2 -2
- package/build/swift-ui/Shapes/ConcentricRectangle.d.ts +1 -1
- package/build/swift-ui/Shapes/index.d.ts +6 -6
- package/build/swift-ui/ShareLink/index.d.ts +1 -1
- package/build/swift-ui/Slider/index.d.ts +1 -1
- package/build/swift-ui/SlotView.d.ts +1 -1
- package/build/swift-ui/Spacer/index.d.ts +1 -1
- package/build/swift-ui/Stepper/index.d.ts +1 -1
- package/build/swift-ui/SwipeActions/index.d.ts +2 -2
- package/build/swift-ui/SyncToggle/index.d.ts +1 -1
- package/build/swift-ui/TabView/Tab.d.ts +1 -1
- package/build/swift-ui/TabView/index.d.ts +1 -1
- package/build/swift-ui/Text/index.d.ts +1 -1
- package/build/swift-ui/TextField/index.d.ts +2 -2
- package/build/swift-ui/Toggle/index.d.ts +1 -1
- package/build/swift-ui/Toolbar/index.d.ts +52 -2
- package/build/swift-ui/Toolbar/index.js +27 -0
- package/build/swift-ui/Toolbar/index.js.map +1 -1
- package/build/swift-ui/VStack/index.d.ts +1 -1
- package/build/swift-ui/ZStack/index.d.ts +1 -1
- package/build/swift-ui/modifiers/index.d.ts +15 -1
- package/build/swift-ui/modifiers/index.js +16 -0
- package/build/swift-ui/modifiers/index.js.map +1 -1
- package/build/universal/BottomSheet/index.android.d.ts +1 -1
- package/build/universal/BottomSheet/index.d.ts +1 -1
- package/build/universal/BottomSheet/index.ios.d.ts +1 -1
- package/build/universal/Button/index.android.d.ts +1 -1
- package/build/universal/Button/index.d.ts +1 -1
- package/build/universal/Button/index.ios.d.ts +1 -1
- package/build/universal/Checkbox/index.android.d.ts +1 -1
- package/build/universal/Checkbox/index.d.ts +1 -1
- package/build/universal/Checkbox/index.ios.d.ts +1 -1
- package/build/universal/Collapsible/index.android.d.ts +1 -1
- package/build/universal/Collapsible/index.d.ts +1 -1
- package/build/universal/Collapsible/index.ios.d.ts +1 -1
- package/build/universal/Column/index.android.d.ts +1 -1
- package/build/universal/Column/index.d.ts +1 -1
- package/build/universal/Column/index.ios.d.ts +1 -1
- package/build/universal/FieldGroup/FieldGroup.android.d.ts +1 -1
- package/build/universal/FieldGroup/FieldGroup.d.ts +1 -1
- package/build/universal/FieldGroup/FieldGroup.ios.d.ts +1 -1
- package/build/universal/FieldGroup/FieldSection.android.d.ts +1 -1
- package/build/universal/FieldGroup/FieldSection.d.ts +1 -1
- package/build/universal/FieldGroup/FieldSection.ios.d.ts +1 -1
- package/build/universal/FieldGroup/FieldSectionSlots.d.ts +2 -2
- package/build/universal/Host/index.d.ts +1 -1
- package/build/universal/Icon/index.android.d.ts +1 -1
- package/build/universal/Icon/index.ios.d.ts +1 -1
- package/build/universal/List/index.android.d.ts +1 -1
- package/build/universal/List/index.d.ts +1 -1
- package/build/universal/List/index.ios.d.ts +1 -1
- package/build/universal/ListItem/ListItem.android.d.ts +1 -1
- package/build/universal/ListItem/ListItem.d.ts +1 -1
- package/build/universal/ListItem/ListItem.ios.d.ts +1 -1
- package/build/universal/Picker/Picker.android.d.ts +1 -1
- package/build/universal/Picker/Picker.d.ts +1 -1
- package/build/universal/Picker/Picker.ios.d.ts +1 -1
- package/build/universal/RNHostView/index.android.d.ts +1 -1
- package/build/universal/RNHostView/index.d.ts +1 -1
- package/build/universal/RNHostView/index.ios.d.ts +1 -1
- package/build/universal/Row/index.android.d.ts +1 -1
- package/build/universal/Row/index.d.ts +1 -1
- package/build/universal/Row/index.ios.d.ts +1 -1
- package/build/universal/ScrollView/index.android.d.ts +1 -1
- package/build/universal/ScrollView/index.d.ts +1 -1
- package/build/universal/ScrollView/index.ios.d.ts +1 -1
- package/build/universal/Slider/index.android.d.ts +1 -1
- package/build/universal/Slider/index.d.ts +1 -1
- package/build/universal/Slider/index.ios.d.ts +1 -1
- package/build/universal/Spacer/index.android.d.ts +1 -1
- package/build/universal/Spacer/index.d.ts +1 -1
- package/build/universal/Spacer/index.ios.d.ts +1 -1
- package/build/universal/Switch/index.android.d.ts +1 -1
- package/build/universal/Switch/index.d.ts +1 -1
- package/build/universal/Switch/index.ios.d.ts +1 -1
- package/build/universal/Text/index.android.d.ts +1 -1
- package/build/universal/Text/index.d.ts +1 -1
- package/build/universal/Text/index.ios.d.ts +1 -1
- package/build/universal/TextInput/index.android.d.ts +1 -1
- package/build/universal/TextInput/index.d.ts +1 -1
- package/build/universal/TextInput/index.ios.d.ts +1 -1
- package/build/web/BottomSheetDialog.d.ts +1 -1
- package/expo-module.config.json +1 -1
- package/ios/Convertibles/ToolbarItemPlacementOptions.swift +110 -0
- package/ios/Convertibles/ToolbarItemVisibilityPriorityOptions.swift +35 -0
- package/ios/Modifiers/ScrollEdgeEffectStyleModifier.swift +34 -0
- package/ios/Modifiers/ViewModifierRegistry.swift +4 -0
- package/ios/ToolbarView.swift +88 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.3/expo.modules.ui-58.0.3-sources.jar → 58.0.4/expo.modules.ui-58.0.4-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.3/expo.modules.ui-58.0.3.aar → 58.0.4/expo.modules.ui-58.0.4.aar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.3/expo.modules.ui-58.0.3.module → 58.0.4/expo.modules.ui-58.0.4.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.3/expo.modules.ui-58.0.3.pom → 58.0.4/expo.modules.ui-58.0.4.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.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 +3 -3
- package/prebuilds/output/debug/xcframeworks/ExpoUI.tar.gz +0 -0
- package/prebuilds/output/release/xcframeworks/ExpoUI.tar.gz +0 -0
- package/src/swift-ui/Toolbar/index.tsx +79 -0
- package/src/swift-ui/modifiers/index.ts +19 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha512 +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { RowProps } from './types';
|
|
2
|
-
export declare function Row({ children, alignment, spacing, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: RowProps): import("react
|
|
2
|
+
export declare function Row({ children, alignment, spacing, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: RowProps): import("react").JSX.Element | null;
|
|
3
3
|
export * from './types';
|
|
@@ -2,5 +2,5 @@ import type { RowProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* A horizontal layout container that arranges its children from start to end.
|
|
4
4
|
*/
|
|
5
|
-
export declare function Row({ children, alignment, spacing, style, onPress, onAppear, onDisappear, disabled, hidden, testID, }: RowProps): import("react
|
|
5
|
+
export declare function Row({ children, alignment, spacing, style, onPress, onAppear, onDisappear, disabled, hidden, testID, }: RowProps): import("react").JSX.Element;
|
|
6
6
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { RowProps } from './types';
|
|
2
|
-
export declare function Row({ children, alignment, spacing, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: RowProps): import("react
|
|
2
|
+
export declare function Row({ children, alignment, spacing, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: RowProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ScrollViewProps } from './types';
|
|
2
|
-
export declare function ScrollView({ children, direction, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: ScrollViewProps): import("react
|
|
2
|
+
export declare function ScrollView({ children, direction, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: ScrollViewProps): import("react").JSX.Element | null;
|
|
3
3
|
export * from './types';
|
|
@@ -2,5 +2,5 @@ import type { ScrollViewProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* A scrollable container that supports vertical or horizontal scrolling.
|
|
4
4
|
*/
|
|
5
|
-
export declare function ScrollView({ children, direction, showsIndicators, style, onAppear, onDisappear, disabled, hidden, testID, }: ScrollViewProps): import("react
|
|
5
|
+
export declare function ScrollView({ children, direction, showsIndicators, style, onAppear, onDisappear, disabled, hidden, testID, }: ScrollViewProps): import("react").JSX.Element;
|
|
6
6
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ScrollViewProps } from './types';
|
|
2
|
-
export declare function ScrollView({ children, direction, showsIndicators, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: ScrollViewProps): import("react
|
|
2
|
+
export declare function ScrollView({ children, direction, showsIndicators, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: ScrollViewProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SliderProps } from './types';
|
|
2
|
-
export declare function Slider({ value, onValueChange, min, max, step, disabled, testID, modifiers, }: SliderProps): import("react
|
|
2
|
+
export declare function Slider({ value, onValueChange, min, max, step, disabled, testID, modifiers, }: SliderProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -2,5 +2,5 @@ import type { SliderProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* A control for selecting a value from a continuous or stepped range.
|
|
4
4
|
*/
|
|
5
|
-
export declare function Slider({ value, onValueChange, min, max, step, disabled, testID, }: SliderProps): import("react
|
|
5
|
+
export declare function Slider({ value, onValueChange, min, max, step, disabled, testID, }: SliderProps): import("react").JSX.Element;
|
|
6
6
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SliderProps } from './types';
|
|
2
|
-
export declare function Slider({ value, onValueChange, min, max, step, disabled, testID, modifiers: extraModifiers, }: SliderProps): import("react
|
|
2
|
+
export declare function Slider({ value, onValueChange, min, max, step, disabled, testID, modifiers: extraModifiers, }: SliderProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -7,5 +7,5 @@ import type { SpacerProps } from './types';
|
|
|
7
7
|
* both horizontal and vertical containers. A flexible spacer uses Compose's
|
|
8
8
|
* `weight(1)` modifier to fill remaining space.
|
|
9
9
|
*/
|
|
10
|
-
export declare function Spacer({ size, flexible, style, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: SpacerProps): import("react
|
|
10
|
+
export declare function Spacer({ size, flexible, style, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: SpacerProps): import("react").JSX.Element | null;
|
|
11
11
|
export * from './types';
|
|
@@ -3,5 +3,5 @@ import type { SpacerProps } from './types';
|
|
|
3
3
|
* A layout spacer that produces empty space between siblings in a
|
|
4
4
|
* `Row` or `Column`.
|
|
5
5
|
*/
|
|
6
|
-
export declare function Spacer({ size, flexible, style, onAppear, onDisappear, hidden, testID, }: SpacerProps): import("react
|
|
6
|
+
export declare function Spacer({ size, flexible, style, onAppear, onDisappear, hidden, testID, }: SpacerProps): import("react").JSX.Element;
|
|
7
7
|
export * from './types';
|
|
@@ -11,5 +11,5 @@ import type { SpacerProps } from './types';
|
|
|
11
11
|
* to stretch, which causes sibling Spacers to share the extra space equally
|
|
12
12
|
* instead of each rendering at their requested size.
|
|
13
13
|
*/
|
|
14
|
-
export declare function Spacer({ size, flexible, style, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: SpacerProps): import("react
|
|
14
|
+
export declare function Spacer({ size, flexible, style, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: SpacerProps): import("react").JSX.Element;
|
|
15
15
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SwitchProps } from './types';
|
|
2
|
-
export declare function Switch({ value, onValueChange, label, disabled, testID, modifiers }: SwitchProps): import("react
|
|
2
|
+
export declare function Switch({ value, onValueChange, label, disabled, testID, modifiers }: SwitchProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -2,5 +2,5 @@ import type { SwitchProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* A toggle control that switches between on and off states.
|
|
4
4
|
*/
|
|
5
|
-
export declare function Switch({ value, onValueChange, label, disabled, testID }: SwitchProps): import("react
|
|
5
|
+
export declare function Switch({ value, onValueChange, label, disabled, testID }: SwitchProps): import("react").JSX.Element;
|
|
6
6
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { SwitchProps } from './types';
|
|
2
|
-
export declare function Switch({ value, onValueChange, label, disabled, testID, modifiers: extraModifiers, }: SwitchProps): import("react
|
|
2
|
+
export declare function Switch({ value, onValueChange, label, disabled, testID, modifiers: extraModifiers, }: SwitchProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TextProps } from './types';
|
|
2
|
-
export declare function Text({ children, textStyle, numberOfLines, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: TextProps): import("react
|
|
2
|
+
export declare function Text({ children, textStyle, numberOfLines, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: TextProps): import("react").JSX.Element | null;
|
|
3
3
|
export * from './types';
|
|
@@ -2,5 +2,5 @@ import type { TextProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* A component for displaying styled text content.
|
|
4
4
|
*/
|
|
5
|
-
export declare function Text({ children, textStyle, numberOfLines, style, onPress, onAppear, onDisappear, disabled, hidden, testID, }: TextProps): import("react
|
|
5
|
+
export declare function Text({ children, textStyle, numberOfLines, style, onPress, onAppear, onDisappear, disabled, hidden, testID, }: TextProps): import("react").JSX.Element;
|
|
6
6
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TextProps } from './types';
|
|
2
|
-
export declare function Text({ children, textStyle, numberOfLines, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: TextProps): import("react
|
|
2
|
+
export declare function Text({ children, textStyle, numberOfLines, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: TextProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TextInputProps } from './types';
|
|
2
|
-
export declare function TextInput({ ref, value, onChangeText, placeholder, autoFocus, editable: editableProp, multiline, keyboardType: keyboardTypeProp, autoCapitalize, autoCorrect, returnKeyType: returnKeyTypeProp, onSubmitEditing, onFocus, onBlur, cursorColor, textAlign, readOnly, inputMode, enterKeyHint, defaultValue, numberOfLines: numberOfLinesProp, rows, underlineColorAndroid, testID, placeholderTextColor, textStyle, style, secureTextEntry, autoComplete, onContentSizeChange, maxLength, caretHidden, selectionColor, selectionHandleColor, selection, onSelectionChange, selectTextOnFocus, modifiers: userModifiers, }: TextInputProps): import("react
|
|
2
|
+
export declare function TextInput({ ref, value, onChangeText, placeholder, autoFocus, editable: editableProp, multiline, keyboardType: keyboardTypeProp, autoCapitalize, autoCorrect, returnKeyType: returnKeyTypeProp, onSubmitEditing, onFocus, onBlur, cursorColor, textAlign, readOnly, inputMode, enterKeyHint, defaultValue, numberOfLines: numberOfLinesProp, rows, underlineColorAndroid, testID, placeholderTextColor, textStyle, style, secureTextEntry, autoComplete, onContentSizeChange, maxLength, caretHidden, selectionColor, selectionHandleColor, selection, onSelectionChange, selectTextOnFocus, modifiers: userModifiers, }: TextInputProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { TextInputProps } from './types';
|
|
2
|
-
export declare function TextInput({ ref, value, onChangeText, placeholder, autoFocus, editable, multiline, keyboardType, autoCapitalize, autoCorrect, returnKeyType, onSubmitEditing, onFocus, onBlur, cursorColor, textAlign, readOnly, inputMode, enterKeyHint, defaultValue, numberOfLines, rows, testID, placeholderTextColor, style, textStyle, secureTextEntry, autoComplete, onContentSizeChange, maxLength, caretHidden, selectionColor, selection, onSelectionChange, selectTextOnFocus, }: TextInputProps): import("react
|
|
2
|
+
export declare function TextInput({ ref, value, onChangeText, placeholder, autoFocus, editable, multiline, keyboardType, autoCapitalize, autoCorrect, returnKeyType, onSubmitEditing, onFocus, onBlur, cursorColor, textAlign, readOnly, inputMode, enterKeyHint, defaultValue, numberOfLines, rows, testID, placeholderTextColor, style, textStyle, secureTextEntry, autoComplete, onContentSizeChange, maxLength, caretHidden, selectionColor, selection, onSelectionChange, selectTextOnFocus, }: TextInputProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
4
4
|
export { type ObservableState } from '../State';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { TextInputProps } from './types';
|
|
2
|
-
export declare function TextInput({ ref, value, onChangeText, placeholder, autoFocus, editable: editableProp, multiline, keyboardType: keyboardTypeProp, autoCapitalize, autoCorrect, returnKeyType: returnKeyTypeProp, onSubmitEditing, onFocus, onBlur, cursorColor, textAlign, readOnly, inputMode, enterKeyHint, defaultValue, numberOfLines: numberOfLinesProp, rows, testID, placeholderTextColor, style, textStyle, secureTextEntry, autoComplete, onContentSizeChange, maxLength, caretHidden, selectionColor, selection, onSelectionChange, selectTextOnFocus, modifiers: userModifiers, }: TextInputProps): import("react
|
|
2
|
+
export declare function TextInput({ ref, value, onChangeText, placeholder, autoFocus, editable: editableProp, multiline, keyboardType: keyboardTypeProp, autoCapitalize, autoCorrect, returnKeyType: returnKeyTypeProp, onSubmitEditing, onFocus, onBlur, cursorColor, textAlign, readOnly, inputMode, enterKeyHint, defaultValue, numberOfLines: numberOfLinesProp, rows, testID, placeholderTextColor, style, textStyle, secureTextEntry, autoComplete, onContentSizeChange, maxLength, caretHidden, selectionColor, selection, onSelectionChange, selectTextOnFocus, modifiers: userModifiers, }: TextInputProps): import("react").JSX.Element;
|
|
3
3
|
export * from './types';
|
|
@@ -31,4 +31,4 @@ export type BottomSheetDialogProps = {
|
|
|
31
31
|
* Web-only bottom sheet built on the HTML dialog element.
|
|
32
32
|
* Shared by the community and universal BottomSheet web implementations.
|
|
33
33
|
*/
|
|
34
|
-
export declare function BottomSheetDialog({ open, onOpenChange, dismissible, showHandle, height, minSnapHeight, onDragEnd, style, children, accessibleTitle, innerTestID, bodyStyle, }: BottomSheetDialogProps): import("react
|
|
34
|
+
export declare function BottomSheetDialog({ open, onOpenChange, dismissible, showHandle, height, minSnapHeight, onDragEnd, style, children, accessibleTitle, innerTestID, bodyStyle, }: BottomSheetDialogProps): import("react").JSX.Element | null;
|
package/expo-module.config.json
CHANGED
|
@@ -0,0 +1,110 @@
|
|
|
1
|
+
// Copyright 2025-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import SwiftUI
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
Where an item sits in the toolbar, matching SwiftUI's `ToolbarItemPlacement`.
|
|
8
|
+
*/
|
|
9
|
+
internal enum ToolbarItemPlacementOptions: String, Enumerable {
|
|
10
|
+
case automatic
|
|
11
|
+
case principal
|
|
12
|
+
case navigation
|
|
13
|
+
case primaryAction
|
|
14
|
+
case secondaryAction
|
|
15
|
+
case status
|
|
16
|
+
case confirmationAction
|
|
17
|
+
case cancellationAction
|
|
18
|
+
case destructiveAction
|
|
19
|
+
case keyboard
|
|
20
|
+
case topBarLeading
|
|
21
|
+
case topBarTrailing
|
|
22
|
+
case topBarPinnedTrailing
|
|
23
|
+
case largeTitle
|
|
24
|
+
case bottomBar
|
|
25
|
+
|
|
26
|
+
func toPlacement() -> ToolbarItemPlacement {
|
|
27
|
+
switch self {
|
|
28
|
+
case .automatic:
|
|
29
|
+
return .automatic
|
|
30
|
+
case .principal:
|
|
31
|
+
return .principal
|
|
32
|
+
case .navigation:
|
|
33
|
+
return .navigation
|
|
34
|
+
case .primaryAction:
|
|
35
|
+
return .primaryAction
|
|
36
|
+
case .confirmationAction:
|
|
37
|
+
return .confirmationAction
|
|
38
|
+
case .cancellationAction:
|
|
39
|
+
return .cancellationAction
|
|
40
|
+
case .destructiveAction:
|
|
41
|
+
return .destructiveAction
|
|
42
|
+
|
|
43
|
+
case .secondaryAction:
|
|
44
|
+
#if os(tvOS)
|
|
45
|
+
return .automatic
|
|
46
|
+
#else
|
|
47
|
+
return .secondaryAction
|
|
48
|
+
#endif
|
|
49
|
+
|
|
50
|
+
case .status:
|
|
51
|
+
#if os(tvOS)
|
|
52
|
+
if #available(tvOS 18.0, *) {
|
|
53
|
+
return .status
|
|
54
|
+
}
|
|
55
|
+
return .automatic
|
|
56
|
+
#else
|
|
57
|
+
return .status
|
|
58
|
+
#endif
|
|
59
|
+
|
|
60
|
+
case .keyboard:
|
|
61
|
+
#if os(iOS)
|
|
62
|
+
return .keyboard
|
|
63
|
+
#else
|
|
64
|
+
return .automatic
|
|
65
|
+
#endif
|
|
66
|
+
|
|
67
|
+
case .topBarLeading:
|
|
68
|
+
#if os(macOS)
|
|
69
|
+
return .automatic
|
|
70
|
+
#else
|
|
71
|
+
return .topBarLeading
|
|
72
|
+
#endif
|
|
73
|
+
|
|
74
|
+
case .topBarTrailing:
|
|
75
|
+
#if os(macOS)
|
|
76
|
+
return .automatic
|
|
77
|
+
#else
|
|
78
|
+
return .topBarTrailing
|
|
79
|
+
#endif
|
|
80
|
+
|
|
81
|
+
case .topBarPinnedTrailing:
|
|
82
|
+
#if os(iOS) && compiler(>=6.4) // Xcode 27
|
|
83
|
+
if #available(iOS 27.0, *) {
|
|
84
|
+
return .topBarPinnedTrailing
|
|
85
|
+
}
|
|
86
|
+
#endif
|
|
87
|
+
return .automatic
|
|
88
|
+
|
|
89
|
+
case .largeTitle:
|
|
90
|
+
#if os(iOS) && compiler(>=6.2) // Xcode 26
|
|
91
|
+
if #available(iOS 26.0, *) {
|
|
92
|
+
return .largeTitle
|
|
93
|
+
}
|
|
94
|
+
#endif
|
|
95
|
+
return .automatic
|
|
96
|
+
|
|
97
|
+
case .bottomBar:
|
|
98
|
+
#if os(tvOS)
|
|
99
|
+
if #available(tvOS 18.0, *) {
|
|
100
|
+
return .bottomBar
|
|
101
|
+
}
|
|
102
|
+
return .automatic
|
|
103
|
+
#elseif os(macOS)
|
|
104
|
+
return .automatic
|
|
105
|
+
#else
|
|
106
|
+
return .bottomBar
|
|
107
|
+
#endif
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
}
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Copyright 2025-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import SwiftUI
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
How readily a toolbar item gives up its place, matching SwiftUI's `ToolbarItemVisibilityPriority`.
|
|
8
|
+
*/
|
|
9
|
+
internal enum ToolbarItemVisibilityPriorityOptions: String, Enumerable {
|
|
10
|
+
case automatic
|
|
11
|
+
case low
|
|
12
|
+
case high
|
|
13
|
+
|
|
14
|
+
#if compiler(>=6.4) // Xcode 27
|
|
15
|
+
@available(iOS 27.0, macOS 26.1, tvOS 27.0, visionOS 27.0, *)
|
|
16
|
+
func toPriority() -> ToolbarItemVisibilityPriority {
|
|
17
|
+
switch self {
|
|
18
|
+
case .automatic:
|
|
19
|
+
return .automatic
|
|
20
|
+
case .low:
|
|
21
|
+
#if os(iOS) || os(macOS)
|
|
22
|
+
return .low
|
|
23
|
+
#else
|
|
24
|
+
return .automatic
|
|
25
|
+
#endif
|
|
26
|
+
case .high:
|
|
27
|
+
#if os(iOS) || os(macOS)
|
|
28
|
+
return .high
|
|
29
|
+
#else
|
|
30
|
+
return .automatic
|
|
31
|
+
#endif
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
#endif
|
|
35
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Copyright 2015-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import SwiftUI
|
|
5
|
+
|
|
6
|
+
internal enum ScrollEdgeEffectStyleOptions: String, Enumerable {
|
|
7
|
+
case automatic
|
|
8
|
+
case hard
|
|
9
|
+
case soft
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
internal struct ScrollEdgeEffectStyleModifier: ViewModifier, Record {
|
|
13
|
+
@Field var style: ScrollEdgeEffectStyleOptions = .automatic
|
|
14
|
+
@Field var edges: EdgeOptions = .all
|
|
15
|
+
|
|
16
|
+
func body(content: Content) -> some View {
|
|
17
|
+
#if compiler(>=6.2) && !os(tvOS) && !os(macOS) // Xcode 26
|
|
18
|
+
if #available(iOS 26.0, *) {
|
|
19
|
+
switch style {
|
|
20
|
+
case .automatic:
|
|
21
|
+
content.scrollEdgeEffectStyle(.automatic, for: edges.toEdge())
|
|
22
|
+
case .hard:
|
|
23
|
+
content.scrollEdgeEffectStyle(.hard, for: edges.toEdge())
|
|
24
|
+
case .soft:
|
|
25
|
+
content.scrollEdgeEffectStyle(.soft, for: edges.toEdge())
|
|
26
|
+
}
|
|
27
|
+
} else {
|
|
28
|
+
content
|
|
29
|
+
}
|
|
30
|
+
#else
|
|
31
|
+
content
|
|
32
|
+
#endif
|
|
33
|
+
}
|
|
34
|
+
}
|
|
@@ -2317,6 +2317,10 @@ extension ViewModifierRegistry {
|
|
|
2317
2317
|
return try ScrollIndicatorsModifier(from: params, appContext: appContext)
|
|
2318
2318
|
}
|
|
2319
2319
|
|
|
2320
|
+
register("scrollEdgeEffectStyle") { params, appContext, _ in
|
|
2321
|
+
return try ScrollEdgeEffectStyleModifier(from: params, appContext: appContext)
|
|
2322
|
+
}
|
|
2323
|
+
|
|
2320
2324
|
register("tabViewStyle") { params, appContext, _ in
|
|
2321
2325
|
return try TabViewStyleModifier(from: params, appContext: appContext)
|
|
2322
2326
|
}
|
package/ios/ToolbarView.swift
CHANGED
|
@@ -5,6 +5,42 @@ import ExpoModulesCore
|
|
|
5
5
|
|
|
6
6
|
internal final class ToolbarViewProps: UIBaseViewProps {}
|
|
7
7
|
|
|
8
|
+
private struct ToolbarContentView: View {
|
|
9
|
+
@ObservedObject var props: SlotViewProps
|
|
10
|
+
let content: SlotView
|
|
11
|
+
let base: AnyView
|
|
12
|
+
|
|
13
|
+
@ViewBuilder
|
|
14
|
+
var body: some View {
|
|
15
|
+
let children = props.children ?? []
|
|
16
|
+
|
|
17
|
+
if children.contains(where: isItem) {
|
|
18
|
+
children.reduce(base) { view, child in
|
|
19
|
+
let childView: any View = child.childView
|
|
20
|
+
|
|
21
|
+
guard let slot = child.childView as? SlotView, slot.props.name == "item" else {
|
|
22
|
+
return AnyView(placed(AnyView(childView), on: view, placement: .automatic, visibilityPriority: nil))
|
|
23
|
+
}
|
|
24
|
+
return AnyView(ToolbarItemLayer(props: slot.props, base: view, content: AnyView(childView)))
|
|
25
|
+
}
|
|
26
|
+
} else {
|
|
27
|
+
base.toolbar {
|
|
28
|
+
content
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
private struct ToolbarItemLayer: View {
|
|
35
|
+
@ObservedObject var props: SlotViewProps
|
|
36
|
+
let base: AnyView
|
|
37
|
+
let content: AnyView
|
|
38
|
+
|
|
39
|
+
var body: some View {
|
|
40
|
+
placed(content, on: base, placement: placement(from: props), visibilityPriority: visibilityPriority(from: props))
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
8
44
|
internal struct ToolbarView: ExpoSwiftUI.View {
|
|
9
45
|
@ObservedObject var props: ToolbarViewProps
|
|
10
46
|
|
|
@@ -14,10 +50,7 @@ internal struct ToolbarView: ExpoSwiftUI.View {
|
|
|
14
50
|
|
|
15
51
|
var body: some View {
|
|
16
52
|
if let content = props.children?.slot("content") {
|
|
17
|
-
baseContent
|
|
18
|
-
.toolbar {
|
|
19
|
-
content
|
|
20
|
-
}
|
|
53
|
+
ToolbarContentView(props: content.props, content: content, base: AnyView(baseContent))
|
|
21
54
|
} else {
|
|
22
55
|
baseContent
|
|
23
56
|
}
|
|
@@ -31,3 +64,54 @@ internal struct ToolbarView: ExpoSwiftUI.View {
|
|
|
31
64
|
}
|
|
32
65
|
}
|
|
33
66
|
}
|
|
67
|
+
|
|
68
|
+
@ViewBuilder
|
|
69
|
+
private func placed(
|
|
70
|
+
_ content: AnyView,
|
|
71
|
+
on base: AnyView,
|
|
72
|
+
placement: ToolbarItemPlacement,
|
|
73
|
+
visibilityPriority: ToolbarItemVisibilityPriorityOptions?
|
|
74
|
+
) -> some View {
|
|
75
|
+
#if compiler(>=6.4) // Xcode 27
|
|
76
|
+
if #available(iOS 27.0, macOS 26.1, tvOS 27.0, visionOS 27.0, *),
|
|
77
|
+
let visibilityPriority {
|
|
78
|
+
base.toolbar {
|
|
79
|
+
ToolbarItem(placement: placement) {
|
|
80
|
+
content
|
|
81
|
+
}
|
|
82
|
+
.visibilityPriority(visibilityPriority.toPriority())
|
|
83
|
+
}
|
|
84
|
+
} else {
|
|
85
|
+
base.toolbar {
|
|
86
|
+
ToolbarItem(placement: placement) {
|
|
87
|
+
content
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
#else
|
|
92
|
+
base.toolbar {
|
|
93
|
+
ToolbarItem(placement: placement) {
|
|
94
|
+
content
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
#endif
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
private func isItem(_ child: any ExpoSwiftUI.AnyChild) -> Bool {
|
|
101
|
+
return (child.childView as? SlotView)?.props.name == "item"
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
private func placement(from props: SlotViewProps) -> ToolbarItemPlacement {
|
|
105
|
+
guard let rawPlacement = props.extraProps?["placement"] as? String,
|
|
106
|
+
let placement = ToolbarItemPlacementOptions(rawValue: rawPlacement) else {
|
|
107
|
+
return .automatic
|
|
108
|
+
}
|
|
109
|
+
return placement.toPlacement()
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
private func visibilityPriority(from props: SlotViewProps) -> ToolbarItemVisibilityPriorityOptions? {
|
|
113
|
+
guard let rawPriority = props.extraProps?["visibilityPriority"] as? String else {
|
|
114
|
+
return nil
|
|
115
|
+
}
|
|
116
|
+
return ToolbarItemVisibilityPriorityOptions(rawValue: rawPriority)
|
|
117
|
+
}
|
|
Binary file
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
feafc8819618513e9a38001814fc14e2
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
749807825339b7f72362b37e830ea704ec60f72d
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
c42bba76435f8b36b4fc0ed86a8290f9e1ccaa3a0ebe4cb6e77d029a4be92be6
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
d105c1535934d743de599730ba9b0501a424eece52f1a4190b3764b4e7e280be42e3c9b880e4f80bef8ab6299938a0da275c00d342c593fd54375574d0ecd3ae
|
|
Binary file
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.aar.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
317b952ccecb056bea4a1e5b20b7b5bf
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.aar.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
77a2cb3cfd3195ad299b84c7d844dcb10d52fbe9
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.aar.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7576f0fb76c81d2a1925ffa93e4175b8ab41c4c47a7c4c375b73707812438133
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.aar.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
408cceb3d6f97d29c6e734ab578c86c5c2c3f65fba19170bf1edc1f30648e6906b3a0e2284f1721543450bb579ddf37e54b00a51d21f9e5d77ad82e0857fef02
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"component": {
|
|
4
4
|
"group": "expo.modules.ui",
|
|
5
5
|
"module": "expo.modules.ui",
|
|
6
|
-
"version": "58.0.
|
|
6
|
+
"version": "58.0.4",
|
|
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-58.0.
|
|
28
|
-
"url": "expo.modules.ui-58.0.
|
|
29
|
-
"size":
|
|
30
|
-
"sha512": "
|
|
31
|
-
"sha256": "
|
|
32
|
-
"sha1": "
|
|
33
|
-
"md5": "
|
|
27
|
+
"name": "expo.modules.ui-58.0.4.aar",
|
|
28
|
+
"url": "expo.modules.ui-58.0.4.aar",
|
|
29
|
+
"size": 1789426,
|
|
30
|
+
"sha512": "408cceb3d6f97d29c6e734ab578c86c5c2c3f65fba19170bf1edc1f30648e6906b3a0e2284f1721543450bb579ddf37e54b00a51d21f9e5d77ad82e0857fef02",
|
|
31
|
+
"sha256": "7576f0fb76c81d2a1925ffa93e4175b8ab41c4c47a7c4c375b73707812438133",
|
|
32
|
+
"sha1": "77a2cb3cfd3195ad299b84c7d844dcb10d52fbe9",
|
|
33
|
+
"md5": "317b952ccecb056bea4a1e5b20b7b5bf"
|
|
34
34
|
}
|
|
35
35
|
]
|
|
36
36
|
},
|
|
@@ -141,13 +141,13 @@
|
|
|
141
141
|
],
|
|
142
142
|
"files": [
|
|
143
143
|
{
|
|
144
|
-
"name": "expo.modules.ui-58.0.
|
|
145
|
-
"url": "expo.modules.ui-58.0.
|
|
146
|
-
"size":
|
|
147
|
-
"sha512": "
|
|
148
|
-
"sha256": "
|
|
149
|
-
"sha1": "
|
|
150
|
-
"md5": "
|
|
144
|
+
"name": "expo.modules.ui-58.0.4.aar",
|
|
145
|
+
"url": "expo.modules.ui-58.0.4.aar",
|
|
146
|
+
"size": 1789426,
|
|
147
|
+
"sha512": "408cceb3d6f97d29c6e734ab578c86c5c2c3f65fba19170bf1edc1f30648e6906b3a0e2284f1721543450bb579ddf37e54b00a51d21f9e5d77ad82e0857fef02",
|
|
148
|
+
"sha256": "7576f0fb76c81d2a1925ffa93e4175b8ab41c4c47a7c4c375b73707812438133",
|
|
149
|
+
"sha1": "77a2cb3cfd3195ad299b84c7d844dcb10d52fbe9",
|
|
150
|
+
"md5": "317b952ccecb056bea4a1e5b20b7b5bf"
|
|
151
151
|
}
|
|
152
152
|
]
|
|
153
153
|
},
|
|
@@ -161,13 +161,13 @@
|
|
|
161
161
|
},
|
|
162
162
|
"files": [
|
|
163
163
|
{
|
|
164
|
-
"name": "expo.modules.ui-58.0.
|
|
165
|
-
"url": "expo.modules.ui-58.0.
|
|
166
|
-
"size":
|
|
167
|
-
"sha512": "
|
|
168
|
-
"sha256": "
|
|
169
|
-
"sha1": "
|
|
170
|
-
"md5": "
|
|
164
|
+
"name": "expo.modules.ui-58.0.4-sources.jar",
|
|
165
|
+
"url": "expo.modules.ui-58.0.4-sources.jar",
|
|
166
|
+
"size": 106170,
|
|
167
|
+
"sha512": "d105c1535934d743de599730ba9b0501a424eece52f1a4190b3764b4e7e280be42e3c9b880e4f80bef8ab6299938a0da275c00d342c593fd54375574d0ecd3ae",
|
|
168
|
+
"sha256": "c42bba76435f8b36b4fc0ed86a8290f9e1ccaa3a0ebe4cb6e77d029a4be92be6",
|
|
169
|
+
"sha1": "749807825339b7f72362b37e830ea704ec60f72d",
|
|
170
|
+
"md5": "feafc8819618513e9a38001814fc14e2"
|
|
171
171
|
}
|
|
172
172
|
]
|
|
173
173
|
}
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.module.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6f395b4604efe8cb782c2d07ed0a034f
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.module.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
a5735cfc927a4a919d056a8d002778b3b03a9571
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.module.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
6ac59cdec02bfaab3cc9a0201b3f3efc2472ebdae06731eb1754f50be6adeb56
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.module.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dd59787b0055dc18c4dae85147258bdbce099df415a74de7bd47a403b17d9138fdffbf7351e383761e9bea7c3c7aa72ed062784da242edfa312a4d8a4703e4dd
|
|
@@ -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>58.0.
|
|
12
|
+
<version>58.0.4</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/58.0.4/expo.modules.ui-58.0.4.pom.md5
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
7d3bc2e18bfdc6ff7dde3b9952e57b0d
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.pom.sha1
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
686f495f389f5d58061c48dd2be09c59dff6d282
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.pom.sha256
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ed17ef29d2de582e5dd219506d2f5c6a83ae6b9499877a208b82c4642389afab
|
package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.4/expo.modules.ui-58.0.4.pom.sha512
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ec8c0d91c6f8c40ced69d655e02868faa9945e2417cd82852b5455e3ddec9a1a23b14093fbb0e07093570af8823812af20ad0a61d84c035ae88fb093d0aee7fd
|
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
<groupId>expo.modules.ui</groupId>
|
|
4
4
|
<artifactId>expo.modules.ui</artifactId>
|
|
5
5
|
<versioning>
|
|
6
|
-
<latest>58.0.
|
|
7
|
-
<release>58.0.
|
|
6
|
+
<latest>58.0.4</latest>
|
|
7
|
+
<release>58.0.4</release>
|
|
8
8
|
<versions>
|
|
9
|
-
<version>58.0.
|
|
9
|
+
<version>58.0.4</version>
|
|
10
10
|
</versions>
|
|
11
|
-
<lastUpdated>
|
|
11
|
+
<lastUpdated>20260921105157</lastUpdated>
|
|
12
12
|
</versioning>
|
|
13
13
|
</metadata>
|