@tamagui/text 1.114.3 → 1.115.0
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/Headings.cjs +71 -0
- package/dist/cjs/Paragraph.cjs +35 -0
- package/dist/cjs/{SizableText.js → SizableText.cjs} +21 -13
- package/dist/cjs/index.cjs +22 -0
- package/dist/cjs/types.cjs +16 -0
- package/dist/cjs/{wrapChildrenInText.js → wrapChildrenInText.cjs} +31 -20
- package/package.json +7 -6
- package/dist/cjs/Headings.js +0 -59
- package/dist/cjs/Paragraph.js +0 -29
- package/dist/cjs/index.js +0 -19
- package/dist/cjs/types.js +0 -14
- /package/dist/cjs/{Headings.js.map → Headings.cjs.map} +0 -0
- /package/dist/cjs/{Paragraph.js.map → Paragraph.cjs.map} +0 -0
- /package/dist/cjs/{SizableText.js.map → SizableText.cjs.map} +0 -0
- /package/dist/cjs/{index.js.map → index.cjs.map} +0 -0
- /package/dist/cjs/{types.js.map → types.cjs.map} +0 -0
- /package/dist/cjs/{wrapChildrenInText.js.map → wrapChildrenInText.cjs.map} +0 -0
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var Headings_exports = {};
|
|
22
|
+
__export(Headings_exports, {
|
|
23
|
+
H1: () => H1,
|
|
24
|
+
H2: () => H2,
|
|
25
|
+
H3: () => H3,
|
|
26
|
+
H4: () => H4,
|
|
27
|
+
H5: () => H5,
|
|
28
|
+
H6: () => H6,
|
|
29
|
+
Heading: () => Heading
|
|
30
|
+
});
|
|
31
|
+
module.exports = __toCommonJS(Headings_exports);
|
|
32
|
+
var import_web = require("@tamagui/web"),
|
|
33
|
+
import_Paragraph = require("./Paragraph.cjs");
|
|
34
|
+
const Heading = (0, import_web.styled)(import_Paragraph.Paragraph, {
|
|
35
|
+
tag: "span",
|
|
36
|
+
name: "Heading",
|
|
37
|
+
accessibilityRole: "header",
|
|
38
|
+
fontFamily: "$heading",
|
|
39
|
+
size: "$8",
|
|
40
|
+
margin: 0
|
|
41
|
+
}),
|
|
42
|
+
H1 = (0, import_web.styled)(Heading, {
|
|
43
|
+
name: "H1",
|
|
44
|
+
tag: "h1",
|
|
45
|
+
size: "$10"
|
|
46
|
+
}),
|
|
47
|
+
H2 = (0, import_web.styled)(Heading, {
|
|
48
|
+
name: "H2",
|
|
49
|
+
tag: "h2",
|
|
50
|
+
size: "$9"
|
|
51
|
+
}),
|
|
52
|
+
H3 = (0, import_web.styled)(Heading, {
|
|
53
|
+
name: "H3",
|
|
54
|
+
tag: "h3",
|
|
55
|
+
size: "$8"
|
|
56
|
+
}),
|
|
57
|
+
H4 = (0, import_web.styled)(Heading, {
|
|
58
|
+
name: "H4",
|
|
59
|
+
tag: "h4",
|
|
60
|
+
size: "$7"
|
|
61
|
+
}),
|
|
62
|
+
H5 = (0, import_web.styled)(Heading, {
|
|
63
|
+
name: "H5",
|
|
64
|
+
tag: "h5",
|
|
65
|
+
size: "$6"
|
|
66
|
+
}),
|
|
67
|
+
H6 = (0, import_web.styled)(Heading, {
|
|
68
|
+
name: "H6",
|
|
69
|
+
tag: "h6",
|
|
70
|
+
size: "$5"
|
|
71
|
+
});
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __export = (target, all) => {
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
21
|
+
var Paragraph_exports = {};
|
|
22
|
+
__export(Paragraph_exports, {
|
|
23
|
+
Paragraph: () => Paragraph
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(Paragraph_exports);
|
|
26
|
+
var import_web = require("@tamagui/web"),
|
|
27
|
+
import_SizableText = require("./SizableText.cjs");
|
|
28
|
+
const Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {
|
|
29
|
+
name: "Paragraph",
|
|
30
|
+
tag: "p",
|
|
31
|
+
userSelect: "auto",
|
|
32
|
+
color: "$color",
|
|
33
|
+
size: "$true",
|
|
34
|
+
whiteSpace: "normal"
|
|
35
|
+
});
|
|
@@ -3,21 +3,28 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
|
3
3
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
4
|
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
5
|
var __export = (target, all) => {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
for (var name in all) __defProp(target, name, {
|
|
7
|
+
get: all[name],
|
|
8
|
+
enumerable: !0
|
|
9
|
+
});
|
|
10
|
+
},
|
|
11
|
+
__copyProps = (to, from, except, desc) => {
|
|
12
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
13
|
+
get: () => from[key],
|
|
14
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
15
|
+
});
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
19
|
+
value: !0
|
|
20
|
+
}), mod);
|
|
15
21
|
var SizableText_exports = {};
|
|
16
22
|
__export(SizableText_exports, {
|
|
17
23
|
SizableText: () => SizableText
|
|
18
24
|
});
|
|
19
25
|
module.exports = __toCommonJS(SizableText_exports);
|
|
20
|
-
var import_get_font_sized = require("@tamagui/get-font-sized"),
|
|
26
|
+
var import_get_font_sized = require("@tamagui/get-font-sized"),
|
|
27
|
+
import_web = require("@tamagui/web");
|
|
21
28
|
const SizableText = (0, import_web.styled)(import_web.Text, {
|
|
22
29
|
name: "SizableText",
|
|
23
30
|
fontFamily: "$body",
|
|
@@ -36,8 +43,9 @@ const SizableText = (0, import_web.styled)(import_web.Text, {
|
|
|
36
43
|
});
|
|
37
44
|
SizableText.staticConfig.variants.fontFamily = {
|
|
38
45
|
"...": (_val, extras) => {
|
|
39
|
-
const sizeProp = extras.props.size,
|
|
46
|
+
const sizeProp = extras.props.size,
|
|
47
|
+
fontSizeProp = extras.props.fontSize,
|
|
48
|
+
size = sizeProp === "$true" && fontSizeProp ? fontSizeProp : extras.props.size || "$true";
|
|
40
49
|
return (0, import_get_font_sized.getFontSized)(size, extras);
|
|
41
50
|
}
|
|
42
|
-
};
|
|
43
|
-
//# sourceMappingURL=SizableText.js.map
|
|
51
|
+
};
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
},
|
|
12
|
+
__reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
13
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
14
|
+
value: !0
|
|
15
|
+
}), mod);
|
|
16
|
+
var src_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(src_exports);
|
|
18
|
+
__reExport(src_exports, require("./SizableText.cjs"), module.exports);
|
|
19
|
+
__reExport(src_exports, require("./Paragraph.cjs"), module.exports);
|
|
20
|
+
__reExport(src_exports, require("./Headings.cjs"), module.exports);
|
|
21
|
+
__reExport(src_exports, require("./wrapChildrenInText.cjs"), module.exports);
|
|
22
|
+
__reExport(src_exports, require("./types.cjs"), module.exports);
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
var __defProp = Object.defineProperty;
|
|
2
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
+
var __copyProps = (to, from, except, desc) => {
|
|
6
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
7
|
+
get: () => from[key],
|
|
8
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
9
|
+
});
|
|
10
|
+
return to;
|
|
11
|
+
};
|
|
12
|
+
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
13
|
+
value: !0
|
|
14
|
+
}), mod);
|
|
15
|
+
var types_exports = {};
|
|
16
|
+
module.exports = __toCommonJS(types_exports);
|
|
@@ -2,33 +2,42 @@ var __create = Object.create;
|
|
|
2
2
|
var __defProp = Object.defineProperty;
|
|
3
3
|
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
4
|
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
-
var __getProtoOf = Object.getPrototypeOf,
|
|
5
|
+
var __getProtoOf = Object.getPrototypeOf,
|
|
6
|
+
__hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
7
|
var __export = (target, all) => {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
for (var name in all) __defProp(target, name, {
|
|
9
|
+
get: all[name],
|
|
10
|
+
enumerable: !0
|
|
11
|
+
});
|
|
12
|
+
},
|
|
13
|
+
__copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
|
|
15
|
+
get: () => from[key],
|
|
16
|
+
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
17
|
+
});
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
15
20
|
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
16
21
|
// If the importer is in node compatibility mode or this is not an ESM
|
|
17
22
|
// file that has been converted to a CommonJS file using a Babel-
|
|
18
23
|
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
19
24
|
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
20
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
21
|
-
|
|
22
|
-
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", {
|
|
26
|
+
value: mod,
|
|
27
|
+
enumerable: !0
|
|
28
|
+
}) : target, mod)),
|
|
29
|
+
__toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
30
|
+
value: !0
|
|
31
|
+
}), mod);
|
|
23
32
|
var wrapChildrenInText_exports = {};
|
|
24
33
|
__export(wrapChildrenInText_exports, {
|
|
25
34
|
wrapChildrenInText: () => wrapChildrenInText
|
|
26
35
|
});
|
|
27
36
|
module.exports = __toCommonJS(wrapChildrenInText_exports);
|
|
28
|
-
var import_react = __toESM(require("react")),
|
|
37
|
+
var import_react = __toESM(require("react")),
|
|
38
|
+
import_jsx_runtime =
|
|
29
39
|
// so "data-disable-theme" is a hack to fix themeInverse, don't ask me why
|
|
30
|
-
require("react/jsx-runtime")
|
|
31
|
-
);
|
|
40
|
+
require("react/jsx-runtime");
|
|
32
41
|
function wrapChildrenInText(TextComponent, propsIn, extraProps) {
|
|
33
42
|
const {
|
|
34
43
|
children,
|
|
@@ -44,11 +53,13 @@ function wrapChildrenInText(TextComponent, propsIn, extraProps) {
|
|
|
44
53
|
fontStyle,
|
|
45
54
|
maxFontSizeMultiplier
|
|
46
55
|
} = propsIn;
|
|
47
|
-
if (noTextWrap || !children)
|
|
48
|
-
return [children];
|
|
56
|
+
if (noTextWrap || !children) return [children];
|
|
49
57
|
const props = {
|
|
50
58
|
...extraProps
|
|
51
59
|
};
|
|
52
|
-
return color && (props.color = color), fontFamily && (props.fontFamily = fontFamily), fontSize && (props.fontSize = fontSize), fontWeight && (props.fontWeight = fontWeight), letterSpacing && (props.letterSpacing = letterSpacing), textAlign && (props.textAlign = textAlign), size && (props.size = size), fontStyle && (props.fontStyle = fontStyle), maxFontSizeMultiplier && (props.maxFontSizeMultiplier = maxFontSizeMultiplier), import_react.default.Children.toArray(children).map((child, index) => typeof child == "string" ? /* @__PURE__ */
|
|
53
|
-
|
|
54
|
-
|
|
60
|
+
return color && (props.color = color), fontFamily && (props.fontFamily = fontFamily), fontSize && (props.fontSize = fontSize), fontWeight && (props.fontWeight = fontWeight), letterSpacing && (props.letterSpacing = letterSpacing), textAlign && (props.textAlign = textAlign), size && (props.size = size), fontStyle && (props.fontStyle = fontStyle), maxFontSizeMultiplier && (props.maxFontSizeMultiplier = maxFontSizeMultiplier), import_react.default.Children.toArray(children).map((child, index) => typeof child == "string" ? /* @__PURE__ */(0, import_jsx_runtime.jsx)(TextComponent, {
|
|
61
|
+
...props,
|
|
62
|
+
...textProps,
|
|
63
|
+
children: child
|
|
64
|
+
}, index) : child);
|
|
65
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@tamagui/text",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.115.0",
|
|
4
4
|
"sideEffects": [
|
|
5
5
|
"*.css"
|
|
6
6
|
],
|
|
@@ -29,16 +29,17 @@
|
|
|
29
29
|
"react-native": "./dist/cjs/index.native.js",
|
|
30
30
|
"types": "./types/index.d.ts",
|
|
31
31
|
"import": "./dist/esm/index.mjs",
|
|
32
|
-
"require": "./dist/cjs/index.
|
|
32
|
+
"require": "./dist/cjs/index.cjs",
|
|
33
|
+
"default": "./dist/cjs/index.native.js"
|
|
33
34
|
}
|
|
34
35
|
},
|
|
35
36
|
"dependencies": {
|
|
36
|
-
"@tamagui/get-font-sized": "1.
|
|
37
|
-
"@tamagui/helpers-tamagui": "1.
|
|
38
|
-
"@tamagui/web": "1.
|
|
37
|
+
"@tamagui/get-font-sized": "1.115.0",
|
|
38
|
+
"@tamagui/helpers-tamagui": "1.115.0",
|
|
39
|
+
"@tamagui/web": "1.115.0"
|
|
39
40
|
},
|
|
40
41
|
"devDependencies": {
|
|
41
|
-
"@tamagui/build": "1.
|
|
42
|
+
"@tamagui/build": "1.115.0",
|
|
42
43
|
"react": "^18.2.0 || ^19.0.0"
|
|
43
44
|
},
|
|
44
45
|
"publishConfig": {
|
package/dist/cjs/Headings.js
DELETED
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var Headings_exports = {};
|
|
16
|
-
__export(Headings_exports, {
|
|
17
|
-
H1: () => H1,
|
|
18
|
-
H2: () => H2,
|
|
19
|
-
H3: () => H3,
|
|
20
|
-
H4: () => H4,
|
|
21
|
-
H5: () => H5,
|
|
22
|
-
H6: () => H6,
|
|
23
|
-
Heading: () => Heading
|
|
24
|
-
});
|
|
25
|
-
module.exports = __toCommonJS(Headings_exports);
|
|
26
|
-
var import_web = require("@tamagui/web"), import_Paragraph = require("./Paragraph");
|
|
27
|
-
const Heading = (0, import_web.styled)(import_Paragraph.Paragraph, {
|
|
28
|
-
tag: "span",
|
|
29
|
-
name: "Heading",
|
|
30
|
-
accessibilityRole: "header",
|
|
31
|
-
fontFamily: "$heading",
|
|
32
|
-
size: "$8",
|
|
33
|
-
margin: 0
|
|
34
|
-
}), H1 = (0, import_web.styled)(Heading, {
|
|
35
|
-
name: "H1",
|
|
36
|
-
tag: "h1",
|
|
37
|
-
size: "$10"
|
|
38
|
-
}), H2 = (0, import_web.styled)(Heading, {
|
|
39
|
-
name: "H2",
|
|
40
|
-
tag: "h2",
|
|
41
|
-
size: "$9"
|
|
42
|
-
}), H3 = (0, import_web.styled)(Heading, {
|
|
43
|
-
name: "H3",
|
|
44
|
-
tag: "h3",
|
|
45
|
-
size: "$8"
|
|
46
|
-
}), H4 = (0, import_web.styled)(Heading, {
|
|
47
|
-
name: "H4",
|
|
48
|
-
tag: "h4",
|
|
49
|
-
size: "$7"
|
|
50
|
-
}), H5 = (0, import_web.styled)(Heading, {
|
|
51
|
-
name: "H5",
|
|
52
|
-
tag: "h5",
|
|
53
|
-
size: "$6"
|
|
54
|
-
}), H6 = (0, import_web.styled)(Heading, {
|
|
55
|
-
name: "H6",
|
|
56
|
-
tag: "h6",
|
|
57
|
-
size: "$5"
|
|
58
|
-
});
|
|
59
|
-
//# sourceMappingURL=Headings.js.map
|
package/dist/cjs/Paragraph.js
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all)
|
|
7
|
-
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
8
|
-
}, __copyProps = (to, from, except, desc) => {
|
|
9
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
10
|
-
for (let key of __getOwnPropNames(from))
|
|
11
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
12
|
-
return to;
|
|
13
|
-
};
|
|
14
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
15
|
-
var Paragraph_exports = {};
|
|
16
|
-
__export(Paragraph_exports, {
|
|
17
|
-
Paragraph: () => Paragraph
|
|
18
|
-
});
|
|
19
|
-
module.exports = __toCommonJS(Paragraph_exports);
|
|
20
|
-
var import_web = require("@tamagui/web"), import_SizableText = require("./SizableText");
|
|
21
|
-
const Paragraph = (0, import_web.styled)(import_SizableText.SizableText, {
|
|
22
|
-
name: "Paragraph",
|
|
23
|
-
tag: "p",
|
|
24
|
-
userSelect: "auto",
|
|
25
|
-
color: "$color",
|
|
26
|
-
size: "$true",
|
|
27
|
-
whiteSpace: "normal"
|
|
28
|
-
});
|
|
29
|
-
//# sourceMappingURL=Paragraph.js.map
|
package/dist/cjs/index.js
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
9
|
-
return to;
|
|
10
|
-
}, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
11
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
12
|
-
var src_exports = {};
|
|
13
|
-
module.exports = __toCommonJS(src_exports);
|
|
14
|
-
__reExport(src_exports, require("./SizableText"), module.exports);
|
|
15
|
-
__reExport(src_exports, require("./Paragraph"), module.exports);
|
|
16
|
-
__reExport(src_exports, require("./Headings"), module.exports);
|
|
17
|
-
__reExport(src_exports, require("./wrapChildrenInText"), module.exports);
|
|
18
|
-
__reExport(src_exports, require("./types"), module.exports);
|
|
19
|
-
//# sourceMappingURL=index.js.map
|
package/dist/cjs/types.js
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __copyProps = (to, from, except, desc) => {
|
|
6
|
-
if (from && typeof from == "object" || typeof from == "function")
|
|
7
|
-
for (let key of __getOwnPropNames(from))
|
|
8
|
-
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
9
|
-
return to;
|
|
10
|
-
};
|
|
11
|
-
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
12
|
-
var types_exports = {};
|
|
13
|
-
module.exports = __toCommonJS(types_exports);
|
|
14
|
-
//# sourceMappingURL=types.js.map
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|