@pandacss/types 0.0.0-dev-20230523185405 → 0.0.0-dev-20230525095031

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/utility.d.ts CHANGED
@@ -13,7 +13,12 @@ export type PropertyValues =
13
13
  | Record<string, string>
14
14
  | ThemeFn
15
15
 
16
- export type PropertyTransform = (value: any, token: Getter) => NestedCssProperties | undefined
16
+ type TransformArgs = {
17
+ token: Getter
18
+ raw: any
19
+ }
20
+
21
+ export type PropertyTransform = (value: any, args: TransformArgs) => NestedCssProperties | undefined
17
22
 
18
23
  export type PropertyConfig = {
19
24
  /**
@@ -40,7 +45,7 @@ export type PropertyConfig = {
40
45
  /**
41
46
  * The shorthand of the property.
42
47
  */
43
- shorthand?: string
48
+ shorthand?: string | string[]
44
49
  }
45
50
 
46
51
  export type UtilityConfig = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230523185405",
3
+ "version": "0.0.0-dev-20230525095031",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -16,7 +16,7 @@
16
16
  "csstype": "3.1.2"
17
17
  },
18
18
  "dependencies": {
19
- "@pandacss/extractor": "0.0.0-dev-20230523185405"
19
+ "@pandacss/extractor": "0.0.0-dev-20230525095031"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",