@expo/ui 58.0.3 → 58.0.5
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 +22 -0
- package/android/build.gradle +2 -2
- package/android/src/main/java/expo/modules/ui/HostView.kt +6 -4
- package/android/src/main/java/expo/modules/ui/ModifierRegistry.kt +11 -0
- 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/jetpack-compose/colors.js +20 -1
- package/build/jetpack-compose/colors.js.map +1 -1
- package/build/jetpack-compose/modifiers/index.d.ts +10 -0
- package/build/jetpack-compose/modifiers/index.js +11 -0
- package/build/jetpack-compose/modifiers/index.js.map +1 -1
- package/build/keyboard/index.d.ts +1 -1
- package/build/swift-ui/AccessoryWidgetBackground/index.d.ts +1 -1
- package/build/swift-ui/Alert/index.d.ts +4 -4
- package/build/swift-ui/Background/index.d.ts +2 -2
- package/build/swift-ui/BottomSheet/index.d.ts +1 -1
- package/build/swift-ui/Button/index.d.ts +1 -1
- package/build/swift-ui/Chart/index.d.ts +1 -1
- package/build/swift-ui/ColorPicker/index.d.ts +1 -1
- package/build/swift-ui/ConfirmationDialog/index.d.ts +4 -4
- package/build/swift-ui/ContentUnavailableView/index.d.ts +1 -1
- package/build/swift-ui/ContextMenu/index.d.ts +4 -4
- package/build/swift-ui/ControlGroup/index.d.ts +1 -1
- package/build/swift-ui/DatePicker/index.d.ts +1 -1
- package/build/swift-ui/DisclosureGroup/index.d.ts +2 -2
- package/build/swift-ui/Divider/index.d.ts +1 -1
- package/build/swift-ui/Form/index.d.ts +1 -1
- package/build/swift-ui/Gauge/index.d.ts +1 -1
- package/build/swift-ui/GlassEffectContainer/index.d.ts +1 -1
- package/build/swift-ui/Grid/index.d.ts +1 -1
- package/build/swift-ui/Group/index.d.ts +1 -1
- package/build/swift-ui/HStack/index.d.ts +1 -1
- package/build/swift-ui/Host/index.d.ts +1 -1
- package/build/swift-ui/Image/index.d.ts +1 -1
- package/build/swift-ui/Label/index.d.ts +1 -1
- package/build/swift-ui/LabeledContent/index.d.ts +1 -1
- package/build/swift-ui/LazyHStack/index.d.ts +1 -1
- package/build/swift-ui/LazyVStack/index.d.ts +1 -1
- package/build/swift-ui/Link/index.d.ts +1 -1
- package/build/swift-ui/List/ListForEach.d.ts +1 -1
- package/build/swift-ui/List/index.d.ts +1 -1
- package/build/swift-ui/Mask/index.d.ts +2 -2
- package/build/swift-ui/Menu/index.d.ts +1 -1
- package/build/swift-ui/Namespace.d.ts +1 -1
- package/build/swift-ui/NavigationDestination/index.d.ts +1 -1
- package/build/swift-ui/NavigationLink/index.d.ts +1 -1
- package/build/swift-ui/NavigationSplitView/index.d.ts +4 -4
- package/build/swift-ui/NavigationStack/index.d.ts +1 -1
- package/build/swift-ui/Overlay/index.d.ts +2 -2
- package/build/swift-ui/Picker/index.d.ts +1 -1
- package/build/swift-ui/Popover/index.d.ts +3 -3
- package/build/swift-ui/ProgressView/index.d.ts +1 -1
- package/build/swift-ui/RNHostView.d.ts +1 -1
- package/build/swift-ui/ScrollView/index.d.ts +1 -1
- package/build/swift-ui/Section/index.d.ts +1 -1
- package/build/swift-ui/SecureField/index.d.ts +2 -2
- package/build/swift-ui/Shapes/ConcentricRectangle.d.ts +1 -1
- package/build/swift-ui/Shapes/index.d.ts +6 -6
- package/build/swift-ui/ShareLink/index.d.ts +1 -1
- package/build/swift-ui/Slider/index.d.ts +1 -1
- package/build/swift-ui/SlotView.d.ts +1 -1
- package/build/swift-ui/Spacer/index.d.ts +1 -1
- package/build/swift-ui/Stepper/index.d.ts +1 -1
- package/build/swift-ui/SwipeActions/index.d.ts +2 -2
- package/build/swift-ui/SyncToggle/index.d.ts +1 -1
- package/build/swift-ui/TabView/Tab.d.ts +1 -1
- package/build/swift-ui/TabView/index.d.ts +1 -1
- package/build/swift-ui/Text/index.d.ts +1 -1
- package/build/swift-ui/TextField/index.d.ts +2 -2
- package/build/swift-ui/Toggle/index.d.ts +1 -1
- package/build/swift-ui/Toolbar/index.d.ts +52 -2
- package/build/swift-ui/Toolbar/index.js +27 -0
- package/build/swift-ui/Toolbar/index.js.map +1 -1
- package/build/swift-ui/VStack/index.d.ts +1 -1
- package/build/swift-ui/ZStack/index.d.ts +1 -1
- package/build/swift-ui/modifiers/index.d.ts +15 -1
- package/build/swift-ui/modifiers/index.js +16 -0
- package/build/swift-ui/modifiers/index.js.map +1 -1
- package/build/universal/BottomSheet/index.android.d.ts +1 -1
- package/build/universal/BottomSheet/index.d.ts +1 -1
- package/build/universal/BottomSheet/index.ios.d.ts +1 -1
- package/build/universal/Button/index.android.d.ts +1 -1
- package/build/universal/Button/index.d.ts +1 -1
- package/build/universal/Button/index.ios.d.ts +1 -1
- package/build/universal/Checkbox/index.android.d.ts +1 -1
- package/build/universal/Checkbox/index.d.ts +1 -1
- package/build/universal/Checkbox/index.ios.d.ts +1 -1
- package/build/universal/Collapsible/index.android.d.ts +1 -1
- package/build/universal/Collapsible/index.d.ts +1 -1
- package/build/universal/Collapsible/index.ios.d.ts +1 -1
- package/build/universal/Column/index.android.d.ts +1 -1
- package/build/universal/Column/index.d.ts +1 -1
- package/build/universal/Column/index.ios.d.ts +1 -1
- package/build/universal/FieldGroup/FieldGroup.android.d.ts +1 -1
- package/build/universal/FieldGroup/FieldGroup.d.ts +1 -1
- package/build/universal/FieldGroup/FieldGroup.ios.d.ts +1 -1
- package/build/universal/FieldGroup/FieldSection.android.d.ts +1 -1
- package/build/universal/FieldGroup/FieldSection.d.ts +1 -1
- package/build/universal/FieldGroup/FieldSection.ios.d.ts +1 -1
- package/build/universal/FieldGroup/FieldSectionSlots.d.ts +2 -2
- package/build/universal/Host/index.d.ts +1 -1
- package/build/universal/Icon/index.android.d.ts +1 -1
- package/build/universal/Icon/index.ios.d.ts +1 -1
- package/build/universal/List/index.android.d.ts +1 -1
- package/build/universal/List/index.d.ts +1 -1
- package/build/universal/List/index.ios.d.ts +1 -1
- package/build/universal/ListItem/ListItem.android.d.ts +1 -1
- package/build/universal/ListItem/ListItem.d.ts +1 -1
- package/build/universal/ListItem/ListItem.ios.d.ts +1 -1
- package/build/universal/Picker/Picker.android.d.ts +1 -1
- package/build/universal/Picker/Picker.d.ts +1 -1
- package/build/universal/Picker/Picker.ios.d.ts +1 -1
- package/build/universal/RNHostView/index.android.d.ts +1 -1
- package/build/universal/RNHostView/index.d.ts +1 -1
- package/build/universal/RNHostView/index.ios.d.ts +1 -1
- package/build/universal/Row/index.android.d.ts +1 -1
- package/build/universal/Row/index.d.ts +1 -1
- package/build/universal/Row/index.ios.d.ts +1 -1
- package/build/universal/ScrollView/index.android.d.ts +1 -1
- package/build/universal/ScrollView/index.d.ts +1 -1
- package/build/universal/ScrollView/index.ios.d.ts +1 -1
- package/build/universal/Slider/index.android.d.ts +1 -1
- package/build/universal/Slider/index.d.ts +1 -1
- package/build/universal/Slider/index.ios.d.ts +1 -1
- package/build/universal/Spacer/index.android.d.ts +1 -1
- package/build/universal/Spacer/index.d.ts +1 -1
- package/build/universal/Spacer/index.ios.d.ts +1 -1
- package/build/universal/Switch/index.android.d.ts +1 -1
- package/build/universal/Switch/index.d.ts +1 -1
- package/build/universal/Switch/index.ios.d.ts +1 -1
- package/build/universal/Text/index.android.d.ts +1 -1
- package/build/universal/Text/index.d.ts +1 -1
- package/build/universal/Text/index.ios.d.ts +1 -1
- package/build/universal/TextInput/index.android.d.ts +1 -1
- package/build/universal/TextInput/index.d.ts +1 -1
- package/build/universal/TextInput/index.ios.d.ts +1 -1
- package/build/web/BottomSheetDialog.d.ts +1 -1
- package/expo-module.config.json +1 -1
- package/ios/Convertibles/ToolbarItemPlacementOptions.swift +110 -0
- package/ios/Convertibles/ToolbarItemVisibilityPriorityOptions.swift +35 -0
- package/ios/HostView.swift +29 -7
- package/ios/Modifiers/ScrollEdgeEffectStyleModifier.swift +34 -0
- package/ios/Modifiers/ViewModifierRegistry.swift +4 -0
- package/ios/ToolbarView.swift +88 -4
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.3/expo.modules.ui-58.0.3-sources.jar → 58.0.5/expo.modules.ui-58.0.5-sources.jar} +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5-sources.jar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5-sources.jar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5-sources.jar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5-sources.jar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.aar.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.aar.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.aar.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.aar.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.3/expo.modules.ui-58.0.3.module → 58.0.5/expo.modules.ui-58.0.5.module} +22 -22
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.module.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.module.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.module.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.module.sha512 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/{58.0.3/expo.modules.ui-58.0.3.pom → 58.0.5/expo.modules.ui-58.0.5.pom} +1 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.pom.md5 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.pom.sha1 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.pom.sha256 +1 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.5/expo.modules.ui-58.0.5.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/jetpack-compose/colors.ts +23 -1
- package/src/jetpack-compose/modifiers/index.ts +11 -0
- package/src/swift-ui/Toolbar/index.tsx +79 -0
- package/src/swift-ui/modifiers/index.ts +19 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3-sources.jar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3-sources.jar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3-sources.jar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3-sources.jar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar +0 -0
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.aar.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.module.sha512 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.md5 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha1 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha256 +0 -1
- package/local-maven-repo/expo/modules/ui/expo.modules.ui/58.0.3/expo.modules.ui-58.0.3.pom.sha512 +0 -1
|
@@ -51,7 +51,7 @@ export declare function transformToggleButtonProps(props: Omit<ToggleButtonProps
|
|
|
51
51
|
* A toggle button component that can be toggled on and off.
|
|
52
52
|
*/
|
|
53
53
|
declare const ToggleButton: {
|
|
54
|
-
(props: ToggleButtonProps): import("react
|
|
54
|
+
(props: ToggleButtonProps): import("react").JSX.Element;
|
|
55
55
|
displayName: string;
|
|
56
56
|
} & {
|
|
57
57
|
DefaultIconSpacing: number;
|
|
@@ -61,21 +61,21 @@ declare const ToggleButton: {
|
|
|
61
61
|
* An icon toggle button with no background.
|
|
62
62
|
*/
|
|
63
63
|
declare const IconToggleButton: {
|
|
64
|
-
(props: ToggleButtonProps): import("react
|
|
64
|
+
(props: ToggleButtonProps): import("react").JSX.Element;
|
|
65
65
|
displayName: string;
|
|
66
66
|
};
|
|
67
67
|
/**
|
|
68
68
|
* A filled icon toggle button with a solid background.
|
|
69
69
|
*/
|
|
70
70
|
declare const FilledIconToggleButton: {
|
|
71
|
-
(props: ToggleButtonProps): import("react
|
|
71
|
+
(props: ToggleButtonProps): import("react").JSX.Element;
|
|
72
72
|
displayName: string;
|
|
73
73
|
};
|
|
74
74
|
/**
|
|
75
75
|
* An outlined icon toggle button with a border and no fill.
|
|
76
76
|
*/
|
|
77
77
|
declare const OutlinedIconToggleButton: {
|
|
78
|
-
(props: ToggleButtonProps): import("react
|
|
78
|
+
(props: ToggleButtonProps): import("react").JSX.Element;
|
|
79
79
|
displayName: string;
|
|
80
80
|
};
|
|
81
81
|
export { ToggleButton, IconToggleButton, FilledIconToggleButton, OutlinedIconToggleButton };
|
|
@@ -56,7 +56,7 @@ export interface PlainTooltipProps {
|
|
|
56
56
|
* A simple tooltip. Place inside `TooltipBox` as `TooltipBox.PlainTooltip`.
|
|
57
57
|
* Children become the tooltip content.
|
|
58
58
|
*/
|
|
59
|
-
declare function PlainTooltipComponent(props: PlainTooltipProps): import("react
|
|
59
|
+
declare function PlainTooltipComponent(props: PlainTooltipProps): import("react").JSX.Element;
|
|
60
60
|
export interface RichTooltipProps {
|
|
61
61
|
containerColor?: ColorValue;
|
|
62
62
|
contentColor?: ColorValue;
|
|
@@ -67,18 +67,18 @@ export interface RichTooltipProps {
|
|
|
67
67
|
}
|
|
68
68
|
declare function RichTooltipTitle(props: {
|
|
69
69
|
children: React.ReactNode;
|
|
70
|
-
}): import("react
|
|
70
|
+
}): import("react").JSX.Element;
|
|
71
71
|
declare function RichTooltipText(props: {
|
|
72
72
|
children: React.ReactNode;
|
|
73
|
-
}): import("react
|
|
73
|
+
}): import("react").JSX.Element;
|
|
74
74
|
declare function RichTooltipAction(props: {
|
|
75
75
|
children: React.ReactNode;
|
|
76
|
-
}): import("react
|
|
76
|
+
}): import("react").JSX.Element;
|
|
77
77
|
/**
|
|
78
78
|
* A detailed tooltip with optional title, body text, and action. Place inside `TooltipBox` as `TooltipBox.RichTooltip`.
|
|
79
79
|
* Content is provided via sub-components: `TooltipBox.RichTooltip.Title`, `TooltipBox.RichTooltip.Text`, `TooltipBox.RichTooltip.Action`.
|
|
80
80
|
*/
|
|
81
|
-
declare function RichTooltipComponent(props: RichTooltipProps): import("react
|
|
81
|
+
declare function RichTooltipComponent(props: RichTooltipProps): import("react").JSX.Element;
|
|
82
82
|
declare namespace RichTooltipComponent {
|
|
83
83
|
var Title: typeof RichTooltipTitle;
|
|
84
84
|
var Text: typeof RichTooltipText;
|
|
@@ -91,7 +91,7 @@ declare namespace RichTooltipComponent {
|
|
|
91
91
|
*
|
|
92
92
|
* Use `ref` to imperatively `show()` or `dismiss()` the tooltip.
|
|
93
93
|
*/
|
|
94
|
-
declare function TooltipBoxComponent(props: TooltipBoxProps): import("react
|
|
94
|
+
declare function TooltipBoxComponent(props: TooltipBoxProps): import("react").JSX.Element;
|
|
95
95
|
declare namespace TooltipBoxComponent {
|
|
96
96
|
var PlainTooltip: typeof PlainTooltipComponent;
|
|
97
97
|
var RichTooltip: typeof RichTooltipComponent;
|
|
@@ -11,10 +11,29 @@ import { ExpoUIModule } from './ExpoUIModule';
|
|
|
11
11
|
* React context to cache the palette within a Host subtree.
|
|
12
12
|
* @hidden
|
|
13
13
|
*/ export const HostPaletteContext = createContext(null);
|
|
14
|
+
// Cache the `scheme` + `seedColor` keyed palette to prevent sync calls to `getMaterialColors`.
|
|
15
|
+
// https://github.com/expo/expo/issues/50477
|
|
16
|
+
const seededPalettes = new Map();
|
|
17
|
+
const MAX_SEEDED_PALETTES = 32;
|
|
14
18
|
/**
|
|
15
19
|
* Get the Material 3 color palette.
|
|
16
20
|
*/ export function getMaterialColors(options) {
|
|
17
|
-
|
|
21
|
+
const scheme = options?.scheme;
|
|
22
|
+
const seedColor = options?.seedColor;
|
|
23
|
+
const isCacheable = (scheme === 'light' || scheme === 'dark') && (typeof seedColor === 'string' || typeof seedColor === 'number');
|
|
24
|
+
if (!isCacheable) {
|
|
25
|
+
return ExpoUIModule.getMaterialColors(options ?? null);
|
|
26
|
+
}
|
|
27
|
+
const key = `${scheme}:${seedColor}`;
|
|
28
|
+
let palette = seededPalettes.get(key);
|
|
29
|
+
if (!palette) {
|
|
30
|
+
palette = ExpoUIModule.getMaterialColors(options);
|
|
31
|
+
if (seededPalettes.size >= MAX_SEEDED_PALETTES) {
|
|
32
|
+
seededPalettes.delete(seededPalettes.keys().next().value);
|
|
33
|
+
}
|
|
34
|
+
seededPalettes.set(key, palette);
|
|
35
|
+
}
|
|
36
|
+
return palette;
|
|
18
37
|
}
|
|
19
38
|
/**
|
|
20
39
|
* Returns the Material 3 color palette.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["jetpack-compose/colors.ts"],"sourcesContent":[null],"names":["createContext","useContext","useColorScheme","useRNColorScheme","ExpoUIModule","isDynamicColorAvailable","HostPaletteContext","getMaterialColors","options","
|
|
1
|
+
{"version":3,"sources":["jetpack-compose/colors.ts"],"sourcesContent":[null],"names":["createContext","useContext","useColorScheme","useRNColorScheme","ExpoUIModule","isDynamicColorAvailable","HostPaletteContext","seededPalettes","Map","MAX_SEEDED_PALETTES","getMaterialColors","options","scheme","seedColor","isCacheable","key","palette","get","size","delete","keys","next","value","set","useMaterialColors","hostPalette","systemScheme","colorScheme","resolvedScheme"],"mappings":"AAAA,SAASA,aAAa,EAAEC,UAAU,QAAQ,QAAQ;AAClD,SAGEC,kBAAkBC,gBAAgB,QAC7B,eAAe;AAEtB,SAASC,YAAY,QAAQ,iBAAiB;AAoK9C;;;;;CAKC,GACD,OAAO,MAAMC,0BAAmCD,aAAaC,uBAAuB,IAAI,MAAM;AAE9F;;;CAGC,GACD,OAAO,MAAMC,qBAAqBN,cAAqC,MAAM;AAE7E,+FAA+F;AAC/F,4CAA4C;AAC5C,MAAMO,iBAAiB,IAAIC;AAC3B,MAAMC,sBAAsB;AAE5B;;CAEC,GACD,OAAO,SAASC,kBAAkBC,OAA+B;IAC/D,MAAMC,SAASD,SAASC;IACxB,MAAMC,YAAYF,SAASE;IAC3B,MAAMC,cACJ,AAACF,CAAAA,WAAW,WAAWA,WAAW,MAAK,KACtC,CAAA,OAAOC,cAAc,YAAY,OAAOA,cAAc,QAAO;IAChE,IAAI,CAACC,aAAa;QAChB,OAAOV,aAAaM,iBAAiB,CAACC,WAAW;IACnD;IACA,MAAMI,MAAM,GAAGH,OAAO,CAAC,EAAEC,WAAW;IACpC,IAAIG,UAAUT,eAAeU,GAAG,CAACF;IACjC,IAAI,CAACC,SAAS;QACZA,UAAUZ,aAAaM,iBAAiB,CAACC;QACzC,IAAIJ,eAAeW,IAAI,IAAIT,qBAAqB;YAC9CF,eAAeY,MAAM,CAACZ,eAAea,IAAI,GAAGC,IAAI,GAAGC,KAAK;QAC1D;QACAf,eAAegB,GAAG,CAACR,KAAKC;IAC1B;IACA,OAAOA;AACT;AAEA;;;;CAIC,GACD,OAAO,SAASQ,kBAAkBb,OAAkC;IAClE,MAAMc,cAAcxB,WAAWK;IAC/B,MAAMoB,eAAevB;IACrB,IAAIQ,WAAW,QAAQc,eAAe,MAAM;QAC1C,sDAAsD;QACtD,OAAOA;IACT;IACA,sEAAsE;IACtE,MAAM,EAAEE,WAAW,EAAEd,SAAS,EAAE,GAAGF,WAAW,CAAC;IAC/C,MAAMiB,iBACJD,gBAAgB,WAAWA,gBAAgB,SACvCA,cACAD,iBAAiB,SACf,SACA;IACR,OAAOhB,kBAAkB;QAAEE,QAAQgB;QAAgBf;IAAU;AAC/D"}
|
|
@@ -141,6 +141,16 @@ export declare const alpha: (alpha: number) => import("./createModifier").Modifi
|
|
|
141
141
|
* @param radius - Blur radius in dp.
|
|
142
142
|
*/
|
|
143
143
|
export declare const blur: (radius: number) => import("./createModifier").ModifierConfig;
|
|
144
|
+
/**
|
|
145
|
+
* Adds rounded corners to the component.
|
|
146
|
+
*
|
|
147
|
+
* > **Note:** Works only inside Android widgets built with `expo-widgets`, on Android 12 (API level 31) and later.
|
|
148
|
+
*
|
|
149
|
+
* Jetpack Compose has no exact equivalent of Glance's `cornerRadius`, so Expo UI ignores this
|
|
150
|
+
* modifier. Use `clip(Shapes.RoundedCorner(radius))` to round corners in an app.
|
|
151
|
+
* @param radius - Corner radius in dp.
|
|
152
|
+
*/
|
|
153
|
+
export declare const cornerRadius: (radius: number) => import("./createModifier").ModifierConfig;
|
|
144
154
|
/**
|
|
145
155
|
* Rotates the view.
|
|
146
156
|
* @param degrees - Rotation angle in degrees.
|
|
@@ -153,6 +153,17 @@ export { animated, spring, tween, snap, keyframes } from './animation';
|
|
|
153
153
|
*/ export const blur = (radius)=>createModifier('blur', {
|
|
154
154
|
radius
|
|
155
155
|
});
|
|
156
|
+
/**
|
|
157
|
+
* Adds rounded corners to the component.
|
|
158
|
+
*
|
|
159
|
+
* > **Note:** Works only inside Android widgets built with `expo-widgets`, on Android 12 (API level 31) and later.
|
|
160
|
+
*
|
|
161
|
+
* Jetpack Compose has no exact equivalent of Glance's `cornerRadius`, so Expo UI ignores this
|
|
162
|
+
* modifier. Use `clip(Shapes.RoundedCorner(radius))` to round corners in an app.
|
|
163
|
+
* @param radius - Corner radius in dp.
|
|
164
|
+
*/ export const cornerRadius = (radius)=>createModifier('cornerRadius', {
|
|
165
|
+
radius
|
|
166
|
+
});
|
|
156
167
|
// =============================================================================
|
|
157
168
|
// Transform Modifiers
|
|
158
169
|
// =============================================================================
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["jetpack-compose/modifiers/index.ts"],"sourcesContent":[null],"names":["createModifier","createModifierWithEventListener","animated","spring","tween","snap","keyframes","paddingAll","all","padding","start","top","end","bottom","size","width","height","fillMaxSize","fraction","fillMaxWidth","fillMaxHeight","value","defaultMinSize","options","wrapContentWidth","alignment","wrapContentHeight","imePadding","offset","x","y","background","color","animationSpec","border","borderWidth","borderColor","shadow","elevation","dropShadow","shape","config","innerShadow","alpha","blur","radius","rotate","degrees","graphicsLayer","params","zIndex","index","animateContentSize","dampingRatio","stiffness","weight","align","matchParentSize","menuAnchor","type","enabled","clickable","handler","indication","combinedClickable","handlers","event","onClick","onLongClick","selectable","selected","role","selectableGroup","toggleable","onVisibilityChanged","isVisible","minDurationMs","minFractionVisible","onSizeChanged","onGloballyPositioned","layout","testID","tag","semantics","material","name","Shapes","Rectangle","Circle","RoundedCorner","CutCorner","Material","Cookie4Sided","Cookie6Sided","Cookie7Sided","Cookie9Sided","Cookie12Sided","Clover4Leaf","Clover8Leaf","SoftBurst","Boom","Oval","Pill","Triangle","Diamond","Pentagon","Sunny","VerySunny","Fan","PixelCircle","PixelTriangle","Ghostish","Bun","Heart","Arch","Slanted","Puffy","PuffyDiamond","clip","maskClip","verticalScroll","horizontalScroll","createViewModifierEventListener"],"mappings":"AAGA,SAASA,cAAc,EAAEC,+BAA+B,QAAQ,mBAAmB;AAEnF,SACEC,QAAQ,EACRC,MAAM,EACNC,KAAK,EACLC,IAAI,EACJC,SAAS,QAGJ,cAAc;AAsBrB;;;CAGC,GACD,OAAO,MAA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rB,gFAAgF;AAEhF;;;;CAIC,GACD,OAAO,MAAM4B,SAAS,CAACC,GAAWC,IAAc9B,eAAe,UAAU;QAAE6B;QAAGC;IAAE,GAAG;AAEnF,gFAAgF;AAChF,uBAAuB;AACvB,gFAAgF;AAEhF;;;;;CAKC,GACD,OAAO,MAAMC,aAAa,CAACC,OAAmBT,UAC5CvB,eAAe,cAAc;QAAEgC;QAAOC,eAAeV,SAASU;IAAc,GAAG;AAEjF;;;;CAIC,GACD,OAAO,MAAMC,SAAS,CAACC,aAAqBC,cAC1CpC,eAAe,UAAU;QAAEmC;QAAaC;IAAY,GAAG;AAEzD;;;CAGC,GACD,OAAO,MAAMC,SAAS,CAACC,YAAsBtC,eAAe,UAAU;QAAEsC;IAAU,GAAG;AAoBrF;;;;;CAKC,GACD,OAAO,MAAMC,aAAa,CAACC,OAAqBC,SAAuB,CAAC,CAAC,GACvEzC,eAAe,cAAc;QAAEwC;QAAO,GAAGC,MAAM;IAAC,GAAG;AAErD;;;;;CAKC,GACD,OAAO,MAAMC,cAAc,CAACF,OAAqBC,SAAuB,CAAC,CAAC,GACxEzC,eAAe,eAAe;QAAEwC;QAAO,GAAGC,MAAM;IAAC,GAAG;AAEtD;;;CAGC,GACD,OAAO,MAAME,QAAQ,CAACA,QAAkB3C,eAAe,SAAS;QAAE2C;IAAM,GAAG;AAE3E;;;CAGC,GACD,OAAO,MAAMC,OAAO,CAACC,SAAmB7C,eAAe,QAAQ;QAAE6C;IAAO,GAAG;AAE3E,gFAAgF;AAChF,sBAAsB;AACtB,gFAAgF;AAEhF;;;CAGC,GACD,OAAO,
|
|
1
|
+
{"version":3,"sources":["jetpack-compose/modifiers/index.ts"],"sourcesContent":[null],"names":["createModifier","createModifierWithEventListener","animated","spring","tween","snap","keyframes","paddingAll","all","padding","start","top","end","bottom","size","width","height","fillMaxSize","fraction","fillMaxWidth","fillMaxHeight","value","defaultMinSize","options","wrapContentWidth","alignment","wrapContentHeight","imePadding","offset","x","y","background","color","animationSpec","border","borderWidth","borderColor","shadow","elevation","dropShadow","shape","config","innerShadow","alpha","blur","radius","cornerRadius","rotate","degrees","graphicsLayer","params","zIndex","index","animateContentSize","dampingRatio","stiffness","weight","align","matchParentSize","menuAnchor","type","enabled","clickable","handler","indication","combinedClickable","handlers","event","onClick","onLongClick","selectable","selected","role","selectableGroup","toggleable","onVisibilityChanged","isVisible","minDurationMs","minFractionVisible","onSizeChanged","onGloballyPositioned","layout","testID","tag","semantics","material","name","Shapes","Rectangle","Circle","RoundedCorner","CutCorner","Material","Cookie4Sided","Cookie6Sided","Cookie7Sided","Cookie9Sided","Cookie12Sided","Clover4Leaf","Clover8Leaf","SoftBurst","Boom","Oval","Pill","Triangle","Diamond","Pentagon","Sunny","VerySunny","Fan","PixelCircle","PixelTriangle","Ghostish","Bun","Heart","Arch","Slanted","Puffy","PuffyDiamond","clip","maskClip","verticalScroll","horizontalScroll","createViewModifierEventListener"],"mappings":"AAGA,SAASA,cAAc,EAAEC,+BAA+B,QAAQ,mBAAmB;AAEnF,SACEC,QAAQ,EACRC,MAAM,EACNC,KAAK,EACLC,IAAI,EACJC,SAAS,QAGJ,cAAc;AAsBrB;;;CAGC,GACD,OAAO,MAAMC,aAAa,CAACC,MAAgBR,eAAe,cAAc;QAAEQ;IAAI,GAAG;AAEjF;;;;;;CAMC,GACD,OAAO,MAAMC,UAAU,CAACC,OAAeC,KAAaC,KAAaC,SAC/Db,eAAe,WAAW;QAAEU;QAAOC;QAAKC;QAAKC;IAAO,GAAG;AAEzD,gFAAgF;AAChF,iBAAiB;AACjB,gFAAgF;AAEhF;;;;CAIC,GACD,OAAO,MAAMC,OAAO,CAACC,OAAeC,SAAmBhB,eAAe,QAAQ;QAAEe;QAAOC;IAAO,GAAG;AAEjG;;;CAGC,GACD,OAAO,MAAMC,cAAc,CAACC,WAAsBlB,eAAe,eAAe;QAAEkB;IAAS,GAAG;AAE9F;;;CAGC,GACD,OAAO,MAAMC,eAAe,CAACD,WAAsBlB,eAAe,gB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xB,SAAS;QACdyB,aAAazB,SAAS;QACtB0B,eAAe1B,SAAS;QACxB2B,UAAU3B,SAAS;QACnB4B,KAAK5B,SAAS;QACd6B,OAAO7B,SAAS;QAChB8B,MAAM9B,SAAS;QACf+B,SAAS/B,SAAS;QAClBgC,OAAOhC,SAAS;QAChBiC,cAAcjC,SAAS;IACzB;AACF,EAAE;AAEF;;;CAGC,GACD,OAAO,MAAMkC,OAAO,CAAC/E,QAAwBxC,eAAe,QAAQ;QAAEwC;IAAM,GAAG;AAE/E;;;;;;;;;;;;;;CAcC,GACD,OAAO,MAAMgF,WAAW,CAAChF,QAAwBxC,eAAe,YAAY;QAAEwC;IAAM,GAAG;AAEvF,gFAAgF;AAChF,mBAAmB;AACnB,gFAAgF;AAEhF;;;;CAIC,GACD,OAAO,MAAMiF,iBAAiB,IAAMzH,eAAe,kBAAkB;AAErE;;;;CAIC,GACD,OAAO,MAAM0H,mBAAmB,IAAM1H,eAAe,oBAAoB;AAEzE,SAASA,cAAc,EAAEC,+BAA+B,QAAQ,mBAAmB;AACnF,SAAS0H,+BAA+B,QAAQ,UAAU"}
|
|
@@ -22,7 +22,7 @@ export declare function useTextInputHostRef(): RefObject<NativeViewWrapper | nul
|
|
|
22
22
|
export declare function TextInputHostProvider({ hostRef, children, }: {
|
|
23
23
|
hostRef: RefObject<NativeViewWrapper | null>;
|
|
24
24
|
children: React.ReactNode;
|
|
25
|
-
}): import("react
|
|
25
|
+
}): import("react").JSX.Element;
|
|
26
26
|
/**
|
|
27
27
|
* Used by hosted text fields. Joins React Native's keyboard coordination through
|
|
28
28
|
* the surrounding host, and returns the ref to attach to the native view plus
|
|
@@ -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;
|
|
@@ -38,13 +38,13 @@ export interface NavigationSplitViewProps extends CommonViewModifierProps {
|
|
|
38
38
|
}
|
|
39
39
|
declare function NavigationSplitViewSidebar(props: {
|
|
40
40
|
children: React.ReactNode;
|
|
41
|
-
}): import("react
|
|
41
|
+
}): import("react").JSX.Element;
|
|
42
42
|
declare function NavigationSplitViewContent(props: {
|
|
43
43
|
children: React.ReactNode;
|
|
44
|
-
}): import("react
|
|
44
|
+
}): import("react").JSX.Element;
|
|
45
45
|
declare function NavigationSplitViewDetail(props: {
|
|
46
46
|
children: React.ReactNode;
|
|
47
|
-
}): import("react
|
|
47
|
+
}): import("react").JSX.Element;
|
|
48
48
|
/**
|
|
49
49
|
* NavigationSplitView uses the native [NavigationSplitView](https://developer.apple.com/documentation/swiftui/navigationsplitview) view.
|
|
50
50
|
*
|
|
@@ -66,7 +66,7 @@ declare function NavigationSplitViewDetail(props: {
|
|
|
66
66
|
* @platform ios 16.0+
|
|
67
67
|
* @platform tvos 16.0+
|
|
68
68
|
*/
|
|
69
|
-
export declare function NavigationSplitView(props: NavigationSplitViewProps): import("react
|
|
69
|
+
export declare function NavigationSplitView(props: NavigationSplitViewProps): import("react").JSX.Element;
|
|
70
70
|
export declare namespace NavigationSplitView {
|
|
71
71
|
var Sidebar: typeof NavigationSplitViewSidebar;
|
|
72
72
|
var Content: typeof NavigationSplitViewContent;
|
|
@@ -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;
|