@pandacss/studio 0.46.0 → 0.46.1

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.0.2_@swc+core@1.7.6_@swc+helpers@0.4.36__postcss@8.4.45_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
1
+ // ../../node_modules/.pnpm/tsup@8.0.2_@swc+core@1.7.6_@swc+helpers@0.4.36__postcss@8.4.47_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
2
2
  import { fileURLToPath } from "url";
3
3
  import path from "path";
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": "0.46.0",
3
+ "version": "0.46.1",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -47,13 +47,13 @@
47
47
  "astro": "4.4.0",
48
48
  "react": "18.2.0",
49
49
  "react-dom": "18.2.0",
50
- "vite": "5.4.0",
51
- "@pandacss/config": "0.46.0",
52
- "@pandacss/logger": "0.46.0",
53
- "@pandacss/shared": "0.46.0",
54
- "@pandacss/token-dictionary": "0.46.0",
55
- "@pandacss/types": "0.46.0",
56
- "@pandacss/astro-plugin-studio": "0.46.0"
50
+ "vite": "5.4.6",
51
+ "@pandacss/config": "0.46.1",
52
+ "@pandacss/logger": "0.46.1",
53
+ "@pandacss/shared": "0.46.1",
54
+ "@pandacss/token-dictionary": "0.46.1",
55
+ "@pandacss/types": "0.46.1",
56
+ "@pandacss/astro-plugin-studio": "0.46.1"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/react": "18.2.55",
@@ -1,14 +1,17 @@
1
1
  /* eslint-disable */
2
- interface WithConditions {
2
+ interface ConditionOptions {
3
3
  /**
4
- * The css conditions to generate for the rule.
4
+ * The conditions to generate for the rule.
5
5
  * @example ['hover', 'focus']
6
6
  */
7
7
  conditions?: string[]
8
+ /**
9
+ * Whether to generate responsive styles for the rule.
10
+ */
8
11
  responsive?: boolean
9
12
  }
10
13
 
11
- export interface CssRule extends WithConditions {
14
+ export interface CssRule extends ConditionOptions {
12
15
  /**
13
16
  * The css properties to generate utilities for.
14
17
  * @example ['margin', 'padding']
@@ -22,7 +25,9 @@ interface RecipeRuleVariants {
22
25
  [variant: string]: boolean | string[]
23
26
  }
24
27
 
25
- export type RecipeRule = '*' | (RecipeRuleVariants & WithConditions)
28
+ export type RecipeRuleObject = RecipeRuleVariants & ConditionOptions
29
+ export type RecipeRule = '*' | RecipeRuleObject
30
+
26
31
  export type PatternRule = '*' | CssRule
27
32
 
28
33
  export interface StaticCssOptions {