@pandacss/types 0.0.0-dev-20240129104928 → 0.0.0-dev-20240129173924

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.
Files changed (2) hide show
  1. package/dist/utility.d.ts +13 -2
  2. package/package.json +2 -2
package/dist/utility.d.ts CHANGED
@@ -16,9 +16,20 @@ export type PropertyValues =
16
16
  | Record<string, string>
17
17
  | ThemeFn
18
18
 
19
- interface TransformArgs {
19
+ export interface ColorMixResult {
20
+ invalid: boolean
21
+ value: string
22
+ color?: string
23
+ }
24
+
25
+ export interface TransformUtils {
26
+ colorMix(value: string): ColorMixResult
27
+ }
28
+
29
+ export interface TransformArgs<T = any> {
20
30
  token: TokenFn
21
- raw: any
31
+ raw: T
32
+ utils: TransformUtils
22
33
  }
23
34
 
24
35
  export type PropertyTransform = (value: any, args: TransformArgs) => NestedCssProperties | undefined
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20240129104928",
3
+ "version": "0.0.0-dev-20240129173924",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -30,7 +30,7 @@
30
30
  "microdiff": "^1.3.2",
31
31
  "ncp": "^2.0.0",
32
32
  "pkg-types": "1.0.3",
33
- "@pandacss/extractor": "0.0.0-dev-20240129104928"
33
+ "@pandacss/extractor": "0.0.0-dev-20240129173924"
34
34
  },
35
35
  "scripts": {
36
36
  "dev": "tsx scripts/watch.ts",