@pandacss/studio 1.11.0 → 1.11.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.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.6_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/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.14_tsx@4.20.6_typescript@6.0.2_yaml@2.8.1/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);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "1.11.0",
3
+ "version": "1.11.2",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -43,19 +43,19 @@
43
43
  "author": "Segun Adebayo <joseshegs@gmail.com>",
44
44
  "license": "MIT",
45
45
  "dependencies": {
46
- "@astrojs/react": "4.4.2",
46
+ "@astrojs/react": "5.0.4",
47
47
  "@nanostores/react": "^1.0.0",
48
- "astro": "6.1.5",
48
+ "astro": "6.2.2",
49
49
  "nanostores": "^1.1.0",
50
50
  "react": "19.2.0",
51
51
  "react-dom": "19.2.0",
52
- "vite": "7.2.6",
53
- "@pandacss/astro-plugin-studio": "1.11.0",
54
- "@pandacss/config": "1.11.0",
55
- "@pandacss/logger": "1.11.0",
56
- "@pandacss/shared": "1.11.0",
57
- "@pandacss/token-dictionary": "1.11.0",
58
- "@pandacss/types": "1.11.0"
52
+ "vite": "7.3.2",
53
+ "@pandacss/astro-plugin-studio": "1.11.2",
54
+ "@pandacss/logger": "1.11.2",
55
+ "@pandacss/config": "1.11.2",
56
+ "@pandacss/shared": "1.11.2",
57
+ "@pandacss/token-dictionary": "1.11.2",
58
+ "@pandacss/types": "1.11.2"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@testing-library/react": "16.3.0",
@@ -67,7 +67,10 @@ export function createStyleContext(recipe) {
67
67
 
68
68
  const WithProvider = forwardRef((props, ref) => {
69
69
  const [variantProps, restProps] = svaFn.splitVariantProps(props)
70
-
70
+ options?.forwardProps?.forEach((key) => {
71
+ if (key in variantProps) restProps[key] = variantProps[key]
72
+ })
73
+
71
74
  const slotStyles = isConfigRecipe ? svaFn(variantProps) : svaFn.raw(variantProps)
72
75
  slotStyles._classNameMap = svaFn.classNameMap
73
76