@pandacss/types 0.0.0-dev-20231121120209 → 0.0.0-dev-20231121130830

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.
@@ -59,9 +59,11 @@ export interface ExtendableGlobalStyleObject {
59
59
  extend?: GlobalStyleObject | undefined
60
60
  }
61
61
 
62
- export type CompositionStyleObject<Property extends string> = Nested<{
63
- [K in Property]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown
64
- }>
62
+ type FilterStyleObject<P extends string> = {
63
+ [K in P]?: K extends keyof SystemStyleObject ? SystemStyleObject[K] : unknown
64
+ }
65
+
66
+ export type CompositionStyleObject<Property extends string> = Nested<FilterStyleObject<Property> & CssVarProperties>
65
67
 
66
68
  /* -----------------------------------------------------------------------------
67
69
  * Jsx style props
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20231121120209",
3
+ "version": "0.0.0-dev-20231121130830",
4
4
  "description": "The types for css panda",
5
5
  "main": "dist/index.d.ts",
6
6
  "author": "Segun Adebayo <joseshegs@gmail.com>",
@@ -24,7 +24,7 @@
24
24
  "hookable": "5.5.3",
25
25
  "ncp": "^2.0.0",
26
26
  "pkg-types": "1.0.3",
27
- "@pandacss/extractor": "0.0.0-dev-20231121120209"
27
+ "@pandacss/extractor": "0.0.0-dev-20231121130830"
28
28
  },
29
29
  "scripts": {
30
30
  "dev": "tsx scripts/watch.ts",