@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
|
@@ -0,0 +1,42 @@
|
|
|
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 SeasonProvider_exports = {};
|
|
25
|
+
__export(SeasonProvider_exports, { SeasonProvider: () => SeasonProvider });
|
|
26
|
+
module.exports = __toCommonJS(SeasonProvider_exports);
|
|
27
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
28
|
+
var import_react = require("react");
|
|
29
|
+
var import_tints = require("./tints.native.js");
|
|
30
|
+
function useSeasonSync() {
|
|
31
|
+
(0, import_react.useEffect)(function() {
|
|
32
|
+
var computed = window.__TAMAGUI_SEASON__;
|
|
33
|
+
if (computed) {
|
|
34
|
+
(0, import_tints.setTintFamily)(computed);
|
|
35
|
+
}
|
|
36
|
+
}, []);
|
|
37
|
+
}
|
|
38
|
+
function SeasonProvider(param) {
|
|
39
|
+
var { children } = param;
|
|
40
|
+
useSeasonSync();
|
|
41
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children });
|
|
42
|
+
}
|
|
@@ -1,57 +1,44 @@
|
|
|
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 SeasonProvider_exports = {};
|
|
26
|
-
__export(SeasonProvider_exports, {
|
|
27
|
-
SeasonProvider: () => SeasonProvider
|
|
28
|
-
});
|
|
25
|
+
__export(SeasonProvider_exports, { SeasonProvider: () => SeasonProvider });
|
|
29
26
|
module.exports = __toCommonJS(SeasonProvider_exports);
|
|
30
27
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
28
|
var import_react = require("react");
|
|
32
29
|
var import_tints = require("./tints.native.js");
|
|
33
30
|
function useSeasonSync() {
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
31
|
+
(0, import_react.useEffect)(function() {
|
|
32
|
+
var computed = window.__TAMAGUI_SEASON__;
|
|
33
|
+
if (computed) {
|
|
34
|
+
(0, import_tints.setTintFamily)(computed);
|
|
35
|
+
}
|
|
36
|
+
}, []);
|
|
40
37
|
}
|
|
41
38
|
function SeasonProvider(param) {
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
useSeasonSync();
|
|
46
|
-
return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
|
|
47
|
-
children: (/* disabled because were launchig v2 and its lunar new year */
|
|
48
|
-
/* <script
|
|
49
|
-
suppressHydrationWarning
|
|
50
|
-
dangerouslySetInnerHTML={{
|
|
51
|
-
__html: getInlineScript(),
|
|
52
|
-
}}
|
|
53
|
-
/> */
|
|
54
|
-
children)
|
|
55
|
-
});
|
|
39
|
+
var { children } = param;
|
|
40
|
+
useSeasonSync();
|
|
41
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, { children });
|
|
56
42
|
}
|
|
43
|
+
|
|
57
44
|
//# sourceMappingURL=SeasonProvider.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"SeasonProvider.native.js","names":[],"sources":["cjs/SeasonProvider.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 SeasonProvider_exports = {};\n__export(SeasonProvider_exports, {\n SeasonProvider: () => SeasonProvider\n});\nmodule.exports = __toCommonJS(SeasonProvider_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_react = require(\"react\");\nvar import_tints = require(\"./tints\");\nfunction useSeasonSync() {\n (0, import_react.useEffect)(function() {\n var computed = window.__TAMAGUI_SEASON__;\n if (computed) {\n (0, import_tints.setTintFamily)(computed);\n }\n }, []);\n}\nfunction SeasonProvider(param) {\n var { children } = param;\n useSeasonSync();\n return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {\n children: (\n /* disabled because were launchig v2 and its lunar new year */\n /* <script\n suppressHydrationWarning\n dangerouslySetInnerHTML={{\n __html: getInlineScript(),\n }}\n /> */\n children\n )\n });\n}\n//# sourceMappingURL=SeasonProvider.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,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,yBAAyB,CAAC;AAC9B,SAAS,wBAAwB,EAC/B,sBAAsB,eACxB,CAAC;AACD,OAAO,UAAU,aAAa,sBAAsB;AACpD,IAAI,qBAAqB,QAAQ,mBAAmB;AACpD,IAAI,eAAe,QAAQ,OAAO;AAClC,IAAI,eAAe,QAAQ,mBAAS;AACpC,SAAS,gBAAgB;CACvB,CAAC,GAAG,aAAa,WAAW,WAAW;EACrC,IAAI,WAAW,OAAO;EACtB,IAAI,UAAU;GACZ,CAAC,GAAG,aAAa,eAAe,QAAQ;EAC1C;CACF,GAAG,CAAC,CAAC;AACP;AACA,SAAS,eAAe,OAAO;CAC7B,IAAI,EAAE,aAAa;CACnB,cAAc;CACd,OAAuB,iBAAC,GAAG,mBAAmB,KAAK,mBAAmB,UAAU,EAS5E,SAEJ,CAAC;AACH"}
|
package/dist/cjs/TamaguiLogo.cjs
CHANGED
|
@@ -1,59 +1,49 @@
|
|
|
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 TamaguiLogo_exports = {};
|
|
24
|
-
__export(TamaguiLogo_exports, {
|
|
25
|
-
TamaguiLogo: () => TamaguiLogo
|
|
26
|
-
});
|
|
23
|
+
__export(TamaguiLogo_exports, { TamaguiLogo: () => TamaguiLogo });
|
|
27
24
|
module.exports = __toCommonJS(TamaguiLogo_exports);
|
|
28
25
|
var import_tamagui = require("tamagui");
|
|
29
26
|
var import_LogoIcon = require("./LogoIcon.cjs");
|
|
30
27
|
var import_LogoWords = require("./LogoWords.cjs");
|
|
31
28
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
32
|
-
const TamaguiLogo = ({
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
|
|
54
|
-
animated,
|
|
55
|
-
downscale: downscale ?? 2
|
|
56
|
-
})
|
|
57
|
-
})]
|
|
58
|
-
});
|
|
59
|
-
};
|
|
29
|
+
const TamaguiLogo = ({ showWords, downscale, animated, color, ref, ...props }) => {
|
|
30
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
31
|
+
render: "span",
|
|
32
|
+
ref,
|
|
33
|
+
alignItems: "center",
|
|
34
|
+
justifyContent: "center",
|
|
35
|
+
gap: "5",
|
|
36
|
+
...props,
|
|
37
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
|
|
38
|
+
downscale: (downscale ?? 1) * (showWords ? 2 : 1.5),
|
|
39
|
+
color
|
|
40
|
+
}), showWords && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
|
|
41
|
+
render: "span",
|
|
42
|
+
marginBottom: -4,
|
|
43
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
|
|
44
|
+
animated,
|
|
45
|
+
downscale: downscale ?? 2
|
|
46
|
+
})
|
|
47
|
+
})]
|
|
48
|
+
});
|
|
49
|
+
};
|
|
@@ -0,0 +1,52 @@
|
|
|
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 TamaguiLogo_exports = {};
|
|
25
|
+
__export(TamaguiLogo_exports, { TamaguiLogo: () => TamaguiLogo });
|
|
26
|
+
module.exports = __toCommonJS(TamaguiLogo_exports);
|
|
27
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
28
|
+
var import_tamagui = require("tamagui");
|
|
29
|
+
var import_LogoIcon = require("./LogoIcon.native.js");
|
|
30
|
+
var import_LogoWords = require("./LogoWords.native.js");
|
|
31
|
+
var TamaguiLogo = function(param) {
|
|
32
|
+
var { showWords, downscale, animated, color, ref, ...props } = param;
|
|
33
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
34
|
+
render: "span",
|
|
35
|
+
ref,
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
justifyContent: "center",
|
|
38
|
+
gap: "5",
|
|
39
|
+
...props,
|
|
40
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
|
|
41
|
+
downscale: (downscale !== null && downscale !== void 0 ? downscale : 1) * (showWords ? 2 : 1.5),
|
|
42
|
+
color
|
|
43
|
+
}), showWords && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
|
|
44
|
+
render: "span",
|
|
45
|
+
marginBottom: -4,
|
|
46
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
|
|
47
|
+
animated,
|
|
48
|
+
downscale: downscale !== null && downscale !== void 0 ? downscale : 2
|
|
49
|
+
})
|
|
50
|
+
})]
|
|
51
|
+
});
|
|
52
|
+
};
|
|
@@ -1,63 +1,54 @@
|
|
|
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 TamaguiLogo_exports = {};
|
|
26
|
-
__export(TamaguiLogo_exports, {
|
|
27
|
-
TamaguiLogo: () => TamaguiLogo
|
|
28
|
-
});
|
|
25
|
+
__export(TamaguiLogo_exports, { TamaguiLogo: () => TamaguiLogo });
|
|
29
26
|
module.exports = __toCommonJS(TamaguiLogo_exports);
|
|
30
27
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
31
28
|
var import_tamagui = require("tamagui");
|
|
32
29
|
var import_LogoIcon = require("./LogoIcon.native.js");
|
|
33
30
|
var import_LogoWords = require("./LogoWords.native.js");
|
|
34
|
-
var TamaguiLogo = function
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
marginBottom: -4,
|
|
56
|
-
children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
|
|
57
|
-
animated,
|
|
58
|
-
downscale: downscale !== null && downscale !== void 0 ? downscale : 2
|
|
59
|
-
})
|
|
60
|
-
})]
|
|
61
|
-
});
|
|
31
|
+
var TamaguiLogo = function(param) {
|
|
32
|
+
var { showWords, downscale, animated, color, ref, ...props } = param;
|
|
33
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
|
|
34
|
+
render: "span",
|
|
35
|
+
ref,
|
|
36
|
+
alignItems: "center",
|
|
37
|
+
justifyContent: "center",
|
|
38
|
+
gap: "5",
|
|
39
|
+
...props,
|
|
40
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
|
|
41
|
+
downscale: (downscale !== null && downscale !== void 0 ? downscale : 1) * (showWords ? 2 : 1.5),
|
|
42
|
+
color
|
|
43
|
+
}), showWords && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
|
|
44
|
+
render: "span",
|
|
45
|
+
marginBottom: -4,
|
|
46
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
|
|
47
|
+
animated,
|
|
48
|
+
downscale: downscale !== null && downscale !== void 0 ? downscale : 2
|
|
49
|
+
})
|
|
50
|
+
})]
|
|
51
|
+
});
|
|
62
52
|
};
|
|
53
|
+
|
|
63
54
|
//# sourceMappingURL=TamaguiLogo.native.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"TamaguiLogo.native.js","names":[],"sources":["cjs/TamaguiLogo.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 TamaguiLogo_exports = {};\n__export(TamaguiLogo_exports, {\n TamaguiLogo: () => TamaguiLogo\n});\nmodule.exports = __toCommonJS(TamaguiLogo_exports);\nvar import_jsx_runtime = require(\"react/jsx-runtime\");\nvar import_tamagui = require(\"tamagui\");\nvar import_LogoIcon = require(\"./LogoIcon\");\nvar import_LogoWords = require(\"./LogoWords\");\nvar TamaguiLogo = function(param) {\n var { showWords, downscale, animated, color, ref, ...props } = param;\n return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {\n render: \"span\",\n ref,\n alignItems: \"center\",\n justifyContent: \"center\",\n gap: \"5\",\n ...props,\n children: [\n /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {\n downscale: (downscale !== null && downscale !== void 0 ? downscale : 1) * (showWords ? 2 : 1.5),\n color\n }),\n showWords && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_tamagui.YStack, {\n render: \"span\",\n marginBottom: -4,\n children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {\n animated,\n downscale: downscale !== null && downscale !== void 0 ? downscale : 2\n })\n })\n ]\n });\n};\n//# sourceMappingURL=TamaguiLogo.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,KAAK;EAAW,CAAC;CACvH;CACA,OAAO;AACT;AACA,IAAI,gBAAgB,QAAQ,YAAY,UAAU,CAAC,GAAG,cAAc,EAAE,OAAO,KAAK,CAAC,GAAG,GAAG;AACzF,IAAI,sBAAsB,CAAC;AAC3B,SAAS,qBAAqB,EAC5B,mBAAmB,YACrB,CAAC;AACD,OAAO,UAAU,aAAa,mBAAmB;AACjD,IAAI,qBAAqB,QAAQ,mBAAmB;AACpD,IAAI,iBAAiB,QAAQ,SAAS;AACtC,IAAI,kBAAkB,QAAQ,sBAAY;AAC1C,IAAI,mBAAmB,QAAQ,uBAAa;AAC5C,IAAI,cAAc,SAAS,OAAO;CAChC,IAAI,EAAE,WAAW,WAAW,UAAU,OAAO,KAAK,GAAG,UAAU;CAC/D,OAAuB,iBAAC,GAAG,mBAAmB,MAAM,eAAe,QAAQ;EACzE,QAAQ;EACR;EACA,YAAY;EACZ,gBAAgB;EAChB,KAAK;EACL,GAAG;EACH,UAAU,CACQ,iBAAC,GAAG,mBAAmB,KAAK,gBAAgB,UAAU;GACpE,YAAY,cAAc,QAAQ,cAAc,KAAK,IAAI,YAAY,MAAM,YAAY,IAAI;GAC3F;EACF,CAAC,GACD,aAA6B,iBAAC,GAAG,mBAAmB,KAAK,eAAe,QAAQ;GAC9E,QAAQ;GACR,cAAc,CAAC;GACf,UAA0B,iBAAC,GAAG,mBAAmB,KAAK,iBAAiB,WAAW;IAChF;IACA,WAAW,cAAc,QAAQ,cAAc,KAAK,IAAI,YAAY;GACtE,CAAC;EACH,CAAC,CACH;CACF,CAAC;AACH"}
|
|
@@ -1,74 +1,68 @@
|
|
|
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 TamaguiLogoSvg_exports = {};
|
|
24
|
-
__export(TamaguiLogoSvg_exports, {
|
|
25
|
-
TamaguiIconSvg: () => TamaguiIconSvg
|
|
26
|
-
});
|
|
23
|
+
__export(TamaguiLogoSvg_exports, { TamaguiIconSvg: () => TamaguiIconSvg });
|
|
27
24
|
module.exports = __toCommonJS(TamaguiLogoSvg_exports);
|
|
28
25
|
var import_jsx_runtime = require("react/jsx-runtime");
|
|
29
|
-
const TamaguiIconSvg = ({
|
|
30
|
-
|
|
31
|
-
|
|
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
|
-
});
|
|
26
|
+
const TamaguiIconSvg = ({ color = "#ECD20A", ...props }) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("svg", {
|
|
27
|
+
width: "160px",
|
|
28
|
+
height: "160px",
|
|
29
|
+
viewBox: "0 0 160 160",
|
|
30
|
+
...props,
|
|
31
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
|
|
32
|
+
id: "duck",
|
|
33
|
+
stroke: "none",
|
|
34
|
+
strokeWidth: "1",
|
|
35
|
+
fill: "none",
|
|
36
|
+
fillRule: "evenodd",
|
|
37
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("circle", {
|
|
38
|
+
id: "Oval",
|
|
39
|
+
cx: "80",
|
|
40
|
+
cy: "80",
|
|
41
|
+
r: "145"
|
|
42
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
|
|
43
|
+
id: "Group-Copy-5",
|
|
44
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("path", {
|
|
45
|
+
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",
|
|
46
|
+
id: "Combined-Shape",
|
|
47
|
+
fill: color
|
|
48
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("g", {
|
|
49
|
+
id: "Group",
|
|
50
|
+
transform: "translate(80, 30)",
|
|
51
|
+
fill: "#000000",
|
|
52
|
+
children: [/* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
53
|
+
id: "Rectangle-Copy-117",
|
|
54
|
+
x: "0",
|
|
55
|
+
y: "10",
|
|
56
|
+
width: "10",
|
|
57
|
+
height: "10"
|
|
58
|
+
}), /* @__PURE__ */ (0, import_jsx_runtime.jsx)("rect", {
|
|
59
|
+
id: "Rectangle-Copy-141",
|
|
60
|
+
x: "30",
|
|
61
|
+
y: "0",
|
|
62
|
+
width: "10",
|
|
63
|
+
height: "10"
|
|
64
|
+
})]
|
|
65
|
+
})]
|
|
66
|
+
})]
|
|
67
|
+
})
|
|
68
|
+
});
|
|
@@ -0,0 +1,73 @@
|
|
|
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 TamaguiLogoSvg_exports = {};
|
|
25
|
+
__export(TamaguiLogoSvg_exports, { TamaguiIconSvg: () => TamaguiIconSvg });
|
|
26
|
+
module.exports = __toCommonJS(TamaguiLogoSvg_exports);
|
|
27
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
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
|
+
});
|
|
73
|
+
};
|