@tamagui/input 3.0.0-beta.1312.1 → 3.0.0-beta.1341.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/TextArea.cjs +1 -2
  2. package/dist/cjs/TextArea.native.cjs +1 -2
  3. package/dist/cjs/TextArea.native.js +1 -2
  4. package/dist/cjs/TextArea.native.js.map +1 -1
  5. package/dist/cjs/index.cjs +0 -11
  6. package/dist/cjs/index.native.cjs +0 -11
  7. package/dist/cjs/index.native.js +0 -11
  8. package/dist/cjs/index.native.js.map +1 -1
  9. package/dist/cjs/shared.cjs +13 -47
  10. package/dist/cjs/shared.native.cjs +16 -51
  11. package/dist/cjs/shared.native.js +16 -51
  12. package/dist/cjs/shared.native.js.map +1 -1
  13. package/dist/esm/TextArea.mjs +2 -3
  14. package/dist/esm/TextArea.mjs.map +1 -1
  15. package/dist/esm/TextArea.native.js +2 -3
  16. package/dist/esm/TextArea.native.js.map +1 -1
  17. package/dist/esm/index.js +0 -4
  18. package/dist/esm/index.mjs +0 -4
  19. package/dist/esm/index.native.js +0 -4
  20. package/dist/esm/shared.mjs +14 -46
  21. package/dist/esm/shared.mjs.map +1 -1
  22. package/dist/esm/shared.native.js +17 -50
  23. package/dist/esm/shared.native.js.map +1 -1
  24. package/dist/jsx/TextArea.mjs +2 -3
  25. package/dist/jsx/TextArea.mjs.map +1 -1
  26. package/dist/jsx/TextArea.native.cjs +1 -2
  27. package/dist/jsx/TextArea.native.js +1 -2
  28. package/dist/jsx/TextArea.native.js.map +1 -1
  29. package/dist/jsx/index.js +0 -4
  30. package/dist/jsx/index.mjs +0 -4
  31. package/dist/jsx/index.native.cjs +0 -11
  32. package/dist/jsx/index.native.js +0 -11
  33. package/dist/jsx/index.native.js.map +1 -1
  34. package/dist/jsx/shared.mjs +14 -46
  35. package/dist/jsx/shared.mjs.map +1 -1
  36. package/dist/jsx/shared.native.cjs +16 -51
  37. package/dist/jsx/shared.native.js +16 -51
  38. package/dist/jsx/shared.native.js.map +1 -1
  39. package/package.json +13 -13
  40. package/src/TextArea.tsx +1 -5
  41. package/src/index.ts +0 -1
  42. package/src/shared.tsx +34 -50
  43. package/types/Input.d.ts +1 -5
  44. package/types/Input.d.ts.map +1 -1
  45. package/types/Input.native.d.ts +1 -5
  46. package/types/Input.native.d.ts.map +1 -1
  47. package/types/TextArea.d.ts +0 -2
  48. package/types/TextArea.d.ts.map +1 -1
  49. package/types/index.d.ts +0 -1
  50. package/types/index.d.ts.map +1 -1
  51. package/types/shared.d.ts +13 -31
  52. package/types/shared.d.ts.map +1 -1
@@ -1,7 +1,6 @@
1
1
  import { type GetProps } from '@tamagui/web';
2
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, {
3
3
  disabled?: boolean | undefined;
4
- size?: any;
5
4
  }>, "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")> & {
6
5
  fontFamily?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"fontFamily"> | undefined>;
7
6
  fontSize?: import("@tamagui/web").FlatStyleValue<import("@tamagui/web").GetThemeValueForKey<"fontSize"> | undefined>;
@@ -39,7 +38,6 @@ export declare const TextArea: import("@tamagui/web").TamaguiComponent<import("@
39
38
  textContentType?: import("./types").InputTextContentType;
40
39
  }, import("@tamagui/web").StackStyleBase & import("@tamagui/web").TextStylePropsBase, {
41
40
  disabled?: boolean | undefined;
42
- size?: any;
43
41
  }, {
44
42
  readonly isInput: true;
45
43
  } & import("@tamagui/web").StaticConfigPublic>;
@@ -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;AAwBpD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAA6C,CAAA;AAElE,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;AAoBpD,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8CAA6C,CAAA;AAElE,MAAM,MAAM,aAAa,GAAG,QAAQ,CAAC,OAAO,QAAQ,CAAC,CAAA"}
package/types/index.d.ts CHANGED
@@ -1,6 +1,5 @@
1
1
  export * from './Input';
2
2
  export * from './TextArea';
3
- export { inputSizeVariant, textAreaSizeVariant } from './shared';
4
3
  export type { InputExtraProps, InputRef, InputTextContentType } from './types';
5
4
  export type { InputNativeProps, InputIOSProps, InputAndroidProps, InputDataDetectorTypes, InputReturnKeyType, InputKeyboardType, } from './InputNativeProps';
6
5
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,OAAO,EAAE,gBAAgB,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAA;AAChE,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAC9E,YAAY,EACV,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,oBAAoB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAA;AACvB,cAAc,YAAY,CAAA;AAC1B,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAA;AAC9E,YAAY,EACV,gBAAgB,EAChB,aAAa,EACb,iBAAiB,EACjB,sBAAsB,EACtB,kBAAkB,EAClB,iBAAiB,GAClB,MAAM,oBAAoB,CAAA"}
package/types/shared.d.ts CHANGED
@@ -1,49 +1,31 @@
1
1
  export declare const defaultStyles: {
2
- readonly size: true;
3
2
  readonly outlineWidth: 0;
4
3
  readonly tabIndex: 0;
5
4
  readonly minWidth: 0;
6
5
  };
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;
6
+ export declare const resolveTextAreaSize: (props: Record<string, any>, env: {
7
+ font?: {
8
+ size: Record<string, any>;
9
+ lineHeight?: Record<string, any>;
10
+ };
11
+ fonts: Record<string, {
12
+ size: Record<string, any>;
13
+ lineHeight?: Record<string, any>;
14
+ }>;
15
+ }) => {
16
+ height: number | undefined;
22
17
  };
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;
18
+ export declare const resolveMultilineInputSize: (props: Record<string, any>, env: Parameters<typeof resolveTextAreaSize>[1]) => {
19
+ height: number | undefined;
36
20
  } | undefined;
37
21
  export declare const INPUT_NAME = "Input";
38
22
  export declare const styledBody: readonly [{
39
- readonly size: true;
40
23
  readonly outlineWidth: 0;
41
24
  readonly tabIndex: 0;
42
25
  readonly minWidth: 0;
43
26
  readonly name: "Input";
44
27
  readonly render: 'input';
45
28
  readonly variants: {
46
- readonly size: import("@tamagui/web/types/types").StyledDynamicFn<any, Record<string, any>>;
47
29
  readonly disabled: {
48
30
  readonly true: {};
49
31
  };
@@ -1 +1 @@
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;AAEV,eAAO,MAAM,gBAAgB,8EAc3B,CAAA;AAEF,eAAO,MAAM,mBAAmB,8EAK9B,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,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