@tamagui/elements 2.0.0-rc.3 → 2.0.0-rc.30

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/index.js CHANGED
@@ -3,15 +3,21 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
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);
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 index_exports = {};
16
22
  __export(index_exports, {
17
23
  Article: () => Article,
@@ -25,37 +31,42 @@ __export(index_exports, {
25
31
  module.exports = __toCommonJS(index_exports);
26
32
  var import_core = require("@tamagui/core");
27
33
  const Section = (0, import_core.styled)(import_core.View, {
28
- name: "Section",
29
- render: "section",
30
- flexDirection: "column",
31
- role: "region"
32
- }), Article = (0, import_core.styled)(import_core.View, {
33
- name: "Article",
34
- render: "article",
35
- flexDirection: "column"
36
- }), Main = (0, import_core.styled)(import_core.View, {
37
- name: "Main",
38
- render: "main",
39
- flexDirection: "column"
40
- }), Header = (0, import_core.styled)(import_core.View, {
41
- name: "Header",
42
- render: "header",
43
- role: "banner",
44
- flexDirection: "column"
45
- }), Aside = (0, import_core.styled)(import_core.View, {
46
- name: "Aside",
47
- render: "aside",
48
- flexDirection: "column"
49
- // accessibilityRole: 'complementary',
50
- }), Footer = (0, import_core.styled)(import_core.View, {
51
- name: "Footer",
52
- render: "footer",
53
- flexDirection: "column"
54
- // accessibilityRole: 'contentinfo',
55
- }), Nav = (0, import_core.styled)(import_core.View, {
56
- name: "Nav",
57
- render: "nav",
58
- flexDirection: "column"
59
- // accessibilityRole: 'navigation',
60
- });
61
- //# sourceMappingURL=index.js.map
34
+ name: "Section",
35
+ render: "section",
36
+ flexDirection: "column",
37
+ role: "region"
38
+ }),
39
+ Article = (0, import_core.styled)(import_core.View, {
40
+ name: "Article",
41
+ render: "article",
42
+ flexDirection: "column"
43
+ }),
44
+ Main = (0, import_core.styled)(import_core.View, {
45
+ name: "Main",
46
+ render: "main",
47
+ flexDirection: "column"
48
+ }),
49
+ Header = (0, import_core.styled)(import_core.View, {
50
+ name: "Header",
51
+ render: "header",
52
+ role: "banner",
53
+ flexDirection: "column"
54
+ }),
55
+ Aside = (0, import_core.styled)(import_core.View, {
56
+ name: "Aside",
57
+ render: "aside",
58
+ flexDirection: "column"
59
+ // accessibilityRole: 'complementary',
60
+ }),
61
+ Footer = (0, import_core.styled)(import_core.View, {
62
+ name: "Footer",
63
+ render: "footer",
64
+ flexDirection: "column"
65
+ // accessibilityRole: 'contentinfo',
66
+ }),
67
+ Nav = (0, import_core.styled)(import_core.View, {
68
+ name: "Nav",
69
+ render: "nav",
70
+ flexDirection: "column"
71
+ // accessibilityRole: 'navigation',
72
+ });
package/dist/esm/index.js CHANGED
@@ -1,45 +1,43 @@
1
1
  import { View, styled } from "@tamagui/core";
2
2
  const Section = styled(View, {
3
- name: "Section",
4
- render: "section",
5
- flexDirection: "column",
6
- role: "region"
7
- }), Article = styled(View, {
8
- name: "Article",
9
- render: "article",
10
- flexDirection: "column"
11
- }), Main = styled(View, {
12
- name: "Main",
13
- render: "main",
14
- flexDirection: "column"
15
- }), Header = styled(View, {
16
- name: "Header",
17
- render: "header",
18
- role: "banner",
19
- flexDirection: "column"
20
- }), Aside = styled(View, {
21
- name: "Aside",
22
- render: "aside",
23
- flexDirection: "column"
24
- // accessibilityRole: 'complementary',
25
- }), Footer = styled(View, {
26
- name: "Footer",
27
- render: "footer",
28
- flexDirection: "column"
29
- // accessibilityRole: 'contentinfo',
30
- }), Nav = styled(View, {
31
- name: "Nav",
32
- render: "nav",
33
- flexDirection: "column"
34
- // accessibilityRole: 'navigation',
35
- });
36
- export {
37
- Article,
38
- Aside,
39
- Footer,
40
- Header,
41
- Main,
42
- Nav,
43
- Section
44
- };
3
+ name: "Section",
4
+ render: "section",
5
+ flexDirection: "column",
6
+ role: "region"
7
+ }),
8
+ Article = styled(View, {
9
+ name: "Article",
10
+ render: "article",
11
+ flexDirection: "column"
12
+ }),
13
+ Main = styled(View, {
14
+ name: "Main",
15
+ render: "main",
16
+ flexDirection: "column"
17
+ }),
18
+ Header = styled(View, {
19
+ name: "Header",
20
+ render: "header",
21
+ role: "banner",
22
+ flexDirection: "column"
23
+ }),
24
+ Aside = styled(View, {
25
+ name: "Aside",
26
+ render: "aside",
27
+ flexDirection: "column"
28
+ // accessibilityRole: 'complementary',
29
+ }),
30
+ Footer = styled(View, {
31
+ name: "Footer",
32
+ render: "footer",
33
+ flexDirection: "column"
34
+ // accessibilityRole: 'contentinfo',
35
+ }),
36
+ Nav = styled(View, {
37
+ name: "Nav",
38
+ render: "nav",
39
+ flexDirection: "column"
40
+ // accessibilityRole: 'navigation',
41
+ });
42
+ export { Article, Aside, Footer, Header, Main, Nav, Section };
45
43
  //# sourceMappingURL=index.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": "AAAA,SAAS,MAAM,cAAc;AAEtB,MAAM,UAAU,OAAO,MAAM;AAAA,EAClC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,MAAM;AACR,CAAC,GAEY,UAAU,OAAO,MAAM;AAAA,EAClC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AACjB,CAAC,GAEY,OAAO,OAAO,MAAM;AAAA,EAC/B,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AACjB,CAAC,GAEY,SAAS,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,eAAe;AACjB,CAAC,GAEY,QAAQ,OAAO,MAAM;AAAA,EAChC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA;AAEjB,CAAC,GAEY,SAAS,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA;AAEjB,CAAC,GAEY,MAAM,OAAO,MAAM;AAAA,EAC9B,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA;AAEjB,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["View","styled","Section","name","render","flexDirection","role","Article","Main","Header","Aside","Footer","Nav"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,EAAMC,MAAA,QAAc;AAEtB,MAAMC,OAAA,GAAUD,MAAA,CAAOD,IAAA,EAAM;IAClCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;IACfC,IAAA,EAAM;EACR,CAAC;EAEYC,OAAA,GAAUN,MAAA,CAAOD,IAAA,EAAM;IAClCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;EACjB,CAAC;EAEYG,IAAA,GAAOP,MAAA,CAAOD,IAAA,EAAM;IAC/BG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;EACjB,CAAC;EAEYI,MAAA,GAASR,MAAA,CAAOD,IAAA,EAAM;IACjCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRE,IAAA,EAAM;IACND,aAAA,EAAe;EACjB,CAAC;EAEYK,KAAA,GAAQT,MAAA,CAAOD,IAAA,EAAM;IAChCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;IAAA;EAEjB,CAAC;EAEYM,MAAA,GAASV,MAAA,CAAOD,IAAA,EAAM;IACjCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;IAAA;EAEjB,CAAC;EAEYO,GAAA,GAAMX,MAAA,CAAOD,IAAA,EAAM;IAC9BG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;IAAA;EAEjB,CAAC","ignoreList":[]}
package/dist/jsx/index.js CHANGED
@@ -1,45 +1,43 @@
1
1
  import { View, styled } from "@tamagui/core";
2
2
  const Section = styled(View, {
3
- name: "Section",
4
- render: "section",
5
- flexDirection: "column",
6
- role: "region"
7
- }), Article = styled(View, {
8
- name: "Article",
9
- render: "article",
10
- flexDirection: "column"
11
- }), Main = styled(View, {
12
- name: "Main",
13
- render: "main",
14
- flexDirection: "column"
15
- }), Header = styled(View, {
16
- name: "Header",
17
- render: "header",
18
- role: "banner",
19
- flexDirection: "column"
20
- }), Aside = styled(View, {
21
- name: "Aside",
22
- render: "aside",
23
- flexDirection: "column"
24
- // accessibilityRole: 'complementary',
25
- }), Footer = styled(View, {
26
- name: "Footer",
27
- render: "footer",
28
- flexDirection: "column"
29
- // accessibilityRole: 'contentinfo',
30
- }), Nav = styled(View, {
31
- name: "Nav",
32
- render: "nav",
33
- flexDirection: "column"
34
- // accessibilityRole: 'navigation',
35
- });
36
- export {
37
- Article,
38
- Aside,
39
- Footer,
40
- Header,
41
- Main,
42
- Nav,
43
- Section
44
- };
3
+ name: "Section",
4
+ render: "section",
5
+ flexDirection: "column",
6
+ role: "region"
7
+ }),
8
+ Article = styled(View, {
9
+ name: "Article",
10
+ render: "article",
11
+ flexDirection: "column"
12
+ }),
13
+ Main = styled(View, {
14
+ name: "Main",
15
+ render: "main",
16
+ flexDirection: "column"
17
+ }),
18
+ Header = styled(View, {
19
+ name: "Header",
20
+ render: "header",
21
+ role: "banner",
22
+ flexDirection: "column"
23
+ }),
24
+ Aside = styled(View, {
25
+ name: "Aside",
26
+ render: "aside",
27
+ flexDirection: "column"
28
+ // accessibilityRole: 'complementary',
29
+ }),
30
+ Footer = styled(View, {
31
+ name: "Footer",
32
+ render: "footer",
33
+ flexDirection: "column"
34
+ // accessibilityRole: 'contentinfo',
35
+ }),
36
+ Nav = styled(View, {
37
+ name: "Nav",
38
+ render: "nav",
39
+ flexDirection: "column"
40
+ // accessibilityRole: 'navigation',
41
+ });
42
+ export { Article, Aside, Footer, Header, Main, Nav, Section };
45
43
  //# sourceMappingURL=index.js.map
@@ -1,6 +1 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../src/index.ts"],
4
- "mappings": "AAAA,SAAS,MAAM,cAAc;AAEtB,MAAM,UAAU,OAAO,MAAM;AAAA,EAClC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA,EACf,MAAM;AACR,CAAC,GAEY,UAAU,OAAO,MAAM;AAAA,EAClC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AACjB,CAAC,GAEY,OAAO,OAAO,MAAM;AAAA,EAC/B,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AACjB,CAAC,GAEY,SAAS,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,MAAM;AAAA,EACN,eAAe;AACjB,CAAC,GAEY,QAAQ,OAAO,MAAM;AAAA,EAChC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA;AAEjB,CAAC,GAEY,SAAS,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA;AAEjB,CAAC,GAEY,MAAM,OAAO,MAAM;AAAA,EAC9B,MAAM;AAAA,EACN,QAAQ;AAAA,EACR,eAAe;AAAA;AAEjB,CAAC;",
5
- "names": []
6
- }
1
+ {"version":3,"names":["View","styled","Section","name","render","flexDirection","role","Article","Main","Header","Aside","Footer","Nav"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,IAAA,EAAMC,MAAA,QAAc;AAEtB,MAAMC,OAAA,GAAUD,MAAA,CAAOD,IAAA,EAAM;IAClCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;IACfC,IAAA,EAAM;EACR,CAAC;EAEYC,OAAA,GAAUN,MAAA,CAAOD,IAAA,EAAM;IAClCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;EACjB,CAAC;EAEYG,IAAA,GAAOP,MAAA,CAAOD,IAAA,EAAM;IAC/BG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;EACjB,CAAC;EAEYI,MAAA,GAASR,MAAA,CAAOD,IAAA,EAAM;IACjCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRE,IAAA,EAAM;IACND,aAAA,EAAe;EACjB,CAAC;EAEYK,KAAA,GAAQT,MAAA,CAAOD,IAAA,EAAM;IAChCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;IAAA;EAEjB,CAAC;EAEYM,MAAA,GAASV,MAAA,CAAOD,IAAA,EAAM;IACjCG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;IAAA;EAEjB,CAAC;EAEYO,GAAA,GAAMX,MAAA,CAAOD,IAAA,EAAM;IAC9BG,IAAA,EAAM;IACNC,MAAA,EAAQ;IACRC,aAAA,EAAe;IAAA;EAEjB,CAAC","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/elements",
3
- "version": "2.0.0-rc.3",
3
+ "version": "2.0.0-rc.30",
4
4
  "source": "src/index.ts",
5
5
  "files": [
6
6
  "src",
@@ -18,15 +18,12 @@
18
18
  "./package.json": "./package.json",
19
19
  ".": {
20
20
  "types": "./types/index.d.ts",
21
- "react-native": {
22
- "module": "./dist/esm/index.native.js",
23
- "import": "./dist/esm/index.native.js",
24
- "require": "./dist/cjs/index.native.js"
25
- },
21
+ "react-native": "./dist/esm/index.native.js",
22
+ "browser": "./dist/esm/index.mjs",
26
23
  "module": "./dist/esm/index.mjs",
27
24
  "import": "./dist/esm/index.mjs",
28
25
  "require": "./dist/cjs/index.cjs",
29
- "default": "./dist/cjs/index.native.js"
26
+ "default": "./dist/esm/index.mjs"
30
27
  }
31
28
  },
32
29
  "publishConfig": {
@@ -39,10 +36,10 @@
39
36
  "clean:build": "tamagui-build clean:build"
40
37
  },
41
38
  "dependencies": {
42
- "@tamagui/core": "2.0.0-rc.3"
39
+ "@tamagui/core": "2.0.0-rc.30"
43
40
  },
44
41
  "devDependencies": {
45
- "@tamagui/build": "2.0.0-rc.3",
42
+ "@tamagui/build": "2.0.0-rc.30",
46
43
  "react": ">=19"
47
44
  },
48
45
  "peerDependencies": {