@tamagui/static 1.88.21 → 1.88.23

Sign up to get free protection for your applications and to get access to all the features.
Files changed (87) hide show
  1. package/dist/esm/constants.native.js +4 -37
  2. package/dist/esm/constants.native.js.map +2 -2
  3. package/dist/esm/extractor/accessSafe.native.js +3 -32
  4. package/dist/esm/extractor/accessSafe.native.js.map +1 -1
  5. package/dist/esm/extractor/babelParse.native.js +3 -33
  6. package/dist/esm/extractor/babelParse.native.js.map +1 -1
  7. package/dist/esm/extractor/buildClassName.native.js +3 -33
  8. package/dist/esm/extractor/buildClassName.native.js.map +1 -1
  9. package/dist/esm/extractor/bundle.native.js +14 -39
  10. package/dist/esm/extractor/bundle.native.js.map +2 -2
  11. package/dist/esm/extractor/bundleConfig.native.js +36 -59
  12. package/dist/esm/extractor/bundleConfig.native.js.map +2 -2
  13. package/dist/esm/extractor/createEvaluator.native.js +12 -37
  14. package/dist/esm/extractor/createEvaluator.native.js.map +2 -2
  15. package/dist/esm/extractor/createExtractor.native.js +86 -87
  16. package/dist/esm/extractor/createExtractor.native.js.map +2 -2
  17. package/dist/esm/extractor/ensureImportingConcat.native.js +3 -32
  18. package/dist/esm/extractor/ensureImportingConcat.native.js.map +1 -1
  19. package/dist/esm/extractor/esbuildAliasPlugin.native.js +2 -23
  20. package/dist/esm/extractor/esbuildAliasPlugin.native.js.map +1 -1
  21. package/dist/esm/extractor/evaluateAstNode.native.js +3 -32
  22. package/dist/esm/extractor/evaluateAstNode.native.js.map +1 -1
  23. package/dist/esm/extractor/extractHelpers.native.js +11 -49
  24. package/dist/esm/extractor/extractHelpers.native.js.map +2 -2
  25. package/dist/esm/extractor/extractMediaStyle.native.js +10 -37
  26. package/dist/esm/extractor/extractMediaStyle.native.js.map +1 -1
  27. package/dist/esm/extractor/extractToClassNames.native.js +30 -43
  28. package/dist/esm/extractor/extractToClassNames.native.js.map +2 -2
  29. package/dist/esm/extractor/findTopmostFunction.native.js +2 -23
  30. package/dist/esm/extractor/findTopmostFunction.native.js.map +1 -1
  31. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js +18 -45
  32. package/dist/esm/extractor/generateTamaguiStudioConfig.native.js.map +2 -2
  33. package/dist/esm/extractor/generatedUid.native.js +3 -32
  34. package/dist/esm/extractor/generatedUid.native.js.map +1 -1
  35. package/dist/esm/extractor/getPrefixLogs.native.js +2 -23
  36. package/dist/esm/extractor/getPrefixLogs.native.js.map +1 -1
  37. package/dist/esm/extractor/getPropValueFromAttributes.native.js +7 -34
  38. package/dist/esm/extractor/getPropValueFromAttributes.native.js.map +2 -2
  39. package/dist/esm/extractor/getSourceModule.native.js +3 -32
  40. package/dist/esm/extractor/getSourceModule.native.js.map +1 -1
  41. package/dist/esm/extractor/getStaticBindingsForScope.native.js +13 -39
  42. package/dist/esm/extractor/getStaticBindingsForScope.native.js.map +1 -1
  43. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js +4 -25
  44. package/dist/esm/extractor/getTamaguiConfigPathFromOptionsConfig.native.js.map +1 -1
  45. package/dist/esm/extractor/hoistClassNames.native.js +3 -32
  46. package/dist/esm/extractor/hoistClassNames.native.js.map +1 -1
  47. package/dist/esm/extractor/literalToAst.native.js +3 -33
  48. package/dist/esm/extractor/literalToAst.native.js.map +1 -1
  49. package/dist/esm/extractor/loadFile.native.js +0 -1
  50. package/dist/esm/extractor/loadFile.native.js.map +1 -1
  51. package/dist/esm/extractor/loadTamagui.native.js +60 -73
  52. package/dist/esm/extractor/loadTamagui.native.js.map +2 -2
  53. package/dist/esm/extractor/logLines.native.js +2 -23
  54. package/dist/esm/extractor/logLines.native.js.map +1 -1
  55. package/dist/esm/extractor/normalizeTernaries.native.js +7 -34
  56. package/dist/esm/extractor/normalizeTernaries.native.js.map +2 -2
  57. package/dist/esm/extractor/propsToFontFamilyCache.native.js +2 -25
  58. package/dist/esm/extractor/propsToFontFamilyCache.native.js.map +1 -1
  59. package/dist/esm/extractor/removeUnusedHooks.native.js +3 -32
  60. package/dist/esm/extractor/removeUnusedHooks.native.js.map +1 -1
  61. package/dist/esm/extractor/timer.native.js +2 -23
  62. package/dist/esm/extractor/timer.native.js.map +1 -1
  63. package/dist/esm/extractor/validHTMLAttributes.native.js +2 -23
  64. package/dist/esm/extractor/validHTMLAttributes.native.js.map +1 -1
  65. package/dist/esm/getPragmaOptions.native.js +2 -23
  66. package/dist/esm/getPragmaOptions.native.js.map +1 -1
  67. package/dist/esm/helpers/memoize.native.js +2 -23
  68. package/dist/esm/helpers/memoize.native.js.map +1 -1
  69. package/dist/esm/helpers/requireTamaguiCore.native.js +2 -23
  70. package/dist/esm/helpers/requireTamaguiCore.native.js.map +1 -1
  71. package/dist/esm/index.native.js +3 -22
  72. package/dist/esm/index.native.js.map +1 -1
  73. package/dist/esm/minifyCSS.native.js +6 -34
  74. package/dist/esm/minifyCSS.native.js.map +2 -2
  75. package/dist/esm/registerRequire.native.js +6 -28
  76. package/dist/esm/registerRequire.native.js.map +1 -1
  77. package/dist/esm/server.native.js +5 -34
  78. package/dist/esm/server.native.js.map +2 -2
  79. package/dist/esm/setup.native.js +0 -1
  80. package/dist/esm/setup.native.js.map +1 -1
  81. package/dist/esm/static.native.js +12 -39
  82. package/dist/esm/static.native.js.map +1 -1
  83. package/dist/esm/types.native.js +0 -14
  84. package/dist/esm/types.native.js.map +2 -2
  85. package/dist/esm/webpackPlugin.native.js +2 -23
  86. package/dist/esm/webpackPlugin.native.js.map +1 -1
  87. package/package.json +14 -14
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/server.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAEA,sBAAgB;AAEhB,eAAsB,YAAY,SAAyB;AACzD,QAAM,OAAO,MAAM,iBAAiB,GAC9B,SAAS,gBAAAA,QAAI,aAAa;AAChC,SAAO,MAAM,GAEb,MAAM,IAAI,QAAQ,CAAC,SAAS,WAAW;AACrC,WAAO,GAAG,SAAS,MAAM,GACzB,OAAO,GAAG,c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AAA,MAAK,IAAI,OAAO,QAAQ;AAChC,aAAO,MAAM,MAAM;AACjB,gBAAQA,KAAI;AAAA,MACd,CAAC;AAAA,IACH,CAAC;AAAA,EACH,CAAC;AACH;AAEA,eAAe,iBAAiB,OAAO,MAAuB;AAC5D,SAAO,mBAAmB,IAAI,EAAE,MAAM,MAAM,iBAAiB,OAAO,CAAC,CAAC;AACxE;AAEA,SAAS,mBAAmB,MAAc;AACxC,SAAO,IAAI,QAAgB,CAAC,SAAS,WAAW;AAC9C,UAAM,SAAS,IAAI,aAAa;AAChC,WAAO,MAAM,GACb,OAAO,GAAG,SAAS,MAAM,GAEzB,OAAO,OAAO,EAAE,KAAK,GAAG,MAAM;AAC5B,YAAM,EAAE,MAAAA,MAAK,IAAI,OAAO,QAAQ;AAChC,aAAO,MAAM,MAAM;AACjB,gBAAQA,KAAI;AAAA,MACd,CAAC;AAAA,IACH,CAAC;AAAA,EACH,CAAC;AACH;",
5
+ "names": ["port"]
6
6
  }
@@ -1,3 +1,2 @@
1
- "use strict";
2
1
  process.env.IS_STATIC = "is_static";
3
2
  //# sourceMappingURL=setup.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/setup.ts"],
4
- "mappings": ";AAAA,QAAQ,IAAI,YAAY;",
4
+ "mappings": "AAAA,QAAQ,IAAI,YAAY;",
5
5
  "names": []
6
6
  }
@@ -1,42 +1,15 @@
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
- }, __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
15
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
16
- var static_exports = {};
17
- __export(static_exports, {
18
- TamaguiOptions: () => import_types.TamaguiOptions,
19
- createExtractor: () => import_createExtractor.createExtractor,
20
- literalToAst: () => import_literalToAst.literalToAst
21
- });
22
- module.exports = __toCommonJS(static_exports);
23
- var import_types = require("./types"), import_createExtractor = require("./extractor/createExtractor"), import_literalToAst = require("./extractor/literalToAst");
24
- __reExport(static_exports, require("./constants"), module.exports);
25
- __reExport(static_exports, require("./extractor/extractToClassNames"), module.exports);
26
- __reExport(static_exports, require("./extractor/extractHelpers"), module.exports);
27
- __reExport(static_exports, require("./extractor/loadTamagui"), module.exports);
28
- __reExport(static_exports, require("./registerRequire"), module.exports);
29
- __reExport(static_exports, require("./getPragmaOptions"), module.exports);
30
- // Annotate the CommonJS export names for ESM import in node:
31
- 0 && (module.exports = {
1
+ import { TamaguiOptions } from "./types";
2
+ import { createExtractor } from "./extractor/createExtractor";
3
+ import { literalToAst } from "./extractor/literalToAst";
4
+ export * from "./constants";
5
+ export * from "./extractor/extractToClassNames";
6
+ export * from "./extractor/extractHelpers";
7
+ export * from "./extractor/loadTamagui";
8
+ export * from "./registerRequire";
9
+ export * from "./getPragmaOptions";
10
+ export {
32
11
  TamaguiOptions,
33
12
  createExtractor,
34
- literalToAst,
35
- ...require("./constants"),
36
- ...require("./extractor/extractToClassNames"),
37
- ...require("./extractor/extractHelpers"),
38
- ...require("./extractor/loadTamagui"),
39
- ...require("./registerRequire"),
40
- ...require("./getPragmaOptions")
41
- });
13
+ literalToAst
14
+ };
42
15
  //# sourceMappingURL=static.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/static.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,mBAA+B,oBAC/B,yBAAgC,wCAChC,sBAA6B;AAC7B,2BAAc,wBAHd;AAIA,2BAAc,4CAJd;AAKA,2BAAc,uCALd;AAMA,2BAAc,oCANd;AAOA,2BAAc,8BAPd;AAQA,2BAAc,+BARd;",
4
+ "mappings": "AAAA,SAAS,sBAAsB;AAC/B,SAAS,uBAAuB;AAChC,SAAS,oBAAoB;AAC7B,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;AACd,cAAc;",
5
5
  "names": []
6
6
  }
@@ -1,15 +1 @@
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 __copyProps = (to, from, except, desc) => {
7
- if (from && typeof from == "object" || typeof from == "function")
8
- for (let key of __getOwnPropNames(from))
9
- !__hasOwnProp.call(to, key) && key !== except && __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
10
- return to;
11
- };
12
- var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: !0 }), mod);
13
- var types_exports = {};
14
- module.exports = __toCommonJS(types_exports);
15
1
  //# sourceMappingURL=types.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
- "sources": ["../../src/types.ts"],
4
- "mappings": ";;;;;;;;;;;;AAAA;AAAA;",
3
+ "sources": [],
4
+ "mappings": "",
5
5
  "names": []
6
6
  }
@@ -1,23 +1,3 @@
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 webpackPlugin_exports = {};
17
- __export(webpackPlugin_exports, {
18
- TamaguiWebpackPlugin: () => TamaguiWebpackPlugin
19
- });
20
- module.exports = __toCommonJS(webpackPlugin_exports);
21
1
  const pluginName = "TamaguiWebpackPlugin";
22
2
  class TamaguiWebpackPlugin {
23
3
  apply(compiler) {
@@ -25,8 +5,7 @@ class TamaguiWebpackPlugin {
25
5
  });
26
6
  }
27
7
  }
28
- // Annotate the CommonJS export names for ESM import in node:
29
- 0 && (module.exports = {
8
+ export {
30
9
  TamaguiWebpackPlugin
31
- });
10
+ };
32
11
  //# sourceMappingURL=webpackPlugin.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/webpackPlugin.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAAM,aAAa;AAEZ,MAAM,qBAAqB;AAAA,EAChC,MAAM,UAAU;AACd,aAAS,MAAM,IAAI,IAAI,YAAY,CAAC,gBAAgB;AAAA,IAEpD,CAAC;AAAA,EACH;AACF;",
4
+ "mappings": "AAAA,MAAM,aAAa;AAEZ,MAAM,qBAAqB;AAAA,EAChC,MAAM,UAAU;AACd,aAAS,MAAM,IAAI,IAAI,YAAY,CAAC,gBAAgB;AAAA,IAEpD,CAAC;AAAA,EACH;AACF;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/static",
3
- "version": "1.88.21",
3
+ "version": "1.88.23",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "main": "dist/cjs/index.js",
@@ -35,17 +35,17 @@
35
35
  "@babel/runtime": "^7.23.2",
36
36
  "@babel/traverse": "^7.23.3",
37
37
  "@babel/types": "^7.23.3",
38
- "@tamagui/build": "1.88.21",
39
- "@tamagui/cli-color": "1.88.21",
40
- "@tamagui/config-default": "1.88.21",
41
- "@tamagui/core": "1.88.21",
42
- "@tamagui/fake-react-native": "1.88.21",
43
- "@tamagui/generate-themes": "1.88.21",
44
- "@tamagui/helpers": "1.88.21",
45
- "@tamagui/helpers-node": "1.88.21",
46
- "@tamagui/proxy-worm": "1.88.21",
47
- "@tamagui/shorthands": "1.88.21",
48
- "@tamagui/types": "1.88.21",
38
+ "@tamagui/build": "1.88.23",
39
+ "@tamagui/cli-color": "1.88.23",
40
+ "@tamagui/config-default": "1.88.23",
41
+ "@tamagui/core": "1.88.23",
42
+ "@tamagui/fake-react-native": "1.88.23",
43
+ "@tamagui/generate-themes": "1.88.23",
44
+ "@tamagui/helpers": "1.88.23",
45
+ "@tamagui/helpers-node": "1.88.23",
46
+ "@tamagui/proxy-worm": "1.88.23",
47
+ "@tamagui/shorthands": "1.88.23",
48
+ "@tamagui/types": "1.88.23",
49
49
  "babel-literal-to-ast": "^2.1.0",
50
50
  "browserslist": "^4.22.2",
51
51
  "esbuild": "^0.19.11",
@@ -56,8 +56,8 @@
56
56
  "invariant": "^2.2.4",
57
57
  "lodash": "^4.17.21",
58
58
  "react-native-web": "^0.19.10",
59
- "react-native-web-internals": "1.88.21",
60
- "react-native-web-lite": "1.88.21"
59
+ "react-native-web-internals": "1.88.23",
60
+ "react-native-web-lite": "1.88.23"
61
61
  },
62
62
  "optionalDependencies": {
63
63
  "lightningcss": "*"