@tamagui/text 3.0.0-beta.669.1 → 3.0.0-beta.728.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 +0 -1
- package/dist/cjs/Emphasis.native.cjs +0 -1
- package/dist/cjs/Emphasis.native.js +0 -1
- package/dist/cjs/Emphasis.native.js.map +1 -1
- package/dist/cjs/Headings.cjs +0 -1
- package/dist/cjs/Headings.native.cjs +0 -1
- package/dist/cjs/Headings.native.js +0 -1
- package/dist/cjs/Headings.native.js.map +1 -1
- package/dist/cjs/Paragraph.cjs +0 -1
- package/dist/cjs/Paragraph.native.cjs +0 -1
- package/dist/cjs/Paragraph.native.js +0 -1
- package/dist/cjs/Paragraph.native.js.map +1 -1
- package/dist/cjs/SizableText.cjs +0 -1
- package/dist/cjs/SizableText.native.cjs +0 -1
- package/dist/cjs/SizableText.native.js +0 -1
- package/dist/cjs/SizableText.native.js.map +1 -1
- package/dist/cjs/index.cjs +0 -1
- package/dist/cjs/index.native.cjs +0 -1
- package/dist/cjs/index.native.js +0 -1
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/types.cjs +0 -1
- package/dist/cjs/types.native.cjs +0 -1
- package/dist/cjs/types.native.js +0 -1
- package/dist/cjs/types.native.js.map +1 -1
- package/dist/cjs/wrapChildrenInText.cjs +0 -1
- package/dist/cjs/wrapChildrenInText.native.cjs +0 -1
- package/dist/cjs/wrapChildrenInText.native.js +0 -1
- package/dist/cjs/wrapChildrenInText.native.js.map +1 -1
- package/dist/esm/wrapChildrenInText.mjs.map +1 -1
- package/dist/esm/wrapChildrenInText.native.js.map +1 -1
- package/dist/jsx/Emphasis.native.cjs +0 -1
- package/dist/jsx/Emphasis.native.js +0 -1
- package/dist/jsx/Emphasis.native.js.map +1 -1
- package/dist/jsx/Headings.native.cjs +0 -1
- package/dist/jsx/Headings.native.js +0 -1
- package/dist/jsx/Headings.native.js.map +1 -1
- package/dist/jsx/Paragraph.native.cjs +0 -1
- package/dist/jsx/Paragraph.native.js +0 -1
- package/dist/jsx/Paragraph.native.js.map +1 -1
- package/dist/jsx/SizableText.native.cjs +0 -1
- package/dist/jsx/SizableText.native.js +0 -1
- package/dist/jsx/SizableText.native.js.map +1 -1
- package/dist/jsx/index.native.cjs +0 -1
- package/dist/jsx/index.native.js +0 -1
- package/dist/jsx/index.native.js.map +1 -1
- package/dist/jsx/types.native.cjs +0 -1
- package/dist/jsx/types.native.js +0 -1
- package/dist/jsx/types.native.js.map +1 -1
- package/dist/jsx/wrapChildrenInText.mjs.map +1 -1
- package/dist/jsx/wrapChildrenInText.native.cjs +0 -1
- package/dist/jsx/wrapChildrenInText.native.js +0 -1
- package/dist/jsx/wrapChildrenInText.native.js.map +1 -1
- package/package.json +6 -6
package/dist/cjs/Emphasis.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Emphasis.native.js","names":[],"sources":["cjs/Emphasis.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 Emphasis_exports = {};\n__export(Emphasis_exports, {\n Em: () => Em,\n Span: () => Span,\n Strong: () => Strong\n});\nmodule.exports = __toCommonJS(Emphasis_exports);\nvar import_web = require(\"@tamagui/web\");\nvar Strong = (0, import_web.styled)(import_web.Text, {\n render: \"strong\",\n fontWeight: \"bold\"\n});\nvar Span = (0, import_web.styled)(import_web.Text, {\n render: \"span\"\n});\nvar Em = (0, import_web.styled)(import_web.Text, {\n render: \"em\",\n fontStyle: \"italic\"\n});\n//# sourceMappingURL=Emphasis.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Emphasis.native.js","names":[],"sources":["cjs/Emphasis.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 Emphasis_exports = {};\n__export(Emphasis_exports, {\n Em: () => Em,\n Span: () => Span,\n Strong: () => Strong\n});\nmodule.exports = __toCommonJS(Emphasis_exports);\nvar import_web = require(\"@tamagui/web\");\nvar Strong = (0, import_web.styled)(import_web.Text, {\n render: \"strong\",\n fontWeight: \"bold\"\n});\nvar Span = (0, import_web.styled)(import_web.Text, {\n render: \"span\"\n});\nvar Em = (0, import_web.styled)(import_web.Text, {\n render: \"em\",\n fontStyle: \"italic\"\n});\n//# sourceMappingURL=Emphasis.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,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,UAAU;CACV,YAAY;CACZ,cAAc;AAChB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,UAAU,GAAG,WAAW,OAAM,CAAE,WAAW,MAAM;CACnD,QAAQ;CACR,YAAY;AACd,CAAC;AACD,IAAI,QAAQ,GAAG,WAAW,OAAM,CAAE,WAAW,MAAM,EACjD,QAAQ,OACV,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,WAAW,MAAM;CAC/C,QAAQ;CACR,WAAW;AACb,CAAC"}
|
package/dist/cjs/Headings.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headings.native.js","names":[],"sources":["cjs/Headings.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 Headings_exports = {};\n__export(Headings_exports, {\n H1: () => H1,\n H2: () => H2,\n H3: () => H3,\n H4: () => H4,\n H5: () => H5,\n H6: () => H6,\n Heading: () => Heading\n});\nmodule.exports = __toCommonJS(Headings_exports);\nvar import_web = require(\"@tamagui/web\");\nvar import_Paragraph = require(\"./Paragraph\");\nvar Heading = (0, import_web.styled)(import_Paragraph.Paragraph, {\n render: \"span\",\n displayName: \"Heading\",\n role: \"heading\",\n fontFamily: \"heading\",\n margin: 0,\n size: \"8\"\n});\nvar H1 = (0, import_web.styled)(Heading, {\n displayName: \"H1\",\n render: \"h1\",\n variants: {\n unstyled: {\n false: {\n size: \"10\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H2 = (0, import_web.styled)(Heading, {\n displayName: \"H2\",\n render: \"h2\",\n variants: {\n unstyled: {\n false: {\n size: \"9\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H3 = (0, import_web.styled)(Heading, {\n displayName: \"H3\",\n render: \"h3\",\n variants: {\n unstyled: {\n false: {\n size: \"8\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H4 = (0, import_web.styled)(Heading, {\n displayName: \"H4\",\n render: \"h4\",\n variants: {\n unstyled: {\n false: {\n size: \"7\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H5 = (0, import_web.styled)(Heading, {\n displayName: \"H5\",\n render: \"h5\",\n variants: {\n unstyled: {\n false: {\n size: \"6\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H6 = (0, import_web.styled)(Heading, {\n displayName: \"H6\",\n render: \"h6\",\n variants: {\n unstyled: {\n false: {\n size: \"5\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\n//# sourceMappingURL=Headings.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Headings.native.js","names":[],"sources":["cjs/Headings.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 Headings_exports = {};\n__export(Headings_exports, {\n H1: () => H1,\n H2: () => H2,\n H3: () => H3,\n H4: () => H4,\n H5: () => H5,\n H6: () => H6,\n Heading: () => Heading\n});\nmodule.exports = __toCommonJS(Headings_exports);\nvar import_web = require(\"@tamagui/web\");\nvar import_Paragraph = require(\"./Paragraph\");\nvar Heading = (0, import_web.styled)(import_Paragraph.Paragraph, {\n render: \"span\",\n displayName: \"Heading\",\n role: \"heading\",\n fontFamily: \"heading\",\n margin: 0,\n size: \"8\"\n});\nvar H1 = (0, import_web.styled)(Heading, {\n displayName: \"H1\",\n render: \"h1\",\n variants: {\n unstyled: {\n false: {\n size: \"10\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H2 = (0, import_web.styled)(Heading, {\n displayName: \"H2\",\n render: \"h2\",\n variants: {\n unstyled: {\n false: {\n size: \"9\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H3 = (0, import_web.styled)(Heading, {\n displayName: \"H3\",\n render: \"h3\",\n variants: {\n unstyled: {\n false: {\n size: \"8\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H4 = (0, import_web.styled)(Heading, {\n displayName: \"H4\",\n render: \"h4\",\n variants: {\n unstyled: {\n false: {\n size: \"7\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H5 = (0, import_web.styled)(Heading, {\n displayName: \"H5\",\n render: \"h5\",\n variants: {\n unstyled: {\n false: {\n size: \"6\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H6 = (0, import_web.styled)(Heading, {\n displayName: \"H6\",\n render: \"h6\",\n variants: {\n unstyled: {\n false: {\n size: \"5\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\n//# sourceMappingURL=Headings.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,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACV,eAAe;AACjB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,mBAAmB,QAAQ,uBAAa;AAC5C,IAAI,WAAW,GAAG,WAAW,OAAM,CAAE,iBAAiB,WAAW;CAC/D,QAAQ;CACR,aAAa;CACb,MAAM;CACN,YAAY;CACZ,QAAQ;CACR,MAAM;AACR,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,KACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC"}
|
package/dist/cjs/Paragraph.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.native.js","names":[],"sources":["cjs/Paragraph.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 Paragraph_exports = {};\n__export(Paragraph_exports, {\n Paragraph: () => Paragraph\n});\nmodule.exports = __toCommonJS(Paragraph_exports);\nvar import_web = require(\"@tamagui/web\");\nvar import_SizableText = require(\"./SizableText\");\nvar Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {\n displayName: \"Paragraph\",\n render: \"p\",\n userSelect: \"auto\",\n color: \"color\",\n whiteSpace: \"normal\",\n size: true\n});\n//# sourceMappingURL=Paragraph.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Paragraph.native.js","names":[],"sources":["cjs/Paragraph.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 Paragraph_exports = {};\n__export(Paragraph_exports, {\n Paragraph: () => Paragraph\n});\nmodule.exports = __toCommonJS(Paragraph_exports);\nvar import_web = require(\"@tamagui/web\");\nvar import_SizableText = require(\"./SizableText\");\nvar Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {\n displayName: \"Paragraph\",\n render: \"p\",\n userSelect: \"auto\",\n color: \"color\",\n whiteSpace: \"normal\",\n size: true\n});\n//# sourceMappingURL=Paragraph.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,oBAAoB,CAAC;AACzB,SAAS,mBAAmB,EAC1B,iBAAiB,UACnB,CAAC;AACD,OAAO,UAAU,aAAa,iBAAiB;AAC/C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,qBAAqB,QAAQ,yBAAe;AAChD,IAAI,aAAa,GAAG,WAAW,OAAM,CAAE,mBAAmB,aAAa;CACrE,aAAa;CACb,QAAQ;CACR,YAAY;CACZ,OAAO;CACP,YAAY;CACZ,MAAM;AACR,CAAC"}
|
package/dist/cjs/SizableText.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizableText.native.js","names":[],"sources":["cjs/SizableText.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 SizableText_exports = {};\n__export(SizableText_exports, {\n SizableText: () => SizableText\n});\nmodule.exports = __toCommonJS(SizableText_exports);\nvar import_get_font_sized = require(\"@tamagui/get-font-sized\");\nvar import_web = require(\"@tamagui/web\");\nvar SizableText = (0, import_web.styled)(import_web.Text, {\n displayName: \"SizableText\",\n fontFamily: \"body\",\n color: \"color\",\n size: true,\n variants: {\n size: import_get_font_sized.getFontSized\n }\n});\nSizableText.staticConfig.inlineProps = /* @__PURE__ */ new Set([\n ...SizableText.staticConfig.inlineProps || [],\n \"maxFontSizeMultiplier\"\n]);\nSizableText.staticConfig.variants.fontFamily = {\n any: function(val, extras) {\n if (val === \"inherit\") {\n return {\n fontFamily: \"inherit\"\n };\n }\n var sizeProp = extras.props[\"size\"];\n var fontSizeProp = extras.props[\"fontSize\"];\n var _extras_props_size;\n var size = sizeProp === true && fontSizeProp ? fontSizeProp : (_extras_props_size = extras.props[\"size\"]) !== null && _extras_props_size !== void 0 ? _extras_props_size : true;\n return (0, import_get_font_sized.getFontSized)(size, extras);\n }\n};\n//# sourceMappingURL=SizableText.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"SizableText.native.js","names":[],"sources":["cjs/SizableText.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 SizableText_exports = {};\n__export(SizableText_exports, {\n SizableText: () => SizableText\n});\nmodule.exports = __toCommonJS(SizableText_exports);\nvar import_get_font_sized = require(\"@tamagui/get-font-sized\");\nvar import_web = require(\"@tamagui/web\");\nvar SizableText = (0, import_web.styled)(import_web.Text, {\n displayName: \"SizableText\",\n fontFamily: \"body\",\n color: \"color\",\n size: true,\n variants: {\n size: import_get_font_sized.getFontSized\n }\n});\nSizableText.staticConfig.inlineProps = /* @__PURE__ */ new Set([\n ...SizableText.staticConfig.inlineProps || [],\n \"maxFontSizeMultiplier\"\n]);\nSizableText.staticConfig.variants.fontFamily = {\n any: function(val, extras) {\n if (val === \"inherit\") {\n return {\n fontFamily: \"inherit\"\n };\n }\n var sizeProp = extras.props[\"size\"];\n var fontSizeProp = extras.props[\"fontSize\"];\n var _extras_props_size;\n var size = sizeProp === true && fontSizeProp ? fontSizeProp : (_extras_props_size = extras.props[\"size\"]) !== null && _extras_props_size !== void 0 ? _extras_props_size : true;\n return (0, import_get_font_sized.getFontSized)(size, extras);\n }\n};\n//# sourceMappingURL=SizableText.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,sBAAsB,CAAC;AAC3B,SAAS,qBAAqB,EAC5B,mBAAmB,YACrB,CAAC;AACD,OAAO,UAAU,aAAa,mBAAmB;AACjD,IAAI,wBAAwB,QAAQ,yBAAyB;AAC7D,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,eAAe,GAAG,WAAW,OAAM,CAAE,WAAW,MAAM;CACxD,aAAa;CACb,YAAY;CACZ,OAAO;CACP,MAAM;CACN,UAAU,EACR,MAAM,sBAAsB,aAC9B;AACF,CAAC;AACD,YAAY,aAAa,8BAA8B,IAAI,IAAI,CAC7D,GAAG,YAAY,aAAa,eAAe,CAAC,GAC5C,uBACF,CAAC;AACD,YAAY,aAAa,SAAS,aAAa,EAC7C,KAAK,SAAS,KAAK,QAAQ;CACzB,IAAI,QAAQ,WAAW;EACrB,OAAO,EACL,YAAY,UACd;CACF;CACA,IAAI,WAAW,OAAO,MAAM;CAC5B,IAAI,eAAe,OAAO,MAAM;CAChC,IAAI;CACJ,IAAI,OAAO,aAAa,QAAQ,eAAe,gBAAgB,qBAAqB,OAAO,MAAM,aAAa,QAAQ,uBAAuB,KAAK,IAAI,qBAAqB;CAC3K,QAAQ,GAAG,sBAAsB,aAAY,CAAE,MAAM,MAAM;AAC7D,EACF"}
|
package/dist/cjs/index.cjs
CHANGED
package/dist/cjs/index.native.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/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":"
|
|
1
|
+
{"version":3,"file":"index.native.js","names":[],"sources":["cjs/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/cjs/types.cjs
CHANGED
package/dist/cjs/types.native.js
CHANGED
|
@@ -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 __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":"
|
|
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 __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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapChildrenInText.native.js","names":[],"sources":["cjs/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":"
|
|
1
|
+
{"version":3,"file":"wrapChildrenInText.native.js","names":[],"sources":["cjs/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,IAAG,CAAE,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,CAAC,CAAC,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapChildrenInText.js","names":[],"sources":["esm/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,
|
|
1
|
+
{"version":3,"file":"wrapChildrenInText.js","names":[],"sources":["esm/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,CAAC,CAAC,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wrapChildrenInText.native.js","names":[],"sources":["esm/wrapChildrenInText.native.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport React from \"react\";\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__ */ _jsx(TextComponent, {\n ...props,\n ...textProps,\n children: run.length === 1 ? run[0] : run.join(\"\")\n }, `text-${runKey}`)\n );\n run = [];\n };\n React.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}\nexport {\n wrapChildrenInText\n};\n//# sourceMappingURL=wrapChildrenInText.js.map\n"],"mappings":";;;;AAEA,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,oBAAK,eAAe;GAClC,GAAG;GACH,GAAG;GACH,UAAU,IAAI,WAAW,IAAI,IAAI,KAAK,IAAI,KAAK,EAAE;EACnD,GAAG,QAAQ,QAAQ,CACrB;EACA,MAAM,CAAC;CACT;CACA,MAAM,SAAS,QAAQ,QAAQ,
|
|
1
|
+
{"version":3,"file":"wrapChildrenInText.native.js","names":[],"sources":["esm/wrapChildrenInText.native.js"],"sourcesContent":["import { jsx as _jsx } from \"react/jsx-runtime\";\nimport React from \"react\";\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__ */ _jsx(TextComponent, {\n ...props,\n ...textProps,\n children: run.length === 1 ? run[0] : run.join(\"\")\n }, `text-${runKey}`)\n );\n run = [];\n };\n React.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}\nexport {\n wrapChildrenInText\n};\n//# sourceMappingURL=wrapChildrenInText.js.map\n"],"mappings":";;;;AAEA,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,oBAAK,eAAe;GAClC,GAAG;GACH,GAAG;GACH,UAAU,IAAI,WAAW,IAAI,IAAI,KAAK,IAAI,KAAK,EAAE;EACnD,GAAG,QAAQ,QAAQ,CACrB;EACA,MAAM,CAAC;CACT;CACA,MAAM,SAAS,QAAQ,QAAQ,CAAC,CAAC,QAAQ,SAAS,OAAO,OAAO;EAC9D,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"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Emphasis.native.js","names":[],"sources":["jsx/Emphasis.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 Emphasis_exports = {};\n__export(Emphasis_exports, {\n Em: () => Em,\n Span: () => Span,\n Strong: () => Strong\n});\nmodule.exports = __toCommonJS(Emphasis_exports);\nvar import_web = require(\"@tamagui/web\");\nvar Strong = (0, import_web.styled)(import_web.Text, {\n render: \"strong\",\n fontWeight: \"bold\"\n});\nvar Span = (0, import_web.styled)(import_web.Text, {\n render: \"span\"\n});\nvar Em = (0, import_web.styled)(import_web.Text, {\n render: \"em\",\n fontStyle: \"italic\"\n});\n//# sourceMappingURL=Emphasis.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Emphasis.native.js","names":[],"sources":["jsx/Emphasis.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 Emphasis_exports = {};\n__export(Emphasis_exports, {\n Em: () => Em,\n Span: () => Span,\n Strong: () => Strong\n});\nmodule.exports = __toCommonJS(Emphasis_exports);\nvar import_web = require(\"@tamagui/web\");\nvar Strong = (0, import_web.styled)(import_web.Text, {\n render: \"strong\",\n fontWeight: \"bold\"\n});\nvar Span = (0, import_web.styled)(import_web.Text, {\n render: \"span\"\n});\nvar Em = (0, import_web.styled)(import_web.Text, {\n render: \"em\",\n fontStyle: \"italic\"\n});\n//# sourceMappingURL=Emphasis.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,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,UAAU;CACV,YAAY;CACZ,cAAc;AAChB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,UAAU,GAAG,WAAW,OAAM,CAAE,WAAW,MAAM;CACnD,QAAQ;CACR,YAAY;AACd,CAAC;AACD,IAAI,QAAQ,GAAG,WAAW,OAAM,CAAE,WAAW,MAAM,EACjD,QAAQ,OACV,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,WAAW,MAAM;CAC/C,QAAQ;CACR,WAAW;AACb,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Headings.native.js","names":[],"sources":["jsx/Headings.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 Headings_exports = {};\n__export(Headings_exports, {\n H1: () => H1,\n H2: () => H2,\n H3: () => H3,\n H4: () => H4,\n H5: () => H5,\n H6: () => H6,\n Heading: () => Heading\n});\nmodule.exports = __toCommonJS(Headings_exports);\nvar import_web = require(\"@tamagui/web\");\nvar import_Paragraph = require(\"./Paragraph\");\nvar Heading = (0, import_web.styled)(import_Paragraph.Paragraph, {\n render: \"span\",\n displayName: \"Heading\",\n role: \"heading\",\n fontFamily: \"heading\",\n margin: 0,\n size: \"8\"\n});\nvar H1 = (0, import_web.styled)(Heading, {\n displayName: \"H1\",\n render: \"h1\",\n variants: {\n unstyled: {\n false: {\n size: \"10\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H2 = (0, import_web.styled)(Heading, {\n displayName: \"H2\",\n render: \"h2\",\n variants: {\n unstyled: {\n false: {\n size: \"9\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H3 = (0, import_web.styled)(Heading, {\n displayName: \"H3\",\n render: \"h3\",\n variants: {\n unstyled: {\n false: {\n size: \"8\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H4 = (0, import_web.styled)(Heading, {\n displayName: \"H4\",\n render: \"h4\",\n variants: {\n unstyled: {\n false: {\n size: \"7\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H5 = (0, import_web.styled)(Heading, {\n displayName: \"H5\",\n render: \"h5\",\n variants: {\n unstyled: {\n false: {\n size: \"6\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H6 = (0, import_web.styled)(Heading, {\n displayName: \"H6\",\n render: \"h6\",\n variants: {\n unstyled: {\n false: {\n size: \"5\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\n//# sourceMappingURL=Headings.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Headings.native.js","names":[],"sources":["jsx/Headings.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 Headings_exports = {};\n__export(Headings_exports, {\n H1: () => H1,\n H2: () => H2,\n H3: () => H3,\n H4: () => H4,\n H5: () => H5,\n H6: () => H6,\n Heading: () => Heading\n});\nmodule.exports = __toCommonJS(Headings_exports);\nvar import_web = require(\"@tamagui/web\");\nvar import_Paragraph = require(\"./Paragraph\");\nvar Heading = (0, import_web.styled)(import_Paragraph.Paragraph, {\n render: \"span\",\n displayName: \"Heading\",\n role: \"heading\",\n fontFamily: \"heading\",\n margin: 0,\n size: \"8\"\n});\nvar H1 = (0, import_web.styled)(Heading, {\n displayName: \"H1\",\n render: \"h1\",\n variants: {\n unstyled: {\n false: {\n size: \"10\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H2 = (0, import_web.styled)(Heading, {\n displayName: \"H2\",\n render: \"h2\",\n variants: {\n unstyled: {\n false: {\n size: \"9\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H3 = (0, import_web.styled)(Heading, {\n displayName: \"H3\",\n render: \"h3\",\n variants: {\n unstyled: {\n false: {\n size: \"8\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H4 = (0, import_web.styled)(Heading, {\n displayName: \"H4\",\n render: \"h4\",\n variants: {\n unstyled: {\n false: {\n size: \"7\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H5 = (0, import_web.styled)(Heading, {\n displayName: \"H5\",\n render: \"h5\",\n variants: {\n unstyled: {\n false: {\n size: \"6\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\nvar H6 = (0, import_web.styled)(Heading, {\n displayName: \"H6\",\n render: \"h6\",\n variants: {\n unstyled: {\n false: {\n size: \"5\"\n }\n }\n },\n defaultVariants: {\n unstyled: process.env.TAMAGUI_HEADLESS === \"1\" ? true : false\n }\n});\n//# sourceMappingURL=Headings.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,mBAAmB,CAAC;AACxB,SAAS,kBAAkB;CACzB,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACV,UAAU;CACV,eAAe;AACjB,CAAC;AACD,OAAO,UAAU,aAAa,gBAAgB;AAC9C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,mBAAmB,QAAQ,uBAAa;AAC5C,IAAI,WAAW,GAAG,WAAW,OAAM,CAAE,iBAAiB,WAAW;CAC/D,QAAQ;CACR,aAAa;CACb,MAAM;CACN,YAAY;CACZ,QAAQ;CACR,MAAM;AACR,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,KACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,OAAM,CAAE,SAAS;CACvC,aAAa;CACb,QAAQ;CACR,UAAU,EACR,UAAU,EACR,OAAO,EACL,MAAM,IACR,EACF,EACF;CACA,iBAAiB,EACf,UAAU,QAAQ,IAAI,qBAAqB,MAAM,OAAO,MAC1D;AACF,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Paragraph.native.js","names":[],"sources":["jsx/Paragraph.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 Paragraph_exports = {};\n__export(Paragraph_exports, {\n Paragraph: () => Paragraph\n});\nmodule.exports = __toCommonJS(Paragraph_exports);\nvar import_web = require(\"@tamagui/web\");\nvar import_SizableText = require(\"./SizableText\");\nvar Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {\n displayName: \"Paragraph\",\n render: \"p\",\n userSelect: \"auto\",\n color: \"color\",\n whiteSpace: \"normal\",\n size: true\n});\n//# sourceMappingURL=Paragraph.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"Paragraph.native.js","names":[],"sources":["jsx/Paragraph.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 Paragraph_exports = {};\n__export(Paragraph_exports, {\n Paragraph: () => Paragraph\n});\nmodule.exports = __toCommonJS(Paragraph_exports);\nvar import_web = require(\"@tamagui/web\");\nvar import_SizableText = require(\"./SizableText\");\nvar Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {\n displayName: \"Paragraph\",\n render: \"p\",\n userSelect: \"auto\",\n color: \"color\",\n whiteSpace: \"normal\",\n size: true\n});\n//# sourceMappingURL=Paragraph.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,oBAAoB,CAAC;AACzB,SAAS,mBAAmB,EAC1B,iBAAiB,UACnB,CAAC;AACD,OAAO,UAAU,aAAa,iBAAiB;AAC/C,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,qBAAqB,QAAQ,yBAAe;AAChD,IAAI,aAAa,GAAG,WAAW,OAAM,CAAE,mBAAmB,aAAa;CACrE,aAAa;CACb,QAAQ;CACR,YAAY;CACZ,OAAO;CACP,YAAY;CACZ,MAAM;AACR,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SizableText.native.js","names":[],"sources":["jsx/SizableText.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 SizableText_exports = {};\n__export(SizableText_exports, {\n SizableText: () => SizableText\n});\nmodule.exports = __toCommonJS(SizableText_exports);\nvar import_get_font_sized = require(\"@tamagui/get-font-sized\");\nvar import_web = require(\"@tamagui/web\");\nvar SizableText = (0, import_web.styled)(import_web.Text, {\n displayName: \"SizableText\",\n fontFamily: \"body\",\n color: \"color\",\n size: true,\n variants: {\n size: import_get_font_sized.getFontSized\n }\n});\nSizableText.staticConfig.inlineProps = /* @__PURE__ */ new Set([\n ...SizableText.staticConfig.inlineProps || [],\n \"maxFontSizeMultiplier\"\n]);\nSizableText.staticConfig.variants.fontFamily = {\n any: function(val, extras) {\n if (val === \"inherit\") {\n return {\n fontFamily: \"inherit\"\n };\n }\n var sizeProp = extras.props[\"size\"];\n var fontSizeProp = extras.props[\"fontSize\"];\n var _extras_props_size;\n var size = sizeProp === true && fontSizeProp ? fontSizeProp : (_extras_props_size = extras.props[\"size\"]) !== null && _extras_props_size !== void 0 ? _extras_props_size : true;\n return (0, import_get_font_sized.getFontSized)(size, extras);\n }\n};\n//# sourceMappingURL=SizableText.js.map\n"],"mappings":"
|
|
1
|
+
{"version":3,"file":"SizableText.native.js","names":[],"sources":["jsx/SizableText.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 SizableText_exports = {};\n__export(SizableText_exports, {\n SizableText: () => SizableText\n});\nmodule.exports = __toCommonJS(SizableText_exports);\nvar import_get_font_sized = require(\"@tamagui/get-font-sized\");\nvar import_web = require(\"@tamagui/web\");\nvar SizableText = (0, import_web.styled)(import_web.Text, {\n displayName: \"SizableText\",\n fontFamily: \"body\",\n color: \"color\",\n size: true,\n variants: {\n size: import_get_font_sized.getFontSized\n }\n});\nSizableText.staticConfig.inlineProps = /* @__PURE__ */ new Set([\n ...SizableText.staticConfig.inlineProps || [],\n \"maxFontSizeMultiplier\"\n]);\nSizableText.staticConfig.variants.fontFamily = {\n any: function(val, extras) {\n if (val === \"inherit\") {\n return {\n fontFamily: \"inherit\"\n };\n }\n var sizeProp = extras.props[\"size\"];\n var fontSizeProp = extras.props[\"fontSize\"];\n var _extras_props_size;\n var size = sizeProp === true && fontSizeProp ? fontSizeProp : (_extras_props_size = extras.props[\"size\"]) !== null && _extras_props_size !== void 0 ? _extras_props_size : true;\n return (0, import_get_font_sized.getFontSized)(size, extras);\n }\n};\n//# sourceMappingURL=SizableText.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,sBAAsB,CAAC;AAC3B,SAAS,qBAAqB,EAC5B,mBAAmB,YACrB,CAAC;AACD,OAAO,UAAU,aAAa,mBAAmB;AACjD,IAAI,wBAAwB,QAAQ,yBAAyB;AAC7D,IAAI,aAAa,QAAQ,cAAc;AACvC,IAAI,eAAe,GAAG,WAAW,OAAM,CAAE,WAAW,MAAM;CACxD,aAAa;CACb,YAAY;CACZ,OAAO;CACP,MAAM;CACN,UAAU,EACR,MAAM,sBAAsB,aAC9B;AACF,CAAC;AACD,YAAY,aAAa,8BAA8B,IAAI,IAAI,CAC7D,GAAG,YAAY,aAAa,eAAe,CAAC,GAC5C,uBACF,CAAC;AACD,YAAY,aAAa,SAAS,aAAa,EAC7C,KAAK,SAAS,KAAK,QAAQ;CACzB,IAAI,QAAQ,WAAW;EACrB,OAAO,EACL,YAAY,UACd;CACF;CACA,IAAI,WAAW,OAAO,MAAM;CAC5B,IAAI,eAAe,OAAO,MAAM;CAChC,IAAI;CACJ,IAAI,OAAO,aAAa,QAAQ,eAAe,gBAAgB,qBAAqB,OAAO,MAAM,aAAa,QAAQ,uBAAuB,KAAK,IAAI,qBAAqB;CAC3K,QAAQ,GAAG,sBAAsB,aAAY,CAAE,MAAM,MAAM;AAC7D,EACF"}
|
package/dist/jsx/index.native.js
CHANGED
|
@@ -1 +1 @@
|
|
|
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":"
|
|
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.native.js
CHANGED
|
@@ -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 __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":"
|
|
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 +1 @@
|
|
|
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,
|
|
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,CAAC,CAAC,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"}
|
|
@@ -1 +1 @@
|
|
|
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":"
|
|
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,IAAG,CAAE,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,CAAC,CAAC,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.0.0-beta.
|
|
3
|
+
"version": "3.0.0-beta.728.1",
|
|
4
4
|
"gitHead": "a49cc7ea6b93ba384e77a4880ae48ac4a5635c14",
|
|
5
5
|
"source": "src/index.tsx",
|
|
6
6
|
"files": [
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"clean:build": "tamagui-build clean:build"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@tamagui/get-font-sized": "3.0.0-beta.
|
|
39
|
-
"@tamagui/helpers-tamagui": "3.0.0-beta.
|
|
40
|
-
"@tamagui/web": "3.0.0-beta.
|
|
38
|
+
"@tamagui/get-font-sized": "3.0.0-beta.728.1",
|
|
39
|
+
"@tamagui/helpers-tamagui": "3.0.0-beta.728.1",
|
|
40
|
+
"@tamagui/web": "3.0.0-beta.728.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@tamagui/build": "3.0.0-beta.
|
|
44
|
-
"react": "
|
|
43
|
+
"@tamagui/build": "3.0.0-beta.728.1",
|
|
44
|
+
"react": "19.2.3"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
47
|
"react": ">=19"
|