@pandacss/types 0.0.0-dev-20230426200638 → 0.0.0-dev-20230426205606

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.
@@ -10,6 +10,10 @@ type Number = number & {}
10
10
 
11
11
  type CssProperties = PropertiesFallback<String | Number>
12
12
 
13
+ export type CssVarProperties = {
14
+ [key in `--${string}`]?: string | number
15
+ }
16
+
13
17
  export type SystemProperties = {
14
18
  [K in keyof CssProperties]?: PropertyValue<K>
15
19
  }
@@ -1,6 +1,6 @@
1
1
  import type { ConditionalValue, Conditions, Nested } from './conditions'
2
2
  import type { PropertiesFallback } from './csstype'
3
- import type { SystemProperties } from './style-props'
3
+ import type { SystemProperties, CssVarProperties } from './style-props'
4
4
 
5
5
  type String = string & {}
6
6
  type Number = number & {}
@@ -9,10 +9,6 @@ type Number = number & {}
9
9
  * Native css properties
10
10
  * -----------------------------------------------------------------------------*/
11
11
 
12
- type CssVarProperties = {
13
- [key in `--${string}`]?: string | number
14
- }
15
-
16
12
  export type NativeCssProperties = PropertiesFallback<String | Number>
17
13
 
18
14
  export type NativeCssProperty = keyof NativeCssProperties
@@ -43,7 +39,7 @@ type GenericProperties = {
43
39
 
44
40
  export type NestedCssProperties = Nested<CssProperties>
45
41
 
46
- export type SystemStyleObject = Nested<SystemProperties | GenericProperties>
42
+ export type SystemStyleObject = Nested<SystemProperties | GenericProperties | CssVarProperties>
47
43
 
48
44
  export type GlobalStyleObject = {
49
45
  [selector: string]: SystemStyleObject
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pandacss/types",
3
- "version": "0.0.0-dev-20230426200638",
3
+ "version": "0.0.0-dev-20230426205606",
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-20230426200638"
19
+ "@pandacss/extractor": "0.0.0-dev-20230426205606"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",