@tamagui/logo 2.0.0-rc.9 → 2.0.0

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 (106) hide show
  1. package/dist/cjs/LogoIcon.cjs +33 -29
  2. package/dist/cjs/LogoIcon.native.js +36 -34
  3. package/dist/cjs/LogoIcon.native.js.map +1 -1
  4. package/dist/cjs/LogoWords.cjs +63 -52
  5. package/dist/cjs/LogoWords.native.js +67 -60
  6. package/dist/cjs/LogoWords.native.js.map +1 -1
  7. package/dist/cjs/SeasonProvider.cjs +20 -15
  8. package/dist/cjs/SeasonProvider.native.js +20 -15
  9. package/dist/cjs/SeasonProvider.native.js.map +1 -1
  10. package/dist/cjs/TamaguiLogo.cjs +36 -32
  11. package/dist/cjs/TamaguiLogo.native.js +44 -42
  12. package/dist/cjs/TamaguiLogo.native.js.map +1 -1
  13. package/dist/cjs/TamaguiLogoSvg.cjs +12 -10
  14. package/dist/cjs/TamaguiLogoSvg.native.js +59 -57
  15. package/dist/cjs/TamaguiLogoSvg.native.js.map +1 -1
  16. package/dist/cjs/ThemeTint.cjs +40 -37
  17. package/dist/cjs/ThemeTint.native.js +43 -41
  18. package/dist/cjs/ThemeTint.native.js.map +1 -1
  19. package/dist/cjs/index.cjs +7 -5
  20. package/dist/cjs/index.native.js +7 -5
  21. package/dist/cjs/index.native.js.map +1 -1
  22. package/dist/cjs/tints.cjs +61 -47
  23. package/dist/cjs/tints.native.js +59 -49
  24. package/dist/cjs/tints.native.js.map +1 -1
  25. package/dist/cjs/useTint.cjs +90 -77
  26. package/dist/cjs/useTint.native.js +99 -90
  27. package/dist/cjs/useTint.native.js.map +1 -1
  28. package/dist/esm/LogoIcon.mjs +18 -16
  29. package/dist/esm/LogoIcon.mjs.map +1 -1
  30. package/dist/esm/LogoIcon.native.js.map +1 -1
  31. package/dist/esm/LogoWords.mjs +35 -26
  32. package/dist/esm/LogoWords.mjs.map +1 -1
  33. package/dist/esm/LogoWords.native.js +38 -33
  34. package/dist/esm/LogoWords.native.js.map +1 -1
  35. package/dist/esm/SeasonProvider.mjs +5 -2
  36. package/dist/esm/SeasonProvider.mjs.map +1 -1
  37. package/dist/esm/SeasonProvider.native.js +5 -2
  38. package/dist/esm/SeasonProvider.native.js.map +1 -1
  39. package/dist/esm/TamaguiLogo.mjs +20 -18
  40. package/dist/esm/TamaguiLogo.mjs.map +1 -1
  41. package/dist/esm/TamaguiLogo.native.js +2 -2
  42. package/dist/esm/TamaguiLogo.native.js.map +1 -1
  43. package/dist/esm/ThemeTint.mjs +25 -24
  44. package/dist/esm/ThemeTint.mjs.map +1 -1
  45. package/dist/esm/ThemeTint.native.js +27 -27
  46. package/dist/esm/ThemeTint.native.js.map +1 -1
  47. package/dist/esm/index.js +7 -7
  48. package/dist/esm/index.js.map +1 -6
  49. package/dist/esm/tints.mjs +37 -25
  50. package/dist/esm/tints.mjs.map +1 -1
  51. package/dist/esm/tints.native.js +34 -26
  52. package/dist/esm/tints.native.js.map +1 -1
  53. package/dist/esm/useTint.mjs +62 -51
  54. package/dist/esm/useTint.mjs.map +1 -1
  55. package/dist/esm/useTint.native.js +72 -65
  56. package/dist/esm/useTint.native.js.map +1 -1
  57. package/icon/index.js +1 -0
  58. package/icon/index.native.js +1 -0
  59. package/package.json +10 -7
  60. package/types/LogoIcon.d.ts.map +2 -2
  61. package/types/LogoWords.d.ts +1 -1
  62. package/types/LogoWords.d.ts.map +4 -6
  63. package/types/SeasonProvider.d.ts.map +2 -2
  64. package/types/TamaguiLogo.d.ts +1 -1
  65. package/types/TamaguiLogo.d.ts.map +3 -3
  66. package/types/TamaguiLogoSvg.d.ts +1 -1
  67. package/types/TamaguiLogoSvg.d.ts.map +3 -3
  68. package/types/ThemeTint.d.ts +2 -2
  69. package/types/ThemeTint.d.ts.map +3 -3
  70. package/types/index.d.ts.map +2 -2
  71. package/types/tints.d.ts.map +2 -2
  72. package/types/useTint.d.ts.map +4 -6
  73. package/dist/cjs/LogoIcon.js +0 -46
  74. package/dist/cjs/LogoIcon.js.map +0 -6
  75. package/dist/cjs/LogoWords.js +0 -170
  76. package/dist/cjs/LogoWords.js.map +0 -6
  77. package/dist/cjs/SeasonProvider.js +0 -32
  78. package/dist/cjs/SeasonProvider.js.map +0 -6
  79. package/dist/cjs/TamaguiLogo.js +0 -43
  80. package/dist/cjs/TamaguiLogo.js.map +0 -6
  81. package/dist/cjs/TamaguiLogoSvg.js +0 -41
  82. package/dist/cjs/TamaguiLogoSvg.js.map +0 -6
  83. package/dist/cjs/ThemeTint.js +0 -38
  84. package/dist/cjs/ThemeTint.js.map +0 -6
  85. package/dist/cjs/index.js +0 -21
  86. package/dist/cjs/index.js.map +0 -6
  87. package/dist/cjs/tints.js +0 -91
  88. package/dist/cjs/tints.js.map +0 -6
  89. package/dist/cjs/useTint.js +0 -76
  90. package/dist/cjs/useTint.js.map +0 -6
  91. package/dist/esm/LogoIcon.js +0 -32
  92. package/dist/esm/LogoIcon.js.map +0 -6
  93. package/dist/esm/LogoWords.js +0 -149
  94. package/dist/esm/LogoWords.js.map +0 -6
  95. package/dist/esm/SeasonProvider.js +0 -18
  96. package/dist/esm/SeasonProvider.js.map +0 -6
  97. package/dist/esm/TamaguiLogo.js +0 -30
  98. package/dist/esm/TamaguiLogo.js.map +0 -6
  99. package/dist/esm/TamaguiLogoSvg.js +0 -25
  100. package/dist/esm/TamaguiLogoSvg.js.map +0 -6
  101. package/dist/esm/ThemeTint.js +0 -24
  102. package/dist/esm/ThemeTint.js.map +0 -6
  103. package/dist/esm/tints.js +0 -67
  104. package/dist/esm/tints.js.map +0 -6
  105. package/dist/esm/useTint.js +0 -54
  106. package/dist/esm/useTint.js.map +0 -6
@@ -3,39 +3,44 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ 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, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var SeasonProvider_exports = {};
22
24
  __export(SeasonProvider_exports, {
23
25
  SeasonProvider: () => SeasonProvider
24
26
  });
25
27
  module.exports = __toCommonJS(SeasonProvider_exports);
26
- var import_react = require("react"),
27
- import_tints = require("./tints.cjs"),
28
- import_jsx_runtime = require("react/jsx-runtime");
28
+ var import_react = require("react");
29
+ var import_tints = require("./tints.cjs");
30
+ var import_jsx_runtime = require("react/jsx-runtime");
29
31
  function useSeasonSync() {
30
32
  (0, import_react.useEffect)(() => {
31
33
  const computed = window.__TAMAGUI_SEASON__;
32
- computed && (0, import_tints.setTintFamily)(computed);
34
+ if (computed) {
35
+ (0, import_tints.setTintFamily)(computed);
36
+ }
33
37
  }, []);
34
38
  }
35
39
  function SeasonProvider({
36
40
  children
37
41
  }) {
38
- return useSeasonSync(), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
42
+ useSeasonSync();
43
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
39
44
  children
40
45
  });
41
46
  }
@@ -5,40 +5,45 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ 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, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var SeasonProvider_exports = {};
24
26
  __export(SeasonProvider_exports, {
25
27
  SeasonProvider: () => SeasonProvider
26
28
  });
27
29
  module.exports = __toCommonJS(SeasonProvider_exports);
28
- var import_jsx_runtime = require("react/jsx-runtime"),
29
- import_react = require("react"),
30
- import_tints = require("./tints.native.js");
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var import_react = require("react");
32
+ var import_tints = require("./tints.native.js");
31
33
  function useSeasonSync() {
32
34
  (0, import_react.useEffect)(function () {
33
35
  var computed = window.__TAMAGUI_SEASON__;
34
- computed && (0, import_tints.setTintFamily)(computed);
36
+ if (computed) {
37
+ (0, import_tints.setTintFamily)(computed);
38
+ }
35
39
  }, []);
36
40
  }
37
41
  function SeasonProvider(param) {
38
42
  var {
39
43
  children
40
44
  } = param;
41
- return useSeasonSync(), /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
45
+ useSeasonSync();
46
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {
42
47
  children: (/* disabled because were launchig v2 and its lunar new year */
43
48
  /* <script
44
49
  suppressHydrationWarning
@@ -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,sBACqB;AA0B/C,IAAAK,kBAAS,GAAgBC,OAAA;EAAAC,YAAA,GAAAD,OAAA;EAAAE,YAAA,GAAAF,OAAA;AACvB,SAAAG,cAAA;EACE,IAAAF,YAAM,CAAAG,SAA2B;IAC7B,IAAAC,QAAA,GAAAC,MACF,CAAAC,kBAAA;IAEJF,QAAK,QAAAH,YAAA,CAAAM,aAAA,EAAAH,QAAA;EACP;AAEO;AAAwB,SAC7BT,eAAAa,KAAA;EACF,IAEoB;IAAAC;EAAA,IAAAD,KAAA;EAClB,OAAAN,aAAA,CAAc,GAGZ,mBAAAJ,kBAAA,CAAAY,GAAA,EAAAZ,kBAAA,CAAAa,QAAA;IAWJF,QAAA,G","ignoreList":[]}
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":[]}
@@ -3,30 +3,32 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ 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, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var TamaguiLogo_exports = {};
22
24
  __export(TamaguiLogo_exports, {
23
25
  TamaguiLogo: () => TamaguiLogo
24
26
  });
25
27
  module.exports = __toCommonJS(TamaguiLogo_exports);
26
- var import_tamagui = require("tamagui"),
27
- import_LogoIcon = require("./LogoIcon.cjs"),
28
- import_LogoWords = require("./LogoWords.cjs"),
29
- import_jsx_runtime = require("react/jsx-runtime");
28
+ var import_tamagui = require("tamagui");
29
+ var import_LogoIcon = require("./LogoIcon.cjs");
30
+ var import_LogoWords = require("./LogoWords.cjs");
31
+ var import_jsx_runtime = require("react/jsx-runtime");
30
32
  const TamaguiLogo = ({
31
33
  showWords,
32
34
  downscale,
@@ -34,22 +36,24 @@ const TamaguiLogo = ({
34
36
  color,
35
37
  ref,
36
38
  ...props
37
- }) => /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
38
- render: "span",
39
- ref,
40
- alignItems: "center",
41
- justifyContent: "center",
42
- gap: "$5",
43
- ...props,
44
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
45
- downscale: (downscale ?? 1) * (showWords ? 2 : 1.5),
46
- color
47
- }), showWords && /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
39
+ }) => {
40
+ return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
48
41
  render: "span",
49
- marginBottom: -4,
50
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
51
- animated,
52
- downscale: downscale ?? 2
53
- })
54
- })]
55
- });
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
+ };
@@ -5,57 +5,59 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ 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, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var TamaguiLogo_exports = {};
24
26
  __export(TamaguiLogo_exports, {
25
27
  TamaguiLogo: () => TamaguiLogo
26
28
  });
27
29
  module.exports = __toCommonJS(TamaguiLogo_exports);
28
- var import_jsx_runtime = require("react/jsx-runtime"),
29
- import_tamagui = require("tamagui"),
30
- import_LogoIcon = require("./LogoIcon.native.js"),
31
- import_LogoWords = require("./LogoWords.native.js"),
32
- TamaguiLogo = function (param) {
33
- var {
34
- showWords,
35
- downscale,
36
- animated,
37
- color,
38
- ref,
39
- ...props
40
- } = param;
41
- return /* @__PURE__ */(0, import_jsx_runtime.jsxs)(import_tamagui.XStack, {
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var import_tamagui = require("tamagui");
32
+ var import_LogoIcon = require("./LogoIcon.native.js");
33
+ 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, {
42
54
  render: "span",
43
- ref,
44
- alignItems: "center",
45
- justifyContent: "center",
46
- gap: "$5",
47
- ...props,
48
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoIcon.LogoIcon, {
49
- downscale: (downscale ?? 1) * (showWords ? 2 : 1.5),
50
- color
51
- }), showWords && /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_tamagui.YStack, {
52
- render: "span",
53
- marginBottom: -4,
54
- children: /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_LogoWords.LogoWords, {
55
- animated,
56
- downscale: downscale ?? 2
57
- })
58
- })]
59
- });
60
- };
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
+ });
62
+ };
61
63
  //# 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,mBAC/B;AAWO,IAAAK,kBAAqB,GAAAC,OAAA;EAAAC,cAAA,GAAAD,OAAA;EAAAE,eAAA,GAAAF,OAAA;EAAAG,gBAAA,GAAAH,OAAA;EAAAJ,WAAA,YAAAA,CAAAQ,KAAA;IAC1B;MAAAC,SAAA;MAAAC,SAAA;MAAAC,QAAA;MAAAC,KAAA;MAAAC,GAAA;MAAA,GAAAC;IAAA,IAAAN,KAAA;IACA,0BAAAL,kBAAA,CAAAY,IAAA,EAAAV,cAAA,CAAAW,MAAA;MACAC,MAAA;MACAJ,GAAA;MACAK,UAAA;MACAC,cAAG;MACLC,GAEI;MAAC,GAAAN,KAAA;MAAAO,QAAA,GACC,eAAO,IAAAlB,kBAAA,CAAAmB,GAAA,EAAAhB,eAAA,CAAAiB,QAAA;QACPb,SAAA,GAAAA,SAAA,UAAAD,SAAA;QACAG;MACA,IACAH,SAAI,uBAAAN,kBAAA,CAAAmB,GAAA,EAAAjB,cAAA,CAAAmB,MAAA;QACAP,MAAA;QAEJQ,YAAA;QAAAJ,QAAA,qBAAAlB,kBAAC,CAAAmB,GAAA,EAAAf,gBAAS,CAAAmB,SAAA,EAAY;UACrBf,QAAA;UAGCD,SAAA,EAAAA,SAAA;QAAA;MAEJ","ignoreList":[]}
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":[]}
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ 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, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var TamaguiLogoSvg_exports = {};
22
24
  __export(TamaguiLogoSvg_exports, {
@@ -5,74 +5,76 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
5
  var __getOwnPropNames = Object.getOwnPropertyNames;
6
6
  var __hasOwnProp = Object.prototype.hasOwnProperty;
7
7
  var __export = (target, all) => {
8
- for (var name in all) __defProp(target, name, {
9
- get: all[name],
10
- enumerable: !0
11
- });
12
- },
13
- __copyProps = (to, from, except, desc) => {
14
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
8
+ for (var name in all) __defProp(target, name, {
9
+ get: all[name],
10
+ enumerable: true
11
+ });
12
+ };
13
+ 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, {
15
16
  get: () => from[key],
16
17
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
17
18
  });
18
- return to;
19
- };
19
+ }
20
+ return to;
21
+ };
20
22
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
21
- value: !0
23
+ value: true
22
24
  }), mod);
23
25
  var TamaguiLogoSvg_exports = {};
24
26
  __export(TamaguiLogoSvg_exports, {
25
27
  TamaguiIconSvg: () => TamaguiIconSvg
26
28
  });
27
29
  module.exports = __toCommonJS(TamaguiLogoSvg_exports);
28
- var import_jsx_runtime = require("react/jsx-runtime"),
29
- TamaguiIconSvg = function (param) {
30
- var {
31
- color = "#ECD20A",
32
- ...props
33
- } = param;
34
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)("svg", {
35
- width: "160px",
36
- height: "160px",
37
- viewBox: "0 0 160 160",
38
- ...props,
39
- children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
40
- id: "duck",
41
- stroke: "none",
42
- strokeWidth: "1",
43
- fill: "none",
44
- fillRule: "evenodd",
45
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("circle", {
46
- id: "Oval",
47
- cx: "80",
48
- cy: "80",
49
- r: "145"
30
+ var import_jsx_runtime = require("react/jsx-runtime");
31
+ var TamaguiIconSvg = function (param) {
32
+ var {
33
+ color = "#ECD20A",
34
+ ...props
35
+ } = param;
36
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)("svg", {
37
+ width: "160px",
38
+ height: "160px",
39
+ viewBox: "0 0 160 160",
40
+ ...props,
41
+ children: /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
42
+ id: "duck",
43
+ stroke: "none",
44
+ strokeWidth: "1",
45
+ fill: "none",
46
+ fillRule: "evenodd",
47
+ children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("circle", {
48
+ id: "Oval",
49
+ cx: "80",
50
+ cy: "80",
51
+ r: "145"
52
+ }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
53
+ id: "Group-Copy-5",
54
+ children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("path", {
55
+ 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",
56
+ id: "Combined-Shape",
57
+ fill: color
50
58
  }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
51
- id: "Group-Copy-5",
52
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("path", {
53
- 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",
54
- id: "Combined-Shape",
55
- fill: color
56
- }), /* @__PURE__ */(0, import_jsx_runtime.jsxs)("g", {
57
- id: "Group",
58
- transform: "translate(80, 30)",
59
- fill: "#000000",
60
- children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
61
- id: "Rectangle-Copy-117",
62
- x: "0",
63
- y: "10",
64
- width: "10",
65
- height: "10"
66
- }), /* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
67
- id: "Rectangle-Copy-141",
68
- x: "30",
69
- y: "0",
70
- width: "10",
71
- height: "10"
72
- })]
59
+ id: "Group",
60
+ transform: "translate(80, 30)",
61
+ fill: "#000000",
62
+ children: [/* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
63
+ id: "Rectangle-Copy-117",
64
+ x: "0",
65
+ y: "10",
66
+ width: "10",
67
+ height: "10"
68
+ }), /* @__PURE__ */(0, import_jsx_runtime.jsx)("rect", {
69
+ id: "Rectangle-Copy-141",
70
+ x: "30",
71
+ y: "0",
72
+ width: "10",
73
+ height: "10"
73
74
  })]
74
75
  })]
75
- })
76
- });
77
- };
76
+ })]
77
+ })
78
+ });
79
+ };
78
80
  //# sourceMappingURL=TamaguiLogoSvg.native.js.map
@@ -1 +1 @@
1
- {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","TamaguiLogoSvg_exports","__export","TamaguiIconSvg","module","exports","import_jsx_runtime","require","param","color","props","jsx","width","height","viewBox","children","jsxs","id","stroke","strokeWidth","fill","fillRule","cx","cy","r"],"sources":["../../src/TamaguiLogoSvg.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;AAYMC,MAAA,CAAAC,OAAA,GAAAT,YAAA,CAAAK,sBAAA;AANC,IAAAK,kBAAM,GAAkBC,OAAA;EAAAJ,cAAA,YAAAA,CAAAK,KAAA;IAC7B;MAAAC,KAAQ;MAAA,GAAAC;IAAA,IAAAF,KAAA;IACR,OAAG,mBAAAF,kBAAA,CAAAK,GAAA;MACLC,KACE;MAEIC,MAAA;MACAC,OAAA;MACE,GAAAJ,KAAA;MAAAK,QAAC,qBAAAT,kBAAA,CAAAU,IAAA;QAAAC,EAAA;QAAAC,MACG;QAAAC,WACC;QAAAC,IACH,QAAM;QAAAC,QAAA;QACPN,QAAA,GACD,mBAAAT,kBAAA,CAAAK,GAAC,UAAK;UACJM,EAAA;UACAK,EAAA;UACFC,EAAA;UACFC,CAAA;QAEJ,I","ignoreList":[]}
1
+ {"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","TamaguiLogoSvg_exports","__export","TamaguiIconSvg","module","exports","import_jsx_runtime","require","param","color","props","jsx","width","height","viewBox","children","jsxs","id","stroke","strokeWidth","fill","fillRule","cx","cy","r"],"sources":["../../src/TamaguiLogoSvg.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;AAYMC,MAAA,CAAAC,OAAA,GAAAT,YAAA,CAAAK,sBAAA;AANC,IAAAK,kBAAM,GAAkBC,OAAA;AAAA,IAC7BJ,cAAQ,YAAAA,CAAAK,KAAA;EACR,IAAG;IAAAC,KAAA;IAAA,GAAAC;EAAA,IAAAF,KAAA;EACL,OACE,mBAAAF,kBAAA,CAAAK,GAAC,SAAI;IAEDC,KAAA;IACAC,MAAA;IACEC,OAAA;IAAA,GAACJ,KAAA;IAAAK,QAAA,qBAAAT,kBAAA,CAAAU,IAAA;MAAAC,EACC,QAAE;MAAAC,MACC;MAAAC,WACG;MAAAC,IAAA;MACPC,QAAA;MACDN,QAAA,GACE,mBAAAT,kBAAA,CAAAK,GAAC,UAAK;QACNM,EAAA;QACFK,EAAA;QACFC,EAAA;QAEJC,CAAA","ignoreList":[]}
@@ -3,20 +3,22 @@ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
3
  var __getOwnPropNames = Object.getOwnPropertyNames;
4
4
  var __hasOwnProp = Object.prototype.hasOwnProperty;
5
5
  var __export = (target, all) => {
6
- for (var name in all) __defProp(target, name, {
7
- get: all[name],
8
- enumerable: !0
9
- });
10
- },
11
- __copyProps = (to, from, except, desc) => {
12
- if (from && typeof from == "object" || typeof from == "function") for (let key of __getOwnPropNames(from)) !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, {
6
+ for (var name in all) __defProp(target, name, {
7
+ get: all[name],
8
+ enumerable: true
9
+ });
10
+ };
11
+ 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, {
13
14
  get: () => from[key],
14
15
  enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
15
16
  });
16
- return to;
17
- };
17
+ }
18
+ return to;
19
+ };
18
20
  var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
19
- value: !0
21
+ value: true
20
22
  }), mod);
21
23
  var ThemeTint_exports = {};
22
24
  __export(ThemeTint_exports, {
@@ -24,31 +26,32 @@ __export(ThemeTint_exports, {
24
26
  ThemeTintAlt: () => ThemeTintAlt
25
27
  });
26
28
  module.exports = __toCommonJS(ThemeTint_exports);
27
- var import_web = require("@tamagui/web"),
28
- import_useTint = require("./useTint.cjs"),
29
- import_jsx_runtime = require("react/jsx-runtime");
29
+ var import_web = require("@tamagui/web");
30
+ var import_useTint = require("./useTint.cjs");
31
+ var import_jsx_runtime = require("react/jsx-runtime");
30
32
  const ThemeTint = ({
31
- disable,
32
- children,
33
- ...rest
34
- }) => {
35
- const 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
- ThemeTintAlt = ({
43
- children,
44
- disable,
45
- offset = 1,
46
- ...rest
47
- }) => {
48
- const curTint = (0, import_useTint.useTint)(offset).tintAlt;
49
- return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_web.Theme, {
50
- name: disable ? null : curTint,
51
- ...rest,
52
- children
53
- });
54
- };
33
+ disable,
34
+ children,
35
+ ...rest
36
+ }) => {
37
+ const curTint = (0, import_useTint.useTint)().tint;
38
+ return /* @__PURE__ */(0, import_jsx_runtime.jsx)(import_web.Theme, {
39
+ ...rest,
40
+ name: disable ? null : curTint,
41
+ children
42
+ });
43
+ };
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
+ };