@tamagui/text 2.7.7 → 3.0.0-beta.643.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/Emphasis.cjs +22 -25
- package/dist/cjs/Emphasis.native.cjs +40 -0
- package/dist/cjs/Emphasis.native.js +22 -24
- package/dist/cjs/Emphasis.native.js.map +1 -1
- package/dist/cjs/Headings.cjs +51 -100
- package/dist/cjs/Headings.native.cjs +80 -0
- package/dist/cjs/Headings.native.js +51 -99
- package/dist/cjs/Headings.native.js.map +1 -1
- package/dist/cjs/Paragraph.cjs +21 -24
- package/dist/cjs/Paragraph.native.cjs +36 -0
- package/dist/cjs/Paragraph.native.js +21 -23
- package/dist/cjs/Paragraph.native.js.map +1 -1
- package/dist/cjs/SizableText.cjs +29 -45
- package/dist/cjs/SizableText.native.cjs +46 -0
- package/dist/cjs/SizableText.native.js +31 -45
- package/dist/cjs/SizableText.native.js.map +1 -1
- package/dist/cjs/index.cjs +10 -11
- package/dist/cjs/index.native.cjs +26 -0
- package/dist/cjs/index.native.js +10 -10
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/types.cjs +10 -11
- package/dist/cjs/types.native.cjs +19 -0
- package/dist/cjs/types.native.js +10 -10
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/wrapChildrenInText.cjs +57 -67
- package/dist/cjs/wrapChildrenInText.native.cjs +74 -0
- package/dist/cjs/wrapChildrenInText.native.js +56 -66
- package/dist/cjs/wrapChildrenInText.native.js.map +1 -1
- package/dist/esm/Emphasis.mjs +8 -8
- package/dist/esm/Emphasis.mjs.map +1 -1
- package/dist/esm/Emphasis.native.js +8 -8
- package/dist/esm/Emphasis.native.js.map +1 -1
- package/dist/esm/Headings.mjs +32 -78
- package/dist/esm/Headings.mjs.map +1 -1
- package/dist/esm/Headings.native.js +32 -78
- package/dist/esm/Headings.native.js.map +1 -1
- package/dist/esm/Paragraph.mjs +8 -6
- package/dist/esm/Paragraph.mjs.map +1 -1
- package/dist/esm/Paragraph.native.js +8 -6
- package/dist/esm/Paragraph.native.js.map +1 -1
- package/dist/esm/SizableText.mjs +17 -28
- package/dist/esm/SizableText.mjs.map +1 -1
- package/dist/esm/SizableText.native.js +18 -28
- package/dist/esm/SizableText.native.js.map +1 -1
- package/dist/esm/index.js +11 -7
- package/dist/esm/index.mjs +11 -7
- package/dist/esm/index.native.js +11 -7
- package/dist/esm/types.mjs +0 -2
- package/dist/esm/types.native.js +0 -2
- package/dist/esm/wrapChildrenInText.mjs +40 -41
- package/dist/esm/wrapChildrenInText.mjs.map +1 -1
- package/dist/esm/wrapChildrenInText.native.js +41 -42
- package/dist/esm/wrapChildrenInText.native.js.map +1 -1
- package/dist/jsx/Emphasis.mjs +8 -8
- package/dist/jsx/Emphasis.mjs.map +1 -1
- package/dist/jsx/Emphasis.native.cjs +40 -0
- package/dist/jsx/Emphasis.native.js +22 -24
- package/dist/jsx/Emphasis.native.js.map +1 -1
- package/dist/jsx/Headings.mjs +32 -78
- package/dist/jsx/Headings.mjs.map +1 -1
- package/dist/jsx/Headings.native.cjs +80 -0
- package/dist/jsx/Headings.native.js +51 -99
- package/dist/jsx/Headings.native.js.map +1 -1
- package/dist/jsx/Paragraph.mjs +8 -6
- package/dist/jsx/Paragraph.mjs.map +1 -1
- package/dist/jsx/Paragraph.native.cjs +36 -0
- package/dist/jsx/Paragraph.native.js +21 -23
- package/dist/jsx/Paragraph.native.js.map +1 -1
- package/dist/jsx/SizableText.mjs +17 -28
- package/dist/jsx/SizableText.mjs.map +1 -1
- package/dist/jsx/SizableText.native.cjs +46 -0
- package/dist/jsx/SizableText.native.js +31 -45
- package/dist/jsx/SizableText.native.js.map +1 -1
- package/dist/jsx/index.js +11 -7
- package/dist/jsx/index.mjs +11 -7
- package/dist/jsx/index.native.cjs +26 -0
- package/dist/jsx/index.native.js +10 -10
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/types.mjs +0 -2
- package/dist/jsx/types.native.cjs +19 -0
- package/dist/jsx/types.native.js +10 -10
- package/dist/jsx/types.native.js.map +1 -1
- package/dist/jsx/wrapChildrenInText.mjs +40 -41
- package/dist/jsx/wrapChildrenInText.mjs.map +1 -1
- package/dist/jsx/wrapChildrenInText.native.cjs +74 -0
- package/dist/jsx/wrapChildrenInText.native.js +56 -66
- package/dist/jsx/wrapChildrenInText.native.js.map +1 -1
- package/package.json +5 -5
- package/src/Headings.tsx +15 -15
- package/src/Paragraph.tsx +3 -3
- package/src/SizableText.tsx +6 -18
- package/src/wrapChildrenInText.tsx +32 -11
- package/types/Emphasis.d.ts +15 -3
- package/types/Emphasis.d.ts.map +1 -1
- package/types/Headings.d.ts +89 -22
- package/types/Headings.d.ts.map +1 -1
- package/types/Paragraph.d.ts +11 -4
- package/types/Paragraph.d.ts.map +1 -1
- package/types/SizableText.d.ts +11 -4
- package/types/SizableText.d.ts.map +1 -1
- package/types/wrapChildrenInText.d.ts +2 -4
- package/types/wrapChildrenInText.d.ts.map +1 -1
- package/dist/esm/index.js.map +0 -1
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js.map +0 -1
- package/dist/esm/types.mjs.map +0 -1
- package/dist/esm/types.native.js.map +0 -1
- package/dist/jsx/index.js.map +0 -1
- package/dist/jsx/index.mjs.map +0 -1
- package/dist/jsx/types.mjs.map +0 -1
package/dist/jsx/index.mjs
CHANGED
|
@@ -1,7 +1,11 @@
|
|
|
1
|
-
export * from "./Emphasis.mjs"
|
|
2
|
-
|
|
3
|
-
export * from "./
|
|
4
|
-
|
|
5
|
-
export * from "./
|
|
6
|
-
|
|
7
|
-
|
|
1
|
+
export * from "./Emphasis.mjs"
|
|
2
|
+
|
|
3
|
+
export * from "./SizableText.mjs"
|
|
4
|
+
|
|
5
|
+
export * from "./Paragraph.mjs"
|
|
6
|
+
|
|
7
|
+
export * from "./Headings.mjs"
|
|
8
|
+
|
|
9
|
+
export * from "./wrapChildrenInText.mjs"
|
|
10
|
+
|
|
11
|
+
export * from "./types.mjs"
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
11
|
+
get: () => from[key],
|
|
12
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var index_exports = {};
|
|
20
|
+
module.exports = __toCommonJS(index_exports);
|
|
21
|
+
__reExport(index_exports, require("./Emphasis.native.js"), module.exports);
|
|
22
|
+
__reExport(index_exports, require("./SizableText.native.js"), module.exports);
|
|
23
|
+
__reExport(index_exports, require("./Paragraph.native.js"), module.exports);
|
|
24
|
+
__reExport(index_exports, require("./Headings.native.js"), module.exports);
|
|
25
|
+
__reExport(index_exports, require("./wrapChildrenInText.native.js"), module.exports);
|
|
26
|
+
__reExport(index_exports, require("./types.native.js"), module.exports);
|
package/dist/jsx/index.native.js
CHANGED
|
@@ -1,22 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
11
|
+
get: () => from[key],
|
|
12
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
15
16
|
};
|
|
16
17
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
17
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
18
|
-
value: true
|
|
19
|
-
}), mod);
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
20
19
|
var index_exports = {};
|
|
21
20
|
module.exports = __toCommonJS(index_exports);
|
|
22
21
|
__reExport(index_exports, require("./Emphasis.native.js"), module.exports);
|
|
@@ -25,4 +24,5 @@ __reExport(index_exports, require("./Paragraph.native.js"), module.exports);
|
|
|
25
24
|
__reExport(index_exports, require("./Headings.native.js"), module.exports);
|
|
26
25
|
__reExport(index_exports, require("./wrapChildrenInText.native.js"), module.exports);
|
|
27
26
|
__reExport(index_exports, require("./types.native.js"), module.exports);
|
|
27
|
+
|
|
28
28
|
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["jsx/index.native.js"],"sourcesContent":["\"use strict\";\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __hasOwnProp = Object.prototype.hasOwnProperty;\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 __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, \"default\"), secondTarget && __copyProps(secondTarget, mod, \"default\"));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar index_exports = {};\nmodule.exports = __toCommonJS(index_exports);\n__reExport(index_exports, require(\"./Emphasis\"), module.exports);\n__reExport(index_exports, require(\"./SizableText\"), module.exports);\n__reExport(index_exports, require(\"./Paragraph\"), module.exports);\n__reExport(index_exports, require(\"./Headings\"), module.exports);\n__reExport(index_exports, require(\"./wrapChildrenInText\"), module.exports);\n__reExport(index_exports, require(\"./types\"), module.exports);\n//# sourceMappingURL=index.js.map\n"],"mappings":";;;;AACA,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO,UAAU;AACpC,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,cAAc,QAAQ,KAAK,kBAAkB,YAAY,QAAQ,KAAK,SAAS,GAAG,gBAAgB,YAAY,cAAc,KAAK,SAAS;AAC9I,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,gBAAgB,CAAC;AACrB,OAAO,UAAU,aAAa,aAAa;AAC3C,WAAW,eAAe,QAAQ,sBAAY,GAAG,OAAO,OAAO;AAC/D,WAAW,eAAe,QAAQ,yBAAe,GAAG,OAAO,OAAO;AAClE,WAAW,eAAe,QAAQ,uBAAa,GAAG,OAAO,OAAO;AAChE,WAAW,eAAe,QAAQ,sBAAY,GAAG,OAAO,OAAO;AAC/D,WAAW,eAAe,QAAQ,gCAAsB,GAAG,OAAO,OAAO;AACzE,WAAW,eAAe,QAAQ,mBAAS,GAAG,OAAO,OAAO"}
|
package/dist/jsx/types.mjs
CHANGED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __copyProps = (to, from, except, desc) => {
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
11
|
+
get: () => from[key],
|
|
12
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
16
|
+
};
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
|
+
var types_exports = {};
|
|
19
|
+
module.exports = __toCommonJS(types_exports);
|
package/dist/jsx/types.native.js
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __defProp = Object.defineProperty;
|
|
4
5
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
6
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
7
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
8
|
var __copyProps = (to, from, except, desc) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
9
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
10
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
11
|
+
get: () => from[key],
|
|
12
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
return to;
|
|
15
16
|
};
|
|
16
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
17
|
-
value: true
|
|
18
|
-
}), mod);
|
|
17
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
18
|
var types_exports = {};
|
|
20
19
|
module.exports = __toCommonJS(types_exports);
|
|
20
|
+
|
|
21
21
|
//# sourceMappingURL=types.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":[],"sources":[],"sourcesContent":[
|
|
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 __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 = {};\nmodule.exports = __toCommonJS(types_exports);\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,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,OAAO,UAAU,aAAa,aAAa"}
|
|
@@ -1,47 +1,46 @@
|
|
|
1
1
|
import React from "react";
|
|
2
2
|
import { jsx } from "react/jsx-runtime";
|
|
3
|
+
|
|
3
4
|
function wrapChildrenInText(TextComponent, propsIn, extraProps) {
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
children: child
|
|
43
|
-
}, index) : child;
|
|
44
|
-
});
|
|
5
|
+
const { children, textProps, size, noTextWrap, color, fontFamily, fontSize, fontWeight, letterSpacing, textAlign, fontStyle, ellipsis, maxFontSizeMultiplier } = propsIn;
|
|
6
|
+
if (noTextWrap || !children) {
|
|
7
|
+
return [children];
|
|
8
|
+
}
|
|
9
|
+
const props = { ...extraProps };
|
|
10
|
+
if (color) props.color = color;
|
|
11
|
+
if (fontFamily) props.fontFamily = fontFamily;
|
|
12
|
+
if (fontSize) props.fontSize = fontSize;
|
|
13
|
+
if (fontWeight) props.fontWeight = fontWeight;
|
|
14
|
+
if (letterSpacing) props.letterSpacing = letterSpacing;
|
|
15
|
+
if (textAlign) props.textAlign = textAlign;
|
|
16
|
+
if (size) props.size = size;
|
|
17
|
+
if (fontStyle) props.fontStyle = fontStyle;
|
|
18
|
+
if (ellipsis !== void 0) props.ellipsis = ellipsis;
|
|
19
|
+
if (maxFontSizeMultiplier != null) props.maxFontSizeMultiplier = maxFontSizeMultiplier;
|
|
20
|
+
const out = [];
|
|
21
|
+
let run = [];
|
|
22
|
+
let runKey = 0;
|
|
23
|
+
const flushRun = () => {
|
|
24
|
+
if (!run.length) return;
|
|
25
|
+
out.push(/* @__PURE__ */ jsx(TextComponent, {
|
|
26
|
+
...props,
|
|
27
|
+
...textProps,
|
|
28
|
+
children: run.length === 1 ? run[0] : run.join("")
|
|
29
|
+
}, `text-${runKey}`));
|
|
30
|
+
run = [];
|
|
31
|
+
};
|
|
32
|
+
React.Children.toArray(children).forEach((child, index) => {
|
|
33
|
+
if (typeof child === "string" || typeof child === "number") {
|
|
34
|
+
if (!run.length) runKey = index;
|
|
35
|
+
run.push(child);
|
|
36
|
+
return;
|
|
37
|
+
}
|
|
38
|
+
flushRun();
|
|
39
|
+
out.push(child);
|
|
40
|
+
});
|
|
41
|
+
flushRun();
|
|
42
|
+
return out;
|
|
45
43
|
}
|
|
44
|
+
|
|
46
45
|
export { wrapChildrenInText };
|
|
47
46
|
//# sourceMappingURL=wrapChildrenInText.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"wrapChildrenInText.js","names":[],"sources":["jsx/wrapChildrenInText.js"],"sourcesContent":["import React from \"react\";\nimport { jsx } from \"react/jsx-runtime\";\nfunction wrapChildrenInText(TextComponent, propsIn, extraProps) {\n const {\n children,\n textProps,\n size,\n noTextWrap,\n color,\n fontFamily,\n fontSize,\n fontWeight,\n letterSpacing,\n textAlign,\n fontStyle,\n ellipsis,\n maxFontSizeMultiplier\n } = propsIn;\n if (noTextWrap || !children) {\n return [children];\n }\n const props = {\n ...extraProps\n };\n if (color) props.color = color;\n if (fontFamily) props.fontFamily = fontFamily;\n if (fontSize) props.fontSize = fontSize;\n if (fontWeight) props.fontWeight = fontWeight;\n if (letterSpacing) props.letterSpacing = letterSpacing;\n if (textAlign) props.textAlign = textAlign;\n if (size) props.size = size;\n if (fontStyle) props.fontStyle = fontStyle;\n if (ellipsis !== void 0) props.ellipsis = ellipsis;\n if (maxFontSizeMultiplier != null) props.maxFontSizeMultiplier = maxFontSizeMultiplier;\n const out = [];\n let run = [];\n let runKey = 0;\n const flushRun = () => {\n if (!run.length) return;\n out.push(\n // data-disable-theme keeps wrapped text from adding another theme boundary\n /* @__PURE__ */ jsx(TextComponent, { ...props, ...textProps, children: run.length === 1 ? run[0] : run.join(\"\") }, `text-${runKey}`)\n );\n run = [];\n };\n React.Children.toArray(children).forEach((child, index) => {\n if (typeof child === \"string\" || typeof child === \"number\") {\n if (!run.length) runKey = index;\n run.push(child);\n return;\n }\n flushRun();\n out.push(child);\n });\n flushRun();\n return out;\n}\nexport {\n wrapChildrenInText\n};\n//# sourceMappingURL=wrapChildrenInText.js.map\n"],"mappings":";;;;AAEA,SAAS,mBAAmB,eAAe,SAAS,YAAY;CAC9D,MAAM,EACJ,UACA,WACA,MACA,YACA,OACA,YACA,UACA,YACA,eACA,WACA,WACA,UACA,0BACE;CACJ,IAAI,cAAc,CAAC,UAAU;EAC3B,OAAO,CAAC,QAAQ;CAClB;CACA,MAAM,QAAQ,EACZ,GAAG,WACL;CACA,IAAI,OAAO,MAAM,QAAQ;CACzB,IAAI,YAAY,MAAM,aAAa;CACnC,IAAI,UAAU,MAAM,WAAW;CAC/B,IAAI,YAAY,MAAM,aAAa;CACnC,IAAI,eAAe,MAAM,gBAAgB;CACzC,IAAI,WAAW,MAAM,YAAY;CACjC,IAAI,MAAM,MAAM,OAAO;CACvB,IAAI,WAAW,MAAM,YAAY;CACjC,IAAI,aAAa,KAAK,GAAG,MAAM,WAAW;CAC1C,IAAI,yBAAyB,MAAM,MAAM,wBAAwB;CACjE,MAAM,MAAM,CAAC;CACb,IAAI,MAAM,CAAC;CACX,IAAI,SAAS;CACb,MAAM,iBAAiB;EACrB,IAAI,CAAC,IAAI,QAAQ;EACjB,IAAI,KAEc,oBAAI,eAAe;GAAE,GAAG;GAAO,GAAG;GAAW,UAAU,IAAI,WAAW,IAAI,IAAI,KAAK,IAAI,KAAK,EAAE;EAAE,GAAG,QAAQ,QAAQ,CACrI;EACA,MAAM,CAAC;CACT;CACA,MAAM,SAAS,QAAQ,QAAQ,EAAE,SAAS,OAAO,UAAU;EACzD,IAAI,OAAO,UAAU,YAAY,OAAO,UAAU,UAAU;GAC1D,IAAI,CAAC,IAAI,QAAQ,SAAS;GAC1B,IAAI,KAAK,KAAK;GACd;EACF;EACA,SAAS;EACT,IAAI,KAAK,KAAK;CAChB,CAAC;CACD,SAAS;CACT,OAAO;AACT"}
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
var __create = Object.create;
|
|
5
|
+
var __defProp = Object.defineProperty;
|
|
6
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
9
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
10
|
+
var __export = (target, all) => {
|
|
11
|
+
for (var name in all) __defProp(target, name, {
|
|
12
|
+
get: all[name],
|
|
13
|
+
enumerable: true
|
|
14
|
+
});
|
|
15
|
+
};
|
|
16
|
+
var __copyProps = (to, from, except, desc) => {
|
|
17
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
19
|
+
get: () => from[key],
|
|
20
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
24
|
+
};
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: true
|
|
28
|
+
}) : target, mod));
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
+
var wrapChildrenInText_exports = {};
|
|
31
|
+
__export(wrapChildrenInText_exports, { wrapChildrenInText: () => wrapChildrenInText });
|
|
32
|
+
module.exports = __toCommonJS(wrapChildrenInText_exports);
|
|
33
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
34
|
+
var import_react = __toESM(require("react"), 1);
|
|
35
|
+
function wrapChildrenInText(TextComponent, propsIn, extraProps) {
|
|
36
|
+
var { children, textProps, size, noTextWrap, color, fontFamily, fontSize, fontWeight, letterSpacing, textAlign, fontStyle, ellipsis, maxFontSizeMultiplier } = propsIn;
|
|
37
|
+
if (noTextWrap || !children) {
|
|
38
|
+
return [children];
|
|
39
|
+
}
|
|
40
|
+
var props = { ...extraProps };
|
|
41
|
+
if (color) props.color = color;
|
|
42
|
+
if (fontFamily) props.fontFamily = fontFamily;
|
|
43
|
+
if (fontSize) props.fontSize = fontSize;
|
|
44
|
+
if (fontWeight) props.fontWeight = fontWeight;
|
|
45
|
+
if (letterSpacing) props.letterSpacing = letterSpacing;
|
|
46
|
+
if (textAlign) props.textAlign = textAlign;
|
|
47
|
+
if (size) props.size = size;
|
|
48
|
+
if (fontStyle) props.fontStyle = fontStyle;
|
|
49
|
+
if (ellipsis !== void 0) props.ellipsis = ellipsis;
|
|
50
|
+
if (maxFontSizeMultiplier != null) props.maxFontSizeMultiplier = maxFontSizeMultiplier;
|
|
51
|
+
var out = [];
|
|
52
|
+
var run = [];
|
|
53
|
+
var runKey = 0;
|
|
54
|
+
var flushRun = function() {
|
|
55
|
+
if (!run.length) return;
|
|
56
|
+
out.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TextComponent, {
|
|
57
|
+
...props,
|
|
58
|
+
...textProps,
|
|
59
|
+
children: run.length === 1 ? run[0] : run.join("")
|
|
60
|
+
}, `text-${runKey}`));
|
|
61
|
+
run = [];
|
|
62
|
+
};
|
|
63
|
+
import_react.default.Children.toArray(children).forEach(function(child, index) {
|
|
64
|
+
if (typeof child === "string" || typeof child === "number") {
|
|
65
|
+
if (!run.length) runKey = index;
|
|
66
|
+
run.push(child);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
flushRun();
|
|
70
|
+
out.push(child);
|
|
71
|
+
});
|
|
72
|
+
flushRun();
|
|
73
|
+
return out;
|
|
74
|
+
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
|
+
|
|
3
4
|
var __create = Object.create;
|
|
4
5
|
var __defProp = Object.defineProperty;
|
|
5
6
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
@@ -7,80 +8,69 @@ var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
|
7
8
|
var __getProtoOf = Object.getPrototypeOf;
|
|
8
9
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
10
|
var __export = (target, all) => {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
11
|
+
for (var name in all) __defProp(target, name, {
|
|
12
|
+
get: all[name],
|
|
13
|
+
enumerable: true
|
|
14
|
+
});
|
|
14
15
|
};
|
|
15
16
|
var __copyProps = (to, from, except, desc) => {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
17
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
18
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
19
|
+
get: () => from[key],
|
|
20
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
21
|
+
});
|
|
22
|
+
}
|
|
23
|
+
return to;
|
|
23
24
|
};
|
|
24
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
25
|
-
|
|
26
|
-
|
|
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
|
|
25
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: true
|
|
32
28
|
}) : target, mod));
|
|
33
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
34
|
-
value: true
|
|
35
|
-
}), mod);
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
36
30
|
var wrapChildrenInText_exports = {};
|
|
37
|
-
__export(wrapChildrenInText_exports, {
|
|
38
|
-
wrapChildrenInText: () => wrapChildrenInText
|
|
39
|
-
});
|
|
31
|
+
__export(wrapChildrenInText_exports, { wrapChildrenInText: () => wrapChildrenInText });
|
|
40
32
|
module.exports = __toCommonJS(wrapChildrenInText_exports);
|
|
41
33
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
34
|
var import_react = __toESM(require("react"), 1);
|
|
43
35
|
function wrapChildrenInText(TextComponent, propsIn, extraProps) {
|
|
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
|
-
children: child
|
|
83
|
-
}, index) : child;
|
|
84
|
-
});
|
|
36
|
+
var { children, textProps, size, noTextWrap, color, fontFamily, fontSize, fontWeight, letterSpacing, textAlign, fontStyle, ellipsis, maxFontSizeMultiplier } = propsIn;
|
|
37
|
+
if (noTextWrap || !children) {
|
|
38
|
+
return [children];
|
|
39
|
+
}
|
|
40
|
+
var props = { ...extraProps };
|
|
41
|
+
if (color) props.color = color;
|
|
42
|
+
if (fontFamily) props.fontFamily = fontFamily;
|
|
43
|
+
if (fontSize) props.fontSize = fontSize;
|
|
44
|
+
if (fontWeight) props.fontWeight = fontWeight;
|
|
45
|
+
if (letterSpacing) props.letterSpacing = letterSpacing;
|
|
46
|
+
if (textAlign) props.textAlign = textAlign;
|
|
47
|
+
if (size) props.size = size;
|
|
48
|
+
if (fontStyle) props.fontStyle = fontStyle;
|
|
49
|
+
if (ellipsis !== void 0) props.ellipsis = ellipsis;
|
|
50
|
+
if (maxFontSizeMultiplier != null) props.maxFontSizeMultiplier = maxFontSizeMultiplier;
|
|
51
|
+
var out = [];
|
|
52
|
+
var run = [];
|
|
53
|
+
var runKey = 0;
|
|
54
|
+
var flushRun = function() {
|
|
55
|
+
if (!run.length) return;
|
|
56
|
+
out.push(/* @__PURE__ */ (0, import_jsx_runtime.jsx)(TextComponent, {
|
|
57
|
+
...props,
|
|
58
|
+
...textProps,
|
|
59
|
+
children: run.length === 1 ? run[0] : run.join("")
|
|
60
|
+
}, `text-${runKey}`));
|
|
61
|
+
run = [];
|
|
62
|
+
};
|
|
63
|
+
import_react.default.Children.toArray(children).forEach(function(child, index) {
|
|
64
|
+
if (typeof child === "string" || typeof child === "number") {
|
|
65
|
+
if (!run.length) runKey = index;
|
|
66
|
+
run.push(child);
|
|
67
|
+
return;
|
|
68
|
+
}
|
|
69
|
+
flushRun();
|
|
70
|
+
out.push(child);
|
|
71
|
+
});
|
|
72
|
+
flushRun();
|
|
73
|
+
return out;
|
|
85
74
|
}
|
|
75
|
+
|
|
86
76
|
//# sourceMappingURL=wrapChildrenInText.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"wrapChildrenInText.native.js","names":[],"sources":["jsx/wrapChildrenInText.native.js"],"sourcesContent":["\"use strict\";\nvar __create = Object.create;\nvar __defProp = Object.defineProperty;\nvar __getOwnPropDesc = Object.getOwnPropertyDescriptor;\nvar __getOwnPropNames = Object.getOwnPropertyNames;\nvar __getProtoOf = Object.getPrototypeOf;\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 __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(\n // If the importer is in node compatibility mode or this is not an ESM\n // file that has been converted to a CommonJS file using a Babel-\n // compatible transform (i.e. \"__esModule\" has not been set), then set\n // \"default\" to the CommonJS \"module.exports\" for node compatibility.\n isNodeMode || !mod || !mod.__esModule ? __defProp(target, \"default\", { value: mod, enumerable: true }) : target,\n mod\n));\nvar __toCommonJS = (mod) => __copyProps(__defProp({}, \"__esModule\", { value: true }), mod);\nvar wrapChildrenInText_exports = {};\n__export(wrapChildrenInText_exports, {\n wrapChildrenInText: () => wrapChildrenInText\n});\nmodule.exports = __toCommonJS(wrapChildrenInText_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_react = __toESM(require(\"react\"), 1);\nfunction wrapChildrenInText(TextComponent, propsIn, extraProps) {\n var { children, textProps, size, noTextWrap, color, fontFamily, fontSize, fontWeight, letterSpacing, textAlign, fontStyle, ellipsis, maxFontSizeMultiplier } = propsIn;\n if (noTextWrap || !children) {\n return [\n children\n ];\n }\n var props = {\n ...extraProps\n };\n if (color) props.color = color;\n if (fontFamily) props.fontFamily = fontFamily;\n if (fontSize) props.fontSize = fontSize;\n if (fontWeight) props.fontWeight = fontWeight;\n if (letterSpacing) props.letterSpacing = letterSpacing;\n if (textAlign) props.textAlign = textAlign;\n if (size) props.size = size;\n if (fontStyle) props.fontStyle = fontStyle;\n if (ellipsis !== void 0) props.ellipsis = ellipsis;\n if (maxFontSizeMultiplier != null) props.maxFontSizeMultiplier = maxFontSizeMultiplier;\n var out = [];\n var run = [];\n var runKey = 0;\n var flushRun = function() {\n if (!run.length) return;\n out.push(\n // data-disable-theme keeps wrapped text from adding another theme boundary\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(TextComponent, {\n ...props,\n ...textProps,\n children: run.length === 1 ? run[0] : run.join(\"\")\n }, `text-${runKey}`)\n );\n run = [];\n };\n import_react.default.Children.toArray(children).forEach(function(child, index) {\n if (typeof child === \"string\" || typeof child === \"number\") {\n if (!run.length) runKey = index;\n run.push(child);\n return;\n }\n flushRun();\n out.push(child);\n });\n flushRun();\n return out;\n}\n//# sourceMappingURL=wrapChildrenInText.js.map\n"],"mappings":";;;;AACA,IAAI,WAAW,OAAO;AACtB,IAAI,YAAY,OAAO;AACvB,IAAI,mBAAmB,OAAO;AAC9B,IAAI,oBAAoB,OAAO;AAC/B,IAAI,eAAe,OAAO;AAC1B,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,WAAW,KAAK,YAAY,YAAY,SAAS,OAAO,OAAO,SAAS,aAAa,GAAG,CAAC,IAAI,CAAC,GAAG,YAKnG,cAAc,CAAC,OAAO,CAAC,IAAI,aAAa,UAAU,QAAQ,WAAW;CAAE,OAAO;CAAK,YAAY;AAAK,CAAC,IAAI,QACzG,GACF;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,6BAA6B,CAAC;AAClC,SAAS,4BAA4B,EACnC,0BAA0B,mBAC5B,CAAC;AACD,OAAO,UAAU,aAAa,0BAA0B;AACxD,IAAI,qBAAqB,QAAQ,mBAAmB;AACpD,IAAI,eAAe,QAAQ,QAAQ,OAAO,GAAG,CAAC;AAC9C,SAAS,mBAAmB,eAAe,SAAS,YAAY;CAC9D,IAAI,EAAE,UAAU,WAAW,MAAM,YAAY,OAAO,YAAY,UAAU,YAAY,eAAe,WAAW,WAAW,UAAU,0BAA0B;CAC/J,IAAI,cAAc,CAAC,UAAU;EAC3B,OAAO,CACL,QACF;CACF;CACA,IAAI,QAAQ,EACV,GAAG,WACL;CACA,IAAI,OAAO,MAAM,QAAQ;CACzB,IAAI,YAAY,MAAM,aAAa;CACnC,IAAI,UAAU,MAAM,WAAW;CAC/B,IAAI,YAAY,MAAM,aAAa;CACnC,IAAI,eAAe,MAAM,gBAAgB;CACzC,IAAI,WAAW,MAAM,YAAY;CACjC,IAAI,MAAM,MAAM,OAAO;CACvB,IAAI,WAAW,MAAM,YAAY;CACjC,IAAI,aAAa,KAAK,GAAG,MAAM,WAAW;CAC1C,IAAI,yBAAyB,MAAM,MAAM,wBAAwB;CACjE,IAAI,MAAM,CAAC;CACX,IAAI,MAAM,CAAC;CACX,IAAI,SAAS;CACb,IAAI,WAAW,WAAW;EACxB,IAAI,CAAC,IAAI,QAAQ;EACjB,IAAI,KAEc,iBAAC,GAAG,mBAAmB,KAAK,eAAe;GACzD,GAAG;GACH,GAAG;GACH,UAAU,IAAI,WAAW,IAAI,IAAI,KAAK,IAAI,KAAK,EAAE;EACnD,GAAG,QAAQ,QAAQ,CACrB;EACA,MAAM,CAAC;CACT;CACA,aAAa,QAAQ,SAAS,QAAQ,QAAQ,EAAE,QAAQ,SAAS,OAAO,OAAO;EAC7E,IAAI,OAAO,UAAU,YAAY,OAAO,UAAU,UAAU;GAC1D,IAAI,CAAC,IAAI,QAAQ,SAAS;GAC1B,IAAI,KAAK,KAAK;GACd;EACF;EACA,SAAS;EACT,IAAI,KAAK,KAAK;CAChB,CAAC;CACD,SAAS;CACT,OAAO;AACT"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/text",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0-beta.643.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"files": [
|
|
@@ -35,12 +35,12 @@
|
|
|
35
35
|
"clean:build": "tamagui-build clean:build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tamagui/get-font-sized": "
|
|
39
|
-
"@tamagui/helpers-tamagui": "
|
|
40
|
-
"@tamagui/web": "
|
|
38
|
+
"@tamagui/get-font-sized": "3.0.0-beta.643.1",
|
|
39
|
+
"@tamagui/helpers-tamagui": "3.0.0-beta.643.1",
|
|
40
|
+
"@tamagui/web": "3.0.0-beta.643.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@tamagui/build": "
|
|
43
|
+
"@tamagui/build": "3.0.0-beta.643.1",
|
|
44
44
|
"react": ">=19"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|