@tamagui/web 1.82.2 → 1.82.4

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 (70) hide show
  1. package/dist/cjs/helpers/expandStyle.native.js +1 -1
  2. package/dist/cjs/helpers/getSplitStyles.native.js +1 -1
  3. package/dist/cjs/helpers/getSplitStyles.native.js.map +1 -1
  4. package/dist/esm/helpers/expandStyle.native.js +1 -1
  5. package/dist/esm/helpers/getSplitStyles.native.js +1 -1
  6. package/dist/esm/helpers/getSplitStyles.native.js.map +1 -1
  7. package/package.json +10 -10
  8. package/src/types.tsx +1 -1
  9. package/types/types.d.ts +3 -1
  10. package/types/types.d.ts.map +1 -1
  11. package/dist/cjs/helpers/createChainedWeakCache.js +0 -53
  12. package/dist/cjs/helpers/createChainedWeakCache.js.map +0 -6
  13. package/dist/cjs/helpers/createChainedWeakCache.native.js +0 -54
  14. package/dist/cjs/helpers/createChainedWeakCache.native.js.map +0 -6
  15. package/dist/cjs/helpers/createProxy.js +0 -34
  16. package/dist/cjs/helpers/createProxy.js.map +0 -6
  17. package/dist/cjs/helpers/createProxy.native.js +0 -35
  18. package/dist/cjs/helpers/createProxy.native.js.map +0 -6
  19. package/dist/cjs/helpers/withStaticProperties.js +0 -40
  20. package/dist/cjs/helpers/withStaticProperties.js.map +0 -6
  21. package/dist/cjs/helpers/withStaticProperties.native.js +0 -41
  22. package/dist/cjs/helpers/withStaticProperties.native.js.map +0 -6
  23. package/dist/cjs/hooks/getThemeUnwrapped.js +0 -27
  24. package/dist/cjs/hooks/getThemeUnwrapped.js.map +0 -6
  25. package/dist/cjs/hooks/getThemeUnwrapped.native.js +0 -28
  26. package/dist/cjs/hooks/getThemeUnwrapped.native.js.map +0 -6
  27. package/dist/cjs/hooks/useId.js +0 -25
  28. package/dist/cjs/hooks/useId.js.map +0 -6
  29. package/dist/cjs/hooks/useId.native.js +0 -26
  30. package/dist/cjs/hooks/useId.native.js.map +0 -6
  31. package/dist/cjs/hooks/useMemoDebug.js +0 -30
  32. package/dist/cjs/hooks/useMemoDebug.js.map +0 -6
  33. package/dist/cjs/hooks/useMemoDebug.native.js +0 -31
  34. package/dist/cjs/hooks/useMemoDebug.native.js.map +0 -6
  35. package/dist/esm/helpers/createChainedWeakCache.js +0 -33
  36. package/dist/esm/helpers/createChainedWeakCache.js.map +0 -6
  37. package/dist/esm/helpers/createChainedWeakCache.native.js +0 -33
  38. package/dist/esm/helpers/createChainedWeakCache.native.js.map +0 -6
  39. package/dist/esm/helpers/createProxy.js +0 -14
  40. package/dist/esm/helpers/createProxy.js.map +0 -6
  41. package/dist/esm/helpers/createProxy.native.js +0 -14
  42. package/dist/esm/helpers/createProxy.native.js.map +0 -6
  43. package/dist/esm/helpers/withStaticProperties.js +0 -20
  44. package/dist/esm/helpers/withStaticProperties.js.map +0 -6
  45. package/dist/esm/helpers/withStaticProperties.native.js +0 -20
  46. package/dist/esm/helpers/withStaticProperties.native.js.map +0 -6
  47. package/dist/esm/hooks/getThemeUnwrapped.js +0 -6
  48. package/dist/esm/hooks/getThemeUnwrapped.js.map +0 -6
  49. package/dist/esm/hooks/getThemeUnwrapped.native.js +0 -6
  50. package/dist/esm/hooks/getThemeUnwrapped.native.js.map +0 -6
  51. package/dist/esm/hooks/useId.js +0 -5
  52. package/dist/esm/hooks/useId.js.map +0 -6
  53. package/dist/esm/hooks/useId.native.js +0 -5
  54. package/dist/esm/hooks/useId.native.js.map +0 -6
  55. package/dist/esm/hooks/useMemoDebug.js +0 -10
  56. package/dist/esm/hooks/useMemoDebug.js.map +0 -6
  57. package/dist/esm/hooks/useMemoDebug.native.js +0 -10
  58. package/dist/esm/hooks/useMemoDebug.native.js.map +0 -6
  59. package/types/helpers/createChainedWeakCache.d.ts +0 -5
  60. package/types/helpers/createChainedWeakCache.d.ts.map +0 -1
  61. package/types/helpers/createProxy.d.ts +0 -2
  62. package/types/helpers/createProxy.d.ts.map +0 -1
  63. package/types/helpers/withStaticProperties.d.ts +0 -4
  64. package/types/helpers/withStaticProperties.d.ts.map +0 -1
  65. package/types/hooks/getThemeUnwrapped.d.ts +0 -3
  66. package/types/hooks/getThemeUnwrapped.d.ts.map +0 -1
  67. package/types/hooks/useId.d.ts +0 -2
  68. package/types/hooks/useId.d.ts.map +0 -1
  69. package/types/hooks/useMemoDebug.d.ts +0 -3
  70. package/types/hooks/useMemoDebug.d.ts.map +0 -1
@@ -1,34 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var createProxy_exports = {};
16
- __export(createProxy_exports, {
17
- createProxy: () => createProxy
18
- });
19
- module.exports = __toCommonJS(createProxy_exports);
20
- function createProxy(target, handler) {
21
- return process.env.NODE_ENV === "development" && (typeof target != "object" || !target) && console.warn(
22
- "Invalid object given for proxy:",
23
- target,
24
- `
25
-
26
- This can be due to a missing theme or configuration given to Tamagui.`,
27
- new Error().stack
28
- ), new Proxy(target || {}, handler);
29
- }
30
- // Annotate the CommonJS export names for ESM import in node:
31
- 0 && (module.exports = {
32
- createProxy
33
- });
34
- //# sourceMappingURL=createProxy.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/createProxy.ts"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,YAA8B,QAAW,SAA0B;AACjF,SAAI,QAAQ,IAAI,aAAa,kBACvB,OAAO,UAAW,YAAY,CAAC,WACjC,QAAQ;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAAA,IAGA,IAAI,MAAM,EAAE;AAAA,EACd,GAGG,IAAI,MAAM,UAAU,CAAC,GAAG,OAAO;AACxC;",
5
- "names": []
6
- }
@@ -1,35 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var createProxy_exports = {};
17
- __export(createProxy_exports, {
18
- createProxy: () => createProxy
19
- });
20
- module.exports = __toCommonJS(createProxy_exports);
21
- function createProxy(target, handler) {
22
- return process.env.NODE_ENV === "development" && (typeof target != "object" || !target) && console.warn(
23
- "Invalid object given for proxy:",
24
- target,
25
- `
26
-
27
- This can be due to a missing theme or configuration given to Tamagui.`,
28
- new Error().stack
29
- ), new Proxy(target || {}, handler);
30
- }
31
- // Annotate the CommonJS export names for ESM import in node:
32
- 0 && (module.exports = {
33
- createProxy
34
- });
35
- //# sourceMappingURL=createProxy.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/createProxy.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,SAAS,YAA8B,QAAW,SAA0B;AACjF,SAAI,QAAQ,IAAI,aAAa,kBACvB,OAAO,UAAW,YAAY,CAAC,WACjC,QAAQ;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAAA,IAGA,IAAI,MAAM,EAAE;AAAA,EACd,GAGG,IAAI,MAAM,UAAU,CAAC,GAAG,OAAO;AACxC;",
5
- "names": []
6
- }
@@ -1,40 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var withStaticProperties_exports = {};
16
- __export(withStaticProperties_exports, {
17
- withStaticProperties: () => withStaticProperties
18
- });
19
- module.exports = __toCommonJS(withStaticProperties_exports);
20
- var import_react = require("react");
21
- const Decorated = Symbol(), withStaticProperties = function(component, staticProps) {
22
- const next = (() => {
23
- if (component[Decorated]) {
24
- const _ = (0, import_react.forwardRef)(
25
- (props, ref) => (0, import_react.createElement)(component, { ...props, ref })
26
- );
27
- for (const key in component) {
28
- const v = component[key];
29
- _[key] = v && typeof v == "object" ? { ...v } : v;
30
- }
31
- }
32
- return component;
33
- })();
34
- return Object.assign(next, staticProps), next[Decorated] = !0, next;
35
- };
36
- // Annotate the CommonJS export names for ESM import in node:
37
- 0 && (module.exports = {
38
- withStaticProperties
39
- });
40
- //# sourceMappingURL=withStaticProperties.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/withStaticProperties.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA0C;AAE1C,MAAM,YAAY,OAAO,GAIZ,uBAAuB,SAClC,WACA,aACgB;AAEhB,QAAM,QAAQ,MAAM;AAClB,QAAI,UAAU,SAAS,GAAG;AACxB,YAAM,QAAI;AAAA,QAAW,CAAC,OAAO,YAC3B,4BAAc,WAAkB,EAAE,GAAG,OAAO,IAAI,CAAC;AAAA,MACnD;AAEA,iBAAW,OAAO,WAAW;AAC3B,cAAM,IAAI,UAAU,GAAG;AAEvB,UAAE,GAAG,IAAI,KAAK,OAAO,KAAM,WAAW,EAAE,GAAG,EAAE,IAAI;AAAA,MACnD;AAAA,IACF;AACA,WAAO;AAAA,EACT,GAAG;AAGH,gBAAO,OAAO,MAAM,WAAW,GAC/B,KAAK,SAAS,IAAI,IAEX;AACT;",
5
- "names": []
6
- }
@@ -1,41 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var withStaticProperties_exports = {};
17
- __export(withStaticProperties_exports, {
18
- withStaticProperties: () => withStaticProperties
19
- });
20
- module.exports = __toCommonJS(withStaticProperties_exports);
21
- var import_react = require("react");
22
- const Decorated = Symbol(), withStaticProperties = function(component, staticProps) {
23
- const next = (() => {
24
- if (component[Decorated]) {
25
- const _ = (0, import_react.forwardRef)(
26
- (props, ref) => (0, import_react.createElement)(component, { ...props, ref })
27
- );
28
- for (const key in component) {
29
- const v = component[key];
30
- _[key] = v && typeof v == "object" ? { ...v } : v;
31
- }
32
- }
33
- return component;
34
- })();
35
- return Object.assign(next, staticProps), next[Decorated] = !0, next;
36
- };
37
- // Annotate the CommonJS export names for ESM import in node:
38
- 0 && (module.exports = {
39
- withStaticProperties
40
- });
41
- //# sourceMappingURL=withStaticProperties.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/withStaticProperties.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA0C;AAE1C,MAAM,YAAY,OAAO,GAIZ,uBAAuB,SAClC,WACA,aACgB;AAEhB,QAAM,QAAQ,MAAM;AAClB,QAAI,UAAU,SAAS,GAAG;AACxB,YAAM,QAAI;AAAA,QAAW,CAAC,OAAO,YAC3B,4BAAc,WAAkB,EAAE,GAAG,OAAO,IAAI,CAAC;AAAA,MACnD;AAEA,iBAAW,OAAO,WAAW;AAC3B,cAAM,IAAI,UAAU,GAAG;AAEvB,UAAE,GAAG,IAAI,KAAK,OAAO,KAAM,WAAW,EAAE,GAAG,EAAE,IAAI;AAAA,MACnD;AAAA,IACF;AACA,WAAO;AAAA,EACT,GAAG;AAGH,gBAAO,OAAO,MAAM,WAAW,GAC/B,KAAK,SAAS,IAAI,IAEX;AACT;",
5
- "names": []
6
- }
@@ -1,27 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var getThemeUnwrapped_exports = {};
16
- __export(getThemeUnwrapped_exports, {
17
- GetThemeUnwrapped: () => GetThemeUnwrapped,
18
- getThemeUnwrapped: () => getThemeUnwrapped
19
- });
20
- module.exports = __toCommonJS(getThemeUnwrapped_exports);
21
- const getThemeUnwrapped = (theme) => (theme == null ? void 0 : theme[GetThemeUnwrapped]) || theme, GetThemeUnwrapped = Symbol();
22
- // Annotate the CommonJS export names for ESM import in node:
23
- 0 && (module.exports = {
24
- GetThemeUnwrapped,
25
- getThemeUnwrapped
26
- });
27
- //# sourceMappingURL=getThemeUnwrapped.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/getThemeUnwrapped.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,oBAAoB,CAAC,WACzB,+BAAQ,uBAAsB,OAG1B,oBAAoB,OAAO;",
5
- "names": []
6
- }
@@ -1,28 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var getThemeUnwrapped_exports = {};
17
- __export(getThemeUnwrapped_exports, {
18
- GetThemeUnwrapped: () => GetThemeUnwrapped,
19
- getThemeUnwrapped: () => getThemeUnwrapped
20
- });
21
- module.exports = __toCommonJS(getThemeUnwrapped_exports);
22
- const getThemeUnwrapped = (theme) => (theme == null ? void 0 : theme[GetThemeUnwrapped]) || theme, GetThemeUnwrapped = Symbol();
23
- // Annotate the CommonJS export names for ESM import in node:
24
- 0 && (module.exports = {
25
- GetThemeUnwrapped,
26
- getThemeUnwrapped
27
- });
28
- //# sourceMappingURL=getThemeUnwrapped.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/getThemeUnwrapped.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAO,MAAM,oBAAoB,CAAC,WACzB,+BAAQ,uBAAsB,OAG1B,oBAAoB,OAAO;",
5
- "names": []
6
- }
@@ -1,25 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var useId_exports = {};
16
- __export(useId_exports, {
17
- useId: () => import_react.useId
18
- });
19
- module.exports = __toCommonJS(useId_exports);
20
- var import_react = require("react");
21
- // Annotate the CommonJS export names for ESM import in node:
22
- 0 && (module.exports = {
23
- useId
24
- });
25
- //# sourceMappingURL=useId.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/useId.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAsB;",
5
- "names": []
6
- }
@@ -1,26 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var useId_exports = {};
17
- __export(useId_exports, {
18
- useId: () => import_react.useId
19
- });
20
- module.exports = __toCommonJS(useId_exports);
21
- var import_react = require("react");
22
- // Annotate the CommonJS export names for ESM import in node:
23
- 0 && (module.exports = {
24
- useId
25
- });
26
- //# sourceMappingURL=useId.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/useId.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAAsB;",
5
- "names": []
6
- }
@@ -1,30 +0,0 @@
1
- var __defProp = Object.defineProperty;
2
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
- var __getOwnPropNames = Object.getOwnPropertyNames;
4
- var __hasOwnProp = Object.prototype.hasOwnProperty;
5
- var __export = (target, all) => {
6
- for (var name in all)
7
- __defProp(target, name, { get: all[name], enumerable: !0 });
8
- }, __copyProps = (to, from, except, desc) => {
9
- if (from && typeof from == "object" || typeof from == "function")
10
- for (let key of __getOwnPropNames(from))
11
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
- return to;
13
- };
14
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
15
- var useMemoDebug_exports = {};
16
- __export(useMemoDebug_exports, {
17
- useMemoDebug: () => useMemoDebug
18
- });
19
- module.exports = __toCommonJS(useMemoDebug_exports);
20
- var import_react = require("react");
21
- const useMemoDebug = (fn, args) => {
22
- let run = 1;
23
- const res = (0, import_react.useMemo)(() => (run = 0, fn()), args);
24
- return run === 1 && console.info("saved a run"), res;
25
- };
26
- // Annotate the CommonJS export names for ESM import in node:
27
- 0 && (module.exports = {
28
- useMemoDebug
29
- });
30
- //# sourceMappingURL=useMemoDebug.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/useMemoDebug.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,mBAAwB;AAEjB,MAAM,eAA+B,CAAC,IAAI,SAAS;AACxD,MAAI,MAAM;AAEV,QAAM,UAAM,sBAAQ,OAClB,MAAM,GACC,GAAG,IACT,IAAI;AAEP,SAAI,QAAQ,KACV,QAAQ,KAAK,aAAa,GAGrB;AACT;",
5
- "names": []
6
- }
@@ -1,31 +0,0 @@
1
- "use strict";
2
- var __defProp = Object.defineProperty;
3
- var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
4
- var __getOwnPropNames = Object.getOwnPropertyNames;
5
- var __hasOwnProp = Object.prototype.hasOwnProperty;
6
- var __export = (target, all) => {
7
- for (var name in all)
8
- __defProp(target, name, { get: all[name], enumerable: !0 });
9
- }, __copyProps = (to, from, except, desc) => {
10
- if (from && typeof from == "object" || typeof from == "function")
11
- for (let key of __getOwnPropNames(from))
12
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
13
- return to;
14
- };
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var useMemoDebug_exports = {};
17
- __export(useMemoDebug_exports, {
18
- useMemoDebug: () => useMemoDebug
19
- });
20
- module.exports = __toCommonJS(useMemoDebug_exports);
21
- var import_react = require("react");
22
- const useMemoDebug = (fn, args) => {
23
- let run = 1;
24
- const res = (0, import_react.useMemo)(() => (run = 0, fn()), args);
25
- return run === 1 && console.info("saved a run"), res;
26
- };
27
- // Annotate the CommonJS export names for ESM import in node:
28
- 0 && (module.exports = {
29
- useMemoDebug
30
- });
31
- //# sourceMappingURL=useMemoDebug.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/useMemoDebug.tsx"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,mBAAwB;AAEjB,MAAM,eAA+B,CAAC,IAAI,SAAS;AACxD,MAAI,MAAM;AAEV,QAAM,UAAM,sBAAQ,OAClB,MAAM,GACC,GAAG,IACT,IAAI;AAEP,SAAI,QAAQ,KACV,QAAQ,KAAK,aAAa,GAGrB;AACT;",
5
- "names": []
6
- }
@@ -1,33 +0,0 @@
1
- const createChainedWeakCache = () => {
2
- const baseMap = /* @__PURE__ */ new WeakMap();
3
- return {
4
- get: (args) => {
5
- let cur = baseMap;
6
- for (let arg of args)
7
- if (cur.has(arg))
8
- cur = cur.get(arg);
9
- else
10
- return;
11
- return cur;
12
- },
13
- set(args, result) {
14
- const len = args.length;
15
- let cur = baseMap;
16
- for (let i = 0; i < len; i++) {
17
- const arg = args[i];
18
- if (i === len - 1)
19
- cur.set(arg, result);
20
- else if (cur.has(arg))
21
- cur = cur.get(arg);
22
- else {
23
- const next = /* @__PURE__ */ new WeakMap();
24
- cur.set(arg, next), cur = next;
25
- }
26
- }
27
- }
28
- };
29
- };
30
- export {
31
- createChainedWeakCache
32
- };
33
- //# sourceMappingURL=createChainedWeakCache.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/createChainedWeakCache.tsx"],
4
- "mappings": "AAAO,MAAM,yBAAyB,MAAM;AAC1C,QAAM,UAAU,oBAAI,QAAQ;AAE5B,SAAO;AAAA,IACL,KAAK,CAAC,SAAgB;AACpB,UAAI,MAAM;AACV,eAAS,OAAO;AACd,YAAI,IAAI,IAAI,GAAG;AACb,gBAAM,IAAI,IAAI,GAAG;AAAA;AAEjB;AAGJ,aAAO;AAAA,IACT;AAAA,IAEA,IAAI,MAAa,QAAa;AAC5B,YAAM,MAAM,KAAK;AACjB,UAAI,MAAM;AAEV,eAAS,IAAI,GAAG,IAAI,KAAK,KAAK;AAC5B,cAAM,MAAM,KAAK,CAAC;AAGlB,YAFe,MAAM,MAAM;AAGzB,cAAK,IAAI,KAAK,MAAM;AAAA,iBAEhB,IAAI,IAAI,GAAG;AACb,gBAAM,IAAI,IAAI,GAAG;AAAA,aACZ;AACL,gBAAM,OAAO,oBAAI,QAAQ;AACzB,cAAI,IAAI,KAAK,IAAI,GACjB,MAAM;AAAA,QACR;AAAA,MAEJ;AAAA,IACF;AAAA,EACF;AACF;",
5
- "names": []
6
- }
@@ -1,33 +0,0 @@
1
- const createChainedWeakCache = () => {
2
- const baseMap = /* @__PURE__ */ new WeakMap();
3
- return {
4
- get: (args) => {
5
- let cur = baseMap;
6
- for (let arg of args)
7
- if (cur.has(arg))
8
- cur = cur.get(arg);
9
- else
10
- return;
11
- return cur;
12
- },
13
- set(args, result) {
14
- const len = args.length;
15
- let cur = baseMap;
16
- for (let i = 0; i < len; i++) {
17
- const arg = args[i];
18
- if (i === len - 1)
19
- cur.set(arg, result);
20
- else if (cur.has(arg))
21
- cur = cur.get(arg);
22
- else {
23
- const next = /* @__PURE__ */ new WeakMap();
24
- cur.set(arg, next), cur = next;
25
- }
26
- }
27
- }
28
- };
29
- };
30
- export {
31
- createChainedWeakCache
32
- };
33
- //# sourceMappingURL=createChainedWeakCache.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/createChainedWeakCache.tsx"],
4
- "mappings": "AAAO,MAAM,yBAAyB,MAAM;AAC1C,QAAM,UAAU,oBAAI,QAAQ;AAE5B,SAAO;AAAA,IACL,KAAK,CAAC,SAAgB;AACpB,UAAI,MAAM;AACV,eAAS,OAAO;AACd,YAAI,IAAI,IAAI,GAAG;AACb,gBAAM,IAAI,IAAI,GAAG;AAAA;AAEjB;AAGJ,aAAO;AAAA,IACT;AAAA,IAEA,IAAI,MAAa,QAAa;AAC5B,YAAM,MAAM,KAAK;AACjB,UAAI,MAAM;AAEV,eAAS,IAAI,GAAG,IAAI,KAAK,KAAK;AAC5B,cAAM,MAAM,KAAK,CAAC;AAGlB,YAFe,MAAM,MAAM;AAGzB,cAAK,IAAI,KAAK,MAAM;AAAA,iBAEhB,IAAI,IAAI,GAAG;AACb,gBAAM,IAAI,IAAI,GAAG;AAAA,aACZ;AACL,gBAAM,OAAO,oBAAI,QAAQ;AACzB,cAAI,IAAI,KAAK,IAAI,GACjB,MAAM;AAAA,QACR;AAAA,MAEJ;AAAA,IACF;AAAA,EACF;AACF;",
5
- "names": []
6
- }
@@ -1,14 +0,0 @@
1
- function createProxy(target, handler) {
2
- return process.env.NODE_ENV === "development" && (typeof target != "object" || !target) && console.warn(
3
- "Invalid object given for proxy:",
4
- target,
5
- `
6
-
7
- This can be due to a missing theme or configuration given to Tamagui.`,
8
- new Error().stack
9
- ), new Proxy(target || {}, handler);
10
- }
11
- export {
12
- createProxy
13
- };
14
- //# sourceMappingURL=createProxy.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/createProxy.ts"],
4
- "mappings": "AAAO,SAAS,YAA8B,QAAW,SAA0B;AACjF,SAAI,QAAQ,IAAI,aAAa,kBACvB,OAAO,UAAW,YAAY,CAAC,WACjC,QAAQ;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAAA,IAGA,IAAI,MAAM,EAAE;AAAA,EACd,GAGG,IAAI,MAAM,UAAU,CAAC,GAAG,OAAO;AACxC;",
5
- "names": []
6
- }
@@ -1,14 +0,0 @@
1
- function createProxy(target, handler) {
2
- return process.env.NODE_ENV === "development" && (typeof target != "object" || !target) && console.warn(
3
- "Invalid object given for proxy:",
4
- target,
5
- `
6
-
7
- This can be due to a missing theme or configuration given to Tamagui.`,
8
- new Error().stack
9
- ), new Proxy(target || {}, handler);
10
- }
11
- export {
12
- createProxy
13
- };
14
- //# sourceMappingURL=createProxy.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/createProxy.ts"],
4
- "mappings": "AAAO,SAAS,YAA8B,QAAW,SAA0B;AACjF,SAAI,QAAQ,IAAI,aAAa,kBACvB,OAAO,UAAW,YAAY,CAAC,WACjC,QAAQ;AAAA,IACN;AAAA,IACA;AAAA,IACA;AAAA;AAAA;AAAA,IAGA,IAAI,MAAM,EAAE;AAAA,EACd,GAGG,IAAI,MAAM,UAAU,CAAC,GAAG,OAAO;AACxC;",
5
- "names": []
6
- }
@@ -1,20 +0,0 @@
1
- import { createElement, forwardRef } from "react";
2
- const Decorated = Symbol(), withStaticProperties = function(component, staticProps) {
3
- const next = (() => {
4
- if (component[Decorated]) {
5
- const _ = forwardRef(
6
- (props, ref) => createElement(component, { ...props, ref })
7
- );
8
- for (const key in component) {
9
- const v = component[key];
10
- _[key] = v && typeof v == "object" ? { ...v } : v;
11
- }
12
- }
13
- return component;
14
- })();
15
- return Object.assign(next, staticProps), next[Decorated] = !0, next;
16
- };
17
- export {
18
- withStaticProperties
19
- };
20
- //# sourceMappingURL=withStaticProperties.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/withStaticProperties.tsx"],
4
- "mappings": "AAAA,SAAS,eAAe,kBAAkB;AAE1C,MAAM,YAAY,OAAO,GAIZ,uBAAuB,SAClC,WACA,aACgB;AAEhB,QAAM,QAAQ,MAAM;AAClB,QAAI,UAAU,SAAS,GAAG;AACxB,YAAM,IAAI;AAAA,QAAW,CAAC,OAAO,QAC3B,cAAc,WAAkB,EAAE,GAAG,OAAO,IAAI,CAAC;AAAA,MACnD;AAEA,iBAAW,OAAO,WAAW;AAC3B,cAAM,IAAI,UAAU,GAAG;AAEvB,UAAE,GAAG,IAAI,KAAK,OAAO,KAAM,WAAW,EAAE,GAAG,EAAE,IAAI;AAAA,MACnD;AAAA,IACF;AACA,WAAO;AAAA,EACT,GAAG;AAGH,gBAAO,OAAO,MAAM,WAAW,GAC/B,KAAK,SAAS,IAAI,IAEX;AACT;",
5
- "names": []
6
- }
@@ -1,20 +0,0 @@
1
- import { createElement, forwardRef } from "react";
2
- const Decorated = Symbol(), withStaticProperties = function(component, staticProps) {
3
- const next = (() => {
4
- if (component[Decorated]) {
5
- const _ = forwardRef(
6
- (props, ref) => createElement(component, { ...props, ref })
7
- );
8
- for (const key in component) {
9
- const v = component[key];
10
- _[key] = v && typeof v == "object" ? { ...v } : v;
11
- }
12
- }
13
- return component;
14
- })();
15
- return Object.assign(next, staticProps), next[Decorated] = !0, next;
16
- };
17
- export {
18
- withStaticProperties
19
- };
20
- //# sourceMappingURL=withStaticProperties.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/helpers/withStaticProperties.tsx"],
4
- "mappings": "AAAA,SAAS,eAAe,kBAAkB;AAE1C,MAAM,YAAY,OAAO,GAIZ,uBAAuB,SAClC,WACA,aACgB;AAEhB,QAAM,QAAQ,MAAM;AAClB,QAAI,UAAU,SAAS,GAAG;AACxB,YAAM,IAAI;AAAA,QAAW,CAAC,OAAO,QAC3B,cAAc,WAAkB,EAAE,GAAG,OAAO,IAAI,CAAC;AAAA,MACnD;AAEA,iBAAW,OAAO,WAAW;AAC3B,cAAM,IAAI,UAAU,GAAG;AAEvB,UAAE,GAAG,IAAI,KAAK,OAAO,KAAM,WAAW,EAAE,GAAG,EAAE,IAAI;AAAA,MACnD;AAAA,IACF;AACA,WAAO;AAAA,EACT,GAAG;AAGH,gBAAO,OAAO,MAAM,WAAW,GAC/B,KAAK,SAAS,IAAI,IAEX;AACT;",
5
- "names": []
6
- }
@@ -1,6 +0,0 @@
1
- const getThemeUnwrapped = (theme) => theme?.[GetThemeUnwrapped] || theme, GetThemeUnwrapped = Symbol();
2
- export {
3
- GetThemeUnwrapped,
4
- getThemeUnwrapped
5
- };
6
- //# sourceMappingURL=getThemeUnwrapped.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/getThemeUnwrapped.tsx"],
4
- "mappings": "AAAO,MAAM,oBAAoB,CAAC,UACzB,QAAQ,iBAAiB,KAAK,OAG1B,oBAAoB,OAAO;",
5
- "names": []
6
- }
@@ -1,6 +0,0 @@
1
- const getThemeUnwrapped = (theme) => theme?.[GetThemeUnwrapped] || theme, GetThemeUnwrapped = Symbol();
2
- export {
3
- GetThemeUnwrapped,
4
- getThemeUnwrapped
5
- };
6
- //# sourceMappingURL=getThemeUnwrapped.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/getThemeUnwrapped.tsx"],
4
- "mappings": "AAAO,MAAM,oBAAoB,CAAC,UACzB,QAAQ,iBAAiB,KAAK,OAG1B,oBAAoB,OAAO;",
5
- "names": []
6
- }
@@ -1,5 +0,0 @@
1
- import { useId } from "react";
2
- export {
3
- useId
4
- };
5
- //# sourceMappingURL=useId.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/useId.tsx"],
4
- "mappings": "AAAA,SAAS,aAAa;",
5
- "names": []
6
- }