@expo/ui 58.0.2 → 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 +17 -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 +75 -0
- package/build/swift-ui/NavigationSplitView/index.js +59 -0
- package/build/swift-ui/NavigationSplitView/index.js.map +1 -0
- 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/index.d.ts +1 -0
- package/build/swift-ui/index.js +1 -0
- package/build/swift-ui/index.js.map +1 -1
- package/build/swift-ui/modifiers/index.d.ts +16 -1
- package/build/swift-ui/modifiers/index.js +17 -0
- package/build/swift-ui/modifiers/index.js.map +1 -1
- package/build/swift-ui/modifiers/navigationModifiers.d.ts +27 -0
- package/build/swift-ui/modifiers/navigationModifiers.js +15 -0
- package/build/swift-ui/modifiers/navigationModifiers.js.map +1 -0
- 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/ExpoUIModule.swift +1 -0
- package/ios/HostView.swift +7 -7
- package/ios/Modifiers/NavigationModifiers.swift +44 -0
- package/ios/Modifiers/ScrollEdgeEffectStyleModifier.swift +34 -0
- package/ios/Modifiers/ViewModifierRegistry.swift +12 -0
- package/ios/NavigationSplitViewView.swift +180 -0
- package/ios/ToolbarView.swift +88 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.2/expo.modules.ui-58.0.2-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.2/expo.modules.ui-58.0.2.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.2/expo.modules.ui-58.0.2.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.2/expo.modules.ui-58.0.2.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/NavigationSplitView/index.tsx +122 -0
- package/src/swift-ui/Toolbar/index.tsx +79 -0
- package/src/swift-ui/index.tsx +1 -0
- package/src/swift-ui/modifiers/index.ts +20 -0
- package/src/swift-ui/modifiers/navigationModifiers.ts +42 -0
- package/.gitignore +0 -2
- package/.npmignore +0 -27
- package/.tsbuildinfo +0 -1
- package/android/.gitignore +0 -261
- package/jest.config.js +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.2/expo.modules.ui-58.0.2.pom.sha512 +0 -1
- package/plugin/.tsbuildinfo +0 -1
- package/plugin/jest.config.js +0 -1
- package/plugin/tsconfig.json +0 -10
- package/plugin/tsconfig.tsbuildinfo +0 -1
- package/tsconfig.all.json +0 -11
- package/tsconfig.json +0 -11
|
@@ -5,4 +5,4 @@ import type { FieldSectionProps } from './types';
|
|
|
5
5
|
* or nest a `<FieldGroup.SectionHeader>` / `<FieldGroup.SectionFooter>`
|
|
6
6
|
* child for fully custom header / footer content.
|
|
7
7
|
*/
|
|
8
|
-
export declare function FieldSection({ children, title, style, onAppear, onDisappear, hidden, testID, titleUppercase, }: FieldSectionProps): import("react
|
|
8
|
+
export declare function FieldSection({ children, title, style, onAppear, onDisappear, hidden, testID, titleUppercase, }: FieldSectionProps): import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@ import type { FieldSectionProps } from './types';
|
|
|
6
6
|
* [`Section`](https://developer.apple.com/documentation/swiftui/section),
|
|
7
7
|
* which handles row layout, dividers, and grouped-inset styling.
|
|
8
8
|
*/
|
|
9
|
-
export declare function FieldSection({ children, title, style, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: FieldSectionProps): import("react
|
|
9
|
+
export declare function FieldSection({ children, title, style, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: FieldSectionProps): import("react").JSX.Element;
|
|
@@ -7,7 +7,7 @@ import type { FieldSectionFooterProps, FieldSectionHeaderProps } from './types';
|
|
|
7
7
|
* Its only job is to tag a slot — the parent `FieldGroup.Section` extracts
|
|
8
8
|
* and renders the children in the header position.
|
|
9
9
|
*/
|
|
10
|
-
export declare function Header(props: FieldSectionHeaderProps): import("react
|
|
10
|
+
export declare function Header(props: FieldSectionHeaderProps): import("react").JSX.Element;
|
|
11
11
|
/**
|
|
12
12
|
* Marker component that designates its children as the footer of the
|
|
13
13
|
* enclosing [`FieldGroup.Section`](#fieldgroupsection). Used via the
|
|
@@ -15,7 +15,7 @@ export declare function Header(props: FieldSectionHeaderProps): import("react/js
|
|
|
15
15
|
* Its only job is to tag a slot — the parent `FieldGroup.Section` extracts
|
|
16
16
|
* and renders the children in the footer position.
|
|
17
17
|
*/
|
|
18
|
-
export declare function Footer(props: FieldSectionFooterProps): import("react
|
|
18
|
+
export declare function Footer(props: FieldSectionFooterProps): import("react").JSX.Element;
|
|
19
19
|
export type ExtractedFieldSectionSlots = {
|
|
20
20
|
header?: ReactNode;
|
|
21
21
|
footer?: ReactNode;
|
|
@@ -3,5 +3,5 @@ import type { UniversalHostProps } from './types';
|
|
|
3
3
|
* A bridging container that hosts SwiftUI views on iOS and Jetpack Compose views on Android.
|
|
4
4
|
* On platforms without a native UI-toolkit binding (web, RN fallback), renders a plain `View`.
|
|
5
5
|
*/
|
|
6
|
-
export declare function Host({ children, colorScheme, seedColor, ignoreSafeArea, layoutDirection, matchContents, onLayout, onLayoutContent, style, useViewportSizeMeasurement, ...rest }: UniversalHostProps): import("react
|
|
6
|
+
export declare function Host({ children, colorScheme, seedColor, ignoreSafeArea, layoutDirection, matchContents, onLayout, onLayoutContent, style, useViewportSizeMeasurement, ...rest }: UniversalHostProps): import("react").JSX.Element;
|
|
7
7
|
export type { UniversalHostProps } from './types';
|
|
@@ -11,7 +11,7 @@ import type { IconProps, IconSelectSpec } from './types';
|
|
|
11
11
|
* `clickable` applied directly to it. With no `onPress`, the bare Compose
|
|
12
12
|
* `Icon` is rendered for a leaner native tree.
|
|
13
13
|
*/
|
|
14
|
-
export declare function Icon({ name, size, color, accessibilityLabel, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: IconProps): import("react
|
|
14
|
+
export declare function Icon({ name, size, color, accessibilityLabel, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: IconProps): import("react").JSX.Element | null;
|
|
15
15
|
export declare namespace Icon {
|
|
16
16
|
var select: (spec: IconSelectSpec) => ImageSourcePropType;
|
|
17
17
|
}
|
|
@@ -3,7 +3,7 @@ import type { IconProps, IconSelectSpec } from './types';
|
|
|
3
3
|
* Universal `Icon` component. On iOS, renders an SF Symbol via SwiftUI's
|
|
4
4
|
* `Image(systemName:)`.
|
|
5
5
|
*/
|
|
6
|
-
export declare function Icon({ name, size, color, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: IconProps): import("react
|
|
6
|
+
export declare function Icon({ name, size, color, style, onPress, onAppear, onDisappear, disabled, hidden, testID, modifiers: extraModifiers, }: IconProps): import("react").JSX.Element;
|
|
7
7
|
export declare namespace Icon {
|
|
8
8
|
var select: (spec: IconSelectSpec) => import("sf-symbols-typescript").SFSymbols7_0;
|
|
9
9
|
}
|
|
@@ -4,5 +4,5 @@ import type { ListProps } from './types';
|
|
|
4
4
|
* Composes `LazyColumn` and wraps with `PullToRefreshBox` when `onRefresh` is provided.
|
|
5
5
|
* The returned promise drives the refresh indicator's visibility.
|
|
6
6
|
*/
|
|
7
|
-
export declare function List({ children, onRefresh, testID }: ListProps): import("react
|
|
7
|
+
export declare function List({ children, onRefresh, testID }: ListProps): import("react").JSX.Element;
|
|
8
8
|
export * from './types';
|
|
@@ -3,5 +3,5 @@ import type { ListProps } from './types';
|
|
|
3
3
|
* A vertical container of rows.
|
|
4
4
|
* Typically populated with [`ListItem`](#listitem) children.
|
|
5
5
|
*/
|
|
6
|
-
export declare function List({ children, testID }: ListProps): import("react
|
|
6
|
+
export declare function List({ children, testID }: ListProps): import("react").JSX.Element;
|
|
7
7
|
export * from './types';
|
|
@@ -3,5 +3,5 @@ import type { ListProps } from './types';
|
|
|
3
3
|
* iOS implementation of `List`.
|
|
4
4
|
* Delegates to SwiftUI's `List` and applies `.refreshable` when `onRefresh` is provided.
|
|
5
5
|
*/
|
|
6
|
-
export declare function List({ children, onRefresh, testID }: ListProps): import("react
|
|
6
|
+
export declare function List({ children, onRefresh, testID }: ListProps): import("react").JSX.Element;
|
|
7
7
|
export * from './types';
|
|
@@ -3,5 +3,5 @@ import type { ListItemProps } from './types';
|
|
|
3
3
|
* Android implementation of `ListItem`.
|
|
4
4
|
* Delegates to Material 3 `ListItem` and applies `clickable` for tap handling.
|
|
5
5
|
*/
|
|
6
|
-
export declare function ListItem(props: ListItemProps): import("react
|
|
6
|
+
export declare function ListItem(props: ListItemProps): import("react").JSX.Element;
|
|
7
7
|
export * from './types';
|
|
@@ -4,5 +4,5 @@ import type { ListItemProps } from './types';
|
|
|
4
4
|
* Composes with [`List`](#list).
|
|
5
5
|
* Pass row content via the `leading` / `trailing` / `supportingText` shorthand props or the compound `<ListItem.Leading>` / `<ListItem.Trailing>` / `<ListItem.Supporting>` slot children.
|
|
6
6
|
*/
|
|
7
|
-
export declare function ListItem(props: ListItemProps): import("react
|
|
7
|
+
export declare function ListItem(props: ListItemProps): import("react").JSX.Element;
|
|
8
8
|
export * from './types';
|
|
@@ -3,5 +3,5 @@ import type { ListItemProps } from './types';
|
|
|
3
3
|
* iOS implementation of `ListItem`.
|
|
4
4
|
* Wraps a plain SwiftUI `Button` and applies `contentShape(.rectangle())` so the full row rectangle registers taps, including the gap between slots.
|
|
5
5
|
*/
|
|
6
|
-
export declare function ListItem(props: ListItemProps): import("react
|
|
6
|
+
export declare function ListItem(props: ListItemProps): import("react").JSX.Element;
|
|
7
7
|
export * from './types';
|
|
@@ -4,5 +4,5 @@ import type { PickerItemValue, PickerProps } from './types';
|
|
|
4
4
|
* Renders a Material 3 `ExposedDropdownMenuBox`.
|
|
5
5
|
* `appearance` is accepted for API parity but ignored — Material 3 has no wheel-style picker.
|
|
6
6
|
*/
|
|
7
|
-
export declare function Picker<T extends PickerItemValue>({ selectedValue, onValueChange, enabled, children, }: PickerProps<T>): import("react
|
|
7
|
+
export declare function Picker<T extends PickerItemValue>({ selectedValue, onValueChange, enabled, children, }: PickerProps<T>): import("react").JSX.Element;
|
|
8
8
|
export * from './types';
|
|
@@ -3,5 +3,5 @@ import type { PickerItemValue, PickerProps } from './types';
|
|
|
3
3
|
* A single-selection input.
|
|
4
4
|
* Declare options via `<Picker.Item label value />` children.
|
|
5
5
|
*/
|
|
6
|
-
export declare function Picker<T extends PickerItemValue>({ selectedValue, onValueChange, enabled, children, testID, }: PickerProps<T>): import("react
|
|
6
|
+
export declare function Picker<T extends PickerItemValue>({ selectedValue, onValueChange, enabled, children, testID, }: PickerProps<T>): import("react").JSX.Element;
|
|
7
7
|
export * from './types';
|
|
@@ -4,5 +4,5 @@ import type { PickerItemValue, PickerProps } from './types';
|
|
|
4
4
|
* Wraps SwiftUI's `Picker` and applies the matching `.pickerStyle` for the requested `appearance`.
|
|
5
5
|
* Embed inside a parent `<Host>` (same as `Column` / `Row`).
|
|
6
6
|
*/
|
|
7
|
-
export declare function Picker<T extends PickerItemValue>({ selectedValue, onValueChange, appearance, enabled, children, testID, }: PickerProps<T>): import("react
|
|
7
|
+
export declare function Picker<T extends PickerItemValue>({ selectedValue, onValueChange, appearance, enabled, children, testID, }: PickerProps<T>): import("react").JSX.Element;
|
|
8
8
|
export * from './types';
|
|
@@ -2,5 +2,5 @@ import type { RNHostViewProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Hosts React Native views inside Jetpack Compose views.
|
|
4
4
|
*/
|
|
5
|
-
export declare function RNHostView({ children, matchContents, style, onAppear, onDisappear, disabled, hidden, testID, onLayout, modifiers: extraModifiers, }: RNHostViewProps): import("react
|
|
5
|
+
export declare function RNHostView({ children, matchContents, style, onAppear, onDisappear, disabled, hidden, testID, onLayout, modifiers: extraModifiers, }: RNHostViewProps): import("react").JSX.Element;
|
|
6
6
|
export * from './types';
|
|
@@ -2,5 +2,5 @@ import type { RNHostViewProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Hosts React Native views inside Jetpack Compose or SwiftUI views.
|
|
4
4
|
*/
|
|
5
|
-
export declare function RNHostView({ children, style, onAppear, onDisappear, hidden, testID, matchContents, onLayout, }: RNHostViewProps): import("react
|
|
5
|
+
export declare function RNHostView({ children, style, onAppear, onDisappear, hidden, testID, matchContents, onLayout, }: RNHostViewProps): import("react").JSX.Element;
|
|
6
6
|
export * from './types';
|
|
@@ -2,5 +2,5 @@ import type { RNHostViewProps } from './types';
|
|
|
2
2
|
/**
|
|
3
3
|
* Hosts React Native views inside SwiftUI views.
|
|
4
4
|
*/
|
|
5
|
-
export declare function RNHostView({ children, matchContents, onLayout }: RNHostViewProps): import("react
|
|
5
|
+
export declare function RNHostView({ children, matchContents, onLayout }: RNHostViewProps): 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 | 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
|
+
}
|
package/ios/ExpoUIModule.swift
CHANGED
package/ios/HostView.swift
CHANGED
|
@@ -36,7 +36,7 @@ internal enum ExpoLayoutDirection: String, Enumerable {
|
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
internal final class HostViewProps: ExpoSwiftUI.ViewProps, ExpoSwiftUI.SafeAreaControllable {
|
|
39
|
+
internal final class HostViewProps: ExpoSwiftUI.ViewProps, ExpoSwiftUI.SafeAreaControllable, ExpoSwiftUI.HostingViewAware {
|
|
40
40
|
@Field var useViewportSizeMeasurement: Bool = false
|
|
41
41
|
@Field var colorScheme: ExpoColorScheme?
|
|
42
42
|
@Field var seedColor: Color?
|
|
@@ -46,6 +46,7 @@ internal final class HostViewProps: ExpoSwiftUI.ViewProps, ExpoSwiftUI.SafeAreaC
|
|
|
46
46
|
@Field var ignoreSafeArea: ExpoSwiftUI.IgnoreSafeArea?
|
|
47
47
|
@Field var modifiers: ModifierArray?
|
|
48
48
|
var onLayoutContent = EventDispatcher()
|
|
49
|
+
weak var hostingView: UIView?
|
|
49
50
|
}
|
|
50
51
|
|
|
51
52
|
struct HostView: ExpoSwiftUI.View, ExpoSwiftUI.WithHostingView {
|
|
@@ -60,7 +61,7 @@ struct HostView: ExpoSwiftUI.View, ExpoSwiftUI.WithHostingView {
|
|
|
60
61
|
if #available(iOS 16.0, tvOS 16.0, macOS 13.0, *) {
|
|
61
62
|
// swiftlint:disable:next identifier_name
|
|
62
63
|
let HostLayout = props.useViewportSizeMeasurement
|
|
63
|
-
? AnyLayout(ViewportSizeMeasurementLayout(layoutDirection: layoutDirection))
|
|
64
|
+
? AnyLayout(ViewportSizeMeasurementLayout(layoutDirection: layoutDirection, hostingView: props.hostingView))
|
|
64
65
|
: AnyLayout(ZStackLayout(alignment: alignment))
|
|
65
66
|
HostLayout {
|
|
66
67
|
Children()
|
|
@@ -105,6 +106,7 @@ struct HostView: ExpoSwiftUI.View, ExpoSwiftUI.WithHostingView {
|
|
|
105
106
|
@available(iOS 16.0, tvOS 16.0, macOS 13.0, *)
|
|
106
107
|
private struct ViewportSizeMeasurementLayout: Layout {
|
|
107
108
|
let layoutDirection: LayoutDirection
|
|
109
|
+
weak var hostingView: UIView?
|
|
108
110
|
|
|
109
111
|
func sizeThatFits(proposal: ProposedViewSize, subviews: Subviews, cache: inout ()) -> CGSize {
|
|
110
112
|
let maxSize = safeAreaSize()
|
|
@@ -144,12 +146,10 @@ private struct ViewportSizeMeasurementLayout: Layout {
|
|
|
144
146
|
#if os(macOS)
|
|
145
147
|
// `SceneGeometry` is built on `UIWindowScene`, which has no macOS counterpart. The closest
|
|
146
148
|
// analogue to a window's safe area is its content layout rect, which excludes the title bar.
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
}
|
|
150
|
-
return window.contentLayoutRect.size
|
|
149
|
+
let window = hostingView?.window ?? NSApplication.shared.keyWindow ?? NSApplication.shared.windows.first
|
|
150
|
+
return window?.contentLayoutRect.size ?? .zero
|
|
151
151
|
#else
|
|
152
|
-
return SceneGeometry.safeAreaSize()
|
|
152
|
+
return SceneGeometry.safeAreaSize(for: hostingView)
|
|
153
153
|
#endif
|
|
154
154
|
}
|
|
155
155
|
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
// Copyright 2025-present 650 Industries. All rights reserved.
|
|
2
|
+
|
|
3
|
+
import ExpoModulesCore
|
|
4
|
+
import SwiftUI
|
|
5
|
+
|
|
6
|
+
internal enum NavigationSplitViewStyleOptions: String, Enumerable {
|
|
7
|
+
case automatic
|
|
8
|
+
case balanced
|
|
9
|
+
case prominentDetail
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
internal struct NavigationSplitViewStyleModifier: ViewModifier, Record {
|
|
13
|
+
@Field var style: NavigationSplitViewStyleOptions = .automatic
|
|
14
|
+
|
|
15
|
+
@ViewBuilder
|
|
16
|
+
func body(content: Content) -> some View {
|
|
17
|
+
switch style {
|
|
18
|
+
case .automatic:
|
|
19
|
+
content.navigationSplitViewStyle(.automatic)
|
|
20
|
+
case .balanced:
|
|
21
|
+
content.navigationSplitViewStyle(.balanced)
|
|
22
|
+
case .prominentDetail:
|
|
23
|
+
content.navigationSplitViewStyle(.prominentDetail)
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
internal struct NavigationSplitViewColumnWidthModifier: ViewModifier, Record {
|
|
29
|
+
@Field var width: CGFloat?
|
|
30
|
+
@Field var min: CGFloat?
|
|
31
|
+
@Field var ideal: CGFloat?
|
|
32
|
+
@Field var max: CGFloat?
|
|
33
|
+
|
|
34
|
+
@ViewBuilder
|
|
35
|
+
func body(content: Content) -> some View {
|
|
36
|
+
if let width {
|
|
37
|
+
content.navigationSplitViewColumnWidth(width)
|
|
38
|
+
} else if let ideal {
|
|
39
|
+
content.navigationSplitViewColumnWidth(min: min, ideal: ideal, max: max)
|
|
40
|
+
} else {
|
|
41
|
+
content
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
}
|
|
@@ -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
|
+
}
|