@tamagui/input 2.0.0-rc.9 → 2.0.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/dist/cjs/Input.cjs +165 -153
- package/dist/cjs/Input.native.js +256 -233
- package/dist/cjs/Input.native.js.map +1 -1
- package/dist/cjs/InputNativeProps.cjs +7 -5
- package/dist/cjs/InputNativeProps.native.js +7 -5
- package/dist/cjs/InputNativeProps.native.js.map +1 -1
- package/dist/cjs/TextArea.cjs +15 -13
- package/dist/cjs/TextArea.native.js +34 -32
- package/dist/cjs/TextArea.native.js.map +1 -1
- package/dist/cjs/index.cjs +13 -11
- package/dist/cjs/index.native.js +13 -11
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/inputTypes.test-d.cjs +125 -0
- package/dist/cjs/inputTypes.test-d.native.js +128 -0
- package/dist/cjs/inputTypes.test-d.native.js.map +1 -0
- package/dist/cjs/shared.cjs +119 -104
- package/dist/cjs/shared.native.js +125 -110
- package/dist/cjs/shared.native.js.map +1 -1
- package/dist/cjs/types.cjs +7 -5
- package/dist/cjs/types.native.js +7 -5
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/v1/Input.cjs +177 -170
- package/dist/cjs/v1/Input.native.js +154 -112
- package/dist/cjs/v1/Input.native.js.map +1 -1
- package/dist/cjs/v1/TextArea.cjs +15 -13
- package/dist/cjs/v1/TextArea.native.js +34 -32
- package/dist/cjs/v1/TextArea.native.js.map +1 -1
- package/dist/cjs/v1/index.cjs +7 -5
- package/dist/cjs/v1/index.native.js +7 -5
- package/dist/cjs/v1/index.native.js.map +1 -1
- package/dist/cjs/v1/types.cjs +7 -5
- package/dist/cjs/v1/types.native.js +7 -5
- package/dist/cjs/v1/types.native.js.map +1 -1
- package/dist/esm/Input.mjs +134 -124
- package/dist/esm/Input.mjs.map +1 -1
- package/dist/esm/Input.native.js +225 -204
- package/dist/esm/Input.native.js.map +1 -1
- package/dist/esm/TextArea.mjs.map +1 -1
- package/dist/esm/TextArea.native.js.map +1 -1
- package/dist/esm/index.js +4 -7
- package/dist/esm/index.js.map +1 -6
- package/dist/esm/inputTypes.test-d.mjs +126 -0
- package/dist/esm/inputTypes.test-d.mjs.map +1 -0
- package/dist/esm/inputTypes.test-d.native.js +126 -0
- package/dist/esm/inputTypes.test-d.native.js.map +1 -0
- package/dist/esm/shared.mjs +102 -89
- package/dist/esm/shared.mjs.map +1 -1
- package/dist/esm/shared.native.js +107 -94
- package/dist/esm/shared.native.js.map +1 -1
- package/dist/esm/v1/Input.mjs +146 -141
- package/dist/esm/v1/Input.mjs.map +1 -1
- package/dist/esm/v1/Input.native.js +123 -83
- package/dist/esm/v1/Input.native.js.map +1 -1
- package/dist/jsx/Input.mjs +134 -124
- package/dist/jsx/Input.mjs.map +1 -1
- package/dist/jsx/Input.native.js +256 -233
- package/dist/jsx/Input.native.js.map +1 -1
- package/dist/jsx/InputNativeProps.native.js +7 -5
- package/dist/jsx/TextArea.mjs.map +1 -1
- package/dist/jsx/TextArea.native.js +34 -32
- package/dist/jsx/TextArea.native.js.map +1 -1
- package/dist/jsx/index.js +4 -7
- package/dist/jsx/index.js.map +1 -6
- package/dist/jsx/index.native.js +13 -11
- package/dist/jsx/inputTypes.test-d.mjs +126 -0
- package/dist/jsx/inputTypes.test-d.mjs.map +1 -0
- package/dist/jsx/inputTypes.test-d.native.js +128 -0
- package/dist/jsx/inputTypes.test-d.native.js.map +1 -0
- package/dist/jsx/shared.mjs +102 -89
- package/dist/jsx/shared.mjs.map +1 -1
- package/dist/jsx/shared.native.js +125 -110
- package/dist/jsx/shared.native.js.map +1 -1
- package/dist/jsx/types.native.js +7 -5
- package/dist/jsx/v1/Input.mjs +146 -141
- package/dist/jsx/v1/Input.mjs.map +1 -1
- package/dist/jsx/v1/Input.native.js +154 -112
- package/dist/jsx/v1/Input.native.js.map +1 -1
- package/dist/jsx/v1/TextArea.native.js +34 -32
- package/dist/jsx/v1/TextArea.native.js.map +1 -1
- package/dist/jsx/v1/index.native.js +7 -5
- package/dist/jsx/v1/types.native.js +7 -5
- package/package.json +20 -19
- package/src/Input.native.tsx +2 -2
- package/src/Input.tsx +7 -5
- package/src/TextArea.tsx +3 -3
- package/src/index.ts +1 -1
- package/src/inputTypes.test-d.ts +237 -0
- package/src/shared.tsx +6 -0
- package/src/types.ts +24 -14
- package/src/v1/Input.tsx +4 -4
- package/types/Input.d.ts +14 -12
- package/types/Input.d.ts.map +1 -1
- package/types/Input.native.d.ts +12 -12
- package/types/Input.native.d.ts.map +1 -1
- package/types/TextArea.d.ts +8 -7
- package/types/TextArea.d.ts.map +1 -1
- package/types/index.d.ts +1 -1
- package/types/index.d.ts.map +1 -1
- package/types/shared.d.ts +5 -0
- package/types/shared.d.ts.map +1 -1
- package/types/types.d.ts +14 -4
- package/types/types.d.ts.map +1 -1
- package/types/v1/Input.d.ts +12 -12
- package/types/v1/Input.native.d.ts +12 -12
- package/types/v1/TextArea.d.ts +6 -6
- package/dist/cjs/Input.js +0 -143
- package/dist/cjs/Input.js.map +0 -6
- package/dist/cjs/InputNativeProps.js +0 -14
- package/dist/cjs/InputNativeProps.js.map +0 -6
- package/dist/cjs/TextArea.js +0 -43
- package/dist/cjs/TextArea.js.map +0 -6
- package/dist/cjs/index.js +0 -24
- package/dist/cjs/index.js.map +0 -6
- package/dist/cjs/shared.js +0 -111
- package/dist/cjs/shared.js.map +0 -6
- package/dist/cjs/types.js +0 -14
- package/dist/cjs/types.js.map +0 -6
- package/dist/cjs/v1/Input.js +0 -171
- package/dist/cjs/v1/Input.js.map +0 -6
- package/dist/cjs/v1/TextArea.js +0 -43
- package/dist/cjs/v1/TextArea.js.map +0 -6
- package/dist/cjs/v1/index.js +0 -16
- package/dist/cjs/v1/index.js.map +0 -6
- package/dist/cjs/v1/types.js +0 -14
- package/dist/cjs/v1/types.js.map +0 -6
- package/dist/esm/Input.js +0 -124
- package/dist/esm/Input.js.map +0 -6
- package/dist/esm/InputNativeProps.js +0 -1
- package/dist/esm/InputNativeProps.js.map +0 -6
- package/dist/esm/TextArea.js +0 -29
- package/dist/esm/TextArea.js.map +0 -6
- package/dist/esm/shared.js +0 -99
- package/dist/esm/shared.js.map +0 -6
- package/dist/esm/types.js +0 -1
- package/dist/esm/types.js.map +0 -6
- package/dist/esm/v1/Input.js +0 -152
- package/dist/esm/v1/Input.js.map +0 -6
- package/dist/esm/v1/TextArea.js +0 -29
- package/dist/esm/v1/TextArea.js.map +0 -6
- package/dist/esm/v1/index.js +0 -3
- package/dist/esm/v1/index.js.map +0 -6
- package/dist/esm/v1/types.js +0 -1
- package/dist/esm/v1/types.js.map +0 -6
- package/dist/jsx/Input.js +0 -124
- package/dist/jsx/Input.js.map +0 -6
- package/dist/jsx/InputNativeProps.js +0 -1
- package/dist/jsx/InputNativeProps.js.map +0 -6
- package/dist/jsx/TextArea.js +0 -29
- package/dist/jsx/TextArea.js.map +0 -6
- package/dist/jsx/shared.js +0 -99
- package/dist/jsx/shared.js.map +0 -6
- package/dist/jsx/types.js +0 -1
- package/dist/jsx/types.js.map +0 -6
- package/dist/jsx/v1/Input.js +0 -152
- package/dist/jsx/v1/Input.js.map +0 -6
- package/dist/jsx/v1/TextArea.js +0 -29
- package/dist/jsx/v1/TextArea.js.map +0 -6
- package/dist/jsx/v1/index.js +0 -3
- package/dist/jsx/v1/index.js.map +0 -6
- package/dist/jsx/v1/types.js +0 -1
- package/dist/jsx/v1/types.js.map +0 -6
|
@@ -4,138 +4,180 @@ var __create = Object.create;
|
|
|
4
4
|
var __defProp = Object.defineProperty;
|
|
5
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
-
var __getProtoOf = Object.getPrototypeOf
|
|
8
|
-
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
9
|
var __export = (target, all) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
10
|
+
for (var name in all) __defProp(target, name, {
|
|
11
|
+
get: all[name],
|
|
12
|
+
enumerable: true
|
|
13
|
+
});
|
|
14
|
+
};
|
|
15
|
+
var __copyProps = (to, from, except, desc) => {
|
|
16
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
17
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
18
|
get: () => from[key],
|
|
18
19
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
20
|
});
|
|
20
|
-
|
|
21
|
-
|
|
21
|
+
}
|
|
22
|
+
return to;
|
|
23
|
+
};
|
|
22
24
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
25
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
26
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
27
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
28
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
29
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
30
|
+
value: mod,
|
|
31
|
+
enumerable: true
|
|
32
|
+
}) : target, mod));
|
|
33
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
34
|
+
value: true
|
|
35
|
+
}), mod);
|
|
34
36
|
var Input_native_exports = {};
|
|
35
37
|
__export(Input_native_exports, {
|
|
36
38
|
Input: () => Input
|
|
37
39
|
});
|
|
38
40
|
module.exports = __toCommonJS(Input_native_exports);
|
|
39
|
-
var import_jsx_runtime = require("react/jsx-runtime")
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
41
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
var import_react = __toESM(require("react"), 1);
|
|
43
|
+
var import_core = require("@tamagui/core");
|
|
44
|
+
var import_focusable = require("@tamagui/focusable");
|
|
45
|
+
var import_element = require("@tamagui/element");
|
|
46
|
+
var import_react_native = require("react-native");
|
|
47
|
+
var import_shared = require("../shared.native.js");
|
|
48
|
+
var StyledInput = (0, import_core.styled)(import_react_native.TextInput, import_shared.styledBody[0], import_shared.styledBody[1]);
|
|
49
|
+
var Input = StyledInput.styleable(function (inProps, forwardedRef) {
|
|
50
|
+
var {
|
|
51
|
+
// some of destructed props are just to avoid passing them to ...rest because they are not in native.
|
|
52
|
+
type,
|
|
53
|
+
//@ts-ignore
|
|
54
|
+
dirname,
|
|
55
|
+
max,
|
|
56
|
+
min,
|
|
57
|
+
minLength,
|
|
58
|
+
multiple,
|
|
59
|
+
name,
|
|
60
|
+
required,
|
|
61
|
+
step,
|
|
62
|
+
disabled,
|
|
63
|
+
id,
|
|
64
|
+
// @ts-ignore
|
|
65
|
+
caretColor,
|
|
66
|
+
onChange,
|
|
67
|
+
onInput,
|
|
68
|
+
rows,
|
|
69
|
+
enterKeyHint,
|
|
70
|
+
returnKeyType,
|
|
71
|
+
onKeyDown,
|
|
72
|
+
inputMode,
|
|
73
|
+
render,
|
|
74
|
+
...rest
|
|
75
|
+
} = inProps;
|
|
76
|
+
var {
|
|
77
|
+
ref,
|
|
78
|
+
composedRef
|
|
79
|
+
} = (0, import_element.useNativeInputRef)(forwardedRef);
|
|
80
|
+
var secureTextEntry = false;
|
|
81
|
+
var cursorColor = caretColor;
|
|
82
|
+
var _returnKeyType = returnKeyType;
|
|
83
|
+
var _enterKeyHint = enterKeyHint;
|
|
84
|
+
if (enterKeyHint === "go") {
|
|
85
|
+
_returnKeyType = "go";
|
|
86
|
+
_enterKeyHint = void 0;
|
|
87
|
+
}
|
|
88
|
+
var _inputMode = inputMode;
|
|
89
|
+
if (type === "email") {
|
|
90
|
+
_inputMode = "email";
|
|
91
|
+
} else if (type === "tel") {
|
|
92
|
+
_inputMode = "tel";
|
|
93
|
+
} else if (type === "search") {
|
|
94
|
+
_inputMode = "search";
|
|
95
|
+
} else if (type === "url") {
|
|
96
|
+
_inputMode = "url";
|
|
97
|
+
} else if (type === "password") {
|
|
98
|
+
secureTextEntry = true;
|
|
99
|
+
_inputMode = "text";
|
|
100
|
+
} else if (type === "number") {
|
|
101
|
+
_inputMode = "numeric";
|
|
102
|
+
} else {
|
|
103
|
+
_inputMode = "text";
|
|
104
|
+
}
|
|
105
|
+
var showSoftInputOnFocus = true;
|
|
106
|
+
if (inputMode === "none") {
|
|
107
|
+
showSoftInputOnFocus = false;
|
|
108
|
+
}
|
|
109
|
+
var finalProps = {
|
|
110
|
+
...rest,
|
|
111
|
+
inputMode: _inputMode,
|
|
112
|
+
showSoftInputOnFocus,
|
|
113
|
+
disabled,
|
|
114
|
+
id,
|
|
115
|
+
cursorColor,
|
|
116
|
+
enterKeyHint: _enterKeyHint,
|
|
117
|
+
returnKeyType: _returnKeyType,
|
|
118
|
+
secureTextEntry,
|
|
119
|
+
numberOfLines: rows || rest.numberOfLines
|
|
120
|
+
};
|
|
121
|
+
if (render === "textarea") {
|
|
122
|
+
finalProps.multiline = true;
|
|
123
|
+
}
|
|
124
|
+
if (onKeyDown) {
|
|
125
|
+
finalProps.onKeyPress = function (e) {
|
|
100
126
|
var {
|
|
101
127
|
key
|
|
102
128
|
} = e.nativeEvent;
|
|
103
|
-
(key === "Backspace" || render === "textarea" && key === "Enter" || key.length === 1)
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
129
|
+
if (key === "Backspace" || render === "textarea" && key === "Enter" || key.length === 1) {
|
|
130
|
+
onKeyDown({
|
|
131
|
+
key,
|
|
132
|
+
type: "keydown"
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
};
|
|
136
|
+
finalProps.onSubmitEditing = function (e) {
|
|
108
137
|
onKeyDown({
|
|
109
138
|
key: "Enter",
|
|
110
139
|
type: "keydown"
|
|
111
140
|
});
|
|
112
|
-
}
|
|
141
|
+
};
|
|
142
|
+
}
|
|
143
|
+
if (onChange || onInput) {
|
|
144
|
+
finalProps.onChange = function (e) {
|
|
113
145
|
var {
|
|
114
146
|
text
|
|
115
147
|
} = e.nativeEvent;
|
|
116
|
-
onChange
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
148
|
+
if (onChange) {
|
|
149
|
+
onChange({
|
|
150
|
+
target: {
|
|
151
|
+
value: text
|
|
152
|
+
},
|
|
153
|
+
type: "change"
|
|
154
|
+
});
|
|
155
|
+
}
|
|
156
|
+
if (onInput != null) {
|
|
157
|
+
onInput({
|
|
158
|
+
target: {
|
|
159
|
+
value: text
|
|
160
|
+
},
|
|
161
|
+
type: "input"
|
|
162
|
+
});
|
|
163
|
+
}
|
|
164
|
+
};
|
|
165
|
+
}
|
|
166
|
+
import_react.default.useEffect(function () {
|
|
167
|
+
if (!id) return;
|
|
168
|
+
if (disabled) return;
|
|
169
|
+
return (0, import_focusable.registerFocusable)(id, {
|
|
170
|
+
focusAndSelect: function () {
|
|
171
|
+
var _ref_current;
|
|
172
|
+
(_ref_current = ref.current) === null || _ref_current === void 0 ? void 0 : _ref_current.focus();
|
|
173
|
+
},
|
|
174
|
+
focus: function () {}
|
|
139
175
|
});
|
|
176
|
+
}, [id, disabled]);
|
|
177
|
+
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(StyledInput, {
|
|
178
|
+
onChange: function (e) {},
|
|
179
|
+
ref: composedRef,
|
|
180
|
+
...finalProps
|
|
140
181
|
});
|
|
182
|
+
});
|
|
141
183
|
//# sourceMappingURL=Input.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["Input_native_exports","__export","Input","module","exports","__toCommonJS","import_jsx_runtime","require","import_react","__toESM","import_core","import_focusable","import_element","import_react_native","import_shared","StyledInput","styled","TextInput","styledBody","styleable","inProps","forwardedRef","type","dirname","max","min","minLength","multiple","name","required","step","disabled","id","caretColor","onChange","onInput","rows","enterKeyHint","returnKeyType","onKeyDown","inputMode","render","rest","ref","composedRef","useNativeInputRef","secureTextEntry","cursorColor","_returnKeyType","_enterKeyHint","_inputMode","showSoftInputOnFocus","finalProps","numberOfLines","multiline","onKeyPress","e","key","nativeEvent","length","onSubmitEditing","text","target","value","default","useEffect","registerFocusable","focusAndSelect","_ref_current","current","focus","jsx"],"sources":["../../../src/v1/Input.native.tsx"],"sourcesContent":[null],"mappings":"
|
|
1
|
+
{"version":3,"names":["Input_native_exports","__export","Input","module","exports","__toCommonJS","import_jsx_runtime","require","import_react","__toESM","import_core","import_focusable","import_element","import_react_native","import_shared","StyledInput","styled","TextInput","styledBody","styleable","inProps","forwardedRef","type","dirname","max","min","minLength","multiple","name","required","step","disabled","id","caretColor","onChange","onInput","rows","enterKeyHint","returnKeyType","onKeyDown","inputMode","render","rest","ref","composedRef","useNativeInputRef","secureTextEntry","cursorColor","_returnKeyType","_enterKeyHint","_inputMode","showSoftInputOnFocus","finalProps","numberOfLines","multiline","onKeyPress","e","key","nativeEvent","length","onSubmitEditing","text","target","value","default","useEffect","registerFocusable","focusAndSelect","_ref_current","current","focus","jsx"],"sources":["../../../src/v1/Input.native.tsx"],"sourcesContent":[null],"mappings":"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","ignoreList":[]}
|
|
@@ -5,49 +5,51 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: true
|
|
11
|
+
});
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
16
|
get: () => from[key],
|
|
16
17
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
18
|
});
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
}
|
|
20
|
+
return to;
|
|
21
|
+
};
|
|
20
22
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value:
|
|
23
|
+
value: true
|
|
22
24
|
}), mod);
|
|
23
25
|
var TextArea_exports = {};
|
|
24
26
|
__export(TextArea_exports, {
|
|
25
27
|
TextArea: () => TextArea
|
|
26
28
|
});
|
|
27
29
|
module.exports = __toCommonJS(TextArea_exports);
|
|
28
|
-
var import_web = require("@tamagui/web")
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
size: {
|
|
46
|
-
"...size": import_shared.textAreaSizeVariant
|
|
30
|
+
var import_web = require("@tamagui/web");
|
|
31
|
+
var import_Input = require("./Input.native.js");
|
|
32
|
+
var import_shared = require("../shared.native.js");
|
|
33
|
+
var TextArea = (0, import_web.styled)(import_Input.Input, {
|
|
34
|
+
name: "TextArea",
|
|
35
|
+
render: "textarea",
|
|
36
|
+
// this attribute fixes firefox newline issue
|
|
37
|
+
// @ts-ignore
|
|
38
|
+
whiteSpace: "pre-wrap",
|
|
39
|
+
variants: {
|
|
40
|
+
unstyled: {
|
|
41
|
+
false: {
|
|
42
|
+
height: "auto",
|
|
43
|
+
...import_shared.defaultStyles,
|
|
44
|
+
numberOfLines: 3
|
|
47
45
|
}
|
|
48
46
|
},
|
|
49
|
-
|
|
50
|
-
|
|
47
|
+
size: {
|
|
48
|
+
"...size": import_shared.textAreaSizeVariant
|
|
51
49
|
}
|
|
52
|
-
}
|
|
50
|
+
},
|
|
51
|
+
defaultVariants: {
|
|
52
|
+
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
53
|
+
}
|
|
54
|
+
});
|
|
53
55
|
//# sourceMappingURL=TextArea.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","TextArea_exports","TextArea","module","exports","import_web","require","import_Input"
|
|
1
|
+
{"version":3,"names":["__defProp","Object","defineProperty","__getOwnPropDesc","getOwnPropertyDescriptor","__getOwnPropNames","getOwnPropertyNames","__hasOwnProp","prototype","hasOwnProperty","__export","target","all","name","get","enumerable","__copyProps","to","from","except","desc","key","call","__toCommonJS","mod","value","TextArea_exports","TextArea","module","exports","import_web","require","import_Input"],"sources":["../../../src/v1/TextArea.tsx"],"sourcesContent":[null],"mappings":"AAAA,YAAS;;AACT,IAAAA,SAAS,GAAAC,MAAa,CAAAC,cAAA;AACtB,IAAAC,gBAAS,GAAAF,MAAe,CAAAG,wBAA2B;AAO5C,IAAAC,iBAAiB,GAAOJ,MAAA,CAAOK,mBAAA;AAAA,IACpCC,YAAM,GAAAN,MAAA,CAAAO,SAAA,CAAAC,cAAA;AAAA,IACNC,QAAQ,GAAAA,CAAAC,MAAA,EAAAC,GAAA;EAAA,SAAAC,IAAA,IAAAD,GAAA,EAAAZ,SAAA,CAAAW,MAAA,EAAAE,IAAA;IAAAC,GAAA,EAAAF,GAAA,CAAAC,IAAA;IAAAE,UAAA;EAAA;AAAA;AAII,IAEZC,WAAU,GAAAA,CAAAC,EAAA,EAAAC,IAAA,EAAAC,MAAA,EAAAC,IAAA;EAAA,IACRF,IAAA,IAAU,OAAAA,IAAA,wBAAAA,IAAA;IAAA,KACR,IAAOG,GAAA,IAAAhB,iBAAA,CAAAa,IAAA,OACL,CAAAX,YAAQ,CAAAe,IAAA,CAAAL,EAAA,EAAAI,GAAA,KAAAA,GAAA,KAAAF,MAAA,EACRnB,SAAG,CAAAiB,EAAA,EAAAI,GAAA;MAAAP,GAAA,EAAAA,CAAA,KAAAI,IAAA,CAAAG,GAAA;MAAAN,UAAA,IAAAK,IAAA,GAAAjB,gBAAA,CAAAe,IAAA,EAAAG,GAAA,MAAAD,IAAA,CAAAL;IAAA;EAAA;EACY,OACjBE,EAAA;AAAA;AACF,IAEAM,YAAM,GAAAC,GAAA,IAAAR,WAAA,CAAAhB,SAAA;EAAAyB,KAAA;AAAA,IAAAD,GAAA;AAAA,IAAAE,gBACO;AAAAhB,QACb,CAAAgB,gBAAA;EACFC,QAAA,EAAAA,CAAA,KAAAA;AAAA,EAEA;AAAiBC,MACf,CAAAC,OAAU,GAAAN,YAAY,CAAAG,gBAAA,CAAqB;AAAA,IAC7CI,UAAA,GAAAC,OAAA;AACF,IAACC,YAAA,GAAAD,OAAA","ignoreList":[]}
|
|
@@ -5,15 +5,17 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
9
10
|
get: () => from[key],
|
|
10
11
|
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
12
|
});
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
13
|
+
}
|
|
14
|
+
return to;
|
|
15
|
+
};
|
|
16
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
17
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
-
value:
|
|
18
|
+
value: true
|
|
17
19
|
}), mod);
|
|
18
20
|
var v1_exports = {};
|
|
19
21
|
module.exports = __toCommonJS(v1_exports);
|
|
@@ -5,14 +5,16 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
5
5
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
6
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
7
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
if (from && typeof from
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
9
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
10
|
+
get: () => from[key],
|
|
11
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
12
|
+
});
|
|
13
|
+
}
|
|
12
14
|
return to;
|
|
13
15
|
};
|
|
14
16
|
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
15
|
-
value:
|
|
17
|
+
value: true
|
|
16
18
|
}), mod);
|
|
17
19
|
var types_exports = {};
|
|
18
20
|
module.exports = __toCommonJS(types_exports);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/input",
|
|
3
|
-
"version": "2.0.0
|
|
3
|
+
"version": "2.0.0",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"source": "src/index.ts",
|
|
6
6
|
"files": [
|
|
@@ -20,10 +20,11 @@
|
|
|
20
20
|
".": {
|
|
21
21
|
"types": "./types/index.d.ts",
|
|
22
22
|
"react-native": "./dist/esm/index.native.js",
|
|
23
|
+
"browser": "./dist/esm/index.mjs",
|
|
23
24
|
"module": "./dist/esm/index.mjs",
|
|
24
25
|
"import": "./dist/esm/index.mjs",
|
|
25
26
|
"require": "./dist/cjs/index.cjs",
|
|
26
|
-
"default": "./dist/
|
|
27
|
+
"default": "./dist/esm/index.mjs"
|
|
27
28
|
}
|
|
28
29
|
},
|
|
29
30
|
"publishConfig": {
|
|
@@ -33,31 +34,31 @@
|
|
|
33
34
|
"build": "tamagui-build",
|
|
34
35
|
"watch": "tamagui-build --watch",
|
|
35
36
|
"clean": "tamagui-build clean",
|
|
36
|
-
"clean:build": "tamagui-build clean:build"
|
|
37
|
+
"clean:build": "tamagui-build clean:build",
|
|
38
|
+
"test:web": "vitest --typecheck --run"
|
|
37
39
|
},
|
|
38
40
|
"dependencies": {
|
|
39
|
-
"@tamagui/core": "2.0.0
|
|
40
|
-
"@tamagui/element": "2.0.0
|
|
41
|
-
"@tamagui/focusable": "2.0.0
|
|
42
|
-
"@tamagui/
|
|
43
|
-
"@tamagui/get-
|
|
44
|
-
"@tamagui/get-
|
|
45
|
-
"@tamagui/
|
|
46
|
-
"@tamagui/helpers": "2.0.0
|
|
47
|
-
"@tamagui/
|
|
48
|
-
"@tamagui/
|
|
49
|
-
"@tamagui/
|
|
50
|
-
"@tamagui/web": "2.0.0
|
|
41
|
+
"@tamagui/core": "2.0.0",
|
|
42
|
+
"@tamagui/element": "2.0.0",
|
|
43
|
+
"@tamagui/focusable": "2.0.0",
|
|
44
|
+
"@tamagui/get-button-sized": "2.0.0",
|
|
45
|
+
"@tamagui/get-font-sized": "2.0.0",
|
|
46
|
+
"@tamagui/get-token": "2.0.0",
|
|
47
|
+
"@tamagui/helpers": "2.0.0",
|
|
48
|
+
"@tamagui/helpers-tamagui": "2.0.0",
|
|
49
|
+
"@tamagui/stacks": "2.0.0",
|
|
50
|
+
"@tamagui/text": "2.0.0",
|
|
51
|
+
"@tamagui/font-size": "2.0.0",
|
|
52
|
+
"@tamagui/web": "2.0.0"
|
|
51
53
|
},
|
|
52
54
|
"devDependencies": {
|
|
53
|
-
"@tamagui/build": "2.0.0
|
|
55
|
+
"@tamagui/build": "2.0.0",
|
|
54
56
|
"react": ">=19",
|
|
55
|
-
"react-native": "0.
|
|
57
|
+
"react-native": "0.83.2",
|
|
56
58
|
"vitest": "4.0.4"
|
|
57
59
|
},
|
|
58
60
|
"peerDependencies": {
|
|
59
|
-
"react": ">=19"
|
|
60
|
-
"react-native": "*"
|
|
61
|
+
"react": ">=19"
|
|
61
62
|
},
|
|
62
63
|
"module:jsx": "dist/jsx"
|
|
63
64
|
}
|
package/src/Input.native.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import { styled } from '@tamagui/core'
|
|
|
4
4
|
import { registerFocusable } from '@tamagui/focusable'
|
|
5
5
|
import { useNativeInputRef } from '@tamagui/element'
|
|
6
6
|
import { styledBody } from './shared'
|
|
7
|
-
import type {
|
|
7
|
+
import type { InputExtraProps } from './types'
|
|
8
8
|
|
|
9
9
|
const StyledInput = styled(TextInput, styledBody[0], styledBody[1])
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ const StyledInput = styled(TextInput, styledBody[0], styledBody[1])
|
|
|
12
12
|
* A web-aligned input component for React Native.
|
|
13
13
|
* @see — Docs https://tamagui.dev/ui/inputs#input
|
|
14
14
|
*/
|
|
15
|
-
export const Input = StyledInput.styleable<
|
|
15
|
+
export const Input = StyledInput.styleable<InputExtraProps>((props, forwardedRef) => {
|
|
16
16
|
const {
|
|
17
17
|
// Web props we need to convert
|
|
18
18
|
type,
|
package/src/Input.tsx
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { View, styled, useTheme } from '@tamagui/core'
|
|
1
|
+
import { type GetProps, View, styled, useTheme } from '@tamagui/core'
|
|
2
2
|
import { registerFocusable } from '@tamagui/focusable'
|
|
3
3
|
import { useWebRef } from '@tamagui/element'
|
|
4
4
|
import React from 'react'
|
|
5
5
|
import { styledBody } from './shared'
|
|
6
|
-
import type {
|
|
6
|
+
import type { InputExtraProps } from './types'
|
|
7
7
|
|
|
8
8
|
const StyledInput = styled(View, styledBody[0], styledBody[1])
|
|
9
9
|
|
|
@@ -11,7 +11,7 @@ const StyledInput = styled(View, styledBody[0], styledBody[1])
|
|
|
11
11
|
* A web-aligned input component.
|
|
12
12
|
* @see — Docs https://tamagui.dev/ui/inputs#input
|
|
13
13
|
*/
|
|
14
|
-
export const Input = StyledInput.styleable<
|
|
14
|
+
export const Input = StyledInput.styleable<InputExtraProps>((props, _forwardedRef) => {
|
|
15
15
|
const {
|
|
16
16
|
disabled,
|
|
17
17
|
id,
|
|
@@ -158,14 +158,16 @@ export const Input = StyledInput.styleable<InputProps>((props, _forwardedRef) =>
|
|
|
158
158
|
style: {
|
|
159
159
|
...(rest.style as any),
|
|
160
160
|
...(placeholderTextColor && {
|
|
161
|
-
'--
|
|
161
|
+
'--t_placeholderColor':
|
|
162
162
|
theme[placeholderTextColor]?.variable || placeholderTextColor,
|
|
163
163
|
}),
|
|
164
164
|
...(selectionColor && {
|
|
165
|
-
'--
|
|
165
|
+
'--t_selectionColor': theme[selectionColor]?.variable || selectionColor,
|
|
166
166
|
}),
|
|
167
167
|
},
|
|
168
168
|
} as any
|
|
169
169
|
|
|
170
170
|
return <StyledInput ref={composedRef} {...finalProps} />
|
|
171
171
|
})
|
|
172
|
+
|
|
173
|
+
export type InputProps = GetProps<typeof Input>
|
package/src/TextArea.tsx
CHANGED
|
@@ -1,9 +1,7 @@
|
|
|
1
|
-
import { styled } from '@tamagui/web'
|
|
1
|
+
import { type GetProps, styled } from '@tamagui/web'
|
|
2
2
|
import { Input } from './Input'
|
|
3
3
|
import { defaultStyles, textAreaSizeVariant } from './shared'
|
|
4
4
|
|
|
5
|
-
export type { InputProps as TextAreaProps } from './types'
|
|
6
|
-
|
|
7
5
|
/**
|
|
8
6
|
* A web-aligned textarea component (multi-line input).
|
|
9
7
|
* @see — Docs https://tamagui.dev/ui/inputs#textarea
|
|
@@ -34,3 +32,5 @@ export const TextArea = styled(Input, {
|
|
|
34
32
|
unstyled: process.env.TAMAGUI_HEADLESS === '1',
|
|
35
33
|
},
|
|
36
34
|
})
|
|
35
|
+
|
|
36
|
+
export type TextAreaProps = GetProps<typeof TextArea>
|
package/src/index.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export * from './Input'
|
|
2
2
|
export * from './TextArea'
|
|
3
3
|
export { inputSizeVariant, textAreaSizeVariant } from './shared'
|
|
4
|
-
export type {
|
|
4
|
+
export type { InputExtraProps, InputRef, InputTextContentType } from './types'
|
|
5
5
|
export type {
|
|
6
6
|
InputNativeProps,
|
|
7
7
|
InputIOSProps,
|