@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,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
- }
@@ -1,10 +0,0 @@
1
- import { useMemo } from "react";
2
- const useMemoDebug = (fn, args) => {
3
- let run = 1;
4
- const res = useMemo(() => (run = 0, fn()), args);
5
- return run === 1 && console.info("saved a run"), res;
6
- };
7
- export {
8
- useMemoDebug
9
- };
10
- //# sourceMappingURL=useMemoDebug.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/useMemoDebug.tsx"],
4
- "mappings": "AAEA,SAAS,eAAe;AAEjB,MAAM,eAA+B,CAAC,IAAI,SAAS;AACxD,MAAI,MAAM;AAEV,QAAM,MAAM,QAAQ,OAClB,MAAM,GACC,GAAG,IACT,IAAI;AAEP,SAAI,QAAQ,KACV,QAAQ,KAAK,aAAa,GAGrB;AACT;",
5
- "names": []
6
- }
@@ -1,10 +0,0 @@
1
- import { useMemo } from "react";
2
- const useMemoDebug = (fn, args) => {
3
- let run = 1;
4
- const res = useMemo(() => (run = 0, fn()), args);
5
- return run === 1 && console.info("saved a run"), res;
6
- };
7
- export {
8
- useMemoDebug
9
- };
10
- //# sourceMappingURL=useMemoDebug.js.map
@@ -1,6 +0,0 @@
1
- {
2
- "version": 3,
3
- "sources": ["../../../src/hooks/useMemoDebug.tsx"],
4
- "mappings": "AAEA,SAAS,eAAe;AAEjB,MAAM,eAA+B,CAAC,IAAI,SAAS;AACxD,MAAI,MAAM;AAEV,QAAM,MAAM,QAAQ,OAClB,MAAM,GACC,GAAG,IACT,IAAI;AAEP,SAAI,QAAQ,KACV,QAAQ,KAAK,aAAa,GAGrB;AACT;",
5
- "names": []
6
- }
@@ -1,5 +0,0 @@
1
- export declare const createChainedWeakCache: () => {
2
- get: (args: any[]) => WeakMap<WeakKey, any> | undefined;
3
- set(args: any[], result: any): void;
4
- };
5
- //# sourceMappingURL=createChainedWeakCache.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createChainedWeakCache.d.ts","sourceRoot":"","sources":["../../src/helpers/createChainedWeakCache.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,sBAAsB;gBAInB,GAAG,EAAE;cAYP,GAAG,EAAE,UAAU,GAAG;CAsB/B,CAAA"}
@@ -1,2 +0,0 @@
1
- export declare function createProxy<A extends object>(target: A, handler: ProxyHandler<A>): A;
2
- //# sourceMappingURL=createProxy.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"createProxy.d.ts","sourceRoot":"","sources":["../../src/helpers/createProxy.ts"],"names":[],"mappings":"AAAA,wBAAgB,WAAW,CAAC,CAAC,SAAS,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,OAAO,EAAE,YAAY,CAAC,CAAC,CAAC,KAchF"}
@@ -1,4 +0,0 @@
1
- type Combined<A, B> = A & B;
2
- export declare const withStaticProperties: <A extends Function, B>(component: A, staticProps: B) => Combined<A, B>;
3
- export {};
4
- //# sourceMappingURL=withStaticProperties.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"withStaticProperties.d.ts","sourceRoot":"","sources":["../../src/helpers/withStaticProperties.tsx"],"names":[],"mappings":"AAIA,KAAK,QAAQ,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,CAAA;AAE3B,eAAO,MAAM,oBAAoB,yEAyBhC,CAAA"}
@@ -1,3 +0,0 @@
1
- export declare const getThemeUnwrapped: (theme: any) => any;
2
- export declare const GetThemeUnwrapped: unique symbol;
3
- //# sourceMappingURL=getThemeUnwrapped.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"getThemeUnwrapped.d.ts","sourceRoot":"","sources":["../../src/hooks/getThemeUnwrapped.tsx"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,UAAW,GAAG,QAE3C,CAAA;AAED,eAAO,MAAM,iBAAiB,eAAW,CAAA"}
@@ -1,2 +0,0 @@
1
- export { useId } from 'react';
2
- //# sourceMappingURL=useId.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useId.d.ts","sourceRoot":"","sources":["../../src/hooks/useId.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,OAAO,CAAA"}
@@ -1,3 +0,0 @@
1
- import { useMemo } from 'react';
2
- export declare const useMemoDebug: typeof useMemo;
3
- //# sourceMappingURL=useMemoDebug.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"useMemoDebug.d.ts","sourceRoot":"","sources":["../../src/hooks/useMemoDebug.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,EAAE,MAAM,OAAO,CAAA;AAE/B,eAAO,MAAM,YAAY,EAAE,OAAO,OAajC,CAAA"}