@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
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { type CommonViewModifierProps } from '../types';
|
|
2
2
|
export interface AccessoryWidgetBackgroundProps extends CommonViewModifierProps {
|
|
3
3
|
}
|
|
4
|
-
export declare function AccessoryWidgetBackground(props: AccessoryWidgetBackgroundProps): import("react
|
|
4
|
+
export declare function AccessoryWidgetBackground(props: AccessoryWidgetBackgroundProps): import("react").JSX.Element;
|
|
@@ -26,16 +26,16 @@ export interface AlertProps extends CommonViewModifierProps {
|
|
|
26
26
|
*
|
|
27
27
|
* @see Official [SwiftUI documentation](https://developer.apple.com/documentation/swiftui/view/alert(_:ispresented:actions:message:)).
|
|
28
28
|
*/
|
|
29
|
-
declare function Alert(props: AlertProps): import("react
|
|
29
|
+
declare function Alert(props: AlertProps): import("react").JSX.Element;
|
|
30
30
|
declare namespace Alert {
|
|
31
31
|
var Trigger: (props: {
|
|
32
32
|
children: React.ReactNode;
|
|
33
|
-
}) => import("react
|
|
33
|
+
}) => import("react").JSX.Element;
|
|
34
34
|
var Actions: (props: {
|
|
35
35
|
children: React.ReactNode;
|
|
36
|
-
}) => import("react
|
|
36
|
+
}) => import("react").JSX.Element;
|
|
37
37
|
var Message: (props: {
|
|
38
38
|
children: React.ReactNode;
|
|
39
|
-
}) => import("react
|
|
39
|
+
}) => import("react").JSX.Element;
|
|
40
40
|
}
|
|
41
41
|
export { Alert };
|
|
@@ -9,8 +9,8 @@ export interface BackgroundProps extends CommonViewModifierProps {
|
|
|
9
9
|
}
|
|
10
10
|
declare function BackgroundContent(props: {
|
|
11
11
|
children: React.ReactNode;
|
|
12
|
-
}): import("react
|
|
13
|
-
export declare function Background(props: BackgroundProps): import("react
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
export declare function Background(props: BackgroundProps): import("react").JSX.Element;
|
|
14
14
|
export declare namespace Background {
|
|
15
15
|
var Content: typeof BackgroundContent;
|
|
16
16
|
}
|
|
@@ -33,5 +33,5 @@ export interface BottomSheetProps extends CommonViewModifierProps {
|
|
|
33
33
|
/**
|
|
34
34
|
* `BottomSheet` presents content from the bottom of the screen.
|
|
35
35
|
*/
|
|
36
|
-
declare function BottomSheet(props: BottomSheetProps): import("react
|
|
36
|
+
declare function BottomSheet(props: BottomSheetProps): import("react").JSX.Element;
|
|
37
37
|
export { BottomSheet };
|
|
@@ -195,4 +195,4 @@ export interface ChartProps extends CommonViewModifierProps {
|
|
|
195
195
|
*/
|
|
196
196
|
export declare function Chart({ style, data, modifiers, referenceLines, ...props }: ChartProps & {
|
|
197
197
|
style?: StyleProp<ViewStyle>;
|
|
198
|
-
}): import("react
|
|
198
|
+
}): import("react").JSX.Element;
|
|
@@ -21,4 +21,4 @@ export interface ColorPickerProps extends CommonViewModifierProps {
|
|
|
21
21
|
* Renders a `ColorPicker` component using SwiftUI.
|
|
22
22
|
* @platform ios
|
|
23
23
|
*/
|
|
24
|
-
export declare function ColorPicker({ selection, onSelectionChange, modifiers, ...restProps }: ColorPickerProps): import("react
|
|
24
|
+
export declare function ColorPicker({ selection, onSelectionChange, modifiers, ...restProps }: ColorPickerProps): import("react").JSX.Element;
|
|
@@ -31,16 +31,16 @@ export interface ConfirmationDialogProps extends CommonViewModifierProps {
|
|
|
31
31
|
*
|
|
32
32
|
* @see https://developer.apple.com/documentation/swiftui/view/confirmationdialog(_:ispresented:titlevisibility:actions:message:)
|
|
33
33
|
*/
|
|
34
|
-
declare function ConfirmationDialog(props: ConfirmationDialogProps): import("react
|
|
34
|
+
declare function ConfirmationDialog(props: ConfirmationDialogProps): import("react").JSX.Element;
|
|
35
35
|
declare namespace ConfirmationDialog {
|
|
36
36
|
var Trigger: (props: {
|
|
37
37
|
children: React.ReactNode;
|
|
38
|
-
}) => import("react
|
|
38
|
+
}) => import("react").JSX.Element;
|
|
39
39
|
var Actions: (props: {
|
|
40
40
|
children: React.ReactNode;
|
|
41
|
-
}) => import("react
|
|
41
|
+
}) => import("react").JSX.Element;
|
|
42
42
|
var Message: (props: {
|
|
43
43
|
children: React.ReactNode;
|
|
44
|
-
}) => import("react
|
|
44
|
+
}) => import("react").JSX.Element;
|
|
45
45
|
}
|
|
46
46
|
export { ConfirmationDialog };
|
|
@@ -19,4 +19,4 @@ export interface ContentUnavailableViewProps extends CommonViewModifierProps {
|
|
|
19
19
|
* @platform ios 17.0+
|
|
20
20
|
* @platform tvos 17.0+
|
|
21
21
|
*/
|
|
22
|
-
export declare function ContentUnavailableView(props: ContentUnavailableViewProps): import("react
|
|
22
|
+
export declare function ContentUnavailableView(props: ContentUnavailableViewProps): import("react").JSX.Element;
|
|
@@ -5,23 +5,23 @@ export { type ContextMenuProps } from './types';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare function Items(props: {
|
|
7
7
|
children: React.ReactNode;
|
|
8
|
-
}): import("react
|
|
8
|
+
}): import("react").JSX.Element;
|
|
9
9
|
/**
|
|
10
10
|
* The component visible all the time that triggers the context menu when long-pressed.
|
|
11
11
|
*/
|
|
12
12
|
export declare function Trigger(props: {
|
|
13
13
|
children: React.ReactNode;
|
|
14
|
-
}): import("react
|
|
14
|
+
}): import("react").JSX.Element;
|
|
15
15
|
/**
|
|
16
16
|
* The component visible above the menu when it is opened.
|
|
17
17
|
*/
|
|
18
18
|
export declare function Preview(props: {
|
|
19
19
|
children: React.ReactNode;
|
|
20
|
-
}): import("react
|
|
20
|
+
}): import("react").JSX.Element;
|
|
21
21
|
/**
|
|
22
22
|
* `ContextMenu` allows you to create a context menu, which can be used to provide additional options to the user.
|
|
23
23
|
*/
|
|
24
|
-
declare function ContextMenu(props: ContextMenuProps): import("react
|
|
24
|
+
declare function ContextMenu(props: ContextMenuProps): import("react").JSX.Element;
|
|
25
25
|
declare namespace ContextMenu {
|
|
26
26
|
var Trigger: typeof import(".").Trigger;
|
|
27
27
|
var Preview: typeof import(".").Preview;
|
|
@@ -25,4 +25,4 @@ export interface ControlGroupProps extends CommonViewModifierProps {
|
|
|
25
25
|
*/
|
|
26
26
|
children: ReactNode;
|
|
27
27
|
}
|
|
28
|
-
export declare function ControlGroup(props: ControlGroupProps): import("react
|
|
28
|
+
export declare function ControlGroup(props: ControlGroupProps): import("react").JSX.Element;
|
|
@@ -34,4 +34,4 @@ export interface DatePickerProps extends CommonViewModifierProps {
|
|
|
34
34
|
/**
|
|
35
35
|
* Renders a SwiftUI `DatePicker` component.
|
|
36
36
|
*/
|
|
37
|
-
export declare function DatePicker(props: DatePickerProps): import("react
|
|
37
|
+
export declare function DatePicker(props: DatePickerProps): import("react").JSX.Element;
|
|
@@ -14,10 +14,10 @@ export interface DisclosureGroupProps extends CommonViewModifierProps {
|
|
|
14
14
|
*/
|
|
15
15
|
onIsExpandedChange?: (isExpanded: boolean) => void;
|
|
16
16
|
}
|
|
17
|
-
declare function DisclosureGroupComponent(props: DisclosureGroupProps): import("react
|
|
17
|
+
declare function DisclosureGroupComponent(props: DisclosureGroupProps): import("react").JSX.Element;
|
|
18
18
|
declare namespace DisclosureGroupComponent {
|
|
19
19
|
var Label: ({ children }: {
|
|
20
20
|
children: React.ReactNode;
|
|
21
|
-
}) => import("react
|
|
21
|
+
}) => import("react").JSX.Element;
|
|
22
22
|
}
|
|
23
23
|
export { DisclosureGroupComponent as DisclosureGroup };
|
|
@@ -5,4 +5,4 @@ export interface DividerProps extends CommonViewModifierProps {
|
|
|
5
5
|
* Divider component uses the native [Divider](https://developer.apple.com/documentation/swiftui/divider) component.
|
|
6
6
|
* A visual element that can be used to separate other content.
|
|
7
7
|
*/
|
|
8
|
-
export declare function Divider(props: DividerProps): import("react
|
|
8
|
+
export declare function Divider(props: DividerProps): import("react").JSX.Element;
|
|
@@ -34,4 +34,4 @@ export interface GaugeProps extends CommonViewModifierProps {
|
|
|
34
34
|
/**
|
|
35
35
|
* Renders a SwiftUI `Gauge` component.
|
|
36
36
|
*/
|
|
37
|
-
export declare function Gauge(props: GaugeProps): import("react
|
|
37
|
+
export declare function Gauge(props: GaugeProps): import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface GlassEffectContainerProps extends CommonViewModifierProps {
|
|
|
11
11
|
*/
|
|
12
12
|
spacing?: number;
|
|
13
13
|
}
|
|
14
|
-
export declare function GlassEffectContainer(props: GlassEffectContainerProps): import("react
|
|
14
|
+
export declare function GlassEffectContainer(props: GlassEffectContainerProps): import("react").JSX.Element;
|
|
@@ -18,7 +18,7 @@ export interface GridProps extends CommonViewModifierProps {
|
|
|
18
18
|
/**
|
|
19
19
|
* Grid component uses the native [Grid](https://developer.apple.com/documentation/swiftui/grid) component.
|
|
20
20
|
*/
|
|
21
|
-
export declare function Grid(props: GridProps):
|
|
21
|
+
export declare function Grid(props: GridProps): React.JSX.Element;
|
|
22
22
|
export declare namespace Grid {
|
|
23
23
|
var Row: React.FC<{
|
|
24
24
|
children: React.ReactNode;
|
|
@@ -2,4 +2,4 @@ import { type CommonViewModifierProps } from '../types';
|
|
|
2
2
|
export interface GroupProps extends CommonViewModifierProps {
|
|
3
3
|
children: React.ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare function Group(props: GroupProps): import("react
|
|
5
|
+
export declare function Group(props: GroupProps): import("react").JSX.Element;
|
|
@@ -10,4 +10,4 @@ export interface HStackProps extends CommonViewModifierProps {
|
|
|
10
10
|
*/
|
|
11
11
|
alignment?: 'top' | 'center' | 'bottom' | 'firstTextBaseline' | 'lastTextBaseline';
|
|
12
12
|
}
|
|
13
|
-
export declare function HStack(props: HStackProps): import("react
|
|
13
|
+
export declare function HStack(props: HStackProps): import("react").JSX.Element;
|
|
@@ -58,4 +58,4 @@ export interface HostProps extends CommonViewModifierProps {
|
|
|
58
58
|
/**
|
|
59
59
|
* A hosting component for SwiftUI views.
|
|
60
60
|
*/
|
|
61
|
-
export declare function Host(props: HostProps): import("react
|
|
61
|
+
export declare function Host(props: HostProps): import("react").JSX.Element;
|
|
@@ -41,4 +41,4 @@ export interface ImageProps extends CommonViewModifierProps {
|
|
|
41
41
|
*/
|
|
42
42
|
onPress?: () => void;
|
|
43
43
|
}
|
|
44
|
-
export declare function Image(props: ImageProps): import("react
|
|
44
|
+
export declare function Image(props: ImageProps): import("react").JSX.Element;
|
|
@@ -32,4 +32,4 @@ export interface LabelProps extends CommonViewModifierProps {
|
|
|
32
32
|
* @param {LabelProps} props - The properties passed to the Label component.
|
|
33
33
|
* @returns {JSX.Element} The rendered native Label component.
|
|
34
34
|
*/
|
|
35
|
-
export declare function Label(props: LabelProps): import("react
|
|
35
|
+
export declare function Label(props: LabelProps): import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface LabeledContentProps extends CommonViewModifierProps {
|
|
|
12
12
|
* @platform ios 16.0+
|
|
13
13
|
* @platform tvos 16.0+
|
|
14
14
|
*/
|
|
15
|
-
export declare function LabeledContent(props: LabeledContentProps): import("react
|
|
15
|
+
export declare function LabeledContent(props: LabeledContentProps): import("react").JSX.Element;
|
|
@@ -10,4 +10,4 @@ export interface LazyHStackProps extends CommonViewModifierProps {
|
|
|
10
10
|
*/
|
|
11
11
|
alignment?: 'top' | 'center' | 'bottom' | 'firstTextBaseline' | 'lastTextBaseline';
|
|
12
12
|
}
|
|
13
|
-
export declare function LazyHStack(props: LazyHStackProps): import("react
|
|
13
|
+
export declare function LazyHStack(props: LazyHStackProps): import("react").JSX.Element;
|
|
@@ -10,4 +10,4 @@ export interface LazyVStackProps extends CommonViewModifierProps {
|
|
|
10
10
|
*/
|
|
11
11
|
spacing?: number;
|
|
12
12
|
}
|
|
13
|
-
export declare function LazyVStack(props: LazyVStackProps): import("react
|
|
13
|
+
export declare function LazyVStack(props: LazyVStackProps): import("react").JSX.Element;
|
|
@@ -21,4 +21,4 @@ export interface ListForEachProps extends CommonViewModifierProps {
|
|
|
21
21
|
* A compound component of `List` that enables item deletion and reordering.
|
|
22
22
|
* This component must be used as a child of `List` (as `List.ForEach`).
|
|
23
23
|
*/
|
|
24
|
-
export declare function ListForEach({ children, onDelete, onMove, ...props }: ListForEachProps): import("react
|
|
24
|
+
export declare function ListForEach({ children, onDelete, onMove, ...props }: ListForEachProps): import("react").JSX.Element;
|
|
@@ -19,7 +19,7 @@ export interface ListProps extends CommonViewModifierProps {
|
|
|
19
19
|
/**
|
|
20
20
|
* A list component that renders its children using a native SwiftUI `List`.
|
|
21
21
|
*/
|
|
22
|
-
export declare function List(props: ListProps): import("react
|
|
22
|
+
export declare function List(props: ListProps): import("react").JSX.Element;
|
|
23
23
|
export declare namespace List {
|
|
24
24
|
var ForEach: typeof ListForEach;
|
|
25
25
|
}
|
|
@@ -9,8 +9,8 @@ export interface MaskProps extends CommonViewModifierProps {
|
|
|
9
9
|
}
|
|
10
10
|
declare function MaskContent(props: {
|
|
11
11
|
children: React.ReactNode;
|
|
12
|
-
}): import("react
|
|
13
|
-
export declare function Mask(props: MaskProps): import("react
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
export declare function Mask(props: MaskProps): import("react").JSX.Element;
|
|
14
14
|
export declare namespace Mask {
|
|
15
15
|
var Content: typeof MaskContent;
|
|
16
16
|
}
|
|
@@ -26,4 +26,4 @@ export interface NavigationDestinationProps {
|
|
|
26
26
|
*
|
|
27
27
|
* @platform ios
|
|
28
28
|
*/
|
|
29
|
-
export declare function NavigationDestination(props: NavigationDestinationProps): import("react
|
|
29
|
+
export declare function NavigationDestination(props: NavigationDestinationProps): import("react").JSX.Element;
|
|
@@ -28,4 +28,4 @@ export interface NavigationLinkProps extends CommonViewModifierProps {
|
|
|
28
28
|
*
|
|
29
29
|
* @platform ios
|
|
30
30
|
*/
|
|
31
|
-
export declare function NavigationLink(props: NavigationLinkProps): import("react
|
|
31
|
+
export declare function NavigationLink(props: NavigationLinkProps): import("react").JSX.Element;
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { type CommonViewModifierProps } from '../types';
|
|
2
|
+
export type NavigationSplitViewVisibility = 'automatic' | 'all' | 'doubleColumn' | 'detailOnly';
|
|
3
|
+
/**
|
|
4
|
+
* The column shown when the split view collapses into a single column.
|
|
5
|
+
*/
|
|
6
|
+
export type NavigationSplitViewColumn = 'sidebar' | 'content' | 'detail';
|
|
7
|
+
export interface NavigationSplitViewProps extends CommonViewModifierProps {
|
|
8
|
+
/**
|
|
9
|
+
* The columns of the split view. Provide `NavigationSplitView.Sidebar` and
|
|
10
|
+
* `NavigationSplitView.Detail`, and add `NavigationSplitView.Content` for a
|
|
11
|
+
* three-column layout.
|
|
12
|
+
*/
|
|
13
|
+
children: React.ReactNode;
|
|
14
|
+
/**
|
|
15
|
+
* The columns to show. Setting it makes the value controlled: pass the value from
|
|
16
|
+
* `onColumnVisibilityChange` back in, otherwise dragging the divider has no effect.
|
|
17
|
+
* Leave it unset to let the split view manage its own columns.
|
|
18
|
+
* @default 'automatic'
|
|
19
|
+
*/
|
|
20
|
+
columnVisibility?: NavigationSplitViewVisibility;
|
|
21
|
+
/**
|
|
22
|
+
* Called when the visible columns change, including when the user drags the sidebar.
|
|
23
|
+
*/
|
|
24
|
+
onColumnVisibilityChange?: (visibility: NavigationSplitViewVisibility) => void;
|
|
25
|
+
/**
|
|
26
|
+
* The column to show when the split view collapses to a single column, for example
|
|
27
|
+
* in a narrow window. Setting it makes the value controlled in the same way as
|
|
28
|
+
* `columnVisibility`.
|
|
29
|
+
* @default 'sidebar'
|
|
30
|
+
* @platform ios 17.0+
|
|
31
|
+
*/
|
|
32
|
+
preferredCompactColumn?: NavigationSplitViewColumn;
|
|
33
|
+
/**
|
|
34
|
+
* Called when the collapsed column changes.
|
|
35
|
+
* @platform ios 17.0+
|
|
36
|
+
*/
|
|
37
|
+
onPreferredCompactColumnChange?: (column: NavigationSplitViewColumn) => void;
|
|
38
|
+
}
|
|
39
|
+
declare function NavigationSplitViewSidebar(props: {
|
|
40
|
+
children: React.ReactNode;
|
|
41
|
+
}): import("react").JSX.Element;
|
|
42
|
+
declare function NavigationSplitViewContent(props: {
|
|
43
|
+
children: React.ReactNode;
|
|
44
|
+
}): import("react").JSX.Element;
|
|
45
|
+
declare function NavigationSplitViewDetail(props: {
|
|
46
|
+
children: React.ReactNode;
|
|
47
|
+
}): import("react").JSX.Element;
|
|
48
|
+
/**
|
|
49
|
+
* NavigationSplitView uses the native [NavigationSplitView](https://developer.apple.com/documentation/swiftui/navigationsplitview) view.
|
|
50
|
+
*
|
|
51
|
+
* It presents a collection, a selection and a detail in one hierarchy: side by side
|
|
52
|
+
* when there is room, and stacked when there is not.
|
|
53
|
+
* @example
|
|
54
|
+
* ```tsx
|
|
55
|
+
* <Host style={{ flex: 1 }}>
|
|
56
|
+
* <NavigationSplitView>
|
|
57
|
+
* <NavigationSplitView.Sidebar>
|
|
58
|
+
* <List>{items}</List>
|
|
59
|
+
* </NavigationSplitView.Sidebar>
|
|
60
|
+
* <NavigationSplitView.Detail>
|
|
61
|
+
* <ItemDetail item={selectedItem} />
|
|
62
|
+
* </NavigationSplitView.Detail>
|
|
63
|
+
* </NavigationSplitView>
|
|
64
|
+
* </Host>
|
|
65
|
+
* ```
|
|
66
|
+
* @platform ios 16.0+
|
|
67
|
+
* @platform tvos 16.0+
|
|
68
|
+
*/
|
|
69
|
+
export declare function NavigationSplitView(props: NavigationSplitViewProps): import("react").JSX.Element;
|
|
70
|
+
export declare namespace NavigationSplitView {
|
|
71
|
+
var Sidebar: typeof NavigationSplitViewSidebar;
|
|
72
|
+
var Content: typeof NavigationSplitViewContent;
|
|
73
|
+
var Detail: typeof NavigationSplitViewDetail;
|
|
74
|
+
}
|
|
75
|
+
export {};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { requireNativeView } from 'expo';
|
|
3
|
+
import { Slot } from '../SlotView';
|
|
4
|
+
import { createViewModifierEventListener } from '../modifiers/utils';
|
|
5
|
+
const NavigationSplitViewNativeView = requireNativeView('ExpoUI', 'NavigationSplitViewView');
|
|
6
|
+
function NavigationSplitViewSidebar(props) {
|
|
7
|
+
return /*#__PURE__*/ _jsx(Slot, {
|
|
8
|
+
name: "sidebar",
|
|
9
|
+
children: props.children
|
|
10
|
+
});
|
|
11
|
+
}
|
|
12
|
+
function NavigationSplitViewContent(props) {
|
|
13
|
+
return /*#__PURE__*/ _jsx(Slot, {
|
|
14
|
+
name: "content",
|
|
15
|
+
children: props.children
|
|
16
|
+
});
|
|
17
|
+
}
|
|
18
|
+
function NavigationSplitViewDetail(props) {
|
|
19
|
+
return /*#__PURE__*/ _jsx(Slot, {
|
|
20
|
+
name: "detail",
|
|
21
|
+
children: props.children
|
|
22
|
+
});
|
|
23
|
+
}
|
|
24
|
+
NavigationSplitView.Sidebar = NavigationSplitViewSidebar;
|
|
25
|
+
NavigationSplitView.Content = NavigationSplitViewContent;
|
|
26
|
+
NavigationSplitView.Detail = NavigationSplitViewDetail;
|
|
27
|
+
/**
|
|
28
|
+
* NavigationSplitView uses the native [NavigationSplitView](https://developer.apple.com/documentation/swiftui/navigationsplitview) view.
|
|
29
|
+
*
|
|
30
|
+
* It presents a collection, a selection and a detail in one hierarchy: side by side
|
|
31
|
+
* when there is room, and stacked when there is not.
|
|
32
|
+
* @example
|
|
33
|
+
* ```tsx
|
|
34
|
+
* <Host style={{ flex: 1 }}>
|
|
35
|
+
* <NavigationSplitView>
|
|
36
|
+
* <NavigationSplitView.Sidebar>
|
|
37
|
+
* <List>{items}</List>
|
|
38
|
+
* </NavigationSplitView.Sidebar>
|
|
39
|
+
* <NavigationSplitView.Detail>
|
|
40
|
+
* <ItemDetail item={selectedItem} />
|
|
41
|
+
* </NavigationSplitView.Detail>
|
|
42
|
+
* </NavigationSplitView>
|
|
43
|
+
* </Host>
|
|
44
|
+
* ```
|
|
45
|
+
* @platform ios 16.0+
|
|
46
|
+
* @platform tvos 16.0+
|
|
47
|
+
*/ export function NavigationSplitView(props) {
|
|
48
|
+
const { modifiers, children, onColumnVisibilityChange, onPreferredCompactColumnChange, ...restProps } = props;
|
|
49
|
+
return /*#__PURE__*/ _jsx(NavigationSplitViewNativeView, {
|
|
50
|
+
modifiers: modifiers,
|
|
51
|
+
...modifiers ? createViewModifierEventListener(modifiers) : undefined,
|
|
52
|
+
onColumnVisibilityChange: ({ nativeEvent: { visibility } })=>onColumnVisibilityChange?.(visibility),
|
|
53
|
+
onPreferredCompactColumnChange: ({ nativeEvent: { column } })=>onPreferredCompactColumnChange?.(column),
|
|
54
|
+
...restProps,
|
|
55
|
+
children: children
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["swift-ui/NavigationSplitView/index.tsx"],"sourcesContent":[null],"names":["requireNativeView","Slot","createViewModifierEventListener","NavigationSplitViewNativeView","NavigationSplitViewSidebar","props","name","children","NavigationSplitViewContent","NavigationSplitViewDetail","NavigationSplitView","Sidebar","Content","Detail","modifiers","onColumnVisibilityChange","onPreferredCompactColumnChange","restProps","undefined","nativeEvent","visibility","column"],"mappings":";AAAA,SAASA,iBAAiB,QAAQ,OAAO;AAEzC,SAASC,IAAI,QAAQ,cAAc;AACnC,SAASC,+BAA+B,QAAQ,qBAAqB;AAuDrE,MAAMC,gCACJH,kBAAkB,UAAU;AAE9B,SAASI,2BAA2BC,KAAoC;IACtE,qBAAO,KAACJ;QAAKK,MAAK;kBAAWD,MAAME,QAAQ;;AAC7C;AAEA,SAASC,2BAA2BH,KAAoC;IACtE,qBAAO,KAACJ;QAAKK,MAAK;kBAAWD,MAAME,QAAQ;;AAC7C;AAEA,SAASE,0BAA0BJ,KAAoC;IACrE,qBAAO,KAACJ;QAAKK,MAAK;kBAAUD,MAAME,QAAQ;;AAC5C;AAEAG,oBAAoBC,OAAO,GAAGP;AAC9BM,oBAAoBE,OAAO,GAAGJ;AAC9BE,oBAAoBG,MAAM,GAAGJ;AAE7B;;;;;;;;;;;;;;;;;;;;CAoBC,GACD,OAAO,SAASC,oBAAoBL,KAA+B;IACjE,MAAM,EACJS,SAAS,EACTP,QAAQ,EACRQ,wBAAwB,EACxBC,8BAA8B,EAC9B,GAAGC,WACJ,GAAGZ;IAEJ,qBACE,KAACF;QACCW,WAAWA;QACV,GAAIA,YAAYZ,gCAAgCY,aAAaI,SAAS;QACvEH,0BAA0B,CAAC,EAAEI,aAAa,EAAEC,UAAU,EAAE,EAAE,GACxDL,2BAA2BK;QAE7BJ,gCAAgC,CAAC,EAAEG,aAAa,EAAEE,MAAM,EAAE,EAAE,GAC1DL,iCAAiCK;QAElC,GAAGJ,SAAS;kBACZV;;AAGP"}
|
|
@@ -41,4 +41,4 @@ export interface NavigationStackProps extends CommonViewModifierProps {
|
|
|
41
41
|
*
|
|
42
42
|
* @platform ios
|
|
43
43
|
*/
|
|
44
|
-
export declare function NavigationStack(props: NavigationStackProps): import("react
|
|
44
|
+
export declare function NavigationStack(props: NavigationStackProps): import("react").JSX.Element;
|
|
@@ -9,8 +9,8 @@ export interface OverlayProps extends CommonViewModifierProps {
|
|
|
9
9
|
}
|
|
10
10
|
declare function OverlayContent(props: {
|
|
11
11
|
children: React.ReactNode;
|
|
12
|
-
}): import("react
|
|
13
|
-
export declare function Overlay(props: OverlayProps): import("react
|
|
12
|
+
}): import("react").JSX.Element;
|
|
13
|
+
export declare function Overlay(props: OverlayProps): import("react").JSX.Element;
|
|
14
14
|
export declare namespace Overlay {
|
|
15
15
|
var Content: typeof OverlayContent;
|
|
16
16
|
}
|
|
@@ -35,5 +35,5 @@ export type PickerProps<T extends SelectionValueType = any> = {
|
|
|
35
35
|
* </Picker>
|
|
36
36
|
* ```
|
|
37
37
|
*/
|
|
38
|
-
export declare function Picker<T extends SelectionValueType>(props: PickerProps<T>): import("react
|
|
38
|
+
export declare function Picker<T extends SelectionValueType>(props: PickerProps<T>): import("react").JSX.Element;
|
|
39
39
|
export {};
|
|
@@ -21,11 +21,11 @@ export interface PopoverViewProps extends CommonViewModifierProps {
|
|
|
21
21
|
}
|
|
22
22
|
declare function PopoverTrigger(props: {
|
|
23
23
|
children: React.ReactNode;
|
|
24
|
-
}): import("react
|
|
24
|
+
}): import("react").JSX.Element;
|
|
25
25
|
declare function PopoverContent(props: {
|
|
26
26
|
children: React.ReactNode;
|
|
27
|
-
}): import("react
|
|
28
|
-
export declare function Popover(props: PopoverViewProps): import("react
|
|
27
|
+
}): import("react").JSX.Element;
|
|
28
|
+
export declare function Popover(props: PopoverViewProps): import("react").JSX.Element;
|
|
29
29
|
export declare namespace Popover {
|
|
30
30
|
var Trigger: typeof PopoverTrigger;
|
|
31
31
|
var Content: typeof PopoverContent;
|
|
@@ -26,4 +26,4 @@ export interface ProgressViewProps extends CommonViewModifierProps {
|
|
|
26
26
|
/**
|
|
27
27
|
* Renders a SwiftUI `ProgressView` component.
|
|
28
28
|
*/
|
|
29
|
-
export declare function ProgressView(props: ProgressViewProps): import("react
|
|
29
|
+
export declare function ProgressView(props: ProgressViewProps): import("react").JSX.Element;
|
|
@@ -14,4 +14,4 @@ export interface RNHostViewProps {
|
|
|
14
14
|
*/
|
|
15
15
|
children: React.ReactElement;
|
|
16
16
|
}
|
|
17
|
-
export declare function RNHostView(props: RNHostViewProps): import("react
|
|
17
|
+
export declare function RNHostView(props: RNHostViewProps): import("react").JSX.Element;
|
|
@@ -43,4 +43,4 @@ export interface ScrollViewProps extends CommonViewModifierProps {
|
|
|
43
43
|
* id. Write `state.value = targetId` for an instant scroll, or wrap the write
|
|
44
44
|
* in `withAnimation(...)` from `@expo/ui/swift-ui` for an animated one.
|
|
45
45
|
*/
|
|
46
|
-
export declare function ScrollView(props: ScrollViewProps): import("react
|
|
46
|
+
export declare function ScrollView(props: ScrollViewProps): import("react").JSX.Element;
|
|
@@ -34,4 +34,4 @@ export interface SectionProps extends CommonViewModifierProps {
|
|
|
34
34
|
/**
|
|
35
35
|
* Section component uses the native [Section](https://developer.apple.com/documentation/swiftui/section) component.
|
|
36
36
|
*/
|
|
37
|
-
export declare function Section(props: SectionProps): import("react
|
|
37
|
+
export declare function Section(props: SectionProps): import("react").JSX.Element;
|
|
@@ -55,9 +55,9 @@ export type NativeSecureFieldProps = Omit<SecureFieldProps, 'text' | 'onTextChan
|
|
|
55
55
|
/**
|
|
56
56
|
* Renders a SwiftUI `SecureField` for password input.
|
|
57
57
|
*/
|
|
58
|
-
export declare function SecureField(props: SecureFieldProps): import("react
|
|
58
|
+
export declare function SecureField(props: SecureFieldProps): import("react").JSX.Element;
|
|
59
59
|
export declare namespace SecureField {
|
|
60
60
|
var Placeholder: ({ children }: {
|
|
61
61
|
children: React.ReactNode;
|
|
62
|
-
}) => import("react
|
|
62
|
+
}) => import("react").JSX.Element;
|
|
63
63
|
}
|
|
@@ -19,4 +19,4 @@ export declare const EdgeCornerStyle: {
|
|
|
19
19
|
concentric: (minimumRadius?: number) => CornerStyleConfig;
|
|
20
20
|
fixed: (radius: number) => CornerStyleConfig;
|
|
21
21
|
};
|
|
22
|
-
export declare function ConcentricRectangle(props: ConcentricRectangleProps): import("react
|
|
22
|
+
export declare function ConcentricRectangle(props: ConcentricRectangleProps): import("react").JSX.Element;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import { type CommonViewModifierProps } from '../types';
|
|
2
2
|
export interface RectangleProps extends CommonViewModifierProps {
|
|
3
3
|
}
|
|
4
|
-
export declare function Rectangle(props: RectangleProps): import("react
|
|
4
|
+
export declare function Rectangle(props: RectangleProps): import("react").JSX.Element;
|
|
5
5
|
export interface RoundedRectangleProps extends CommonViewModifierProps {
|
|
6
6
|
cornerRadius?: number;
|
|
7
7
|
}
|
|
8
|
-
export declare function RoundedRectangle(props: RoundedRectangleProps): import("react
|
|
8
|
+
export declare function RoundedRectangle(props: RoundedRectangleProps): import("react").JSX.Element;
|
|
9
9
|
export interface EllipseProps extends CommonViewModifierProps {
|
|
10
10
|
}
|
|
11
|
-
export declare function Ellipse(props: EllipseProps): import("react
|
|
11
|
+
export declare function Ellipse(props: EllipseProps): import("react").JSX.Element;
|
|
12
12
|
export interface UnevenRoundedRectangleProps extends CommonViewModifierProps {
|
|
13
13
|
topLeadingRadius?: number;
|
|
14
14
|
topTrailingRadius?: number;
|
|
15
15
|
bottomLeadingRadius?: number;
|
|
16
16
|
bottomTrailingRadius?: number;
|
|
17
17
|
}
|
|
18
|
-
export declare function UnevenRoundedRectangle(props: UnevenRoundedRectangleProps): import("react
|
|
18
|
+
export declare function UnevenRoundedRectangle(props: UnevenRoundedRectangleProps): import("react").JSX.Element;
|
|
19
19
|
export interface CapsuleProps extends CommonViewModifierProps {
|
|
20
20
|
cornerStyle?: 'continuous' | 'circular';
|
|
21
21
|
}
|
|
22
|
-
export declare function Capsule(props: CapsuleProps): import("react
|
|
22
|
+
export declare function Capsule(props: CapsuleProps): import("react").JSX.Element;
|
|
23
23
|
export interface CircleProps extends CommonViewModifierProps {
|
|
24
24
|
}
|
|
25
|
-
export declare function Circle(props: CircleProps): import("react
|
|
25
|
+
export declare function Circle(props: CircleProps): import("react").JSX.Element;
|
|
26
26
|
export * from './ConcentricRectangle';
|
|
@@ -41,4 +41,4 @@ export interface ShareLinkProps extends CommonViewModifierProps {
|
|
|
41
41
|
* @returns {JSX.Element} The rendered native ShareLink component.
|
|
42
42
|
* @platform ios 16.0+
|
|
43
43
|
*/
|
|
44
|
-
export declare function ShareLink(props: ShareLinkProps): import("react
|
|
44
|
+
export declare function ShareLink(props: ShareLinkProps): import("react").JSX.Element;
|
|
@@ -47,4 +47,4 @@ export interface SliderProps extends CommonViewModifierProps {
|
|
|
47
47
|
*/
|
|
48
48
|
onEditingChanged?: (isEditing: boolean) => void;
|
|
49
49
|
}
|
|
50
|
-
export declare function Slider(props: SliderProps): import("react
|
|
50
|
+
export declare function Slider(props: SliderProps): import("react").JSX.Element;
|
|
@@ -3,5 +3,5 @@ type SlotProps<ExtraProps extends Record<string, unknown> = Record<string, unkno
|
|
|
3
3
|
extraProps?: ExtraProps;
|
|
4
4
|
children?: React.ReactNode;
|
|
5
5
|
};
|
|
6
|
-
export declare function Slot<ExtraProps extends Record<string, unknown> = Record<string, unknown>>({ name, extraProps, children, }: SlotProps<ExtraProps>): import("react
|
|
6
|
+
export declare function Slot<ExtraProps extends Record<string, unknown> = Record<string, unknown>>({ name, extraProps, children, }: SlotProps<ExtraProps>): import("react").JSX.Element;
|
|
7
7
|
export {};
|