@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.
Files changed (81) hide show
  1. package/dist/cjs/LogoIcon.cjs +30 -38
  2. package/dist/cjs/LogoIcon.native.cjs +46 -0
  3. package/dist/cjs/LogoIcon.native.js +31 -38
  4. package/dist/cjs/LogoIcon.native.js.map +1 -1
  5. package/dist/cjs/LogoWords.cjs +142 -137
  6. package/dist/cjs/LogoWords.native.cjs +166 -0
  7. package/dist/cjs/LogoWords.native.js +147 -161
  8. package/dist/cjs/LogoWords.native.js.map +1 -1
  9. package/dist/cjs/SeasonProvider.cjs +24 -31
  10. package/dist/cjs/SeasonProvider.native.cjs +42 -0
  11. package/dist/cjs/SeasonProvider.native.js +24 -37
  12. package/dist/cjs/SeasonProvider.native.js.map +1 -1
  13. package/dist/cjs/TamaguiLogo.cjs +35 -45
  14. package/dist/cjs/TamaguiLogo.native.cjs +52 -0
  15. package/dist/cjs/TamaguiLogo.native.js +36 -45
  16. package/dist/cjs/TamaguiLogo.native.js.map +1 -1
  17. package/dist/cjs/TamaguiLogoSvg.cjs +57 -63
  18. package/dist/cjs/TamaguiLogoSvg.native.cjs +73 -0
  19. package/dist/cjs/TamaguiLogoSvg.native.js +60 -65
  20. package/dist/cjs/TamaguiLogoSvg.native.js.map +1 -1
  21. package/dist/cjs/ThemeTint.cjs +31 -41
  22. package/dist/cjs/ThemeTint.native.cjs +51 -0
  23. package/dist/cjs/ThemeTint.native.js +33 -42
  24. package/dist/cjs/ThemeTint.native.js.map +1 -1
  25. package/dist/cjs/index.cjs +10 -11
  26. package/dist/cjs/index.native.cjs +27 -0
  27. package/dist/cjs/index.native.js +10 -10
  28. package/dist/cjs/index.native.js.map +1 -1
  29. package/dist/cjs/tints.cjs +122 -72
  30. package/dist/cjs/tints.native.cjs +156 -0
  31. package/dist/cjs/tints.native.js +125 -74
  32. package/dist/cjs/tints.native.js.map +1 -1
  33. package/dist/cjs/useTint.cjs +79 -87
  34. package/dist/cjs/useTint.native.cjs +119 -0
  35. package/dist/cjs/useTint.native.js +90 -97
  36. package/dist/cjs/useTint.native.js.map +1 -1
  37. package/dist/esm/LogoIcon.mjs +17 -20
  38. package/dist/esm/LogoIcon.mjs.map +1 -1
  39. package/dist/esm/LogoIcon.native.js +19 -22
  40. package/dist/esm/LogoIcon.native.js.map +1 -1
  41. package/dist/esm/LogoWords.mjs +126 -111
  42. package/dist/esm/LogoWords.mjs.map +1 -1
  43. package/dist/esm/LogoWords.native.js +132 -137
  44. package/dist/esm/LogoWords.native.js.map +1 -1
  45. package/dist/esm/SeasonProvider.mjs +11 -13
  46. package/dist/esm/SeasonProvider.mjs.map +1 -1
  47. package/dist/esm/SeasonProvider.native.js +12 -21
  48. package/dist/esm/SeasonProvider.native.js.map +1 -1
  49. package/dist/esm/TamaguiLogo.mjs +22 -27
  50. package/dist/esm/TamaguiLogo.mjs.map +1 -1
  51. package/dist/esm/TamaguiLogo.native.js +24 -29
  52. package/dist/esm/TamaguiLogo.native.js.map +1 -1
  53. package/dist/esm/TamaguiLogoSvg.mjs +44 -45
  54. package/dist/esm/TamaguiLogoSvg.mjs.map +1 -1
  55. package/dist/esm/TamaguiLogoSvg.native.js +48 -49
  56. package/dist/esm/TamaguiLogoSvg.native.js.map +1 -1
  57. package/dist/esm/ThemeTint.mjs +17 -24
  58. package/dist/esm/ThemeTint.mjs.map +1 -1
  59. package/dist/esm/ThemeTint.native.js +20 -27
  60. package/dist/esm/ThemeTint.native.js.map +1 -1
  61. package/dist/esm/index.js +13 -8
  62. package/dist/esm/index.mjs +13 -8
  63. package/dist/esm/index.native.js +13 -8
  64. package/dist/esm/tints.mjs +102 -44
  65. package/dist/esm/tints.mjs.map +1 -1
  66. package/dist/esm/tints.native.js +105 -47
  67. package/dist/esm/tints.native.js.map +1 -1
  68. package/dist/esm/useTint.mjs +57 -57
  69. package/dist/esm/useTint.mjs.map +1 -1
  70. package/dist/esm/useTint.native.js +68 -68
  71. package/dist/esm/useTint.native.js.map +1 -1
  72. package/package.json +5 -5
  73. package/src/LogoIcon.tsx +2 -4
  74. package/src/LogoWords.tsx +7 -9
  75. package/src/TamaguiLogo.tsx +1 -1
  76. package/types/LogoIcon.d.ts.map +1 -1
  77. package/types/LogoWords.d.ts.map +1 -1
  78. package/types/TamaguiLogo.d.ts.map +1 -1
  79. package/dist/esm/index.js.map +0 -1
  80. package/dist/esm/index.mjs.map +0 -1
  81. 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
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
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
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
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
- (0, import_react.useEffect)(function () {
35
- var computed = window.__TAMAGUI_SEASON__;
36
- if (computed) {
37
- (0, import_tints.setTintFamily)(computed);
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
- var {
43
- children
44
- } = param;
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,"names":["__toCommonJS","mod","__copyProps","__defProp","value","SeasonProvider_exports","__export","SeasonProvider","module","exports","import_jsx_runtime","require","import_react","import_tints","useSeasonSync","useEffect","computed","window","__TAMAGUI_SEASON__","setTintFamily","param","children","jsx","Fragment"],"sources":["../../src/SeasonProvider.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,sBAAA;AAAAC,QAAA,CAAAD,sBAAA;EAAAE,cAAA,EAAAA,CAAA,KAAAA;AAAA;AACAC,MAAA,CAAAC,OAAA,GAAAT,YAA0B,CAAAK,sBAAA;AAC1B,IAAAK,kBAA+C,GAAAC,OAAA;AA2C3C,IAAAC,YAAA,GAAAD,OAAA;AAjBJ,IAAAE,YAAS,GAAAF,OAAgB;AACvB,SAAAG,cAAA;EACE,IAAAF,YAAM,CAAAG,SAA2B;IACjC,IAAIC,QAAA,GAAUC,MAAA,CAAAC,kBAAA;IACZ,IAAAF,QAAA;MACF,IAAAH,YAAA,CAAAM,aAAA,EAAAH,QAAA;IACF;EACF;AAEO;AAAwB,SAC7BT,eAAAa,KAAA;EACF,IAEoB;IAAAC;EAAA,IAAAD,KAAA;EAClBN,aAAA,CAAc;EAEd,OACE,mBAAAJ,kBAAA,CAAAY,GAAA,EAAAZ,kBAAA,CAAAa,QAAA;IAWJF,QAAA,G","ignoreList":[]}
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"}
@@ -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
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
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
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
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
- showWords,
34
- downscale,
35
- animated,
36
- color,
37
- ref,
38
- ...props
39
- }) => {
40
- return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
41
- render: "span",
42
- ref,
43
- alignItems: "center",
44
- justifyContent: "center",
45
- gap: "$5",
46
- ...props,
47
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
48
- downscale: (downscale ?? 1) * (showWords ? 2 : 1.5),
49
- color
50
- }), showWords && /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
51
- render: "span",
52
- marginBottom: -4,
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
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: true
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
- if (from && typeof from === "object" || typeof from === "function") {
15
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
16
- get: () => from[key],
17
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
18
- });
19
- }
20
- return to;
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 (param) {
35
- var {
36
- showWords,
37
- downscale,
38
- animated,
39
- color,
40
- ref,
41
- ...props
42
- } = param;
43
- return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
44
- render: "span",
45
- ref,
46
- alignItems: "center",
47
- justifyContent: "center",
48
- gap: "$5",
49
- ...props,
50
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
51
- downscale: (downscale !== null && downscale !== void 0 ? downscale : 1) * (showWords ? 2 : 1.5),
52
- color
53
- }), showWords && /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
54
- render: "span",
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,"names":["__toCommonJS","mod","__copyProps","__defProp","value","TamaguiLogo_exports","__export","TamaguiLogo","module","exports","import_jsx_runtime","require","import_tamagui","import_LogoIcon","import_LogoWords","param","showWords","downscale","animated","color","ref","props","jsxs","XStack","render","alignItems","justifyContent","gap","children","jsx","LogoIcon","YStack","marginBottom","LogoWords"],"sources":["../../src/TamaguiLogo.tsx"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,mBAAA;AAAAC,QAAA,CAAAD,mBAAA;EAAAE,WAAA,EAAAA,CAAA,KAAAA;AAAA;AAEAC,MAAA,CAAAC,OAAA,GAAAT,YAA+B,CAAAK,mBAAA;AAC/B,IAAAK,kBAAyB,GAAAC,OAAA;AACzB,IAAAC,cAAA,GAAAD,OAA0B;AAmBtB,IAAAE,eAAA,GAAAF,OAAA;AATG,IAAAG,gBAAoB,GAACH,OAAA;AAAA,IAC1BJ,WAAA,YAAAA,CAAAQ,KAAA;EACA;IAAAC,SAAA;IAAAC,SAAA;IAAAC,QAAA;IAAAC,KAAA;IAAAC,GAAA;IAAA,GAAAC;EAAA,IAAAN,KAAA;EACA,0BAAAL,kBAAA,CAAAY,IAAA,EAAAV,cAAA,CAAAW,MAAA;IACAC,MAAA;IACAJ,GAAA;IACAK,UAAG;IACLC,cAA8B;IAC5BC,GAAA,EACE;IAAC,GAAAN,KAAA;IAAAO,QAAA,GACC,eAAO,IAAAlB,kBAAA,CAAAmB,GAAA,EAAAhB,eAAA,CAAAiB,QAAA;MACPb,SAAA,GAAAA,SAAA,aAAAA,SAAA,cAAAA,SAAA,SAAAD,SAAA;MACAG;IACA,IACAH,SAAI,uBAAAN,kBAAA,CAAAmB,GAAA,EAAAjB,cAAA,CAAAmB,MAAA;MACHP,MAAG;MAEJQ,YAAA;MAAAJ,QAAA,qBAAAlB,kBAAC,CAAAmB,GAAA,EAAAf,gBAAA,CAAAmB,SAAS;QACTf,QAAA;QAGCD,SAAA,EAAAA,SAAA,aAAAA,SAAA,cAAAA,SAAA;MAAA;IAEJ","ignoreList":[]}
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
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: true
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
- if (from && typeof from === "object" || typeof from === "function") {
13
- for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
14
- get: () => from[key],
15
- enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
16
- });
17
- }
18
- return to;
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
- color = "#ECD20A",
31
- ...props
32
- }) => /* @__PURE__ */(0, import_jsx_runtime.jsx)("svg", {
33
- width: "160px",
34
- height: "160px",
35
- viewBox: "0 0 160 160",
36
- ...props,
37
- children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
38
- id: "duck",
39
- stroke: "none",
40
- strokeWidth: "1",
41
- fill: "none",
42
- fillRule: "evenodd",
43
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("circle", {
44
- id: "Oval",
45
- cx: "80",
46
- cy: "80",
47
- r: "145"
48
- }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
49
- id: "Group-Copy-5",
50
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("path", {
51
- 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",
52
- id: "Combined-Shape",
53
- fill: color
54
- }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
55
- id: "Group",
56
- transform: "translate(80, 30)",
57
- fill: "#000000",
58
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
59
- id: "Rectangle-Copy-117",
60
- x: "0",
61
- y: "10",
62
- width: "10",
63
- height: "10"
64
- }), /* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
65
- id: "Rectangle-Copy-141",
66
- x: "30",
67
- y: "0",
68
- width: "10",
69
- height: "10"
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
+ };