@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
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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,QAAQ,iBAAiB,WAAW;CAC/D,QAAQ;CACR,aAAa;CACb,MAAM;CACN,YAAY;CACZ,QAAQ;CACR,MAAM;AACR,CAAC;AACD,IAAI,MAAM,GAAG,WAAW,QAAQ,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,QAAQ,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,QAAQ,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,QAAQ,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,QAAQ,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,QAAQ,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,37 +1,34 @@
|
|
|
1
|
+
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
6
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
for (var name in all) __defProp(target, name, {
|
|
8
|
+
get: all[name],
|
|
9
|
+
enumerable: true
|
|
10
|
+
});
|
|
10
11
|
};
|
|
11
12
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
19
20
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
21
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
22
|
var Paragraph_exports = {};
|
|
24
|
-
__export(Paragraph_exports, {
|
|
25
|
-
Paragraph: () => Paragraph
|
|
26
|
-
});
|
|
23
|
+
__export(Paragraph_exports, { Paragraph: () => Paragraph });
|
|
27
24
|
module.exports = __toCommonJS(Paragraph_exports);
|
|
28
25
|
var import_web = require("@tamagui/web");
|
|
29
26
|
var import_SizableText = require("./SizableText.cjs");
|
|
30
27
|
const Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
});
|
|
28
|
+
displayName: "Paragraph",
|
|
29
|
+
render: "p",
|
|
30
|
+
userSelect: "auto",
|
|
31
|
+
color: "color",
|
|
32
|
+
whiteSpace: "normal",
|
|
33
|
+
size: true
|
|
34
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var Paragraph_exports = {};
|
|
25
|
+
__export(Paragraph_exports, { Paragraph: () => Paragraph });
|
|
26
|
+
module.exports = __toCommonJS(Paragraph_exports);
|
|
27
|
+
var import_web = require("@tamagui/web");
|
|
28
|
+
var import_SizableText = require("./SizableText.native.js");
|
|
29
|
+
var Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {
|
|
30
|
+
displayName: "Paragraph",
|
|
31
|
+
render: "p",
|
|
32
|
+
userSelect: "auto",
|
|
33
|
+
color: "color",
|
|
34
|
+
whiteSpace: "normal",
|
|
35
|
+
size: true
|
|
36
|
+
});
|
|
@@ -1,40 +1,38 @@
|
|
|
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 __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
12
13
|
};
|
|
13
14
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
21
22
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
24
|
var Paragraph_exports = {};
|
|
26
|
-
__export(Paragraph_exports, {
|
|
27
|
-
Paragraph: () => Paragraph
|
|
28
|
-
});
|
|
25
|
+
__export(Paragraph_exports, { Paragraph: () => Paragraph });
|
|
29
26
|
module.exports = __toCommonJS(Paragraph_exports);
|
|
30
27
|
var import_web = require("@tamagui/web");
|
|
31
28
|
var import_SizableText = require("./SizableText.native.js");
|
|
32
29
|
var Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
30
|
+
displayName: "Paragraph",
|
|
31
|
+
render: "p",
|
|
32
|
+
userSelect: "auto",
|
|
33
|
+
color: "color",
|
|
34
|
+
whiteSpace: "normal",
|
|
35
|
+
size: true
|
|
39
36
|
});
|
|
37
|
+
|
|
40
38
|
//# sourceMappingURL=Paragraph.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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,QAAQ,mBAAmB,aAAa;CACrE,aAAa;CACb,QAAQ;CACR,YAAY;CACZ,OAAO;CACP,YAAY;CACZ,MAAM;AACR,CAAC"}
|
package/dist/cjs/SizableText.cjs
CHANGED
|
@@ -1,59 +1,43 @@
|
|
|
1
|
+
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
6
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
for (var name in all) __defProp(target, name, {
|
|
8
|
+
get: all[name],
|
|
9
|
+
enumerable: true
|
|
10
|
+
});
|
|
10
11
|
};
|
|
11
12
|
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
19
20
|
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
21
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
23
22
|
var SizableText_exports = {};
|
|
24
|
-
__export(SizableText_exports, {
|
|
25
|
-
SizableText: () => SizableText
|
|
26
|
-
});
|
|
23
|
+
__export(SizableText_exports, { SizableText: () => SizableText });
|
|
27
24
|
module.exports = __toCommonJS(SizableText_exports);
|
|
28
25
|
var import_get_font_sized = require("@tamagui/get-font-sized");
|
|
29
26
|
var import_web = require("@tamagui/web");
|
|
30
27
|
const SizableText = (0, import_web.styled)(import_web.Text, {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
size: "$true",
|
|
37
|
-
color: "$color"
|
|
38
|
-
}
|
|
39
|
-
},
|
|
40
|
-
size: import_get_font_sized.getFontSized
|
|
41
|
-
},
|
|
42
|
-
defaultVariants: {
|
|
43
|
-
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
44
|
-
}
|
|
28
|
+
displayName: "SizableText",
|
|
29
|
+
fontFamily: "body",
|
|
30
|
+
color: "color",
|
|
31
|
+
size: true,
|
|
32
|
+
variants: { size: import_get_font_sized.getFontSized }
|
|
45
33
|
});
|
|
46
|
-
SizableText.staticConfig.inlineProps = /* @__PURE__ */new Set([...
|
|
47
|
-
SizableText.staticConfig.variants.fontFamily = {
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
const size = sizeProp === "$true" && fontSizeProp ? fontSizeProp : extras.props["size"] || "$true";
|
|
57
|
-
return (0, import_get_font_sized.getFontSized)(size, extras);
|
|
58
|
-
}
|
|
59
|
-
};
|
|
34
|
+
SizableText.staticConfig.inlineProps = /* @__PURE__ */ new Set([...SizableText.staticConfig.inlineProps || [], "maxFontSizeMultiplier"]);
|
|
35
|
+
SizableText.staticConfig.variants.fontFamily = { any: (val, extras) => {
|
|
36
|
+
if (val === "inherit") {
|
|
37
|
+
return { fontFamily: "inherit" };
|
|
38
|
+
}
|
|
39
|
+
const sizeProp = extras.props["size"];
|
|
40
|
+
const fontSizeProp = extras.props["fontSize"];
|
|
41
|
+
const size = sizeProp === true && fontSizeProp ? fontSizeProp : extras.props["size"] ?? true;
|
|
42
|
+
return (0, import_get_font_sized.getFontSized)(size, extras);
|
|
43
|
+
} };
|
|
@@ -0,0 +1,46 @@
|
|
|
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 __export = (target, all) => {
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
13
|
+
};
|
|
14
|
+
var __copyProps = (to, from, except, desc) => {
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
22
|
+
};
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
24
|
+
var SizableText_exports = {};
|
|
25
|
+
__export(SizableText_exports, { SizableText: () => SizableText });
|
|
26
|
+
module.exports = __toCommonJS(SizableText_exports);
|
|
27
|
+
var import_get_font_sized = require("@tamagui/get-font-sized");
|
|
28
|
+
var import_web = require("@tamagui/web");
|
|
29
|
+
var SizableText = (0, import_web.styled)(import_web.Text, {
|
|
30
|
+
displayName: "SizableText",
|
|
31
|
+
fontFamily: "body",
|
|
32
|
+
color: "color",
|
|
33
|
+
size: true,
|
|
34
|
+
variants: { size: import_get_font_sized.getFontSized }
|
|
35
|
+
});
|
|
36
|
+
SizableText.staticConfig.inlineProps = /* @__PURE__ */ new Set([...SizableText.staticConfig.inlineProps || [], "maxFontSizeMultiplier"]);
|
|
37
|
+
SizableText.staticConfig.variants.fontFamily = { any: function(val, extras) {
|
|
38
|
+
if (val === "inherit") {
|
|
39
|
+
return { fontFamily: "inherit" };
|
|
40
|
+
}
|
|
41
|
+
var sizeProp = extras.props["size"];
|
|
42
|
+
var fontSizeProp = extras.props["fontSize"];
|
|
43
|
+
var _extras_props_size;
|
|
44
|
+
var size = sizeProp === true && fontSizeProp ? fontSizeProp : (_extras_props_size = extras.props["size"]) !== null && _extras_props_size !== void 0 ? _extras_props_size : true;
|
|
45
|
+
return (0, import_get_font_sized.getFontSized)(size, extras);
|
|
46
|
+
} };
|
|
@@ -1,62 +1,48 @@
|
|
|
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 __export = (target, all) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
9
|
+
for (var name in all) __defProp(target, name, {
|
|
10
|
+
get: all[name],
|
|
11
|
+
enumerable: true
|
|
12
|
+
});
|
|
12
13
|
};
|
|
13
14
|
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
16
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
17
|
+
get: () => from[key],
|
|
18
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
return to;
|
|
21
22
|
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
23
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
25
24
|
var SizableText_exports = {};
|
|
26
|
-
__export(SizableText_exports, {
|
|
27
|
-
SizableText: () => SizableText
|
|
28
|
-
});
|
|
25
|
+
__export(SizableText_exports, { SizableText: () => SizableText });
|
|
29
26
|
module.exports = __toCommonJS(SizableText_exports);
|
|
30
27
|
var import_get_font_sized = require("@tamagui/get-font-sized");
|
|
31
28
|
var import_web = require("@tamagui/web");
|
|
32
29
|
var SizableText = (0, import_web.styled)(import_web.Text, {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
size: "$true",
|
|
39
|
-
color: "$color"
|
|
40
|
-
}
|
|
41
|
-
},
|
|
42
|
-
size: import_get_font_sized.getFontSized
|
|
43
|
-
},
|
|
44
|
-
defaultVariants: {
|
|
45
|
-
unstyled: process.env.TAMAGUI_HEADLESS === "1"
|
|
46
|
-
}
|
|
30
|
+
displayName: "SizableText",
|
|
31
|
+
fontFamily: "body",
|
|
32
|
+
color: "color",
|
|
33
|
+
size: true,
|
|
34
|
+
variants: { size: import_get_font_sized.getFontSized }
|
|
47
35
|
});
|
|
48
|
-
SizableText.staticConfig.inlineProps = /* @__PURE__ */new Set([...
|
|
49
|
-
SizableText.staticConfig.variants.fontFamily = {
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
}
|
|
61
|
-
};
|
|
36
|
+
SizableText.staticConfig.inlineProps = /* @__PURE__ */ new Set([...SizableText.staticConfig.inlineProps || [], "maxFontSizeMultiplier"]);
|
|
37
|
+
SizableText.staticConfig.variants.fontFamily = { any: function(val, extras) {
|
|
38
|
+
if (val === "inherit") {
|
|
39
|
+
return { fontFamily: "inherit" };
|
|
40
|
+
}
|
|
41
|
+
var sizeProp = extras.props["size"];
|
|
42
|
+
var fontSizeProp = extras.props["fontSize"];
|
|
43
|
+
var _extras_props_size;
|
|
44
|
+
var size = sizeProp === true && fontSizeProp ? fontSizeProp : (_extras_props_size = extras.props["size"]) !== null && _extras_props_size !== void 0 ? _extras_props_size : true;
|
|
45
|
+
return (0, import_get_font_sized.getFontSized)(size, extras);
|
|
46
|
+
} };
|
|
47
|
+
|
|
62
48
|
//# sourceMappingURL=SizableText.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
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,QAAQ,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,cAAc,MAAM,MAAM;AAC7D,EACF"}
|
package/dist/cjs/index.cjs
CHANGED
|
@@ -1,20 +1,19 @@
|
|
|
1
|
+
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
6
|
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
13
14
|
};
|
|
14
15
|
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
16
|
-
value: true
|
|
17
|
-
}), mod);
|
|
16
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
17
|
var index_exports = {};
|
|
19
18
|
module.exports = __toCommonJS(index_exports);
|
|
20
19
|
__reExport(index_exports, require("./Emphasis.cjs"), module.exports);
|
|
@@ -22,4 +21,4 @@ __reExport(index_exports, require("./SizableText.cjs"), module.exports);
|
|
|
22
21
|
__reExport(index_exports, require("./Paragraph.cjs"), module.exports);
|
|
23
22
|
__reExport(index_exports, require("./Headings.cjs"), module.exports);
|
|
24
23
|
__reExport(index_exports, require("./wrapChildrenInText.cjs"), module.exports);
|
|
25
|
-
__reExport(index_exports, require("./types.cjs"), module.exports);
|
|
24
|
+
__reExport(index_exports, require("./types.cjs"), module.exports);
|
|
@@ -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/cjs/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,"names":["
|
|
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
|
@@ -1,18 +1,17 @@
|
|
|
1
|
+
|
|
1
2
|
var __defProp = Object.defineProperty;
|
|
2
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
5
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
6
|
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
9
|
+
get: () => from[key],
|
|
10
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
return to;
|
|
13
14
|
};
|
|
14
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
15
|
-
value: true
|
|
16
|
-
}), mod);
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
17
16
|
var types_exports = {};
|
|
18
|
-
module.exports = __toCommonJS(types_exports);
|
|
17
|
+
module.exports = __toCommonJS(types_exports);
|