@knitui/components 1.0.0 → 1.1.0
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/lib/commonjs/ActionIcon/ActionIcon.js +1 -1
- package/lib/commonjs/ActionIcon/ActionIcon.js.map +1 -1
- package/lib/commonjs/Affix/Affix.js +1 -1
- package/lib/commonjs/Affix/Affix.js.map +1 -1
- package/lib/commonjs/Alert/Alert.js +1 -1
- package/lib/commonjs/Alert/Alert.js.map +1 -1
- package/lib/commonjs/Avatar/Avatar.js +1 -1
- package/lib/commonjs/Avatar/Avatar.js.map +1 -1
- package/lib/commonjs/Badge/Badge.js +1 -1
- package/lib/commonjs/Badge/Badge.js.map +1 -1
- package/lib/commonjs/Button/Button.js +1 -1
- package/lib/commonjs/Button/Button.js.map +1 -1
- package/lib/commonjs/CloseButton/CloseButton.js +1 -1
- package/lib/commonjs/CloseButton/CloseButton.js.map +1 -1
- package/lib/commonjs/Input/Input.native.js +15 -6
- package/lib/commonjs/Input/Input.native.js.map +1 -1
- package/lib/commonjs/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js.map +1 -1
- package/lib/commonjs/Modal/drag/DragDismissHost.js +4 -1
- package/lib/commonjs/Modal/drag/DragDismissHost.js.map +1 -1
- package/lib/commonjs/Modal/drag/DragDismissOverlay.js +4 -1
- package/lib/commonjs/Modal/drag/DragDismissOverlay.js.map +1 -1
- package/lib/commonjs/Modal/drag/useDragDismiss.js +83 -67
- package/lib/commonjs/Modal/drag/useDragDismiss.js.map +1 -1
- package/lib/commonjs/Modal/modal-base.js +2 -2
- package/lib/commonjs/Modal/modal-base.js.map +1 -1
- package/lib/commonjs/Pill/Pill.js +1 -1
- package/lib/commonjs/Pill/Pill.js.map +1 -1
- package/lib/commonjs/Popover/Popover.shared.js +1 -1
- package/lib/commonjs/Popover/Popover.shared.js.map +1 -1
- package/lib/commonjs/Portal/OverlayHost.js.map +1 -1
- package/lib/commonjs/Portal/OverlayPortal.js +33 -0
- package/lib/commonjs/Portal/OverlayPortal.js.map +1 -0
- package/lib/commonjs/Portal/index.js +7 -0
- package/lib/commonjs/Portal/index.js.map +1 -1
- package/lib/commonjs/ScrollArea/ScrollArea.native.js +25 -15
- package/lib/commonjs/ScrollArea/ScrollArea.native.js.map +1 -1
- package/lib/commonjs/ThemeIcon/ThemeIcon.js +1 -1
- package/lib/commonjs/ThemeIcon/ThemeIcon.js.map +1 -1
- package/lib/commonjs/Tooltip/Tooltip.js +1 -1
- package/lib/commonjs/Tooltip/Tooltip.js.map +1 -1
- package/lib/commonjs/index.js +6 -0
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/internal/gradient-shared.js +11 -1
- package/lib/commonjs/internal/gradient-shared.js.map +1 -1
- package/lib/commonjs/internal/gradient.js +6 -0
- package/lib/commonjs/internal/gradient.js.map +1 -1
- package/lib/commonjs/internal/gradient.native.js +6 -0
- package/lib/commonjs/internal/gradient.native.js.map +1 -1
- package/lib/commonjs/internal/use-looping-animation.native.js +1 -1
- package/lib/commonjs/internal/use-looping-animation.native.js.map +1 -1
- package/lib/module/ActionIcon/ActionIcon.js +2 -2
- package/lib/module/ActionIcon/ActionIcon.js.map +1 -1
- package/lib/module/Affix/Affix.js +2 -2
- package/lib/module/Affix/Affix.js.map +1 -1
- package/lib/module/Alert/Alert.js +2 -2
- package/lib/module/Alert/Alert.js.map +1 -1
- package/lib/module/Avatar/Avatar.js +2 -2
- package/lib/module/Avatar/Avatar.js.map +1 -1
- package/lib/module/Badge/Badge.js +2 -2
- package/lib/module/Badge/Badge.js.map +1 -1
- package/lib/module/Button/Button.js +2 -2
- package/lib/module/Button/Button.js.map +1 -1
- package/lib/module/CloseButton/CloseButton.js +2 -2
- package/lib/module/CloseButton/CloseButton.js.map +1 -1
- package/lib/module/Input/Input.native.js +15 -6
- package/lib/module/Input/Input.native.js.map +1 -1
- package/lib/module/KeyboardAwareScrollView/KeyboardAwareScrollView.native.js.map +1 -1
- package/lib/module/Modal/drag/DragDismissHost.js +4 -1
- package/lib/module/Modal/drag/DragDismissHost.js.map +1 -1
- package/lib/module/Modal/drag/DragDismissOverlay.js +4 -1
- package/lib/module/Modal/drag/DragDismissOverlay.js.map +1 -1
- package/lib/module/Modal/drag/useDragDismiss.js +84 -68
- package/lib/module/Modal/drag/useDragDismiss.js.map +1 -1
- package/lib/module/Modal/modal-base.js +3 -3
- package/lib/module/Modal/modal-base.js.map +1 -1
- package/lib/module/Pill/Pill.js +2 -2
- package/lib/module/Pill/Pill.js.map +1 -1
- package/lib/module/Popover/Popover.shared.js +2 -2
- package/lib/module/Popover/Popover.shared.js.map +1 -1
- package/lib/module/Portal/OverlayHost.js.map +1 -1
- package/lib/module/Portal/OverlayPortal.js +28 -0
- package/lib/module/Portal/OverlayPortal.js.map +1 -0
- package/lib/module/Portal/index.js +4 -0
- package/lib/module/Portal/index.js.map +1 -1
- package/lib/module/ScrollArea/ScrollArea.native.js +26 -16
- package/lib/module/ScrollArea/ScrollArea.native.js.map +1 -1
- package/lib/module/ThemeIcon/ThemeIcon.js +2 -2
- package/lib/module/ThemeIcon/ThemeIcon.js.map +1 -1
- package/lib/module/Tooltip/Tooltip.js +2 -2
- package/lib/module/Tooltip/Tooltip.js.map +1 -1
- package/lib/module/index.js +1 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/internal/gradient-shared.js +9 -0
- package/lib/module/internal/gradient-shared.js.map +1 -1
- package/lib/module/internal/gradient.js +2 -0
- package/lib/module/internal/gradient.js.map +1 -1
- package/lib/module/internal/gradient.native.js +2 -0
- package/lib/module/internal/gradient.native.js.map +1 -1
- package/lib/module/internal/use-looping-animation.native.js +1 -1
- package/lib/module/internal/use-looping-animation.native.js.map +1 -1
- package/lib/typescript/ActionIcon/ActionIcon.d.ts.map +1 -1
- package/lib/typescript/Alert/Alert.d.ts.map +1 -1
- package/lib/typescript/Avatar/Avatar.d.ts +14 -14
- package/lib/typescript/Avatar/Avatar.d.ts.map +1 -1
- package/lib/typescript/Badge/Badge.d.ts.map +1 -1
- package/lib/typescript/Button/Button.d.ts.map +1 -1
- package/lib/typescript/CloseButton/CloseButton.d.ts.map +1 -1
- package/lib/typescript/Image/Image.d.ts +14 -14
- package/lib/typescript/Image/Image.native.d.ts +14 -14
- package/lib/typescript/Image/createImage.d.ts +18 -18
- package/lib/typescript/Input/Input.native.d.ts +21 -21
- package/lib/typescript/Input/Input.native.d.ts.map +1 -1
- package/lib/typescript/KeyboardAvoidingView/KeyboardAvoidingView.native.d.ts +2 -2
- package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.native.d.ts +12 -18
- package/lib/typescript/KeyboardAwareScrollView/KeyboardAwareScrollView.native.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/DragDismissHost.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/DragDismissOverlay.d.ts.map +1 -1
- package/lib/typescript/Modal/drag/useDragDismiss.d.ts +2 -2
- package/lib/typescript/Modal/drag/useDragDismiss.d.ts.map +1 -1
- package/lib/typescript/Modal/modal-base-inner.native.d.ts +2 -2
- package/lib/typescript/Modal/modal-base-inner.native.d.ts.map +1 -1
- package/lib/typescript/Pill/Pill.d.ts.map +1 -1
- package/lib/typescript/Portal/OverlayHost.d.ts +2 -2
- package/lib/typescript/Portal/OverlayHost.d.ts.map +1 -1
- package/lib/typescript/Portal/OverlayPortal.d.ts +19 -0
- package/lib/typescript/Portal/OverlayPortal.d.ts.map +1 -0
- package/lib/typescript/Portal/index.d.ts +4 -0
- package/lib/typescript/Portal/index.d.ts.map +1 -1
- package/lib/typescript/ScrollArea/ScrollArea.native.d.ts.map +1 -1
- package/lib/typescript/ThemeIcon/ThemeIcon.d.ts.map +1 -1
- package/lib/typescript/index.d.ts +1 -1
- package/lib/typescript/index.d.ts.map +1 -1
- package/lib/typescript/internal/gradient-shared.d.ts +1 -0
- package/lib/typescript/internal/gradient-shared.d.ts.map +1 -1
- package/lib/typescript/internal/gradient.d.ts +1 -0
- package/lib/typescript/internal/gradient.d.ts.map +1 -1
- package/lib/typescript/internal/gradient.native.d.ts +1 -0
- package/lib/typescript/internal/gradient.native.d.ts.map +1 -1
- package/lib/typescript/internal/use-looping-animation.native.d.ts +2 -2
- package/lib/typescript/internal/use-looping-animation.native.d.ts.map +1 -1
- package/package.json +12 -12
- package/src/ActionIcon/ActionIcon.tsx +2 -2
- package/src/Affix/Affix.tsx +2 -2
- package/src/Alert/Alert.tsx +2 -2
- package/src/Avatar/Avatar.tsx +2 -2
- package/src/Badge/Badge.tsx +2 -2
- package/src/Button/Button.tsx +2 -2
- package/src/CloseButton/CloseButton.tsx +2 -2
- package/src/Input/Input.native.tsx +22 -7
- package/src/KeyboardAwareScrollView/KeyboardAwareScrollView.native.tsx +33 -32
- package/src/Modal/drag/DragDismissHost.tsx +10 -5
- package/src/Modal/drag/DragDismissOverlay.tsx +9 -5
- package/src/Modal/drag/useDragDismiss.ts +29 -21
- package/src/Modal/modal-base.tsx +4 -4
- package/src/Pill/Pill.tsx +2 -2
- package/src/Popover/Popover.shared.tsx +3 -3
- package/src/Portal/OverlayHost.tsx +4 -4
- package/src/Portal/OverlayPortal.tsx +26 -0
- package/src/Portal/index.ts +4 -0
- package/src/ScrollArea/ScrollArea.native.tsx +39 -33
- package/src/ThemeIcon/ThemeIcon.tsx +2 -2
- package/src/Tooltip/Tooltip.tsx +3 -3
- package/src/index.ts +2 -0
- package/src/internal/gradient-shared.ts +13 -0
- package/src/internal/gradient.native.tsx +1 -0
- package/src/internal/gradient.tsx +1 -0
- package/src/internal/use-looping-animation.native.tsx +2 -2
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { type TextInputProps as RNTextInputProps, TextInput } from "react-native";
|
|
3
|
-
import { type GetProps } from "@knitui/core";
|
|
3
|
+
import { type GetProps, type TamaguiElement } from "@knitui/core";
|
|
4
4
|
import type { InputNativeProps } from "./InputNativeProps";
|
|
5
5
|
import { InputChrome } from "./shared";
|
|
6
6
|
import type { InputSharedProps } from "./types";
|
|
7
|
-
declare const InputHostStyle: React.FunctionComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & RNTextInputProps
|
|
7
|
+
declare const InputHostStyle: React.FunctionComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & RNTextInputProps & React.RefAttributes<TamaguiElement>, "size"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").TextStylePropsBase, "size">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
8
8
|
size?: import("..").CssString | import("@tamagui/web").FontSize | undefined;
|
|
9
|
-
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>, "theme" | "debug" | "children" | "value" | "render" | "textAlign" | "disabled" | "pointerEvents" | "
|
|
10
|
-
ref?: React.Ref<
|
|
11
|
-
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer,
|
|
9
|
+
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").TextStylePropsBase>>, "theme" | "debug" | "children" | "ref" | "value" | "render" | "textAlign" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "textAlignVertical" | "numberOfLines" | "style" | "onPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onFocus" | "onBlur" | "onClick" | "onKeyDown" | "onKeyUp" | "onChange" | "onScroll" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape" | "defaultValue" | "autoComplete" | "maxLength" | "key" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "allowFontScaling" | "maxFontSizeMultiplier" | "readOnly" | "enterKeyHint" | "inputMode" | "multiline" | "onChangeText" | "onSubmitEditing" | "onSelectionChange" | "onEndEditing" | "onContentSizeChange" | "onKeyPress" | "placeholderTextColor" | "cursorColor" | "selectionHandleColor" | "autoCorrect" | "autoCapitalize" | "spellCheck" | "autoFocus" | "placeholder" | "rows" | "selection" | "textContentType" | "returnKeyType" | "submitBehavior" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "selectTextOnFocus" | "secureTextEntry" | "keyboardType" | "keyboardAppearance" | "clearButtonMode" | "clearTextOnFocus" | "enablesReturnKeyAutomatically" | "dataDetectorTypes" | "scrollEnabled" | "passwordRules" | "rejectResponderTermination" | "lineBreakModeIOS" | "smartInsertDelete" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "disableKeyboardShortcuts" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "showSoftInputOnFocus" | "underlineColorAndroid" | "experimental_acceptDragAndDropTypes" | "editable" | "forwardedRef"> & {
|
|
10
|
+
ref?: React.Ref<(HTMLElement & import("@tamagui/web").TamaguiElementMethods) | import("@tamagui/react-native-types").ViewInstance | React.Component<RNTextInputProps & React.RefAttributes<TamaguiElement>, any, any>> | undefined;
|
|
11
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, (HTMLElement & import("@tamagui/web").TamaguiElementMethods) | import("@tamagui/react-native-types").ViewInstance | React.Component<RNTextInputProps & React.RefAttributes<TamaguiElement>, any, any>, import("@tamagui/web").TamaguiComponentPropsBaseBase & RNTextInputProps & React.RefAttributes<TamaguiElement>, import("@tamagui/web").TextStylePropsBase, {
|
|
12
12
|
size?: import("..").CssString | import("@tamagui/web").FontSize | undefined;
|
|
13
13
|
}, {
|
|
14
14
|
readonly isInput: true;
|
|
15
15
|
}> & Omit<{
|
|
16
16
|
readonly isInput: true;
|
|
17
17
|
}, "staticConfig"> & {
|
|
18
|
-
__tama: [import("@tamagui/web").TamaDefer,
|
|
18
|
+
__tama: [import("@tamagui/web").TamaDefer, (HTMLElement & import("@tamagui/web").TamaguiElementMethods) | import("@tamagui/react-native-types").ViewInstance | React.Component<RNTextInputProps & React.RefAttributes<TamaguiElement>, any, any>, import("@tamagui/web").TamaguiComponentPropsBaseBase & RNTextInputProps & React.RefAttributes<TamaguiElement>, import("@tamagui/web").TextStylePropsBase, {
|
|
19
19
|
size?: import("..").CssString | import("@tamagui/web").FontSize | undefined;
|
|
20
20
|
}, {
|
|
21
21
|
readonly isInput: true;
|
|
@@ -36,7 +36,7 @@ type NativeInputOwnProps = InputSharedProps & Omit<InputNativeProps, Overlapping
|
|
|
36
36
|
};
|
|
37
37
|
/** The host frame's style props (padding, text styles, input colours) stay public. */
|
|
38
38
|
type NativeInputProps = Omit<GetProps<typeof InputHostStyle>, keyof NativeInputOwnProps> & NativeInputOwnProps;
|
|
39
|
-
export declare const Input: React.FunctionComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/web").TamaguiComponentPropsBaseBase & RNTextInputProps
|
|
39
|
+
export declare const Input: React.FunctionComponent<Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/web").TamaguiComponentPropsBaseBase & RNTextInputProps & React.RefAttributes<TamaguiElement>, import("@tamagui/web").TextStylePropsBase, {
|
|
40
40
|
size?: import("..").CssString | import("@tamagui/web").FontSize | undefined;
|
|
41
41
|
}>, "color" | "fontSize" | "fontWeight" | "letterSpacing" | "children" | "value" | "type" | "render" | "textAlign" | "textTransform" | "disabled" | "verticalAlign" | "fontFamily" | "fontStyle" | "id" | "name" | "textAlignVertical" | "numberOfLines" | "multiple" | "onPress" | "onFocus" | "onBlur" | "onKeyDown" | "onChange" | "onInput" | "onScroll" | "pattern" | "max" | "min" | "defaultValue" | "autoComplete" | "maxLength" | "minLength" | "autosize" | "error" | "styles" | "lineBreakStrategyIOS" | "textBreakStrategy" | "allowFontScaling" | "maxFontSizeMultiplier" | "readOnly" | "step" | "enterKeyHint" | "inputMode" | "rootRef" | "multiline" | "required" | "wrapperProps" | "onChangeText" | "onSubmitEditing" | "onSelectionChange" | "onEndEditing" | "onContentSizeChange" | "onKeyPress" | "autoCorrect" | "autoCapitalize" | keyof import("./types").__InputProps | keyof import("./types").InputColorStyleProps | "withAria" | "spellCheck" | "autoFocus" | "placeholder" | "rows" | "minRows" | "maxRows" | "selection" | "textContentType" | "component" | "returnKeyType" | "submitBehavior" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "selectTextOnFocus" | "secureTextEntry" | "keyboardType" | "autoFocusNative" | "keyboardAppearance" | "clearButtonMode" | "clearTextOnFocus" | "enablesReturnKeyAutomatically" | "dataDetectorTypes" | "scrollEnabled" | "passwordRules" | "rejectResponderTermination" | "lineBreakModeIOS" | "smartInsertDelete" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "disableKeyboardShortcuts" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "showSoftInputOnFocus" | "dirname"> & import("./types").__InputProps & {
|
|
42
42
|
color?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"color"> | undefined>;
|
|
@@ -97,13 +97,13 @@ export declare const Input: React.FunctionComponent<Omit<import("@tamagui/web").
|
|
|
97
97
|
onPress?: RNTextInputProps["onPress"];
|
|
98
98
|
children?: React.ReactNode;
|
|
99
99
|
} & {
|
|
100
|
-
ref?: React.Ref<
|
|
101
|
-
}> & import("@tamagui/web").StaticComponentObject<NativeInputProps,
|
|
102
|
-
__tama: [NativeInputProps,
|
|
100
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
101
|
+
}> & import("@tamagui/web").StaticComponentObject<NativeInputProps, TamaguiElement, NativeInputProps, {}, {}, {}> & Omit<{}, "staticConfig"> & {
|
|
102
|
+
__tama: [NativeInputProps, TamaguiElement, NativeInputProps, {}, {}, {}];
|
|
103
103
|
} & {
|
|
104
|
-
Wrapper: import("@knitui/core").StyleableComponent<import("./shared").InputWrapperProps,
|
|
104
|
+
Wrapper: import("@knitui/core").StyleableComponent<import("./shared").InputWrapperProps, TamaguiElement>;
|
|
105
105
|
Chrome: typeof InputChrome;
|
|
106
|
-
Label: import("@knitui/core").StyleableComponent<import("./shared").InputLabelProps,
|
|
106
|
+
Label: import("@knitui/core").StyleableComponent<import("./shared").InputLabelProps, TamaguiElement>;
|
|
107
107
|
Error: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiTextNonStyleProps, "size" | "inherit" | "lineClamp" | "inline" | "span" | "truncate"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").TextStylePropsBase, "size" | "inherit" | "lineClamp" | "inline" | "span" | "truncate">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
108
108
|
size?: import("..").CssString | import("@tamagui/web").FontSize | undefined;
|
|
109
109
|
inherit?: boolean | undefined;
|
|
@@ -186,9 +186,9 @@ export declare const Input: React.FunctionComponent<Omit<import("@tamagui/web").
|
|
|
186
186
|
}, import("@tamagui/web").StaticConfigPublic];
|
|
187
187
|
};
|
|
188
188
|
ClearButton: React.FunctionComponent<import("..").CloseButtonProps & {
|
|
189
|
-
ref?: React.Ref<
|
|
190
|
-
}> & import("@tamagui/web").StaticComponentObject<import("..").CloseButtonProps,
|
|
191
|
-
__tama: [import("..").CloseButtonProps,
|
|
189
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
190
|
+
}> & import("@tamagui/web").StaticComponentObject<import("..").CloseButtonProps, TamaguiElement, import("..").CloseButtonProps, {}, {}, {}> & Omit<{}, "staticConfig"> & {
|
|
191
|
+
__tama: [import("..").CloseButtonProps, TamaguiElement, import("..").CloseButtonProps, {}, {}, {}];
|
|
192
192
|
} & {
|
|
193
193
|
Frame: React.FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps, "size" | "radius" | "variant" | "disabled" | "shadow"> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, "size" | "radius" | "variant" | "disabled" | "shadow">> & import("@tamagui/web").WithFlatVariantValues<{
|
|
194
194
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | (number | import("..").CssString) | undefined;
|
|
@@ -197,15 +197,15 @@ export declare const Input: React.FunctionComponent<Omit<import("@tamagui/web").
|
|
|
197
197
|
disabled?: boolean | undefined;
|
|
198
198
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
199
199
|
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onPress" | "onLongPress" | "onPressIn" | "onPressOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onMouseMove" | "onMouseOver" | "onMouseOut" | "onFocus" | "onBlur" | "onClick" | "onDoubleClick" | "onContextMenu" | "onWheel" | "onKeyDown" | "onKeyUp" | "onChange" | "onInput" | "onBeforeInput" | "onScroll" | "onCopy" | "onCut" | "onPaste" | "onDrag" | "onDragStart" | "onDragEnd" | "onDragEnter" | "onDragLeave" | "onDragOver" | "onDrop" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onScrollShouldSetResponder" | "onScrollShouldSetResponderCapture" | "onSelectionChangeShouldSetResponder" | "onSelectionChangeShouldSetResponderCapture" | "onLayout" | "rel" | "download" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape"> & {
|
|
200
|
-
ref?: React.Ref<
|
|
201
|
-
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer,
|
|
200
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
201
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
202
202
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | (number | import("..").CssString) | undefined;
|
|
203
203
|
radius?: import("..").RadiusValue | undefined;
|
|
204
204
|
variant?: import("..").ActionIconVariant | undefined;
|
|
205
205
|
disabled?: boolean | undefined;
|
|
206
206
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
207
207
|
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
208
|
-
__tama: [import("@tamagui/web").TamaDefer,
|
|
208
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
209
209
|
size?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | (number | import("..").CssString) | undefined;
|
|
210
210
|
radius?: import("..").RadiusValue | undefined;
|
|
211
211
|
variant?: import("..").ActionIconVariant | undefined;
|
|
@@ -217,12 +217,12 @@ export declare const Input: React.FunctionComponent<Omit<import("@tamagui/web").
|
|
|
217
217
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
218
218
|
iconSize?: import("..").CssString | import("@tamagui/web").FontSize | undefined;
|
|
219
219
|
}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, keyof import("@tamagui/core").RNTamaguiViewNonStyleProps> & {
|
|
220
|
-
ref?: React.Ref<
|
|
221
|
-
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer,
|
|
220
|
+
ref?: React.Ref<TamaguiElement> | undefined;
|
|
221
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
222
222
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
223
223
|
iconSize?: import("..").CssString | import("@tamagui/web").FontSize | undefined;
|
|
224
224
|
}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
225
|
-
__tama: [import("@tamagui/web").TamaDefer,
|
|
225
|
+
__tama: [import("@tamagui/web").TamaDefer, TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase, {
|
|
226
226
|
shadow?: "xxs" | "xs" | "sm" | "md" | "lg" | "xl" | "xxl" | undefined;
|
|
227
227
|
iconSize?: import("..").CssString | import("@tamagui/web").FontSize | undefined;
|
|
228
228
|
}, import("@tamagui/web").StaticConfigPublic];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.native.d.ts","sourceRoot":"","sources":["../../../src/Input/Input.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,cAAc,IAAI,gBAAgB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAElF,OAAO,EAEL,KAAK,QAAQ,
|
|
1
|
+
{"version":3,"file":"Input.native.d.ts","sourceRoot":"","sources":["../../../src/Input/Input.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAC1B,OAAO,EAAE,KAAK,cAAc,IAAI,gBAAgB,EAAE,SAAS,EAAE,MAAM,cAAc,CAAC;AAElF,OAAO,EAEL,KAAK,QAAQ,EAIb,KAAK,cAAc,EAGpB,MAAM,cAAc,CAAC;AAKtB,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AAC3D,OAAO,EAML,WAAW,EASZ,MAAM,UAAU,CAAC;AAClB,OAAO,KAAK,EAEV,gBAAgB,EAGjB,MAAM,SAAS,CAAC;AAajB,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;CAA8D,CAAC;AAwBnF,KAAK,sBAAsB,GAAG,aAAa,GAAG,gBAAgB,GAAG,YAAY,CAAC;AAC9E,KAAK,mBAAmB,GAAG,gBAAgB,GACzC,IAAI,CAAC,gBAAgB,EAAE,sBAAsB,CAAC,GAAG;IAC/C,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0EAA0E;IAC1E,MAAM,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACpD,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,CAAC;IACvD,SAAS,CAAC,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC1C,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtC,MAAM,CAAC,EAAE,gBAAgB,CAAC,QAAQ,CAAC,CAAC;IACpC,OAAO,CAAC,EAAE,gBAAgB,CAAC,SAAS,CAAC,CAAC;IACtC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AACJ,sFAAsF;AACtF,KAAK,gBAAgB,GAAG,IAAI,CAAC,QAAQ,CAAC,OAAO,cAAc,CAAC,EAAE,MAAM,mBAAmB,CAAC,GACtF,mBAAmB,CAAC;AAuhBtB,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;WAvS+C,CAAC;;;;cA7PpD,MAAM;IAChB,0EAA0E;aACjE,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ;IACnD,oEAAoE;gBACxD,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ;gBAC1C,gBAAgB,CAAC,WAAW,CAAC;cAC/B,gBAAgB,CAAC,SAAS,CAAC;aAC5B,gBAAgB,CAAC,QAAQ,CAAC;cACzB,gBAAgB,CAAC,SAAS,CAAC;eAC1B,KAAK,CAAC,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmiB5B,CAAC;AAEH,MAAM,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAC1C,MAAM,MAAM,QAAQ,GAAG,SAAS,CAAC"}
|
|
@@ -15,7 +15,7 @@ import { type GetProps } from "@knitui/core";
|
|
|
15
15
|
* The web build is a plain pass-through `Box` — browsers reflow for their own
|
|
16
16
|
* on-screen keyboard, so the native-only props are accepted and ignored there.
|
|
17
17
|
*/
|
|
18
|
-
declare const Frame: React.FunctionComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onFocus" | "onBlur" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "
|
|
18
|
+
declare const Frame: React.FunctionComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onMouseEnter" | "onMouseLeave" | "onFocus" | "onBlur" | "onClick" | "onKeyDown" | "onKeyUp" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape" | "enabled" | "behavior" | "keyboardVerticalOffset" | "contentContainerStyle"> & {
|
|
19
19
|
ref?: React.Ref<RNKeyboardAvoidingView> | undefined;
|
|
20
20
|
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, RNKeyboardAvoidingView, import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
21
21
|
__tama: [import("@tamagui/web").TamaDefer, RNKeyboardAvoidingView, import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic];
|
|
@@ -27,7 +27,7 @@ export type KeyboardAvoidingViewProps = GetProps<typeof Frame> & {
|
|
|
27
27
|
*/
|
|
28
28
|
automaticOffset?: boolean;
|
|
29
29
|
};
|
|
30
|
-
export declare const KeyboardAvoidingView: React.ForwardRefExoticComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onFocus" | "onBlur" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "
|
|
30
|
+
export declare const KeyboardAvoidingView: React.ForwardRefExoticComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onMouseEnter" | "onMouseLeave" | "onFocus" | "onBlur" | "onClick" | "onKeyDown" | "onKeyUp" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape" | "enabled" | "behavior" | "keyboardVerticalOffset" | "contentContainerStyle"> & {
|
|
31
31
|
/**
|
|
32
32
|
* Accepted for cross-platform API parity (it was a `react-native-keyboard-controller`
|
|
33
33
|
* prop). RN's built-in `KeyboardAvoidingView` has no equivalent, so it's ignored.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { type ScrollViewInstance } from "react-native";
|
|
3
3
|
import { type GetProps } from "@knitui/core";
|
|
4
4
|
/**
|
|
5
5
|
* Native build of the `KeyboardAwareScrollView` form primitive.
|
|
@@ -22,10 +22,16 @@ import { type GetProps } from "@knitui/core";
|
|
|
22
22
|
* focused input into view on Android — the keyboard-height padding lets the user
|
|
23
23
|
* scroll to it. The web build is a plain scrollable `Box`.
|
|
24
24
|
*/
|
|
25
|
-
declare const Frame: React.FunctionComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").ScrollViewProps,
|
|
26
|
-
ref?: React.Ref<
|
|
27
|
-
}> & import("@tamagui/web").
|
|
28
|
-
|
|
25
|
+
declare const Frame: React.FunctionComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & Omit<import("react-native").ScrollViewProps, "ref"> & {
|
|
26
|
+
ref?: React.Ref<ScrollViewInstance> | undefined;
|
|
27
|
+
}, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "ref" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "horizontal" | "onMouseEnter" | "onMouseLeave" | "onFocus" | "onBlur" | "onClick" | "onKeyDown" | "onKeyUp" | "onScroll" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape" | "keyboardShouldPersistTaps" | "onContentSizeChange" | "contentContainerStyle" | "showsVerticalScrollIndicator" | "showsHorizontalScrollIndicator" | "maintainVisibleContentPosition" | "scrollEnabled" | "contentInset" | "contentOffset" | "zoomScale" | "automaticallyAdjustContentInsets" | "automaticallyAdjustKeyboardInsets" | "automaticallyAdjustsScrollIndicatorInsets" | "bounces" | "disableScrollViewPanResponder" | "bouncesZoom" | "alwaysBounceHorizontal" | "alwaysBounceVertical" | "centerContent" | "indicatorStyle" | "directionalLockEnabled" | "canCancelContentTouches" | "maximumZoomScale" | "minimumZoomScale" | "pinchGestureEnabled" | "scrollIndicatorInsets" | "scrollToOverflowEnabled" | "scrollsToTop" | "onScrollToTop" | "contentInsetAdjustmentBehavior" | "nestedScrollEnabled" | "endFillColor" | "scrollPerfTag" | "overScrollMode" | "persistentScrollbar" | "fadingEdgeLength" | "scrollsChildToFocus" | "disableIntervalMomentum" | "decelerationRate" | "experimental_endDraggingSensitivityMultiplier" | "invertStickyHeaders" | "keyboardDismissMode" | "onMomentumScrollBegin" | "onMomentumScrollEnd" | "onScrollBeginDrag" | "onScrollEndDrag" | "onKeyboardDidShow" | "onKeyboardDidHide" | "onKeyboardWillShow" | "onKeyboardWillHide" | "pagingEnabled" | "scrollEventThrottle" | "stickyHeaderHiddenOnScroll" | "stickyHeaderIndices" | "StickyHeaderComponent" | "snapToAlignment" | "snapToInterval" | "snapToOffsets" | "snapToStart" | "snapToEnd" | "refreshControl" | "innerViewRef" | "scrollViewRef"> & {
|
|
28
|
+
ref?: React.Ref<ScrollViewInstance> | undefined;
|
|
29
|
+
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, ScrollViewInstance, import("@tamagui/web").TamaguiComponentPropsBaseBase & Omit<import("react-native").ScrollViewProps, "ref"> & {
|
|
30
|
+
ref?: React.Ref<ScrollViewInstance> | undefined;
|
|
31
|
+
}, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
32
|
+
__tama: [import("@tamagui/web").TamaDefer, ScrollViewInstance, import("@tamagui/web").TamaguiComponentPropsBaseBase & Omit<import("react-native").ScrollViewProps, "ref"> & {
|
|
33
|
+
ref?: React.Ref<ScrollViewInstance> | undefined;
|
|
34
|
+
}, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic];
|
|
29
35
|
};
|
|
30
36
|
export type KeyboardAwareScrollViewProps = GetProps<typeof Frame> & {
|
|
31
37
|
/**
|
|
@@ -40,18 +46,6 @@ export type KeyboardAwareScrollViewProps = GetProps<typeof Frame> & {
|
|
|
40
46
|
mode?: string;
|
|
41
47
|
ScrollViewComponent?: unknown;
|
|
42
48
|
};
|
|
43
|
-
export declare const KeyboardAwareScrollView: React.ForwardRefExoticComponent<Omit<
|
|
44
|
-
/**
|
|
45
|
-
* RNKC tuning props — accepted for cross-platform API parity but not honored by
|
|
46
|
-
* this implementation (see the note above). `extraKeyboardSpace` is the one
|
|
47
|
-
* exception: it's added to the Android bottom padding.
|
|
48
|
-
*/
|
|
49
|
-
bottomOffset?: number;
|
|
50
|
-
extraKeyboardSpace?: number;
|
|
51
|
-
disableScrollOnKeyboardHide?: boolean;
|
|
52
|
-
enabled?: boolean;
|
|
53
|
-
mode?: string;
|
|
54
|
-
ScrollViewComponent?: unknown;
|
|
55
|
-
} & React.RefAttributes<ScrollView>>;
|
|
49
|
+
export declare const KeyboardAwareScrollView: React.ForwardRefExoticComponent<Omit<KeyboardAwareScrollViewProps, "ref"> & React.RefAttributes<ScrollViewInstance>>;
|
|
56
50
|
export {};
|
|
57
51
|
//# sourceMappingURL=KeyboardAwareScrollView.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KeyboardAwareScrollView.native.d.ts","sourceRoot":"","sources":["../../../src/KeyboardAwareScrollView/KeyboardAwareScrollView.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"KeyboardAwareScrollView.native.d.ts","sourceRoot":"","sources":["../../../src/KeyboardAwareScrollView/KeyboardAwareScrollView.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAwB,KAAK,kBAAkB,EAAE,MAAM,cAAc,CAAC;AAE7E,OAAO,EAAE,KAAK,QAAQ,EAAU,MAAM,cAAc,CAAC;AAGrD;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,QAAA,MAAM,KAAK;;;;;;;;;;CAGT,CAAC;AAEH,MAAM,MAAM,4BAA4B,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,GAAG;IAClE;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,2BAA2B,CAAC,EAAE,OAAO,CAAC;IACtC,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,mBAAmB,CAAC,EAAE,OAAO,CAAC;CAC/B,CAAC;AAEF,eAAO,MAAM,uBAAuB,sHAiClC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DragDismissHost.d.ts","sourceRoot":"","sources":["../../../../src/Modal/drag/DragDismissHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,QAA8B,MAAM,yBAAyB,CAAC;
|
|
1
|
+
{"version":3,"file":"DragDismissHost.d.ts","sourceRoot":"","sources":["../../../../src/Modal/drag/DragDismissHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,QAA8B,MAAM,yBAAyB,CAAC;AAGrE,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD;;;;;;;;GAQG;AACH,eAAO,MAAM,eAAe,4FAkB3B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DragDismissOverlay.d.ts","sourceRoot":"","sources":["../../../../src/Modal/drag/DragDismissOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAUvD,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,MAAM,EACN,UAAc,EACd,OAAO,EACP,YAAY,GACb,EAAE,uBAAuB,
|
|
1
|
+
{"version":3,"file":"DragDismissOverlay.d.ts","sourceRoot":"","sources":["../../../../src/Modal/drag/DragDismissOverlay.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAO/B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAUvD,wBAAgB,kBAAkB,CAAC,EACjC,MAAM,EACN,MAAM,EACN,UAAc,EACd,OAAO,EACP,YAAY,GACb,EAAE,uBAAuB,qBAezB"}
|
|
@@ -35,12 +35,12 @@ export interface DragDismissParams {
|
|
|
35
35
|
onDismiss: () => void;
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
|
-
* A single-axis drag-to-dismiss `
|
|
38
|
+
* A single-axis drag-to-dismiss pan (RNGH 3 `usePanGesture`), shared by `Modal` (axis `y`,
|
|
39
39
|
* sign `-1` — drag up) and `Drawer` (per-edge axis/sign). Tracks the finger toward the
|
|
40
40
|
* dismiss edge into `offset` (rubber-banding the wrong way), and on release runs
|
|
41
41
|
* the pure {@link shouldDismiss} on the UI thread: dismiss → spring off-screen
|
|
42
42
|
* then `onDismiss`; otherwise spring back to rest. Works on web and native (RNGH
|
|
43
|
-
* `
|
|
43
|
+
* `usePanGesture` supports both). Returns the gesture for a `<GestureDetector>`.
|
|
44
44
|
*/
|
|
45
45
|
export declare function useDragDismiss(params: DragDismissParams): PanGesture;
|
|
46
46
|
//# sourceMappingURL=useDragDismiss.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useDragDismiss.d.ts","sourceRoot":"","sources":["../../../../src/Modal/drag/useDragDismiss.ts"],"names":[],"mappings":"AACA,OAAO,
|
|
1
|
+
{"version":3,"file":"useDragDismiss.d.ts","sourceRoot":"","sources":["../../../../src/Modal/drag/useDragDismiss.ts"],"names":[],"mappings":"AACA,OAAO,EACL,KAAK,UAAU,EAGhB,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAEL,KAAK,WAAW,EAGhB,KAAK,gBAAgB,EACtB,MAAM,yBAAyB,CAAC;AAKjC;;;;GAIG;AACH,eAAO,MAAM,sBAAsB,EAAE,gBAKpC,CAAC;AASF,MAAM,MAAM,QAAQ,GAAG,GAAG,GAAG,GAAG,CAAC;AAEjC,MAAM,WAAW,iBAAiB;IAChC,kFAAkF;IAClF,MAAM,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAC5B,iBAAiB;IACjB,IAAI,EAAE,QAAQ,CAAC;IACf,uEAAuE;IACvE,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC;IACb,2EAA2E;IAC3E,MAAM,EAAE,MAAM,CAAC;IACf;;;;;;;OAOG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,+EAA+E;IAC/E,OAAO,EAAE,OAAO,CAAC;IACjB,gEAAgE;IAChE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sCAAsC;IACtC,MAAM,CAAC,EAAE,gBAAgB,CAAC;IAC1B,0EAA0E;IAC1E,SAAS,EAAE,MAAM,IAAI,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,wBAAgB,cAAc,CAAC,MAAM,EAAE,iBAAiB,GAAG,UAAU,CAmGpE"}
|
|
@@ -16,12 +16,12 @@ import { type GetProps } from "@knitui/core";
|
|
|
16
16
|
* `styled()` over the keyboard-avoiding view keeps the kit's token-aware style
|
|
17
17
|
* props (`paddingVertical="xl"`, `alignItems`, …) working.
|
|
18
18
|
*/
|
|
19
|
-
declare const Frame: React.FunctionComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onFocus" | "onBlur" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "
|
|
19
|
+
declare const Frame: React.FunctionComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onMouseEnter" | "onMouseLeave" | "onFocus" | "onBlur" | "onClick" | "onKeyDown" | "onKeyUp" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape" | "enabled" | "behavior" | "keyboardVerticalOffset" | "contentContainerStyle"> & {
|
|
20
20
|
ref?: React.Ref<KeyboardAvoidingView> | undefined;
|
|
21
21
|
}> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, KeyboardAvoidingView, import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic> & Omit<import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
|
|
22
22
|
__tama: [import("@tamagui/web").TamaDefer, KeyboardAvoidingView, import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, import("@tamagui/web").StackStyleBase, {}, import("@tamagui/web").StaticConfigPublic];
|
|
23
23
|
};
|
|
24
24
|
export type ModalBaseInnerProps = GetProps<typeof Frame>;
|
|
25
|
-
export declare const ModalBaseInner: React.ForwardRefExoticComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onFocus" | "onBlur" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onTouchCancel" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchStart" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "
|
|
25
|
+
export declare const ModalBaseInner: React.ForwardRefExoticComponent<Omit<import("@tamagui/web").TamaguiComponentPropsBaseBase & import("react-native").KeyboardAvoidingViewProps, never> & Omit<import("@tamagui/web").WithThemeValues<Omit<import("@tamagui/web").StackStyleBase, never>> & import("@tamagui/web").WithFlatVariantValues<{}> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase>>, "theme" | "debug" | "children" | "render" | "disabled" | "pointerEvents" | "container" | "target" | "htmlFor" | "asChild" | "dangerouslySetInnerHTML" | "className" | "themeShallow" | "id" | "group" | "untilMeasured" | "name" | "tabIndex" | "role" | "disableOptimization" | "disableNativeStyle" | "forceStyle" | "disableClassName" | "hitSlop" | "animatedBy" | "style" | "onMouseEnter" | "onMouseLeave" | "onFocus" | "onBlur" | "onClick" | "onKeyDown" | "onKeyUp" | "onPointerDown" | "onPointerMove" | "onPointerUp" | "onPointerCancel" | "onStartShouldSetResponder" | "onLayout" | "focusable" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "onClickCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMoveCapture" | "onPointerCancelCapture" | "onPointerDownCapture" | "onPointerUpCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onBlurCapture" | "onFocusCapture" | "onKeyDownCapture" | "onKeyUpCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "nativeBackgroundAndroid" | "nativeForegroundAndroid" | "renderToHardwareTextureAndroid" | "hasTVPreferredFocus" | "nextFocusDown" | "nextFocusForward" | "nextFocusLeft" | "nextFocusRight" | "nextFocusUp" | "shouldRasterizeIOS" | "accessibilityIgnoresInvertColors" | "accessibilityViewIsModal" | "accessibilityShowsLargeContentViewer" | "accessibilityLargeContentTitle" | "aria-modal" | "accessibilityElementsHidden" | "accessibilityLanguage" | "accessibilityRespondsToUserInteraction" | "accessible" | "accessibilityLabel" | "accessibilityHint" | "aria-label" | "accessibilityRole" | "accessibilityState" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "accessibilityActions" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-hidden" | "accessibilityLabelledBy" | "aria-labelledby" | "accessibilityLiveRegion" | "aria-live" | "importantForAccessibility" | "screenReaderFocusable" | "collapsable" | "collapsableChildren" | "testID" | "nativeID" | "needsOffscreenAlphaCompositing" | "removeClippedSubviews" | "experimental_accessibilityOrder" | "onAccessibilityAction" | "onAccessibilityTap" | "onMagicTap" | "onAccessibilityEscape" | "enabled" | "behavior" | "keyboardVerticalOffset" | "contentContainerStyle"> & React.RefAttributes<KeyboardAvoidingView>>;
|
|
26
26
|
export {};
|
|
27
27
|
//# sourceMappingURL=modal-base-inner.native.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"modal-base-inner.native.d.ts","sourceRoot":"","sources":["../../../src/Modal/modal-base-inner.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,KAAK,QAAQ,EAAU,MAAM,cAAc,CAAC;AAErD;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,KAAK;;;;CAOT,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzD,eAAO,MAAM,cAAc
|
|
1
|
+
{"version":3,"file":"modal-base-inner.native.d.ts","sourceRoot":"","sources":["../../../src/Modal/modal-base-inner.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC;AAEpD,OAAO,EAAE,KAAK,QAAQ,EAAU,MAAM,cAAc,CAAC;AAErD;;;;;;;;;;;;;;GAcG;AACH,QAAA,MAAM,KAAK;;;;CAOT,CAAC;AAEH,MAAM,MAAM,mBAAmB,GAAG,QAAQ,CAAC,OAAO,KAAK,CAAC,CAAC;AAEzD,eAAO,MAAM,cAAc,0tGAK1B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Pill.d.ts","sourceRoot":"","sources":["../../../src/Pill/Pill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,QAAQ,EAId,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,
|
|
1
|
+
{"version":3,"file":"Pill.d.ts","sourceRoot":"","sources":["../../../src/Pill/Pill.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,QAAQ,EAId,MAAM,cAAc,CAAC;AAEtB,OAAO,EAAE,GAAG,EAAE,MAAM,QAAQ,CAAC;AAC7B,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,gBAAgB,CAAC;AACpE,OAAO,EAAsB,KAAK,aAAa,EAAe,MAAM,sBAAsB,CAAC;AAE3F,OAAO,EAIL,KAAK,OAAO,EACb,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAc,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAC;AAIjE,KAAK,QAAQ,GAAG,OAAO,CAAC;AACxB,KAAK,WAAW,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU,CAAC;AA+BvD;;;;;GAKG;AACH,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;CAyBb,CAAC;AAEH,QAAA,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAgBb,CAAC;AAWH,UAAU,qBAAqB;IAC7B,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,QAAA,MAAM,gBAAgB,6CAA0D,CAAC;AAEjF,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,QAAQ,CAAC,OAAO,GAAG,CAAC,EAAE,KAAK,CAAC;IACvE;;;;OAIG;IACH,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,mEAAmE;IACnE,GAAG,CAAC,EAAE,QAAQ,CAAC,OAAO,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC;IAClC,+BAA+B;IAC/B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,uBAAuB;IACvB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAgCD;;;;;GAKG;AACH,MAAM,WAAW,UAAU;IACzB,+CAA+C;IAC/C,KAAK,CAAC,EAAE,QAAQ,CAAC,OAAO,SAAS,CAAC,CAAC;IACnC,kEAAkE;IAClE,YAAY,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;CAC1C;AAID,MAAM,WAAW,SAAU,SAAQ,IAAI,CACrC,QAAQ,CAAC,OAAO,SAAS,CAAC,EAC1B,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,UAAU,CAC7C;IACC,uCAAuC;IACvC,OAAO,CAAC,EAAE,WAAW,CAAC;IACtB,sEAAsE;IACtE,IAAI,CAAC,EAAE,QAAQ,CAAC;IAChB,oDAAoD;IACpD,gBAAgB,CAAC,EAAE,OAAO,CAAC;IAC3B,gDAAgD;IAChD,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC9C,yDAAyD;IACzD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,kBAAkB;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,yEAAyE;IACzE,MAAM,CAAC,EAAE,UAAU,CAAC,UAAU,CAAC,CAAC;IAChC;;;;OAIG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AA6ED,eAAO,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKf,CAAC;AAEH,OAAO,EAAE,gBAAgB,EAAE,CAAC;AAC5B,YAAY,EAAE,qBAAqB,EAAE,QAAQ,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
import {
|
|
2
|
+
import { type ViewInstance } from "react-native";
|
|
3
3
|
import type { OverlayHostProps } from "./types";
|
|
4
4
|
/** The full-screen host `@knitui/core`'s `<Provider>` mounts (via `PortalProvider`). */
|
|
5
5
|
export declare const ROOT_OVERLAY_HOST = "root";
|
|
@@ -42,5 +42,5 @@ export declare function useTopmostOverlayHost(): string;
|
|
|
42
42
|
* @internal The scoped host's measurable frame (or `null` under the root host),
|
|
43
43
|
* for the native floating engine's container-origin math.
|
|
44
44
|
*/
|
|
45
|
-
export declare function useOverlayHostFrame(): React.RefObject<
|
|
45
|
+
export declare function useOverlayHostFrame(): React.RefObject<ViewInstance | null> | null;
|
|
46
46
|
//# sourceMappingURL=OverlayHost.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"OverlayHost.d.ts","sourceRoot":"","sources":["../../../src/Portal/OverlayHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"OverlayHost.d.ts","sourceRoot":"","sources":["../../../src/Portal/OverlayHost.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAoB,KAAK,YAAY,EAAE,MAAM,cAAc,CAAC;AAGnE,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEhD,wFAAwF;AACxF,eAAO,MAAM,iBAAiB,SAAS,CAAC;AAyDxC;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,wBAAgB,WAAW,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,gBAAgB,qBAwB/D;AAMD;;;;GAIG;AACH,wBAAgB,cAAc,IAAI,MAAM,CAEvC;AAED;;;;GAIG;AACH,wBAAgB,qBAAqB,IAAI,MAAM,CAE9C;AAED;;;GAGG;AACH,wBAAgB,mBAAmB,IAAI,KAAK,CAAC,SAAS,CAAC,YAAY,GAAG,IAAI,CAAC,GAAG,IAAI,CAEjF"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
export interface OverlayPortalProps {
|
|
3
|
+
/** Host to teleport into (usually `useOverlayHost()`); omit to render inline. */
|
|
4
|
+
hostName?: string;
|
|
5
|
+
children?: React.ReactNode;
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* The portal the kit's overlays render through: a `Portal` that teleports into
|
|
9
|
+
* `hostName` only while the screen it sits in is focused (`<Provider useScreenFocus>`).
|
|
10
|
+
*
|
|
11
|
+
* On a backgrounded stack screen the screen stays mounted, but the shared host it
|
|
12
|
+
* teleports into does not belong to it, so an open popover would draw over the
|
|
13
|
+
* screen in front. Dropping `hostName` while unfocused keeps the overlay inline in
|
|
14
|
+
* its own (now hidden) screen instead. Teleport re-parents rather than remounts, so
|
|
15
|
+
* the overlay keeps its state and is back, still open, when the screen regains focus.
|
|
16
|
+
* Without `useScreenFocus` this is exactly `<Portal hostName={hostName}>`.
|
|
17
|
+
*/
|
|
18
|
+
export declare function OverlayPortal({ hostName, children }: OverlayPortalProps): React.JSX.Element;
|
|
19
|
+
//# sourceMappingURL=OverlayPortal.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"OverlayPortal.d.ts","sourceRoot":"","sources":["../../../src/Portal/OverlayPortal.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,WAAW,kBAAkB;IACjC,iFAAiF;IACjF,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AAED;;;;;;;;;;GAUG;AACH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,QAAQ,EAAE,EAAE,kBAAkB,qBAGvE"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export { OverlayHost, ROOT_OVERLAY_HOST, useOverlayHost, useTopmostOverlayHost, } from "./OverlayHost";
|
|
2
|
+
export { OverlayPortal, type OverlayPortalProps } from "./OverlayPortal";
|
|
2
3
|
export type { OverlayHostProps, PortalHostProps, PortalProps, PortalProviderProps } from "./types";
|
|
3
4
|
/**
|
|
4
5
|
* Portal system — a thin re-export of `react-native-teleport`.
|
|
@@ -19,6 +20,9 @@ export type { OverlayHostProps, PortalHostProps, PortalProps, PortalProviderProp
|
|
|
19
20
|
* kit's overlays inside it teleport into THAT host rather than `"root"` (which
|
|
20
21
|
* lives in the window underneath the modal). They read the host through
|
|
21
22
|
* `useOverlayHost()`; `useTopmostOverlayHost()` serves app-global layers.
|
|
23
|
+
* - The kit's overlays render through `<OverlayPortal>`, which stops teleporting
|
|
24
|
+
* while its screen is unfocused (`<Provider useScreenFocus>`), so a backgrounded
|
|
25
|
+
* stack screen's popovers don't draw over the screen in front of it.
|
|
22
26
|
*
|
|
23
27
|
* @see https://kirillzyusko.github.io/react-native-teleport
|
|
24
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,qBAAqB,GACtB,MAAM,eAAe,CAAC;AACvB,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnG
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/Portal/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,WAAW,EACX,iBAAiB,EACjB,cAAc,EACd,qBAAqB,GACtB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,aAAa,EAAE,KAAK,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACzE,YAAY,EAAE,gBAAgB,EAAE,eAAe,EAAE,WAAW,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AACnG;;;;;;;;;;;;;;;;;;;;;;;;GAwBG;AACH,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ScrollArea.native.d.ts","sourceRoot":"","sources":["../../../src/ScrollArea/ScrollArea.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"ScrollArea.native.d.ts","sourceRoot":"","sources":["../../../src/ScrollArea/ScrollArea.native.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAkB/B,OAAO,EAGL,KAAK,cAAc,EAGpB,MAAM,cAAc,CAAC;AAGtB,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,QAAQ,CAAC;AAK5C,OAAO,EAmBL,KAAK,gBAAgB,EACrB,KAAK,kBAAkB,EAMxB,MAAM,qBAAqB,CAAC;AAE7B,YAAY,EACV,IAAI,EACJ,SAAS,EACT,gBAAgB,EAChB,oBAAoB,EACpB,cAAc,EACd,qBAAqB,EACrB,cAAc,EACd,eAAe,GAChB,MAAM,qBAAqB,CAAC;AA0J7B,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,aAAa,CAAC,EAAE,kBAAkB;CAAG;AAm2BvE,MAAM,WAAW,uBAAwB,SAAQ,eAAe;CAAG;AAanE,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMrB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ThemeIcon.d.ts","sourceRoot":"","sources":["../../../src/ThemeIcon/ThemeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,QAAQ,EAId,MAAM,cAAc,CAAC;AAItB,OAAO,
|
|
1
|
+
{"version":3,"file":"ThemeIcon.d.ts","sourceRoot":"","sources":["../../../src/ThemeIcon/ThemeIcon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAEL,KAAK,QAAQ,EAId,MAAM,cAAc,CAAC;AAItB,OAAO,EAAsB,KAAK,aAAa,EAAe,MAAM,sBAAsB,CAAC;AAC3F,OAAO,EAIL,KAAK,OAAO,EAGb,MAAM,yBAAyB,CAAC;AAEjC,KAAK,aAAa,GAAG,OAAO,CAAC;AAC7B,KAAK,gBAAgB,GACnB,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,GAAG,aAAa,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,CAAC;AAU/F;;;;;;;;GAQG;AACH,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;CA8BlB,CAAC;AAEH;;;GAGG;AACH,MAAM,WAAW,cAAe,SAAQ,IAAI,CAAC,QAAQ,CAAC,OAAO,cAAc,CAAC,EAAE,MAAM,GAAG,SAAS,CAAC;IAC/F,6EAA6E;IAC7E,IAAI,CAAC,EAAE,aAAa,GAAG,MAAM,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC9C,wBAAwB;IACxB,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,qFAAqF;IACrF,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,aAAa,CAAC;CAC1B;AAuBD,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;CAEpB,CAAC;AAEH,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,CAAC"}
|
|
@@ -71,7 +71,7 @@ export { Pill, type PillGroupProps, type PillProps, type PillSize, type PillStyl
|
|
|
71
71
|
export { PillsInput, type PillsInputFieldProps, type PillsInputProps } from "./PillsInput";
|
|
72
72
|
export { PinInput, type PinInputHostType, type PinInputMode, type PinInputProps, type PinInputSize, type PinInputStyles, type PinInputType, } from "./PinInput";
|
|
73
73
|
export { Popover, type PopoverArrowOffset, type PopoverArrowPosition, type PopoverArrowStyle, type PopoverAxesOffsets, type PopoverAxisOffset, type PopoverDropdownProps, type PopoverDropdownStyle, type PopoverOffset, type PopoverPosition, type PopoverProps, type PopoverStyles, type PopoverTargetProps, type PopoverWidth, } from "./Popover";
|
|
74
|
-
export { OverlayHost, type OverlayHostProps, Portal, PortalHost, type PortalHostProps, type PortalProps, PortalProvider, type PortalProviderProps, ROOT_OVERLAY_HOST, useOverlayHost, usePortal, useTopmostOverlayHost, } from "./Portal";
|
|
74
|
+
export { OverlayHost, type OverlayHostProps, OverlayPortal, type OverlayPortalProps, Portal, PortalHost, type PortalHostProps, type PortalProps, PortalProvider, type PortalProviderProps, ROOT_OVERLAY_HOST, useOverlayHost, usePortal, useTopmostOverlayHost, } from "./Portal";
|
|
75
75
|
export { Progress, type ProgressLabelProps, type ProgressProps, type ProgressRootProps, type ProgressSectionProps, type ProgressSize, } from "./Progress";
|
|
76
76
|
export { Radio, type RadioCardProps, type RadioGroupProps, type RadioIconComponent, type RadioIndicatorProps, type RadioProps, type RadioSize, type RadioVariant, } from "./Radio";
|
|
77
77
|
export { Rating, type RatingProps, type RatingSize, type RatingStyles } from "./Rating";
|