@pandacss/studio 1.12.0 → 1.12.2

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.
package/dist/studio.js CHANGED
@@ -44,18 +44,16 @@ async function buildStudio({ outDir, configPath, base }) {
44
44
  const astro = await import("astro");
45
45
  const { default: react } = await import("@astrojs/react");
46
46
  const { default: studio } = await import("@pandacss/astro-plugin-studio");
47
- try {
48
- process.env.PUBLIC_CONFIG_PATH = configPath;
49
- await astro.build({
50
- outDir,
51
- root: appPath,
52
- integrations: [react(), studio()],
53
- devToolbar: { enabled: false },
54
- base
55
- });
56
- } catch (error) {
57
- console.log(error);
58
- }
47
+ process.env.PUBLIC_CONFIG_PATH = configPath;
48
+ await astro.build({
49
+ outDir,
50
+ root: appPath,
51
+ integrations: [react(), studio()],
52
+ devToolbar: { enabled: false },
53
+ base,
54
+ // prerender chunks are written to outDir, which may not be able to resolve studio's dependencies
55
+ vite: { resolve: { noExternal: true } }
56
+ });
59
57
  }
60
58
  async function serveStudio({ configPath, port, host, outDir, base }) {
61
59
  const astro = await import("astro");
package/dist/studio.mjs CHANGED
@@ -1,4 +1,4 @@
1
- // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.14_supports-col_417629c956fdcd14cb97372bbc8200e9/node_modules/tsup/assets/esm_shims.js
1
+ // ../../node_modules/.pnpm/tsup@8.5.1_@swc+core@1.15.3_@swc+helpers@0.5.17__jiti@2.6.1_postcss@8.5.31_supports-col_ffbe13cd562ccc2432bdf2a4ee134ac9/node_modules/tsup/assets/esm_shims.js
2
2
  import path from "path";
3
3
  import { fileURLToPath } from "url";
4
4
  var getFilename = () => fileURLToPath(import.meta.url);
@@ -14,18 +14,16 @@ async function buildStudio({ outDir, configPath, base }) {
14
14
  const astro = await import("astro");
15
15
  const { default: react } = await import("@astrojs/react");
16
16
  const { default: studio } = await import("@pandacss/astro-plugin-studio");
17
- try {
18
- process.env.PUBLIC_CONFIG_PATH = configPath;
19
- await astro.build({
20
- outDir,
21
- root: appPath,
22
- integrations: [react(), studio()],
23
- devToolbar: { enabled: false },
24
- base
25
- });
26
- } catch (error) {
27
- console.log(error);
28
- }
17
+ process.env.PUBLIC_CONFIG_PATH = configPath;
18
+ await astro.build({
19
+ outDir,
20
+ root: appPath,
21
+ integrations: [react(), studio()],
22
+ devToolbar: { enabled: false },
23
+ base,
24
+ // prerender chunks are written to outDir, which may not be able to resolve studio's dependencies
25
+ vite: { resolve: { noExternal: true } }
26
+ });
29
27
  }
30
28
  async function serveStudio({ configPath, port, host, outDir, base }) {
31
29
  const astro = await import("astro");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "1.12.0",
3
+ "version": "1.12.2",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -50,12 +50,12 @@
50
50
  "react": "19.2.0",
51
51
  "react-dom": "19.2.0",
52
52
  "vite": "7.3.2",
53
- "@pandacss/astro-plugin-studio": "1.12.0",
54
- "@pandacss/config": "1.12.0",
55
- "@pandacss/logger": "1.12.0",
56
- "@pandacss/shared": "1.12.0",
57
- "@pandacss/token-dictionary": "1.12.0",
58
- "@pandacss/types": "1.12.0"
53
+ "@pandacss/config": "1.12.2",
54
+ "@pandacss/logger": "1.12.2",
55
+ "@pandacss/shared": "1.12.2",
56
+ "@pandacss/token-dictionary": "1.12.2",
57
+ "@pandacss/astro-plugin-studio": "1.12.2",
58
+ "@pandacss/types": "1.12.2"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@testing-library/react": "16.3.0",
@@ -38,7 +38,7 @@ type TextStyleProperty =
38
38
  | 'fontVariationSettings'
39
39
  | 'fontWeight'
40
40
  | 'hangingPunctuation'
41
- | 'hypens'
41
+ | 'hyphens'
42
42
  | 'hyphenateCharacter'
43
43
  | 'hyphenateLimitChars'
44
44
  | 'letterSpacing'