@tamagui/input 2.0.0-1768586279389 → 2.0.0-1768696252732
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/dist/cjs/Input.native.js +2 -2
- package/dist/cjs/Input.native.js.map +1 -1
- package/dist/cjs/TextArea.cjs +1 -1
- package/dist/cjs/TextArea.js +1 -1
- package/dist/cjs/TextArea.js.map +1 -1
- package/dist/cjs/TextArea.native.js +1 -1
- package/dist/cjs/TextArea.native.js.map +1 -1
- package/dist/cjs/shared.cjs +1 -1
- package/dist/cjs/shared.js +1 -1
- package/dist/cjs/shared.js.map +1 -1
- package/dist/cjs/shared.native.js +1 -1
- package/dist/cjs/shared.native.js.map +1 -1
- package/dist/cjs/v1/Input.native.js +3 -3
- package/dist/cjs/v1/Input.native.js.map +1 -1
- package/dist/cjs/v1/TextArea.cjs +1 -1
- package/dist/cjs/v1/TextArea.js +1 -1
- package/dist/cjs/v1/TextArea.js.map +1 -1
- package/dist/cjs/v1/TextArea.native.js +1 -1
- package/dist/cjs/v1/TextArea.native.js.map +1 -1
- package/dist/esm/Input.native.js +2 -2
- package/dist/esm/Input.native.js.map +1 -1
- package/dist/esm/TextArea.js +1 -1
- package/dist/esm/TextArea.js.map +1 -1
- package/dist/esm/TextArea.mjs +1 -1
- package/dist/esm/TextArea.mjs.map +1 -1
- package/dist/esm/TextArea.native.js +1 -1
- package/dist/esm/TextArea.native.js.map +1 -1
- package/dist/esm/shared.js +1 -1
- package/dist/esm/shared.js.map +1 -1
- package/dist/esm/shared.mjs +1 -1
- package/dist/esm/shared.mjs.map +1 -1
- package/dist/esm/shared.native.js +1 -1
- package/dist/esm/shared.native.js.map +1 -1
- package/dist/esm/v1/Input.native.js +3 -3
- package/dist/esm/v1/Input.native.js.map +1 -1
- package/dist/esm/v1/TextArea.js +1 -1
- package/dist/esm/v1/TextArea.js.map +1 -1
- package/dist/esm/v1/TextArea.mjs +1 -1
- package/dist/esm/v1/TextArea.mjs.map +1 -1
- package/dist/esm/v1/TextArea.native.js +1 -1
- package/dist/esm/v1/TextArea.native.js.map +1 -1
- package/dist/jsx/Input.native.js +2 -2
- package/dist/jsx/Input.native.js.map +1 -1
- package/dist/jsx/TextArea.js +1 -1
- package/dist/jsx/TextArea.js.map +1 -1
- package/dist/jsx/TextArea.mjs +1 -1
- package/dist/jsx/TextArea.mjs.map +1 -1
- package/dist/jsx/TextArea.native.js +1 -1
- package/dist/jsx/TextArea.native.js.map +1 -1
- package/dist/jsx/shared.js +1 -1
- package/dist/jsx/shared.js.map +1 -1
- package/dist/jsx/shared.mjs +1 -1
- package/dist/jsx/shared.mjs.map +1 -1
- package/dist/jsx/shared.native.js +1 -1
- package/dist/jsx/shared.native.js.map +1 -1
- package/dist/jsx/v1/Input.native.js +3 -3
- package/dist/jsx/v1/Input.native.js.map +1 -1
- package/dist/jsx/v1/TextArea.js +1 -1
- package/dist/jsx/v1/TextArea.js.map +1 -1
- package/dist/jsx/v1/TextArea.mjs +1 -1
- package/dist/jsx/v1/TextArea.mjs.map +1 -1
- package/dist/jsx/v1/TextArea.native.js +1 -1
- package/dist/jsx/v1/TextArea.native.js.map +1 -1
- package/package.json +13 -13
- package/src/Input.native.tsx +2 -2
- package/src/TextArea.tsx +1 -1
- package/src/shared.tsx +1 -1
- package/src/types.ts +1 -1
- package/src/v1/Input.native.tsx +3 -3
- package/src/v1/TextArea.tsx +1 -1
- package/src/v1/types.ts +2 -2
- package/types/Input.d.ts +2 -2
- package/types/Input.d.ts.map +1 -1
- package/types/Input.native.d.ts +2 -2
- package/types/TextArea.d.ts +2 -2
- package/types/shared.d.ts +2 -2
- package/types/types.d.ts +1 -1
- package/types/v1/Input.d.ts +5 -5
- package/types/v1/Input.native.d.ts +5 -5
- package/types/v1/TextArea.d.ts +3 -3
- package/types/v1/types.d.ts +2 -2
- package/types/v1/types.d.ts.map +1 -1
package/types/v1/Input.d.ts
CHANGED
|
@@ -8,7 +8,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
8
8
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
9
9
|
disabled?: boolean | undefined;
|
|
10
10
|
unstyled?: boolean | undefined;
|
|
11
|
-
}>, "media" | "color" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "onStartShouldSetResponder" | "onLayout" | "href" | "rel" | "download" | "dir" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "allowFontScaling" | "numberOfLines" | "maxFontSizeMultiplier" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "textAlign" | "textAlignVertical" | "summary" | "list" | "max" | "min" | "form" | "cite" | "data" | "label" | "slot" | "span" | "title" | "
|
|
11
|
+
}>, "media" | "color" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "onStartShouldSetResponder" | "onLayout" | "href" | "rel" | "download" | "dir" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "allowFontScaling" | "numberOfLines" | "maxFontSizeMultiplier" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "textAlign" | "textAlignVertical" | "summary" | "list" | "max" | "min" | "form" | "cite" | "data" | "label" | "slot" | "span" | "title" | "default" | "wrap" | "hidden" | "open" | "name" | "key" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "maxLength" | "minLength" | "multiple" | "pattern" | "placeholder" | "readOnly" | "required" | "src" | "step" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-setsize" | "aria-sort" | "onCopyCapture" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInputCapture" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeaveCapture" | "onDragOverCapture" | "onDragStartCapture" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "placeholderTextColor" | keyof import("@tamagui/core").StackStyleBase | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | "blurOnSubmit" | "submitBehavior" | "caretHidden" | "contextMenuHidden" | "editable" | "keyboardType" | "multiline" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onSelectionChange" | "onSubmitEditing" | "returnKeyType" | "secureTextEntry" | "selectTextOnFocus" | "selection" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "textContentType" | "scrollEnabled" | "lineBreakModeIOS" | "smartInsertDelete" | "cursorColor" | "selectionHandleColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus" | keyof import("@tamagui/core").StackNonStyleProps | "rows" | "ref" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "high" | "hrefLang" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "mediaGroup" | "method" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "reversed" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode"> & import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & Omit<React.ClassAttributes<HTMLInputElement> & React.HTMLProps<HTMLInputElement>, "size" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "value" | keyof import("@tamagui/core").StackStyleBase | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | keyof import("@tamagui/core").StackNonStyleProps> & Pick<import("@tamagui/core").TextProps, "color"> & Omit<React.CSSProperties | undefined, "color"> & Omit<import("react-native").TextInputProps, "numberOfLines" | "selectionColor" | "enterKeyHint" | "inputMode" | "placeholderTextColor" | "editable" | "keyboardType" | "onChangeText" | "secureTextEntry"> & {
|
|
12
12
|
secureTextEntry?: import("react-native").TextInputProps["secureTextEntry"];
|
|
13
13
|
onChangeText?: import("react-native").TextInputProps["onChangeText"];
|
|
14
14
|
editable?: import("react-native").TextInputProps["editable"];
|
|
@@ -17,7 +17,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
17
17
|
inputMode?: import("react-native").InputModeOptions;
|
|
18
18
|
placeholderTextColor?: import("@tamagui/core").ColorTokens;
|
|
19
19
|
selectionColor?: import("@tamagui/core").ColorTokens;
|
|
20
|
-
|
|
20
|
+
render?: import("@tamagui/core").TamaguiComponentPropsBase["render"];
|
|
21
21
|
multiline?: boolean;
|
|
22
22
|
numberOfLines?: number;
|
|
23
23
|
}, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & Omit<React.ClassAttributes<HTMLInputElement> & React.HTMLProps<HTMLInputElement>, "size" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "value" | keyof import("@tamagui/core").StackStyleBase | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | keyof import("@tamagui/core").StackNonStyleProps> & Pick<import("@tamagui/core").TextProps, "color"> & Omit<React.CSSProperties | undefined, "color"> & Omit<import("react-native").TextInputProps, "numberOfLines" | "selectionColor" | "enterKeyHint" | "inputMode" | "placeholderTextColor" | "editable" | "keyboardType" | "onChangeText" | "secureTextEntry"> & {
|
|
@@ -29,7 +29,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
29
29
|
inputMode?: import("react-native").InputModeOptions;
|
|
30
30
|
placeholderTextColor?: import("@tamagui/core").ColorTokens;
|
|
31
31
|
selectionColor?: import("@tamagui/core").ColorTokens;
|
|
32
|
-
|
|
32
|
+
render?: import("@tamagui/core").TamaguiComponentPropsBase["render"];
|
|
33
33
|
multiline?: boolean;
|
|
34
34
|
numberOfLines?: number;
|
|
35
35
|
}, import("@tamagui/core").StackStyleBase, {
|
|
@@ -38,7 +38,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
38
38
|
unstyled?: boolean | undefined;
|
|
39
39
|
}, {
|
|
40
40
|
name: string;
|
|
41
|
-
|
|
41
|
+
render: string;
|
|
42
42
|
variants: {
|
|
43
43
|
readonly unstyled: {
|
|
44
44
|
readonly false: {
|
|
@@ -108,7 +108,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
108
108
|
[key: string]: boolean;
|
|
109
109
|
} | undefined;
|
|
110
110
|
name?: undefined;
|
|
111
|
-
|
|
111
|
+
render?: undefined;
|
|
112
112
|
variants?: undefined;
|
|
113
113
|
defaultVariants?: undefined;
|
|
114
114
|
}>;
|
|
@@ -7,7 +7,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
7
7
|
size?: import("@tamagui/core").SizeTokens | undefined;
|
|
8
8
|
disabled?: boolean | undefined;
|
|
9
9
|
unstyled?: boolean | undefined;
|
|
10
|
-
}>, "media" | "color" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "onStartShouldSetResponder" | "onLayout" | "href" | "rel" | "download" | "dir" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "allowFontScaling" | "numberOfLines" | "maxFontSizeMultiplier" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "textAlign" | "textAlignVertical" | "summary" | "list" | "max" | "min" | "form" | "cite" | "data" | "label" | "slot" | "span" | "title" | "
|
|
10
|
+
}>, "media" | "color" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "onStartShouldSetResponder" | "onLayout" | "href" | "rel" | "download" | "dir" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "allowFontScaling" | "numberOfLines" | "maxFontSizeMultiplier" | "lineBreakStrategyIOS" | "selectionColor" | "textBreakStrategy" | "textAlign" | "textAlignVertical" | "summary" | "list" | "max" | "min" | "form" | "cite" | "data" | "label" | "slot" | "span" | "title" | "default" | "wrap" | "hidden" | "open" | "name" | "key" | "accept" | "alt" | "autoComplete" | "capture" | "checked" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "maxLength" | "minLength" | "multiple" | "pattern" | "placeholder" | "readOnly" | "required" | "src" | "step" | "type" | "value" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "autoCapitalize" | "autoFocus" | "contentEditable" | "contextMenu" | "draggable" | "enterKeyHint" | "lang" | "nonce" | "spellCheck" | "translate" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "rev" | "typeof" | "vocab" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "popover" | "popoverTargetAction" | "popoverTarget" | "inert" | "inputMode" | "is" | "exportparts" | "part" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-dropeffect" | "aria-errormessage" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-invalid" | "aria-keyshortcuts" | "aria-level" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowindextext" | "aria-rowspan" | "aria-setsize" | "aria-sort" | "onCopyCapture" | "onCutCapture" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocusCapture" | "onBlurCapture" | "onChangeCapture" | "onBeforeInputCapture" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClickCapture" | "onContextMenuCapture" | "onDoubleClickCapture" | "onDragCapture" | "onDragEndCapture" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeaveCapture" | "onDragOverCapture" | "onDragStartCapture" | "onDropCapture" | "onMouseDownCapture" | "onMouseMoveCapture" | "onMouseOutCapture" | "onMouseOverCapture" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancelCapture" | "onTouchMoveCapture" | "onTouchStartCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onToggle" | "onBeforeToggle" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "placeholderTextColor" | keyof import("@tamagui/core").StackStyleBase | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | "blurOnSubmit" | "submitBehavior" | "caretHidden" | "contextMenuHidden" | "editable" | "keyboardType" | "multiline" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onSelectionChange" | "onSubmitEditing" | "returnKeyType" | "secureTextEntry" | "selectTextOnFocus" | "selection" | "inputAccessoryViewID" | "inputAccessoryViewButtonLabel" | "disableKeyboardShortcuts" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "textContentType" | "scrollEnabled" | "lineBreakModeIOS" | "smartInsertDelete" | "cursorColor" | "selectionHandleColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus" | keyof import("@tamagui/core").StackNonStyleProps | "rows" | "ref" | "acceptCharset" | "action" | "allowFullScreen" | "allowTransparency" | "as" | "async" | "autoPlay" | "cellPadding" | "cellSpacing" | "charSet" | "challenge" | "classID" | "cols" | "colSpan" | "controls" | "coords" | "crossOrigin" | "dateTime" | "defer" | "encType" | "frameBorder" | "headers" | "high" | "hrefLang" | "httpEquiv" | "integrity" | "keyParams" | "keyType" | "kind" | "loop" | "low" | "manifest" | "marginHeight" | "marginWidth" | "mediaGroup" | "method" | "muted" | "noValidate" | "optimum" | "playsInline" | "poster" | "preload" | "reversed" | "rowSpan" | "sandbox" | "scope" | "scoped" | "scrolling" | "seamless" | "selected" | "shape" | "sizes" | "srcDoc" | "srcLang" | "srcSet" | "useMap" | "wmode"> & import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & Omit<React.ClassAttributes<HTMLInputElement> & React.HTMLProps<HTMLInputElement>, "size" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "value" | keyof import("@tamagui/core").StackStyleBase | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | keyof import("@tamagui/core").StackNonStyleProps> & Pick<import("@tamagui/core").TextProps, "color"> & Omit<React.CSSProperties | undefined, "color"> & Omit<import("react-native").TextInputProps, "numberOfLines" | "selectionColor" | "enterKeyHint" | "inputMode" | "placeholderTextColor" | "editable" | "keyboardType" | "onChangeText" | "secureTextEntry"> & {
|
|
11
11
|
secureTextEntry?: import("react-native").TextInputProps["secureTextEntry"];
|
|
12
12
|
onChangeText?: import("react-native").TextInputProps["onChangeText"];
|
|
13
13
|
editable?: import("react-native").TextInputProps["editable"];
|
|
@@ -16,7 +16,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
16
16
|
inputMode?: import("react-native").InputModeOptions;
|
|
17
17
|
placeholderTextColor?: import("@tamagui/core").ColorTokens;
|
|
18
18
|
selectionColor?: import("@tamagui/core").ColorTokens;
|
|
19
|
-
|
|
19
|
+
render?: import("@tamagui/core").TamaguiComponentPropsBase["render"];
|
|
20
20
|
multiline?: boolean;
|
|
21
21
|
numberOfLines?: number;
|
|
22
22
|
}, TextInput, import("@tamagui/core").TamaguiComponentPropsBaseBase & import("react-native").TextInputProps & import("@tamagui/core").StackNonStyleProps & import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>> & import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> & import("@tamagui/core").WithMediaProps<import("@tamagui/core").WithThemeShorthandsAndPseudos<import("@tamagui/core").StackStyleBase, {}>> & Omit<React.ClassAttributes<HTMLInputElement> & React.HTMLProps<HTMLInputElement>, "size" | `$${string}` | `$${number}` | import("@tamagui/core").GroupMediaKeys | `$theme-${string}` | `$theme-${number}` | "value" | keyof import("@tamagui/core").StackStyleBase | keyof import("@tamagui/core").WithPseudoProps<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase> & import("@tamagui/core").WithShorthands<import("@tamagui/core").WithThemeValues<import("@tamagui/core").StackStyleBase>>> | keyof import("@tamagui/core").StackNonStyleProps> & Pick<import("@tamagui/core").TextProps, "color"> & Omit<React.CSSProperties | undefined, "color"> & Omit<import("react-native").TextInputProps, "numberOfLines" | "selectionColor" | "enterKeyHint" | "inputMode" | "placeholderTextColor" | "editable" | "keyboardType" | "onChangeText" | "secureTextEntry"> & {
|
|
@@ -28,7 +28,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
28
28
|
inputMode?: import("react-native").InputModeOptions;
|
|
29
29
|
placeholderTextColor?: import("@tamagui/core").ColorTokens;
|
|
30
30
|
selectionColor?: import("@tamagui/core").ColorTokens;
|
|
31
|
-
|
|
31
|
+
render?: import("@tamagui/core").TamaguiComponentPropsBase["render"];
|
|
32
32
|
multiline?: boolean;
|
|
33
33
|
numberOfLines?: number;
|
|
34
34
|
}, import("@tamagui/core").StackStyleBase, {
|
|
@@ -37,7 +37,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
37
37
|
unstyled?: boolean | undefined;
|
|
38
38
|
}, {
|
|
39
39
|
name: string;
|
|
40
|
-
|
|
40
|
+
render: string;
|
|
41
41
|
variants: {
|
|
42
42
|
readonly unstyled: {
|
|
43
43
|
readonly false: {
|
|
@@ -107,7 +107,7 @@ export declare const Input: import("@tamagui/core").TamaguiComponent<Omit<import
|
|
|
107
107
|
[key: string]: boolean;
|
|
108
108
|
} | undefined;
|
|
109
109
|
name?: undefined;
|
|
110
|
-
|
|
110
|
+
render?: undefined;
|
|
111
111
|
variants?: undefined;
|
|
112
112
|
defaultVariants?: undefined;
|
|
113
113
|
}>;
|
package/types/v1/TextArea.d.ts
CHANGED
|
@@ -12,7 +12,7 @@ export declare const TextArea: import("@tamagui/web").TamaguiComponent<import("@
|
|
|
12
12
|
inputMode?: import("react-native").InputModeOptions;
|
|
13
13
|
placeholderTextColor?: import("@tamagui/web").ColorTokens;
|
|
14
14
|
selectionColor?: import("@tamagui/web").ColorTokens;
|
|
15
|
-
|
|
15
|
+
render?: import("@tamagui/web").TamaguiComponentPropsBase["render"];
|
|
16
16
|
multiline?: boolean;
|
|
17
17
|
numberOfLines?: number;
|
|
18
18
|
}, import("@tamagui/web").StackStyleBase, {
|
|
@@ -21,7 +21,7 @@ export declare const TextArea: import("@tamagui/web").TamaguiComponent<import("@
|
|
|
21
21
|
unstyled?: boolean | undefined;
|
|
22
22
|
}, ({
|
|
23
23
|
name: string;
|
|
24
|
-
|
|
24
|
+
render: string;
|
|
25
25
|
variants: {
|
|
26
26
|
readonly unstyled: {
|
|
27
27
|
readonly false: {
|
|
@@ -91,7 +91,7 @@ export declare const TextArea: import("@tamagui/web").TamaguiComponent<import("@
|
|
|
91
91
|
[key: string]: boolean;
|
|
92
92
|
} | undefined;
|
|
93
93
|
name?: undefined;
|
|
94
|
-
|
|
94
|
+
render?: undefined;
|
|
95
95
|
variants?: undefined;
|
|
96
96
|
defaultVariants?: undefined;
|
|
97
97
|
}) & import("@tamagui/web").StaticConfigPublic>;
|
package/types/v1/types.d.ts
CHANGED
|
@@ -25,9 +25,9 @@ export type InputProps = StackProps & Omit<DetailedInputProps, 'className' | 'ch
|
|
|
25
25
|
inputMode?: InputModeOptions;
|
|
26
26
|
placeholderTextColor?: ColorTokens;
|
|
27
27
|
selectionColor?: ColorTokens;
|
|
28
|
-
|
|
28
|
+
render?: TamaguiComponentPropsBase['render'];
|
|
29
29
|
/**
|
|
30
|
-
* @deprecated - use `
|
|
30
|
+
* @deprecated - use `render='textarea'` instead
|
|
31
31
|
*/
|
|
32
32
|
multiline?: boolean;
|
|
33
33
|
/**
|
package/types/v1/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/v1/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,WAAW,EACX,UAAU,EACV,yBAAyB,EACzB,SAAS,EACV,MAAM,cAAc,CAAA;AACrB,OAAO,KAAK,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,cAAc,CAAA;AAEpE,KAAK,kBAAkB,GAAG,KAAK,CAAC,iBAAiB,CAC/C,KAAK,CAAC,SAAS,CAAC,gBAAgB,CAAC,EACjC,gBAAgB,CACjB,CAAA;AAED,MAAM,MAAM,UAAU,GAAG,UAAU,GACjC,IAAI,CACF,kBAAkB,EAClB,WAAW,GAAG,UAAU,GAAG,OAAO,G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