@tamagui/static 1.137.2 → 1.137.3

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.
@@ -116,7 +116,7 @@ async function bundleConfig(props) {
116
116
  target: "node20",
117
117
  ...esbuildExtraOptions
118
118
  }, props.platform || "web"))]), (0, import_cli_color.colorLog)(import_cli_color.Color.FgYellow, `
119
- \u27A1 [tamagui] built config and components (${Date.now() - start}ms)`), process.env.DEBUG?.startsWith("tamagui") && (0, import_cli_color.colorLog)(import_cli_color.Color.Dim, `
119
+ \u27A1 [tamagui] built config, components, prompt (${Date.now() - start}ms)`), process.env.DEBUG?.startsWith("tamagui") && (0, import_cli_color.colorLog)(import_cli_color.Color.Dim, `
120
120
  Config .${import_node_path.sep}${(0, import_node_path.relative)(process.cwd(), configOutPath)}
121
121
  Components ${[...componentOutPaths.map(p => `.${import_node_path.sep}${(0, import_node_path.relative)(process.cwd(), p)}`)].join(`
122
122
  `)}
@@ -113,7 +113,7 @@ async function bundleConfig(props) {
113
113
  ]), (0, import_cli_color.colorLog)(
114
114
  import_cli_color.Color.FgYellow,
115
115
  `
116
- \u27A1 [tamagui] built config and components (${Date.now() - start}ms)`
116
+ \u27A1 [tamagui] built config, components, prompt (${Date.now() - start}ms)`
117
117
  ), process.env.DEBUG?.startsWith("tamagui") && (0, import_cli_color.colorLog)(
118
118
  import_cli_color.Color.Dim,
119
119
  `
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/extractor/bundleConfig.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAqB,sCACrB,kBAAqB,qCACrB,IAAmB,kCACnB,iBAAyC,oBACzC,mBAAgE,sBAEhE,mBAAgC,+BAMhC,iBAAoB,6BACpB,KAAoB,8BACpB,kBAAyB,6BACzB,yBAAkD,+BAEl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,EACd,CAAC,EAAE;AACL;",
5
5
  "names": ["forceExports", "esbuild", "traverse", "generate"]
6
6
  }
@@ -76,7 +76,7 @@ async function loadTamagui(propsIn) {
76
76
  } = (0, import_requireTamaguiCore.requireTamaguiCore)(props.platform || "web");
77
77
  bundleInfo.tamaguiConfig = createTamagui(bundleInfo.tamaguiConfig);
78
78
  }
79
- return (0, import_bundleConfig.hasBundledConfigChanged)() ? (process.env.NODE_ENV === "development" && (await (0, import_regenerateConfig.regenerateConfig)(props, bundleInfo)), resolvePromise(bundleInfo), bundleInfo) : (resolvePromise(bundleInfo), bundleInfo);
79
+ return (0, import_bundleConfig.hasBundledConfigChanged)() ? (await (0, import_regenerateConfig.regenerateConfig)(props, bundleInfo), resolvePromise(bundleInfo), bundleInfo) : (resolvePromise(bundleInfo), bundleInfo);
80
80
  } catch (err) {
81
81
  throw rejectPromise(), err;
82
82
  } finally {
@@ -97,13 +97,12 @@ const generateThemesAndLog = async (options, force = !1) => {
97
97
  last = {},
98
98
  lastVersion = {};
99
99
  function loadTamaguiBuildConfigSync(tamaguiOptions) {
100
- const buildFilePath = tamaguiOptions?.buildFile ?? "tamagui.build.ts";
100
+ const buildFilePath = tamaguiOptions?.buildFile ?? "./tamagui.build.ts";
101
101
  if (fsExtra.existsSync(buildFilePath)) {
102
102
  const registered = (0, import_registerRequire.registerRequire)("web");
103
103
  try {
104
- const out = require(buildFilePath).default;
104
+ const out = (buildFilePath[0] === "." ? require((0, import_node_path.join)(process.cwd(), buildFilePath)) : require(buildFilePath)).default;
105
105
  if (!out) throw new Error(`No default export found in ${buildFilePath}: ${out}`);
106
- if (tamaguiOptions?.config && out.config) throw new Error("You're configuring tamagui from both the plugin and tamagui.build.ts, please choose one or the other.");
107
106
  tamaguiOptions = {
108
107
  ...tamaguiOptions,
109
108
  ...out
@@ -58,7 +58,7 @@ async function loadTamagui(propsIn) {
58
58
  const { createTamagui } = (0, import_requireTamaguiCore.requireTamaguiCore)(props.platform || "web");
59
59
  bundleInfo.tamaguiConfig = createTamagui(bundleInfo.tamaguiConfig);
60
60
  }
61
- return (0, import_bundleConfig.hasBundledConfigChanged)() ? (process.env.NODE_ENV === "development" && await (0, import_regenerateConfig.regenerateConfig)(props, bundleInfo), resolvePromise(bundleInfo), bundleInfo) : (resolvePromise(bundleInfo), bundleInfo);
61
+ return (0, import_bundleConfig.hasBundledConfigChanged)() ? (await (0, import_regenerateConfig.regenerateConfig)(props, bundleInfo), resolvePromise(bundleInfo), bundleInfo) : (resolvePromise(bundleInfo), bundleInfo);
62
62
  } catch (err) {
63
63
  throw rejectPromise(), err;
64
64
  } finally {
@@ -84,17 +84,13 @@ const generateThemesAndLog = async (options, force = !1) => {
84
84
  }
85
85
  }, last = {}, lastVersion = {};
86
86
  function loadTamaguiBuildConfigSync(tamaguiOptions) {
87
- const buildFilePath = tamaguiOptions?.buildFile ?? "tamagui.build.ts";
87
+ const buildFilePath = tamaguiOptions?.buildFile ?? "./tamagui.build.ts";
88
88
  if (fsExtra.existsSync(buildFilePath)) {
89
89
  const registered = (0, import_registerRequire.registerRequire)("web");
90
90
  try {
91
- const out = require(buildFilePath).default;
91
+ const out = (buildFilePath[0] === "." ? require((0, import_node_path.join)(process.cwd(), buildFilePath)) : require(buildFilePath)).default;
92
92
  if (!out)
93
93
  throw new Error(`No default export found in ${buildFilePath}: ${out}`);
94
- if (tamaguiOptions?.config && out.config)
95
- throw new Error(
96
- "You're configuring tamagui from both the plugin and tamagui.build.ts, please choose one or the other."
97
- );
98
94
  tamaguiOptions = {
99
95
  ...tamaguiOptions,
100
96
  ...out
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/extractor/loadTamagui.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAAoE,sBAEpE,mBAAgC,+BAGhC,iBAAoB,6BACpB,UAAyB,8BAEzB,mBA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R,aAAa,CAAC,KAAK;AAAA,IACnB,mBAAmB,CAAC,OAAO,QAAQ,OAAO,MAAM;AAAA,IAChD,UAAU;AAAA,IACV,OAAO;AAAA,IAEP,OAAO;AAAA,MACL,iCAAiC;AAAA,MACjC,oBAAoB;AAAA,MACpB,gBAAgB;AAAA,IAClB;AAAA,IAEA,SAAS;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,MAWP;AAAA,QACE,MAAM;AAAA,QACN,MAAM,EAAE,OAAO,UAAU,GAAG;AAG1B,oBAAU,EAAE,QADC,+BACM,GAAG,CAAC,UAAU,EAAE,MAAM,KAAK,MAAM,UAAU,GAAK,EAAE,GAErE,MAAM,MAAM;AACV,YAAK,aAGH,UAAU,IAFV,aAAa;AAAA,UAIjB,CAAC;AAAA,QACH;AAAA,MACF;AAAA,IACF;AAAA,EACF,CAAC;AAGD,SAAK,QAAQ,MAAM,GAEZ,MAAM;AACX,YAAQ,QAAQ;AAAA,EAClB;AACF;",
5
5
  "names": ["esbuild"]
6
6
  }
@@ -134,11 +134,17 @@ function transformConfig(config, platform) {
134
134
  getCSS,
135
135
  tokensParsed,
136
136
  themeConfig,
137
+ shorthands: _shorthands,
138
+ userShorthands,
137
139
  ...cleanedConfig
138
140
  } = next.tamaguiConfig;
139
141
  return {
140
142
  components,
141
143
  nameToPaths,
142
- tamaguiConfig: cleanedConfig
144
+ tamaguiConfig: {
145
+ ...cleanedConfig,
146
+ // Output userShorthands as shorthands (excludes built-ins)
147
+ shorthands: userShorthands
148
+ }
143
149
  };
144
150
  }
@@ -101,11 +101,15 @@ function transformConfig(config, platform) {
101
101
  next.nameToPaths = {};
102
102
  for (const key in nameToPaths)
103
103
  next.nameToPaths[key] = [...nameToPaths[key]];
104
- const { fontsParsed, getCSS, tokensParsed, themeConfig, ...cleanedConfig } = next.tamaguiConfig;
104
+ const { fontsParsed, getCSS, tokensParsed, themeConfig, shorthands: _shorthands, userShorthands, ...cleanedConfig } = next.tamaguiConfig;
105
105
  return {
106
106
  components,
107
107
  nameToPaths,
108
- tamaguiConfig: cleanedConfig
108
+ tamaguiConfig: {
109
+ ...cleanedConfig,
110
+ // Output userShorthands as shorthands (excludes built-ins)
111
+ shorthands: userShorthands
112
+ }
109
113
  };
110
114
  }
111
115
  //# sourceMappingURL=regenerateConfig.js.map
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../../src/extractor/regenerateConfig.ts"],
4
- "mappings": ";;;;;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA,uBAA8B,sBAE9B,yBAAqD,qCAErD,KAAoB,8BAEpB,4BAAmC,0CAGnC,sBAAiC;AAEjC,MAAM,iBAAa,uBAAK,QAAQ,IAAI,GAAG,UAAU,GAC3C,eAAW,uBAAK,YAAY,qBAAqB;AAMvD,eAAsB,iBACpB,gBACA,UACA,UAAU,IACV;AACA,MAAI;AAGF,UAAM,SAAS,YAAa,UAAM,sCAAiB,gBAAgB,OAAO;AAC1E,QAAI,CAAC,OAAQ;AACb,UAAM,MAAM,gBAAgB,QAAQ,eAAe,YAAY,KAAK;AAEpE,UAAM,GAAG,cAAU,0BAAQ,QAAQ,CAAC,GACpC,MAAM,GAAG,UAAU,UAAU,KAAK;AAAA,MAChC,QAAQ;AAAA,IACV,CAAC;AAAA,EACH,SAAS,KAAK;AACZ,KAAI,QAAQ,IAAI,OAAO,SAAS,SAAS,KAAK,QAAQ,IAAI,mBACxD,QAAQ,KAAK,0BAA0B,GAAG;AAAA,EAG9C;AACF;AAEO,SAAS,qBACd,iBACA,QACA;AACA,MAAI;AACF,OAAG,kBAAc,0BAAQ,QAAQ,CAAC,GAClC,GAAG;AAAA,MACD;AAAA,MACA,gBAAgB,QAAQ,gBAAgB,YAAY,KAAK;AAAA,MACzD;AAAA,QACE,QAAQ;AAAA,MACV;AAAA,IACF;AAAA,EACF,SAAS,KAAK;AACZ,KAAI,QAAQ,IAAI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G,IAAI,CAAC,GAAG,YAAY,GAAG,CAAC;AAI9C,QAAM,EAAE,aAAa,QAAQ,cAAc,aAAa,YAAY,aAAa,gBAAgB,GAAG,cAAc,IAChH,KAAK;AAEP,SAAO;AAAA,IACL;AAAA,IACA;AAAA,IACA,eAAe;AAAA,MACb,GAAG;AAAA;AAAA,MAEH,YAAY;AAAA,IACd;AAAA,EACF;AACF;",
5
5
  "names": []
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tamagui/static",
3
- "version": "1.137.2",
3
+ "version": "1.137.3",
4
4
  "source": "src/index.ts",
5
5
  "types": "./types/index.d.ts",
6
6
  "type": "commonjs",
@@ -48,19 +48,19 @@
48
48
  "@babel/template": "^7.25.0",
49
49
  "@babel/traverse": "^7.25.4",
50
50
  "@babel/types": "^7.25.4",
51
- "@tamagui/cli-color": "1.137.2",
52
- "@tamagui/config-default": "1.137.2",
53
- "@tamagui/core": "1.137.2",
54
- "@tamagui/fake-react-native": "1.137.2",
55
- "@tamagui/generate-themes": "1.137.2",
56
- "@tamagui/helpers": "1.137.2",
57
- "@tamagui/helpers-node": "1.137.2",
58
- "@tamagui/proxy-worm": "1.137.2",
59
- "@tamagui/react-native-web-internals": "1.137.2",
60
- "@tamagui/react-native-web-lite": "1.137.2",
61
- "@tamagui/shorthands": "1.137.2",
62
- "@tamagui/types": "1.137.2",
63
- "@tamagui/web": "1.137.2",
51
+ "@tamagui/cli-color": "1.137.3",
52
+ "@tamagui/config-default": "1.137.3",
53
+ "@tamagui/core": "1.137.3",
54
+ "@tamagui/fake-react-native": "1.137.3",
55
+ "@tamagui/generate-themes": "1.137.3",
56
+ "@tamagui/helpers": "1.137.3",
57
+ "@tamagui/helpers-node": "1.137.3",
58
+ "@tamagui/proxy-worm": "1.137.3",
59
+ "@tamagui/react-native-web-internals": "1.137.3",
60
+ "@tamagui/react-native-web-lite": "1.137.3",
61
+ "@tamagui/shorthands": "1.137.3",
62
+ "@tamagui/types": "1.137.3",
63
+ "@tamagui/web": "1.137.3",
64
64
  "babel-literal-to-ast": "^2.1.0",
65
65
  "browserslist": "^4.22.2",
66
66
  "check-dependency-version-consistency": "^4.1.0",
@@ -77,7 +77,7 @@
77
77
  "devDependencies": {
78
78
  "@babel/plugin-syntax-typescript": "^7.25.4",
79
79
  "@expo/match-media": "^0.4.0",
80
- "@tamagui/build": "1.137.2",
80
+ "@tamagui/build": "1.137.3",
81
81
  "@types/babel__core": "^7.20.5",
82
82
  "@types/find-root": "^1.1.2",
83
83
  "@types/node": "^22.1.0",
@@ -177,7 +177,7 @@ export async function bundleConfig(props: TamaguiOptions) {
177
177
  colorLog(
178
178
  Color.FgYellow,
179
179
  `
180
- ➡ [tamagui] built config and components (${Date.now() - start}ms)`
180
+ ➡ [tamagui] built config, components, prompt (${Date.now() - start}ms)`
181
181
  )
182
182
 
183
183
  if (process.env.DEBUG?.startsWith('tamagui')) {
@@ -73,9 +73,7 @@ export async function loadTamagui(
73
73
  return bundleInfo
74
74
  }
75
75
 
76
- if (process.env.NODE_ENV === 'development') {
77
- await regenerateConfig(props, bundleInfo)
78
- }
76
+ await regenerateConfig(props, bundleInfo)
79
77
 
80
78
  resolvePromise(bundleInfo)
81
79
  return bundleInfo
@@ -127,21 +125,17 @@ const lastVersion: Record<string, string> = {}
127
125
  export function loadTamaguiBuildConfigSync(
128
126
  tamaguiOptions: Partial<TamaguiOptions> | undefined
129
127
  ) {
130
- const buildFilePath = tamaguiOptions?.buildFile ?? 'tamagui.build.ts'
128
+ const buildFilePath = tamaguiOptions?.buildFile ?? './tamagui.build.ts'
131
129
  if (fsExtra.existsSync(buildFilePath)) {
132
130
  const registered = registerRequire('web')
133
131
  try {
134
- const out = require(buildFilePath).default
132
+ const out = require(
133
+ buildFilePath[0] === '.' ? join(process.cwd(), buildFilePath) : buildFilePath
134
+ ).default
135
135
  if (!out) {
136
136
  throw new Error(`No default export found in ${buildFilePath}: ${out}`)
137
137
  }
138
138
 
139
- if (tamaguiOptions?.config && out.config) {
140
- throw new Error(
141
- `You're configuring tamagui from both the plugin and tamagui.build.ts, please choose one or the other.`
142
- )
143
- }
144
-
145
139
  tamaguiOptions = {
146
140
  ...tamaguiOptions,
147
141
  ...out,
@@ -164,12 +164,23 @@ function transformConfig(config: BundledConfig, platform: TamaguiPlatform) {
164
164
  }
165
165
 
166
166
  // remove stuff we dont need to send
167
- const { fontsParsed, getCSS, tokensParsed, themeConfig, ...cleanedConfig } =
168
- next.tamaguiConfig
167
+ const {
168
+ fontsParsed,
169
+ getCSS,
170
+ tokensParsed,
171
+ themeConfig,
172
+ shorthands: _shorthands,
173
+ userShorthands,
174
+ ...cleanedConfig
175
+ } = next.tamaguiConfig
169
176
 
170
177
  return {
171
178
  components,
172
179
  nameToPaths,
173
- tamaguiConfig: cleanedConfig,
180
+ tamaguiConfig: {
181
+ ...cleanedConfig,
182
+ // Output userShorthands as shorthands (excludes built-ins)
183
+ shorthands: userShorthands,
184
+ },
174
185
  }
175
186
  }
@@ -1 +1 @@
1
- {"version":3,"file":"loadTamagui.d.ts","sourceRoot":"","sources":["../../src/extractor/loadTamagui.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAA;AAQxF,OAAO,EACL,KAAK,kBAAkB,EAMxB,MAAM,gBAAgB,CAAA;AAkBvB,wBAAsB,WAAW,CAC/B,OAAO,EAAE,OAAO,CAAC,cAAc,CAAC,GAC/B,OAAO,CAAC,kBAAkB,GAAG,IAAI,CAAC,CAiDpC;AAKD,eAAO,MAAM,oBAAoB,GAAU,SAAS,cAAc,EAAE,eAAa,kBA6BhF,CAAA;AAKD,wBAAgB,0BAA0B,CACxC,cAAc,EAAE,OAAO,CAAC,cAAc,CAAC,GAAG,SAAS,GAkC9C,cAAc,CACpB;AAGD,wBAAgB,eAAe,CAAC,EAC9B,YAAY,EACZ,QAAQ,EACR,GAAG,OAAO,EACX,EAAE,OAA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