@pandacss/studio 0.45.1 → 0.45.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.0.2_@swc+core@1.7.6_@swc+helpers@0.4.36__postcss@8.4.41_typescript@5.3.3/node_modules/tsup/assets/esm_shims.js
1
+ // ../../node_modules/.pnpm/tsup@8.0.2_@swc+core@1.7.6_postcss@8.4.41_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.45.1",
3
+ "version": "0.45.2",
4
4
  "description": "The automated token documentation for Panda CSS",
5
5
  "main": "dist/studio.js",
6
6
  "module": "dist/studio.mjs",
@@ -48,12 +48,12 @@
48
48
  "react": "18.2.0",
49
49
  "react-dom": "18.2.0",
50
50
  "vite": "5.4.0",
51
- "@pandacss/config": "0.45.1",
52
- "@pandacss/logger": "0.45.1",
53
- "@pandacss/shared": "0.45.1",
54
- "@pandacss/token-dictionary": "0.45.1",
55
- "@pandacss/types": "0.45.1",
56
- "@pandacss/astro-plugin-studio": "0.45.1"
51
+ "@pandacss/config": "0.45.2",
52
+ "@pandacss/logger": "0.45.2",
53
+ "@pandacss/shared": "0.45.2",
54
+ "@pandacss/token-dictionary": "0.45.2",
55
+ "@pandacss/types": "0.45.2",
56
+ "@pandacss/astro-plugin-studio": "0.45.2"
57
57
  },
58
58
  "devDependencies": {
59
59
  "@types/react": "18.2.55",
@@ -207,12 +207,12 @@ export interface UtilityValues {
207
207
 
208
208
 
209
209
 
210
- type WithColorOpacityModifier<T> = T extends string ? `${T}/${string}` : T
210
+ type WithColorOpacityModifier<T> = [T] extends [string] ? `${T}/${string}` & { __colorOpacityModifier?: true } : never
211
211
 
212
212
  type ImportantMark = "!" | "!important"
213
213
  type WhitespaceImportant = ` ${ImportantMark}`
214
214
  type Important = ImportantMark | WhitespaceImportant
215
- type WithImportant<T> = T extends string ? `${T}${Important}` & { __important?: true } : T;
215
+ type WithImportant<T> = [T] extends [string] ? `${T}${Important}` & { __important?: true } : never
216
216
 
217
217
  /**
218
218
  * Only relevant when using `strictTokens` or `strictPropertyValues` in your config.