@pandacss/studio 1.6.1 → 1.7.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/studio",
3
- "version": "1.6.1",
3
+ "version": "1.7.0",
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.2.6",
53
- "@pandacss/astro-plugin-studio": "1.6.1",
54
- "@pandacss/config": "1.6.1",
55
- "@pandacss/logger": "1.6.1",
56
- "@pandacss/shared": "1.6.1",
57
- "@pandacss/token-dictionary": "1.6.1",
58
- "@pandacss/types": "1.6.1"
53
+ "@pandacss/astro-plugin-studio": "1.7.0",
54
+ "@pandacss/config": "1.7.0",
55
+ "@pandacss/logger": "1.7.0",
56
+ "@pandacss/shared": "1.7.0",
57
+ "@pandacss/token-dictionary": "1.7.0",
58
+ "@pandacss/types": "1.7.0"
59
59
  },
60
60
  "devDependencies": {
61
61
  "@testing-library/react": "16.3.0",
@@ -6,7 +6,7 @@ import type { DistributiveOmit } from '../types/system-types';
6
6
  import type { Tokens } from '../tokens/index';
7
7
 
8
8
  export interface DividerProperties {
9
- orientation?: ConditionalValue<"horizontal" | "vertical">
9
+ orientation?: "horizontal" | "vertical"
10
10
  thickness?: ConditionalValue<Tokens["sizes"] | Properties["borderWidth"]>
11
11
  color?: ConditionalValue<Tokens["colors"] | Properties["borderColor"]>
12
12
  }
@@ -9,7 +9,7 @@ export interface FloatProperties {
9
9
  offsetX?: ConditionalValue<Tokens["spacing"] | Properties["left"]>
10
10
  offsetY?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
11
11
  offset?: ConditionalValue<Tokens["spacing"] | Properties["top"]>
12
- placement?: ConditionalValue<"bottom-end" | "bottom-start" | "top-end" | "top-start" | "bottom-center" | "top-center" | "middle-center" | "middle-end" | "middle-start">
12
+ placement?: "bottom-end" | "bottom-start" | "top-end" | "top-start" | "bottom-center" | "top-center" | "middle-center" | "middle-end" | "middle-start"
13
13
  }
14
14
 
15
15
  interface FloatStyles extends FloatProperties, DistributiveOmit<SystemStyleObject, keyof FloatProperties > {}
@@ -6,10 +6,10 @@ type Primitive = string | number | boolean | null | undefined
6
6
  type LiteralUnion<T, K extends Primitive = string> = T | (K & Record<never, never>)
7
7
 
8
8
  export type PatternProperty =
9
- | { type: 'property'; value: CssProperty }
10
- | { type: 'enum'; value: string[] }
11
- | { type: 'token'; value: TokenCategory; property?: CssProperty }
12
- | { type: 'string' | 'boolean' | 'number' }
9
+ | { type: 'property'; value: CssProperty; description?: string }
10
+ | { type: 'enum'; value: string[]; description?: string }
11
+ | { type: 'token'; value: TokenCategory; property?: CssProperty; description?: string }
12
+ | { type: 'string' | 'boolean' | 'number'; description?: string }
13
13
 
14
14
  export interface PatternHelpers {
15
15
  map: (value: any, fn: (value: string) => string | undefined) => any