@tamagui/elements 1.88.14
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/LICENSE +21 -0
- package/dist/cjs/index.js +61 -0
- package/dist/cjs/index.js.map +6 -0
- package/dist/cjs/index.native.js +72 -0
- package/dist/cjs/index.native.js.map +6 -0
- package/dist/esm/index.js +45 -0
- package/dist/esm/index.js.map +6 -0
- package/dist/esm/index.mjs +43 -0
- package/dist/esm/index.native.js +72 -0
- package/dist/esm/index.native.js.map +6 -0
- package/dist/jsx/index.js +45 -0
- package/dist/jsx/index.js.map +6 -0
- package/dist/jsx/index.mjs +43 -0
- package/dist/jsx/index.native.js +72 -0
- package/dist/jsx/index.native.js.map +6 -0
- package/package.json +47 -0
- package/src/index.ts +48 -0
- package/types/index.d.ts +8 -0
- package/types/index.d.ts.map +1 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2020 Nate Wienert
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,61 @@
|
|
|
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 src_exports = {};
|
|
16
|
+
__export(src_exports, {
|
|
17
|
+
Article: () => Article,
|
|
18
|
+
Aside: () => Aside,
|
|
19
|
+
Footer: () => Footer,
|
|
20
|
+
Header: () => Header,
|
|
21
|
+
Main: () => Main,
|
|
22
|
+
Nav: () => Nav,
|
|
23
|
+
Section: () => Section
|
|
24
|
+
});
|
|
25
|
+
module.exports = __toCommonJS(src_exports);
|
|
26
|
+
var import_core = require("@tamagui/core");
|
|
27
|
+
const Section = (0, import_core.styled)(import_core.View, {
|
|
28
|
+
name: "Section",
|
|
29
|
+
tag: "section",
|
|
30
|
+
flexDirection: "column",
|
|
31
|
+
accessibilityRole: "summary"
|
|
32
|
+
}), Article = (0, import_core.styled)(import_core.View, {
|
|
33
|
+
name: "Article",
|
|
34
|
+
tag: "article",
|
|
35
|
+
flexDirection: "column"
|
|
36
|
+
}), Main = (0, import_core.styled)(import_core.View, {
|
|
37
|
+
name: "Main",
|
|
38
|
+
tag: "main",
|
|
39
|
+
flexDirection: "column"
|
|
40
|
+
}), Header = (0, import_core.styled)(import_core.View, {
|
|
41
|
+
name: "Header",
|
|
42
|
+
tag: "header",
|
|
43
|
+
accessibilityRole: "header",
|
|
44
|
+
flexDirection: "column"
|
|
45
|
+
}), Aside = (0, import_core.styled)(import_core.View, {
|
|
46
|
+
name: "Aside",
|
|
47
|
+
tag: "aside",
|
|
48
|
+
flexDirection: "column"
|
|
49
|
+
// accessibilityRole: 'complementary',
|
|
50
|
+
}), Footer = (0, import_core.styled)(import_core.View, {
|
|
51
|
+
name: "Footer",
|
|
52
|
+
tag: "footer",
|
|
53
|
+
flexDirection: "column"
|
|
54
|
+
// accessibilityRole: 'contentinfo',
|
|
55
|
+
}), Nav = (0, import_core.styled)(import_core.View, {
|
|
56
|
+
name: "Nav",
|
|
57
|
+
tag: "nav",
|
|
58
|
+
flexDirection: "column"
|
|
59
|
+
// accessibilityRole: 'navigation',
|
|
60
|
+
});
|
|
61
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B;AAEtB,MAAM,cAAU,oBAAO,kBAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA,EACf,mBAAmB;AACrB,CAAC,GAEY,cAAU,oBAAO,kBAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,WAAO,oBAAO,kBAAM;AAAA,EAC/B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,aAAS,oBAAO,kBAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,mBAAmB;AAAA,EACnB,eAAe;AACjB,CAAC,GAEY,YAAQ,oBAAO,kBAAM;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,aAAS,oBAAO,kBAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,UAAM,oBAAO,kBAAM;AAAA,EAC9B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
+
var src_exports = {};
|
|
17
|
+
__export(src_exports, {
|
|
18
|
+
Article: () => Article,
|
|
19
|
+
Aside: () => Aside,
|
|
20
|
+
Footer: () => Footer,
|
|
21
|
+
Header: () => Header,
|
|
22
|
+
Main: () => Main,
|
|
23
|
+
Nav: () => Nav,
|
|
24
|
+
Section: () => Section
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(src_exports);
|
|
27
|
+
var import_core = require("@tamagui/core");
|
|
28
|
+
const Section = (0, import_core.styled)(import_core.View, {
|
|
29
|
+
name: "Section",
|
|
30
|
+
tag: "section",
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
accessibilityRole: "summary"
|
|
33
|
+
}), Article = (0, import_core.styled)(import_core.View, {
|
|
34
|
+
name: "Article",
|
|
35
|
+
tag: "article",
|
|
36
|
+
flexDirection: "column"
|
|
37
|
+
}), Main = (0, import_core.styled)(import_core.View, {
|
|
38
|
+
name: "Main",
|
|
39
|
+
tag: "main",
|
|
40
|
+
flexDirection: "column"
|
|
41
|
+
}), Header = (0, import_core.styled)(import_core.View, {
|
|
42
|
+
name: "Header",
|
|
43
|
+
tag: "header",
|
|
44
|
+
accessibilityRole: "header",
|
|
45
|
+
flexDirection: "column"
|
|
46
|
+
}), Aside = (0, import_core.styled)(import_core.View, {
|
|
47
|
+
name: "Aside",
|
|
48
|
+
tag: "aside",
|
|
49
|
+
flexDirection: "column"
|
|
50
|
+
// accessibilityRole: 'complementary',
|
|
51
|
+
}), Footer = (0, import_core.styled)(import_core.View, {
|
|
52
|
+
name: "Footer",
|
|
53
|
+
tag: "footer",
|
|
54
|
+
flexDirection: "column"
|
|
55
|
+
// accessibilityRole: 'contentinfo',
|
|
56
|
+
}), Nav = (0, import_core.styled)(import_core.View, {
|
|
57
|
+
name: "Nav",
|
|
58
|
+
tag: "nav",
|
|
59
|
+
flexDirection: "column"
|
|
60
|
+
// accessibilityRole: 'navigation',
|
|
61
|
+
});
|
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
+
0 && (module.exports = {
|
|
64
|
+
Article,
|
|
65
|
+
Aside,
|
|
66
|
+
Footer,
|
|
67
|
+
Header,
|
|
68
|
+
Main,
|
|
69
|
+
Nav,
|
|
70
|
+
Section
|
|
71
|
+
});
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B;AAEtB,MAAM,cAAU,oBAAO,kBAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA,EACf,mBAAmB;AACrB,CAAC,GAEY,cAAU,oBAAO,kBAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,WAAO,oBAAO,kBAAM;AAAA,EAC/B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,aAAS,oBAAO,kBAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,mBAAmB;AAAA,EACnB,eAAe;AACjB,CAAC,GAEY,YAAQ,oBAAO,kBAAM;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,aAAS,oBAAO,kBAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,UAAM,oBAAO,kBAAM;AAAA,EAC9B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { View, styled } from "@tamagui/core";
|
|
2
|
+
const Section = styled(View, {
|
|
3
|
+
name: "Section",
|
|
4
|
+
tag: "section",
|
|
5
|
+
flexDirection: "column",
|
|
6
|
+
accessibilityRole: "summary"
|
|
7
|
+
}), Article = styled(View, {
|
|
8
|
+
name: "Article",
|
|
9
|
+
tag: "article",
|
|
10
|
+
flexDirection: "column"
|
|
11
|
+
}), Main = styled(View, {
|
|
12
|
+
name: "Main",
|
|
13
|
+
tag: "main",
|
|
14
|
+
flexDirection: "column"
|
|
15
|
+
}), Header = styled(View, {
|
|
16
|
+
name: "Header",
|
|
17
|
+
tag: "header",
|
|
18
|
+
accessibilityRole: "header",
|
|
19
|
+
flexDirection: "column"
|
|
20
|
+
}), Aside = styled(View, {
|
|
21
|
+
name: "Aside",
|
|
22
|
+
tag: "aside",
|
|
23
|
+
flexDirection: "column"
|
|
24
|
+
// accessibilityRole: 'complementary',
|
|
25
|
+
}), Footer = styled(View, {
|
|
26
|
+
name: "Footer",
|
|
27
|
+
tag: "footer",
|
|
28
|
+
flexDirection: "column"
|
|
29
|
+
// accessibilityRole: 'contentinfo',
|
|
30
|
+
}), Nav = styled(View, {
|
|
31
|
+
name: "Nav",
|
|
32
|
+
tag: "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
|
+
};
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
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,KAAK;AAAA,EACL,eAAe;AAAA,EACf,mBAAmB;AACrB,CAAC,GAEY,UAAU,OAAO,MAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,OAAO,OAAO,MAAM;AAAA,EAC/B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,SAAS,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,mBAAmB;AAAA,EACnB,eAAe;AACjB,CAAC,GAEY,QAAQ,OAAO,MAAM;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,SAAS,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,MAAM,OAAO,MAAM;AAAA,EAC9B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { View, styled } from "@tamagui/core";
|
|
2
|
+
const Section = styled(View, {
|
|
3
|
+
name: "Section",
|
|
4
|
+
tag: "section",
|
|
5
|
+
flexDirection: "column",
|
|
6
|
+
accessibilityRole: "summary"
|
|
7
|
+
}),
|
|
8
|
+
Article = styled(View, {
|
|
9
|
+
name: "Article",
|
|
10
|
+
tag: "article",
|
|
11
|
+
flexDirection: "column"
|
|
12
|
+
}),
|
|
13
|
+
Main = styled(View, {
|
|
14
|
+
name: "Main",
|
|
15
|
+
tag: "main",
|
|
16
|
+
flexDirection: "column"
|
|
17
|
+
}),
|
|
18
|
+
Header = styled(View, {
|
|
19
|
+
name: "Header",
|
|
20
|
+
tag: "header",
|
|
21
|
+
accessibilityRole: "header",
|
|
22
|
+
flexDirection: "column"
|
|
23
|
+
}),
|
|
24
|
+
Aside = styled(View, {
|
|
25
|
+
name: "Aside",
|
|
26
|
+
tag: "aside",
|
|
27
|
+
flexDirection: "column"
|
|
28
|
+
// accessibilityRole: 'complementary',
|
|
29
|
+
}),
|
|
30
|
+
Footer = styled(View, {
|
|
31
|
+
name: "Footer",
|
|
32
|
+
tag: "footer",
|
|
33
|
+
flexDirection: "column"
|
|
34
|
+
// accessibilityRole: 'contentinfo',
|
|
35
|
+
}),
|
|
36
|
+
Nav = styled(View, {
|
|
37
|
+
name: "Nav",
|
|
38
|
+
tag: "nav",
|
|
39
|
+
flexDirection: "column"
|
|
40
|
+
// accessibilityRole: 'navigation',
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export { Article, Aside, Footer, Header, Main, Nav, Section };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
+
var src_exports = {};
|
|
17
|
+
__export(src_exports, {
|
|
18
|
+
Article: () => Article,
|
|
19
|
+
Aside: () => Aside,
|
|
20
|
+
Footer: () => Footer,
|
|
21
|
+
Header: () => Header,
|
|
22
|
+
Main: () => Main,
|
|
23
|
+
Nav: () => Nav,
|
|
24
|
+
Section: () => Section
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(src_exports);
|
|
27
|
+
var import_core = require("@tamagui/core");
|
|
28
|
+
const Section = (0, import_core.styled)(import_core.View, {
|
|
29
|
+
name: "Section",
|
|
30
|
+
tag: "section",
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
accessibilityRole: "summary"
|
|
33
|
+
}), Article = (0, import_core.styled)(import_core.View, {
|
|
34
|
+
name: "Article",
|
|
35
|
+
tag: "article",
|
|
36
|
+
flexDirection: "column"
|
|
37
|
+
}), Main = (0, import_core.styled)(import_core.View, {
|
|
38
|
+
name: "Main",
|
|
39
|
+
tag: "main",
|
|
40
|
+
flexDirection: "column"
|
|
41
|
+
}), Header = (0, import_core.styled)(import_core.View, {
|
|
42
|
+
name: "Header",
|
|
43
|
+
tag: "header",
|
|
44
|
+
accessibilityRole: "header",
|
|
45
|
+
flexDirection: "column"
|
|
46
|
+
}), Aside = (0, import_core.styled)(import_core.View, {
|
|
47
|
+
name: "Aside",
|
|
48
|
+
tag: "aside",
|
|
49
|
+
flexDirection: "column"
|
|
50
|
+
// accessibilityRole: 'complementary',
|
|
51
|
+
}), Footer = (0, import_core.styled)(import_core.View, {
|
|
52
|
+
name: "Footer",
|
|
53
|
+
tag: "footer",
|
|
54
|
+
flexDirection: "column"
|
|
55
|
+
// accessibilityRole: 'contentinfo',
|
|
56
|
+
}), Nav = (0, import_core.styled)(import_core.View, {
|
|
57
|
+
name: "Nav",
|
|
58
|
+
tag: "nav",
|
|
59
|
+
flexDirection: "column"
|
|
60
|
+
// accessibilityRole: 'navigation',
|
|
61
|
+
});
|
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
+
0 && (module.exports = {
|
|
64
|
+
Article,
|
|
65
|
+
Aside,
|
|
66
|
+
Footer,
|
|
67
|
+
Header,
|
|
68
|
+
Main,
|
|
69
|
+
Nav,
|
|
70
|
+
Section
|
|
71
|
+
});
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B;AAEtB,MAAM,cAAU,oBAAO,kBAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA,EACf,mBAAmB;AACrB,CAAC,GAEY,cAAU,oBAAO,kBAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,WAAO,oBAAO,kBAAM;AAAA,EAC/B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,aAAS,oBAAO,kBAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,mBAAmB;AAAA,EACnB,eAAe;AACjB,CAAC,GAEY,YAAQ,oBAAO,kBAAM;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,aAAS,oBAAO,kBAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,UAAM,oBAAO,kBAAM;AAAA,EAC9B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { View, styled } from "@tamagui/core";
|
|
2
|
+
const Section = styled(View, {
|
|
3
|
+
name: "Section",
|
|
4
|
+
tag: "section",
|
|
5
|
+
flexDirection: "column",
|
|
6
|
+
accessibilityRole: "summary"
|
|
7
|
+
}), Article = styled(View, {
|
|
8
|
+
name: "Article",
|
|
9
|
+
tag: "article",
|
|
10
|
+
flexDirection: "column"
|
|
11
|
+
}), Main = styled(View, {
|
|
12
|
+
name: "Main",
|
|
13
|
+
tag: "main",
|
|
14
|
+
flexDirection: "column"
|
|
15
|
+
}), Header = styled(View, {
|
|
16
|
+
name: "Header",
|
|
17
|
+
tag: "header",
|
|
18
|
+
accessibilityRole: "header",
|
|
19
|
+
flexDirection: "column"
|
|
20
|
+
}), Aside = styled(View, {
|
|
21
|
+
name: "Aside",
|
|
22
|
+
tag: "aside",
|
|
23
|
+
flexDirection: "column"
|
|
24
|
+
// accessibilityRole: 'complementary',
|
|
25
|
+
}), Footer = styled(View, {
|
|
26
|
+
name: "Footer",
|
|
27
|
+
tag: "footer",
|
|
28
|
+
flexDirection: "column"
|
|
29
|
+
// accessibilityRole: 'contentinfo',
|
|
30
|
+
}), Nav = styled(View, {
|
|
31
|
+
name: "Nav",
|
|
32
|
+
tag: "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
|
+
};
|
|
45
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
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,KAAK;AAAA,EACL,eAAe;AAAA,EACf,mBAAmB;AACrB,CAAC,GAEY,UAAU,OAAO,MAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,OAAO,OAAO,MAAM;AAAA,EAC/B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,SAAS,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,mBAAmB;AAAA,EACnB,eAAe;AACjB,CAAC,GAEY,QAAQ,OAAO,MAAM;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,SAAS,OAAO,MAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,MAAM,OAAO,MAAM;AAAA,EAC9B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { View, styled } from "@tamagui/core";
|
|
2
|
+
const Section = styled(View, {
|
|
3
|
+
name: "Section",
|
|
4
|
+
tag: "section",
|
|
5
|
+
flexDirection: "column",
|
|
6
|
+
accessibilityRole: "summary"
|
|
7
|
+
}),
|
|
8
|
+
Article = styled(View, {
|
|
9
|
+
name: "Article",
|
|
10
|
+
tag: "article",
|
|
11
|
+
flexDirection: "column"
|
|
12
|
+
}),
|
|
13
|
+
Main = styled(View, {
|
|
14
|
+
name: "Main",
|
|
15
|
+
tag: "main",
|
|
16
|
+
flexDirection: "column"
|
|
17
|
+
}),
|
|
18
|
+
Header = styled(View, {
|
|
19
|
+
name: "Header",
|
|
20
|
+
tag: "header",
|
|
21
|
+
accessibilityRole: "header",
|
|
22
|
+
flexDirection: "column"
|
|
23
|
+
}),
|
|
24
|
+
Aside = styled(View, {
|
|
25
|
+
name: "Aside",
|
|
26
|
+
tag: "aside",
|
|
27
|
+
flexDirection: "column"
|
|
28
|
+
// accessibilityRole: 'complementary',
|
|
29
|
+
}),
|
|
30
|
+
Footer = styled(View, {
|
|
31
|
+
name: "Footer",
|
|
32
|
+
tag: "footer",
|
|
33
|
+
flexDirection: "column"
|
|
34
|
+
// accessibilityRole: 'contentinfo',
|
|
35
|
+
}),
|
|
36
|
+
Nav = styled(View, {
|
|
37
|
+
name: "Nav",
|
|
38
|
+
tag: "nav",
|
|
39
|
+
flexDirection: "column"
|
|
40
|
+
// accessibilityRole: 'navigation',
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
export { Article, Aside, Footer, Header, Main, Nav, Section };
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: !0 });
|
|
9
|
+
}, __copyProps = (to, from, except, desc) => {
|
|
10
|
+
if (from && typeof from == "object" || typeof from == "function")
|
|
11
|
+
for (let key of __getOwnPropNames(from))
|
|
12
|
+
!__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
13
|
+
return to;
|
|
14
|
+
};
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
|
|
16
|
+
var src_exports = {};
|
|
17
|
+
__export(src_exports, {
|
|
18
|
+
Article: () => Article,
|
|
19
|
+
Aside: () => Aside,
|
|
20
|
+
Footer: () => Footer,
|
|
21
|
+
Header: () => Header,
|
|
22
|
+
Main: () => Main,
|
|
23
|
+
Nav: () => Nav,
|
|
24
|
+
Section: () => Section
|
|
25
|
+
});
|
|
26
|
+
module.exports = __toCommonJS(src_exports);
|
|
27
|
+
var import_core = require("@tamagui/core");
|
|
28
|
+
const Section = (0, import_core.styled)(import_core.View, {
|
|
29
|
+
name: "Section",
|
|
30
|
+
tag: "section",
|
|
31
|
+
flexDirection: "column",
|
|
32
|
+
accessibilityRole: "summary"
|
|
33
|
+
}), Article = (0, import_core.styled)(import_core.View, {
|
|
34
|
+
name: "Article",
|
|
35
|
+
tag: "article",
|
|
36
|
+
flexDirection: "column"
|
|
37
|
+
}), Main = (0, import_core.styled)(import_core.View, {
|
|
38
|
+
name: "Main",
|
|
39
|
+
tag: "main",
|
|
40
|
+
flexDirection: "column"
|
|
41
|
+
}), Header = (0, import_core.styled)(import_core.View, {
|
|
42
|
+
name: "Header",
|
|
43
|
+
tag: "header",
|
|
44
|
+
accessibilityRole: "header",
|
|
45
|
+
flexDirection: "column"
|
|
46
|
+
}), Aside = (0, import_core.styled)(import_core.View, {
|
|
47
|
+
name: "Aside",
|
|
48
|
+
tag: "aside",
|
|
49
|
+
flexDirection: "column"
|
|
50
|
+
// accessibilityRole: 'complementary',
|
|
51
|
+
}), Footer = (0, import_core.styled)(import_core.View, {
|
|
52
|
+
name: "Footer",
|
|
53
|
+
tag: "footer",
|
|
54
|
+
flexDirection: "column"
|
|
55
|
+
// accessibilityRole: 'contentinfo',
|
|
56
|
+
}), Nav = (0, import_core.styled)(import_core.View, {
|
|
57
|
+
name: "Nav",
|
|
58
|
+
tag: "nav",
|
|
59
|
+
flexDirection: "column"
|
|
60
|
+
// accessibilityRole: 'navigation',
|
|
61
|
+
});
|
|
62
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
63
|
+
0 && (module.exports = {
|
|
64
|
+
Article,
|
|
65
|
+
Aside,
|
|
66
|
+
Footer,
|
|
67
|
+
Header,
|
|
68
|
+
Main,
|
|
69
|
+
Nav,
|
|
70
|
+
Section
|
|
71
|
+
});
|
|
72
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"version": 3,
|
|
3
|
+
"sources": ["../../src/index.ts"],
|
|
4
|
+
"mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,kBAA6B;AAEtB,MAAM,cAAU,oBAAO,kBAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA,EACf,mBAAmB;AACrB,CAAC,GAEY,cAAU,oBAAO,kBAAM;AAAA,EAClC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,WAAO,oBAAO,kBAAM;AAAA,EAC/B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AACjB,CAAC,GAEY,aAAS,oBAAO,kBAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,mBAAmB;AAAA,EACnB,eAAe;AACjB,CAAC,GAEY,YAAQ,oBAAO,kBAAM;AAAA,EAChC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,aAAS,oBAAO,kBAAM;AAAA,EACjC,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC,GAEY,UAAM,oBAAO,kBAAM;AAAA,EAC9B,MAAM;AAAA,EACN,KAAK;AAAA,EACL,eAAe;AAAA;AAEjB,CAAC;",
|
|
5
|
+
"names": []
|
|
6
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@tamagui/elements",
|
|
3
|
+
"version": "1.88.14",
|
|
4
|
+
"sideEffects": false,
|
|
5
|
+
"source": "src/index.ts",
|
|
6
|
+
"types": "./types/index.d.ts",
|
|
7
|
+
"main": "dist/cjs",
|
|
8
|
+
"module": "dist/esm",
|
|
9
|
+
"module:jsx": "dist/jsx",
|
|
10
|
+
"files": [
|
|
11
|
+
"src",
|
|
12
|
+
"types",
|
|
13
|
+
"dist"
|
|
14
|
+
],
|
|
15
|
+
"scripts": {
|
|
16
|
+
"build": "tamagui-build",
|
|
17
|
+
"watch": "tamagui-build --watch",
|
|
18
|
+
"lint": "../../node_modules/.bin/biome check src",
|
|
19
|
+
"lint:fix": "../../node_modules/.bin/biome check --apply-unsafe src",
|
|
20
|
+
"clean": "tamagui-build clean",
|
|
21
|
+
"clean:build": "tamagui-build clean:build"
|
|
22
|
+
},
|
|
23
|
+
"exports": {
|
|
24
|
+
"./package.json": "./package.json",
|
|
25
|
+
".": {
|
|
26
|
+
"types": "./types/index.d.ts",
|
|
27
|
+
"import": "./dist/esm/index.js",
|
|
28
|
+
"require": "./dist/cjs/index.js",
|
|
29
|
+
"react-native": "./dist/cjs/index.native.js"
|
|
30
|
+
}
|
|
31
|
+
},
|
|
32
|
+
"dependencies": {
|
|
33
|
+
"@tamagui/core": "1.88.14"
|
|
34
|
+
},
|
|
35
|
+
"peerDependencies": {
|
|
36
|
+
"react": "*",
|
|
37
|
+
"react-dom": "*"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@tamagui/build": "1.88.14",
|
|
41
|
+
"react": "^18.2.0",
|
|
42
|
+
"react-dom": "^18.2.0"
|
|
43
|
+
},
|
|
44
|
+
"publishConfig": {
|
|
45
|
+
"access": "public"
|
|
46
|
+
}
|
|
47
|
+
}
|
package/src/index.ts
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import { View, styled } from '@tamagui/core'
|
|
2
|
+
|
|
3
|
+
export const Section = styled(View, {
|
|
4
|
+
name: 'Section',
|
|
5
|
+
tag: 'section',
|
|
6
|
+
flexDirection: 'column',
|
|
7
|
+
accessibilityRole: 'summary',
|
|
8
|
+
})
|
|
9
|
+
|
|
10
|
+
export const Article = styled(View, {
|
|
11
|
+
name: 'Article',
|
|
12
|
+
tag: 'article',
|
|
13
|
+
flexDirection: 'column',
|
|
14
|
+
})
|
|
15
|
+
|
|
16
|
+
export const Main = styled(View, {
|
|
17
|
+
name: 'Main',
|
|
18
|
+
tag: 'main',
|
|
19
|
+
flexDirection: 'column',
|
|
20
|
+
})
|
|
21
|
+
|
|
22
|
+
export const Header = styled(View, {
|
|
23
|
+
name: 'Header',
|
|
24
|
+
tag: 'header',
|
|
25
|
+
accessibilityRole: 'header',
|
|
26
|
+
flexDirection: 'column',
|
|
27
|
+
})
|
|
28
|
+
|
|
29
|
+
export const Aside = styled(View, {
|
|
30
|
+
name: 'Aside',
|
|
31
|
+
tag: 'aside',
|
|
32
|
+
flexDirection: 'column',
|
|
33
|
+
// accessibilityRole: 'complementary',
|
|
34
|
+
})
|
|
35
|
+
|
|
36
|
+
export const Footer = styled(View, {
|
|
37
|
+
name: 'Footer',
|
|
38
|
+
tag: 'footer',
|
|
39
|
+
flexDirection: 'column',
|
|
40
|
+
// accessibilityRole: 'contentinfo',
|
|
41
|
+
})
|
|
42
|
+
|
|
43
|
+
export const Nav = styled(View, {
|
|
44
|
+
name: 'Nav',
|
|
45
|
+
tag: 'nav',
|
|
46
|
+
flexDirection: 'column',
|
|
47
|
+
// accessibilityRole: 'navigation',
|
|
48
|
+
})
|
package/types/index.d.ts
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const Section: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
2
|
+
export declare const Article: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
3
|
+
export declare const Main: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
4
|
+
export declare const Header: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
5
|
+
export declare const Aside: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
6
|
+
export declare const Footer: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
7
|
+
export declare const Nav: import("@tamagui/core").TamaguiComponent<import("@tamagui/core").TamaDefer, import("@tamagui/core").TamaguiElement, import("@tamagui/core").RNTamaguiViewNonStyleProps, import("@tamagui/core").StackStyleBase, {}, import("@tamagui/core").StaticConfigPublic>;
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,OAAO,iQAKlB,CAAA;AAEF,eAAO,MAAM,OAAO,iQAIlB,CAAA;AAEF,eAAO,MAAM,IAAI,iQAIf,CAAA;AAEF,eAAO,MAAM,MAAM,iQAKjB,CAAA;AAEF,eAAO,MAAM,KAAK,iQAKhB,CAAA;AAEF,eAAO,MAAM,MAAM,iQAKjB,CAAA;AAEF,eAAO,MAAM,GAAG,iQAKd,CAAA"}
|