tamagui 1.35.5 → 1.35.7
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/views/Input.js +2 -1
- package/dist/cjs/views/Input.js.map +1 -1
- package/dist/cjs/views/TextArea.js +2 -3
- package/dist/cjs/views/TextArea.js.map +1 -1
- package/dist/esm/views/Input.js +2 -1
- package/dist/esm/views/Input.js.map +1 -1
- package/dist/esm/views/TextArea.js +2 -3
- package/dist/esm/views/TextArea.js.map +1 -1
- package/dist/jsx/views/Input.js +2 -1
- package/dist/jsx/views/Input.js.map +1 -1
- package/dist/jsx/views/Input.mjs +2 -1
- package/dist/jsx/views/Input.mjs.map +1 -1
- package/dist/jsx/views/TextArea.js +2 -3
- package/dist/jsx/views/TextArea.js.map +1 -1
- package/dist/jsx/views/TextArea.mjs +2 -3
- package/dist/jsx/views/TextArea.mjs.map +1 -1
- package/package.json +51 -51
- package/src/views/Input.tsx +5 -5
- package/src/views/TextArea.tsx +3 -3
- package/types/views/Input.d.ts +4 -1
- package/types/views/Input.d.ts.map +1 -1
- package/types/views/TextArea.d.ts +3 -2
- package/types/views/TextArea.d.ts.map +1 -1
package/dist/cjs/views/Input.js
CHANGED
|
@@ -85,7 +85,8 @@ function useInputProps(props, ref) {
|
|
|
85
85
|
ref,
|
|
86
86
|
isInput: true
|
|
87
87
|
});
|
|
88
|
-
const
|
|
88
|
+
const placeholderColorProp = props.placeholderTextColor;
|
|
89
|
+
const placeholderTextColor = ((_a = theme[placeholderColorProp]) == null ? void 0 : _a.get()) ?? placeholderColorProp ?? ((_b = theme.placeholderColor) == null ? void 0 : _b.get());
|
|
89
90
|
return {
|
|
90
91
|
ref: combinedRef,
|
|
91
92
|
...props,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/Input.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;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,mBAAoC,UACpC,0BACA,WAAM,qBAAN,mBAAwB;AAE1B,SAAO;AAAA,IACL,KAAK;AAAA,IACL,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACF;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -33,8 +33,7 @@ const TextAreaFrame = (0, import_core.styled)(import_Input.InputFrame, {
|
|
|
33
33
|
unstyled: {
|
|
34
34
|
false: {
|
|
35
35
|
...import_Input.defaultStyles,
|
|
36
|
-
height: "auto"
|
|
37
|
-
numberOfLines: 4
|
|
36
|
+
height: "auto"
|
|
38
37
|
}
|
|
39
38
|
},
|
|
40
39
|
size: {
|
|
@@ -47,7 +46,7 @@ const TextAreaFrame = (0, import_core.styled)(import_Input.InputFrame, {
|
|
|
47
46
|
});
|
|
48
47
|
const TextArea = TextAreaFrame.styleable((propsIn, ref) => {
|
|
49
48
|
const props = (0, import_Input.useInputProps)(propsIn, ref);
|
|
50
|
-
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TextAreaFrame, { ...props });
|
|
49
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TextAreaFrame, { rows: propsIn.unstyled ? void 0 : 4, ...props });
|
|
51
50
|
});
|
|
52
51
|
// Annotate the CommonJS export names for ESM import in node:
|
|
53
52
|
0 && (module.exports = {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/TextArea.tsx"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoCS;AApCT,kBAAuB;AAEvB,0BAAoC;AACpC,mBAAqE;AAM9D,MAAM,oBAAgB,oBAAO,yBAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EAEX,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,GAAG;AAAA,QACH,QAAQ;AAAA,
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAoCS;AApCT,kBAAuB;AAEvB,0BAAoC;AACpC,mBAAqE;AAM9D,MAAM,oBAAgB,oBAAO,yBAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EAEX,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,GAAG;AAAA,QACH,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,UAAU;AAAA,EACZ;AACF,CAAC;AAIM,MAAM,WAAW,cAAc,UAAsB,CAAC,SAAS,QAAQ;AAC5E,QAAM,YAAQ,4BAAc,SAAS,GAAG;AAExC,SAAO,4CAAC,iBAAc,MAAM,QAAQ,WAAW,SAAY,GAAI,GAAG,OAAO;AAC3E,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/esm/views/Input.js
CHANGED
|
@@ -63,7 +63,8 @@ function useInputProps(props, ref) {
|
|
|
63
63
|
ref,
|
|
64
64
|
isInput: true
|
|
65
65
|
});
|
|
66
|
-
const
|
|
66
|
+
const placeholderColorProp = props.placeholderTextColor;
|
|
67
|
+
const placeholderTextColor = ((_a = theme[placeholderColorProp]) == null ? void 0 : _a.get()) ?? placeholderColorProp ?? ((_b = theme.placeholderColor) == null ? void 0 : _b.get());
|
|
67
68
|
return {
|
|
68
69
|
ref: combinedRef,
|
|
69
70
|
...props,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/Input.tsx"],
|
|
4
|
-
"mappings": "
|
|
4
|
+
"mappings": "AAwES;AAxET;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAE1B,SAAS,wBAAwB;AAEjC,iB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
|
9
9
|
unstyled: {
|
|
10
10
|
false: {
|
|
11
11
|
...defaultStyles,
|
|
12
|
-
height: "auto"
|
|
13
|
-
numberOfLines: 4
|
|
12
|
+
height: "auto"
|
|
14
13
|
}
|
|
15
14
|
},
|
|
16
15
|
size: {
|
|
@@ -23,7 +22,7 @@ const TextAreaFrame = styled(InputFrame, {
|
|
|
23
22
|
});
|
|
24
23
|
const TextArea = TextAreaFrame.styleable((propsIn, ref) => {
|
|
25
24
|
const props = useInputProps(propsIn, ref);
|
|
26
|
-
return /* @__PURE__ */ jsx(TextAreaFrame, { ...props });
|
|
25
|
+
return /* @__PURE__ */ jsx(TextAreaFrame, { rows: propsIn.unstyled ? void 0 : 4, ...props });
|
|
27
26
|
});
|
|
28
27
|
export {
|
|
29
28
|
TextArea,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/TextArea.tsx"],
|
|
4
|
-
"mappings": "AAoCS;AApCT,SAAS,cAAc;AAEvB,SAAS,2BAA2B;AACpC,SAAS,YAAwB,eAAe,qBAAqB;AAM9D,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EAEX,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,GAAG;AAAA,QACH,QAAQ;AAAA,
|
|
4
|
+
"mappings": "AAoCS;AApCT,SAAS,cAAc;AAEvB,SAAS,2BAA2B;AACpC,SAAS,YAAwB,eAAe,qBAAqB;AAM9D,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EAEX,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,GAAG;AAAA,QACH,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,UAAU;AAAA,EACZ;AACF,CAAC;AAIM,MAAM,WAAW,cAAc,UAAsB,CAAC,SAAS,QAAQ;AAC5E,QAAM,QAAQ,cAAc,SAAS,GAAG;AAExC,SAAO,oBAAC,iBAAc,MAAM,QAAQ,WAAW,SAAY,GAAI,GAAG,OAAO;AAC3E,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/jsx/views/Input.js
CHANGED
|
@@ -61,7 +61,8 @@ function useInputProps(props, ref) {
|
|
|
61
61
|
ref,
|
|
62
62
|
isInput: true
|
|
63
63
|
});
|
|
64
|
-
const
|
|
64
|
+
const placeholderColorProp = props.placeholderTextColor;
|
|
65
|
+
const placeholderTextColor = theme[placeholderColorProp]?.get() ?? placeholderColorProp ?? theme.placeholderColor?.get();
|
|
65
66
|
return {
|
|
66
67
|
ref: combinedRef,
|
|
67
68
|
...props,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/Input.tsx"],
|
|
4
|
-
"mappings": "AAAA;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAE1B,SAAS,wBAAwB;AAEjC,iBAAiB;AAAA,EACf;AACF,CAAC;AAEM,MAAM,gBAAgB;AAAA,EAC3B,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,WAAW;AAAA,EACX,aAAa;AAAA,EACb,iBAAiB;AAAA;AAAA,EAGjB,UAAU;AAAA,EAEV,YAAY;AAAA,IACV,aAAa;AAAA,EACf;AAAA,EAEA,YAAY;AAAA,IACV,cAAc;AAAA,IACd,cAAc;AAAA,IACd,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AACF;AAEO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,IAEN,UAAU;AAAA,MACR,UAAU;A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AAAA,IACA,SAAS;AAAA,EACX,CAAC;AAED,QAAM,uBAAuB,MAAM;AACnC,QAAM,uBACJ,MAAM,oBAA2B,GAAG,IAAI,KACxC,wBACA,MAAM,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,KAAK;AAAA,IACL,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACF;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/dist/jsx/views/Input.mjs
CHANGED
|
@@ -61,7 +61,8 @@ function useInputProps(props, ref) {
|
|
|
61
61
|
ref,
|
|
62
62
|
isInput: true
|
|
63
63
|
});
|
|
64
|
-
const
|
|
64
|
+
const placeholderColorProp = props.placeholderTextColor;
|
|
65
|
+
const placeholderTextColor = theme[placeholderColorProp]?.get() ?? placeholderColorProp ?? theme.placeholderColor?.get();
|
|
65
66
|
return {
|
|
66
67
|
ref: combinedRef,
|
|
67
68
|
...props,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/Input.tsx"],
|
|
4
|
-
"mappings": "AAAA;AAAA,EAGE;AAAA,EACA;AAAA,EACA;AAAA,OACK;AACP,SAAS,oBAAoB;AAC7B,SAAS,iBAAiB;AAE1B,SAAS,wBAAwB;AAEjC,iBAAiB;AAAA,EACf;AACF,CAAC;AAEM,MAAM,gBAAgB;AAAA,EAC3B,MAAM;AAAA,EACN,YAAY;AAAA,EACZ,aAAa;AAAA,EACb,cAAc;AAAA,EACd,OAAO;AAAA,EACP,WAAW;AAAA,EACX,aAAa;AAAA,EACb,iBAAiB;AAAA;AAAA,EAGjB,UAAU;AAAA,EAEV,YAAY;AAAA,IACV,aAAa;AAAA,EACf;AAAA,EAEA,YAAY;AAAA,IACV,cAAc;AAAA,IACd,cAAc;AAAA,IACd,cAAc;AAAA,IACd,aAAa;AAAA,EACf;AACF;AAEO,MAAM,aAAa;AAAA,EACxB;AAAA,EACA;AAAA,IACE,MAAM;AAAA,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,aAAa;AAAA,IACtD;AAAA,IACA;AAAA,IACA,SAAS;AAAA,EACX,CAAC;AAED,QAAM,uBAAuB,MAAM;AACnC,QAAM,uBACJ,MAAM,oBAA2B,GAAG,IAAI,KACxC,wBACA,MAAM,kBAAkB,IAAI;AAE9B,SAAO;AAAA,IACL,KAAK;AAAA,IACL,GAAG;AAAA,IACH;AAAA,IACA;AAAA,EACF;AACF;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -8,8 +8,7 @@ const TextAreaFrame = styled(InputFrame, {
|
|
|
8
8
|
unstyled: {
|
|
9
9
|
false: {
|
|
10
10
|
...defaultStyles,
|
|
11
|
-
height: "auto"
|
|
12
|
-
numberOfLines: 4
|
|
11
|
+
height: "auto"
|
|
13
12
|
}
|
|
14
13
|
},
|
|
15
14
|
size: {
|
|
@@ -22,7 +21,7 @@ const TextAreaFrame = styled(InputFrame, {
|
|
|
22
21
|
});
|
|
23
22
|
const TextArea = TextAreaFrame.styleable((propsIn, ref) => {
|
|
24
23
|
const props = useInputProps(propsIn, ref);
|
|
25
|
-
return <TextAreaFrame {...props} />;
|
|
24
|
+
return <TextAreaFrame rows={propsIn.unstyled ? void 0 : 4} {...props} />;
|
|
26
25
|
});
|
|
27
26
|
export {
|
|
28
27
|
TextArea,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/TextArea.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,cAAc;AAEvB,SAAS,2BAA2B;AACpC,SAAS,YAAwB,eAAe,qBAAqB;AAM9D,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EAEX,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,GAAG;AAAA,QACH,QAAQ;AAAA,
|
|
4
|
+
"mappings": "AAAA,SAAS,cAAc;AAEvB,SAAS,2BAA2B;AACpC,SAAS,YAAwB,eAAe,qBAAqB;AAM9D,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EAEX,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,GAAG;AAAA,QACH,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,UAAU;AAAA,EACZ;AACF,CAAC;AAIM,MAAM,WAAW,cAAc,UAAsB,CAAC,SAAS,QAAQ;AAC5E,QAAM,QAAQ,cAAc,SAAS,GAAG;AAExC,SAAO,CAAC,cAAc,MAAM,QAAQ,WAAW,SAAY,OAAO,OAAO;AAC3E,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
|
@@ -8,8 +8,7 @@ const TextAreaFrame = styled(InputFrame, {
|
|
|
8
8
|
unstyled: {
|
|
9
9
|
false: {
|
|
10
10
|
...defaultStyles,
|
|
11
|
-
height: "auto"
|
|
12
|
-
numberOfLines: 4
|
|
11
|
+
height: "auto"
|
|
13
12
|
}
|
|
14
13
|
},
|
|
15
14
|
size: {
|
|
@@ -22,7 +21,7 @@ const TextAreaFrame = styled(InputFrame, {
|
|
|
22
21
|
});
|
|
23
22
|
const TextArea = TextAreaFrame.styleable((propsIn, ref) => {
|
|
24
23
|
const props = useInputProps(propsIn, ref);
|
|
25
|
-
return <TextAreaFrame {...props} />;
|
|
24
|
+
return <TextAreaFrame rows={propsIn.unstyled ? void 0 : 4} {...props} />;
|
|
26
25
|
});
|
|
27
26
|
export {
|
|
28
27
|
TextArea,
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"version": 3,
|
|
3
3
|
"sources": ["../../../src/views/TextArea.tsx"],
|
|
4
|
-
"mappings": "AAAA,SAAS,cAAc;AAEvB,SAAS,2BAA2B;AACpC,SAAS,YAAwB,eAAe,qBAAqB;AAM9D,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EAEX,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,GAAG;AAAA,QACH,QAAQ;AAAA,
|
|
4
|
+
"mappings": "AAAA,SAAS,cAAc;AAEvB,SAAS,2BAA2B;AACpC,SAAS,YAAwB,eAAe,qBAAqB;AAM9D,MAAM,gBAAgB,OAAO,YAAY;AAAA,EAC9C,MAAM;AAAA,EACN,WAAW;AAAA,EAEX,UAAU;AAAA,IACR,UAAU;AAAA,MACR,OAAO;AAAA,QACL,GAAG;AAAA,QACH,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,IAEA,MAAM;AAAA,MACJ,WAAW;AAAA,IACb;AAAA,EACF;AAAA,EAEA,iBAAiB;AAAA,IACf,UAAU;AAAA,EACZ;AACF,CAAC;AAIM,MAAM,WAAW,cAAc,UAAsB,CAAC,SAAS,QAAQ;AAC5E,QAAM,QAAQ,cAAc,SAAS,GAAG;AAExC,SAAO,CAAC,cAAc,MAAM,QAAQ,WAAW,SAAY,OAAO,OAAO;AAC3E,CAAC;",
|
|
5
5
|
"names": []
|
|
6
6
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tamagui",
|
|
3
|
-
"version": "1.35.
|
|
3
|
+
"version": "1.35.7",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css",
|
|
6
6
|
"setup.js"
|
|
@@ -40,55 +40,55 @@
|
|
|
40
40
|
}
|
|
41
41
|
},
|
|
42
42
|
"dependencies": {
|
|
43
|
-
"@tamagui/adapt": "1.35.
|
|
44
|
-
"@tamagui/alert-dialog": "1.35.
|
|
45
|
-
"@tamagui/animate-presence": "1.35.
|
|
46
|
-
"@tamagui/avatar": "1.35.
|
|
47
|
-
"@tamagui/button": "1.35.
|
|
48
|
-
"@tamagui/card": "1.35.
|
|
49
|
-
"@tamagui/checkbox": "1.35.
|
|
50
|
-
"@tamagui/compose-refs": "1.35.
|
|
51
|
-
"@tamagui/core": "1.35.
|
|
52
|
-
"@tamagui/create-context": "1.35.
|
|
53
|
-
"@tamagui/dialog": "1.35.
|
|
54
|
-
"@tamagui/fake-react-native": "1.35.
|
|
55
|
-
"@tamagui/focusable": "1.35.
|
|
56
|
-
"@tamagui/font-size": "1.35.
|
|
57
|
-
"@tamagui/form": "1.35.
|
|
58
|
-
"@tamagui/get-button-sized": "1.35.
|
|
59
|
-
"@tamagui/get-font-sized": "1.35.
|
|
60
|
-
"@tamagui/get-token": "1.35.
|
|
61
|
-
"@tamagui/helpers": "1.35.
|
|
62
|
-
"@tamagui/helpers-tamagui": "1.35.
|
|
63
|
-
"@tamagui/image": "1.35.
|
|
64
|
-
"@tamagui/label": "1.35.
|
|
65
|
-
"@tamagui/linear-gradient": "1.35.
|
|
66
|
-
"@tamagui/list-item": "1.35.
|
|
67
|
-
"@tamagui/popover": "1.35.
|
|
68
|
-
"@tamagui/popper": "1.35.
|
|
69
|
-
"@tamagui/portal": "1.35.
|
|
70
|
-
"@tamagui/progress": "1.35.
|
|
71
|
-
"@tamagui/radio-group": "1.35.
|
|
72
|
-
"@tamagui/react-native-media-driver": "1.35.
|
|
73
|
-
"@tamagui/scroll-view": "1.35.
|
|
74
|
-
"@tamagui/select": "1.35.
|
|
75
|
-
"@tamagui/separator": "1.35.
|
|
76
|
-
"@tamagui/shapes": "1.35.
|
|
77
|
-
"@tamagui/sheet": "1.35.
|
|
78
|
-
"@tamagui/slider": "1.35.
|
|
79
|
-
"@tamagui/stacks": "1.35.
|
|
80
|
-
"@tamagui/switch": "1.35.
|
|
81
|
-
"@tamagui/tabs": "1.35.
|
|
82
|
-
"@tamagui/text": "1.35.
|
|
83
|
-
"@tamagui/theme": "1.35.
|
|
84
|
-
"@tamagui/toggle-group": "1.35.
|
|
85
|
-
"@tamagui/tooltip": "1.35.
|
|
86
|
-
"@tamagui/use-controllable-state": "1.35.
|
|
87
|
-
"@tamagui/use-debounce": "1.35.
|
|
88
|
-
"@tamagui/use-event": "1.35.
|
|
89
|
-
"@tamagui/use-force-update": "1.35.
|
|
90
|
-
"@tamagui/use-window-dimensions": "1.35.
|
|
91
|
-
"@tamagui/visually-hidden": "1.35.
|
|
43
|
+
"@tamagui/adapt": "1.35.7",
|
|
44
|
+
"@tamagui/alert-dialog": "1.35.7",
|
|
45
|
+
"@tamagui/animate-presence": "1.35.7",
|
|
46
|
+
"@tamagui/avatar": "1.35.7",
|
|
47
|
+
"@tamagui/button": "1.35.7",
|
|
48
|
+
"@tamagui/card": "1.35.7",
|
|
49
|
+
"@tamagui/checkbox": "1.35.7",
|
|
50
|
+
"@tamagui/compose-refs": "1.35.7",
|
|
51
|
+
"@tamagui/core": "1.35.7",
|
|
52
|
+
"@tamagui/create-context": "1.35.7",
|
|
53
|
+
"@tamagui/dialog": "1.35.7",
|
|
54
|
+
"@tamagui/fake-react-native": "1.35.7",
|
|
55
|
+
"@tamagui/focusable": "1.35.7",
|
|
56
|
+
"@tamagui/font-size": "1.35.7",
|
|
57
|
+
"@tamagui/form": "1.35.7",
|
|
58
|
+
"@tamagui/get-button-sized": "1.35.7",
|
|
59
|
+
"@tamagui/get-font-sized": "1.35.7",
|
|
60
|
+
"@tamagui/get-token": "1.35.7",
|
|
61
|
+
"@tamagui/helpers": "1.35.7",
|
|
62
|
+
"@tamagui/helpers-tamagui": "1.35.7",
|
|
63
|
+
"@tamagui/image": "1.35.7",
|
|
64
|
+
"@tamagui/label": "1.35.7",
|
|
65
|
+
"@tamagui/linear-gradient": "1.35.7",
|
|
66
|
+
"@tamagui/list-item": "1.35.7",
|
|
67
|
+
"@tamagui/popover": "1.35.7",
|
|
68
|
+
"@tamagui/popper": "1.35.7",
|
|
69
|
+
"@tamagui/portal": "1.35.7",
|
|
70
|
+
"@tamagui/progress": "1.35.7",
|
|
71
|
+
"@tamagui/radio-group": "1.35.7",
|
|
72
|
+
"@tamagui/react-native-media-driver": "1.35.7",
|
|
73
|
+
"@tamagui/scroll-view": "1.35.7",
|
|
74
|
+
"@tamagui/select": "1.35.7",
|
|
75
|
+
"@tamagui/separator": "1.35.7",
|
|
76
|
+
"@tamagui/shapes": "1.35.7",
|
|
77
|
+
"@tamagui/sheet": "1.35.7",
|
|
78
|
+
"@tamagui/slider": "1.35.7",
|
|
79
|
+
"@tamagui/stacks": "1.35.7",
|
|
80
|
+
"@tamagui/switch": "1.35.7",
|
|
81
|
+
"@tamagui/tabs": "1.35.7",
|
|
82
|
+
"@tamagui/text": "1.35.7",
|
|
83
|
+
"@tamagui/theme": "1.35.7",
|
|
84
|
+
"@tamagui/toggle-group": "1.35.7",
|
|
85
|
+
"@tamagui/tooltip": "1.35.7",
|
|
86
|
+
"@tamagui/use-controllable-state": "1.35.7",
|
|
87
|
+
"@tamagui/use-debounce": "1.35.7",
|
|
88
|
+
"@tamagui/use-event": "1.35.7",
|
|
89
|
+
"@tamagui/use-force-update": "1.35.7",
|
|
90
|
+
"@tamagui/use-window-dimensions": "1.35.7",
|
|
91
|
+
"@tamagui/visually-hidden": "1.35.7",
|
|
92
92
|
"reforest": "^0.12.1"
|
|
93
93
|
},
|
|
94
94
|
"peerDependencies": {
|
|
@@ -96,7 +96,7 @@
|
|
|
96
96
|
"react-native-web": "*"
|
|
97
97
|
},
|
|
98
98
|
"devDependencies": {
|
|
99
|
-
"@tamagui/build": "1.35.
|
|
99
|
+
"@tamagui/build": "1.35.7",
|
|
100
100
|
"react": "^18.2.0",
|
|
101
101
|
"react-native-web": "^0.19.4"
|
|
102
102
|
},
|
package/src/views/Input.tsx
CHANGED
|
@@ -65,6 +65,7 @@ export const InputFrame = styled(
|
|
|
65
65
|
|
|
66
66
|
export type InputProps = Omit<GetProps<typeof InputFrame>, 'placeholderTextColor'> & {
|
|
67
67
|
placeholderTextColor?: ColorStyleProp
|
|
68
|
+
rows?: number
|
|
68
69
|
}
|
|
69
70
|
|
|
70
71
|
export const Input = InputFrame.styleable<InputProps>((propsIn, ref) => {
|
|
@@ -80,12 +81,11 @@ export function useInputProps(props: InputProps, ref: any) {
|
|
|
80
81
|
isInput: true,
|
|
81
82
|
})
|
|
82
83
|
|
|
84
|
+
const placeholderColorProp = props.placeholderTextColor
|
|
83
85
|
const placeholderTextColor =
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
props.placeholderTextColor ||
|
|
88
|
-
(props.unstyled ? null : theme['$placeholderColor']?.get())
|
|
86
|
+
theme[placeholderColorProp as any]?.get() ??
|
|
87
|
+
placeholderColorProp ??
|
|
88
|
+
theme.placeholderColor?.get()
|
|
89
89
|
|
|
90
90
|
return {
|
|
91
91
|
ref: combinedRef,
|
package/src/views/TextArea.tsx
CHANGED
|
@@ -4,7 +4,7 @@ import { textAreaSizeVariant } from '../helpers/inputHelpers'
|
|
|
4
4
|
import { InputFrame, InputProps, defaultStyles, useInputProps } from './Input'
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
|
-
* Is basically Input but with
|
|
7
|
+
* Is basically Input but with rows = 4 to start
|
|
8
8
|
*/
|
|
9
9
|
|
|
10
10
|
export const TextAreaFrame = styled(InputFrame, {
|
|
@@ -16,7 +16,6 @@ export const TextAreaFrame = styled(InputFrame, {
|
|
|
16
16
|
false: {
|
|
17
17
|
...defaultStyles,
|
|
18
18
|
height: 'auto',
|
|
19
|
-
numberOfLines: 4,
|
|
20
19
|
},
|
|
21
20
|
},
|
|
22
21
|
|
|
@@ -34,5 +33,6 @@ export type TextAreaProps = InputProps
|
|
|
34
33
|
|
|
35
34
|
export const TextArea = TextAreaFrame.styleable<InputProps>((propsIn, ref) => {
|
|
36
35
|
const props = useInputProps(propsIn, ref)
|
|
37
|
-
|
|
36
|
+
// defaults to 4 rows
|
|
37
|
+
return <TextAreaFrame rows={propsIn.unstyled ? undefined : 4} {...props} />
|
|
38
38
|
})
|
package/types/views/Input.d.ts
CHANGED
|
@@ -40,6 +40,7 @@ export declare const InputFrame: import("@tamagui/core").TamaguiComponent<import
|
|
|
40
40
|
}>;
|
|
41
41
|
export type InputProps = Omit<GetProps<typeof InputFrame>, 'placeholderTextColor'> & {
|
|
42
42
|
placeholderTextColor?: ColorStyleProp;
|
|
43
|
+
rows?: number;
|
|
43
44
|
};
|
|
44
45
|
export declare const Input: import("@tamagui/core").ReactComponentWithRef<Omit<import("react-native").TextInputProps & Omit<import("@tamagui/core").TextProps, keyof import("react-native").TextInputProps> & Omit<{}, "size" | "unstyled"> & {
|
|
45
46
|
readonly unstyled?: boolean | undefined;
|
|
@@ -52,6 +53,7 @@ export declare const Input: import("@tamagui/core").ReactComponentWithRef<Omit<i
|
|
|
52
53
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
53
54
|
}>>, "placeholderTextColor"> & {
|
|
54
55
|
placeholderTextColor?: ColorStyleProp | undefined;
|
|
56
|
+
rows?: number | undefined;
|
|
55
57
|
} & Omit<import("react-native").TextInputProps & Omit<import("@tamagui/core").TextProps, keyof import("react-native").TextInputProps> & Omit<{}, "size" | "unstyled"> & {
|
|
56
58
|
readonly unstyled?: boolean | undefined;
|
|
57
59
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
@@ -61,7 +63,7 @@ export declare const Input: import("@tamagui/core").ReactComponentWithRef<Omit<i
|
|
|
61
63
|
}>> & import("@tamagui/core").PseudoProps<Partial<import("react-native").TextInputProps & Omit<import("@tamagui/core").TextProps, keyof import("react-native").TextInputProps> & Omit<{}, "size" | "unstyled"> & {
|
|
62
64
|
readonly unstyled?: boolean | undefined;
|
|
63
65
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
64
|
-
}>>, "color" | "borderColor" | "shadowColor" | "size" | "space" | "zIndex" | "children" | "className" | "style" | "ellipse" | "separator" | "left" | "right" | "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "textAlign" | "fontSize" | "lineHeight" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "allowFontScaling" | "ellipsizeMode" | "id" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "minimumFontScale" | "suppressHighlighting" | "disabled" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "display" | "gap" | "columnGap" | "rowGap" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "textDecorationLine" | "textDecorationStyle" | "textDecorationColor" | "textShadowColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "fontVariant" | "writingDirection" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderEndColor" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "opacity" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "bottom" | "end" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "textAlignVertical" | "verticalAlign" | "includeFontPadding" | "unstyled" | `$${string}` | `$${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "spaceDirection" | "animation" | "animateOnly" | "userSelect" | "textDecorationDistance" | "textOverflow" | "whiteSpace" | "wordWrap" | "theme" | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "keyboardType" | "inputMode" | "maxLength" | "multiline" | "onBlur" | "onChange" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onSelectionChange" | "onSubmitEditing" | "onTextInput" | "onKeyPress" | "placeholder" | "placeholderTextColor" | "returnKeyType" | "secureTextEntry" | "selectTextOnFocus" | "selection" | "inputAccessoryViewID" | "value" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "spellCheck" | "textContentType" | "scrollEnabled" | "autoComplete" | "cursorColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus">, import("@tamagui/core").TamaguiElement> & {
|
|
66
|
+
}>>, "color" | "borderColor" | "shadowColor" | "size" | "space" | "zIndex" | "children" | "className" | "style" | "ellipse" | "separator" | "left" | "right" | "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "textAlign" | "fontSize" | "lineHeight" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "allowFontScaling" | "ellipsizeMode" | "id" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "minimumFontScale" | "suppressHighlighting" | "disabled" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "display" | "gap" | "columnGap" | "rowGap" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "textDecorationLine" | "textDecorationStyle" | "textDecorationColor" | "textShadowColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "fontVariant" | "writingDirection" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderEndColor" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "opacity" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "bottom" | "end" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "textAlignVertical" | "verticalAlign" | "includeFontPadding" | "unstyled" | `$${string}` | `$${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "spaceDirection" | "animation" | "animateOnly" | "userSelect" | "textDecorationDistance" | "textOverflow" | "whiteSpace" | "wordWrap" | "theme" | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "keyboardType" | "inputMode" | "maxLength" | "multiline" | "onBlur" | "onChange" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onSelectionChange" | "onSubmitEditing" | "onTextInput" | "onKeyPress" | "placeholder" | "placeholderTextColor" | "returnKeyType" | "secureTextEntry" | "selectTextOnFocus" | "selection" | "inputAccessoryViewID" | "value" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "spellCheck" | "textContentType" | "scrollEnabled" | "autoComplete" | "cursorColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus" | "rows">, import("@tamagui/core").TamaguiElement> & {
|
|
65
67
|
staticConfig: import("@tamagui/core").StaticConfigParsed;
|
|
66
68
|
styleable: import("@tamagui/core").Styleable<import("react-native").TextInputProps & Omit<import("@tamagui/core").TextProps, keyof import("react-native").TextInputProps> & Omit<{}, "size" | "unstyled"> & {
|
|
67
69
|
readonly unstyled?: boolean | undefined;
|
|
@@ -419,6 +421,7 @@ export declare function useInputProps(props: InputProps, ref: any): {
|
|
|
419
421
|
returnKeyLabel?: string | undefined;
|
|
420
422
|
underlineColorAndroid?: import("react-native").ColorValue | undefined;
|
|
421
423
|
showSoftInputOnFocus?: boolean | undefined;
|
|
424
|
+
rows?: number | undefined;
|
|
422
425
|
ref: (node: any) => void;
|
|
423
426
|
};
|
|
424
427
|
//# sourceMappingURL=Input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Input.d.ts","sourceRoot":"","sources":["../../src/views/Input.tsx"],"names":[],"mappings":";AAAA,OAAO,EACL,cAAc,EACd,QAAQ,EAIT,MAAM,eAAe,CAAA;AAEtB,OAAO,EAAE,SAAS,EAAE,MAAM,cAAc,CAAA;AAQxC,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;CAuBhB,CAAA;AAEV,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;EAsBtB,CAAA;AAED,MAA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reference types="react" />
|
|
2
2
|
import { InputProps } from './Input';
|
|
3
3
|
/**
|
|
4
|
-
* Is basically Input but with
|
|
4
|
+
* Is basically Input but with rows = 4 to start
|
|
5
5
|
*/
|
|
6
6
|
export declare const TextAreaFrame: import("@tamagui/core").TamaguiComponent<import("react-native").TextInputProps & Omit<import("@tamagui/core").TextProps, keyof import("react-native").TextInputProps> & Omit<{
|
|
7
7
|
readonly unstyled?: boolean | undefined;
|
|
@@ -50,6 +50,7 @@ export declare const TextArea: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
50
50
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
51
51
|
}>>, "placeholderTextColor"> & {
|
|
52
52
|
placeholderTextColor?: import("@tamagui/core").ColorStyleProp | undefined;
|
|
53
|
+
rows?: number | undefined;
|
|
53
54
|
} & Omit<import("react-native").TextInputProps & Omit<import("@tamagui/core").TextProps, keyof import("react-native").TextInputProps> & Omit<{
|
|
54
55
|
readonly unstyled?: boolean | undefined;
|
|
55
56
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
@@ -68,7 +69,7 @@ export declare const TextArea: import("@tamagui/core").ReactComponentWithRef<Omi
|
|
|
68
69
|
}, "size" | "unstyled"> & {
|
|
69
70
|
readonly unstyled?: boolean | undefined;
|
|
70
71
|
readonly size?: import("@tamagui/core").SizeTokens | undefined;
|
|
71
|
-
}>>, "color" | "borderColor" | "shadowColor" | "size" | "space" | "zIndex" | "children" | "className" | "style" | "ellipse" | "separator" | "left" | "right" | "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "textAlign" | "fontSize" | "lineHeight" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "allowFontScaling" | "ellipsizeMode" | "id" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "minimumFontScale" | "suppressHighlighting" | "disabled" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "display" | "gap" | "columnGap" | "rowGap" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "textDecorationLine" | "textDecorationStyle" | "textDecorationColor" | "textShadowColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "fontVariant" | "writingDirection" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderEndColor" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "opacity" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "bottom" | "end" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "textAlignVertical" | "verticalAlign" | "includeFontPadding" | "unstyled" | `$${string}` | `$${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "spaceDirection" | "animation" | "animateOnly" | "userSelect" | "textDecorationDistance" | "textOverflow" | "whiteSpace" | "wordWrap" | "theme" | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "keyboardType" | "inputMode" | "maxLength" | "multiline" | "onBlur" | "onChange" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onSelectionChange" | "onSubmitEditing" | "onTextInput" | "onKeyPress" | "placeholder" | "placeholderTextColor" | "returnKeyType" | "secureTextEntry" | "selectTextOnFocus" | "selection" | "inputAccessoryViewID" | "value" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "spellCheck" | "textContentType" | "scrollEnabled" | "autoComplete" | "cursorColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus">, import("@tamagui/core").TamaguiElement> & {
|
|
72
|
+
}>>, "color" | "borderColor" | "shadowColor" | "size" | "space" | "zIndex" | "children" | "className" | "style" | "ellipse" | "separator" | "left" | "right" | "width" | "height" | "padding" | "paddingTop" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingHorizontal" | "paddingVertical" | "margin" | "marginTop" | "marginBottom" | "marginLeft" | "marginRight" | "marginHorizontal" | "marginVertical" | "flex" | "flexDirection" | "flexWrap" | "flexGrow" | "flexShrink" | "flexBasis" | "alignItems" | "alignContent" | "justifyContent" | "alignSelf" | "backgroundColor" | "borderRadius" | "borderTopRightRadius" | "borderBottomRightRadius" | "borderBottomLeftRadius" | "borderTopLeftRadius" | "textAlign" | "fontSize" | "lineHeight" | "onLayout" | "onStartShouldSetResponder" | "onMoveShouldSetResponder" | "onResponderEnd" | "onResponderGrant" | "onResponderReject" | "onResponderMove" | "onResponderRelease" | "onResponderStart" | "onResponderTerminationRequest" | "onResponderTerminate" | "onStartShouldSetResponderCapture" | "onMoveShouldSetResponderCapture" | "allowFontScaling" | "ellipsizeMode" | "id" | "lineBreakMode" | "numberOfLines" | "onTextLayout" | "onPress" | "onPressIn" | "onPressOut" | "onLongPress" | "testID" | "nativeID" | "maxFontSizeMultiplier" | "adjustsFontSizeToFit" | "dynamicTypeRamp" | "minimumFontScale" | "suppressHighlighting" | "disabled" | "selectable" | "selectionColor" | "textBreakStrategy" | "dataDetectorType" | "android_hyphenationFrequency" | "accessible" | "accessibilityActions" | "accessibilityLabel" | "aria-label" | "accessibilityRole" | "accessibilityState" | "aria-busy" | "aria-checked" | "aria-disabled" | "aria-expanded" | "aria-selected" | "aria-labelledby" | "accessibilityHint" | "accessibilityValue" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "onAccessibilityAction" | "importantForAccessibility" | "aria-hidden" | "aria-live" | "aria-modal" | "role" | "accessibilityLiveRegion" | "accessibilityLabelledBy" | "accessibilityElementsHidden" | "accessibilityViewIsModal" | "onAccessibilityEscape" | "onAccessibilityTap" | "onMagicTap" | "accessibilityIgnoresInvertColors" | "accessibilityLanguage" | "display" | "gap" | "columnGap" | "rowGap" | "fontFamily" | "fontStyle" | "fontWeight" | "letterSpacing" | "textDecorationLine" | "textDecorationStyle" | "textDecorationColor" | "textShadowColor" | "textShadowOffset" | "textShadowRadius" | "textTransform" | "fontVariant" | "writingDirection" | "borderBottomColor" | "borderBottomEndRadius" | "borderBottomStartRadius" | "borderBottomWidth" | "borderEndColor" | "borderLeftColor" | "borderLeftWidth" | "borderRightColor" | "borderRightWidth" | "borderStartColor" | "borderStyle" | "borderTopColor" | "borderTopEndRadius" | "borderTopStartRadius" | "borderTopWidth" | "borderWidth" | "opacity" | "aspectRatio" | "borderEndWidth" | "borderStartWidth" | "bottom" | "end" | "marginEnd" | "marginStart" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "overflow" | "paddingEnd" | "paddingStart" | "position" | "start" | "top" | "direction" | "shadowOffset" | "shadowOpacity" | "shadowRadius" | "transform" | "transformMatrix" | "rotation" | "scaleX" | "scaleY" | "translateX" | "translateY" | "textAlignVertical" | "verticalAlign" | "includeFontPadding" | "unstyled" | `$${string}` | `$${number}` | "x" | "y" | "perspective" | "scale" | "skewX" | "skewY" | "matrix" | "rotate" | "rotateY" | "rotateX" | "rotateZ" | "contain" | "cursor" | "outlineColor" | "outlineOffset" | "outlineStyle" | "outlineWidth" | "pointerEvents" | "spaceDirection" | "animation" | "animateOnly" | "userSelect" | "textDecorationDistance" | "textOverflow" | "whiteSpace" | "wordWrap" | "theme" | "hitSlop" | "removeClippedSubviews" | "collapsable" | "needsOffscreenAlphaCompositing" | "renderToHardwareTextureAndroid" | "focusable" | "shouldRasterizeIOS" | "isTVSelectable" | "hasTVPreferredFocus" | "tvParallaxProperties" | "tvParallaxShiftDistanceX" | "tvParallaxShiftDistanceY" | "tvParallaxTiltAngle" | "tvParallaxMagnification" | "onTouchStart" | "onTouchMove" | "onTouchEnd" | "onTouchCancel" | "onTouchEndCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerUp" | "onPointerUpCapture" | "target" | "asChild" | "dangerouslySetInnerHTML" | "debug" | "themeShallow" | "tag" | "componentName" | "tabIndex" | "forceStyle" | "onHoverIn" | "onHoverOut" | "onMouseEnter" | "onMouseLeave" | "onMouseDown" | "onMouseUp" | "onFocus" | "onScroll" | "hoverStyle" | "pressStyle" | "focusStyle" | "exitStyle" | "enterStyle" | "autoCapitalize" | "autoCorrect" | "autoFocus" | "blurOnSubmit" | "caretHidden" | "contextMenuHidden" | "defaultValue" | "editable" | "keyboardType" | "inputMode" | "maxLength" | "multiline" | "onBlur" | "onChange" | "onChangeText" | "onContentSizeChange" | "onEndEditing" | "onSelectionChange" | "onSubmitEditing" | "onTextInput" | "onKeyPress" | "placeholder" | "placeholderTextColor" | "returnKeyType" | "secureTextEntry" | "selectTextOnFocus" | "selection" | "inputAccessoryViewID" | "value" | "clearButtonMode" | "clearTextOnFocus" | "dataDetectorTypes" | "enablesReturnKeyAutomatically" | "keyboardAppearance" | "passwordRules" | "rejectResponderTermination" | "selectionState" | "spellCheck" | "textContentType" | "scrollEnabled" | "autoComplete" | "cursorColor" | "importantForAutofill" | "disableFullscreenUI" | "inlineImageLeft" | "inlineImagePadding" | "returnKeyLabel" | "underlineColorAndroid" | "showSoftInputOnFocus" | "rows">, import("@tamagui/core").TamaguiElement> & {
|
|
72
73
|
staticConfig: import("@tamagui/core").StaticConfigParsed;
|
|
73
74
|
styleable: import("@tamagui/core").Styleable<import("react-native").TextInputProps & Omit<import("@tamagui/core").TextProps, keyof import("react-native").TextInputProps> & Omit<{
|
|
74
75
|
readonly unstyled?: boolean | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../src/views/TextArea.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAc,UAAU,EAAgC,MAAM,SAAS,CAAA;AAE9E;;GAEG;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"TextArea.d.ts","sourceRoot":"","sources":["../../src/views/TextArea.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAc,UAAU,EAAgC,MAAM,SAAS,CAAA;AAE9E;;GAEG;AAEH,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAoBxB,CAAA;AAEF,MAAM,MAAM,aAAa,GAAG,UAAU,CAAA;AAEtC,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAInB,CAAA"}
|