@tamagui/logo 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/LogoIcon.cjs +30 -38
- package/dist/cjs/LogoIcon.native.cjs +46 -0
- package/dist/cjs/LogoIcon.native.js +31 -38
- package/dist/cjs/LogoIcon.native.js.map +1 -1
- package/dist/cjs/LogoWords.cjs +142 -137
- package/dist/cjs/LogoWords.native.cjs +166 -0
- package/dist/cjs/LogoWords.native.js +147 -161
- package/dist/cjs/LogoWords.native.js.map +1 -1
- package/dist/cjs/SeasonProvider.cjs +24 -31
- package/dist/cjs/SeasonProvider.native.cjs +42 -0
- package/dist/cjs/SeasonProvider.native.js +24 -37
- package/dist/cjs/SeasonProvider.native.js.map +1 -1
- package/dist/cjs/TamaguiLogo.cjs +35 -45
- package/dist/cjs/TamaguiLogo.native.cjs +52 -0
- package/dist/cjs/TamaguiLogo.native.js +36 -45
- package/dist/cjs/TamaguiLogo.native.js.map +1 -1
- package/dist/cjs/TamaguiLogoSvg.cjs +57 -63
- package/dist/cjs/TamaguiLogoSvg.native.cjs +73 -0
- package/dist/cjs/TamaguiLogoSvg.native.js +60 -65
- package/dist/cjs/TamaguiLogoSvg.native.js.map +1 -1
- package/dist/cjs/ThemeTint.cjs +31 -41
- package/dist/cjs/ThemeTint.native.cjs +51 -0
- package/dist/cjs/ThemeTint.native.js +33 -42
- package/dist/cjs/ThemeTint.native.js.map +1 -1
- package/dist/cjs/index.cjs +10 -11
- package/dist/cjs/index.native.cjs +27 -0
- package/dist/cjs/index.native.js +10 -10
- package/dist/cjs/index.native.js.map +1 -1
- package/dist/cjs/tints.cjs +122 -72
- package/dist/cjs/tints.native.cjs +156 -0
- package/dist/cjs/tints.native.js +125 -74
- package/dist/cjs/tints.native.js.map +1 -1
- package/dist/cjs/useTint.cjs +79 -87
- package/dist/cjs/useTint.native.cjs +119 -0
- package/dist/cjs/useTint.native.js +90 -97
- package/dist/cjs/useTint.native.js.map +1 -1
- package/dist/esm/LogoIcon.mjs +17 -20
- package/dist/esm/LogoIcon.mjs.map +1 -1
- package/dist/esm/LogoIcon.native.js +19 -22
- package/dist/esm/LogoIcon.native.js.map +1 -1
- package/dist/esm/LogoWords.mjs +126 -111
- package/dist/esm/LogoWords.mjs.map +1 -1
- package/dist/esm/LogoWords.native.js +132 -137
- package/dist/esm/LogoWords.native.js.map +1 -1
- package/dist/esm/SeasonProvider.mjs +11 -13
- package/dist/esm/SeasonProvider.mjs.map +1 -1
- package/dist/esm/SeasonProvider.native.js +12 -21
- package/dist/esm/SeasonProvider.native.js.map +1 -1
- package/dist/esm/TamaguiLogo.mjs +22 -27
- package/dist/esm/TamaguiLogo.mjs.map +1 -1
- package/dist/esm/TamaguiLogo.native.js +24 -29
- package/dist/esm/TamaguiLogo.native.js.map +1 -1
- package/dist/esm/TamaguiLogoSvg.mjs +44 -45
- package/dist/esm/TamaguiLogoSvg.mjs.map +1 -1
- package/dist/esm/TamaguiLogoSvg.native.js +48 -49
- package/dist/esm/TamaguiLogoSvg.native.js.map +1 -1
- package/dist/esm/ThemeTint.mjs +17 -24
- package/dist/esm/ThemeTint.mjs.map +1 -1
- package/dist/esm/ThemeTint.native.js +20 -27
- package/dist/esm/ThemeTint.native.js.map +1 -1
- package/dist/esm/index.js +13 -8
- package/dist/esm/index.mjs +13 -8
- package/dist/esm/index.native.js +13 -8
- package/dist/esm/tints.mjs +102 -44
- package/dist/esm/tints.mjs.map +1 -1
- package/dist/esm/tints.native.js +105 -47
- package/dist/esm/tints.native.js.map +1 -1
- package/dist/esm/useTint.mjs +57 -57
- package/dist/esm/useTint.mjs.map +1 -1
- package/dist/esm/useTint.native.js +68 -68
- package/dist/esm/useTint.native.js.map +1 -1
- package/package.json +5 -5
- package/src/LogoIcon.tsx +2 -4
- package/src/LogoWords.tsx +7 -9
- package/src/TamaguiLogo.tsx +1 -1
- package/types/LogoIcon.d.ts.map +1 -1
- package/types/LogoWords.d.ts.map +1 -1
- package/types/TamaguiLogo.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
|
@@ -1,80 +1,75 @@
|
|
|
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 TamaguiLogoSvg_exports = {};
|
|
26
|
-
__export(TamaguiLogoSvg_exports, {
|
|
27
|
-
TamaguiIconSvg: () => TamaguiIconSvg
|
|
28
|
-
});
|
|
25
|
+
__export(TamaguiLogoSvg_exports, { TamaguiIconSvg: () => TamaguiIconSvg });
|
|
29
26
|
module.exports = __toCommonJS(TamaguiLogoSvg_exports);
|
|
30
27
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
-
var TamaguiIconSvg = function
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
})]
|
|
77
|
-
})
|
|
78
|
-
});
|
|
28
|
+
var TamaguiIconSvg = function(param) {
|
|
29
|
+
var { color = "#ECD20A", ...props } = param;
|
|
30
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
31
|
+
width: "160px",
|
|
32
|
+
height: "160px",
|
|
33
|
+
viewBox: "0 0 160 160",
|
|
34
|
+
...props,
|
|
35
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
|
|
36
|
+
id: "duck",
|
|
37
|
+
stroke: "none",
|
|
38
|
+
strokeWidth: "1",
|
|
39
|
+
fill: "none",
|
|
40
|
+
fillRule: "evenodd",
|
|
41
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
42
|
+
id: "Oval",
|
|
43
|
+
cx: "80",
|
|
44
|
+
cy: "80",
|
|
45
|
+
r: "145"
|
|
46
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
|
|
47
|
+
id: "Group-Copy-5",
|
|
48
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
49
|
+
d: "M10,110 L10,100 L20,100 L20,90 L30,90 L30,80 L40,80 L40,30 L50,30 L50,10 L70,10 L70,0 L120,0 L120,10 L130,10 L130,20 L140,20 L140,40 L160,40 L160,50 L150,50 L150,60 L160,60 L160,70 L150,70 L150,80 L140,80 L140,100 L150,100 L150,110 L160,110 L160,140 L150,140 L150,150 L130,150 L130,160 L40,160 L40,150 L20,150 L20,140 L10,140 L10,130 L0,130 L0,110 L10,110 Z M90,40 L80,40 L80,50 L90,50 L90,40 Z M120,30 L110,30 L110,40 L120,40 L120,30 Z",
|
|
50
|
+
id: "Combined-Shape",
|
|
51
|
+
fill: color
|
|
52
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
|
|
53
|
+
id: "Group",
|
|
54
|
+
transform: "translate(80, 30)",
|
|
55
|
+
fill: "#000000",
|
|
56
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
57
|
+
id: "Rectangle-Copy-117",
|
|
58
|
+
x: "0",
|
|
59
|
+
y: "10",
|
|
60
|
+
width: "10",
|
|
61
|
+
height: "10"
|
|
62
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
63
|
+
id: "Rectangle-Copy-141",
|
|
64
|
+
x: "30",
|
|
65
|
+
y: "0",
|
|
66
|
+
width: "10",
|
|
67
|
+
height: "10"
|
|
68
|
+
})]
|
|
69
|
+
})]
|
|
70
|
+
})]
|
|
71
|
+
})
|
|
72
|
+
});
|
|
79
73
|
};
|
|
74
|
+
|
|
80
75
|
//# sourceMappingURL=TamaguiLogoSvg.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"TamaguiLogoSvg.native.js","names":[],"sources":["cjs/TamaguiLogoSvg.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 TamaguiLogoSvg_exports = {};\n__export(TamaguiLogoSvg_exports, {\n TamaguiIconSvg: () => TamaguiIconSvg\n});\nmodule.exports = __toCommonJS(TamaguiLogoSvg_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar TamaguiIconSvg = function(param) {\n var { color = \"#ECD20A\", ...props } = param;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"svg\", {\n width: \"160px\",\n height: \"160px\",\n viewBox: \"0 0 160 160\",\n ...props,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(\"g\", {\n id: \"duck\",\n stroke: \"none\",\n strokeWidth: \"1\",\n fill: \"none\",\n fillRule: \"evenodd\",\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"circle\", {\n id: \"Oval\",\n cx: \"80\",\n cy: \"80\",\n r: \"145\"\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(\"g\", {\n id: \"Group-Copy-5\",\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"path\", {\n d: \"M10,110 L10,100 L20,100 L20,90 L30,90 L30,80 L40,80 L40,30 L50,30 L50,10 L70,10 L70,0 L120,0 L120,10 L130,10 L130,20 L140,20 L140,40 L160,40 L160,50 L150,50 L150,60 L160,60 L160,70 L150,70 L150,80 L140,80 L140,100 L150,100 L150,110 L160,110 L160,140 L150,140 L150,150 L130,150 L130,160 L40,160 L40,150 L20,150 L20,140 L10,140 L10,130 L0,130 L0,110 L10,110 Z M90,40 L80,40 L80,50 L90,50 L90,40 Z M120,30 L110,30 L110,40 L120,40 L120,30 Z\",\n id: \"Combined-Shape\",\n fill: color\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(\"g\", {\n id: \"Group\",\n transform: \"translate(80, 30)\",\n fill: \"#000000\",\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"rect\", {\n id: \"Rectangle-Copy-117\",\n x: \"0\",\n y: \"10\",\n width: \"10\",\n height: \"10\"\n }),\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(\"rect\", {\n id: \"Rectangle-Copy-141\",\n x: \"30\",\n y: \"0\",\n width: \"10\",\n height: \"10\"\n })\n ]\n })\n ]\n })\n ]\n })\n });\n};\n//# sourceMappingURL=TamaguiLogoSvg.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,KA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|
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 ThemeTint_exports = {};
|
|
24
23
|
__export(ThemeTint_exports, {
|
|
25
|
-
|
|
26
|
-
|
|
24
|
+
ThemeTint: () => ThemeTint,
|
|
25
|
+
ThemeTintAlt: () => ThemeTintAlt
|
|
27
26
|
});
|
|
28
27
|
module.exports = __toCommonJS(ThemeTint_exports);
|
|
29
28
|
var import_web = require("@tamagui/web");
|
|
30
29
|
var import_useTint = require("./useTint.cjs");
|
|
31
30
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
|
-
const ThemeTint = ({
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
const ThemeTint = ({ disable, children, ...rest }) => {
|
|
32
|
+
const curTint = (0, import_useTint.useTint)().tint;
|
|
33
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.Theme, {
|
|
34
|
+
...rest,
|
|
35
|
+
name: disable ? null : curTint,
|
|
36
|
+
children
|
|
37
|
+
});
|
|
38
|
+
};
|
|
39
|
+
const ThemeTintAlt = ({ children, disable, offset = 1, ...rest }) => {
|
|
40
|
+
const curTint = (0, import_useTint.useTint)(offset).tintAlt;
|
|
41
|
+
const name = disable ? null : curTint;
|
|
42
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.Theme, {
|
|
43
|
+
name,
|
|
44
|
+
...rest,
|
|
45
|
+
children
|
|
46
|
+
});
|
|
43
47
|
};
|
|
44
|
-
const ThemeTintAlt = ({
|
|
45
|
-
children,
|
|
46
|
-
disable,
|
|
47
|
-
offset = 1,
|
|
48
|
-
...rest
|
|
49
|
-
}) => {
|
|
50
|
-
const curTint = (0, import_useTint.useTint)(offset).tintAlt;
|
|
51
|
-
const name = disable ? null : curTint;
|
|
52
|
-
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_web.Theme, {
|
|
53
|
-
name,
|
|
54
|
-
...rest,
|
|
55
|
-
children
|
|
56
|
-
});
|
|
57
|
-
};
|
|
@@ -0,0 +1,51 @@
|
|
|
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 ThemeTint_exports = {};
|
|
25
|
+
__export(ThemeTint_exports, {
|
|
26
|
+
ThemeTint: () => ThemeTint,
|
|
27
|
+
ThemeTintAlt: () => ThemeTintAlt
|
|
28
|
+
});
|
|
29
|
+
module.exports = __toCommonJS(ThemeTint_exports);
|
|
30
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
|
+
var import_web = require("@tamagui/web");
|
|
32
|
+
var import_useTint = require("./useTint.native.js");
|
|
33
|
+
var ThemeTint = function(param) {
|
|
34
|
+
var { disable, children, ...rest } = param;
|
|
35
|
+
var curTint = (0, import_useTint.useTint)().tint;
|
|
36
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.Theme, {
|
|
37
|
+
...rest,
|
|
38
|
+
name: disable ? null : curTint,
|
|
39
|
+
children
|
|
40
|
+
});
|
|
41
|
+
};
|
|
42
|
+
var ThemeTintAlt = function(param) {
|
|
43
|
+
var { children, disable, offset = 1, ...rest } = param;
|
|
44
|
+
var curTint = (0, import_useTint.useTint)(offset).tintAlt;
|
|
45
|
+
var name = disable ? null : curTint;
|
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.Theme, {
|
|
47
|
+
name,
|
|
48
|
+
...rest,
|
|
49
|
+
children
|
|
50
|
+
});
|
|
51
|
+
};
|
|
@@ -1,62 +1,53 @@
|
|
|
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 ThemeTint_exports = {};
|
|
26
25
|
__export(ThemeTint_exports, {
|
|
27
|
-
|
|
28
|
-
|
|
26
|
+
ThemeTint: () => ThemeTint,
|
|
27
|
+
ThemeTintAlt: () => ThemeTintAlt
|
|
29
28
|
});
|
|
30
29
|
module.exports = __toCommonJS(ThemeTint_exports);
|
|
31
30
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
31
|
var import_web = require("@tamagui/web");
|
|
33
32
|
var import_useTint = require("./useTint.native.js");
|
|
34
|
-
var ThemeTint = function
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
...rest,
|
|
43
|
-
name: disable ? null : curTint,
|
|
44
|
-
children
|
|
45
|
-
});
|
|
33
|
+
var ThemeTint = function(param) {
|
|
34
|
+
var { disable, children, ...rest } = param;
|
|
35
|
+
var curTint = (0, import_useTint.useTint)().tint;
|
|
36
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.Theme, {
|
|
37
|
+
...rest,
|
|
38
|
+
name: disable ? null : curTint,
|
|
39
|
+
children
|
|
40
|
+
});
|
|
46
41
|
};
|
|
47
|
-
var ThemeTintAlt = function
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_web.Theme, {
|
|
57
|
-
name,
|
|
58
|
-
...rest,
|
|
59
|
-
children
|
|
60
|
-
});
|
|
42
|
+
var ThemeTintAlt = function(param) {
|
|
43
|
+
var { children, disable, offset = 1, ...rest } = param;
|
|
44
|
+
var curTint = (0, import_useTint.useTint)(offset).tintAlt;
|
|
45
|
+
var name = disable ? null : curTint;
|
|
46
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.Theme, {
|
|
47
|
+
name,
|
|
48
|
+
...rest,
|
|
49
|
+
children
|
|
50
|
+
});
|
|
61
51
|
};
|
|
52
|
+
|
|
62
53
|
//# sourceMappingURL=ThemeTint.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"ThemeTint.native.js","names":[],"sources":["cjs/ThemeTint.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 ThemeTint_exports = {};\n__export(ThemeTint_exports, {\n ThemeTint: () => ThemeTint,\n ThemeTintAlt: () => ThemeTintAlt\n});\nmodule.exports = __toCommonJS(ThemeTint_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_web = require(\"@tamagui/web\");\nvar import_useTint = require(\"./useTint\");\nvar ThemeTint = function(param) {\n var { disable, children, ...rest } = param;\n var curTint = (0, import_useTint.useTint)().tint;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.Theme, {\n ...rest,\n name: disable ? null : curTint,\n children\n });\n};\nvar ThemeTintAlt = function(param) {\n var { children, disable, offset = 1, ...rest } = param;\n var curTint = (0, import_useTint.useTint)(offset).tintAlt;\n var name = disable ? null : curTint;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_web.Theme, {\n name,\n ...rest,\n children\n });\n};\n//# sourceMappingURL=ThemeTint.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,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OwnPropertyDescriptor;
|
|
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("./TamaguiLogo.cjs"), module.exports);
|
|
@@ -23,4 +22,4 @@ __reExport(index_exports, require("./LogoIcon.cjs"), module.exports);
|
|
|
23
22
|
__reExport(index_exports, require("./tints.cjs"), module.exports);
|
|
24
23
|
__reExport(index_exports, require("./useTint.cjs"), module.exports);
|
|
25
24
|
__reExport(index_exports, require("./ThemeTint.cjs"), module.exports);
|
|
26
|
-
__reExport(index_exports, require("./SeasonProvider.cjs"), module.exports);
|
|
25
|
+
__reExport(index_exports, require("./SeasonProvider.cjs"), module.exports);
|
|
@@ -0,0 +1,27 @@
|
|
|
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("./TamaguiLogo.native.js"), module.exports);
|
|
22
|
+
__reExport(index_exports, require("./LogoWords.native.js"), module.exports);
|
|
23
|
+
__reExport(index_exports, require("./LogoIcon.native.js"), module.exports);
|
|
24
|
+
__reExport(index_exports, require("./tints.native.js"), module.exports);
|
|
25
|
+
__reExport(index_exports, require("./useTint.native.js"), module.exports);
|
|
26
|
+
__reExport(index_exports, require("./ThemeTint.native.js"), module.exports);
|
|
27
|
+
__reExport(index_exports, require("./SeasonProvider.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("./TamaguiLogo.native.js"), module.exports);
|
|
@@ -26,4 +25,5 @@ __reExport(index_exports, require("./tints.native.js"), module.exports);
|
|
|
26
25
|
__reExport(index_exports, require("./useTint.native.js"), module.exports);
|
|
27
26
|
__reExport(index_exports, require("./ThemeTint.native.js"), module.exports);
|
|
28
27
|
__reExport(index_exports, require("./SeasonProvider.native.js"), module.exports);
|
|
28
|
+
|
|
29
29
|
//# 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(\"./TamaguiLogo\"), module.exports);\n__reExport(index_exports, require(\"./LogoWords\"), module.exports);\n__reExport(index_exports, require(\"./LogoIcon\"), module.exports);\n__reExport(index_exports, require(\"./tints\"), module.exports);\n__reExport(index_exports, require(\"./useTint\"), module.exports);\n__reExport(index_exports, require(\"./ThemeTint\"), module.exports);\n__reExport(index_exports, require(\"./SeasonProvider\"), 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,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,mBAAS,GAAG,OAAO,OAAO;AAC5D,WAAW,eAAe,QAAQ,qBAAW,GAAG,OAAO,OAAO;AAC9D,WAAW,eAAe,QAAQ,uBAAa,GAAG,OAAO,OAAO;AAChE,WAAW,eAAe,QAAQ,4BAAkB,GAAG,OAAO,OAAO"}
|