@pandacss/types 0.0.0-dev-20230503141334 → 0.0.0-dev-20230503210841

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/pattern.d.ts CHANGED
@@ -1,30 +1,9 @@
1
1
  import type { NativeCssProperty, SystemStyleObject } from './system-types'
2
+ import type { TokenCategory } from './tokens'
2
3
 
3
4
  type Primitive = string | number | boolean | null | undefined
4
5
  type LiteralUnion<T, K extends Primitive = string> = T | (K & Record<never, never>)
5
6
 
6
- type TokenCategory =
7
- | 'zIndex'
8
- | 'opacity'
9
- | 'colors'
10
- | 'fonts'
11
- | 'fontSizes'
12
- | 'fontWeights'
13
- | 'lineHeights'
14
- | 'letterSpacings'
15
- | 'sizes'
16
- | 'shadows'
17
- | 'spacing'
18
- | 'radii'
19
- | 'borders'
20
- | 'durations'
21
- | 'easings'
22
- | 'animations'
23
- | 'blurs'
24
- | 'gradients'
25
- | 'breakpoints'
26
- | 'assets'
27
-
28
7
  export type PatternProperty =
29
8
  | { type: 'property'; value: NativeCssProperty }
30
9
  | { type: 'enum'; value: string[] }
@@ -39,7 +39,7 @@ type GenericProperties = {
39
39
 
40
40
  export type NestedCssProperties = Nested<CssProperties>
41
41
 
42
- export type SystemStyleObject = Nested<SystemProperties | GenericProperties | CssVarProperties>
42
+ export type SystemStyleObject = Nested<(SystemProperties | GenericProperties) & CssVarProperties>
43
43
 
44
44
  export type GlobalStyleObject = {
45
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-20230503141334",
3
+ "version": "0.0.0-dev-20230503210841",
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-20230503141334"
19
+ "@pandacss/extractor": "0.0.0-dev-20230503210841"
20
20
  },
21
21
  "scripts": {
22
22
  "build": "tsx scripts/build.ts",