@tamagui/text 1.0.1-beta.41 → 1.0.1-beta.44

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.
@@ -0,0 +1,79 @@
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: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+ var Headings_exports = {};
19
+ __export(Headings_exports, {
20
+ H1: () => H1,
21
+ H2: () => H2,
22
+ H3: () => H3,
23
+ H4: () => H4,
24
+ H5: () => H5,
25
+ H6: () => H6,
26
+ Heading: () => Heading
27
+ });
28
+ module.exports = __toCommonJS(Headings_exports);
29
+ var import_core = require("@tamagui/core");
30
+ var import_Paragraph = require("./Paragraph");
31
+ const Heading = (0, import_core.styled)(import_Paragraph.Paragraph, {
32
+ tag: "span",
33
+ name: "Heading",
34
+ accessibilityRole: "header",
35
+ fontFamily: "$heading",
36
+ size: "$8",
37
+ margin: 0
38
+ });
39
+ const H1 = (0, import_core.styled)(Heading, {
40
+ name: "H1",
41
+ tag: "h1",
42
+ size: "$10"
43
+ });
44
+ const H2 = (0, import_core.styled)(Heading, {
45
+ name: "H2",
46
+ tag: "h2",
47
+ size: "$9"
48
+ });
49
+ const H3 = (0, import_core.styled)(Heading, {
50
+ name: "H3",
51
+ tag: "h3",
52
+ size: "$8"
53
+ });
54
+ const H4 = (0, import_core.styled)(Heading, {
55
+ name: "H4",
56
+ tag: "h4",
57
+ size: "$7"
58
+ });
59
+ const H5 = (0, import_core.styled)(Heading, {
60
+ name: "H5",
61
+ tag: "h5",
62
+ size: "$6"
63
+ });
64
+ const H6 = (0, import_core.styled)(Heading, {
65
+ name: "H6",
66
+ tag: "h6",
67
+ size: "$5"
68
+ });
69
+ // Annotate the CommonJS export names for ESM import in node:
70
+ 0 && (module.exports = {
71
+ H1,
72
+ H2,
73
+ H3,
74
+ H4,
75
+ H5,
76
+ H6,
77
+ Heading
78
+ });
79
+ //# sourceMappingURL=Headings.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Headings.tsx"],
4
+ "sourcesContent": ["import { styled } from '@tamagui/core'\n\nimport { Paragraph } from './Paragraph'\n\nexport const Heading = styled(Paragraph, {\n tag: 'span',\n name: 'Heading',\n accessibilityRole: 'header',\n fontFamily: '$heading',\n size: '$8',\n margin: 0,\n})\n\nexport const H1 = styled(Heading, {\n name: 'H1',\n tag: 'h1',\n size: '$10',\n})\n\nexport const H2 = styled(Heading, {\n name: 'H2',\n tag: 'h2',\n size: '$9',\n})\n\nexport const H3 = styled(Heading, {\n name: 'H3',\n tag: 'h3',\n size: '$8',\n})\n\nexport const H4 = styled(Heading, {\n name: 'H4',\n tag: 'h4',\n size: '$7',\n})\n\nexport const H5 = styled(Heading, {\n name: 'H5',\n tag: 'h5',\n size: '$6',\n})\n\nexport const H6 = styled(Heading, {\n name: 'H6',\n tag: 'h6',\n size: '$5',\n})\n"],
5
+ "mappings": ";;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAAuB;AAEvB,uBAA0B;AAEnB,MAAM,UAAU,wBAAO,4BAAW;AAAA,EACvC,KAAK;AAAA,EACL,MAAM;AAAA,EACN,mBAAmB;AAAA,EACnB,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,QAAQ;AACV,CAAC;AAEM,MAAM,KAAK,wBAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,wBAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,wBAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,wBAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,wBAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,wBAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;",
6
+ "names": []
7
+ }
package/dist/cjs/index.js CHANGED
@@ -16,4 +16,5 @@ var src_exports = {};
16
16
  module.exports = __toCommonJS(src_exports);
17
17
  __reExport(src_exports, require("./SizableText"), module.exports);
18
18
  __reExport(src_exports, require("./Paragraph"), module.exports);
19
+ __reExport(src_exports, require("./Headings"), module.exports);
19
20
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "sourcesContent": ["export * from './SizableText'\nexport * from './Paragraph'\n"],
5
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,0BAAd;AACA,wBAAc,wBADd;",
4
+ "sourcesContent": ["export * from './SizableText'\nexport * from './Paragraph'\nexport * from './Headings'\n"],
5
+ "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA,wBAAc,0BAAd;AACA,wBAAc,wBADd;AAEA,wBAAc,uBAFd;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,50 @@
1
+ import { styled } from "@tamagui/core";
2
+ import { Paragraph } from "./Paragraph";
3
+ const Heading = styled(Paragraph, {
4
+ tag: "span",
5
+ name: "Heading",
6
+ accessibilityRole: "header",
7
+ fontFamily: "$heading",
8
+ size: "$8",
9
+ margin: 0
10
+ });
11
+ const H1 = styled(Heading, {
12
+ name: "H1",
13
+ tag: "h1",
14
+ size: "$10"
15
+ });
16
+ const H2 = styled(Heading, {
17
+ name: "H2",
18
+ tag: "h2",
19
+ size: "$9"
20
+ });
21
+ const H3 = styled(Heading, {
22
+ name: "H3",
23
+ tag: "h3",
24
+ size: "$8"
25
+ });
26
+ const H4 = styled(Heading, {
27
+ name: "H4",
28
+ tag: "h4",
29
+ size: "$7"
30
+ });
31
+ const H5 = styled(Heading, {
32
+ name: "H5",
33
+ tag: "h5",
34
+ size: "$6"
35
+ });
36
+ const H6 = styled(Heading, {
37
+ name: "H6",
38
+ tag: "h6",
39
+ size: "$5"
40
+ });
41
+ export {
42
+ H1,
43
+ H2,
44
+ H3,
45
+ H4,
46
+ H5,
47
+ H6,
48
+ Heading
49
+ };
50
+ //# sourceMappingURL=Headings.js.map
@@ -0,0 +1,7 @@
1
+ {
2
+ "version": 3,
3
+ "sources": ["../../src/Headings.tsx"],
4
+ "sourcesContent": ["import { styled } from '@tamagui/core'\n\nimport { Paragraph } from './Paragraph'\n\nexport const Heading = styled(Paragraph, {\n tag: 'span',\n name: 'Heading',\n accessibilityRole: 'header',\n fontFamily: '$heading',\n size: '$8',\n margin: 0,\n})\n\nexport const H1 = styled(Heading, {\n name: 'H1',\n tag: 'h1',\n size: '$10',\n})\n\nexport const H2 = styled(Heading, {\n name: 'H2',\n tag: 'h2',\n size: '$9',\n})\n\nexport const H3 = styled(Heading, {\n name: 'H3',\n tag: 'h3',\n size: '$8',\n})\n\nexport const H4 = styled(Heading, {\n name: 'H4',\n tag: 'h4',\n size: '$7',\n})\n\nexport const H5 = styled(Heading, {\n name: 'H5',\n tag: 'h5',\n size: '$6',\n})\n\nexport const H6 = styled(Heading, {\n name: 'H6',\n tag: 'h6',\n size: '$5',\n})\n"],
5
+ "mappings": "AAAA;AAEA;AAEO,MAAM,UAAU,OAAO,WAAW;AAAA,EACvC,KAAK;AAAA,EACL,MAAM;AAAA,EACN,mBAAmB;AAAA,EACnB,YAAY;AAAA,EACZ,MAAM;AAAA,EACN,QAAQ;AACV,CAAC;AAEM,MAAM,KAAK,OAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,OAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,OAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,OAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,OAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;AAEM,MAAM,KAAK,OAAO,SAAS;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,MAAM;AACR,CAAC;",
6
+ "names": []
7
+ }
package/dist/esm/index.js CHANGED
@@ -1,3 +1,4 @@
1
1
  export * from "./SizableText";
2
2
  export * from "./Paragraph";
3
+ export * from "./Headings";
3
4
  //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/index.tsx"],
4
- "sourcesContent": ["export * from './SizableText'\nexport * from './Paragraph'\n"],
5
- "mappings": "AAAA;AACA;",
4
+ "sourcesContent": ["export * from './SizableText'\nexport * from './Paragraph'\nexport * from './Headings'\n"],
5
+ "mappings": "AAAA;AACA;AACA;",
6
6
  "names": []
7
7
  }
@@ -0,0 +1,49 @@
1
+ import { styled } from "@tamagui/core";
2
+ import { Paragraph } from "./Paragraph";
3
+ const Heading = styled(Paragraph, {
4
+ tag: "span",
5
+ name: "Heading",
6
+ accessibilityRole: "header",
7
+ fontFamily: "$heading",
8
+ size: "$8",
9
+ margin: 0
10
+ });
11
+ const H1 = styled(Heading, {
12
+ name: "H1",
13
+ tag: "h1",
14
+ size: "$10"
15
+ });
16
+ const H2 = styled(Heading, {
17
+ name: "H2",
18
+ tag: "h2",
19
+ size: "$9"
20
+ });
21
+ const H3 = styled(Heading, {
22
+ name: "H3",
23
+ tag: "h3",
24
+ size: "$8"
25
+ });
26
+ const H4 = styled(Heading, {
27
+ name: "H4",
28
+ tag: "h4",
29
+ size: "$7"
30
+ });
31
+ const H5 = styled(Heading, {
32
+ name: "H5",
33
+ tag: "h5",
34
+ size: "$6"
35
+ });
36
+ const H6 = styled(Heading, {
37
+ name: "H6",
38
+ tag: "h6",
39
+ size: "$5"
40
+ });
41
+ export {
42
+ H1,
43
+ H2,
44
+ H3,
45
+ H4,
46
+ H5,
47
+ H6,
48
+ Heading
49
+ };
package/dist/jsx/index.js CHANGED
@@ -1,2 +1,3 @@
1
1
  export * from "./SizableText";
2
2
  export * from "./Paragraph";
3
+ export * from "./Headings";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/text",
3
- "version": "1.0.1-beta.41",
3
+ "version": "1.0.1-beta.44",
4
4
  "sideEffects": false,
5
5
  "source": "src/index.ts",
6
6
  "types": "./types/index.d.ts",
@@ -16,14 +16,14 @@
16
16
  "watch": "tamagui-build --watch"
17
17
  },
18
18
  "dependencies": {
19
- "@tamagui/core": "^1.0.1-beta.41"
19
+ "@tamagui/core": "^1.0.1-beta.44"
20
20
  },
21
21
  "peerDependencies": {
22
22
  "react": "*",
23
23
  "react-dom": "*"
24
24
  },
25
25
  "devDependencies": {
26
- "@tamagui/build": "^1.0.1-beta.41",
26
+ "@tamagui/build": "^1.0.1-beta.44",
27
27
  "react": "*",
28
28
  "react-dom": "*"
29
29
  },