@tamagui/input 3.0.0-beta.831.1 → 3.0.0-beta.889.1

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.
Files changed (52) hide show
  1. package/dist/cjs/Input.cjs +3 -9
  2. package/dist/cjs/Input.native.cjs +1 -1
  3. package/dist/cjs/Input.native.js +1 -1
  4. package/dist/cjs/Input.native.js.map +1 -1
  5. package/dist/cjs/TextArea.cjs +3 -5
  6. package/dist/cjs/TextArea.native.cjs +3 -5
  7. package/dist/cjs/TextArea.native.js +3 -5
  8. package/dist/cjs/TextArea.native.js.map +1 -1
  9. package/dist/cjs/shared.cjs +59 -45
  10. package/dist/cjs/shared.native.cjs +64 -48
  11. package/dist/cjs/shared.native.js +64 -48
  12. package/dist/cjs/shared.native.js.map +1 -1
  13. package/dist/esm/Input.mjs +5 -11
  14. package/dist/esm/Input.mjs.map +1 -1
  15. package/dist/esm/Input.native.js +2 -2
  16. package/dist/esm/Input.native.js.map +1 -1
  17. package/dist/esm/TextArea.mjs +4 -6
  18. package/dist/esm/TextArea.mjs.map +1 -1
  19. package/dist/esm/TextArea.native.js +4 -6
  20. package/dist/esm/TextArea.native.js.map +1 -1
  21. package/dist/esm/shared.mjs +59 -46
  22. package/dist/esm/shared.mjs.map +1 -1
  23. package/dist/esm/shared.native.js +63 -48
  24. package/dist/esm/shared.native.js.map +1 -1
  25. package/dist/jsx/Input.mjs +5 -11
  26. package/dist/jsx/Input.mjs.map +1 -1
  27. package/dist/jsx/Input.native.cjs +1 -1
  28. package/dist/jsx/Input.native.js +1 -1
  29. package/dist/jsx/Input.native.js.map +1 -1
  30. package/dist/jsx/TextArea.mjs +4 -6
  31. package/dist/jsx/TextArea.mjs.map +1 -1
  32. package/dist/jsx/TextArea.native.cjs +3 -5
  33. package/dist/jsx/TextArea.native.js +3 -5
  34. package/dist/jsx/TextArea.native.js.map +1 -1
  35. package/dist/jsx/shared.mjs +59 -46
  36. package/dist/jsx/shared.mjs.map +1 -1
  37. package/dist/jsx/shared.native.cjs +64 -48
  38. package/dist/jsx/shared.native.js +64 -48
  39. package/dist/jsx/shared.native.js.map +1 -1
  40. package/package.json +12 -12
  41. package/src/Input.native.tsx +4 -2
  42. package/src/Input.tsx +5 -19
  43. package/src/TextArea.tsx +5 -6
  44. package/src/shared.tsx +69 -54
  45. package/types/Input.d.ts +8 -42
  46. package/types/Input.d.ts.map +1 -1
  47. package/types/Input.native.d.ts +8 -42
  48. package/types/Input.native.d.ts.map +1 -1
  49. package/types/TextArea.d.ts +5 -171
  50. package/types/TextArea.d.ts.map +1 -1
  51. package/types/shared.d.ts +31 -17
  52. package/types/shared.d.ts.map +1 -1
@@ -1,17 +1,7 @@
1
1
  import { type GetProps } from '@tamagui/web';
2
- /**
3
- * A web-aligned textarea component (multi-line input).
4
- * @see — Docs https://tamagui.dev/ui/inputs#textarea
5
- */
6
- export declare const TextArea: import("react").FunctionComponent<Omit<import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase & {
7
- readonly placeholderTextColor?: import("@tamagui/web").Color | undefined;
8
- readonly selectionColor?: import("@tamagui/web").Color | undefined;
9
- readonly cursorColor?: import("@tamagui/web").Color | undefined;
10
- readonly selectionHandleColor?: import("@tamagui/web").Color | undefined;
11
- readonly underlineColorAndroid?: import("@tamagui/web").Color | undefined;
12
- }, {
2
+ export declare const TextArea: import("@tamagui/web").TamaguiComponent<import("@tamagui/web").TamaDefer, import("@tamagui/web").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase, {
13
3
  disabled?: boolean | undefined;
14
- size?: false | import("@tamagui/web").Size | undefined;
4
+ size?: any;
15
5
  }>, "about" | "accept" | "accessKey" | "allowFontScaling" | "alt" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "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-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "autoFocusNative" | "autoSave" | "blurOnSubmit" | "capture" | "caretHidden" | "checked" | "clearButtonMode" | "clearTextOnFocus" | "color" | "content" | "contentEditable" | "contextMenu" | "contextMenuHidden" | "cursorColor" | "dangerouslySetInnerHTML" | "dataDetectorTypes" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "disableFullscreenUI" | "disableKeyboardShortcuts" | "disabled" | "draggable" | "enablesReturnKeyAutomatically" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "hidden" | "id" | "importantForAutofill" | "inert" | "inlineImageLeft" | "inlineImagePadding" | "inlist" | "inputAccessoryViewButtonLabel" | "inputAccessoryViewID" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "keyboardAppearance" | "keyboardType" | "lang" | "letterSpacing" | "lineBreakModeIOS" | "lineBreakStrategyIOS" | "list" | "max" | "maxFontSizeMultiplier" | "maxLength" | "min" | "minLength" | "multiline" | "multiple" | "name" | "nonce" | "numberOfLines" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onChangeText" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContentSizeChange" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndEditing" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onSelectionChange" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSubmitEditing" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "part" | "passwordRules" | "pattern" | "placeholder" | "placeholderTextColor" | "popover" | "popoverTarget" | "popoverTargetAction" | "prefix" | "property" | "radioGroup" | "readOnly" | "rejectResponderTermination" | "rel" | "required" | "resource" | "results" | "returnKeyLabel" | "returnKeyType" | "rev" | "role" | "rows" | "scrollEnabled" | "secureTextEntry" | "security" | "selectTextOnFocus" | "selection" | "selectionColor" | "selectionHandleColor" | "showSoftInputOnFocus" | "slot" | "smartInsertDelete" | "spellCheck" | "src" | "step" | "submitBehavior" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignVertical" | "textBreakStrategy" | "textContentType" | "textTransform" | "title" | "translate" | "type" | "typeof" | "underlineColorAndroid" | "unselectable" | "value" | "verticalAlign" | "vocab" | "width"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "size" | "style" | "textAlign" | "textTransform" | ("autoCapitalize" | "autoCorrect" | "spellCheck")> & {
16
6
  fontFamily?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"fontFamily"> | undefined>;
17
7
  fontSize?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"fontSize"> | undefined>;
@@ -47,167 +37,11 @@ export declare const TextArea: import("react").FunctionComponent<Omit<import("@t
47
37
  };
48
38
  }) => void;
49
39
  textContentType?: import("./types").InputTextContentType;
50
- }, "alignContent" | "alignItems" | "alignSelf" | "animateOnly" | "animatePresence" | "aspectRatio" | "backdropFilter" | "backfaceVisibility" | "background" | "backgroundAttachment" | "backgroundBlendMode" | "backgroundClip" | "backgroundColor" | "backgroundImage" | "backgroundOrigin" | "backgroundPosition" | "backgroundRepeat" | "backgroundSize" | "blockSize" | "border" | "borderBlock" | "borderBlockColor" | "borderBlockEndColor" | "borderBlockEndStyle" | "borderBlockEndWidth" | "borderBlockStartColor" | "borderBlockStartStyle" | "borderBlockStartWidth" | "borderBlockStyle" | "borderBlockWidth" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomLeftRadius" | "borderBottomRightRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderColor" | "borderCurve" | "borderEndColor" | "borderEndEndRadius" | "borderEndStartRadius" | "borderEndWidth" | "borderImage" | "borderInline" | "borderInlineColor" | "borderInlineEndColor" | "borderInlineEndStyle" | "borderInlineEndWidth" | "borderInlineStartColor" | "borderInlineStartStyle" | "borderInlineStartWidth" | "borderInlineStyle" | "borderInlineWidth" | "borderLeftColor" | "borderLeftWidth" | "borderRadius" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStartEndRadius" | "borderStartStartRadius" | "borderStartWidth" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopLeftRadius" | "borderTopRightRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "bottom" | "boxShadow" | "boxSizing" | "caretColor" | "clipPath" | "color" | "columnGap" | "contain" | "containerName" | "containerType" | "cursor" | "cursorColor" | "direction" | "disabled" | "display" | "elevation" | "ellipsis" | "end" | "experimental_backgroundImage" | "experimental_backgroundPosition" | "experimental_backgroundRepeat" | "experimental_backgroundSize" | "filter" | "flex" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "float" | "font" | "fontFamily" | "fontSize" | "fontStyle" | "fontVariant" | "fontWeight" | "gap" | "gridColumn" | "gridColumnEnd" | "gridColumnGap" | "gridColumnStart" | "gridRow" | "gridRowEnd" | "gridRowGap" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "height" | "includeFontPadding" | "inlineSize" | "inset" | "insetBlock" | "insetBlockEnd" | "insetBlockStart" | "insetInline" | "insetInlineEnd" | "insetInlineStart" | "isolation" | "justifyContent" | "left" | "letterSpacing" | "lineHeight" | "margin" | "marginBlock" | "marginBlockEnd" | "marginBlockStart" | "marginBottom" | "marginEnd" | "marginHorizontal" | "marginInline" | "marginInlineEnd" | "marginInlineStart" | "marginLeft" | "marginRight" | "marginStart" | "marginTop" | "marginVertical" | "mask" | "maskBorder" | "maskBorderMode" | "maskBorderOutset" | "maskBorderRepeat" | "maskBorderSlice" | "maskBorderSource" | "maskBorderWidth" | "maskClip" | "maskComposite" | "maskImage" | "maskMode" | "maskOrigin" | "maskPosition" | "maskRepeat" | "maskSize" | "maskType" | "matrix" | "maxBlockSize" | "maxHeight" | "maxInlineSize" | "maxWidth" | "minBlockSize" | "minHeight" | "minInlineSize" | "minWidth" | "mixBlendMode" | "numberOfLines" | "objectFit" | "onTransition" | "opacity" | "outline" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "overflow" | "overflowBlock" | "overflowInline" | "overflowWrap" | "overflowX" | "overflowY" | "padding" | "paddingBlock" | "paddingBlockEnd" | "paddingBlockStart" | "paddingBottom" | "paddingEnd" | "paddingHorizontal" | "paddingInline" | "paddingInlineEnd" | "paddingInlineStart" | "paddingLeft" | "paddingRight" | "paddingStart" | "paddingTop" | "paddingVertical" | "passThrough" | "perspective" | "placeholderTextColor" | "pointerEvents" | "position" | "resize" | "right" | "rotate" | "rotateX" | "rotateY" | "rotateZ" | "rotation" | "rowGap" | "scale" | "scaleX" | "scaleY" | "selectionColor" | "selectionHandleColor" | "shadowColor" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "size" | "skewX" | "skewY" | "start" | "textAlign" | "textAlignVertical" | "textDecoration" | "textDecorationColor" | "textDecorationDistance" | "textDecorationLine" | "textDecorationStyle" | "textEmphasis" | "textOverflow" | "textShadow" | "textShadowColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "textWrap" | "top" | "transform" | "transformMatrix" | "transformOrigin" | "transformStyle" | "transition" | "translateX" | "translateY" | "underlineColorAndroid" | "userSelect" | "verticalAlign" | "visibility" | "whiteSpace" | "width" | "wordWrap" | "writingDirection" | "x" | "y" | "zIndex"> & import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase & {
51
- readonly placeholderTextColor?: import("@tamagui/web").Color | undefined;
52
- readonly selectionColor?: import("@tamagui/web").Color | undefined;
53
- readonly cursorColor?: import("@tamagui/web").Color | undefined;
54
- readonly selectionHandleColor?: import("@tamagui/web").Color | undefined;
55
- readonly underlineColorAndroid?: import("@tamagui/web").Color | undefined;
56
- }> & import("@tamagui/web").WithFlatVariantValues<{
40
+ }, import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase, {
57
41
  disabled?: boolean | undefined;
58
- size?: false | import("@tamagui/web").Size | undefined;
59
- }> & import("@tamagui/web").WithShorthands<import("@tamagui/web").WithThemeValues<import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase & {
60
- readonly placeholderTextColor?: import("@tamagui/web").Color | undefined;
61
- readonly selectionColor?: import("@tamagui/web").Color | undefined;
62
- readonly cursorColor?: import("@tamagui/web").Color | undefined;
63
- readonly selectionHandleColor?: import("@tamagui/web").Color | undefined;
64
- readonly underlineColorAndroid?: import("@tamagui/web").Color | undefined;
65
- }>> & {
66
- ref?: import("react").Ref<import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods)> | undefined;
67
- }> & import("@tamagui/web").StaticComponentObject<import("@tamagui/web").TamaDefer, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase & {
68
- readonly placeholderTextColor?: import("@tamagui/web").Color | undefined;
69
- readonly selectionColor?: import("@tamagui/web").Color | undefined;
70
- readonly cursorColor?: import("@tamagui/web").Color | undefined;
71
- readonly selectionHandleColor?: import("@tamagui/web").Color | undefined;
72
- readonly underlineColorAndroid?: import("@tamagui/web").Color | undefined;
42
+ size?: any;
73
43
  }, {
74
- disabled?: boolean | undefined;
75
- size?: false | import("@tamagui/web").Size | undefined;
76
- }>, "about" | "accept" | "accessKey" | "allowFontScaling" | "alt" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "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-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "autoFocusNative" | "autoSave" | "blurOnSubmit" | "capture" | "caretHidden" | "checked" | "clearButtonMode" | "clearTextOnFocus" | "color" | "content" | "contentEditable" | "contextMenu" | "contextMenuHidden" | "cursorColor" | "dangerouslySetInnerHTML" | "dataDetectorTypes" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "disableFullscreenUI" | "disableKeyboardShortcuts" | "disabled" | "draggable" | "enablesReturnKeyAutomatically" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "hidden" | "id" | "importantForAutofill" | "inert" | "inlineImageLeft" | "inlineImagePadding" | "inlist" | "inputAccessoryViewButtonLabel" | "inputAccessoryViewID" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "keyboardAppearance" | "keyboardType" | "lang" | "letterSpacing" | "lineBreakModeIOS" | "lineBreakStrategyIOS" | "list" | "max" | "maxFontSizeMultiplier" | "maxLength" | "min" | "minLength" | "multiline" | "multiple" | "name" | "nonce" | "numberOfLines" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onChangeText" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContentSizeChange" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndEditing" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onSelectionChange" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSubmitEditing" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "part" | "passwordRules" | "pattern" | "placeholder" | "placeholderTextColor" | "popover" | "popoverTarget" | "popoverTargetAction" | "prefix" | "property" | "radioGroup" | "readOnly" | "rejectResponderTermination" | "rel" | "required" | "resource" | "results" | "returnKeyLabel" | "returnKeyType" | "rev" | "role" | "rows" | "scrollEnabled" | "secureTextEntry" | "security" | "selectTextOnFocus" | "selection" | "selectionColor" | "selectionHandleColor" | "showSoftInputOnFocus" | "slot" | "smartInsertDelete" | "spellCheck" | "src" | "step" | "submitBehavior" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignVertical" | "textBreakStrategy" | "textContentType" | "textTransform" | "title" | "translate" | "type" | "typeof" | "underlineColorAndroid" | "unselectable" | "value" | "verticalAlign" | "vocab" | "width"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "size" | "style" | "textAlign" | "textTransform" | ("autoCapitalize" | "autoCorrect" | "spellCheck")> & {
77
- fontFamily?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"fontFamily"> | undefined>;
78
- fontSize?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"fontSize"> | undefined>;
79
- fontStyle?: import("@tamagui/web").FlatStyleValue<"italic" | "normal" | "unset" | undefined>;
80
- fontWeight?: import("@tamagui/web").FlatStyleValue<"unset" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | import("@tamagui/web").GetThemeValueForKey<"fontWeight"> | undefined>;
81
- letterSpacing?: import("@tamagui/web").FlatStyleValue<"unset" | import("@tamagui/web").GetThemeValueForKey<"letterSpacing"> | undefined>;
82
- textAlign?: import("@tamagui/web").FlatStyleValue<"auto" | "center" | "justify" | "left" | "right" | "unset" | undefined>;
83
- textTransform?: import("@tamagui/web").FlatStyleValue<"capitalize" | "lowercase" | "none" | "unset" | "uppercase" | undefined>;
84
- color?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"color"> | undefined>;
85
- } & Omit<import("./InputNativeProps").InputNativeProps, "autoCapitalize" | "autoCorrect" | "spellCheck"> & {
86
- autoCorrect?: boolean | 'on' | 'off';
87
- autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters' | 'off' | 'on';
88
- spellCheck?: boolean;
89
- rows?: number;
90
- placeholderTextColor?: import("@tamagui/web").ColorTokens;
91
- selectionColor?: import("@tamagui/web").ColorTokens;
92
- onChangeText?: (text: string) => void;
93
- onSubmitEditing?: (e: {
94
- nativeEvent: {
95
- text: string;
96
- };
97
- }) => void;
98
- selection?: {
99
- start: number;
100
- end?: number;
101
- };
102
- onSelectionChange?: (e: {
103
- nativeEvent: {
104
- selection: {
105
- start: number;
106
- end: number;
107
- };
108
- };
109
- }) => void;
110
- textContentType?: import("./types").InputTextContentType;
111
- }, import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase & {
112
- readonly placeholderTextColor?: import("@tamagui/web").Color | undefined;
113
- readonly selectionColor?: import("@tamagui/web").Color | undefined;
114
- readonly cursorColor?: import("@tamagui/web").Color | undefined;
115
- readonly selectionHandleColor?: import("@tamagui/web").Color | undefined;
116
- readonly underlineColorAndroid?: import("@tamagui/web").Color | undefined;
117
- }, {
118
- disabled?: boolean | undefined;
119
- size?: false | import("@tamagui/web").Size | undefined;
120
- }, {
121
- readonly isInput: true;
122
- readonly accept: {
123
- readonly placeholderTextColor: 'color';
124
- readonly selectionColor: 'color';
125
- readonly cursorColor: 'color';
126
- readonly selectionHandleColor: 'color';
127
- readonly underlineColorAndroid: 'color';
128
- };
129
- readonly validStyles: {
130
- [key: string]: boolean;
131
- } | undefined;
132
- } & import("@tamagui/web").StaticConfigPublic> & Omit<{
133
44
  readonly isInput: true;
134
- readonly accept: {
135
- readonly placeholderTextColor: 'color';
136
- readonly selectionColor: 'color';
137
- readonly cursorColor: 'color';
138
- readonly selectionHandleColor: 'color';
139
- readonly underlineColorAndroid: 'color';
140
- };
141
- readonly validStyles: {
142
- [key: string]: boolean;
143
- } | undefined;
144
- } & import("@tamagui/web").StaticConfigPublic, "staticConfig"> & {
145
- __tama: [import("@tamagui/web").TamaDefer, import("react-native").View | (HTMLElement & import("@tamagui/web").TamaguiElementMethods), import("@tamagui/core").RNTamaguiViewNonStyleProps & Omit<import("@tamagui/web").GetFinalProps<import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase & {
146
- readonly placeholderTextColor?: import("@tamagui/web").Color | undefined;
147
- readonly selectionColor?: import("@tamagui/web").Color | undefined;
148
- readonly cursorColor?: import("@tamagui/web").Color | undefined;
149
- readonly selectionHandleColor?: import("@tamagui/web").Color | undefined;
150
- readonly underlineColorAndroid?: import("@tamagui/web").Color | undefined;
151
- }, {
152
- disabled?: boolean | undefined;
153
- size?: false | import("@tamagui/web").Size | undefined;
154
- }>, "about" | "accept" | "accessKey" | "allowFontScaling" | "alt" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-braillelabel" | "aria-brailleroledescription" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colindextext" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-description" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "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-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "autoCapitalize" | "autoComplete" | "autoCorrect" | "autoFocus" | "autoFocusNative" | "autoSave" | "blurOnSubmit" | "capture" | "caretHidden" | "checked" | "clearButtonMode" | "clearTextOnFocus" | "color" | "content" | "contentEditable" | "contextMenu" | "contextMenuHidden" | "cursorColor" | "dangerouslySetInnerHTML" | "dataDetectorTypes" | "datatype" | "defaultChecked" | "defaultValue" | "dir" | "disableFullscreenUI" | "disableKeyboardShortcuts" | "disabled" | "draggable" | "enablesReturnKeyAutomatically" | "enterKeyHint" | "exportparts" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "form" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "height" | "hidden" | "id" | "importantForAutofill" | "inert" | "inlineImageLeft" | "inlineImagePadding" | "inlist" | "inputAccessoryViewButtonLabel" | "inputAccessoryViewID" | "inputMode" | "is" | "itemID" | "itemProp" | "itemRef" | "itemScope" | "itemType" | "keyboardAppearance" | "keyboardType" | "lang" | "letterSpacing" | "lineBreakModeIOS" | "lineBreakStrategyIOS" | "list" | "max" | "maxFontSizeMultiplier" | "maxLength" | "min" | "minLength" | "multiline" | "multiple" | "name" | "nonce" | "numberOfLines" | "onAbort" | "onAbortCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAuxClick" | "onAuxClickCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onBeforeToggle" | "onBlur" | "onBlurCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onChange" | "onChangeCapture" | "onChangeText" | "onClick" | "onClickCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onContentSizeChange" | "onContextMenu" | "onContextMenuCapture" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEndEditing" | "onEnded" | "onEndedCapture" | "onError" | "onErrorCapture" | "onFocus" | "onFocusCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onInput" | "onInputCapture" | "onInvalid" | "onInvalidCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onLoad" | "onLoadCapture" | "onLoadStart" | "onLoadStartCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onPaste" | "onPasteCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerEnter" | "onPointerLeave" | "onPointerMove" | "onPointerMoveCapture" | "onPointerOut" | "onPointerOutCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerUp" | "onPointerUpCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onReset" | "onResetCapture" | "onScroll" | "onScrollCapture" | "onScrollEnd" | "onScrollEndCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onSelect" | "onSelectCapture" | "onSelectionChange" | "onStalled" | "onStalledCapture" | "onSubmit" | "onSubmitCapture" | "onSubmitEditing" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onToggle" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onTransitionCancel" | "onTransitionCancelCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "onTransitionRun" | "onTransitionRunCapture" | "onTransitionStart" | "onTransitionStartCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onWheel" | "onWheelCapture" | "part" | "passwordRules" | "pattern" | "placeholder" | "placeholderTextColor" | "popover" | "popoverTarget" | "popoverTargetAction" | "prefix" | "property" | "radioGroup" | "readOnly" | "rejectResponderTermination" | "rel" | "required" | "resource" | "results" | "returnKeyLabel" | "returnKeyType" | "rev" | "role" | "rows" | "scrollEnabled" | "secureTextEntry" | "security" | "selectTextOnFocus" | "selection" | "selectionColor" | "selectionHandleColor" | "showSoftInputOnFocus" | "slot" | "smartInsertDelete" | "spellCheck" | "src" | "step" | "submitBehavior" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "tabIndex" | "textAlign" | "textAlignVertical" | "textBreakStrategy" | "textContentType" | "textTransform" | "title" | "translate" | "type" | "typeof" | "underlineColorAndroid" | "unselectable" | "value" | "verticalAlign" | "vocab" | "width"> & Omit<import("react").InputHTMLAttributes<HTMLInputElement>, "children" | "className" | "color" | "fontFamily" | "fontSize" | "fontStyle" | "fontWeight" | "letterSpacing" | "size" | "style" | "textAlign" | "textTransform" | ("autoCapitalize" | "autoCorrect" | "spellCheck")> & {
155
- fontFamily?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"fontFamily"> | undefined>;
156
- fontSize?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"fontSize"> | undefined>;
157
- fontStyle?: import("@tamagui/web").FlatStyleValue<"italic" | "normal" | "unset" | undefined>;
158
- fontWeight?: import("@tamagui/web").FlatStyleValue<"unset" | 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900 | import("@tamagui/web").GetThemeValueForKey<"fontWeight"> | undefined>;
159
- letterSpacing?: import("@tamagui/web").FlatStyleValue<"unset" | import("@tamagui/web").GetThemeValueForKey<"letterSpacing"> | undefined>;
160
- textAlign?: import("@tamagui/web").FlatStyleValue<"auto" | "center" | "justify" | "left" | "right" | "unset" | undefined>;
161
- textTransform?: import("@tamagui/web").FlatStyleValue<"capitalize" | "lowercase" | "none" | "unset" | "uppercase" | undefined>;
162
- color?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"color"> | undefined>;
163
- } & Omit<import("./InputNativeProps").InputNativeProps, "autoCapitalize" | "autoCorrect" | "spellCheck"> & {
164
- autoCorrect?: boolean | 'on' | 'off';
165
- autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters' | 'off' | 'on';
166
- spellCheck?: boolean;
167
- rows?: number;
168
- placeholderTextColor?: import("@tamagui/web").ColorTokens;
169
- selectionColor?: import("@tamagui/web").ColorTokens;
170
- onChangeText?: (text: string) => void;
171
- onSubmitEditing?: (e: {
172
- nativeEvent: {
173
- text: string;
174
- };
175
- }) => void;
176
- selection?: {
177
- start: number;
178
- end?: number;
179
- };
180
- onSelectionChange?: (e: {
181
- nativeEvent: {
182
- selection: {
183
- start: number;
184
- end: number;
185
- };
186
- };
187
- }) => void;
188
- textContentType?: import("./types").InputTextContentType;
189
- }, import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase & {
190
- readonly placeholderTextColor?: import("@tamagui/web").Color | undefined;
191
- readonly selectionColor?: import("@tamagui/web").Color | undefined;
192
- readonly cursorColor?: import("@tamagui/web").Color | undefined;
193
- readonly selectionHandleColor?: import("@tamagui/web").Color | undefined;
194
- readonly underlineColorAndroid?: import("@tamagui/web").Color | undefined;
195
- }, {
196
- disabled?: boolean | undefined;
197
- size?: false | import("@tamagui/web").Size | undefined;
198
- }, {
199
- readonly isInput: true;
200
- readonly accept: {
201
- readonly placeholderTextColor: 'color';
202
- readonly selectionColor: 'color';
203
- readonly cursorColor: 'color';
204
- readonly selectionHandleColor: 'color';
205
- readonly underlineColorAndroid: 'color';
206
- };
207
- readonly validStyles: {
208
- [key: string]: boolean;
209
- } | undefined;
210
- } & import("@tamagui/web").StaticConfigPublic];
211
- };
45
+ } & import("@tamagui/web").StaticConfigPublic>;
212
46
  export type TextAreaProps = GetProps<typeof TextArea>;
213
47
  //# sourceMappingURL=TextArea.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../src/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAU,MAAM,cAAc,CAAA;AAIpD;;;GAGG;AACH,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiBnB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA"}
1
+ {"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../src/TextArea.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,QAAQ,EAAU,MAAM,cAAc,CAAA;AAwBpD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAA6C,CAAA;AAElE,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA"}
package/types/shared.d.ts CHANGED
@@ -1,12 +1,39 @@
1
- import type { SizeVariantSpreadFunction } from '@tamagui/core';
2
1
  export declare const defaultStyles: {
3
2
  readonly size: true;
4
3
  readonly outlineWidth: 0;
5
4
  readonly tabIndex: 0;
6
5
  readonly minWidth: 0;
7
6
  };
8
- export declare const inputSizeVariant: SizeVariantSpreadFunction<any>;
9
- export declare const textAreaSizeVariant: SizeVariantSpreadFunction<any>;
7
+ export declare const inputSizeVariant: import("@tamagui/web/types/types").StyledDynamicFn<any, Record<string, any>>;
8
+ export declare const textAreaSizeVariant: import("@tamagui/web/types/types").StyledDynamicFn<any, Record<string, any>>;
9
+ export declare const resolveTextAreaSize: (props: Record<string, any>, env: Parameters<typeof textAreaSizeVariant>[1]) => {
10
+ borderRadius: any;
11
+ color: any;
12
+ fontFamily: any;
13
+ fontSize: any;
14
+ fontStyle: any;
15
+ fontWeight: any;
16
+ letterSpacing: any;
17
+ lineHeight: any;
18
+ textTransform: any;
19
+ paddingVertical: any;
20
+ paddingHorizontal: any;
21
+ height: any;
22
+ };
23
+ export declare const resolveMultilineInputSize: (props: Record<string, any>, env: Parameters<typeof textAreaSizeVariant>[1]) => {
24
+ borderRadius: any;
25
+ color: any;
26
+ fontFamily: any;
27
+ fontSize: any;
28
+ fontStyle: any;
29
+ fontWeight: any;
30
+ letterSpacing: any;
31
+ lineHeight: any;
32
+ textTransform: any;
33
+ paddingVertical: any;
34
+ paddingHorizontal: any;
35
+ height: any;
36
+ } | undefined;
10
37
  export declare const INPUT_NAME = "Input";
11
38
  export declare const styledBody: readonly [{
12
39
  readonly size: true;
@@ -16,25 +43,12 @@ export declare const styledBody: readonly [{
16
43
  readonly name: "Input";
17
44
  readonly render: 'input';
18
45
  readonly variants: {
19
- readonly size: {
20
- readonly true: SizeVariantSpreadFunction<any>;
21
- readonly Size: SizeVariantSpreadFunction<any>;
22
- };
46
+ readonly size: import("@tamagui/web/types/types").StyledDynamicFn<any, Record<string, any>>;
23
47
  readonly disabled: {
24
48
  readonly true: {};
25
49
  };
26
50
  };
27
51
  }, {
28
52
  readonly isInput: true;
29
- readonly accept: {
30
- readonly placeholderTextColor: 'color';
31
- readonly selectionColor: 'color';
32
- readonly cursorColor: 'color';
33
- readonly selectionHandleColor: 'color';
34
- readonly underlineColorAndroid: 'color';
35
- };
36
- readonly validStyles: {
37
- [key: string]: boolean;
38
- } | undefined;
39
53
  }];
40
54
  //# sourceMappingURL=shared.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,yBAAyB,EAAuB,MAAM,eAAe,CAAA;AAUnF,eAAO,MAAM,aAAa;aACxB,IAAI;aACJ,YAAY,EAAE,CAAC;aACf,QAAQ,EAAE,CAAC;aAGX,QAAQ,EAAE,CAAC;CACH,CAAA;AA+CV,eAAO,MAAM,gBAAgB,EAAE,yBAAyB,CAAC,GAAG,CAsB3D,CAAA;AAED,eAAO,MAAM,mBAAmB,EAAE,yBAAyB,CAAC,GAAG,CAqB9D,CAAA;AACD,eAAO,MAAM,UAAU,UAAU,CAAA;AAEjC,eAAO,MAAM,UAAU;;2BApGP,CAAC;uBACL,CAAC;uBAGD,CAAC;;qBAmGD,OAAO;;iBAGb,IAAI;qBACF,IAAI;qBACJ,IAAI;;iBAGN,QAAQ;qBACN,IAAI;;;;;;iBAQN,oBAAoB,EAAE,OAAO;iBAC7B,cAAc,EAAE,OAAO;iBACvB,WAAW,EAAE,OAAO;iBACpB,oBAAoB,EAAE,OAAO;iBAC7B,qBAAqB,EAAE,OAAO;;;;;EAK1B,CAAA"}
1
+ {"version":3,"file":"shared.d.ts","sourceRoot":"","sources":["../src/shared.tsx"],"names":[],"mappings":"AAQA,eAAO,MAAM,aAAa;aACxB,IAAI;aACJ,YAAY,EAAE,CAAC;aACf,QAAQ,EAAE,CAAC;aAGX,QAAQ,EAAE,CAAC;CACH,CAAA;AAmDV,eAAO,MAAM,gBAAgB,8EAgB3B,CAAA;AAEF,eAAO,MAAM,mBAAmB,8EAiB9B,CAAA;AAEF,eAAO,MAAM,mBAAmB,UACvB,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,OACrB,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;CAuB/C,CAAA;AAED,eAAO,MAAM,yBAAyB,UAC7B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,OACrB,UAAU,CAAC,OAAO,mBAAmB,CAAC,CAAC,CAAC,CAAC;;;;;;;;;;;;;aAI/C,CAAA;AACD,eAAO,MAAM,UAAU,UAAU,CAAA;AAEjC,eAAO,MAAM,UAAU;;2BAjIP,CAAC;uBACL,CAAC;uBAGD,CAAC;;qBAgID,OAAO;;iBAGb,IAAI;iBAEJ,QAAQ;qBACN,IAAI;;;;;EAQF,CAAA"}