UNPKG

one

Version:

One is a React framework for web, iOS, and Android apps.

239 lines • 23 kB
import { Button, ControlGroup, DisclosureGroup, Divider, Form, Glass, GlassEffectContainer, GeometryReader, Group, GroupBox, ViewThatFits, HStack, Host, LabeledContent, LazyHStack, LazyVStack, LazyHGrid, LazyVGrid, Grid, GridRow, Link, List, ScrollView, ScrollViewReader, Section, Slot, Spacer, VStack, ZStack } from './Containers.native'; import { ContextMenu as AndroidContextMenu, Menu as AndroidMenu } from './AndroidMenu'; import { Page, Pager } from './Pager.native'; import { Popover } from './Popover.native'; import { NavigationStack, ToolbarItem, ToolbarItemGroup, ToolbarSpacer } from './NavigationStack.native'; import { FullScreenCover, Sheet } from './Sheet.native'; import { withAnimation } from './withAnimation.native'; import { KeyframeAnimator, PhaseAnimator } from './Animators.native'; import { CubicKeyframe, KeyframeTrack, LinearKeyframe, MoveKeyframe, SpringKeyframe } from './keyframes'; import { Map as MapWithControls } from './mapControls.native'; import { Tab, Tabs, TabSection, TabViewBottomAccessory, TabViewSlot } from './Tabs.native'; import { Compose } from './compose'; import * as UI from './effects'; import { Widgets, LiveActivities, WidgetUI } from './widgets/index'; export * from './extras'; export { Storage } from './storage/index.native'; export { KeepAwake, useKeepAwake } from './keep-awake/index'; export { Print } from './print/index'; export { StoreReview } from './store-review/index'; export { QuickActions } from './quick-actions/index'; export type { QuickActionItem } from './quick-actions/index'; export type { PrintResult } from './print/index'; export type { ToolbarHostProps, ToolbarItemProps } from './extras'; export { useSizeClass, getSizeClass, useHinge, getHinge, onHingeChange, ReservedRegions, useReservedRegions, useReservedRegionsReady, useWindowSegments, useSpanning, } from './adaptive/index.native'; export type { UserInterfaceSizeClass, SizeClass, HingeStatus, HingeState, ReservedRegionKind, ReservedRegion, WindowSegment, ReservedRegionOptions, ReservedRegionsProviderProps, } from './adaptive/types'; export type { ArrangementViewProps, ArrangementPaneProps, ArrangementViewStyle, SplitLayoutRatio, SplitLayoutSize, SplitFixedLayoutSize, OverlayArrangementEdge, } from './ArrangementView.native'; declare const Menu: typeof AndroidMenu; declare const ContextMenu: typeof AndroidContextMenu; export declare const Swift: { Picker({ selection, onSelectionChange, revision, label, disabled, options, pickerStyle, swiftStyle, style, ...props }: import("./types").PickerProps): import("react/jsx-runtime").JSX.Element; DatePicker({ selection, onSelectionChange, revision, label, disabled, minimumDate, maximumDate, displayedComponents, datePickerStyle, swiftStyle, style, ...props }: import("./types").DatePickerProps): import("react/jsx-runtime").JSX.Element; ColorPicker({ selection, onSelectionChange, revision, label, disabled, supportsOpacity, swiftStyle, style, ...props }: import("./types").ColorPickerProps): import("react/jsx-runtime").JSX.Element; MultiDatePicker({ selection, onSelectionChange, revision, label, disabled, minimumDate, maximumDate, swiftStyle, style, ...props }: import("./types").MultiDatePickerProps): import("react/jsx-runtime").JSX.Element; Toggle({ isOn, onIsOnChange, revision, label, disabled, systemImage, toggleStyle, swiftStyle, style, ...props }: import("./types").ToggleProps): import("react/jsx-runtime").JSX.Element; Slider({ value, onValueChange, revision, label, disabled, minimumValue, maximumValue, step, minimumValueLabel, maximumValueLabel, minimumValueImage, maximumValueImage, swiftStyle, style, ...props }: import("./types").SliderProps): import("react/jsx-runtime").JSX.Element; Stepper({ value, onValueChange, revision, label, disabled, minimumValue, maximumValue, step, swiftStyle, style, ...props }: import("./types").StepperProps): import("react/jsx-runtime").JSX.Element; PasteButton({ onPaste, disabled, swiftStyle, style, ...props }: import("./types").PasteButtonProps): import("react/jsx-runtime").JSX.Element; Text({ text, swiftStyle, style, ...props }: import("./types").TextProps): import("react/jsx-runtime").JSX.Element; Label({ label, disabled, systemImage, swiftStyle, style, ...props }: import("./types").LabelProps): import("react/jsx-runtime").JSX.Element; ProgressView({ label, disabled, value, total, progressViewStyle, swiftStyle, style, ...props }: import("./types").ProgressViewProps): import("react/jsx-runtime").JSX.Element; Gauge({ label, disabled, value, minimumValue, maximumValue, currentValueLabel, minimumValueLabel, maximumValueLabel, gaugeStyle, swiftStyle, style, ...props }: import("./types").GaugeProps): import("react/jsx-runtime").JSX.Element; Image({ systemName, uri, renderingMode, symbolRenderingMode, symbolVariant, imageScale, variableValue, colorRole, resizable, swiftStyle, style, ...props }: import("./types").ImageProps): import("react/jsx-runtime").JSX.Element; ShareLink({ label, disabled, systemImage, item, itemType, subject, message, swiftStyle, style, ...props }: import("./types").ShareLinkProps): import("react/jsx-runtime").JSX.Element; ContentUnavailableView({ onAction, title, systemImage, description, actions, swiftStyle, style, ...props }: import("./types").ContentUnavailableViewProps): import("react/jsx-runtime").JSX.Element; Circle({ fill, strokeBorder, lineWidth, swiftStyle, style, ...props }: import("./types").CircleProps): import("react/jsx-runtime").JSX.Element; Capsule({ fill, strokeBorder, lineWidth, swiftStyle, style, ...props }: import("./types").CapsuleProps): import("react/jsx-runtime").JSX.Element; Rectangle({ fill, strokeBorder, lineWidth, swiftStyle, style, ...props }: import("./types").RectangleProps): import("react/jsx-runtime").JSX.Element; RoundedRectangle({ fill, strokeBorder, lineWidth, cornerRadius, swiftStyle, style, ...props }: import("./types").RoundedRectangleProps): import("react/jsx-runtime").JSX.Element; Ellipse({ fill, strokeBorder, lineWidth, swiftStyle, style, ...props }: import("./types").EllipseProps): import("react/jsx-runtime").JSX.Element; UnevenRoundedRectangle({ fill, strokeBorder, lineWidth, topLeadingRadius, bottomLeadingRadius, bottomTrailingRadius, topTrailingRadius, swiftStyle, style, ...props }: import("./types").UnevenRoundedRectangleProps): import("react/jsx-runtime").JSX.Element; ConcentricRectangle({ fill, swiftStyle, style, ...props }: import("./types").ConcentricRectangleProps): import("react/jsx-runtime").JSX.Element; LinearGradient({ colors, startPoint, endPoint, swiftStyle, style, ...props }: import("./types").LinearGradientProps): import("react/jsx-runtime").JSX.Element; RadialGradient({ colors, center, startRadius, endRadius, swiftStyle, style, ...props }: import("./types").RadialGradientProps): import("react/jsx-runtime").JSX.Element; EllipticalGradient({ colors, center, startRadiusFraction, endRadiusFraction, swiftStyle, style, ...props }: import("./types").EllipticalGradientProps): import("react/jsx-runtime").JSX.Element; AngularGradient({ colors, center, angle, swiftStyle, style, ...props }: import("./types").AngularGradientProps): import("react/jsx-runtime").JSX.Element; MeshGradient({ meshWidth, meshHeight, points, colors, background, smoothsColors, colorSpace, swiftStyle, style, ...props }: import("./types").MeshGradientProps): import("react/jsx-runtime").JSX.Element; VideoPlayer({ onPlaybackStatus, url, autoplay, command, commandRevision, seekToMs, swiftStyle, style, ...props }: import("./types").VideoPlayerProps): import("react/jsx-runtime").JSX.Element; LivePhotoView({ onPlaybackState, assetIdentifier, autoplay, command, commandRevision, swiftStyle, style, ...props }: import("./types").LivePhotoViewProps): import("react/jsx-runtime").JSX.Element; PhotosPicker({ onPick, onPickItemIdentifier, onPickError, label, disabled, systemImage, maxSelectionCount, selectionBehavior, filter, preferredItemEncoding, swiftStyle, style, ...props }: import("./types").PhotosPickerProps): import("react/jsx-runtime").JSX.Element; WebView({ onNavigate, onTitleChange, onLoadingChange, onLoadStart, onLoadEnd, onError, onHttpError, onMessage, onHistoryChange, onProcessTerminate, url, html, script, command, commandRevision, commandValue, limitsNavigationsToAppBoundDomains, inlineMedia, inspectable, bounces, backForwardNavigationGestures, magnificationGestures, linkPreviews, elementFullscreen, contentBackground, swiftStyle, style, ...props }: import("./types").WebViewProps): import("react/jsx-runtime").JSX.Element; SignInWithAppleButton({ onCompletion, requestedScopes, nonce, label, swiftStyle, style, ...props }: import("./types").SignInWithAppleButtonProps): import("react/jsx-runtime").JSX.Element; PayWithApplePayButton({ onPress, label, payWithApplePayButtonStyle, disabled, swiftStyle, style, ...props }: import("./types").PayWithApplePayButtonProps): import("react/jsx-runtime").JSX.Element; AddPassToWalletButton({ onPress, addPassToWalletButtonStyle, disabled, swiftStyle, style, ...props }: import("./types").AddPassToWalletButtonProps): import("react/jsx-runtime").JSX.Element; MapCompass({ swiftStyle, style, ...props }: import("./types").MapCompassProps): import("react/jsx-runtime").JSX.Element; MapPitchToggle({ swiftStyle, style, ...props }: import("./types").MapPitchToggleProps): import("react/jsx-runtime").JSX.Element; MapUserLocationButton({ swiftStyle, style, ...props }: import("./types").MapUserLocationButtonProps): import("react/jsx-runtime").JSX.Element; TextField({ text, onTextChange, revision, focused, onFocusChange, focusRevision, onSubmit, label, disabled, prompt, textFieldStyle, submitLabel, textInputAutocapitalization, autocorrectionDisabled, keyboardType, textContentType, axis, swiftStyle, style, ...props }: import("./types").TextFieldProps): import("react/jsx-runtime").JSX.Element; SecureField({ text, onTextChange, revision, focused, onFocusChange, focusRevision, onSubmit, label, disabled, prompt, textFieldStyle, submitLabel, textInputAutocapitalization, autocorrectionDisabled, keyboardType, textContentType, swiftStyle, style, ...props }: import("./types").SecureFieldProps): import("react/jsx-runtime").JSX.Element; TextEditor({ text, onTextChange, revision, focused, onFocusChange, focusRevision, disabled, textInputAutocapitalization, autocorrectionDisabled, keyboardType, textContentType, swiftStyle, style, ...props }: import("./types").TextEditorProps): import("react/jsx-runtime").JSX.Element; Alert({ isPresented, onIsPresentedChange, revision, onAction, title, message, presenting, actions, swiftStyle, style, ...props }: import("./types").AlertProps): import("react/jsx-runtime").JSX.Element; ConfirmationDialog({ isPresented, onIsPresentedChange, revision, onAction, title, message, presenting, actions, titleVisibility, swiftStyle, style, ...props }: import("./types").ConfirmationDialogProps): import("react/jsx-runtime").JSX.Element; QuickLook({ isPresented, onIsPresentedChange, revision, url, swiftStyle, style, ...props }: import("./types").QuickLookProps): import("react/jsx-runtime").JSX.Element; FileImporter({ isPresented, onIsPresentedChange, revision, onCompletion, allowedContentTypes, allowsMultipleSelection, swiftStyle, style, ...props }: import("./types").FileImporterProps): import("react/jsx-runtime").JSX.Element; Chart({ data, type, showGrid, animate, showLegend, referenceLines, lineStyle, pointStyle, areaStyle, barStyle, pieStyle, rectangleStyle, ruleStyle, swiftStyle, style, ...props }: import("./types").ChartProps): import("react/jsx-runtime").JSX.Element; AsyncImage({ url, scale, swiftStyle, style, ...props }: import("./types").AsyncImageProps): import("react/jsx-runtime").JSX.Element; EditButton({ swiftStyle, style, ...props }: import("./types").EditButtonProps): import("react/jsx-runtime").JSX.Element; EmptyView({ swiftStyle, style, ...props }: import("./types").EmptyViewProps): import("react/jsx-runtime").JSX.Element; LocationButton({ onAction, title, swiftStyle, style, ...props }: import("./types").LocationButtonProps): import("react/jsx-runtime").JSX.Element; ProductView({ id, prefersPromotionalIcon, swiftStyle, style, ...props }: import("./types").ProductViewProps): import("react/jsx-runtime").JSX.Element; RenameButton({ swiftStyle, style, ...props }: import("./types").RenameButtonProps): import("react/jsx-runtime").JSX.Element; ShortcutsLink({ onAction, swiftStyle, style, ...props }: import("./types").ShortcutsLinkProps): import("react/jsx-runtime").JSX.Element; StoreView({ ids, prefersPromotionalIcon, swiftStyle, style, ...props }: import("./types").StoreViewProps): import("react/jsx-runtime").JSX.Element; SubscriptionStoreView({ groupID, visibleRelationships, productIDs, swiftStyle, style, ...props }: import("./types").SubscriptionStoreViewProps): import("react/jsx-runtime").JSX.Element; ArrangementView: typeof import("./ArrangementView.native").ArrangementViewComponent & { Primary: typeof import("./ArrangementView.native").ArrangementPrimary; Secondary: typeof import("./ArrangementView.native").ArrangementSecondary; Leading: typeof import("./ArrangementView.native").ArrangementPrimary; Detail: typeof import("./ArrangementView.native").ArrangementSecondary; }; Tabs: typeof Tabs; Tab: typeof Tab; TabSection: typeof TabSection; TabViewBottomAccessory: typeof TabViewBottomAccessory; TabViewSlot: typeof TabViewSlot; Menu: typeof AndroidMenu; ContextMenu: typeof AndroidContextMenu; Sheet: typeof Sheet; FullScreenCover: typeof FullScreenCover; Popover: typeof Popover; Host: typeof Host; HStack: typeof HStack; VStack: typeof VStack; ZStack: typeof ZStack; Form: typeof Form; Section: typeof Section; Glass: typeof Glass; GlassEffectContainer: typeof GlassEffectContainer; GeometryReader: typeof GeometryReader; LabeledContent: typeof LabeledContent; Button: typeof Button; List: typeof List; ScrollView: typeof ScrollView; ScrollViewReader: typeof ScrollViewReader; LazyVStack: typeof LazyVStack; LazyHStack: typeof LazyHStack; LazyVGrid: typeof LazyVGrid; LazyHGrid: typeof LazyHGrid; Grid: typeof Grid; GridRow: typeof GridRow; ControlGroup: typeof ControlGroup; DisclosureGroup: typeof DisclosureGroup; Divider: typeof Divider; Link: typeof Link; Group: typeof Group; GroupBox: typeof GroupBox; ViewThatFits: typeof ViewThatFits; Overlay: (({ alignment, children, style, ...props }: import("./groupTypes").OverlayProps) => import("react/jsx-runtime").JSX.Element) & { Content: typeof import("./Containers.native").OverlayContent; }; ViewSlot: (({ name, options, children, style, ...props }: import("./groupTypes").ViewSlotProps) => import("react/jsx-runtime").JSX.Element) & { Content: typeof import("./Containers.native").OverlayContent; }; SwipeActions: (({ children, style, ...props }: import("./groupTypes").SwipeActionsProps) => import("react/jsx-runtime").JSX.Element) & { Actions: typeof import("./Containers.native").SwipeActionsActions; }; Pager: typeof Pager; Page: typeof Page; NavigationStack: typeof NavigationStack; NavigationSplitView: (({ children, columnVisibility, onColumnVisibilityChange, preferredCompactColumn, onPreferredCompactColumnChange, swiftStyle, style, ...props }: import("./types").NavigationSplitViewProps) => import("react/jsx-runtime").JSX.Element) & { Sidebar: (props: import("./types").NavigationSplitViewColumnProps) => never; Content: (props: import("./types").NavigationSplitViewColumnProps) => never; Detail: (props: import("./types").NavigationSplitViewColumnProps) => never; }; Toolbar: ((_props: import("./types").ToolbarProps) => never) & { Content: typeof import("./NavigationStack.native").ToolbarContent; }; ToolbarItem: typeof ToolbarItem; ToolbarItemGroup: typeof ToolbarItemGroup; ToolbarSpacer: typeof ToolbarSpacer; Spacer: typeof Spacer; Slot: typeof Slot; withAnimation: typeof withAnimation; PhaseAnimator: typeof PhaseAnimator; KeyframeAnimator: typeof KeyframeAnimator; KeyframeTrack: typeof KeyframeTrack; LinearKeyframe: typeof LinearKeyframe; SpringKeyframe: typeof SpringKeyframe; CubicKeyframe: typeof CubicKeyframe; MoveKeyframe: typeof MoveKeyframe; Map: typeof MapWithControls; }; export { Compose }; export { Notifications } from './notifications'; export { Widgets, LiveActivities, WidgetUI }; export { Menu, ContextMenu }; export { useNativeState, type NativeState } from './nativeState'; export { TextInput } from './universal/TextInput/index'; export type { TextInputProps, TextInputRef, TextInputSelection, } from './universal/TextInput/textInputTypes'; export type * from './types'; export type * from './composeTypes'; export type * from './chartTypes'; export { Haptics } from './haptics/index.native'; export { LaunchScreen } from './launchScreen/index.native'; export { LocalAuthentication } from './local-authentication/index'; export type { LocalAuthenticationStatus } from './local-authentication/index'; export { ProtectedStore } from './protected-store/index'; export type { ProtectedStorePolicy } from './protected-store/index'; export { Location } from './location/index'; export type { LocationPermissionStatus, LocationPosition, LocationPlace, LocationRegion, LocationWatchError, RegionCenter, RegionState, RegionSubscription, } from './location/index'; export { FileSystem } from './file-system/index.native'; export type { FileDirectories, FileEncoding, FileEntry, FileInfo, } from './file-system/index.native'; export { Audio } from './audio/index'; export { CameraView } from './camera/index.native'; export type { CameraCapturedPicture, CameraCode, CameraCodeType, CameraFacing, CameraFlashMode, CameraPictureOptions, CameraState, CameraViewProps, CameraViewRef, } from './camera/index.native'; export type { AudioPlaybackState, AudioPlaybackStatus, AudioPlayer, AudioPlayerOptions, AudioPlayerSubscription, AudioRecordingPermission, AudioRecordingResult, AudioRecordingState, AudioRecordingStatus, AudioSource, AudioSourceObject, AudioStatus, PitchCorrectionQuality, } from './audio/index'; export { Share } from './share/index'; export { Open } from './open/index.native'; export type { OpenShareContent } from './open/index.native'; export type { ShareItem, ShareItemType, ShareResult } from './share/index'; export { PhotoLibrary } from './photo-library/index'; export { MapServices } from './map-services/index'; export type { MapCoordinate, MapPlace, MapRoute, MapRouteStep, MapSuggestion, MapTransport, } from './map-services/index'; export type { PhotoLibraryAsset, PhotoLibraryAssetPage, PhotoLibraryMediaType, PhotoLibraryPermissionStatus, } from './photo-library/index'; export { AppTracking } from './app-tracking/index'; export { AppIcon } from './app-icon/index'; export type { AppTrackingPermissionStatus } from './app-tracking/index'; export { ScreenOrientation } from './screen-orientation/index'; export type { ScreenOrientationLock, ScreenOrientationValue, } from './screen-orientation/index'; export { ScreenCapture, usePreventScreenCapture } from './screen-capture/index'; export type { ScreenCaptureResult, ScreenCaptureState } from './screen-capture/index'; export { Purchases } from './purchases/index'; export type { PurchaseProduct, PurchaseProductType, PurchaseResult, PurchaseStatus, PurchaseTransaction, PurchaseUpdate, PurchaseUpdateStatus, } from './purchases/index'; export { ImageManipulator } from './image-manipulator/index.native'; export type { ImageCrop, ImageFlip, ImageFormat, ImageResize, ImageManipulatorOptions, ImageTransformResult, } from './image-manipulator/index.native'; export { Device } from './device/index'; export type { DeviceInfo, LocalizationInfo } from './device/index'; export { Motion } from './motion/index.native'; export type { MotionAvailability, MotionReading, MotionSensor, MotionVector, } from './motion/index.native'; export { BackgroundTasks } from './background-tasks/index'; export { AppIntents } from './app-intents/index'; export type { AppIntentHandler } from './app-intents/index'; export type { BackgroundTaskContext, BackgroundTaskHandler, } from './background-tasks/index'; export type { BackgroundTaskInvocation, BackgroundTaskKind, PendingBackgroundTask, } from './background-tasks/index'; export { DeviceAttestation } from './device-attestation/index'; export type { DeviceAttestationAvailability } from './device-attestation/index'; export { Contacts } from './contacts/index'; export type { ContactChanges, ContactInfo, ContactInput, ContactPostalAddress, ContactPostalAddressInput, ContactsPermissionStatus, } from './contacts/index'; export { Calendar } from './calendar/index'; export type { CalendarEvent, CalendarEventChanges, CalendarEventInput, CalendarPermissionStatus, ReminderInfo, ReminderInput, } from './calendar/index'; export type { AndroidHaptic, HapticImpact, HapticNotification, HapticsApi } from './haptics/index.native'; export type { LaunchScreenApi, LaunchScreenHideOptions, } from './launchScreen/index.native'; export { AppInfo } from './app-info/index.native'; export type { AppInfoApi } from './app-info/index.native'; export { ImagePicker } from './image-picker/index.native'; export { DocumentPicker } from './document-picker/index.native'; export { Database } from './database/index.native'; export type { ImagePickerAsset, ImagePickerCanceledResult, ImagePickerMediaType, ImagePickerOptions, ImagePickerPermissionResponse, ImagePickerResult, ImagePickerSuccessResult, } from './image-picker/index.native'; export type { DocumentPickerAsset, DocumentPickerCanceledResult, DocumentPickerOptions, DocumentPickerResult, DocumentPickerSuccessResult, } from './document-picker/index.native'; export { UI }; export type { PortalProps, PortalHostProps } from './ui/portalTypes'; export type { PagerProps, PagerRef, PagerScrollEvent, PagerSelectedEvent, PagerScrollStateEvent, } from './ui/pagerTypes'; export { VNDocumentCameraViewController } from './vision-kit/index'; export type { VNDocumentCameraScan, VNDocumentCameraError, VNDocumentCameraViewControllerDelegate } from './vision-kit/index'; export { MFMailComposeViewController, MFMessageComposeViewController } from './message-ui/index'; export { DataScannerViewController } from './data-scanner/index'; export type { DataScannerOptions, DataScannerViewControllerDelegate, RecognizedItem } from './data-scanner/index'; export { CNContactViewController, CNMutableContact, CNContactStore } from './contact-ui/index'; export type { CNContact, CNKeyDescriptor, CNContactViewControllerOptions, CNContactViewControllerDelegate } from './contact-ui/index'; //# sourceMappingURL=index.native.d.ts.map