@tamagui/text 3.0.4 → 3.0.6
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/types.cjs +5 -1
- package/dist/cjs/types.native.cjs +5 -1
- package/dist/cjs/types.native.js +5 -1
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/esm/types.mjs +2 -1
- package/dist/esm/types.mjs.map +1 -1
- package/dist/esm/types.native.js +2 -1
- package/dist/esm/types.native.js.map +1 -1
- package/dist/jsx/types.mjs +2 -1
- package/dist/jsx/types.mjs.map +1 -1
- package/dist/jsx/types.native.cjs +5 -1
- package/dist/jsx/types.native.js +5 -1
- package/dist/jsx/types.native.js.map +1 -1
- package/package.json +6 -6
- package/src/types.ts +4 -0
- package/types/types.d.ts +1 -0
- package/types/types.d.ts.map +1 -1
package/dist/cjs/types.cjs
CHANGED
|
@@ -19,7 +19,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
19
19
|
};
|
|
20
20
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
21
21
|
var types_exports = {};
|
|
22
|
-
__export(types_exports, {
|
|
22
|
+
__export(types_exports, {
|
|
23
|
+
textParentInlineProps: () => textParentInlineProps,
|
|
24
|
+
textParentProps: () => textParentProps
|
|
25
|
+
});
|
|
23
26
|
module.exports = __toCommonJS(types_exports);
|
|
24
27
|
var import_web = require("@tamagui/web");
|
|
25
28
|
const textParentProps = {
|
|
@@ -30,3 +33,4 @@ const textParentProps = {
|
|
|
30
33
|
numberOfLines: true,
|
|
31
34
|
textProps: true
|
|
32
35
|
};
|
|
36
|
+
const textParentInlineProps = new Set(Object.keys(textParentProps));
|
|
@@ -21,7 +21,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
21
21
|
};
|
|
22
22
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
23
|
var types_exports = {};
|
|
24
|
-
__export(types_exports, {
|
|
24
|
+
__export(types_exports, {
|
|
25
|
+
textParentInlineProps: () => textParentInlineProps,
|
|
26
|
+
textParentProps: () => textParentProps
|
|
27
|
+
});
|
|
25
28
|
module.exports = __toCommonJS(types_exports);
|
|
26
29
|
var import_web = require("@tamagui/web");
|
|
27
30
|
var textParentProps = {
|
|
@@ -32,3 +35,4 @@ var textParentProps = {
|
|
|
32
35
|
numberOfLines: true,
|
|
33
36
|
textProps: true
|
|
34
37
|
};
|
|
38
|
+
var textParentInlineProps = new Set(Object.keys(textParentProps));
|
package/dist/cjs/types.native.js
CHANGED
|
@@ -21,7 +21,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
21
21
|
};
|
|
22
22
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
23
|
var types_exports = {};
|
|
24
|
-
__export(types_exports, {
|
|
24
|
+
__export(types_exports, {
|
|
25
|
+
textParentInlineProps: () => textParentInlineProps,
|
|
26
|
+
textParentProps: () => textParentProps
|
|
27
|
+
});
|
|
25
28
|
module.exports = __toCommonJS(types_exports);
|
|
26
29
|
var import_web = require("@tamagui/web");
|
|
27
30
|
var textParentProps = {
|
|
@@ -32,5 +35,6 @@ var textParentProps = {
|
|
|
32
35
|
numberOfLines: true,
|
|
33
36
|
textProps: true
|
|
34
37
|
};
|
|
38
|
+
var textParentInlineProps = new Set(Object.keys(textParentProps));
|
|
35
39
|
|
|
36
40
|
//# sourceMappingURL=types.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.native.js","names":[],"sources":["cjs/types.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar types_exports = {};\n__export(types_exports, {\n textParentProps: () => textParentProps\n});\nmodule.exports = __toCommonJS(types_exports);\nvar import_web = require(\"@tamagui/web\");\nvar textParentProps = {\n ...import_web.stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe,
|
|
1
|
+
{"version":3,"file":"types.native.js","names":[],"sources":["cjs/types.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar types_exports = {};\n__export(types_exports, {\n textParentInlineProps: () => textParentInlineProps,\n textParentProps: () => textParentProps\n});\nmodule.exports = __toCommonJS(types_exports);\nvar import_web = require(\"@tamagui/web\");\nvar textParentProps = {\n ...import_web.stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\nvar textParentInlineProps = new Set(Object.keys(textParentProps));\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe;CACtB,6BAA6B;CAC7B,uBAAuB;AACzB,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,kBAAkB;CACpB,GAAG,WAAW;CACd,UAAU;CACV,uBAAuB;CACvB,YAAY;CACZ,eAAe;CACf,WAAW;AACb;AACA,IAAI,wBAAwB,IAAI,IAAI,OAAO,KAAK,eAAe,CAAC"}
|
package/dist/esm/types.mjs
CHANGED
|
@@ -8,6 +8,7 @@ const textParentProps = {
|
|
|
8
8
|
numberOfLines: true,
|
|
9
9
|
textProps: true
|
|
10
10
|
};
|
|
11
|
+
const textParentInlineProps = new Set(Object.keys(textParentProps));
|
|
11
12
|
|
|
12
|
-
export { textParentProps };
|
|
13
|
+
export { textParentInlineProps, textParentProps };
|
|
13
14
|
//# sourceMappingURL=types.mjs.map
|
package/dist/esm/types.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["esm/types.js"],"sourcesContent":["import {\n stylePropsTextOnly\n} from \"@tamagui/web\";\nconst textParentProps = {\n ...stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\nexport {\n textParentProps\n};\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AAGA,MAAM,kBAAkB;CACtB,GAAG;CACH,UAAU;CACV,uBAAuB;CACvB,YAAY;CACZ,eAAe;CACf,WAAW;AACb"}
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["esm/types.js"],"sourcesContent":["import {\n stylePropsTextOnly\n} from \"@tamagui/web\";\nconst textParentProps = {\n ...stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\nconst textParentInlineProps = new Set(Object.keys(textParentProps));\nexport {\n textParentInlineProps,\n textParentProps\n};\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AAGA,MAAM,kBAAkB;CACtB,GAAG;CACH,UAAU;CACV,uBAAuB;CACvB,YAAY;CACZ,eAAe;CACf,WAAW;AACb;AACA,MAAM,wBAAwB,IAAI,IAAI,OAAO,KAAK,eAAe,CAAC"}
|
package/dist/esm/types.native.js
CHANGED
|
@@ -8,6 +8,7 @@ var textParentProps = {
|
|
|
8
8
|
numberOfLines: true,
|
|
9
9
|
textProps: true
|
|
10
10
|
};
|
|
11
|
+
var textParentInlineProps = new Set(Object.keys(textParentProps));
|
|
11
12
|
|
|
12
|
-
export { textParentProps };
|
|
13
|
+
export { textParentInlineProps, textParentProps };
|
|
13
14
|
//# sourceMappingURL=types.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.native.js","names":[],"sources":["esm/types.native.js"],"sourcesContent":["import { stylePropsTextOnly } from \"@tamagui/web\";\nvar textParentProps = {\n ...stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\nexport {\n textParentProps\n};\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AACA,IAAI,kBAAkB;CACpB,GAAG;CACH,UAAU;CACV,uBAAuB;CACvB,YAAY;CACZ,eAAe;CACf,WAAW;AACb"}
|
|
1
|
+
{"version":3,"file":"types.native.js","names":[],"sources":["esm/types.native.js"],"sourcesContent":["import { stylePropsTextOnly } from \"@tamagui/web\";\nvar textParentProps = {\n ...stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\nvar textParentInlineProps = new Set(Object.keys(textParentProps));\nexport {\n textParentInlineProps,\n textParentProps\n};\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AACA,IAAI,kBAAkB;CACpB,GAAG;CACH,UAAU;CACV,uBAAuB;CACvB,YAAY;CACZ,eAAe;CACf,WAAW;AACb;AACA,IAAI,wBAAwB,IAAI,IAAI,OAAO,KAAK,eAAe,CAAC"}
|
package/dist/jsx/types.mjs
CHANGED
|
@@ -8,6 +8,7 @@ const textParentProps = {
|
|
|
8
8
|
numberOfLines: true,
|
|
9
9
|
textProps: true
|
|
10
10
|
};
|
|
11
|
+
const textParentInlineProps = new Set(Object.keys(textParentProps));
|
|
11
12
|
|
|
12
|
-
export { textParentProps };
|
|
13
|
+
export { textParentInlineProps, textParentProps };
|
|
13
14
|
//# sourceMappingURL=types.mjs.map
|
package/dist/jsx/types.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":[],"sources":["jsx/types.js"],"sourcesContent":["import {\n stylePropsTextOnly\n} from \"@tamagui/web\";\nconst textParentProps = {\n ...stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\nexport {\n textParentProps\n};\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AAGA,MAAM,kBAAkB;CACtB,GAAG;CACH,UAAU;CACV,uBAAuB;CACvB,YAAY;CACZ,eAAe;CACf,WAAW;AACb"}
|
|
1
|
+
{"version":3,"file":"types.js","names":[],"sources":["jsx/types.js"],"sourcesContent":["import {\n stylePropsTextOnly\n} from \"@tamagui/web\";\nconst textParentProps = {\n ...stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\nconst textParentInlineProps = new Set(Object.keys(textParentProps));\nexport {\n textParentInlineProps,\n textParentProps\n};\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AAGA,MAAM,kBAAkB;CACtB,GAAG;CACH,UAAU;CACV,uBAAuB;CACvB,YAAY;CACZ,eAAe;CACf,WAAW;AACb;AACA,MAAM,wBAAwB,IAAI,IAAI,OAAO,KAAK,eAAe,CAAC"}
|
|
@@ -21,7 +21,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
21
21
|
};
|
|
22
22
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
23
|
var types_exports = {};
|
|
24
|
-
__export(types_exports, {
|
|
24
|
+
__export(types_exports, {
|
|
25
|
+
textParentInlineProps: () => textParentInlineProps,
|
|
26
|
+
textParentProps: () => textParentProps
|
|
27
|
+
});
|
|
25
28
|
module.exports = __toCommonJS(types_exports);
|
|
26
29
|
var import_web = require("@tamagui/web");
|
|
27
30
|
var textParentProps = {
|
|
@@ -32,3 +35,4 @@ var textParentProps = {
|
|
|
32
35
|
numberOfLines: true,
|
|
33
36
|
textProps: true
|
|
34
37
|
};
|
|
38
|
+
var textParentInlineProps = new Set(Object.keys(textParentProps));
|
package/dist/jsx/types.native.js
CHANGED
|
@@ -21,7 +21,10 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
21
21
|
};
|
|
22
22
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
23
|
var types_exports = {};
|
|
24
|
-
__export(types_exports, {
|
|
24
|
+
__export(types_exports, {
|
|
25
|
+
textParentInlineProps: () => textParentInlineProps,
|
|
26
|
+
textParentProps: () => textParentProps
|
|
27
|
+
});
|
|
25
28
|
module.exports = __toCommonJS(types_exports);
|
|
26
29
|
var import_web = require("@tamagui/web");
|
|
27
30
|
var textParentProps = {
|
|
@@ -32,5 +35,6 @@ var textParentProps = {
|
|
|
32
35
|
numberOfLines: true,
|
|
33
36
|
textProps: true
|
|
34
37
|
};
|
|
38
|
+
var textParentInlineProps = new Set(Object.keys(textParentProps));
|
|
35
39
|
|
|
36
40
|
//# sourceMappingURL=types.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.native.js","names":[],"sources":["jsx/types.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar types_exports = {};\n__export(types_exports, {\n textParentProps: () => textParentProps\n});\nmodule.exports = __toCommonJS(types_exports);\nvar import_web = require(\"@tamagui/web\");\nvar textParentProps = {\n ...import_web.stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe,
|
|
1
|
+
{"version":3,"file":"types.native.js","names":[],"sources":["jsx/types.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\nvar __export = (target, all) => {\n for (var name in all)\n __defProp(target, name, { get: all[name], enumerable: true });\n};\nvar __copyProps = (to, from, except, desc) => {\n if (from && typeof from === \"object\" || typeof from === \"function\") {\n for (let key of __getOwnPropNames(from))\n if (!__hasOwnProp.call(to, key) && key !== except)\n __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });\n }\n return to;\n};\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar types_exports = {};\n__export(types_exports, {\n textParentInlineProps: () => textParentInlineProps,\n textParentProps: () => textParentProps\n});\nmodule.exports = __toCommonJS(types_exports);\nvar import_web = require(\"@tamagui/web\");\nvar textParentProps = {\n ...import_web.stylePropsTextOnly,\n ellipsis: true,\n maxFontSizeMultiplier: true,\n noTextWrap: true,\n numberOfLines: true,\n textProps: true\n};\nvar textParentInlineProps = new Set(Object.keys(textParentProps));\n//# sourceMappingURL=types.js.map\n"],"mappings":";;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,IAAI,YAAY,QAAQ,QAAQ;CAC9B,KAAK,IAAI,QAAQ,KACf,UAAU,QAAQ,MAAM;EAAE,KAAK,IAAI;EAAO,YAAY;CAAK,CAAC;AAChE;AACA,IAAI,eAAe,IAAI,MAAM,QAAQ,SAAS;CAC5C,IAAI,QAAQ,OAAO,SAAS,YAAY,OAAO,SAAS,YAAY;EAClE,KAAK,IAAI,OAAO,kBAAkB,IAAI,GACpC,IAAI,CAAC,aAAa,KAAK,IAAI,GAAG,KAAK,QAAQ,QACzC,UAAU,IAAI,KAAK;GAAE,WAAW,KAAK;GAAM,YAAY,EAAE,OAAO,iBAAiB,MAAM,GAAG,MAAM,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,SAAS,eAAe;CACtB,6BAA6B;CAC7B,uBAAuB;AACzB,CAAC;AACD,OAAO,UAAU,aAAa,aAAa;AAC3C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,kBAAkB;CACpB,GAAG,WAAW;CACd,UAAU;CACV,uBAAuB;CACvB,YAAY;CACZ,eAAe;CACf,WAAW;AACb;AACA,IAAI,wBAAwB,IAAI,IAAI,OAAO,KAAK,eAAe,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/text",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.6",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
6
6
|
"source": "src/index.tsx",
|
|
@@ -36,12 +36,12 @@
|
|
|
36
36
|
"clean:build": "tamagui-build clean:build"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@tamagui/get-font-sized": "3.0.
|
|
40
|
-
"@tamagui/helpers-tamagui": "3.0.
|
|
41
|
-
"@tamagui/web": "3.0.
|
|
39
|
+
"@tamagui/get-font-sized": "3.0.6",
|
|
40
|
+
"@tamagui/helpers-tamagui": "3.0.6",
|
|
41
|
+
"@tamagui/web": "3.0.6"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
|
-
"@tamagui/build": "3.0.
|
|
44
|
+
"@tamagui/build": "3.0.6",
|
|
45
45
|
"react": "19.2.3"
|
|
46
46
|
},
|
|
47
47
|
"peerDependencies": {
|
|
@@ -53,5 +53,5 @@
|
|
|
53
53
|
"url": "git+https://github.com/tamagui/tamagui.git",
|
|
54
54
|
"directory": "code/ui/text"
|
|
55
55
|
},
|
|
56
|
-
"releaseSourceCommit": "
|
|
56
|
+
"releaseSourceCommit": "ee01c1a5d113f9d0f4e9e26c35154165ce25add6"
|
|
57
57
|
}
|
package/src/types.ts
CHANGED
|
@@ -17,6 +17,10 @@ export const textParentProps = {
|
|
|
17
17
|
textProps: true,
|
|
18
18
|
} as const
|
|
19
19
|
|
|
20
|
+
// a styled() layer over a skin resolves style props itself, so the skin never
|
|
21
|
+
// sees them; naming these inline passes them on for the skin to give its text.
|
|
22
|
+
export const textParentInlineProps = new Set(Object.keys(textParentProps))
|
|
23
|
+
|
|
20
24
|
export type TextContextStyles = {
|
|
21
25
|
color?: SizableTextProps['color']
|
|
22
26
|
fontWeight?: SizableTextProps['fontWeight']
|
package/types/types.d.ts
CHANGED
|
@@ -35,6 +35,7 @@ export declare const textParentProps: {
|
|
|
35
35
|
readonly numberOfLines: true;
|
|
36
36
|
readonly textProps: true;
|
|
37
37
|
};
|
|
38
|
+
export declare const textParentInlineProps: Set<string>;
|
|
38
39
|
export type TextContextStyles = {
|
|
39
40
|
color?: SizableTextProps['color'];
|
|
40
41
|
fontWeight?: SizableTextProps['fontWeight'];
|
package/types/types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,UAAU,E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